/*
 * Sapir full site (27.10.26) - hub, course, blog list, article, podcast, newsletter additions.
 * Aligned to Yonatan's six masters (Figma 555:2) on 27.10.26: light page, raised radius-12 cards, cut corners only on
 * the sales buy card and outcome cards. Rests on lp360.css tokens and components (.wrap, .s, .btn, .facet-box). One file per site, one block per
 * master template (hub / course / list / article / podcast / newsletter), so Yonatan's Figma masters replace a
 * block, not the pages. Logical properties only; solid text colors (no gray, no opacity); no letter-spacing.
 */

/* ---------- Frame (masters 27.10.26): light page, light top bar, one dark footer band ---------- */
.sx {
  --sx-raised: var(--bg-raised, #EFE9E4); --sx-line: var(--border-subtle, #E2D8D3); --sx-ruby: var(--text-accent, #C92F55);
  --sx-ink: var(--text-primary, #160B0F); --sx-night: #160B0F; --sx-wine: #31121D; --sx-radius: 12px;
  --sx-cream: var(--bg-breath, #F7F4F1);
  background: var(--sx-cream); color: var(--sx-ink);
}
.sx-top { position: relative; z-index: 2; padding-block: 20px; background: var(--sx-cream); color: var(--sx-ink); }
.sx-top__in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); }
.sx-top .logo { block-size: 22px; inline-size: auto; display: block; }
.sx-top__me { white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 20px;
  border: 1.5px solid currentColor; border-radius: var(--radius-button-56); color: inherit;
  font-size: var(--fs-small); font-weight: var(--fw-medium); text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-calm), color var(--dur-fast) var(--ease-calm);
}
.sx-top__me:hover { background: var(--sx-ink); color: var(--sx-cream); }
.sx-top__me:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sx-contact { padding-block: var(--sp-48) 0; background: var(--sx-night); color: var(--text-on-dark); font-size: var(--fs-small); }
.sx-contact .wrap { text-align: end; }
.sx-contact a { color: inherit; font-weight: var(--fw-medium); }
.sx .foot { background: var(--sx-night); border-block-start: 1px solid rgb(247 241 236 / .12); }
@media (min-width: 1024px) { .sx-contact { padding-block-start: var(--sp-64); } }

.sx-only-narrow { display: inline; }
.sx-only-wide { display: none; }
@media (min-width: 768px) { .sx-only-narrow { display: none; } .sx-only-wide { display: inline; } }

