/* T139 stage 7, group global: component fixes against the mockup (a.css / pages.css / focus.css / portal.css).
   Covers what is on every page (header, mobile menu, footer, buttons, arrow links, forms, lists, page heads) and the pages
   home (except its course, product, blog and community sections), about, contact, thanks, free-course, affiliate.
   Note: this file is printed before pages.css (it depends only on sy-demo), so its rules start with body.sy-built to win over pages.css. */

:root{
  --sy-i-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --sy-i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --sy-i-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --sy-i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4.5l3 1.8'/%3E%3C/svg%3E");
  --sy-i-menu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16M4 16h16'/%3E%3C/svg%3E");
  --sy-i-wa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.07.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.18-1.41-.08-.13-.27-.2-.57-.35M12.05 21.79h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.44 9.88-9.88 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.69 1.45h.01c6.55 0 11.89-5.34 11.89-11.89 0-3.18-1.24-6.17-3.48-8.41z'/%3E%3C/svg%3E");
}

/* ================= header ================= */
/* "אזור אישי": the mockup's icon is before the text (on the right). Kadence's style label_icon prints it after. */
#masthead .header-account-button .kadence-svg-iconset{order:-1}
#masthead .header-account-button .header-account-label{padding:0!important}
/* logged in, Kadence's wrapper adds a 20px margin (the cart and search moved 20px away) */
#masthead .header-account-in-wrap{margin:0!important}
/* the mockup's bar: 76px high, 64px on a phone (Kadence's mobile header was 70) */
#mobile-header .site-main-header-inner-wrap{min-height:76px}
@media (max-width:600px){ #mobile-header .site-main-header-inner-wrap{min-height:64px} }
/* menu button: the mockup's round 44px button with two thin lines (Kadence's icon has three thick bars) */
#masthead .menu-toggle-open{width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:999px;color:var(--sy-ink);background:transparent;border:0;box-shadow:none}
#masthead .menu-toggle-open:hover{background:var(--sy-soft)}
#masthead .menu-toggle-open .menu-toggle-icon{display:block;width:20px;height:20px;background:currentColor;-webkit-mask:var(--sy-i-menu) center/contain no-repeat;mask:var(--sy-i-menu) center/contain no-repeat}
#masthead .menu-toggle-open .menu-toggle-icon .kadence-svg-iconset{display:none}
/* the current page in the menu (the mockup's aria-current="page"); custom links get the class in s7-global.php */
#masthead .header-navigation .header-menu-container > ul > li.menu-item.current-menu-item > a{color:var(--sy-accent-ink,var(--sy-accent));background:color-mix(in srgb,var(--sy-c-0f5257) 8%,transparent)}
/* mobile drawer: the mockup's menu links, and the current page in accent */
#mobile-drawer .mobile-navigation ul li.current-menu-item > a{color:var(--sy-accent-ink,var(--sy-accent));background:color-mix(in srgb,var(--sy-c-0f5257) 8%,transparent)}

/* ================= footer ================= */
/* the mockup's line height (1.65) and its contact links without the 4px gap (they are not in a list there) */
#colophon .sy-flinks a,#colophon .sy-fcontact a{line-height:1.65}
#colophon .sy-fcontact{gap:0}
#colophon .sy-fcol-title{line-height:1.3}

/* ================= generic buttons (Kadence advanced buttons) ================= */
/* a row of buttons starts at the right, as in the mockup (Kadence's default alignment is center) */
body.sy-built .wp-block-kadence-advancedbtn.kb-buttons-wrap{justify-content:flex-start}
/* the arrow sits after the text (on the left in RTL), as in the mockup's .btn .i-arrow */
body.sy-built .wp-block-kadence-advancedbtn .kb-button .kb-svg-icon-wrap{order:2;margin:0!important}
body.sy-built .wp-block-kadence-advancedbtn .kb-button .kb-svg-icon-wrap svg{width:18px;height:18px;stroke-width:1.75}
body.sy-built .wp-block-kadence-advancedbtn .kb-button.kt-button{padding:0 24px;min-height:50px;gap:10px;line-height:1.4}
body.sy-built .wp-block-kadence-advancedbtn .kb-button.kt-button.sy-btn-lg{padding:0 30px;min-height:58px;font-size:17px}
body.sy-built .wp-block-kadence-advancedbtn .kb-button .kb-svg-icon-wrap{transition:transform .3s var(--sy-ease)}
body.sy-built .wp-block-kadence-advancedbtn .kb-button:hover .kb-svg-icon-wrap{transform:translateX(-4px)}
@media (max-width:600px){
  body.sy-built .sy-btn-row.wp-block-kadence-advancedbtn{flex-direction:column;align-items:stretch}
}

/* ================= arrow links (the mockup's .link with .i-arrow) ================= */
body.sy-built .sy-link a::after,body.sy-built a.sy-link::after,body.sy-built .sy-door-link::after{content:"";width:17px;height:17px;flex:none;background:currentColor;-webkit-mask:var(--sy-i-arrow) center/contain no-repeat;mask:var(--sy-i-arrow) center/contain no-repeat;font-size:0;transition:transform .3s var(--sy-ease)}
body.sy-built .sy-door-link{display:inline-flex;align-items:center;gap:8px}
body.sy-built a.sy-link:hover::after,body.sy-built .sy-link a:hover::after,body.sy-built .sy-door:hover .sy-door-link::after{transform:translateX(-4px)}

/* ================= forms (Kadence form block) ================= */
/* the mockup's labels have no asterisk */
body.sy-built .kb-form label .required{display:none}
/* submit: text centred in the pill, with the arrow after it */
body.sy-built .kb-form .kb-forms-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.4;min-height:50px;padding:0 24px;font-size:16px;font-weight:500;border-radius:999px}
body.sy-built .kb-form .kb-forms-submit::after{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:var(--sy-i-arrow) center/contain no-repeat;mask:var(--sy-i-arrow) center/contain no-repeat;transition:transform .3s var(--sy-ease)}
body.sy-built .kb-form .kb-forms-submit:hover::after{transform:translateX(-4px)}
body.sy-built .kb-form .kb-submit-field{display:flex;justify-content:flex-start}
/* fields on a light background: the mockup's .field2 */
body.sy-built :is(.sy-contact-form,.sy-land-form) .kb-form label{display:block;font-size:14.5px;color:var(--sy-muted);font-weight:400;margin:0 0 6px;line-height:1.5}
body.sy-built :is(.sy-contact-form,.sy-land-form) .kb-form :is(input.kb-field,select.kb-field,textarea.kb-field){width:100%;min-height:50px;border:1px solid var(--sy-line)!important;border-radius:14px!important;background:var(--sy-card)!important;color:var(--sy-ink);font:inherit;padding:0 14px;box-shadow:none}
body.sy-built :is(.sy-contact-form,.sy-land-form) .kb-form textarea.kb-field{padding:12px 14px;min-height:120px}
body.sy-built :is(.sy-contact-form,.sy-land-form) .kb-form .kadence-blocks-form-field{margin-bottom:0}
body.sy-built :is(.sy-contact-form,.sy-land-form) .kb-form{row-gap:16px}
body.sy-built :is(.sy-contact-form,.sy-land-form) .kb-form .kb-forms-submit{min-height:58px;padding:0 30px;font-size:17px}
/* phone: name and e-mail one under the other (the mockup's .row2 at <=600) */
@media (max-width:600px){ body.sy-built .sy-contact-form .kb-form .kadence-blocks-form-field{width:100%;flex:0 0 100%;max-width:100%} }

