/* T139 · Ori's fixes on the demo site (19.11.2026, BRIEF_DEMO_FIXES_ORI.md). One section per item, numbered as in his
   document. Demo site only. */

/* ---------- 1. the "sample site" bar stays above the header while scrolling ----------
   It scrolled away and left an empty strip above the fixed header (Kadence keeps the header 32px down for it). */
.sy-disclosure{position:sticky;top:0;z-index:100000}
body.ld-in-focus-mode .sy-disclosure{position:fixed}

/* ---------- 2. the logo mark: the size of the name and the line under it, and centred on them ----------
   The mark fills only rows 74 to 168 of its 192px image (a half circle and a dot), so in a 32px box it looked small and
   low. Only this mark is cropped; a full logo uploaded later is not touched. */
#masthead .site-branding a.brand,#mobile-header .site-branding a.brand{align-items:center}

/* ---------- 3. the lesson card on the hero photo: a little below the photo, and a slow float ----------
   The float is on `translate`, not `transform`, so it does not fight the entry motion (GSAP) or the hover lift. */
.sy-built .sy-hero .sy-float-card{bottom:-30px;box-shadow:0 18px 40px -18px color-mix(in srgb,var(--sy-c-0f282d) 35%,transparent)}
@keyframes sy-float{0%,100%{translate:0 0}50%{translate:0 -9px}}
@media (prefers-reduced-motion:no-preference){.sy-built .sy-hero .sy-float-card{animation:sy-float 6s ease-in-out infinite}}
@media (max-width:767px){.sy-built .sy-hero .sy-float-card{bottom:-22px}}

/* ---------- 4. the video tile: Presto plays inline, muted, under the same badge and play icon as before ----------
   The play icon is Presto's muted-preview button, drawn as the white circle of the old tile (Ori's image 7). A click
   starts the video from the start with sound (Presto). */