/* Outlined and ruby buttons used as labels inside a linked card */
.sx-btn-line, .sx-btn-ruby {
  margin-block-start: auto; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  min-block-size: 44px; padding-inline: 22px; border-radius: var(--radius-button-56); font-size: 16px; font-weight: var(--fw-medium);
  transition: background-color 200ms var(--ease-calm), border-color 200ms var(--ease-calm), color 200ms var(--ease-calm);
}
.sx-btn-line { border: 1.5px solid currentColor; color: inherit; }
.sx-btn-ruby { background: #C92F55; color: #fff; font-size: 17px; font-weight: var(--fw-semibold); }
.sx-btn-cream {
  display: inline-flex; align-items: center; justify-content: center; min-block-size: 52px; padding-inline: 28px;
  border-radius: var(--radius-button-56); background: var(--cream-50, #F7F1EC); color: #160B0F; font-size: 17px; font-weight: var(--fw-semibold);
  text-decoration: none; transition: background-color 200ms var(--ease-calm);
}
.sx-btn-cream:hover { background: var(--cream-100, #EFE9E4); }
.sx-btn-cream:focus-visible { outline: 3px solid #DCC68E; outline-offset: 3px; }

/* ---------- Shared type ---------- */
.sx-label { font-size: var(--fs-label); font-weight: var(--fw-medium); color: var(--sx-ruby); margin: 0 0 var(--sp-16); }
.on-dark .sx-label { color: var(--text-accent-on-dark); }
.sx-page-title { font-size: clamp(40px, 6vw, 72px); font-weight: var(--fw-semibold); line-height: 1.08; margin: 0 0 var(--sp-16); text-wrap: balance; }
.sx-page-line { font-size: clamp(18px, 1.6vw, 22px); font-weight: var(--fw-light); line-height: 1.5; margin: 0 0 var(--sp-32); max-inline-size: 52ch; text-wrap: pretty; }
.sx-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8, 8px); }
.sx-h2 { font-size: var(--fs-h2); font-weight: var(--fw-medium); line-height: 1.2; margin: 0 0 var(--sp-24); text-wrap: balance; }
.sx-h3 { font-size: var(--fs-h3); font-weight: var(--fw-medium); line-height: 1.3; margin: 0 0 var(--sp-16); text-wrap: balance; }
.sx-p { font-size: var(--fs-body); line-height: 1.6; margin: 0 0 var(--sp-16); max-inline-size: 64ch; text-wrap: pretty; }
.sx-fine { font-size: var(--fs-fine); line-height: 1.5; margin: var(--sp-24) 0 0; }
.sx-narrow { max-inline-size: 820px; }
.on-dark .sx-h2, .on-dark .sx-h3, .on-dark .sx-p { color: var(--text-on-dark); }

/* ---------- Master: hub (Figma 558:34 / 558:179, then Guy's round 28.10.26) ---------- */
.sx-hub { --sx-plum: var(--bg-raised-dark, #2E111A); --sx-plum-line: #5A2433; --sx-deep: var(--wine-950, #160B0F); }

/* Opening (Guy 29.10.26): the brand's deepest wine, flat. No photo fades - Sapir's studio portrait sits in its own
   sapcard frame (the shared soft cut corner), so photo and wine meet on a clean edge. Mobile / tablet = the text first,
   the portrait under it; from 1024 two columns, text on the start side. Headline sized down from 96 to 64. */
.sx-hub__hero { color: var(--text-on-dark); background: var(--sx-deep); border-block-end: 1px solid #5A2433; }
.sx-hub__hero-in { display: grid; gap: var(--sp-32); padding-block: var(--sp-32) var(--sp-48); }
.sx-hub__text { display: flex; flex-direction: column; gap: var(--sp-16); max-inline-size: 600px; }
.sx-hub__name { margin: 0; font-size: 34px; font-weight: var(--fw-semibold); line-height: 1.15; color: inherit; text-wrap: balance; }
.sx-hub__line { margin: 0; font-size: 17px; font-weight: var(--fw-light); line-height: 1.6; color: inherit; text-wrap: pretty; }
/* Hairline (Yonatan 29.10.26): the card is the line color, the photo sits 1px in with the same clip. */
.sx-hub__photo.sapcard { --cut: 64px; padding: 1px; background: #5A2433; aspect-ratio: 4 / 5; inline-size: 100%; max-inline-size: 420px; }
.sx-hub__photo.sapcard::before, .sx-hub__photo.sapcard::after { content: none; }
.sx-hub__photo img { border-radius: 27px; background: #2E111A; -webkit-clip-path: var(--sapclip); clip-path: var(--sapclip); display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: 50% 0; }
@media (min-width: 768px) {
  .sx-hub__hero-in { padding-block: var(--sp-64) var(--sp-80); }
  .sx-hub__name { font-size: 48px; line-height: 1.1; }
  .sx-hub__line { font-size: 20px; line-height: 1.5; }
}
@media (min-width: 1024px) {
  .sx-hub__hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: var(--sp-64); padding-block: var(--sp-80); }
  .sx-hub__text { gap: var(--sp-24); }
  .sx-hub__name { font-size: 64px; line-height: 1.05; }
  .sx-hub__line { font-size: 22px; }
  .sx-hub__photo.sapcard { --cut: 88px; max-inline-size: none; }
}

/* Hairlines (Yonatan 29.10.26): a border does not follow clip-path, so the cell draws a 1px outline around whatever its
   card clips to - four zero-blur drop-shadows. --hair is registered so hover can fade it. */
@property --hair { syntax: '<color>'; inherits: true; initial-value: transparent; }
.sx-cell { --hair: transparent; transition: --hair 200ms var(--ease-calm);
  filter: drop-shadow(1px 0 0 var(--hair)) drop-shadow(-1px 0 0 var(--hair)) drop-shadow(0 1px 0 var(--hair)) drop-shadow(0 -1px 0 var(--hair)); }
.sx-cell:has(.sx-banner--gold) { --hair: rgb(220 198 142 / .35); }
.sx-cell:has(.sx-banner--gold:hover) { --hair: rgb(220 198 142 / .6); }
.sx-cell:has(.sx-banner--sap) { --hair: #5A2433; }
.sx-cell:has(.sx-tile) { --hair: var(--sx-line); }
.sx-cell:has(.sx-tile--dark) { --hair: var(--sx-plum-line, #5A2433); }
.sx-cell:has(.sx-tile:hover) { --hair: var(--sx-ruby); }
.sx-cell:has(.sx-tile--dark:hover) { --hair: var(--text-accent-on-dark, #E8607F); }

/* Banners: 360 and the webinar, each a full row. The whole banner is the link; the button look is a span. */
.sx-grid--banners { gap: var(--sp-24); }
@media (min-width: 768px) { .sx-grid--banners .sx-cell--l { grid-column: span 12; } }
@media (min-width: 1024px) { .sx-grid--banners { gap: var(--sp-32); } }
.sx-banner {
  position: relative; isolation: isolate; overflow: hidden; flex: 1; display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--sx-line); border-radius: 16px; color: var(--sx-ink); text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-calm), transform var(--dur-fast) var(--ease-spring);
}
.sx-banner:focus-visible { outline: 3px solid var(--sx-ruby); outline-offset: 3px; }
.sx-banner:active { transform: scale(.99); }
@media (prefers-reduced-motion: reduce) { .sx-banner:active { transform: none; } }
.sx-banner__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-16); padding: var(--sp-32) var(--sp-24); }
.sx-banner__label { font-size: 15px; font-weight: var(--fw-medium); line-height: 1.4; color: var(--sx-ruby); }
.sx-banner__title { margin: 0; font-size: 28px; font-weight: var(--fw-semibold); line-height: 1.2; color: inherit; text-wrap: balance; }
.sx-banner__line { font-size: 17px; font-weight: var(--fw-light); line-height: 1.6; text-wrap: pretty; }
.sx-banner__cta { margin-block-start: var(--sp-8); min-block-size: 48px; }
.sx-banner:hover .sx-btn-line { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.sx-banner:hover .sx-btn-ruby { background: #B12649; }
@media (min-width: 768px) {
  .sx-banner__text { padding: var(--sp-48); }
  .sx-banner__title { font-size: 36px; line-height: 1.15; }
  .sx-banner__line { font-size: 20px; line-height: 1.5; }
}
@media (min-width: 1024px) {
  .sx-banner { min-block-size: 420px; }
  .sx-banner__text { padding: 64px; justify-content: center; }
  .sx-banner__title { font-size: 44px; }
  .sx-banner__line { font-size: 22px; }
}

/* Both banners wear the brand cut corner of Sap's card (.sapcard, lp360.css): no site border, the clip does the shape. */
.sx-banner.sapcard { border: 0; border-radius: 28px; color: var(--cream-50, #F7F1EC); }
.sx-banner .sx-banner__title { max-inline-size: 15em; line-height: 1.25; }
.sx-banner .sx-banner__line { max-inline-size: 30em; line-height: 1.65; }
.sx-banner .sx-banner__cta { margin-block-start: var(--sp-16); }

/* 360 (Guy 28.10.26, round 3): the gold page of the 360 PDF - deep wine, the cream 360 logo, the gold diamond with its
   sparks, a gold button. Flat background, no aurora. Mobile = the diamond full-bleed under the text; from 1024 it fills
   the inline-end side and fades toward the text. */
.sx-banner--gold.sapcard { padding: 0; background: #160B0F; }
.sx-banner--gold.sapcard::before { content: none; }
.sx-banner--gold .sx-banner__text { gap: var(--sp-24); padding: var(--sp-48) var(--sp-24) var(--sp-8); }
.sx-banner__logo { display: block; inline-size: auto; block-size: 36px; max-inline-size: 100%; margin-block-end: var(--sp-8); }
.sx-banner--gold .sx-btn-cream { background: #DCC68E; }
.sx-banner--gold:hover .sx-btn-cream { background: #E8D7A9; }
.sx-banner--gold:focus-visible { outline: 3px solid #DCC68E; outline-offset: 4px; }
.sx-banner__art { display: block; overflow: hidden; }
.sx-banner__art img {
  display: block; inline-size: 100%; block-size: auto; max-inline-size: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%);
  transition: transform var(--dur-slow, .6s) var(--ease-calm);
}
.sx-banner--gold:hover .sx-banner__art img { transform: scale(1.04); }
@media (min-width: 768px) {
  .sx-banner--gold .sx-banner__text { padding: 64px var(--sp-48) var(--sp-8); }
  .sx-banner__logo { block-size: 44px; }
}
@media (min-width: 1024px) {
  .sx-banner--gold { grid-template-columns: minmax(0, 1fr) 46%; min-block-size: 520px; }
  .sx-banner--gold .sx-banner__text { gap: var(--sp-24); padding: 80px 88px 80px var(--sp-32); justify-content: center; }
  .sx-banner__logo { block-size: 48px; margin-block-end: var(--sp-16); }
  /* The whole diamond with its sparks, anchored to the inline-end bottom corner, behind the text column. */
  .sx-banner__art { position: absolute; inset-block-end: 0; inset-inline-end: 0; inline-size: 60%; z-index: -1; }
  .sx-banner__art img {
    -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 92%); mask-image: linear-gradient(to right, #000 50%, transparent 92%);
  }
}
@media (prefers-reduced-motion: reduce) { .sx-banner--gold:hover .sx-banner__art img { transform: none; } }

/* Webinar (Guy 28.10.26, round 3): Sap's own banner - the sapcard with its aurora and texture, Sap with her rings and
   stars, the bubble typing the webinar (lp360.js). "Free" is a solid gold tag at the top. Not a link as a whole: the
   button is the link. */
.sx-banner--sap .sx-banner__text { gap: var(--sp-24); padding: 0; }
.sx-banner__free {
  display: inline-flex; align-items: center; min-block-size: 36px; padding-inline: var(--sp-16); border-radius: 999px;
  background: #DCC68E; color: #160B0F; font-size: 16px; font-weight: var(--fw-semibold); line-height: 1.2;
}
.sx-banner--sap .companion { inline-size: 100%; }
@media (max-width: 1199px) {
  .sx-banner--sap .companion__copy { padding-block-start: var(--sp-32); border-block-start: 1px solid rgb(247 241 236 / .12); }
}
@media (min-width: 1024px) { .sx-banner--sap { min-block-size: 0; } }

/* Cards */
.sx-hub__body { display: flex; flex-direction: column; gap: var(--sp-24); padding-block: var(--sp-64); }
@media (min-width: 768px) { .sx-hub__body { padding-block: var(--sp-80); } }
@media (min-width: 1024px) { .sx-hub__body { padding-block: var(--sp-96); } }
.sx-hub__more { display: flex; flex-direction: column; gap: var(--sp-12); padding-block-start: var(--sp-24); }
@media (min-width: 1024px) { .sx-hub__more { padding-block-start: var(--sp-48); } }
.sx-hub__more-title { margin: 0; font-size: 22px; font-weight: var(--fw-semibold); line-height: 1.3; text-wrap: balance; }
.sx-hub__more-line { margin: 0; max-inline-size: 720px; font-size: 17px; font-weight: var(--fw-light); line-height: 1.6; text-wrap: pretty; }
@media (min-width: 1024px) { .sx-hub__more-title { font-size: 32px; line-height: 1.25; } }

.sx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--sp-24); }
@media (min-width: 768px) {
  .sx-grid { grid-template-columns: repeat(12, 1fr); }
  .sx-cell--l { grid-column: span 6; }
  .sx-cell--m { grid-column: span 6; }
  .sx-cell--m:last-child:nth-child(odd) { grid-column: span 12; }
}
@media (min-width: 1024px) { .sx-cell--m, .sx-cell--m:last-child:nth-child(odd) { grid-column: span 4; } }
.sx-cell { display: flex; }

/* "אתר / קובייה" 557:88: icon, label, title, line, then the text link with the chevron. The whole card is the link. */
.sx-tile {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-24);
  min-block-size: 200px; padding: var(--sp-24);
  --cut: 32px; background: #fff; border-radius: 20px; -webkit-clip-path: var(--sapclip-one); clip-path: var(--sapclip-one);
  color: var(--sx-ink); text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-spring);
}
@media (min-width: 1024px) {
  .sx-tile { --cut: 40px; min-block-size: 280px; padding: var(--sp-32); }
}
.sx-tile--dark { background: var(--sx-plum); color: var(--text-on-dark); }
.sx-tile:hover .sx-tile__link span { text-decoration: underline; text-underline-offset: 4px; }
.sx-tile:focus-visible { outline: 3px solid var(--sx-ruby); outline-offset: 3px; }
.sx-tile:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .sx-tile:active { transform: none; } }

.sx-tile__body { display: flex; flex-direction: column; gap: var(--sp-12); }
.sx-tile__mark { display: grid; place-items: center; inline-size: 56px; block-size: 56px; margin-block-end: var(--sp-4);
  border: 1px solid var(--sx-line); border-radius: 12px; background: var(--sx-cream); }
.sx-tile--dark .sx-tile__mark { border-color: var(--sx-plum-line, #5A2433); background: var(--sx-plum); }
.sx-tile__icon { position: relative; display: block; inline-size: 32px; block-size: 32px; }
.sx-tile__glyph { position: absolute; display: block; }
.sx-tile__glyph img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; }
.sx-tile__label { font-size: 14px; font-weight: var(--fw-medium); line-height: 1.4; color: var(--sx-ruby); }
.sx-tile--dark .sx-tile__label { color: var(--text-accent-on-dark, #E8607F); }
.sx-tile__title { margin: 0; font-size: 22px; font-weight: var(--fw-semibold); line-height: 1.3; color: inherit; text-wrap: balance; }
.sx-tile__line { font-size: 17px; font-weight: var(--fw-light); line-height: 1.6; color: inherit; text-wrap: pretty; }
.sx-tile__link { display: flex; align-items: center; gap: var(--sp-4); min-block-size: 44px; padding-block-start: var(--sp-16); border-block-start: 1px solid var(--sx-line); font-size: 17px; font-weight: var(--fw-light); line-height: 1.6; }
.sx-tile--dark .sx-tile__link { border-color: var(--sx-plum-line, #5A2433); }
.sx-tile__chev { inline-size: 20px; block-size: 20px; flex: none; }
@media (min-width: 1024px) {
  .sx-tile__title { font-size: 26px; line-height: 1.25; }
  .sx-tile__line, .sx-tile__link { font-size: 18px; }
}

/* ---------- Master: course sales page (2-sales) ---------- */
.sx-hero { background: var(--sx-night); color: var(--text-on-dark); padding-block: var(--sp-64) var(--sp-96); }
.sx-hero__grid { display: grid; gap: var(--sp-48); align-items: center; }
@media (min-width: 1024px) { .sx-hero__grid { grid-template-columns: 1fr minmax(260px, 36%); } }
.sx-hero__img { inline-size: 100%; max-inline-size: 420px; block-size: auto; justify-self: center; }
@media (max-width: 1023px) { .sx-hero__img { display: none; } }
.sx-hero__in { max-inline-size: 760px; }
.sx-hero__title { font-size: clamp(40px, 5.5vw, 72px); font-weight: var(--fw-semibold); line-height: 1.08; margin: 0 0 var(--sp-24); color: var(--text-on-dark); text-wrap: balance; }
.sx-hero__sub { font-size: clamp(18px, 1.6vw, 22px); font-weight: var(--fw-light); line-height: 1.5; margin: 0 0 var(--sp-32); max-inline-size: 44ch; color: var(--text-on-dark); text-wrap: pretty; }
.sx-hero__by { font-size: var(--fs-small); line-height: 1.5; margin: var(--sp-24) 0 0; color: var(--text-on-dark); }

.sx-buy {
  position: relative; display: grid; gap: var(--sp-16); justify-items: start; max-inline-size: 440px; padding: 32px 32px 28px;
  background: #fff; color: var(--sx-ink); -webkit-clip-path: var(--cut-md); clip-path: var(--cut-md);
}
.sx-buy::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; inline-size: 28px; block-size: 28px; background: var(--sx-ruby); clip-path: polygon(0 0, 100% 0, 100% 100%); }
[dir="rtl"] .sx-buy::before { clip-path: polygon(0 0, 100% 0, 0 100%); }
.sx-buy__price { font-size: clamp(32px, 3vw, 40px); font-weight: var(--fw-semibold); margin: 0; color: var(--sx-ink); }
.sx-buy .btn { inline-size: 100%; }
.sx-buy__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--sx-ink); text-wrap: pretty; }

.sx-two { display: grid; gap: var(--sp-48); }
@media (min-width: 1024px) { .sx-two { grid-template-columns: 7fr 5fr; align-items: start; } }
.sx-card { background: var(--sx-cream); color: var(--sx-ink); padding: 32px 28px; border-radius: var(--sx-radius); }
.sx-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sx-list li { position: relative; padding-inline-start: 24px; line-height: 1.55; text-wrap: pretty; }
.sx-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .5em; inline-size: 10px; block-size: 10px; background: var(--sx-ruby); transform: rotate(45deg); }

.sx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-16); }
@media (min-width: 768px) { .sx-steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-24); } }
@media (min-width: 1024px) { .sx-steps { grid-template-columns: repeat(3, 1fr); } }
.sx-step {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-16); padding: 32px 28px; background: var(--sx-wine); color: var(--text-on-dark);
  -webkit-clip-path: var(--cut-sm); clip-path: var(--cut-sm);
}
.sx-step::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; inline-size: 18px; block-size: 18px; background: var(--sx-ruby); clip-path: polygon(0 0, 100% 0, 0 100%); }
.sx-step__num { font-size: 15px; font-weight: var(--fw-medium); color: var(--text-accent-on-dark, #E8768F); }
.sx-step__text { font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.sx-bonus { margin: var(--sp-32) 0 0; font-weight: var(--fw-medium); line-height: 1.55; text-wrap: pretty; }

.sx-lessons__list { margin: var(--sp-32) 0 0; padding: 0; list-style: none; counter-reset: lsn; border-block-start: 1px solid var(--sx-line); }
.sx-lessons__list li { counter-increment: lsn; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--sp-24); padding-block: var(--sp-24); border-block-end: 1px solid var(--sx-line); font-size: 18px; }
.sx-lessons__list li::before { content: counter(lsn, decimal-leading-zero); font-size: clamp(28px, 3vw, 40px); font-weight: var(--fw-semibold); line-height: 1; color: var(--sx-ruby); min-inline-size: 2.2ch; }
.sx-lessons__ch { font-size: 15px; font-weight: var(--fw-medium); inline-size: 100%; }
.sx-lessons__list li.sx-lessons__pending::before { content: none; }

.sx-faq__list { display: grid; border-block-start: 1px solid var(--sx-line); }
.sx-qa { border-block-end: 1px solid var(--sx-line); color: var(--sx-ink); }
.sx-qa[open] { border-block-end-color: var(--sx-ruby); }
.sx-qa__q { list-style: none; cursor: pointer; padding-block: 22px; font-size: 18px; font-weight: var(--fw-medium); line-height: 1.45; display: flex; justify-content: space-between; gap: var(--sp-16); }
.sx-qa__q::-webkit-details-marker { display: none; }
.sx-qa__q::after { content: "+"; flex: none; font-weight: var(--fw-regular); font-size: 1.4em; line-height: 1; color: var(--sx-ruby); }
.sx-qa[open] .sx-qa__q::after { content: "\2212"; }
.sx-qa__a { margin: 0; padding-block-end: 24px; line-height: 1.6; text-wrap: pretty; }
.sx-faq__more { margin-block-start: var(--sp-32); }

.sx-end__in { display: grid; justify-items: center; text-align: center; margin-inline: auto; }
.sx-end .sx-p { margin-inline: auto; }
.sx-end .sx-buy { margin-block-start: var(--sp-32); text-align: start; inline-size: 100%; }

/* ---------- Master: list (blog index, category - 4-category) ---------- */
.sx-blog__body { padding-block: var(--sp-48) var(--sp-96); }
.sx-chips { display: flex; flex-wrap: wrap; gap: var(--sp-8, 8px); margin-block-end: var(--sp-48); }
.sx-chip { display: inline-flex; align-items: center; min-block-size: 40px; padding-inline: 18px; border: 1.5px solid var(--sx-ink); border-radius: var(--radius-button-56); color: var(--sx-ink); text-decoration: none; font-size: 15px; font-weight: var(--fw-medium); }
a.sx-chip[aria-current="page"], a.sx-chip:hover { background: var(--sx-ink); color: var(--bg-default); }
.sx-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-24); }
@media (min-width: 768px) { .sx-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sx-cards { grid-template-columns: repeat(3, 1fr); } }
.sx-post-card {
  display: flex; flex-direction: column; gap: 10px; block-size: 100%; padding: 0 0 24px; overflow: hidden;
  background: var(--sx-raised); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); color: var(--sx-ink); text-decoration: none;
}
.sx-post-card:hover { border-color: var(--sx-ink); }
.sx-post-card:focus-visible { outline: 2px solid var(--sx-ink); outline-offset: 4px; }
.sx-post-card__img { display: block; aspect-ratio: 16 / 10; inline-size: 100%; block-size: auto; object-fit: cover; background: var(--bg-breath); margin-block-end: 8px; }
.sx-post-card__cat, .sx-post-card__meta, .sx-post-card__title, .sx-post-card__line { margin-inline: 24px; }
.sx-post-card__cat { font-size: 14px; font-weight: var(--fw-medium); color: var(--sx-ruby); margin-block-start: 8px; }
.sx-post-card__title { font-size: 24px; font-weight: var(--fw-semibold); line-height: 1.3; margin-block: 0; text-wrap: balance; }
.sx-post-card__line { font-size: 16px; font-weight: var(--fw-light); line-height: 1.55; text-wrap: pretty; }
.sx-post-card__meta { margin-block-start: auto; font-size: 14px; font-weight: var(--fw-medium); }
.sx-pages { margin-block-start: var(--sp-48); }
.sx-pages .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-8, 8px); }
.sx-pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 44px; min-block-size: 44px; padding-inline: 14px; border: 1.5px solid var(--sx-ink); border-radius: var(--radius-button-56); color: var(--sx-ink); text-decoration: none; }
.sx-pages .page-numbers.current { background: var(--sx-ink); color: var(--bg-default); }

/* ---------- Master: article ---------- */
.sx-article { background: var(--sx-cream); color: var(--sx-ink); padding-block: var(--sp-48) var(--sp-96); }
.sx-article__in { max-inline-size: 760px; }
.sx-article__meta { font-size: var(--fs-small); font-weight: var(--fw-medium); margin: 0 0 var(--sp-16); }
.sx-article__meta a { color: inherit; }
.sx-article__title { font-size: var(--fs-h1); font-weight: var(--fw-light); line-height: 1.1; margin: 0 0 var(--sp-32); }
.sx-article__cover { margin: 0 0 var(--sp-40, 40px); }
.sx-article__cover img { inline-size: 100%; block-size: auto; display: block; }
.sx-article__body { font-size: var(--fs-body); line-height: 1.75; }
.sx-article__body > * { margin-block: 0 1.1em; }
.sx-article__body h2 { font-size: var(--fs-h2); font-weight: var(--fw-medium); line-height: 1.25; margin-block-start: 1.6em; }
.sx-article__body h3 { font-size: var(--fs-h3); font-weight: var(--fw-medium); margin-block-start: 1.4em; }
.sx-article__body a { color: var(--wine-700); text-underline-offset: 3px; }
.sx-article__body blockquote { margin-inline: 0; padding-inline-start: var(--sp-24); border-inline-start: 3px solid var(--wine-700); font-weight: var(--fw-medium); }
.sx-article__body img { max-inline-size: 100%; block-size: auto; }
.sx-article__body em, .sx-article__body i { font-style: normal; font-weight: var(--fw-medium); }
.sx-article__foot { margin-block-start: var(--sp-48); padding-block-start: var(--sp-32); border-block-start: 1px solid var(--border-subtle); }

/* ---------- Master: podcast (5-podcast) ---------- */
/* Redesign 1.11.26 (Guy: what the podcast is about + where to listen). Hero: title, line, where to listen; then what
   it talks about - a short paragraph and three cut-corner cards in the brand's box. Ink on cream only, no gray. */
.sx-pod-hero { padding-block: var(--sp-48) var(--sp-64); }
.sx-pod-hero__grid { display: grid; gap: var(--sp-48); align-items: center; }
@media (min-width: 768px) { .sx-pod-hero__grid { grid-template-columns: 1fr minmax(220px, 36%); } }
@media (min-width: 1024px) { .sx-pod-hero { padding-block: var(--sp-64) var(--sp-96); } }
.sx-pod-hero__img { inline-size: 100%; max-inline-size: 300px; block-size: auto; border-radius: var(--sx-radius); justify-self: center; }
@media (min-width: 768px) { .sx-pod-hero__img { max-inline-size: 440px; } }
.sx-listen { display: grid; justify-items: start; gap: var(--sp-16); }
.sx-listen__title { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); text-wrap: balance; }
.sx-listen__line { margin: 0; max-inline-size: 44ch; line-height: 1.55; text-wrap: pretty; }
.sx-listen__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.sx-listen__btn {
  display: inline-flex; align-items: center; gap: 10px; min-block-size: 52px; padding-inline: 22px 24px;
  border: 1.5px solid var(--sx-ink); border-radius: var(--radius-button-56); color: var(--sx-ink); text-decoration: none;
  font-size: 17px; font-weight: var(--fw-semibold); transition: background-color 200ms var(--ease-calm), color 200ms var(--ease-calm);
}
.sx-listen__btn:hover, .sx-listen__btn--solid { background: var(--sx-ink); color: var(--sx-cream); }
.sx-listen__btn--solid:hover { background: var(--wine-900); border-color: var(--wine-900); }
.sx-listen__btn:focus-visible { outline: 2.5px solid var(--state-focus, #C92F55); outline-offset: 3px; }
.sx-listen__btn:active { transform: scale(.98); }
.sx-listen__ic { flex: none; }
.sx-pod-about { padding-block: var(--sp-48) var(--sp-96); }
.sx-pod-about__intro { max-inline-size: 760px; margin-block-end: var(--sp-48); }
.sx-pod-about__p { margin: 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.7; text-wrap: pretty; }
.sx-pod-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-16); }
@media (min-width: 768px) { .sx-pod-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-24); } }
.sx-pod-topic { --box-cut: var(--cut-md); --box-cut-in: var(--cut-md-in); --box-fill: var(--cream-100); --box-stroke: var(--sx-line);
  display: grid; align-content: start; gap: var(--sp-8, 8px); padding: 28px; }