/* ================= lists: Kadence's ".rtl .single-content ul{padding-right:2em}" beat the demo's lists (the gap to the right of the bullets) ================= */
.rtl .single-content :is(ul,ol):is(.sy-stats,.sy-learn,.sy-chaps,.sy-spaces,.sy-poll,.sy-benefits,.sy-land-list,.sy-checks,.sy-whofor){padding-right:0}
.rtl .single-content ol.sy-chaps .sy-chap__lessons{padding-right:84px}
@media (max-width:600px){ .rtl .single-content ol.sy-chaps .sy-chap__lessons{padding-right:0} }

/* ================= section headings ================= */
/* the mockup's h2 is clamp(30px,3.6vw,50px); Kadence's is 50 / 40 (<=1024) / 30 (<=767), so on a tablet every h2 was 40 instead of 30-37.
   Section-specific h2 sizes (closing, newsletter, band, page blocks) are more specific and keep their own size. */
body.sy-built h2{font-size:clamp(30px,3.6vw,50px)}

/* ================= page heads ================= */
/* the mockup's .phead--split has the same padding as .phead (44/56, phone 28/40) */
body.sy-built .sy-phead--split > .kt-row-column-wrap{padding-top:44px;padding-bottom:56px}
@media (max-width:600px){ body.sy-built .sy-phead--split > .kt-row-column-wrap{padding-top:28px;padding-bottom:40px} }
/* the narrow head (thanks): 820px of content, like the mockup's .wrap max-width:820px */
body.sy-built .sy-phead--narrow > .kt-row-column-wrap,body.sy-built .sy-offer-sec > .kt-row-column-wrap{max-width:868px}
/* key/value lists (the mockup's .kv) */
body.sy-built dl.sy-kv{grid-template-columns:160px 1fr}
body.sy-built dl.sy-kv dt{font-weight:400}
@media (max-width:600px){ body.sy-built dl.sy-kv{grid-template-columns:1fr;gap:2px 0} body.sy-built dl.sy-kv dd{margin-bottom:10px} }
/* numbered steps: the mockup counts 1, 2, 3, 4 */
body.sy-built .sy-steps > .kt-row-column-wrap{counter-reset:sy-step}
body.sy-built .sy-step{counter-increment:sy-step}
body.sy-built .sy-step .sy-step__n{font-size:0!important}
body.sy-built .sy-step .sy-step__n::before{content:counter(sy-step);font-size:16px;line-height:1}