.sy-presto{margin:0}
.sy-presto presto-player{display:block;border-radius:inherit;overflow:hidden;--plyr-color-main:var(--global-palette1,var(--sy-c-0f5257))}
.sy-presto presto-player::part(muted-overlay-play){width:72px;height:72px;padding:0;border-radius:50%;background:#fff;color:var(--global-palette1,var(--sy-t-0f5257));display:grid;place-items:center;box-shadow:0 10px 30px -10px rgba(0,0,0,.45);transition:transform .25s var(--sy-ease,ease)}
/* round 2: the overlay is centred by translate(-50%,-50%); the hover keeps it and only grows a little (it jumped 34px) */
.sy-presto presto-player::part(muted-overlay-play){transform:translate(-50%,-50%)}
.sy-presto presto-player:hover::part(muted-overlay-play){transform:translate(-50%,-50%) scale(1.07)}
.sy-feat-media .sy-player .sy-presto,.sy-feat-media .sy-presto{position:relative;z-index:1}

/* ---------- 7, 9, 19, 20. the forms: right-aligned, the select's arrow, and the button hover on a dark card ----------
   The Kadence fields were text-align:left, so a typed name sat on the left (Ori's images 11, 28, 35). Email and phone
   are written left to right, but stay anchored to the right like the other fields. The browser's autofill comes from
   the autocomplete attributes added in fix19.js. */
body .kb-form :is(input.kb-field,textarea.kb-field,input[type=text],input[type=email],input[type=tel],textarea){text-align:right!important}
body .kb-form :is(input[type=email],input[type=tel]){direction:ltr!important;text-align:right!important}
body .kb-form :is(input[type=email],input[type=tel])::placeholder{text-align:right}
body .kb-form select.kb-field{-webkit-appearance:none;appearance:none;direction:rtl;text-align:right;padding-inline:14px 44px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346525c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:left 16px center!important;background-size:18px!important}
/* the button on the dark booklet cards: on hover it darkens only a little, so the pointer still gets an answer */
body.sy-built :is(.sy-news-form,.sy-news-inline) .kb-forms-submit:hover,body.sy-built :is(.sy-news-form,.sy-news-inline) .kb-submit-field button:hover,
body :is(.sy-news-form,.sy-news-inline) .kb-forms-submit:hover{background:color-mix(in srgb,var(--sy-paper,var(--sy-c-eef3f7)) 88%,var(--sy-c-0f5257))!important;color:var(--sy-accent,var(--sy-t-0f5257))!important;border-color:transparent!important}
/* the s7 rule paints the contact and landing fields with a `background` shorthand (!important), so the arrow needs a
   heavier selector than it */
body.sy-built :is(.sy-contact-form,.sy-land-form,.sy-news-form,.sy-news-inline) .kb-form select.kb-field.kb-field,body .kb-form select.kb-field.kb-field.kb-field{-webkit-appearance:none!important;appearance:none!important;background-color:var(--sy-card,#fff)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346525c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:left 16px center!important;background-size:18px!important;padding-inline:14px 46px!important}

/* ---------- 19. the booklet card in a post: the text is centred on the card ---------- */
body .sy-news-inline > .kt-row-column-wrap{align-items:center!important}
body .sy-news-inline > .kt-row-column-wrap > *{align-self:center!important}
body .sy-news-inline > .kt-row-column-wrap > * > .kt-inside-inner-col{justify-content:center}

/* ---------- 20. contact: room between "עוד דרכים" and "רוצה לקבוע שעת ליווי?" (they touched) ---------- */
body.sy-built .sy-cgrid__side .sy-panel + .sy-panel{margin-top:18px}

/* ---------- 5. the course cards: the length never breaks in the middle ----------
   "3 שעות ו-23 דקות" broke over two lines in narrow cards (Ori's images 21, 1). Each detail stays whole; when it does
   not fit beside the one before it, it moves to the next line as a whole. */
body .sy-cmeta li{white-space:nowrap}

/* ---------- 6. the community on the home page: each post leads to the post itself ----------
   The posts are read live from FluentCommunity (the 2 latest and the latest poll of the public spaces). A link at the
   end of each post, and the whole card is clickable through it. */
body .sy-feed .sy-post--linked{position:relative}
body .sy-feed .sy-post--linked footer{align-items:center}
body .sy-feed .sy-post__link{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--sy-accent,var(--sy-t-0f5257));text-decoration:none;white-space:nowrap}
body .sy-feed .sy-post__link::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}
body .sy-feed .sy-post__link::after{content:"";width:15px;height:15px;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,ease)}
body .sy-feed .sy-post--linked:hover .sy-post__link::after{transform:translateX(-3px)}
body .sy-feed .sy-post--linked:hover{border-color:color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 28%,transparent)}
body .sy-feed .sy-post__link:focus-visible{outline:2px solid var(--sy-accent,var(--sy-c-0f5257));outline-offset:3px;border-radius:6px}

/* ---------- 17, 18. the step numbers sit in the middle of their circle ("איך אני עובדת", the affiliate steps) ----------
   The number is a counter (::before) beside the original digit, hidden at font-size 0. In a grid those were two items in
   two rows, so the number sat in the top one. In a flex row they share one line, centred. */
body.sy-built .sy-step .sy-step__n{display:flex!important;align-items:center;justify-content:center;line-height:1!important;padding:0!important}

/* ---------- 17. about: the photos take turns. The first one is on the left beside "נעים להכיר", so the two under it move
   to the right (the side column goes to grid lines 1 to 4, the text to 6 to 12). From 901px, where the columns stand
   side by side; on a phone the order stays text, then photos. ---------- */
@media (min-width:901px){
  body.page-id-31176.sy-built .sy-cgrid > .kt-row-column-wrap > .sy-cgrid__main{grid-column:6 / span 7;grid-row:1}
  body.page-id-31176.sy-built .sy-cgrid > .kt-row-column-wrap > .sy-cgrid__side.sy-about-photos{grid-column:1 / span 4;grid-row:1}
}

