/* Bait VeNoy category intros (Wave 4, 19.10.2026). Scoped to .category-page #jit-intro only. */
.category-page #jit-intro{max-width:760px;width:100%;margin-inline:auto;box-sizing:border-box;direction:rtl;text-align:right;font-family:'Narkiss','Heebo',sans-serif;font-weight:400;font-size:17px;line-height:1.75;color:#2b2b2b}
.category-page #jit-intro *{box-sizing:border-box}
.category-page #jit-intro p{margin:0 0 12px;text-wrap:pretty}
.category-page #jit-intro>p:first-child{font-size:18px;color:#333;margin-top:4px}
.category-page #jit-intro a{color:var(--section-color,#443764);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.category-page #jit-intro a:hover{text-decoration-thickness:2px}
.category-page #jit-intro a:focus-visible,.category-page #jit-intro summary:focus-visible{outline:3px solid #1a1a1a;outline-offset:2px;border-radius:4px}
.category-page #jit-intro strong{font-weight:700;color:#1a1a1a}
.category-page #jit-intro h2{font-family:'yonatan','Narkiss',sans-serif;font-weight:600;font-size:20px;line-height:1.35;color:#1a1a1a;margin:0 0 6px}

/* Radio selector (bathrooms) */
.category-page #jit-intro section:has(input[type=radio]){display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.category-page #jit-intro section:has(input[type=radio]) label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #d8d2e6;border-radius:999px;background:#fff;color:#2b2b2b;font-size:16px;text-align:center;cursor:pointer}
.category-page #jit-intro section:has(input[type=radio]) input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro section:has(input[type=radio]) label:has(input:checked){background:var(--section-color,#443764);border-color:var(--section-color,#443764);color:#fff}
.category-page #jit-intro section:has(input[type=radio]) label:has(input:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro section:has(input[type=radio])>p{flex:1 1 100%;margin:6px 0 0;padding:14px 16px;background:#f6f4fa;border-radius:14px}
@supports selector(:has(*)){
.category-page #jit-intro section:has(input[type=radio])>p{display:none}
.category-page #jit-intro section:has(label:nth-of-type(1) input:checked)>p:nth-of-type(1),
.category-page #jit-intro section:has(label:nth-of-type(2) input:checked)>p:nth-of-type(2),
.category-page #jit-intro section:has(label:nth-of-type(3) input:checked)>p:nth-of-type(3){display:block}
}

/* Pull quote (living room) */
.category-page #jit-intro blockquote{margin:16px 0 0;padding:14px 18px 6px;background:#f6f4fa;border-inline-start:4px solid var(--section-color,#443764);border-radius:12px}
.category-page #jit-intro blockquote>p:first-child{font-family:'yonatan','Narkiss',sans-serif;font-size:20px;line-height:1.5;color:#1a1a1a;margin-bottom:6px}
.category-page #jit-intro blockquote small{font-size:14px;color:#4a4a4a}

/* Comparison table (kitchens) */
.category-page #jit-intro table{width:100%;margin-top:14px;border-collapse:separate;border-spacing:0;border:1px solid #e3dfee;border-radius:14px;overflow:hidden;font-size:15px;line-height:1.6}
.category-page #jit-intro th{background:var(--section-color,#443764);color:#fff;font-weight:600;padding:10px 14px;text-align:right}
.category-page #jit-intro td{padding:12px 14px;border-top:1px solid #e3dfee;vertical-align:top;text-align:right}
.category-page #jit-intro td:last-child{width:34%}
@media (max-width:600px){
.category-page #jit-intro thead{display:none}
.category-page #jit-intro table,.category-page #jit-intro tbody,.category-page #jit-intro tr,.category-page #jit-intro td{display:block;width:auto}
.category-page #jit-intro tr+tr{border-top:1px solid #e3dfee}
.category-page #jit-intro td{border-top:0;padding:10px 14px 2px}
.category-page #jit-intro td:last-child{width:auto;padding:0 14px 12px}
}