.sx-pod-topic__ic { display: block; margin-block-end: var(--sp-8, 8px); }
.sx-pod-topic__t { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); }
.sx-pod-topic__d { margin: 0; line-height: 1.6; text-wrap: pretty; }
.sx-episodes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-16); }
.sx-ep { display: flex; gap: var(--sp-24); padding: 28px; background: var(--sx-raised); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); }
.sx-ep__num { flex: none; font-size: clamp(28px, 3vw, 40px); font-weight: var(--fw-semibold); line-height: 1; color: var(--sx-ruby); min-inline-size: 2ch; }
.sx-ep__body { display: grid; gap: var(--sp-8, 8px); flex: 1; }
.sx-ep__title { font-size: 24px; font-weight: var(--fw-semibold); line-height: 1.3; margin: 0; text-wrap: balance; }
.sx-ep__line { margin: 0; font-weight: var(--fw-light); line-height: 1.55; text-wrap: pretty; }
.sx-ep__meta { margin: 0; font-size: 14px; font-weight: var(--fw-medium); }
.sx-ep__audio { inline-size: 100%; margin-block-start: var(--sp-8, 8px); }
/* Yonatan 29.10.26 (559:703): the bands are the page's cream, the episodes cream-100 */
.sx-podcast .s--white { background: var(--cream-50); }
.sx-podcast .sx-ep { background: var(--cream-100); }