/* ================= home ================= */
/* hero: the float card's time has the clock icon */
body.sy-built .sy-float-card em{display:inline-flex;gap:6px;align-items:center}
body.sy-built .sy-float-card em::before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:var(--sy-i-clock) center/contain no-repeat;mask:var(--sy-i-clock) center/contain no-repeat}
/* tablet/phone: the hero text starts 12px under the padding (the mockup's .hero__text at <=900), not 28 */
@media (max-width:900px){ body.sy-built .sy-hero-text > .kt-inside-inner-col{padding-top:12px} }
/* tablet/phone: one-column grids have the mockup's 20px gutter between their parts (was 40); the FAQ gets its 48px margin */
@media (max-width:900px){
  body.sy-built :is(.sy-hero,.sy-about-grid,.sy-nf) > .kt-row-column-wrap{row-gap:var(--sy-gut)}
  body.sy-built .sy-nf .sy-faqs{margin-top:48px}
  body.sy-built .sy-about-grid .sy-about-photo img{aspect-ratio:4/3.6}
}
/* doors: in the mockup the link follows the text (the card is display:block), it is not pushed to the bottom */
body.sy-built .sy-door .sy-door-p{flex:none}
/* featured course: the check icon of the list */
body.sy-built .sy-learn li::before{content:"";width:20px;height:20px;margin-top:3px;background:var(--sy-c-9fd3cf);-webkit-mask:var(--sy-i-check) center/contain no-repeat;mask:var(--sy-i-check) center/contain no-repeat}
/* the list starts 52px under the lead: in the mockup the lead's 28px margin and the 24px grid gutter add up (here the margins collapse) */
body.sy-built .sy-featured ul.sy-learn{margin-top:52px}
/* the play button's triangle, as small as the mockup's */
body.sy-built .sy-player .kadence-video-popup-link .kt-video-svg-icon svg{width:18px;height:18px}
/* tablet and phone: the mockup's order is title, lead, video, then the list, chapters and price
   (the text column is unwrapped so its blocks and the video column can be ordered in one grid) */