/* Checklist in details (private homes) */
.category-page #jit-intro details{margin-top:14px;border:1px solid #e3dfee;border-radius:14px;background:#fff}
.category-page #jit-intro summary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 16px;cursor:pointer;list-style:none;font-weight:600;color:var(--section-color,#443764);text-align:center}
.category-page #jit-intro summary::-webkit-details-marker{display:none}
.category-page #jit-intro summary::after{content:'+';font-size:20px;line-height:1}
.category-page #jit-intro details[open]>summary::after{content:'−'}
.category-page #jit-intro details>p{padding:0 18px;margin:0 0 12px}

/* Chip navigation (interior designers) */
.category-page #jit-intro nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.category-page #jit-intro nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #e3dfee;border-radius:999px;background:#f6f4fa;color:#2b2b2b;font-size:15px;text-align:center;text-decoration:none}
.category-page #jit-intro nav a:first-child{background:var(--section-color,#443764);border-color:var(--section-color,#443764);color:#fff}
.category-page #jit-intro nav a:hover{border-color:var(--section-color,#443764)}

/* Side callout (bedrooms) */
.category-page #jit-intro aside{margin-top:14px;padding:14px 18px 4px;background:#f6f4fa;border-inline-start:4px solid var(--section-color,#443764);border-radius:12px}

/* Editor's pick (rustic) */
.category-page #jit-intro hr{width:96px;height:2px;margin:16px auto 12px;border:0;background:var(--section-color,#443764)}
.category-page #jit-intro>hr+h2{font-size:18px;text-align:center}

/* Three principle tiles (eclectic) */
.category-page #jit-intro section:has(>h2){display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto 1fr;grid-auto-flow:column;column-gap:12px;row-gap:0;margin-top:14px}
.category-page #jit-intro section:has(>h2)>h2{margin:0;padding:14px 14px 4px;background:#f6f4fa;border-radius:14px 14px 0 0;font-size:18px}
.category-page #jit-intro section:has(>h2)>p{margin:0;padding:0 14px 14px;background:#f6f4fa;border-radius:0 0 14px 14px;font-size:15px;line-height:1.65}
@media (max-width:700px){
.category-page #jit-intro section:has(>h2){grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}
.category-page #jit-intro section:has(>h2)>p{margin-bottom:10px}
}

@media (max-width:600px){
.category-page #jit-intro{font-size:16px}
.category-page #jit-intro>p:first-child{font-size:17px}
}

/* Wave 4b (19.10.2026): new structures only. Nothing above this line changes. */

/* Room-by-room path (interior design hub, category 1): p, h2, section of h3+p steps, numbered by CSS counters */
.category-page #jit-intro section:has(>h3){counter-reset:w4step;margin-top:6px}
.category-page #jit-intro section:has(>h3)>h3{counter-increment:w4step;display:flex;align-items:center;gap:10px;margin:8px 0 0;font-family:'yonatan','Narkiss',sans-serif;font-weight:600;font-size:19px;line-height:1.35;color:#1a1a1a}
.category-page #jit-intro section:has(>h3)>h3::before{content:counter(w4step);flex:0 0 32px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--section-color,#443764);color:#fff;font-family:'Narkiss','Heebo',sans-serif;font-size:15px;font-weight:700;line-height:1}
.category-page #jit-intro section:has(>h3)>h3>a{display:inline-flex;align-items:center;min-height:44px}
.category-page #jit-intro section:has(>h3)>p{margin:0;margin-inline-start:15px;padding:0 0 6px;padding-inline-start:27px;border-inline-start:2px solid #e3dfee;font-size:16px;line-height:1.65}
.category-page #jit-intro section:has(>h3)>p:last-child{border-inline-start-color:transparent}