/* ---------- 11. the product page: the variation select's arrow, and quieter thumbnails ----------
   The select kept the browser's arrow against the left edge, while its text had 14px on the right: the arrow gets the
   same room as the text, as in the forms. The thumbnails had a coloured frame on the chosen one and light frames on the
   rest (Ori: "feels like AI slop"): now no frames at all, the others are dimmed and the chosen one is whole. */
.single-product .variations select{-webkit-appearance:none!important;appearance:none!important;padding-inline:14px 44px!important;background-color:var(--sy-card,#fff)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346525c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:left 16px center!important;background-size:18px!important}
.single-product.sy-built .woocommerce-product-gallery .flex-control-thumbs li{background:transparent!important}
.single-product.sy-built .woocommerce-product-gallery .flex-control-thumbs img{border:0!important;opacity:.5!important;transition:opacity .25s var(--sy-ease,ease);cursor:pointer}
.single-product.sy-built .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:.8!important}
.single-product.sy-built .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1!important}

/* ---------- 14a. the lesson header buttons ("לחידון", "לשיעור הבא", "השיעור הקודם"): a calm hover ----------
   LearnDash draws a 2px navy outline (#0e2a90, its blue-800) on hover and focus (Ori's images 18 and 23). On hover the
   button gets a light tint of the brand colour; the ring stays for keyboard focus only, in the brand colour. */
.learndash-wrapper .ld-focus-header .ld-button,.learndash-wrapper .ld-content-actions .ld-button{transition:background-color .2s var(--sy-ease,ease),color .2s var(--sy-ease,ease)}
.learndash-wrapper .ld-focus-header .ld-button:hover,.learndash-wrapper .ld-focus-header .ld-button:focus,
.learndash-wrapper .ld-content-actions .ld-button:hover,.learndash-wrapper .ld-content-actions .ld-button:focus{outline:0!important;box-shadow:none!important}
.learndash-wrapper .ld-focus-header .ld-button.ld-button-transparent:hover,.learndash-wrapper .ld-content-actions .ld-button.ld-button-transparent:hover{background:color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 9%,transparent)!important;color:var(--sy-accent,var(--sy-t-0f5257))!important}
.learndash-wrapper .ld-focus-header .ld-button:focus-visible,.learndash-wrapper .ld-content-actions .ld-button:focus-visible{outline:2px solid var(--sy-accent,var(--sy-c-0f5257))!important;outline-offset:2px}

/* ---------- 14b. the quiz: the chosen answer, and the results screen ----------
   A chosen answer had a 1px border and a 2px outline in the brand colour, two lines one inside the other (image 3):
   now one border and a light tint, and the ring only for keyboard focus. On the results (image 13) the points line and
   its light blue box are gone (Ori: not needed), and the buttons stand in one row from the right in the site's style:
   "להמשיך" first and filled, "הצג שאלות" and "התחל חידון מחדש" outlined. */