@media (max-width:900px){
  body.sy-built .sy-featured > .kt-row-column-wrap{row-gap:0}
  body.sy-built .sy-featured .sy-feat-text,body.sy-built .sy-featured .sy-feat-text > .kt-inside-inner-col{display:contents}
  body.sy-built .sy-featured .sy-feat-text > .kt-inside-inner-col > *{order:3}
  body.sy-built .sy-featured .sy-feat-text > .kt-inside-inner-col > :is(.sy-eyebrow,h2,.sy-lead){order:1}
  body.sy-built .sy-featured .sy-feat-media{order:2;margin:28px 0 36px}
  body.sy-built .sy-featured ul.sy-learn{margin-top:20px}
}
/* tablet: price and button side by side in one box, as the mockup's .buy (flex, space-between) */
@media (min-width:601px) and (max-width:900px){
  body.sy-built .sy-buy__price{border-radius:var(--sy-r);border-bottom:1px solid color-mix(in srgb,var(--sy-c-f2f8f8) 16%,transparent);padding-bottom:22px}
  body.sy-built .sy-featured .sy-buy-btn.kb-buttons-wrap{background:none;border:0;padding:0 24px;margin-top:-77px;margin-bottom:27px;justify-content:flex-end;pointer-events:none}
  body.sy-built .sy-featured .sy-buy-btn .kb-button{pointer-events:auto}
}
/* phone: the price box's button fills the width (the mockup's .buy .btn{width:100%}) */
@media (max-width:600px){ body.sy-built .sy-featured .sy-buy-btn .kb-button{width:100%;justify-content:center} }
/* the price box: the button under the price, at the right */
body.sy-built .sy-buy-btn .kb-buttons-wrap{justify-content:flex-start}
/* newsletter (the booklet): the button as the mockup's .btn--light, 16px, centred text with the arrow, at the right */
body.sy-built .sy-news-form .kb-form .kb-forms-submit{font-size:16px;min-height:50px;padding:0 24px;margin-top:6px;line-height:1.4}
body.sy-built .sy-news-form .kb-form label{margin:0 0 6px;display:block;line-height:1.65}
body.sy-built .sy-news .sy-fine{margin-top:-2px}
/* FAQ: the mockup's plus icon (22px), so the row is 71px and not 80 */
body.sy-built .sy-faq summary::after{content:"";width:22px;height:22px;flex:none;background:var(--sy-accent);-webkit-mask:var(--sy-i-plus) center/contain no-repeat;mask:var(--sy-i-plus) center/contain no-repeat;font-size:0;line-height:1}

/* testimonials on a tablet: two columns, as the mockup's .quotes at <=1100 (the quote rows are unwrapped into one grid,
   so six quotes in two rows of three become three rows of two) */
@media (min-width:601px) and (max-width:1100px){
  body.sy-built .kt-inside-inner-col:has(> .sy-quotes){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--sy-gut)}
  body.sy-built .kt-inside-inner-col:has(> .sy-quotes) > :not(.sy-quotes){grid-column:1 / -1}
  body.sy-built .kt-inside-inner-col:has(> .sy-quotes)::before,body.sy-built .kt-inside-inner-col:has(> .sy-quotes)::after,
  body.sy-built .sy-quotes::before,body.sy-built .sy-quotes::after,body.sy-built .sy-quotes > .kt-row-column-wrap::before,body.sy-built .sy-quotes > .kt-row-column-wrap::after{display:none}
  body.sy-built .sy-quotes,body.sy-built .sy-quotes > .kt-row-column-wrap{display:contents}
  body.sy-built .sy-quotes .sy-quote{margin-bottom:var(--sy-gut)}
  body.sy-built .kt-inside-inner-col:has(> .sy-quotes:last-child){margin-bottom:calc(-1 * var(--sy-gut))}
  body.sy-built .sy-quotes ~ .sy-band{margin-top:calc(56px - var(--sy-gut))}
}

/* ================= about ================= */
/* (page head, steps, band button: generic rules above) */

/* the two photos keep their own proportions (4:5 and 4:3), as in the mockup; they were cut to the same height */
body.sy-built .sy-about-photos .sy-about-photo{align-self:start;height:auto}
body.sy-built .sy-about-photos .sy-about-photo img{height:auto!important;aspect-ratio:auto}

/* ================= contact ================= */
body.sy-built .sy-wa-line{display:flex;gap:10px;align-items:center;margin-bottom:12px}
body.sy-built .sy-wa-line::before{content:"";width:20px;height:20px;flex:none;background:#25D366;-webkit-mask:var(--sy-i-wa) center/contain no-repeat;mask:var(--sy-i-wa) center/contain no-repeat}
body.sy-built .sy-wa-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(20,20,20,.28);background:transparent;color:var(--sy-ink);font:inherit;font-size:15px;font-weight:500;cursor:pointer;transition:border-color .25s,background .25s}
body.sy-built .sy-wa-btn:hover{border-color:var(--sy-ink);background:rgba(255,255,255,.5)}
body.sy-built .sy-panel .sy-link{margin-top:10px}
/* the e-mail stays on one line (the mockup lets it run into the padding instead of breaking it) */
body.sy-built dl.sy-kv dd{overflow-wrap:normal;word-break:normal}
/* the side panels sit one on the other, as in the mockup (no 16px gap) */
body.sy-built .sy-cgrid__side .sy-panel{margin-bottom:0}

