/* ==========================================================================
   doopi.co.il v2 - private preview (rebuilt to the 2026-11-22 evening spec)
   One family (Assistant), scale 16/18/22/28/36, one primary blue, one accent
   orange, one soft background, category colours only as accents, 8px grid,
   ONE card component site-wide, mobile first, RTL checked by eye.
   Ads: nothing here touches ins.adsbygoogle or its containers.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #1e2a3a;
  --ink-2: #4a5565;
  --blue: #1a6fd6;
  --blue-dark: #0f5fcc;
  --blue-soft: #e8f1fc;
  --orange: #f06a00;
  --orange-soft: #fff1e6;
  --bg: #f1f7ff;   /* light blue tint for the alternate sections (fresh, not grey) */
  --white: #ffffff;
  --line: #e5e7eb;
  --success: #1b8a4e;
  --alert: #b42318;
  --shadow: 0 2px 10px rgba(30, 42, 58, .08);
  --shadow-lg: 0 10px 28px rgba(30, 42, 58, .12);
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --font: 'Assistant', Arial, sans-serif;
  --header-h: 56px;
  --wrap: 100%;
  --gutter: 16px;
  --gap: 12px;
  --sec: 32px;
  --cat-deep: #0b3c80;
  --cat-light: #e8f1fc;
  --cat-fill: #1a6fd6;
  --cat-line: #bcd5f5;
}
/* category palettes (same hex in inc/v2/cats.php w2_cat_palette for the print view):
   deep = text on the light tint (all >= 5:1), fill = frames and accents, light = tint, line = soft borders */