/* Checkbox switch with a second layer (kids rooms, category 92): p, label wrapping a checkbox, section of p */
.category-page #jit-intro>label:has(>input[type=checkbox]){position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;max-width:100%;min-height:44px;margin:14px auto 0;padding:0 18px;border:1px solid #d8d2e6;border-radius:999px;background:#fff;color:#2b2b2b;font-size:16px;line-height:1.3;text-align:center;cursor:pointer}
.category-page #jit-intro>label:has(>input[type=checkbox])::before{content:'';flex:0 0 40px;width:40px;height:24px;border-radius:999px;background:#d8d2e6;transition:background-color .2s ease}
.category-page #jit-intro>label:has(>input[type=checkbox])::after{content:'';position:absolute;top:50%;inset-inline-start:21px;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .2s ease}
.category-page #jit-intro>label>input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro>label:has(>input[type=checkbox]:checked)::before{background:var(--section-color,#443764)}
.category-page #jit-intro>label:has(>input[type=checkbox]:checked)::after{transform:translateX(-16px)}
.category-page #jit-intro>label:has(>input[type=checkbox]:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro>label:has(>input[type=checkbox])+section{margin-top:12px;padding:14px 18px 4px;border:1px solid #e3dfee;border-radius:14px;background:#fff}
@supports selector(:has(*)){
.category-page #jit-intro>label:has(>input[type=checkbox]:not(:checked))+section{display:none}
}
@media (prefers-reduced-motion:reduce){
.category-page #jit-intro>label:has(>input[type=checkbox])::before,.category-page #jit-intro>label:has(>input[type=checkbox])::after{transition:none}
}

/* Season legend (gardens, category 95): p, figure with figcaption and p lines led by a span swatch */
.category-page #jit-intro figure{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:16px 0 0;padding:14px 18px 6px;border:1px solid #e3dfee;border-radius:14px;background:#fff}
.category-page #jit-intro figure>figcaption{grid-column:1/-1;margin:0;font-family:'yonatan','Narkiss',sans-serif;font-weight:600;font-size:18px;line-height:1.35;color:#1a1a1a;text-align:center}
.category-page #jit-intro figure>p{position:relative;margin:0 0 8px;padding-inline-start:78px;font-size:16px;line-height:1.6}
.category-page #jit-intro figure>p>span:first-child{position:absolute;top:1px;inset-inline-start:0;display:inline-flex;align-items:center;gap:6px;width:68px;padding:1px 8px;border-radius:999px;background:#eeebf4;color:#1a1a1a;font-size:14px;font-weight:700;line-height:1.6}
.category-page #jit-intro figure>p>span:first-child::before{content:'';flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:currentColor}
.category-page #jit-intro figure>p:nth-of-type(1)>span:first-child{background:#e6efdd}
.category-page #jit-intro figure>p:nth-of-type(1)>span:first-child::before{background:#5e8c46}
.category-page #jit-intro figure>p:nth-of-type(2)>span:first-child{background:#f7ead0}
.category-page #jit-intro figure>p:nth-of-type(2)>span:first-child::before{background:#c98f1f}
.category-page #jit-intro figure>p:nth-of-type(3)>span:first-child{background:#f4e0d3}
.category-page #jit-intro figure>p:nth-of-type(3)>span:first-child::before{background:#b05a2b}
.category-page #jit-intro figure>p:nth-of-type(4)>span:first-child{background:#dfe7ef}
.category-page #jit-intro figure>p:nth-of-type(4)>span:first-child::before{background:#4f7190}
@media (max-width:600px){
.category-page #jit-intro figure{grid-template-columns:1fr;padding:12px 14px 4px}
}

/* Wave 6 top-menu intros (20.10.2026) */
/* Wave 6 (20.10.2026): top-menu category intros. Append-only after the live custom.css (sha256 d087aa5d2c86).
   Nothing above this line changes. Every selector is keyed by a structure no Wave 4 intro uses. */