/* ================= thanks ================= */
body.sy-built .sy-eyebrow--ok{display:inline-flex;align-items:center;gap:6px}
body.sy-built .sy-eyebrow--ok::before{content:"";width:20px;height:20px;flex:none;background:currentColor;-webkit-mask:var(--sy-i-check) center/contain no-repeat;mask:var(--sy-i-check) center/contain no-repeat}
body.sy-built .sy-phead--narrow .wp-block-kadence-advancedbtn{margin-top:20px}
body.sy-built .sy-notice{display:block}
/* the offer section has the full section padding at the top (the mockup's .section), not the tight 48px */
body.sy-built .sy-offer-sec > .kt-row-column-wrap{padding-top:var(--sy-pad)}
body.sy-built .sy-offer__btn,body.sy-built .sy-offer__skip{min-height:50px;padding:0 24px;gap:10px;font-size:16px;font-weight:500}
/* phone: the button keeps its own width (it is not in a button row in the mockup); the offer's photo spans the card, 180px
   high, and its two buttons are full width one under the other (the mockup's .btn-row at <=600) */
@media (max-width:600px){
  body.sy-built .sy-phead--narrow .sy-btn-row.wp-block-kadence-advancedbtn{align-items:flex-start}
  body.sy-built .sy-phead--narrow .sy-btn-row .kb-button.kt-button{width:auto}
  body.sy-built .sy-offer img{width:100%;height:180px}
  body.sy-built .sy-offer__row{flex-direction:column;align-items:stretch}
  body.sy-built .sy-offer__btn,body.sy-built .sy-offer__skip{justify-content:center}
}

/* ================= free course (landing) ================= */
/* benefits: title and text one under the other (the 12px row gap of the flex row made the gaps) */
body.sy-built ul.sy-benefits li{row-gap:0}
body.sy-built ul.sy-benefits b,body.sy-built ul.sy-benefits span{font-size:15.5px;color:var(--sy-muted)}
body.sy-built ul.sy-benefits b{font-weight:500}
/* the eyebrow is an inline span in the mockup, so the title follows it without the 18px margin */
body.sy-built :is(.sy-land,.sy-phead--narrow) .sy-eyebrow{margin-bottom:0}
/* the form is the mockup's .form2: at most 560px wide */
body.sy-built .sy-land-form,body.sy-built .sy-land .sy-fine{max-width:560px}
/* tablet/phone: the photo comes first, 4:3 (the mockup's .land__media{order:-1;aspect-ratio:4/3}) */
@media (max-width:900px){
  body.sy-built .sy-land .sy-land__media{order:-1}
  body.sy-built .sy-land__img img{aspect-ratio:4/3}
}
/* the form's button fills the width (the mockup's .form2 grid) */
body.sy-built .sy-land-form .kb-form .kb-submit-field{display:block}
body.sy-built .sy-land-form .kb-form .kb-forms-submit{width:100%}
body.sy-built .sy-teacher__name,body.sy-built .sy-teacher__name b,body.sy-built .sy-teacher__name strong{font-weight:700}