[data-cat="green"]  { --cat-deep: #15733f; --cat-fill: #1b8a4e; --cat-light: #e6f7ee; --cat-line: #b7e3c8; }
[data-cat="teal"]   { --cat-deep: #0a6b79; --cat-fill: #0b7a8a; --cat-light: #e0f5f5; --cat-line: #b3e1e4; }
[data-cat="purple"] { --cat-deep: #5b2fb3; --cat-fill: #6f3bd1; --cat-light: #efe9fb; --cat-line: #d3c4f3; }
[data-cat="pink"]   { --cat-deep: #b8285a; --cat-fill: #d63a6e; --cat-light: #fde8f0; --cat-line: #f6c1d4; }
[data-cat="orange"] { --cat-deep: #b03d05; --cat-fill: #f06a00; --cat-light: #fff4e0; --cat-line: #fbd3ad; }
[data-cat="amber"]  { --cat-deep: #8a5a00; --cat-fill: #ffb703; --cat-light: #fff8e1; --cat-line: #ffe3a1; }
[data-cat="blue"]   { --cat-deep: #0b3c80; --cat-fill: #1a6fd6; --cat-light: #e8f1fc; --cat-line: #bcd5f5; }
/* the mood of the category (Daniel): inside a category, its sub-categories and its coloring pages every frame takes the
   category palette: card frames, the drawing frame, the coloured element, the tinted sections, the title accents */
body[data-cat] .w2-card, body[data-cat] .block_list section { border-color: var(--cat-line); border-top: 4px solid var(--cat-fill); }
body[data-cat] .w2-card:hover, body[data-cat] .block_list section:hover { border-color: var(--cat-fill); }
body[data-cat] .w2-card-body, body[data-cat] .block_list section .name { border-top-color: var(--cat-line); }
body[data-cat] #paintArea .paint { border: 3px solid var(--cat-line); background: var(--cat-light); padding: 12px; }
body[data-cat] #paintArea .paint img { background: #fff; border-radius: 12px; }
body[data-cat] .w2-howto { background: var(--cat-light); }
body[data-cat] .w2-liked, body[data-cat] .light_gray_block, body[data-cat] .w2-section-alt { background: var(--cat-light); }
body[data-cat] .w2-sec-head h2::after, body[data-cat] .w2-liked h2::after { background: var(--cat-fill); }
.w2-liked h2 { position: relative; padding-bottom: 8px; margin-bottom: 14px; }
.w2-liked h2::after { content: ""; position: absolute; right: 0; bottom: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--orange); }
body[data-cat] .w2-band h1 { color: var(--cat-deep); }
body[data-cat] .w2-band-text .doopi-says, body[data-cat] .w2-news, body[data-cat] .w2-about { border-color: var(--cat-line); }
body[data-cat] .page-nav li:last-child span[itemprop="name"], body[data-cat] .w2-band-count { color: var(--cat-deep); }
body[data-cat] .w2-content h1.pageTitle, body[data-cat] .w2-about > .pageTitle { color: var(--cat-deep); }

/* ---------- reset ---------- */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, select, input {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main { display: block; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.4; color: var(--ink); background: var(--white); overflow-x: clip; }
ol, ul { list-style: none; }
b, strong { font-weight: 800; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.clear:before, .clear:after, .clearfix:after, .clearfix:before { content: ""; display: table; }
.clear:after, .clearfix:after { clear: both; }
sub, sup { vertical-align: baseline; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.w2-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w2-wrap, .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.smallWrap { width: 100%; max-width: 860px; margin: 0 auto; }

/* ---------- type scale: 16 / 18 / 22 / 28 / 36 ---------- */
h1, h2, h3, .pageTitle { font-weight: 800; line-height: 1.2; color: var(--ink); }
h1, .w2-h1 { font-size: 28px; }
h2, .w2-h2, .pageTitle { font-size: 24px; }
h3, .w2-h3 { font-size: 20px; }
.pageTitle { display: block; text-align: start; }
.subTitle, .w2-sub { display: block; font-weight: 400; color: var(--ink-2); font-size: 16px; }
p { margin: 0; }
.w2-lead { font-size: 18px; }

/* ---------- buttons, chips ---------- */
.w2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px;
  border-radius: 999px; font-weight: 800; font-size: 18px; line-height: 1; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; box-shadow: 0 5px 14px rgba(30, 42, 58, .14); transition: background .15s, color .15s, transform .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent;
}
.w2-btn:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(30, 42, 58, .2); }
.w2-btn .w2-ico { width: 22px; height: 22px; flex: none; }
.w2-btn-primary { background: linear-gradient(180deg, #2b84ea 0%, #1259b8 100%); color: #fff; }
.w2-btn-primary:hover { color: #fff; filter: brightness(1.05); }
.w2-btn-accent { background: linear-gradient(180deg, #e06a0c 0%, #b84d00 100%); color: #fff; }   /* >= 4.5:1 with white text (the live li.online button keeps its own orange) */
.w2-btn-accent:hover { color: #fff; filter: brightness(1.05); }
.w2-btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.w2-btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }
.w2-btn-soft { background: #fff; color: var(--cat-deep); border-color: var(--cat-line); }
.w2-btn-soft:hover { background: var(--cat-light); color: var(--cat-deep); }
.w2-btn-soft .w2-ico { color: var(--cat-fill); }
.w2-btn:active { transform: translateY(1px); box-shadow: 0 3px 8px rgba(30, 42, 58, .16); }
.w2-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border-radius: 999px; background: #fff;
  color: var(--blue-dark); border: 1px solid var(--line); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.w2-chip:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(11, 60, 128, .2); }
.w2-chip { box-shadow: 0 4px 10px rgba(11, 60, 128, .14); transition: transform .15s, box-shadow .15s, background .15s; }
.w2-ico { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- the mascot (one version everywhere: the sprite) ---------- */
.doopi { display: inline-block; width: 64px; height: 77px; color: var(--blue); flex: none; overflow: visible; }
.doopi-xs { width: 32px; height: 38px; }
.doopi-sm { width: 48px; height: 58px; }
.doopi-md { width: 80px; height: 96px; }
.doopi-lg { width: 150px; height: 180px; }
.doopi-xl { width: 180px; height: 216px; }
@keyframes doopi-bounce { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-10px) scale(1.06); } 70% { transform: translateY(0) scale(.97); } 100% { transform: translateY(0) scale(1); } }
.doopi.is-bouncing { animation: doopi-bounce .45s ease-out; }
@keyframes doopi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.w2-hero-doopi .doopi { animation: doopi-float 4s ease-in-out infinite; }
.w2-hero-doopi .doopi.is-bouncing { animation: doopi-bounce .45s ease-out; }
.doopi-says {
  position: relative; display: inline-block; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 10px 14px; font-size: 16px; line-height: 1.4; box-shadow: var(--shadow); max-width: 100%;
}
.doopi-says:after, .doopi-says:before { content: ""; position: absolute; width: 0; height: 0; border: 8px solid transparent; }
.doopi-says:before { border-top-color: var(--line); top: 100%; right: 24px; }
.doopi-says:after { border-top-color: #fff; top: calc(100% - 2px); right: 24px; }

/* ---------- header: one row, logo right, menu, search, sticky ---------- */
.w2-header { position: sticky; top: var(--w2-anchor-top, 0px); z-index: 1000;   /* sits under Google's top anchor ad when one is displayed (main.js) */ background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
/* a thin stripe in דופי's cyan along the bottom of the menu bar (Daniel, 2026-11-23: "פס בצבע של דופי... פס עדין") */
.w2-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, #0b8fbd 0%, #22bfe8 35%, #5fdcf7 70%, #22bfe8 100%); pointer-events: none; }
.w2-header.is-scrolled { box-shadow: var(--shadow); }
.w2-header-in { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.w2-logo { display: inline-flex; align-items: center; height: 48px; padding: 0 2px; border-radius: 8px; order: 1; }
.w2-logo img { height: 40px; width: auto; }
.w2-hsearch { display: none; order: 2; }
/* mobile: the search icon opens the header search as a row under the header */
#w2-search-toggle:checked ~ .w2-hsearch { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 12px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 5; }
.w2-popular { flex-wrap: wrap; overflow: visible; }
#w2-search-toggle:checked ~ .w2-search-btn { background: var(--blue); color: #fff; }
.w2-greet { display: none; }
.w2-search-btn {
  order: 3; margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: var(--r); background: var(--blue-soft); color: var(--blue-dark); text-decoration: none;
}
.w2-toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.w2-skip { position: fixed; top: -100px; right: 16px; z-index: 2000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px; font-weight: 800; text-decoration: none; }
.w2-skip:focus { top: calc(var(--w2-anchor-top, 0px) + 4px); }
html { scroll-padding-top: calc(var(--header-h) + 8px); }
.w2-burger {
  order: 4; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 12px;
  border-radius: var(--r); cursor: pointer; background: var(--blue-soft); -webkit-tap-highlight-color: transparent;
}
.w2-burger span { display: block; height: 3px; border-radius: 3px; background: var(--blue); transition: transform .25s, opacity .2s; }
.w2-mask { position: fixed; inset: 0; background: rgba(30, 42, 58, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 1001; }
/* the drawer slides in from the burger's side (left) and is out of the tab order while closed */
.w2-nav {
  order: 5; position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #fff; z-index: 1002;
  transform: translateX(-100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; overflow-y: auto;
  padding: calc(var(--w2-anchor-top, 0px) + 64px) 12px 24px; box-shadow: var(--shadow-lg);
}
.w2-nav-head { display: flex; align-items: center; gap: 10px; margin: 0 4px 10px; padding: 12px 14px; border-radius: 18px; background: var(--cat-light); color: var(--cat-deep); font-weight: 800; font-size: 17px; }
.w2-nav-head .doopi { width: 44px; height: 53px; }
ul#navigator a.is-current { background: var(--cat-light); color: var(--cat-deep); }
.w2-nav-close { position: absolute; top: calc(var(--w2-anchor-top, 0px) + 8px); right: 8px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); background: var(--bg); cursor: pointer; color: var(--ink); }
#w2-nav-toggle:checked ~ .w2-mask { opacity: 1; visibility: visible; }
#w2-nav-toggle:checked ~ .w2-nav { transform: translateX(0); visibility: visible; transition-delay: 0s; }
#w2-nav-toggle:checked ~ .w2-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#w2-nav-toggle:checked ~ .w2-burger span:nth-child(2) { opacity: 0; }
#w2-nav-toggle:checked ~ .w2-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
#w2-nav-toggle:focus-visible ~ .w2-burger, .w2-burger:focus-visible, .w2-search-btn:focus-visible, .w2-nav-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
ul#navigator { display: flex; flex-direction: column; gap: 6px; }   /* a little air between the buttons (Daniel) */
ul#navigator > li { position: relative; }
ul#navigator > li > a { display: flex; align-items: center; min-height: 52px; padding: 8px 16px; border-radius: 999px; color: var(--ink); font-weight: 800; font-size: 18px; text-decoration: none; transition: background .15s, color .15s; }
ul#navigator > li > a:hover, ul#navigator > li > a:focus-visible { background: var(--cat-light); color: var(--cat-deep); }
ul#navigator > li.plus > span { display: none; }
ul#navigator > li > ul.drop { display: block; padding: 2px 6px 10px 0; }
/* the categories list: דופי in each category's costume, large illustrated rows in the drawer (Daniel) */
ul#navigator > li > ul.drop li > a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 14px; color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; transition: background .15s; }
ul#navigator > li > ul.drop li > a:hover, ul#navigator > li > ul.drop li > a:focus-visible { background: var(--cat-light); color: var(--cat-deep); }
.w2-menu-doopi { width: 36px; height: 43px; flex: none; filter: drop-shadow(0 2px 3px rgba(30, 42, 58, .18)); }
/* "צביעה אונליין" stands out in the menu (Daniel): an orange pill with the brush דופי */
ul#navigator > li > a.w2-nav-online { gap: 8px; background: linear-gradient(180deg, #ff8a2a 0%, #e05e00 100%); color: #fff; box-shadow: 0 4px 12px rgba(224, 94, 0, .35); }
ul#navigator > li > a.w2-nav-online:hover, ul#navigator > li > a.w2-nav-online:focus-visible, ul#navigator > li > a.w2-nav-online.is-current { background: linear-gradient(180deg, #ff9a45 0%, #c95400 100%); color: #fff; }
ul#navigator > li > a.w2-nav-online .w2-menu-doopi { width: 30px; height: 36px; }
ul#navigator > li > a.soon { color: var(--ink-2); }
ul#navigator > li > a.soon:after { content: "בקרוב"; margin-inline-start: 8px; font-size: 12px; color: var(--alert); font-weight: 600; }

/* ---------- the Google CSE box styled as ONE rounded search ---------- */
.w2-search { width: 100%; }
.w2-search .gsc-control-searchbox-only, .w2-search form.gsc-search-box, .w2-search table.gsc-search-box { margin: 0; width: 100%; }
.w2-search .gsc-control-searchbox-only { padding: 0 !important; background: #fff; border: 2px solid var(--cat-line); border-radius: 999px; overflow: hidden; box-shadow: 0 6px 18px rgba(30, 42, 58, .10); transition: box-shadow .15s, border-color .15s; }
.w2-search .gsc-control-searchbox-only:focus-within { border-color: var(--cat-fill); box-shadow: 0 0 0 4px var(--cat-light), 0 6px 18px rgba(30, 42, 58, .10); }
.w2-search table.gsc-search-box td.gsc-input { padding: 0; }
.w2-search .gsc-input-box { border: 0; background: transparent; height: 48px; }
.w2-search .gsib_a { padding: 8px 16px; }
.w2-search input.gsc-input { font-family: var(--font) !important; font-size: 18px !important; font-weight: 600; height: 48px !important; padding: 0 14px !important; background: #fff !important; color: var(--ink) !important; outline: 0 !important; box-shadow: none !important; }   /* the whole white field is the tap target */
.w2-search input.gsc-input::placeholder { color: #4a5565 !important; opacity: 1; font-weight: 600; }
.w2-search td.gsib_a, .w2-search td.gsib_b { padding: 0 !important; height: 48px !important; vertical-align: middle !important; background: transparent !important; }
.w2-search td.gsib_b { width: 40px; display: none; }   /* the clear "x" cell only while there is text */
.w2-search table.gsc-input:has(input.gsc-input:not(:placeholder-shown)) td.gsib_b { display: table-cell; }
/* Google's clear "x": inside the pill, no grey box */
.w2-search .gsst_a, .w2-search .gsst_a:hover { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 48px; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.w2-search .gsst_a .gscb_a { color: var(--ink-2) !important; font-size: 22px !important; line-height: 1 !important; padding: 0 !important; background: transparent !important; }
.w2-search .gsc-input-box, .w2-search .gsc-input-box-hover, .w2-search .gsc-input-box-focus { border: 0 !important; box-shadow: none !important; background: transparent !important; outline: 0 !important; margin: 0 !important; }
.w2-search table.gsc-search-box td, .w2-search table.gsc-input td { vertical-align: middle !important; }
.w2-search button.gsc-search-button-v2:focus { outline: 0; }
.w2-search button.gsc-search-button-v2:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.w2-hsearch input.gsc-input { height: 44px !important; font-size: 17px !important; }
.w2-hsearch td.gsib_a, .w2-hsearch td.gsib_b { height: 44px !important; }
.w2-hsearch .gsst_a { height: 44px; }
.w2-search .gsc-search-button, .w2-search td.gsc-search-button { display: table-cell !important; vertical-align: middle; margin: 0; }
.w2-search button.gsc-search-button-v2 { display: inline-flex !important; align-items: center; justify-content: center; height: 40px; min-width: 56px; padding: 0 18px; margin: 4px !important; border: 0; border-radius: 999px; background: var(--cat-fill); cursor: pointer; box-shadow: 0 3px 8px rgba(30, 42, 58, .18); transition: filter .15s, transform .15s; }
.w2-search button.gsc-search-button-v2:hover { filter: brightness(.92); }
.w2-search button.gsc-search-button-v2:active { transform: scale(.96); }
.w2-hsearch button.gsc-search-button-v2 { height: 36px; min-width: 50px; }
[data-cat="amber"] .w2-search button.gsc-search-button-v2 svg { fill: var(--ink); }
.w2-search button.gsc-search-button-v2 svg { width: 22px; height: 22px; fill: #fff; }
.w2-search .gsc-input-box-hover, .w2-search .gsc-input-box-focus { border: 0; box-shadow: none; }

/* ---------- hero: the rounded blue element with the live wave, the big דופי, his bubble, the search; the pencil kid beside it ---------- */
.w2-hero { background: #fff; padding: 12px 0 16px; position: relative; overflow: hidden; }
.w2-hero-in { display: flex; flex-direction: column; gap: 10px; position: relative; }
.w2-hero-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 18px 16px 20px; border-radius: 28px; color: #fff;
  background: #83bcf7; background: linear-gradient(to bottom, #83bcf7 0%, #79b8f8 23%, #55a8fe 78%, #4ca4ff 100%);
  box-shadow: 0 10px 30px rgba(26, 111, 214, .18);
}
.w2-hero-doopi { position: relative; display: flex; justify-content: center; }
.w2-hero-doopi-btn { background: none; border: 0; padding: 0; cursor: pointer; display: flex; border-radius: 50%; }
.w2-hero-doopi-btn:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.w2-hero-doopi-btn.is-popping { animation: doopi-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes doopi-pop { 0% { transform: scale(.8) rotate(-5deg); } 60% { transform: scale(1.1) rotate(3deg); } 100% { transform: none; } }
.w2-hero-chat { position: absolute; top: -6px; right: 50%; transform: translate(50%, -100%) scale(.9); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; padding: 8px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow); font-size: 16px; font-weight: 800; color: var(--blue-dark); white-space: nowrap; z-index: 2; }
.w2-hero-chat::after { content: ""; position: absolute; top: 100%; right: 50%; margin-right: -7px; border: 7px solid transparent; border-top-color: #fff; }
.w2-hero-chat.is-on { opacity: 1; transform: translate(50%, -100%) scale(1); }
@media (prefers-reduced-motion: reduce) { .w2-hero-doopi-btn.is-popping { animation: none; } }
.w2-hero-doopi .doopi { width: 110px; height: 132px; filter: drop-shadow(0 6px 10px rgba(11, 60, 128, .25)); }
.w2-hero-text { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.w2-hero h1 { color: #fff; font-size: 28px; text-shadow: 0 1px 3px rgba(11, 60, 128, .45); }
.w2-hero-p { text-align: start; font-size: 16px; line-height: 1.45; color: var(--ink); max-width: 640px; }
.w2-hero-p b { color: var(--blue-dark); }
.w2-hero .doopi-says:before, .w2-hero .doopi-says:after { right: 50%; margin-right: -8px; top: auto; bottom: 100%; border-top-color: transparent; }
.w2-hero .doopi-says:before { border-bottom-color: var(--line); }
.w2-hero .doopi-says:after { border-bottom-color: #fff; bottom: calc(100% - 2px); }
.w2-hero-side { display: none; }
.w2-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 2px 2px 6px; }
.w2-popular > span { flex: none; font-size: 16px; color: #fff; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 2px rgba(11, 60, 128, .4); }
.w2-hero .w2-search { max-width: 640px; }

/* ---------- sections ---------- */
.w2-section { padding: var(--sec) 0; }
.w2-section-alt { background: var(--bg); position: relative; }
/* the wave of the hero repeats as the edge of every tinted section and of the footer (white wave over the colour) */
.w2-section-alt::before, footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 26px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0h1440v9c-110 11-230 17-360 13S850 3 720 6 470 23 350 21 110 8 0 12z'/%3E%3C/svg%3E") center top / 100% 26px no-repeat; }
.w2-section-alt { padding-top: calc(var(--sec) + 12px); }
.w2-sec-head h2 { position: relative; padding-bottom: 8px; }
.w2-sec-head .doopi-hot { filter: drop-shadow(0 2px 6px rgba(255, 122, 26, .5)); animation: w2-flicker 1.2s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes w2-flicker { from { transform: scale(1) rotate(-1.5deg); } to { transform: scale(1.05) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .w2-sec-head .doopi-hot { animation: none; } }
/* /חיפוש: Google's results restyled as the site's own list, the category tiles under them */
.w2-results .gsc-control-cse, .w2-results .gsc-control-cse .gsc-table-result { font-family: var(--font); }
.w2-results .gsc-control-cse { padding: 0 !important; background: transparent !important; border: 0 !important; }
.w2-results .gsc-above-wrapper-area { border: 0; padding: 0 0 8px; }
.w2-results .gsc-webResult.gsc-result { padding: 14px 0 !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; }
.w2-results .gs-title, .w2-results .gs-title * { font-size: 19px !important; font-weight: 800 !important; color: var(--cat-deep) !important; text-decoration: none !important; }
.w2-results .gs-snippet { font-size: 16px !important; color: var(--ink-2) !important; line-height: 1.5 !important; }
.w2-results .gs-visibleUrl, .w2-results .gs-visibleUrl * { font-size: 14px !important; color: var(--ink-2) !important; }
.w2-results .gs-image-box img { border-radius: 12px; border: 1px solid var(--line); }
.w2-results .gsc-cursor-box { text-align: center; padding: 16px 0; }
.w2-results .gsc-cursor-page { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; margin: 0 4px; border-radius: 999px; background: #fff; border: 2px solid var(--cat-line); color: var(--cat-deep); font-weight: 800; text-decoration: none; }
.w2-results .gsc-cursor-current-page { background: var(--cat-fill); color: #fff; border-color: var(--cat-fill); }
.w2-results .gs-no-results-result .gs-snippet { font-size: 18px !important; font-weight: 700; color: var(--ink) !important; background: var(--cat-light); border: 0; border-radius: 16px; padding: 14px 16px; }
.w2-results-more { display: flex; align-items: center; gap: 14px; margin: 28px 0 14px; padding: 18px; border-radius: 24px; background: var(--cat-light); border: 2px solid var(--cat-line); }
.w2-results-more .doopi { width: 64px; height: 77px; flex: none; }
.w2-results-more h2 { font-size: 22px; margin: 0 0 4px; }
.w2-results-more p { color: var(--ink-2); font-size: 16px; }
.w2-results-more a { color: var(--cat-deep); font-weight: 800; }
.w2-tile-link { min-height: 110px; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-weight: 800; font-size: 17px; text-align: center; }
.w2-tile-link .doopi { width: 44px; height: 53px; }
.w2-sec-head h2::after { content: ""; position: absolute; right: 0; bottom: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--orange); }
.w2-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.w2-sec-head .w2-sec-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--cat-light); color: var(--cat-deep); border: 2px solid var(--cat-line); align-items: center; justify-content: center; flex: none; }
.w2-sec-head .doopi { width: 36px; height: 43px; }
.w2-sec-head .w2-sec-doopi { filter: drop-shadow(0 2px 4px rgba(30, 42, 58, .18)); }   /* "להורים ולגננות": דופי with the glasses and the letter, same size as the other section icons (Daniel) */
.w2-sec-head h2 { flex: 1 1 auto; font-size: 24px; }
.w2-sec-head { flex-wrap: wrap; }
.w2-sec-head .w2-sub { display: block; flex: 1 1 100%; font-size: 14px; margin-top: -4px; }   /* phones: a second line under the title */
.w2-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px 0 16px; border-radius: 999px; background: #fff; border: 2px solid var(--cat-line); color: var(--cat-deep); font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; transition: background .15s, transform .15s; }
.w2-more .w2-ico { width: 20px; height: 20px; }
.w2-more:hover { background: var(--cat-light); transform: translateX(-2px); }

/* ---------- ONE card component ---------- */
.w2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.w2-row { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.w2-row::-webkit-scrollbar { display: none; }
.w2-row > .w2-card { flex: 0 0 calc(50% - 6px); scroll-snap-align: start; }
/* full rows at every width: the home prints 12 "hot" / "new" cards and shows 8 (2 or 4 columns), 9 (3), 10 (5) or 12 (6);
   the category grid holds 15 categories + the "קטגוריות נוספות" card, shown only where it completes the last row */
.w2-grid-fill > :nth-child(n+9) { display: none; }
@media (min-width: 600px) and (max-width: 899px) { .w2-grid-fill > :nth-child(n+9) { display: flex; } .w2-grid-fill > :nth-child(n+10) { display: none; } .w2-grid-cats > .w2-card-all { display: none; } }
@media (min-width: 1400px) and (max-width: 1799px) { .w2-grid-fill > :nth-child(n+9) { display: flex; } .w2-grid-fill > :nth-child(n+11) { display: none; } }
@media (min-width: 1400px) { .w2-grid-cats > .w2-card-all { display: none; } }
@media (min-width: 1800px) { .w2-grid-fill > :nth-child(n+9) { display: flex; } .w2-grid.w2-grid-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 900px) { .w2-row.w2-row-seasons > .w2-card.w2-card { flex: 1 1 0; } }   /* the 6 holiday cards always share one row */
.w2-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cat-fill, var(--line)); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.w2-card:not([data-cat]) { border-top-color: var(--line); border-top-width: 1px; }
.w2-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
/* the hover frame in the card's own category colour: home, category and sub-category alike (Daniel) */
.w2-card[data-cat]:hover, body[data-cat] .w2-card:hover, body[data-cat] .block_list section:hover { border-color: var(--cat-fill); border-top-color: var(--cat-fill); box-shadow: 0 0 0 3px var(--cat-light), 0 14px 30px rgba(30, 42, 58, .16); }
.w2-card-img img { transition: transform .25s ease; }
.w2-card:hover .w2-card-img img { transform: scale(1.04); }
.w2-card:hover .w2-card-name { color: var(--cat-deep); }
.w2-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--ink); }
.w2-card-img { position: relative; display: block; aspect-ratio: 4 / 5; background: #fff; }
.w2-card-img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; margin: 0; }
.w2-card-body { margin-top: auto; }
.w2-card-body { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 12px; border-top: 1px solid var(--line); }
.w2-card-title { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.w2-card-title .doopi { width: 26px; height: 31px; }
.w2-card-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 800; font-size: 16px; line-height: 1.3; text-align: start; }
.w2-card-meta { font-size: 15px; color: var(--ink-2); }
.w2-card-meta b { color: var(--orange); font-weight: 800; }
.w2-card-pre { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); }
@media (max-width: 599px) { .w2-card-name { -webkit-line-clamp: 3; } .w2-parents-links .w2-btn { flex: 1 1 100%; } }
.w2-band-count, .w2-seen, .w2-paint-desc, #paintArea > p { font-size: 15px; }
.w2-band-h1 { font-size: 24px; margin-bottom: 6px; }
@media (min-width: 900px) { .w2-band-h1 { font-size: 32px; } }

/* online promo band */
.w2-promo { position: relative; overflow: visible; background: linear-gradient(135deg, #fff6ec 0%, #ffe7cf 100%); border: 2px solid #ffd9b3; border-radius: 32px; padding: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.w2-promo > * { position: relative; z-index: 1; }
.w2-promo-circle { display: none; }
/* the yellow circle sits just LEFT of where the text ends ("...היצירה"), 40% of it below the card (Daniel 2026-11-23): the text block
   shrinks to its content and is as tall as the card, the circle is positioned from the block's left edge and bottom */
@media (min-width: 900px) {
  .w2-promo { align-items: stretch; }
  .w2-promo .doopi, .w2-promo .w2-btn { align-self: center; }
  .w2-promo > .w2-promo-text { position: relative; flex: 0 1 auto; display: flex; flex-direction: column; justify-content: center; }   /* > beats the later flex:1 1 auto rule */
  .w2-promo > .w2-btn-accent { margin-inline-start: auto; }
  .w2-promo-circle { display: block; position: absolute; left: -140px; right: auto; bottom: -70px; z-index: 0; }
}
/* the online button: fatter, bolder orange, pulled a little to the right (Daniel 2026-11-23) */
.w2-promo .w2-btn-accent { background: linear-gradient(180deg, #ff7a1a 0%, #d85400 100%); font-size: 20px; font-weight: 900; min-height: 58px; padding: 14px 30px; box-shadow: 0 8px 20px rgba(216, 84, 0, .38); }
.w2-promo .w2-btn-accent .w2-ico { width: 26px; height: 26px; }
@media (min-width: 900px) { .w2-promo .w2-btn-accent { font-size: 22px; min-height: 64px; padding: 16px 38px; margin-inline-end: 48px; } }
.w2-promo-text { flex: 1 1 100%; }
.w2-promo .w2-btn { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 600px) { .w2-promo { flex-wrap: nowrap; text-align: start; } .w2-promo-text { flex: 1 1 auto; } .w2-promo .w2-btn { flex: none; } }
.w2-promo .doopi { width: 72px; height: 86px; color: var(--orange); }
.w2-promo-text { flex: 1 1 auto; }
.w2-promo-text h2 { font-size: 22px; margin-bottom: 4px; }
.w2-promo-text p { color: var(--ink-2); font-size: 16px; }
.w2-promo .w2-btn { flex: none; }

/* parents strip */
.w2-parents-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.w2-parents-links .w2-btn { flex: 1 1 calc(50% - 8px); font-size: 16px; padding: 10px 12px; }
/* "הצטרפו לקהילה": a designed block in the page palette (Daniel: not a white box), דופי with his party hat, soft shapes,
   a real input + button pair, the social links as buttons, the consent box always pre-checked */
/* "הצטרפו לקהילה" as a poster (Daniel): sky, clouds, hills, balloons, confetti, the kids on their pencils, דופי with his party hat */
.w2-news { position: relative; overflow: hidden; background: linear-gradient(180deg, #cfe9ff 0%, #eaf6ff 50%, #fff2d6 100%); border: 0; border-radius: 32px; padding: 64px 16px 120px; margin: 0 0 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-height: 360px; }
.w2-news > * { position: relative; z-index: 1; }
/* the form sits in a card on the scene; sun, bunting and three more דופיs around it */
.w2-news-card { position: relative; z-index: 2; width: 100%; max-width: 680px; background: rgba(255, 255, 255, .92); border: 3px solid #fff; border-radius: 28px; padding: 18px 16px 20px; box-shadow: 0 16px 40px rgba(11, 60, 128, .18); display: flex; flex-direction: column; align-items: center; gap: 14px; backdrop-filter: blur(2px); }
.w2-sun { position: absolute; right: 6%; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #ffe27a 0%, #ffd166 55%, rgba(255, 209, 102, 0) 72%); box-shadow: 0 0 0 18px rgba(255, 209, 102, .18), 0 0 0 36px rgba(255, 209, 102, .08); }
.w2-bunting { position: absolute; left: 4%; right: 4%; top: 14px; display: flex; justify-content: space-between; padding-top: 4px; border-top: 2px solid rgba(30, 42, 58, .25); }
.w2-bunting i { width: 22px; height: 26px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: #ff7aa2; }
.w2-bunting i:nth-child(4n+2) { background: #ffd166; }
.w2-bunting i:nth-child(4n+3) { background: #7bd3ff; }
.w2-bunting i:nth-child(4n+4) { background: #9be087; }
.w2-news-friend { position: absolute; bottom: 10px; width: 72px; height: 86px; filter: drop-shadow(0 4px 8px rgba(30, 42, 58, .2)); }
.w2-news-friend-1 { left: 30%; }
.w2-news-friend-2 { right: 26%; bottom: 4px; }
.w2-news-friend-3 { right: 44%; bottom: 0; width: 60px; height: 72px; }
.w2-balloon-4 { background: #9be087; left: 8%; top: 120px; width: 26px; height: 32px; }
.w2-news-scene { position: absolute; inset: 0; z-index: 0 !important; pointer-events: none; }
.w2-cloud { position: absolute; width: 120px; height: 42px; border-radius: 999px; background: #fff; box-shadow: 34px -16px 0 -4px #fff, -34px -12px 0 -8px #fff; opacity: .95; }
.w2-cloud-1 { left: 6%; top: 28px; }
.w2-cloud-2 { right: 10%; top: 18px; width: 150px; height: 48px; }
.w2-cloud-3 { left: 44%; top: 54px; width: 90px; height: 32px; opacity: .8; }
.w2-hill { position: absolute; bottom: -130px; height: 230px; border-radius: 50%; }
.w2-hill-1 { left: -12%; width: 72%; background: #cfeec3; }
.w2-hill-2 { right: -16%; width: 78%; background: #b9e3a8; bottom: -150px; }
.w2-balloon { position: absolute; width: 34px; height: 42px; border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; box-shadow: inset -6px -6px 0 rgba(0, 0, 0, .08); }
.w2-balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 56px; background: rgba(30, 42, 58, .25); }
.w2-balloon-1 { background: #ff7aa2; right: 20%; top: 36px; }
.w2-balloon-2 { background: #ffd166; right: 24%; top: 82px; width: 28px; height: 35px; }
.w2-balloon-3 { background: #7bd3ff; left: 28%; top: 70px; }
.w2-confetti { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(#ff7aa2 2px, transparent 2.6px), radial-gradient(#ffd166 2px, transparent 2.6px), radial-gradient(#7bd3ff 2px, transparent 2.6px), radial-gradient(#9b6cff 1.6px, transparent 2.2px); background-size: 90px 70px, 110px 90px, 70px 80px, 130px 100px; background-position: 10px 10px, 40px 30px, 20px 50px, 60px 20px; }
.w2-news-pencil { display: block; position: absolute; left: 2%; bottom: 8px; width: 200px; height: auto; }   /* the kid on the orange pencil sits on the hill */
.w2-news-girl { display: block; position: absolute; right: 3%; bottom: 0; width: 120px; height: auto; }     /* the girl on the pink pencil */
.w2-news-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 4px; }
.w2-news-doopi { width: 84px; height: 101px; flex: none; filter: drop-shadow(0 6px 10px rgba(30, 42, 58, .2)); }
.w2-news-text { max-width: 720px; }
.w2-news-text h2 { font-size: 28px; margin: 0; color: var(--blue-dark); text-shadow: 0 1px 0 #fff; letter-spacing: -.01em; }
.w2-news-text h2::after { content: ""; display: block; width: 72px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: linear-gradient(90deg, #ff7aa2, #ffd166, #7bd3ff); }
.w2-news-text p { color: var(--ink); font-size: 17px; }
.w2-news-form { width: 100%; max-width: 560px; }
.w2-news-social { justify-content: center; }
@media (max-width: 599px) { .w2-news-pencil, .w2-news-girl, .w2-news-friend-3 { display: none; } .w2-news { padding: 56px 12px 96px; } .w2-balloon-3 { display: none; } .w2-news-friend-1 { left: 6%; } .w2-news-friend-2 { right: 6%; } .w2-sun { width: 80px; height: 80px; top: -24px; } }
.w2-news-text sub { display: block; color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.w2-news-row { display: flex; gap: 8px; }
.w2-news-row input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 2px solid var(--cat-line); border-radius: 999px; font-size: 16px; background: #fff; }
.w2-news-row input:focus { border-color: var(--cat-fill); outline: none; box-shadow: 0 0 0 3px var(--cat-light); }
.w2-news-row .w2-btn { font-size: 16px; padding: 10px 20px; white-space: nowrap; border-radius: 999px; background: var(--cat-fill); color: #fff; box-shadow: 0 6px 14px rgba(30, 42, 58, .15); }
.w2-news-row .w2-btn:hover { filter: brightness(.92); }
[data-cat="amber"] .w2-news-row .w2-btn { color: var(--ink); }   /* amber fill is too light for white text */
.w2-approve { display: flex; gap: 8px; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); }
.w2-approve input { width: 24px; height: 24px; flex: none; accent-color: var(--blue); }
.w2-approve a { color: var(--blue-dark); display: inline-block; padding: 10px 0; }
.w2-news-social { display: flex; flex-wrap: wrap; gap: 8px; }
.w2-news-social a.w2-news-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--cat-line); color: var(--cat-deep); text-decoration: none; font-size: 16px; font-weight: 800; flex: 1 1 auto; }
.w2-news-social a.w2-news-btn:hover { background: var(--cat-light); }
.w2-news-social a i { font-size: 22px; color: var(--cat-fill); }
/* the content block (Daniel: a real design, not a text column): a soft card in the page palette, דופי anchored on its
   corner, the title with its accent bar, a lead paragraph, headings with a coloured dot, two columns on wide screens */
.w2-about { position: relative; background: linear-gradient(180deg, var(--cat-light) 0%, #fff 100%); border: 2px solid var(--cat-line); border-radius: 28px; padding: 26px 16px 10px; margin: 28px 0 8px; }
.w2-about-doopi { position: absolute; left: 14px; top: -30px; }
.w2-about-doopi .doopi { width: 64px; height: 77px; filter: drop-shadow(0 4px 8px rgba(30, 42, 58, .2)); }
.w2-about > .pageTitle { position: relative; font-size: 24px; margin: 0 0 14px; padding-bottom: 10px; padding-left: 70px; }
.w2-about > .pageTitle::after { content: ""; position: absolute; right: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--cat-fill); }
.w2-about-text { color: var(--ink-2); font-size: 16px; line-height: 1.65; padding-bottom: 10px; }
.w2-about-text > p:first-of-type { font-size: 18px; font-weight: 600; color: var(--ink); }
.w2-about-text h2, .w2-about-text h3 { display: flex; align-items: center; gap: 10px; }
.w2-about-text h2::before, .w2-about-text h3::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--cat-fill); box-shadow: -18px 0 0 -3px var(--cat-line); }
.w2-about-text li::marker { color: var(--cat-fill); }
@media (min-width: 900px) { .w2-about { padding: 30px 28px 14px; } .w2-about-doopi { left: 28px; top: -40px; } .w2-about-doopi .doopi { width: 92px; height: 110px; } .w2-about > .pageTitle { font-size: 28px; padding-left: 120px; } }
.w2-about-text h2, .w2-about-text h3 { font-size: 20px; color: var(--ink); margin: 16px 0 6px; }
.w2-about-text p { margin: 0 0 10px; }
.w2-about-text ul, .w2-about-text ol { margin: 0 24px 10px 0; list-style: disc outside; }
.w2-about-text ol { list-style-type: decimal; }
.w2-about-text a, .textArea a { color: var(--blue-dark); }

/* ---------- footer ---------- */
footer { background: var(--blue); padding: 28px 0 8px; margin-top: 24px; position: relative; color: #fff; }
footer .orange-pink-pencil, .pink-pencil, .pink-circle, .yellow-circle, .orange-pencil, .blue-pencil, .blue-circle, .green-circle, .w2-deco, .w2-pencil-man, .w2-pencil { display: none; }
footer .blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
footer .block h3 { position: relative; font-size: 18px; color: #fff; margin-bottom: 10px; padding-bottom: 8px; }
footer .block h3::after { content: ""; position: absolute; right: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: #ffd166; }
footer .block ul li a:hover { color: #ffd166; text-decoration: none; }
footer .block ul { display: flex; flex-direction: column; }
footer .block ul li a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 16px; text-decoration: none; opacity: .92; }
footer .block ul li a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.w2-footer-bottom { background: #1358ad; padding: 10px 0 18px; font-size: 14px; color: #fff; }
.w2-footer-bottom .w2-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.w2-footer-bottom .links { display: flex; gap: 16px; margin-inline-start: auto; }
.w2-footer-bottom .links a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
/* back to top (Daniel: rebuilt): round דופי-blue button, white chevron, bottom-left, appears after scrolling, above every overlay */
.w2-up { position: fixed; bottom: 20px; right: 16px; left: auto; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(180deg, #2b84ea 0%, #1259b8 100%); color: #fff; border: 3px solid #fff; display: inline-flex; align-items: center; justify-content: center; z-index: 2147483000; box-shadow: 0 8px 20px rgba(11, 60, 128, .35); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s, transform .25s, visibility 0s .25s, bottom .2s; }
.w2-up.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, visibility 0s, bottom .2s; }
.w2-up .w2-ico { width: 26px; height: 26px; stroke-width: 2.6; }
.w2-up:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11, 60, 128, .4); }
.w2-up:active { transform: translateY(1px); }
body.has-cookie .w2-up { bottom: calc(env(safe-area-inset-bottom, 0) + 150px); }   /* right side (Daniel), above the cookie banner while it shows */
#page_mask { display: none; }

/* ======================================================================
   INNER PAGES (the body comes from modules/pages/page.php and keeps its classes)
   ====================================================================== */
/* inner pages: the same rounded element as the home, in the category colour, דופי in the category's costume */
.w2-band { background: #fff; padding: 12px 0 8px; position: relative; }
.w2-band-in { display: flex; flex-direction: column; gap: 10px; position: relative; }
.w2-band-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 24px; background: var(--cat-light); }
.w2-band-doopi { display: flex; flex: none; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.w2-band-doopi:focus-visible { outline: 3px solid var(--cat-fill); outline-offset: 4px; }
.w2-say.is-talking { animation: w2-talk .5s ease-out; border-color: var(--cat-fill); }
@keyframes w2-talk { 0% { transform: scale(.92) rotate(-2deg); } 50% { transform: scale(1.06) rotate(1.5deg); } 100% { transform: none; } }
.w2-band-doopi .doopi { width: 64px; height: 77px; filter: drop-shadow(0 4px 8px rgba(30, 42, 58, .18)); }
.w2-band-text { flex: 1 1 auto; min-width: 0; }
.w2-band-side { display: none; }
/* צביעה אונליין: the band's bubble explains the stage, so the tool's own bubble (color/index.php, not edited) stays hidden */
body.w2-online #colorTool .bubble { display: none; }
.w2-band-text .doopi-says { padding: 8px 12px; }
.w2-band-text .doopi-says:before, .w2-band-text .doopi-says:after { top: 50%; margin-top: -8px; border-color: transparent; right: auto; left: 100%; }
.w2-band-text .doopi-says:before { border-left-color: var(--line); }
.w2-band-text .doopi-says:after { border-left-color: #fff; left: calc(100% - 2px); }
.w2-band-count { display: block; font-size: 14px; color: var(--cat-deep); font-weight: 600; margin-top: 4px; }
.w2-content { padding-top: 12px; }
.w2-intro { font-size: 16px; color: var(--ink-2); margin: 0 0 12px; }
.page-nav { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.page-nav ol { padding: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; }   /* wraps on phones: the current page name is never clipped */
.page-nav li { display: inline-flex; align-items: center; }
.page-nav li:after { content: "/"; margin: 0 6px; color: #c9c9c9; }
.page-nav li:last-child:after { content: ""; }
.page-nav a { color: var(--ink-2); text-decoration: none; min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; }
.page-nav a:hover { color: var(--blue-dark); text-decoration: underline; }
.page-nav li:last-child span[itemprop="name"] { color: var(--ink); font-weight: 800; }
.w2-content h1.pageTitle { font-size: 28px; margin: 4px 0 8px; }
/* reading width: long texts never run across a whole wide screen (the cards grid stays full width) */
/* long texts use the full content width (Daniel: on screen, not only at the right); at wide widths the text flows in two
   columns so the lines stay readable and the frame is visibly full */
@media (min-width: 1200px) {
  .w2-about-text, .w2-content .textArea { column-count: 2; column-gap: 56px; }
  .w2-about-text h2, .w2-about-text h3, .w2-content .textArea h2, .w2-content .textArea h3 { break-after: avoid; }
  .w2-about-text p, .w2-about-text ul, .w2-about-text ol, .w2-content .textArea p, .w2-content .textArea ul { break-inside: avoid; }
  .w2-about > .pageTitle { column-span: all; }
  .w2-howto-steps { column-count: 2; column-gap: 40px; }
  .w2-howto-steps li { break-inside: avoid; }
}
.w2-content h2.subTitle { font-size: 18px; color: var(--ink-2); margin-bottom: 8px; }
.w2-content .textArea { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 8px 0 16px; }
.w2-content .textArea p { margin-bottom: 10px; }
.w2-content .textArea h2 { font-size: 22px; margin: 16px 0 6px; }
.w2-content .textArea h3 { font-size: 20px; margin: 12px 0 6px; }
.w2-content .textArea ul, .w2-content .textArea ol { margin: 0 24px 10px 0; list-style: disc outside; }
.w2-content .textArea ol { list-style-type: decimal; }
.w2-content center { text-align: start; display: block; }
.w2-seen { font-size: 15px; color: var(--ink-2); margin: 10px 0 0; }
.toc { margin: 8px 0 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; }
.toc .toc_header { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: 16px; }
.toc .toc_header i { color: var(--blue); font-size: 18px; }
.toc .toc_header i.fa-plus { margin-inline-start: auto; }
.toc.open .toc_header i.fa-plus:before { content: "\f068"; }
.toc .toc_body { display: none; }
.toc .toc_body ul li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.toc .toc_body ul li:last-child a { border-bottom: 0; }
/* the live tile grid (block_list), when it still appears, as the same card */
.block_list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 12px 0 24px; }
.block_list section { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.block_list section:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.block_list section .imgArea { position: relative; aspect-ratio: 4 / 5; background: #fff; }
.block_list section .imgArea img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; margin: 0; }
.block_list section .name { margin-top: auto; }
.w2-card-all .w2-card-link { min-height: 100%; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-weight: 800; font-size: 18px; color: var(--blue-dark); text-align: center; background: var(--blue-soft); }
.w2-card-all .w2-sec-ico { width: 56px; height: 56px; background: #fff; }
@media (max-width: 599px) {
  #paintArea .buttons { flex-direction: column; align-items: stretch; }
  #paintArea .buttons .social { justify-content: flex-start; order: 2; }   /* print + download first, online under them */
  #paintArea .shares { order: 1; }
  #paintArea .buttons .social li.online { flex: 1 1 100%; }
  #paintArea .buttons .social li.online a { width: 100%; }
  #paintArea .shares { width: 100%; margin: 0; }
  #paintArea .shares a { flex: 1; min-height: 52px; }
}
.block_list section .name { display: flex; align-items: center; min-height: 48px; padding: 6px 10px; border-top: 1px solid var(--line); }
.block_list section .name a { color: var(--ink); font-weight: 800; font-size: 16px; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.light_gray_block, .gray_block, .white_block { background: var(--bg); padding: 16px 0; }
.w2-liked .pageTitle { font-size: 22px; margin-bottom: 12px; }
.white_space { margin-top: 16px; }
.w2-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 20px 16px 28px; }
.w2-empty .doopi-says:before, .w2-empty .doopi-says:after { right: 50%; margin-right: -8px; }

/* coloring page (DOM order of the ad slots untouched; everything else compact) */
#paintArea { width: 100%; display: flex; flex-direction: column; gap: 10px; }
/* designed action buttons (Daniel): pills with the icon in a round badge, soft shadow, lift on hover, press on tap */
#paintArea .shares a, #paintArea .buttons .social li.online a { border-radius: 999px !important; box-shadow: 0 6px 16px rgba(30, 42, 58, .16); transition: transform .15s, box-shadow .15s, filter .15s; }
#paintArea .shares a:hover, #paintArea .buttons .social li.online a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 42, 58, .22); }
#paintArea .shares a:active, #paintArea .buttons .social li.online a:active { transform: translateY(1px); box-shadow: 0 3px 8px rgba(30, 42, 58, .18); }
#paintArea .shares a.print { background: linear-gradient(180deg, #2b84ea 0%, #1259b8 100%); }
#paintArea .shares a.download { background: #fff; }
#paintArea .shares a i, #paintArea .buttons .social li.online a i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 15px; }
#paintArea .shares a.download i { background: var(--blue-soft); color: var(--blue-dark); }
#paintArea .buttons .social li.online a { background: linear-gradient(180deg, #ff8a2a 0%, #e05e00 100%) !important; }
#paintArea .buttons .social li.email a, #paintArea .buttons .social li.whatsapp a, #paintArea .buttons .social li.facebook a { border-radius: 50%; box-shadow: 0 4px 12px rgba(30, 42, 58, .16); transition: transform .15s; }
#paintArea .buttons .social li.email a:hover, #paintArea .buttons .social li.whatsapp a:hover, #paintArea .buttons .social li.facebook a:hover { transform: translateY(-2px); }
#paintArea .paint { border: 2px solid var(--line); border-radius: var(--r-lg); padding: 8px; background: #fff; }
#paintArea .paint > img { margin: 0 auto; }
#paintArea .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#paintArea .buttons .social { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 100%; }
#paintArea .buttons .social li a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r); color: #fff; font-size: 22px; text-decoration: none; }
#paintArea .buttons .social li.email a { background: var(--alert); }
#paintArea .buttons .social li.whatsapp a { background: var(--success); }
#paintArea .buttons .social li.facebook a { background: #395693; }
#paintArea .buttons .social li.online a { background: var(--orange) !important; min-height: 48px !important; height: auto !important; width: auto; padding: 0 16px !important; border-radius: var(--r); font-family: var(--font); font-size: 16px !important; font-weight: 800; gap: 8px; }
@media (min-width: 900px) { #paintArea .buttons .social li.online a { min-height: 52px !important; font-size: 18px !important; padding: 0 20px !important; } }   /* same size as print / download in the row */
#paintArea .buttons .social li.online a:hover { background: #d95f00 !important; }
#paintArea .shares { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
#paintArea .shares a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r); font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; color: #fff; }
#paintArea .shares a i { font-size: 18px; }
#paintArea .shares a.print { background: var(--blue); }
#paintArea .shares a.print:hover { background: var(--blue-dark); }
#paintArea .shares a.download { background: var(--blue-soft); color: var(--blue-dark); border: 2px solid var(--blue); }
#paintArea .shares a.download:hover { background: #d9e8fb; }
@media only screen and (max-width: 1280px) { #paintArea .buttons .social li.ads { display: none; } }
#paintArea > p, .w2-paint-desc { font-size: 14px; color: var(--ink-2); }
.w2-howto { margin: 12px 0 8px; background: var(--bg); border-radius: var(--r-lg); padding: 12px 16px; text-align: start; }
.w2-howto-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.w2-howto-head h2 { font-size: 20px; margin: 0; text-align: start; }
.w2-howto-head .doopi { width: 40px; height: 48px; }
.w2-howto-steps { list-style: none; counter-reset: w2step; margin: 0; padding: 0; color: var(--ink-2); font-size: 16px; }
.w2-howto-steps li { counter-increment: w2step; display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.w2-howto-steps li::before { content: counter(w2step); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cat-fill); color: #fff; font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(30, 42, 58, .15); }
[data-cat="amber"] .w2-howto-steps li::before { color: var(--ink); }
.w2-howto { border-radius: 24px; border: 2px solid var(--cat-line); }
.w2-seen { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #fff; border: 2px dashed var(--cat-line); border-radius: 14px; padding: 8px 12px; }
.w2-howto-steps li:last-child { border-bottom: 0; }
.w2-howto-steps b { color: var(--ink); }

/* 404 */
.w2-404 { padding: 8px 0 24px; }
.w2-404-hero { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 16px; }
.w2-404-hero .doopi-says:before, .w2-404-hero .doopi-says:after { right: 50%; margin-right: -8px; }
.w2-404 h4 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.w2-404 h3 { font-size: 18px; color: var(--ink-2); margin-bottom: 12px; }
.w2-404 p { margin: 8px 0 4px; font-weight: 800; }
.w2-404-list { margin: 0 24px 6px 0; list-style: disc outside; color: var(--ink-2); }
ol.w2-404-list { list-style-type: decimal; }
.w2-404-list a { color: var(--blue-dark); }
.w2-404 .w2-grid { margin-top: 10px; }
.w2-404 .w2-card-link { min-height: 96px; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }

/* popups kept from live */
.myformPop { display: none; width: 320px; min-height: 160px; padding: 8px; border-radius: var(--r-lg); background: rgba(30, 42, 58, .12); position: relative; }
.myformPop *, .myformPop { box-sizing: content-box; }
.myformPop .heading { width: 320px; min-height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px 12px 0 0; font-weight: 800; color: var(--ink); }
.myformPop .output { width: 300px; min-height: 100px; background: var(--bg); border-radius: 0 0 12px 12px; padding: 10px; padding-bottom: 48px; font-size: 16px; }
.myformPop i.close { position: absolute; bottom: 15px; left: 15px; display: block; padding: 8px 14px; border-radius: 10px; background: var(--blue); color: #fff; font-style: normal; font-weight: 800; cursor: pointer; }
.myformPop .output span.success { color: var(--success); border: 1px solid var(--success); background: #e6f7ee; display: block; padding: 8px; border-radius: 8px; text-align: center; }
.myformPop .output ul { list-style: disc inside; color: var(--alert); background: #fdecea; padding: 8px; border-radius: 8px; border: 1px solid var(--alert); }
.errorField { border-color: var(--alert) !important; }
.dialog { display: none; }
.cookie-consent { position: fixed; right: calc(env(safe-area-inset-right, 0) + 16px); bottom: calc(env(safe-area-inset-bottom, 0) + 16px); max-width: 320px; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: var(--r-lg); padding: 14px 16px; display: none; z-index: 2147483647; line-height: 1.45; direction: rtl; }
.cookie-consent__text { font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.cookie-consent__link { color: var(--blue-dark); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 8px; }
.cookie-consent__btn { appearance: none; border: 0; min-height: 44px; padding: 8px 18px; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 800; }
.cookie-consent__btn--ok { background: var(--success); color: #fff; }
@media (max-width: 480px) {
  .cookie-consent { right: 12px; left: 12px; bottom: calc(env(safe-area-inset-bottom, 0) + 12px); width: auto; max-width: none; padding: 10px 12px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .cookie-consent__text { order: 1; margin: 0; font-size: 13px; line-height: 1.35; }
  .cookie-consent__actions { order: 2; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media print { .w2-header, .w2-band, .w2-hero, footer, .w2-footer-bottom, .w2-up, .doopi, .doopi-says, .w2-news, .w2-about, .cookie-consent, #wid-pv-ribbon { display: none !important; } }

/* ======================================================================
   >= 600px
   ====================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 20px; --gap: 16px; }
  .w2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w2-row > .w2-card { flex-basis: calc(33.333% - 11px); }
  .block_list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w2-hero-top h1 { font-size: 32px; }
  .w2-hero-doopi .doopi { width: 100px; height: 120px; }
  .w2-parents-links .w2-btn { flex: 1 1 0; }
  .w2-news-social { flex-direction: row; gap: 12px; }
  footer .blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ======================================================================
   >= 900px: desktop header with menu + search in one row, hero side by side
   ====================================================================== */
@media (min-width: 900px) {
  :root { --header-h: 64px; --sec: 40px; --gap: 24px; --gutter: 32px; }
  /* full width (Daniel): the blue element and the band bleed to the right edge of the screen, like the live hero */
  .w2-hero-in, .w2-band-in { padding-right: 0; }
  .w2-hero-card, .w2-band-card { border-radius: 0 0 0 32px; }
  .w2-hero-text { max-width: 820px; }
  .w2-logo img { height: 46px; }
  .w2-burger, .w2-mask, .w2-nav-close, .w2-search-btn { display: none; }
  .w2-nav-head { display: none; }
  .w2-nav { order: 2; position: static; transform: none; visibility: visible; width: auto; padding: 0; box-shadow: none; overflow: visible; background: transparent; margin-inline-start: 8px; }
  ul#navigator { flex-direction: row; align-items: center; gap: 8px; }
  ul#navigator > li > a { min-height: 44px; padding: 6px 16px; font-size: 16px; white-space: nowrap; }
  ul#navigator > li.plus > span { display: inline-flex; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; font-size: 12px; }
  ul#navigator > li.plus > a { padding-left: 22px; }
  ul#navigator > li > ul.drop { display: none; position: absolute; top: 100%; right: 0; width: 720px; padding: 14px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 2px solid var(--cat-line); z-index: 50; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; }
  ul#navigator > li > ul.drop li > a { min-height: 48px; font-size: 16px; }
  .w2-menu-doopi { width: 30px; height: 36px; }
  ul#navigator > li:hover > ul.drop, ul#navigator > li:focus-within > ul.drop { display: grid; }
  ul#navigator > li.edge > ul.drop { right: auto; left: 0; }
  .w2-hsearch { display: block; order: 3; flex: 1 1 260px; max-width: 400px; margin-inline-start: 20px; }
  .w2-home .w2-hsearch { display: none; }   /* the home has its one big search in the hero */
  .w2-hsearch .gsc-control-cse, .w2-hsearch form.gsc-search-box, .w2-hsearch table.gsc-search-box { width: 100%; }
  .w2-hsearch td.gsc-search-button { width: 58px; }
  .w2-hsearch .gsc-input-box { height: 44px; }
  .w2-hsearch button.gsc-search-button-v2 { height: 44px; min-width: 52px; }
  .w2-hero { padding: 24px 0 28px; overflow: visible; }
  .w2-hero-in { flex-direction: row; align-items: stretch; gap: 0; min-height: 440px; }
  .w2-hero-card { flex: 0 0 62%; max-width: 62%; flex-direction: row; align-items: center; text-align: start; gap: 24px; padding: 30px 32px 34px 100px; border-radius: 0 32px 32px 0; overflow: visible; }
  .w2-hero-card:after { content: ""; position: absolute; top: 0; bottom: 0; left: -110px; width: 231px; background: url('/img/right-bg.png') left top / 231px 100% no-repeat; pointer-events: none; }
  .w2-hero-card > * { position: relative; z-index: 1; }
  .w2-hero-doopi .doopi { width: 190px; height: 228px; }
  .w2-hero-text { align-items: flex-start; }
  .w2-hero h1 { font-size: 36px; }
  .w2-hero .doopi-says:before, .w2-hero .doopi-says:after { top: 50%; bottom: auto; right: auto; left: 100%; margin: -8px 0 0; border-color: transparent; }
  .w2-hero .doopi-says:before { border-left-color: var(--line); }
  .w2-hero .doopi-says:after { border-left-color: #fff; left: calc(100% - 2px); }
  .w2-hero-p { font-size: 17px; }
  .w2-popular { justify-content: flex-start; }
  /* the pencil kid is grounded like the live hero: the pencil runs in from the screen edge and lies on the bottom line of the
     blue element, the kid sits on it, the blue circle floats next to the wave, the green one peeks out under the element */
  .w2-hero-side { display: flex; flex: 1 1 38%; position: relative; align-items: flex-end; justify-content: center; min-height: 440px; }
  /* whole illustrations, nothing cut at an edge (Daniel: "שלא יהיו סקטורים חתוכים") */
  .w2-pencil { display: block; position: absolute; left: 0; bottom: 0; width: 100%; max-width: 700px; height: auto; z-index: 0; }
  .w2-pencil-man { display: block; position: absolute; left: 2%; bottom: 64px; width: 76%; max-width: 540px; height: auto; z-index: 1; }
  .w2-hero .w2-deco { display: block; position: absolute; z-index: 0; }
  .w2-hero .blue-circle { left: auto; right: -20px; top: 28px; }
  .w2-hero .green-circle { right: 9%; bottom: -57px; }   /* half on the blue, half on the white, under דופי (Daniel) */
  /* illustrations beside the sections, in their own space, never over text */
  .w2-section-alt { position: relative; overflow: visible; }
  /* every illustration ends above the section head (the head starts after the padding) and never under the grid */
  #subCats { padding-top: 110px; }
  #subCats .pink-pencil { display: block; position: absolute; left: 16px; top: 54px; width: 160px; height: auto; z-index: 0; }   /* 160x133: her pencil rests on the top edge of the first card */
  #subCats .pink-circle { display: block; position: absolute; right: 0; top: -40px; z-index: 0; }                                 /* ends at 74 */
  .w2-news { padding: 72px 40px 160px; }
  .w2-news-card { padding: 24px 32px 28px; }
  .w2-news-pencil { width: 260px; left: 3%; bottom: 14px; }
  .w2-news-girl { width: 160px; right: 4%; }
  .w2-news-friend { width: 90px; height: 108px; }
  .w2-news-friend-1 { left: 26%; bottom: 16px; }
  .w2-news-friend-2 { right: 22%; bottom: 8px; }
  .w2-news-friend-3 { right: 40%; width: 70px; height: 84px; bottom: 2px; }
  .w2-news-text h2 { font-size: 38px; }
  .w2-news-text p { font-size: 18px; }
  .w2-section .w2-wrap { position: relative; z-index: 1; }
  footer { margin-top: 130px; }   /* the girl on the pencil enters from the page edge and sits on the footer's wave, never hanging */
  footer .orange-pink-pencil { display: block; position: absolute; left: 0; top: -150px; width: 230px; height: auto; }
  /* the inner-page element: the same wave, in the category colour */
  .w2-band { padding: 18px 0 16px; overflow: visible; }
  .w2-band-in { flex-direction: row; align-items: stretch; min-height: 216px; }
  .w2-band-card { flex: 0 0 70%; max-width: 70%; padding: 26px 32px 28px 110px; border-radius: 0 32px 32px 0; }
  .w2-band .w2-deco { display: block; position: absolute; z-index: 0; }
  .w2-band .green-circle { right: 40%; bottom: -23px; }                                        /* same spot, 20% of it peeks below into the white (Daniel 2026-11-23) */
  .w2-band .blue-circle { left: auto; right: 6px; top: 10px; width: 96px; height: 87px; }
  .w2-band-card:after { content: ""; position: absolute; top: 0; bottom: 0; left: -110px; width: 231px; background: var(--cat-light); -webkit-mask: url('/img/right-bg.png') left top / 231px 100% no-repeat; mask: url('/img/right-bg.png') left top / 231px 100% no-repeat; pointer-events: none; }
  .w2-band-card > * { position: relative; z-index: 1; }
  .w2-band-doopi .doopi { width: 110px; height: 132px; }
  .w2-band-side { display: flex; flex: 1 1 30%; position: relative; align-items: flex-end; justify-content: flex-start; }
  .w2-blue-pencil { position: absolute; left: 0; bottom: 0; width: auto; max-width: 100%; height: auto; z-index: 1; }
  .w2-sec-head { margin-bottom: 20px; }
  .w2-sec-head h2 { font-size: 28px; }
  .w2-sec-head { flex-wrap: nowrap; }
  .w2-sec-head .w2-sub { display: block; flex: 1 1 auto; font-size: 16px; margin-top: 0; }
  .w2-sec-head h2 { flex: 0 1 auto; }
  .w2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .w2-row { overflow: visible; flex-wrap: wrap; }
  .w2-row > .w2-card { flex: 0 0 calc(25% - 18px); }
  .block_list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .w2-promo { padding: 24px 32px; gap: 24px; }
  .w2-promo .doopi { width: 96px; height: 115px; }
  .w2-promo-text h2 { font-size: 28px; }
  .w2-content h1.pageTitle { font-size: 36px; }
  .w2-content .textArea { font-size: 18px; }
  footer .blocks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #paintArea .shares a { min-width: 160px; font-size: 18px; min-height: 52px; }
}
@media (min-width: 1200px) {
  .w2-hero-doopi .doopi { width: 220px; height: 264px; }
  .w2-hero-card { padding-left: 120px; }
  .w2-hero-in, .w2-hero-side { min-height: 480px; }
  .w2-pencil-man { bottom: 70px; }
}
@media (min-width: 1400px) {
  .w2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .w2-row > .w2-card { flex: 0 0 calc(20% - 20px); }
  .block_list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  :root { --gutter: 40px; }
}
@media (min-width: 1800px) {
  .w2-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .w2-row > .w2-card { flex: 0 0 calc(16.666% - 20px); }
  .block_list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  :root { --gutter: 56px; }
  .w2-hero-card { flex-basis: 56%; max-width: 56%; }
  .w2-hero-side { flex-basis: 44%; }
  .w2-band-card { flex-basis: 66%; max-width: 66%; }
  .w2-band-side { flex-basis: 34%; }
}