.learndash-wrapper .wpProQuiz_questionListItem label.is-selected,.learndash-wrapper .wpProQuiz_questionListItem label:has(input:checked){outline:0!important;box-shadow:none!important;border:1.5px solid var(--sy-accent,var(--sy-c-0f5257))!important;background:color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 7%,#fff)!important}
.learndash-wrapper .wpProQuiz_questionListItem label:has(input:focus-visible){outline:2px solid var(--sy-accent,var(--sy-c-0f5257))!important;outline-offset:2px}
.learndash-wrapper .wpProQuiz_results .wpProQuiz_points,.learndash-wrapper .wpProQuiz_results .wpProQuiz_points--message{display:none!important}
.learndash-wrapper .wpProQuiz_results .ld-quiz-actions{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;margin:22px 0 0!important}
.learndash-wrapper .wpProQuiz_results .quiz_continue_link{order:-1;margin:0!important;float:none!important}
.learndash-wrapper .wpProQuiz_results .quiz_continue_link:empty,.learndash-wrapper .wpProQuiz_results .quiz_continue_link:not(:has(a,input,button)){display:none}
.learndash-wrapper .wpProQuiz_results .quiz_continue_link :is(a,input,button){display:inline-flex;align-items:center;min-height:46px;padding:0 24px!important;border-radius:999px!important;background:var(--sy-accent,var(--sy-c-0f5257))!important;color:#fff!important;border:0!important;font:inherit;font-weight:500;text-decoration:none;box-shadow:none!important;margin:0!important}
.learndash-wrapper .wpProQuiz_results .ld-quiz-actions .wpProQuiz_button{float:none!important;margin:0!important;min-height:46px;padding:0 22px!important;border-radius:999px!important;background:transparent!important;color:var(--sy-accent,var(--sy-t-0f5257))!important;border:1.5px solid color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 45%,transparent)!important;font-weight:500;box-shadow:none!important}
.learndash-wrapper .wpProQuiz_results .ld-quiz-actions .wpProQuiz_button:hover{background:color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 8%,transparent)!important}
/* LearnDash colours its quiz buttons and labels with heavier selectors; the same rules, heavier */
html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem label.is-selected{background:color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 7%,#fff)!important;border:1.5px solid var(--sy-accent,var(--sy-c-0f5257))!important}
html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .ld-quiz-actions input.wpProQuiz_button.wpProQuiz_button{background:transparent!important;background-color:transparent!important;color:var(--sy-accent,var(--sy-t-0f5257))!important;border:1.5px solid color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 45%,transparent)!important;border-radius:999px!important;min-height:46px;padding:0 22px!important;font-weight:500;box-shadow:none!important;float:none!important;margin:0!important}
html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .ld-quiz-actions input.wpProQuiz_button.wpProQuiz_button:hover{background-color:color-mix(in srgb,var(--sy-accent,var(--sy-c-0f5257)) 8%,transparent)!important}
html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .quiz_continue_link a,html body .learndash-wrapper #quiz_continue_link,html body .learndash-wrapper .quiz_continue_link .ld-button{background:var(--sy-accent,var(--sy-c-0f5257))!important;background-color:var(--sy-accent,var(--sy-c-0f5257))!important;color:#fff!important;border:0!important;border-radius:999px!important;min-height:46px;padding:0 24px!important;display:inline-flex!important;align-items:center;font-weight:500;text-decoration:none!important;box-shadow:none!important}
html body .learndash-wrapper #quiz_continue_link:hover,html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .quiz_continue_link a:hover{background-color:var(--global-palette2,var(--sy-c-0b4448))!important}
/* "להמשיך" takes LearnDash's secondary colour (#2a9d8f, its theme setting) from an inline rule: the brand colour here */
html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .quiz_continue_link #quiz_continue_link,html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .quiz_continue_link a.ld-button{background:var(--sy-accent,var(--sy-c-0f5257))!important;background-color:var(--sy-accent,var(--sy-c-0f5257))!important;color:#fff!important}
html body .learndash-wrapper .wpProQuiz_content .wpProQuiz_results .ld-quiz-actions{direction:rtl!important;flex-direction:row!important;justify-content:flex-start!important;text-align:right!important}