/* Flip cards (balconies, 96): section of 3 labels, each a checkbox + strong (problem) + span (fix) */
.category-page #jit-intro section:has(>label>input[type=checkbox]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label{position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:112px;padding:14px 16px;border:1px solid #e3dfee;border-radius:14px;background:#fff;color:#2b2b2b;font-size:15px;line-height:1.55;text-align:right;cursor:pointer}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label>strong{font-family:'yonatan','Narkiss',sans-serif;font-size:19px;font-weight:600;line-height:1.3}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label>strong::after{content:'הפתרון +';display:block;margin-top:8px;font-family:'Narkiss','Heebo',sans-serif;font-size:14px;font-weight:600;color:var(--section-color,#443764)}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label>span{display:none}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label:has(>input:checked){background:#f6f4fa;border-color:var(--section-color,#443764)}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label:has(>input:checked)>strong{font-size:15px;color:var(--section-color,#443764)}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label:has(>input:checked)>strong::after{content:none}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label:has(>input:checked)>span{display:block}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label:has(>input:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}

/* Table-shape picker (dining corners, 97): figure with figcaption, 3 radio labels drawn as shapes, 3 panels */
.category-page #jit-intro figure:has(input[type=radio]){grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 16px 8px}
.category-page #jit-intro figure:has(input[type=radio])>label{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:96px;padding:10px 6px;border:1px solid #d8d2e6;border-radius:14px;background:#fff;color:#2b2b2b;font-size:16px;line-height:1.3;cursor:pointer}
.category-page #jit-intro figure:has(input[type=radio])>label::before{content:'';display:block;width:42px;height:42px;border:2px solid var(--section-color,#443764);border-radius:50%;background:#fff}
.category-page #jit-intro figure:has(input[type=radio])>label:nth-of-type(2)::before{width:62px;height:32px;border-radius:6px}
.category-page #jit-intro figure:has(input[type=radio])>label:nth-of-type(3)::before{width:62px;height:32px;border-radius:6px;border-inline-end-style:dashed}
.category-page #jit-intro figure:has(input[type=radio])>label>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro figure:has(input[type=radio])>label:has(>input:checked){border-color:var(--section-color,#443764);background:#f6f4fa;font-weight:600}
.category-page #jit-intro figure:has(input[type=radio])>label:has(>input:checked)::before{background:#e6e1f0}
.category-page #jit-intro figure:has(input[type=radio])>label:has(>input:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro figure:has(input[type=radio])>p{grid-column:1/-1;margin:2px 0 8px;padding:12px 16px;background:#f6f4fa;border-radius:12px;font-size:16px;line-height:1.65}
@supports selector(:has(*)){
.category-page #jit-intro figure:has(input[type=radio])>p{display:none}
.category-page #jit-intro figure:has(>label:nth-of-type(1)>input[type=radio]:checked)>p:nth-of-type(1),
.category-page #jit-intro figure:has(>label:nth-of-type(2)>input[type=radio]:checked)>p:nth-of-type(2),
.category-page #jit-intro figure:has(>label:nth-of-type(3)>input[type=radio]:checked)>p:nth-of-type(3){display:block}
}

/* A/B segmented switch (toilets, 98): aside with 2 radio segments and 2 panels */
.category-page #jit-intro aside:has(input[type=radio]){display:flex;flex-wrap:wrap;padding:6px;border:1px solid #e3dfee;border-radius:16px;background:#fff}
.category-page #jit-intro aside:has(input[type=radio])>label{position:relative;flex:1 1 0;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border-radius:12px;background:#f6f4fa;color:#2b2b2b;font-size:16px;cursor:pointer}
.category-page #jit-intro aside:has(input[type=radio])>label+label{margin-inline-start:6px}
.category-page #jit-intro aside:has(input[type=radio])>label>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro aside:has(input[type=radio])>label:has(>input:checked){background:var(--section-color,#443764);color:#fff;font-weight:600}
.category-page #jit-intro aside:has(input[type=radio])>label:has(>input:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro aside:has(input[type=radio])>p{flex:1 1 100%;margin:10px 0 4px;padding:0 10px;font-size:16px;line-height:1.7}
@supports selector(:has(*)){
.category-page #jit-intro aside:has(input[type=radio])>p{display:none}
.category-page #jit-intro aside:has(>label:nth-of-type(1)>input[type=radio]:checked)>p:nth-of-type(1),
.category-page #jit-intro aside:has(>label:nth-of-type(2)>input[type=radio]:checked)>p:nth-of-type(2){display:block}
}