/* ================= affiliate ================= */
body.sy-built .sy-reflink{background:var(--sy-card);padding:8px 16px 8px 8px;border-radius:14px;gap:8px;max-width:560px;flex-wrap:nowrap}
body.sy-built .sy-reflink code{font:15px/1.4 ui-monospace,Menlo,monospace;direction:ltr;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
body.sy-built .sy-copy{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:15px;font-weight:500;flex:none}
body.sy-built .sy-copy::before{content:"";width:20px;height:20px;flex:none;background:currentColor;-webkit-mask:var(--sy-i-check) center/contain no-repeat;mask:var(--sy-i-check) center/contain no-repeat}
/* questions: the mockup's .qa list */
body.sy-built .sy-aff .sy-faq{border-bottom:0;border-top:1px solid var(--sy-line)}
body.sy-built .sy-aff .sy-faq:last-of-type{border-bottom:1px solid var(--sy-line)}
body.sy-built .sy-aff .sy-faq summary{padding:18px 0;font-weight:500;font-size:17.5px;align-items:center}
body.sy-built .sy-aff .sy-faq summary::after{width:24px;height:24px}
body.sy-built .sy-aff .sy-faq p{padding-bottom:18px;max-width:64ch}
/* the questions block: the mockup's .block margin (64px) */
body.sy-built .sy-aff .sy-block{margin-top:64px}
/* AffiliateWP's sign-up and login forms, in the mockup's form language */
body.sy-built .sy-aff-join .affwp-form fieldset{border:0;padding:0;margin:0 0 32px}
body.sy-built .sy-aff-join .affwp-form legend{font-size:clamp(24px,2.4vw,32px);font-weight:400;letter-spacing:-.02em;line-height:1.2;margin-bottom:20px;padding:0}
body.sy-built .sy-aff-join .affwp-form p{margin:0 0 16px}
body.sy-built .sy-aff-join .affwp-form label{display:block;font-size:14.5px;color:var(--sy-muted);margin-bottom:6px}
body.sy-built .sy-aff-join .affwp-form label .required{color:var(--sy-muted);font-weight:400}
body.sy-built .sy-aff-join .affwp-form :is(input[type=text],input[type=email],input[type=url],input[type=password],textarea){width:100%;min-height:50px;border:1px solid var(--sy-line);border-radius:14px;background:var(--sy-card);padding:0 14px;font:inherit;box-shadow:none}
body.sy-built .sy-aff-join .affwp-form textarea{padding:12px 14px;min-height:120px}
body.sy-built .sy-aff-join .affwp-form input[type=submit],body.sy-built .sy-aff-join .affwp-form .button{min-height:50px;padding:0 24px;border-radius:999px;background:var(--sy-accent);color:var(--sy-on-accent);border:0;font:inherit;font-size:16px;font-weight:500;cursor:pointer}
body.sy-built .sy-aff-join .affwp-form input[type=checkbox]{accent-color:var(--sy-accent);width:18px;height:18px;vertical-align:middle}
body.sy-built .sy-aff-join .affwp-form a{color:var(--sy-accent-ink,var(--sy-accent))}

/* ================= notes from the lead ================= */
/* a site snippet sets ".author{color:black!important}": author names take their line's colour (the mockup's muted meta).
   The blog group's more specific rules on blog cards and the post header still win. */
body.sy-built .author,body.sy-built .author a{color:inherit!important}
/* the Schoolyland credit line (template mu-plugin schoolyland-credit.php, on the "do not change" list) is left exactly as the template shows it */

/* ================= round 2: the mockup's icons as inline SVGs (s7-global.php), the pseudo-element icons off where an SVG is there ================= */
.sy-i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none;display:inline-block;vertical-align:middle}
.sy-i-wa{width:20px;height:20px;flex:none}
/* arrow links */
body.sy-built :is(a.sy-link,.sy-link a,p.sy-link):has(> .sy-i-arrow)::after{content:none;display:none}
body.sy-built .sy-link .sy-i-arrow{width:17px;height:17px;transition:transform .3s var(--sy-ease)}
body.sy-built .sy-link a{display:inline-flex;align-items:center;gap:8px}
body.sy-built a.sy-link:hover .sy-i-arrow,body.sy-built .sy-link a:hover .sy-i-arrow,body.sy-built .sy-door:hover .sy-i-arrow{transform:translateX(-4px)}
/* form buttons */
body.sy-built .kb-form .kb-forms-submit:has(.sy-i-arrow)::after{content:none;display:none}
body.sy-built .kb-form .kb-forms-submit .sy-i-arrow{width:18px;height:18px;transition:transform .3s var(--sy-ease)}
body.sy-built .kb-form .kb-forms-submit:hover .sy-i-arrow{transform:translateX(-4px)}
/* FAQ plus */
body.sy-built .sy-faq summary:has(.sy-i-plus)::after{content:none;display:none}
body.sy-built .sy-faq summary .sy-i-plus{width:22px;height:22px;color:var(--sy-accent-ink,var(--sy-accent));transition:transform .3s var(--sy-ease)}
body.sy-built .sy-aff .sy-faq summary .sy-i-plus{width:24px;height:24px}
body.sy-built .sy-faq[open] summary .sy-i-plus{transform:rotate(45deg)}
/* float card clock, featured list check */
body.sy-built .sy-float-card em:has(.sy-i-clock)::before{content:none;display:none}
body.sy-built .sy-float-card em .sy-i-clock{width:16px;height:16px}
body.sy-built .sy-learn li:has(.sy-i-check)::before{content:none;display:none}
body.sy-built .sy-learn li .sy-i-check{color:var(--sy-t-9fd3cf);margin-top:3px}
/* footer contact icons */
#colophon .sy-fcontact a:has(:is(.sy-i,.sy-i-wa))::before{content:none;display:none}
/* thanks offer: the plus icon */
body.sy-built .sy-offer__btn{display:inline-flex;align-items:center;justify-content:center;gap:10px}
body.sy-built .sy-offer__btn .sy-i-plus{width:20px;height:20px}
/* door links keep their own width at the right (the mockup's .door .link{align-self:flex-start}) */
body.sy-built .sy-door .sy-door-link{align-self:flex-start;justify-self:start;width:auto}
/* thanks eyebrow: inline check icon */
body.sy-built .sy-eyebrow--ok:has(.sy-i-check)::before{content:none;display:none}
body.sy-built .sy-eyebrow--ok .sy-i-check{width:20px;height:20px}
/* thanks offer price: the mockup's .price (22px), the old price the same size, muted */
body.sy-built .sy-offer .sy-offer__price{font-size:22px}
body.sy-built .sy-offer .sy-offer__price :is(b,s){font-size:22px}