/* ---------- 19. the share row at the top of a post ---------- */
.sy-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px;width:100%;justify-content:inherit}
.entry-hero .sy-share{justify-content:flex-start}
.sy-share__label{font-size:14px;color:var(--sy-muted,#46525c);margin-inline-end:4px}
.sy-share__btn{position:relative;display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.7);border:1px solid var(--sy-line,rgba(20,20,20,.12));color:var(--sy-accent,var(--sy-t-0f5257));padding:0;cursor:pointer;transition:background-color .2s var(--sy-ease,ease),color .2s var(--sy-ease,ease),transform .2s var(--sy-ease,ease)}
.sy-share__btn:hover{background:var(--sy-accent,var(--sy-c-0f5257));color:#fff;transform:translateY(-1px)}
.sy-share__btn:focus-visible{outline:2px solid var(--sy-accent,var(--sy-c-0f5257));outline-offset:2px}
.sy-share__btn.is-copied{background:var(--sy-accent,var(--sy-c-0f5257));color:#fff}
.sy-share__ok{position:absolute;top:calc(100% + 6px);inset-inline-start:50%;transform:translateX(50%);white-space:nowrap;font-size:12.5px;color:var(--sy-ink,#141414);pointer-events:none}
@media (prefers-reduced-motion:reduce){.sy-share__btn{transition:none}.sy-share__btn:hover{transform:none}}

/* ---------- 21. the account area ---------- */
/* the extra line left of the navigation: Kadence's border on .account-navigation-wrap (border-right in LTR) */
.woocommerce-account .account-navigation-wrap{border:0!important;padding-inline-end:0}
/* the notes, as on the template's account page */
.sy-built .sy-notes{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sy-built .sy-note{background:var(--sy-paper);border-radius:14px;padding:16px 18px;margin:0}
.sy-built .sy-note__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.sy-built .sy-note__head b{font-size:16.5px;font-weight:600}
.sy-built .sy-note__head time{color:var(--sy-muted);font-size:14px;white-space:nowrap}
.sy-built .sy-note__body p{margin:6px 0 0;font-size:16px;line-height:1.6}
.sy-built .sy-note__where{display:block;margin-top:8px;color:var(--sy-muted);font-size:14px}
.sy-built .sy-note__where a{color:var(--sy-accent-ink,var(--sy-accent));text-decoration:underline;text-underline-offset:3px}
/* the details form, like the site's other forms: rounded fields, the eye away from the edge */
.woocommerce-account.sy-built .woocommerce-EditAccountForm :is(input.input-text,input[type=text],input[type=email],input[type=password]){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}
.woocommerce-account.sy-built .woocommerce-EditAccountForm :is(input.input-text,input[type=password]):focus{outline:2px solid color-mix(in srgb,var(--sy-accent) 45%,transparent);outline-offset:1px;border-color:var(--sy-accent)!important}
.woocommerce-account.sy-built .woocommerce-EditAccountForm input[type=email]{direction:ltr;text-align:right}
.woocommerce-account.sy-built .woocommerce-EditAccountForm .password-input{display:block;position:relative}
.woocommerce-account.sy-built .woocommerce-EditAccountForm .password-input input{padding-inline-end:52px;margin:0!important}
.woocommerce-account.sy-built .woocommerce-EditAccountForm .show-password-input{inset-inline-end:14px!important;inset-inline-start:auto!important;left:auto;right:auto;top:50%!important;margin:0!important;transform:none;translate:0 -50%;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--sy-muted)}
.woocommerce-account.sy-built .woocommerce-EditAccountForm .show-password-input:hover{background:var(--sy-paper);color:var(--sy-ink)}
.woocommerce-account.sy-built .woocommerce-EditAccountForm fieldset{border:1px solid var(--sy-line);border-radius:14px;padding:18px 20px 6px;margin:24px 0 18px}
.woocommerce-account.sy-built .woocommerce-EditAccountForm fieldset legend{padding:0 8px;font-weight:600;font-size:17px}
.woocommerce-account.sy-built .woocommerce-EditAccountForm label{font-weight:500;margin-bottom:6px;display:block}

/* found in the check after Ori's fixes (19.11): on a phone the long Unsplash links of the credits table ran into the next column */
@media (max-width:700px){
  .sy-built table.sy-credits{table-layout:fixed;width:100%}
  .sy-built table.sy-credits :is(td,th){overflow-wrap:anywhere;word-break:break-word;font-size:14px}
}

/* ================= Ori's round 2 (19.11.2026) ================= */
/* 4. the share links inherited pointer-events:none from Kadence's post header; they are links again */
.sy-share,.sy-share *{pointer-events:auto!important}
.sy-share__ok{pointer-events:none!important}
/* 5. the logo mark at the size of the site header (69px image, cropped to the glyph) in Focus Mode and in the community */
/* 6. the arrow of the Focus Mode sidebar: in the middle of the course title bar, at the same distance from the edge as the title */
body.ld-in-focus-mode .ld-focus-sidebar .ld-course-navigation-heading{position:relative}
body.ld-in-focus-mode .ld-focus-sidebar .ld-focus-sidebar-trigger{top:50%!important;bottom:auto!important;translate:0 -50%;margin:0!important}
/* 8. the course card's line (lessons · length · level) in one line in every card; the length is shown short (layout.php) */
.sy-course .sy-cmeta{flex-wrap:nowrap!important;gap:6px 12px;white-space:nowrap;overflow:hidden}
.sy-course .sy-cmeta li{flex:0 0 auto;min-width:0}
@media (max-width:600px){.sy-course .sy-cmeta{gap:4px 8px;font-size:12px!important}.sy-course .sy-cmeta li svg{display:none}}
/* 3. LTR captions (fix19.js sets dir on the captions box by the language) */
/* 11. the login page (the account page for a guest): one centred card in the site's language */
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce{display:block!important;max-width:480px;margin:56px auto 72px!important;padding:0 16px}
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce > h2{float:none!important;width:auto!important;text-align:center;font-size:clamp(32px,4vw,44px)!important;line-height:1.15!important;margin:0 0 20px!important;font-weight:600}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login{float:none!important;width:auto!important;max-width:none!important;margin:0!important;background:var(--sy-card);border:0!important;border-radius:28px!important;padding:28px 28px 22px!important;box-shadow:0 30px 60px -40px rgba(15,40,50,.35)}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login label{font-weight:500;font-size:15.5px;margin-bottom:6px;display:block;color:var(--sy-ink)}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .form-row{margin:0 0 16px!important;padding:0!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login input.input-text{min-height:50px;border:1px solid var(--sy-line)!important;border-radius:14px!important;background:var(--sy-card)!important;font:inherit;font-size:16px;padding:0 14px!important;box-shadow:none;margin:0!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login input.input-text:focus{border-color:var(--sy-accent)!important;outline:2px solid color-mix(in srgb,var(--sy-accent) 40%,transparent);outline-offset:1px}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login #username{direction:ltr;text-align:right}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .password-input{display:block;position:relative}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .password-input input{padding-inline-end:52px!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .show-password-input{inset-inline-end:14px!important;inset-inline-start:auto!important;left:auto;right:auto;top:50%!important;margin:0!important;transform:none;translate:0 -50%;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--sy-muted)}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .show-password-input:hover{background:var(--sy-paper);color:var(--sy-ink)}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit){display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-top:4px!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:8px;margin:0!important;font-weight:400}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__rememberme input{accent-color:var(--sy-accent);width:18px;height:18px;margin:0}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit{order:2;width:100%;min-height:54px!important;margin:0!important;border-radius:999px!important;background:var(--sy-accent)!important;color:var(--sy-on-accent)!important;font-size:17px!important;font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit:hover{background:color-mix(in srgb,var(--sy-accent) 88%,#000)!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .lost_password{text-align:center;margin:6px 0 0!important}
body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .lost_password a{color:var(--sy-accent-ink,var(--sy-accent));font-size:15px;text-underline-offset:3px}
/* round 2, after measuring: focus.css (30px) and LearnDash's own top:14px were more specific */
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading .ld-focus-sidebar-trigger,body.ld-in-focus-mode .ld-focus-sidebar .ld-course-navigation-heading #ld-focus-sidebar-toggle{top:50%!important;bottom:auto!important;translate:0 -50%!important;margin:0!important}

/* ================= round 3 (19.11.2026) ================= */
/* 8 again: with the demo layer open the page is 380–420px narrower, and 4 cards in a row leave the line no room (the line
   needs up to 247px, a card had 171). The grid follows its own width, not the window's: under 1100px it is 2×2.
   Phones keep their own layout (one card per row, the picture on the side). */
.sy-built .learndash-course-grid{container-type:inline-size;container-name:sycg}
@container sycg (min-width:600px) and (max-width:1100px){
  .sy-built .learndash-course-grid .items-wrapper.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* round 3, 2: the business name, its line and the menu items never wrap (the cause of the wrapping during the layer's
   entrance is fixed in layer.js / layer.css: syl-entering) */
#masthead .site-branding .site-title,#masthead .site-branding .site-description,#masthead .header-navigation .menu > li > a,#masthead .header-button,#masthead .site-header-item a{white-space:nowrap}
/* round 5, 3: the share icons turn white on the dark hover circle (Kadence's link colour on a:hover was stronger) */
body .sy-share a.sy-share__btn:is(:hover,:focus-visible),body .sy-share button.sy-share__btn:is(:hover,:focus-visible){color:#fff!important;background:var(--sy-accent,var(--sy-c-0f5257))!important;border-color:var(--sy-accent,var(--sy-c-0f5257))!important}
body .sy-share .sy-share__btn:is(:hover,:focus-visible) svg{color:#fff!important;stroke:currentColor}
.single-post .entry-hero .entry-meta .sy-share a.sy-share__btn:is(:hover,:focus-visible),.single-post .entry-meta .sy-share a.sy-share__btn:is(:hover,:focus-visible){color:#fff!important}

/* Round 6: the video tile ("נעים להכיר") is a picture with a play icon (mockup: .video-tile); the video opens in a dialog */
.sy-built .sy-video-tile{cursor:pointer;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.sy-built .sy-video-tile:hover{transform:translateY(-2px);box-shadow:0 14px 30px -20px color-mix(in srgb,var(--sy-c-0f5257) 40%,transparent)}
.sy-vtile{display:block;width:100%;padding:0;margin:0;border:0;background:none;cursor:pointer;border-radius:10px}
.sy-vtile:focus-visible{outline:2px solid var(--global-palette1,var(--sy-c-0f5257));outline-offset:3px}
.sy-vtile__img{position:relative;display:block;width:100%;aspect-ratio:3/2;border-radius:10px;overflow:hidden}
.sy-vtile__img img{display:block;width:100%;height:100%;object-fit:cover}
.sy-vtile__play{position:absolute;inset:0;margin:auto;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.94);color:var(--global-palette1,var(--sy-t-0f5257));display:grid;place-items:center}
.sy-vtile__play svg{width:18px;height:18px;fill:currentColor}
dialog.sy-vdialog{border:0;padding:0;background:transparent;width:min(960px,calc(100vw - 32px));max-width:none;max-height:none;overflow:visible}
dialog.sy-vdialog::backdrop{background:color-mix(in srgb,var(--sy-c-0a1416) 72%,transparent)}
.sy-vdialog__in{position:relative;border-radius:16px;overflow:hidden;background:#000}
.sy-vdialog .sy-presto presto-player{border-radius:0}
.sy-vdialog__x{position:absolute;top:10px;inset-inline-start:10px;z-index:5;width:44px;height:44px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.92);color:#141414;display:grid;place-items:center;cursor:pointer}
.sy-vdialog__x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.sy-vdialog__x:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* the player's own figure keeps a bottom margin that showed as a black strip under the video; the theme paints buttons teal */
.sy-vdialog .sy-presto figure,.sy-vdialog .sy-presto .wp-block-presto-player{margin:0!important}
html body dialog.sy-vdialog button.sy-vdialog__x{background:rgba(255,255,255,.92)!important;color:#141414!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important}
html body dialog.sy-vdialog button.sy-vdialog__x:hover{background:#fff!important;color:#141414!important}