/* Checklist with a live counter (work rooms, 99): aside with h2, 3 checkbox labels, a count line and a done line */
.category-page #jit-intro aside:has(input[type=checkbox]){counter-reset:w6c;padding:14px 18px 6px}
.category-page #jit-intro aside:has(input[type=checkbox])>h2{font-size:18px;margin-bottom:10px}
.category-page #jit-intro aside:has(input[type=checkbox])>label{position:relative;display:flex;align-items:center;gap:12px;min-height:48px;margin:0 0 8px;padding:6px 14px;border:1px solid #e3dfee;border-radius:12px;background:#fff;color:#2b2b2b;font-size:16px;line-height:1.4;cursor:pointer}
.category-page #jit-intro aside:has(input[type=checkbox])>label::before{content:'';flex:0 0 24px;width:24px;height:24px;border:2px solid #b9b0cf;border-radius:6px;background:#fff}
.category-page #jit-intro aside:has(input[type=checkbox])>label>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro aside:has(input[type=checkbox])>label>input:checked{counter-increment:w6c}
.category-page #jit-intro aside:has(input[type=checkbox])>label:has(>input:checked){border-color:var(--section-color,#443764)}
.category-page #jit-intro aside:has(input[type=checkbox])>label:has(>input:checked)::before{border-color:var(--section-color,#443764);background:var(--section-color,#443764);box-shadow:inset 0 0 0 4px #fff}
.category-page #jit-intro aside:has(input[type=checkbox])>label:has(>input:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro aside:has(input[type=checkbox])>p{margin:4px 0 10px;font-size:16px}
.category-page #jit-intro aside:has(input[type=checkbox])>p:nth-of-type(1)::before{content:counter(w6c) ' מתוך 3 סומנו. ';font-weight:700;color:var(--section-color,#443764)}
@supports selector(:has(*)){
.category-page #jit-intro aside:has(input[type=checkbox])>p:nth-of-type(2){display:none}
.category-page #jit-intro aside:has(>label:nth-of-type(1)>input[type=checkbox]:checked):has(>label:nth-of-type(2)>input[type=checkbox]:checked):has(>label:nth-of-type(3)>input[type=checkbox]:checked)>p:nth-of-type(1){display:none}
.category-page #jit-intro aside:has(>label:nth-of-type(1)>input[type=checkbox]:checked):has(>label:nth-of-type(2)>input[type=checkbox]:checked):has(>label:nth-of-type(3)>input[type=checkbox]:checked)>p:nth-of-type(2){display:block}
}

/* Side-by-side compare (safe room, 100): section of 2 details cards */
.category-page #jit-intro section:has(>details){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;margin-top:14px}
.category-page #jit-intro section:has(>details)>details{margin-top:0}
.category-page #jit-intro section:has(>details)>details>summary{justify-content:space-between;font-size:17px}
.category-page #jit-intro section:has(>details)>details>summary::before{content:'';flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:#5e8c46}
.category-page #jit-intro section:has(>details)>details:nth-of-type(2)>summary::before{background:#b05a2b}
.category-page #jit-intro section:has(>details)>details[open]{background:#f6f4fa}
.category-page #jit-intro section:has(>details)>details>p{font-size:16px;line-height:1.65}