/* ---------- Newsletter page additions (template lp-newsletter.php) ----------
   Guy 31.10.26 (round 3): the brand cream like the other inner pages - cream-50 page, ink #1A1718 type, wine-400
   (#6B2D3C) for accents. The whole top signup area (title, form, icon) stays dark. Sections part by space, not lines;
   cards cream-100 with the subtle stroke. Ink on cream-50 16.9:1, wine-400 on cream-50 9.4:1 and on cream-100 8.6:1. */
.v-newsletter { --nl-ink: #1A1718; background: var(--cream-50); color: var(--nl-ink); }
.v-newsletter main.nl { background: var(--bg-dark); color: var(--text-on-dark); }
.v-newsletter .sx-h2, .v-newsletter .sx-h3, .v-newsletter .sx-p { color: var(--nl-ink); }
.v-newsletter .nl__freq { margin: var(--sp-16) 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--text-on-dark); }
.v-newsletter .nl__done-read a { color: var(--text-on-dark); text-underline-offset: 4px; }
.v-newsletter .foot--breath { background: var(--cream-50); }
/* no gray text on this page: the footer's muted lines in ink, the form's legal line in full cream */
.v-newsletter .foot a, .v-newsletter .foot button, .v-newsletter .foot p { color: var(--nl-ink); }
.v-newsletter .formbox .form__legal, .v-newsletter .formbox .form__legal a { color: var(--text-on-dark); }
.nl-more { padding-block: var(--sp-64) var(--sp-32); }
.nl-more + .nl-more { padding-block-start: var(--sp-32); }
.nl-end { padding-block: var(--sp-32) var(--sp-64); text-align: center; }
/* the issues already sent: one card master, 1 / 2 / 3 columns; over six, the rest open under "לכל הגיליונות" */
.nl-issues__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-16); }
@media (min-width: 768px) { .nl-issues__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-24); } }
@media (min-width: 1024px) { .nl-issues__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nl-issues__more { margin-block-start: var(--sp-24); }
.nl-issues__more[open] > .nl-issues__list { margin-block-start: var(--sp-24); }
.nl-issues__more-btn { display: inline-flex; align-items: center; min-block-size: 48px; padding-inline: 4px; font-weight: var(--fw-semibold); color: var(--nl-ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; list-style: none; }
.nl-issues__more-btn::-webkit-details-marker { display: none; }
.nl-issues__more[open] > .nl-issues__more-btn { display: none; }
.nl-issues__more-btn:focus-visible { outline: 2px solid var(--ruby-600); outline-offset: 3px; }
/* The issue card: the whole card is the link to the issue (opens in a new tab) */
.nl-issue {
  --box-cut: var(--cut-md); --box-cut-in: var(--cut-md-in); --box-fill: var(--cream-100); --box-stroke: var(--border-subtle);
  display: flex; flex-direction: column; gap: var(--sp-8, 8px); block-size: 100%; padding: 28px 24px; color: var(--nl-ink); text-decoration: none;
}
@media (hover: hover) { a.nl-issue:hover { --box-stroke: var(--wine-400); } a.nl-issue:hover .nl-issue__subject { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
/* the card is clipped to its cut, so the focus ring sits on the list item around it */
a.nl-issue:focus-visible { outline: none; --box-stroke: var(--wine-400); }
.nl-issues__list > li:has(> a.nl-issue:focus-visible) { outline: 2px solid var(--ruby-600); outline-offset: 3px; }
.nl-issue__meta { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--wine-400); }
.nl-issue__subject { font-size: var(--fs-h3); font-weight: var(--fw-medium); line-height: 1.3; text-wrap: balance; }
.nl-issue__teaser { line-height: 1.55; text-wrap: pretty; }
.nl-issue__cta { margin-block-start: auto; padding-block-start: var(--sp-8, 8px); font-weight: var(--fw-semibold); color: var(--wine-400); text-decoration: underline; text-underline-offset: 4px; }
div.nl-issue .nl-issue__cta { display: none; }

@media (prefers-reduced-motion: reduce) { .sx-top__me, .sx-tile { transition: none; } }
.sx-article__body a, .sx-article__body blockquote { color: var(--sx-ruby); }
.sx-article__body blockquote { border-inline-start-color: var(--sx-ruby); font-weight: var(--fw-regular); font-size: 1.2em; }

/* ---------- Blog additions: subtitle, Yoast FAQ block in the article, empty state ---------- */
.sx-article__sub { font-size: var(--fs-h3); font-weight: var(--fw-regular); line-height: 1.45; margin: calc(var(--sp-16) * -1) 0 var(--sp-32); text-wrap: pretty; }
.sx-article__body .schema-faq { display: grid; gap: var(--sp-12, 12px); margin-block-start: var(--sp-24); }
.sx-article__body .schema-faq-section { background: var(--bg-breath); padding: 22px 24px; margin: 0; -webkit-clip-path: var(--cut-sm); clip-path: var(--cut-sm); }
.sx-article__body .schema-faq-question { display: block; font-weight: var(--fw-medium); line-height: 1.45; margin-block-end: var(--sp-8, 8px); }
.sx-article__body .schema-faq-answer { margin: 0; line-height: 1.65; }
.sx-empty { display: grid; justify-items: start; gap: var(--sp-8, 8px); padding-block: var(--sp-48); max-inline-size: 560px; }
.sx-empty .btn { margin-block-start: var(--sp-16); }