/* ================= round 3 (eye check) ================= */
/* step numbers: the mockup's circle is --accent-soft (#d7e8e6), the number 17px; the site's tint was too pale */
body.sy-built .sy-step .sy-step__n{background:var(--sy-c-d7e8e6)}
body.sy-built .sy-step .sy-step__n::before{font-size:17px}
/* affiliate questions: the mockup's "+" is a light 24px glyph, smaller and thinner than the SVG was */
body.sy-built .sy-aff .sy-faq summary .sy-i-plus{width:20px;height:20px;stroke-width:1.5}
/* contact: "אפשר גם לכתוב לי בוואטסאפ." is ink in the mockup (not the panel's muted text); its button has the browser's
   button fill, as the mockup's unstyled .btn--line button */
body.sy-built .sy-panel .sy-wa-line{color:var(--sy-ink)}
body.sy-built .sy-wa-btn{background:ButtonFace}
/* free course: on a tablet the list and the teacher card stay side by side (the mockup's .cards2 is two columns down to 600) */
@media (min-width:601px) and (max-width:900px){
  body.sy-built .sy-land-more > .kt-row-column-wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:var(--sy-gut)}
  body.sy-built .sy-land-more .sy-teacher > .kt-row-column-wrap{grid-template-columns:120px minmax(0,1fr)}
}
/* contact: the topic list reads from the right, like the mockup's select */
body.sy-built .sy-contact-form .kb-form select.kb-field{direction:rtl;text-align:right}

/* Stage 7 (lead, from the evidence review): the phone header's site name and logo are the mockup's size, as on desktop
   (mockup .logo: arc 32px, name 19px/600; Kadence's mobile header printed 17px and 28px) */
#mobile-header .site-branding .site-title{font-size:19px!important;line-height:1.1}
#mobile-header .site-branding .custom-logo{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important}