/* Number card (roofs, 101): figure with figcaption and p tiles led by a mark */
.category-page #jit-intro figure:has(>p>mark){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 16px;background:#f6f4fa}
.category-page #jit-intro figure:has(>p>mark)>p{margin:0;padding:12px 14px;padding-inline-start:14px;background:#fff;border-radius:12px;font-size:15px;line-height:1.5}
.category-page #jit-intro figure:has(>p>mark)>p>mark{display:block;margin-bottom:2px;background:none;color:var(--section-color,#443764);font-family:'yonatan','Narkiss',sans-serif;font-size:24px;font-weight:600;line-height:1.2}

/* Two voices (rooftop apartments, 102): section of 2 blockquotes */
.category-page #jit-intro section:has(>blockquote){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.category-page #jit-intro section:has(>blockquote)>blockquote{display:flex;flex-direction:column;justify-content:space-between;margin:0}
.category-page #jit-intro section:has(>blockquote)>blockquote:nth-of-type(2){background:#fff;border:1px solid #e3dfee;border-inline-start:4px solid var(--section-color,#443764)}
.category-page #jit-intro section:has(>blockquote)>blockquote>p:last-child{margin-bottom:6px;line-height:1.5}

/* Layer stack (basements, 103): section of 4 radio bands led by a mark, one panel beside them */
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:6px 14px;align-items:stretch}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label{grid-column:1;justify-content:flex-start;gap:10px;padding:0 12px;border:0;border-radius:10px;font-size:16px;text-align:right}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label:nth-of-type(1){background:#dfe7ef}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label:nth-of-type(2){background:#efe9dc}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label:nth-of-type(3){background:#e6dccb}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label:nth-of-type(4){background:#d9cbb3}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label:has(>input:checked){background:var(--section-color,#443764);color:#fff}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>label>mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#fff;color:#1a1a1a;font-size:14px;font-weight:700}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>p{grid-column:2;grid-row:1/span 4;margin:0;font-size:16px;line-height:1.65}
@supports selector(:has(*)){
.category-page #jit-intro section:has(>label:nth-of-type(4)>input[type=radio]:checked)>p:nth-of-type(4){display:block}
}

/* Underline tabs (what's new, 120): section of 3 radio labels with a small sub-label, one news card */
.category-page #jit-intro section:has(input[type=radio]):has(>label>small){justify-content:flex-start;gap:4px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>small)>label{flex-direction:column;gap:0;min-height:56px;padding:6px 14px;border:0;border-bottom:3px solid #e3dfee;border-radius:0;background:none;font-weight:600;line-height:1.25}
.category-page #jit-intro section:has(input[type=radio]):has(>label>small)>label>small{font-size:13px;font-weight:400;color:#595959}
.category-page #jit-intro section:has(input[type=radio]):has(>label>small)>label:has(>input:checked){background:none;color:var(--section-color,#443764);border-bottom-color:var(--section-color,#443764)}
.category-page #jit-intro section:has(input[type=radio]):has(>label>small)>p{margin-top:10px;background:#fff;border:1px solid #e3dfee}

/* Scale track (architecture, 2): section of 3 radio stops on a line, the dot grows with the scale */
.category-page #jit-intro section:has(input[type=radio]):has(>label>em){justify-content:space-between;gap:0;background:linear-gradient(#d8d2e6,#d8d2e6) no-repeat 50% 23px/66% 2px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label{flex:1 1 0;flex-direction:column;gap:6px;min-height:72px;padding:13px 4px 4px;border:0;border-radius:12px;background:none;color:#2b2b2b}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label::before{content:'';width:20px;height:20px;border:2px solid var(--section-color,#443764);border-radius:50%;background:#fff}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label:nth-of-type(2){padding-top:10px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label:nth-of-type(2)::before{width:26px;height:26px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label:nth-of-type(3){padding-top:7px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label:nth-of-type(3)::before{width:32px;height:32px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label>em{font-style:normal;font-weight:600}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label:has(>input:checked){background:none;color:var(--section-color,#443764)}
.category-page #jit-intro section:has(input[type=radio]):has(>label>em)>label:has(>input:checked)::before{background:var(--section-color,#443764)}

/* Two-answer quiz (entrances, 104): top-level h2, 2 radio answers with no default, right and wrong feedback */
.category-page #jit-intro:has(>label>input[type=radio])>h2{margin-top:14px;font-size:19px}
.category-page #jit-intro>label:has(>input[type=radio]){position:relative;display:flex;align-items:center;gap:12px;min-height:48px;margin:0 0 8px;padding:6px 14px;border:1px solid #d8d2e6;border-radius:12px;background:#fff;color:#2b2b2b;font-size:16px;line-height:1.4;cursor:pointer}
.category-page #jit-intro>label:has(>input[type=radio])::before{content:'א';flex:0 0 28px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eeebf4;color:#1a1a1a;font-size:14px;font-weight:700}
.category-page #jit-intro>label:has(>input[type=radio]):nth-of-type(2)::before{content:'ב'}
.category-page #jit-intro>label>input[type=radio]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro>label:has(>input[type=radio]:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro>label:nth-of-type(1):has(>input[type=radio]:checked){border-color:#b3261e;background:#fbeaea}
.category-page #jit-intro>label:nth-of-type(2):has(>input[type=radio]:checked){border-color:#2e6b3a;background:#e8f3ea}
.category-page #jit-intro:has(>label>input[type=radio])>p:not(:first-child){margin:4px 0 8px;padding:12px 16px;border-radius:12px;font-size:16px;line-height:1.65}
.category-page #jit-intro:has(>label>input[type=radio])>p:nth-of-type(2){background:#fbeaea}
.category-page #jit-intro:has(>label>input[type=radio])>p:nth-of-type(3){background:#e8f3ea}
@supports selector(:has(*)){
.category-page #jit-intro:has(>label>input[type=radio])>p:not(:first-child){display:none}
.category-page #jit-intro:has(>label:nth-of-type(1)>input[type=radio]:checked)>p:nth-of-type(2),
.category-page #jit-intro:has(>label:nth-of-type(2)>input[type=radio]:checked)>p:nth-of-type(3){display:block}
}

/* Myth or fact (materials and technology, 9): blockquote with the myth, a checkbox button, the answer */
.category-page #jit-intro blockquote:has(input[type=checkbox])>label{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:2px 0 12px;padding:0 16px;border:1px solid var(--section-color,#443764);border-radius:999px;background:#fff;color:var(--section-color,#443764);font-size:15px;font-weight:600;cursor:pointer}
.category-page #jit-intro blockquote:has(input[type=checkbox])>label::after{content:'+';font-size:18px;line-height:1}
.category-page #jit-intro blockquote:has(input[type=checkbox])>label:has(>input:checked)::after{content:'−'}
.category-page #jit-intro blockquote:has(input[type=checkbox])>label>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.category-page #jit-intro blockquote:has(input[type=checkbox])>label:has(>input:focus-visible){outline:3px solid #1a1a1a;outline-offset:2px}
.category-page #jit-intro blockquote:has(input[type=checkbox])>p:last-child{font-size:16px;line-height:1.7}
@supports selector(:has(*)){
.category-page #jit-intro blockquote:has(input[type=checkbox]:not(:checked))>p:last-child{display:none}
}

@media (max-width:600px){
.category-page #jit-intro section:has(>label>input[type=checkbox]),
.category-page #jit-intro section:has(>details),
.category-page #jit-intro section:has(>blockquote){grid-template-columns:1fr}
.category-page #jit-intro section:has(>label>input[type=checkbox])>label{min-height:72px}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark){grid-template-columns:1fr}
.category-page #jit-intro section:has(input[type=radio]):has(>label>mark)>p{grid-column:1;grid-row:auto;margin-top:4px}
.category-page #jit-intro figure:has(>p>mark)>p>mark{font-size:21px}
}