/* ================= stage 7b: the phone/tablet menu as the mockup's .mnav (a list under the header bar) ================= */
.sy-mnav[hidden]{display:none}
.sy-mnav{position:static;background:var(--sy-paper);border-top:1px solid var(--sy-line);padding:8px 20px 20px}
.sy-mnav .sy-mnav__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sy-mnav .sy-mnav__list li{margin:0;padding:0}
.sy-mnav .sy-mnav__list a{display:block;padding:14px 4px;font-size:18px;line-height:1.65;color:#26313a;text-decoration:none;border-bottom:1px solid var(--sy-line);transition:background .2s,color .2s}
.sy-mnav .sy-mnav__list a:hover{background:color-mix(in srgb,var(--sy-c-0f5257) 8%,transparent);color:var(--sy-accent-ink,var(--sy-accent))}
.sy-mnav .sy-mnav__list li.current-menu-item > a{color:var(--sy-accent-ink,var(--sy-accent));background:color-mix(in srgb,var(--sy-c-0f5257) 8%,transparent)}
@media (max-width:600px){ .sy-mnav{padding:8px 16px 20px} }
/* without JS the list is shown open under the header (the links stay reachable) */
html.no-js .sy-mnav[hidden]{display:block;position:static}
/* the desktop header never shows it */
@media (min-width:1025px){ .sy-mnav{display:none!important} }

/* ================= round 4 (position check) ================= */
/* home "נעים להכיר": the mockup's 12-column grid, photo in columns 1–5 and text in 7–11 (the text does not reach the left
   edge); the site had two equal halves pushed to both edges, so the text sat ~100px too far left */
@media (min-width:901px){
  body.sy-built .sy-about-grid > .kt-row-column-wrap{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--sy-gut)}
  body.sy-built .sy-about-grid > .kt-row-column-wrap > .wp-block-kadence-column:first-child{grid-column:1 / span 5}
  body.sy-built .sy-about-grid > .kt-row-column-wrap > .wp-block-kadence-column:last-child{grid-column:7 / span 5}
}
/* about page: the first photo keeps the mockup's 4:5 (its file is 825×1024, a few px shorter) */
body.sy-built .sy-about-photos .sy-about-photo:first-child img{aspect-ratio:4/5;object-fit:cover}
/* free course benefits: the text starts 32px from the edge (the mockup's 20px icon + 12px gap), so lines break the same */
body.sy-built ul.sy-benefits li{padding-inline-start:32px}
/* breadcrumbs: 6px on each side of "/" (Kadence printed spaces plus 6px margins, ~10px each side) */
body.sy-built .sy-crumbs .kadence-breadcrumb-container{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.sy-built .sy-crumbs .bc-delimiter{margin:0!important}
/* mobile header: the mockup's 6px between the buttons (Kadence 10px) and its 20px side gutter on a tablet (Kadence 24) */
#mobile-header .site-header-item{margin-left:6px}
#mobile-header .site-header-item[data-section="kadence_customizer_mobile_trigger"]{margin-left:0}
@media (min-width:601px) and (max-width:900px){ #mobile-header .site-container{padding-left:20px;padding-right:20px} }
/* phone: no "אזור אישי" button in the bar (the mockup hides .nav__actions .btn--sm at <=600), also for a signed-in visitor
   (Kadence prints header-mobile-account-in-wrap then); it is in the menu list */
@media (max-width:600px){ #mobile-header .site-header-item[data-section="kadence_customizer_header_mobile_account"]{display:none} }
/* about and contact: main + side as the mockup's 12-column .cgrid (main 1–7, side 9–12), as the LD group set for courses;
   the side column was 9px wider, so the about photo came out 489px high instead of 477 */
@media (min-width:901px){
  body.sy-built .sy-cgrid > .kt-row-column-wrap{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--sy-gut)}
  body.sy-built .sy-cgrid > .kt-row-column-wrap > .sy-cgrid__main{grid-column:1 / span 7}
  body.sy-built .sy-cgrid > .kt-row-column-wrap > .sy-cgrid__side{grid-column:9 / span 4}
}

/* ================= stage 7c: the search window as the mockup's (.search / .search__box) ================= */
/* a card as tall as its content (Kadence stretched it top to bottom), the close button inside it */
#search-drawer .drawer-content{bottom:auto!important;max-height:none!important;overflow:visible!important}
#search-drawer .drawer-header{display:none!important}
#search-drawer .sy-search-label{display:block;font-size:14px;color:var(--sy-muted);margin:0 0 8px;line-height:1.5}
#search-drawer form.search-form{display:flex!important;align-items:center;gap:8px}
#search-drawer form.search-form > label{flex:1;min-width:0;margin:0}
#search-drawer .search-form input.search-field{padding:0 16px!important;background:var(--sy-paper)!important;font-size:18px}
#search-drawer .search-form input.search-field:focus{outline:2px solid var(--sy-accent)!important;outline-offset:3px;box-shadow:none!important}
#search-drawer .search-form input.search-field::placeholder{color:#7a858e;opacity:1}
#search-drawer .search-form .kadence-search-icon-wrap{display:none!important}
#search-drawer .search-form .search-submit{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;opacity:0;left:auto}
#search-drawer .sy-search-close{position:static!important;flex:none;width:44px!important;height:44px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center;border-radius:999px;background:transparent!important;color:var(--sy-ink)!important;border:0;box-shadow:none}
#search-drawer .sy-search-close:hover{background:var(--sy-soft)!important}
#search-drawer .sy-search-close svg{width:20px;height:20px}
#search-drawer .sy-search-res{max-height:50vh;overflow:auto}
#search-drawer .sy-search-res b{font-weight:700}
#search-drawer .sy-search-res small{font-size:14px}
@media (max-width:600px){ #search-drawer .drawer-content{margin-top:64px!important;border-radius:var(--sy-r)!important} }
