/* Site-wide footer additions, sticky contact buttons and the contact-form dialog. Arial everywhere except H1–H6 in page content. */

/* ---------- Footer ---------- */
.si-ft { font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.6; }
.si-ft a { color: inherit; text-decoration: none; }
.si-ft a:hover, .si-ft a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.si-ft__h { margin: 0 0 16px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.si-ft ul { list-style: none; margin: 0; padding: 0; }
.si-ft__rule { border-color: color-mix(in oklab, var(--footer-foreground) 28%, transparent); }

/* Top: brand + accreditation */
.si-ft__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 48px 36px; border-bottom: 1px solid color-mix(in oklab, var(--footer-foreground) 28%, transparent); }
.si-ft__brand { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.si-ft__logo img { display: block; width: 190px; height: auto; }
.si-ft__brand p { margin: 0; padding-left: 28px; border-left: 1px solid color-mix(in oklab, var(--footer-foreground) 35%, transparent); font-size: 12px; line-height: 1.7; letter-spacing: .02em; }
.si-ft__badges { display: flex; align-items: stretch; gap: 12px; }
.si-ft__badge { display: flex; align-items: center; gap: 12px; margin: 0; height: 64px; padding: 8px 14px; background: #fff; color: oklch(30% .02 60); border-radius: 2px; }
.si-ft__badge[hidden] { display: none; }
.si-ft__badge--ht img { display: block; height: 48px; width: auto; }
.si-ft__badge--cert img { display: block; height: 48px; width: auto; }
.si-ft__badge--cert figcaption { font-size: 11px; line-height: 1.4; font-weight: 600; }

/* Main: contact | practice | treatments */
.si-ft__main { display: grid; gap: 40px 48px; padding-block: 44px; grid-template-columns: 1fr; }
.si-ft__contact address { font-style: normal; display: grid; gap: 6px; }
.si-ft__contact address p { margin: 0; }
.si-ft__contact address p:first-child { margin-bottom: 6px; }
.si-ft__social { display: flex; gap: 8px; margin-top: 18px !important; }
.si-ft__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid color-mix(in oklab, var(--footer-foreground) 45%, transparent); border-radius: 50%; }
.si-ft__social a:hover { background: color-mix(in oklab, var(--footer-foreground) 14%, transparent); text-decoration: none; }
.si-ft__practice ul, .si-ft__group ul { display: grid; gap: 7px; }
.si-ft__tgrid { display: grid; gap: 0; grid-template-columns: 1fr; }
.si-ft__group { border-bottom: 1px solid color-mix(in oklab, var(--footer-foreground) 25%, transparent); }
.si-ft__group summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding: 13px 0; font-size: 13px; font-weight: 700; }
.si-ft__group summary::-webkit-details-marker { display: none; }
.si-ft__chev { transition: transform .2s ease; }
.si-ft__group[open] .si-ft__chev { transform: rotate(180deg); }
.si-ft__group ul { padding-bottom: 14px; }
.si-ft__group a { opacity: .92; }

/* Bottom */
.si-ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 20px 24px; border-top: 1px solid color-mix(in oklab, var(--footer-foreground) 28%, transparent); font-size: 11.5px; }
.si-ft__bottom p { margin: 0; }
.si-ft__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (min-width: 768px) {
  .si-ft__main { grid-template-columns: 1fr 1fr; }
  .si-ft__treat { grid-column: 1 / -1; }
  .si-ft__tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .si-ft__group { border-bottom: 0; }
  .si-ft__group + .si-ft__group { margin-top: 22px; }
  .si-ft__group summary { pointer-events: none; padding: 0 0 10px; font-size: 12px; letter-spacing: .04em; }
  .si-ft__chev { display: none; }
  .si-ft__group ul { padding-bottom: 0; }
}
@media (min-width: 1100px) {
  .si-ft__main { grid-template-columns: 220px 190px minmax(0, 1fr); gap: 48px; }
  .si-ft__treat { grid-column: auto; }
  .si-ft__tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 767px) {
  .si-ft__top { padding-block: 36px 28px; }
  .si-ft__brand p { padding-left: 0; border-left: 0; }
  .si-ft__badges { flex-wrap: wrap; }
  .si-ft__bottom { flex-direction: column; }
}

/* ---------- Sticky buttons ---------- */
.si-sticky { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.si-sticky__btn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 18px 0 15px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13px/1 Arial, Helvetica, sans-serif; letter-spacing: .02em; text-decoration: none; box-shadow: 0 6px 18px rgb(0 0 0 / .18); transition: transform .15s ease, box-shadow .15s ease; }
.si-sticky__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgb(0 0 0 / .22); }
.si-sticky__btn:active { transform: scale(.97); }
.si-sticky__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.si-sticky__btn--wa { background: #1f8f4e; color: #fff; }
.si-sticky__btn--form { background: var(--primary); color: var(--primary-foreground); }
body.si-dialog-open .si-sticky { visibility: hidden; }

@media (max-width: 767px) {
  .si-sticky { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--primary); box-shadow: 0 -4px 16px rgb(0 0 0 / .14); }
  .si-sticky__btn { flex: 1; justify-content: center; border-radius: 0; height: 54px; box-shadow: none; }
  .si-sticky__btn:hover { transform: none; box-shadow: none; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

/* ---------- Contact dialog ---------- */
.si-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 4px; background: var(--background); color: var(--foreground); box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
.si-dialog::backdrop { background: rgb(20 16 12 / .55); }
.si-form { padding: 26px 26px 24px; font-family: Arial, Helvetica, sans-serif; }
.si-form__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.si-form__head h2 { margin: 0; font-family: var(--font-heading, Georgia, serif); font-size: 26px; font-weight: 400; }
.si-form__close { width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: inherit; }
.si-form__lead { margin: 8px 0 20px; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.si-form__grid { display: grid; gap: 14px 16px; grid-template-columns: 1fr 1fr; }
.si-form__full { grid-column: 1 / -1; }
.si-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.si-form input:not([type=checkbox]), .si-form select, .si-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 2px; background: #fff; padding: 11px 12px; font: 14px/1.4 Arial, Helvetica, sans-serif; color: var(--foreground); }
.si-form input:focus, .si-form select:focus, .si-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.si-form [aria-invalid="true"] { border-color: #b3261e; }
.si-form__consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 12px; line-height: 1.55; }
.si-form__consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; }
.si-form__consent a { text-decoration: underline; }
.si-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.si-form__status { min-height: 20px; margin: 14px 0 0; font-size: 13px; line-height: 1.5; }
.si-form__status[data-state="error"] { color: #b3261e; }
.si-form__status[data-state="ok"] { color: #1f6f3d; }
.si-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
.si-form__submit { height: 46px; padding: 0 30px; border: 0; border-radius: 0; background: var(--primary); color: var(--primary-foreground); font: 600 13px Arial, Helvetica, sans-serif; letter-spacing: .06em; cursor: pointer; }
.si-form__submit[disabled] { opacity: .6; cursor: progress; }
.si-form__alt { font-size: 13px; text-decoration: underline; }
body.si-dialog-open { overflow: hidden; }

@media (max-width: 560px) {
  .si-form { padding: 20px 18px; }
  .si-form__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .si-sticky__btn, .si-ft__chev { transition: none; }
}

/* ---------- HubSpot form inside the dialog (matches the site's form style) ---------- */
.si-form__head-wrap { padding-bottom: 0; }
.si-form--body { padding-top: 0; }
.si-hs { padding: 0 26px 24px; font-family: Arial, Helvetica, sans-serif; }
.si-hs__loading { font-size: 13px; color: var(--muted-foreground); }
.si-hs form { display: grid; gap: 14px 16px; grid-template-columns: 1fr 1fr; }
.si-hs fieldset { max-width: none !important; grid-column: 1 / -1; display: grid; gap: 14px 16px; grid-template-columns: 1fr 1fr; border: 0; margin: 0; padding: 0; }
.si-hs fieldset.form-columns-1 { grid-template-columns: 1fr; }
.si-hs fieldset .input { margin-right: 0 !important; }
.si-hs .hs-form-field { width: auto !important; float: none !important; grid-column: auto; }
.si-hs .hs-form-field > label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.si-hs .hs-input:not([type=checkbox]):not([type=radio]) { width: 100% !important; box-sizing: border-box; border: 1px solid var(--border); border-radius: 2px; background: #fff; padding: 11px 12px; font: 14px/1.4 Arial, Helvetica, sans-serif; color: var(--foreground); }
.si-hs textarea.hs-input { min-height: 110px; }
.si-hs .hs-input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.si-hs .hs-error-msgs { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: #b3261e; }
.si-hs .legal-consent-container, .si-hs .hs_recaptcha, .si-hs .hs-richtext, .si-hs .hs-submit, .si-hs .hs_error_rollup { grid-column: 1 / -1; font-size: 12px; line-height: 1.55; }
.si-hs .inputs-list { list-style: none; margin: 0; padding: 0; }
.si-hs .hs-form-booleancheckbox-display { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.si-hs .hs-button { height: 46px; padding: 0 30px; border: 0; border-radius: 0; background: var(--primary); color: var(--primary-foreground); font: 600 13px Arial, Helvetica, sans-serif; letter-spacing: .06em; cursor: pointer; }
.si-hs .submitted-message { font-size: 14px; line-height: 1.6; color: #1f6f3d; }
@media (max-width: 560px) {
  .si-hs { padding: 0 18px 20px; }
  .si-hs form, .si-hs fieldset { grid-template-columns: 1fr; }
}

/* ---------- Showcase woven into WordPress content (posts, procedures, procedure categories) ---------- */
.sc-flow { display: block; }
.sc-flow--cat { padding-block: 8px 72px; }
.sc-text { max-width: 760px; margin-inline: auto; padding-block: 8px; }
.sc-text > :first-child { margin-top: 0; }
.sc { margin-block: 56px; padding-block: 56px 8px; border-top: 1px solid var(--border); font-family: Arial, Helvetica, sans-serif; }
.sc .eyebrow { margin: 0; }
.sc-h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; font-weight: 400; }
.sc-lead { margin: 14px 0 0; max-width: 620px; font-size: 15px; line-height: 1.75; color: var(--muted-foreground); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sc-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; font-size: 12px; letter-spacing: .06em; text-decoration: none; }
.sc-btn--dark { background: var(--primary); color: var(--primary-foreground); }
.sc-btn--line { border: 1px solid var(--foreground); color: var(--foreground); }
.sc-btn:hover { opacity: .88; }
.sc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; text-decoration: none; color: inherit; }

/* About */
.sc-split { display: grid; gap: 32px; align-items: center; }
.sc-portrait { margin: 0; overflow: hidden; background: var(--secondary); }
.sc-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.sc-creds { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.sc-creds li { padding-left: 18px; position: relative; }
.sc-creds li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 1px; background: var(--gold); }
@media (min-width: 768px) { .sc-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }

/* Before & After */
.sc-cases { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sc-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.sc-case { position: relative; display: block; padding: 0; border: 0; background: var(--secondary); cursor: zoom-in; overflow: hidden; }
.sc-case img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.sc-case:hover img { transform: scale(1.03); }
.sc-case__labels { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 8px 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .45)); }

/* Patient videos */
.sc-videos { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sc-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.sc-video { position: relative; display: block; padding: 0; border: 0; background: var(--secondary); overflow: hidden; cursor: pointer; color: #fff; text-decoration: none; text-align: left; }
.sc-video img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; transition: transform .6s; }
.sc-video:hover img { transform: scale(1.03); }
.sc-video__cap { position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 40px 14px 12px; font-size: 12px; background: linear-gradient(transparent, rgb(0 0 0 / .6)); }
.sc-video__cap strong { font-size: 14px; }
.sc-video__play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgb(255 255 255 / .9); }
.sc-video__play::after { content: ''; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--primary); }
.sc-vdialog { width: min(960px, calc(100vw - 24px)); background: #000; }
.sc-vdialog iframe, .sc-vdialog video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.sc-vclose { position: absolute; right: 6px; top: 4px; z-index: 2; color: #fff; }

/* Clinic & hospital */
.sc-office { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sc-office { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.sc-office figure { position: relative; margin: 0; overflow: hidden; background: var(--secondary); }
.sc-office img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sc-office figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgb(255 255 255 / .9); color: var(--foreground); }

/* CTA */
.sc--cta { display: grid; gap: 8px; align-items: end; padding: 48px; border: 0; background: var(--secondary); }
@media (min-width: 900px) { .sc--cta { grid-template-columns: 1.3fr 1fr; } .sc--cta .sc-actions { justify-content: flex-end; } }
@media (max-width: 600px) { .sc { margin-block: 40px; padding-block: 40px 0; } .sc--cta { padding: 28px 20px; } .sc-btn { width: 100%; justify-content: center; } }


/* ---------- v12: dark footer with the "Considering Surgery?" photo cover, hero credentials bar ---------- */
.si-ft {
  --footer-foreground: var(--primary-foreground);
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--primary) !important; color: var(--primary-foreground) !important;
}
.si-ft::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url("../assets/ed6a368776.jpg") center 35% / cover no-repeat; opacity: .25; }
.si-ft::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in oklab, var(--primary) 92%, transparent), color-mix(in oklab, var(--primary) 80%, transparent)); }
.si-ft-lead { background: transparent !important; border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
.si-ft a:hover { color: #fff; }
.si-ft__contact address a { text-decoration: none; }
.si-ft__contact address a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Accreditation: larger, clearer badges */
.si-ft__badges { gap: 16px; flex-wrap: wrap; }
.si-ft__badge { height: auto; min-height: 96px; padding: 12px 20px; gap: 16px; border-radius: 3px; box-shadow: 0 6px 20px rgb(0 0 0 / .25); text-decoration: none !important; }
.si-ft__badge--ht img { height: 72px; }
.si-ft__badge--cert img { height: 72px; width: auto; border: 1px solid #e6e1d8; }
.si-ft__badge--cert span { display: grid; gap: 4px; font-size: 13px; line-height: 1.35; color: oklch(25% .02 60); }
.si-ft__badge--cert strong { font-weight: 700; }
.si-ft__badge--cert small { font-size: 11px; color: oklch(45% .02 60); }
@media (max-width: 767px) {
  .si-ft__badges { width: 100%; }
  .si-ft__badge { flex: 1 1 100%; justify-content: flex-start; }
  .si-ft__badge--ht { justify-content: center; }
}

/* Hero credentials bar */
.si-bar__text { display: grid; gap: 2px; font-size: 12px; line-height: 1.35; }
.si-bar__text strong { font-weight: 600; font-size: 13px; color: var(--foreground); }
.si-bar__text small { font-size: 12px; color: var(--muted-foreground); }
.si-bar__note { margin: 0; padding: 12px 16px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; letter-spacing: .02em; color: var(--muted-foreground); }
@media (max-width: 1023px) { .si-bar .grid > div:nth-child(2) { border-right: 0; } .si-bar .grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.si-ft .si-ft-lead a.bg-background, .si-ft .si-ft-lead a.bg-background:hover { color: var(--foreground); text-decoration: none; }
.si-ft .si-ft-lead a:hover { text-decoration: none; }

/* ---------- Home: landing-page sections; inline HubSpot consultation ---------- */
.si-lp { padding-block: 88px; border-top: 1px solid var(--border); font-family: Arial, Helvetica, sans-serif; }
.si-lp--tint { background: var(--secondary); }
.si-lp__head { max-width: 720px; }
.si-lp__head--center { margin-inline: auto; text-align: center; }
.si-lp__h2 { margin: 10px 0 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; font-weight: 400; }
.si-lp__intro { margin: 16px 0 0; font-size: 15px; line-height: 1.75; color: var(--muted-foreground); }
.si-lp__head--center .si-lp__intro { margin-inline: auto; max-width: 640px; }
.si-lp .sc-cases, .si-lp .sc-videos, .si-lp .sc-office { margin-top: 40px; }
.si-lp__cta { display: flex; justify-content: center; margin-top: 36px; }
.si-lp__journey { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: none; }
.si-lp__journey li { border-top: 1px solid var(--foreground); padding-top: 18px; }
.si-lp__num { font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.si-lp__journey h3 { margin: 10px 0 0; font-size: 22px; line-height: 1.2; font-weight: 400; }
.si-lp__journey p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted-foreground); }
@media (min-width: 900px) { .si-lp__journey { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.si-lp__copy { max-width: 720px; margin: 20px auto 0; text-align: center; font-size: 15px; line-height: 1.75; color: var(--muted-foreground); }
.si-lp__copy p { margin: 0 0 10px; }
.si-lp__label { margin: 48px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.si-lp__label + .sc-office { margin-top: 16px; }
.si-lp__consult { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .si-lp__consult { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.si-lp__perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.si-lp__perks li { display: flex; align-items: center; gap: 10px; }
.si-lp__perks svg { color: var(--gold); flex: none; }
.si-lp__form { background: var(--background); border: 1px solid var(--border); padding: 28px; min-height: 420px; }
.si-lp__form .si-hs__loading { font-size: 13px; color: var(--muted-foreground); }
.si-hs__fallback { font-size: 14px; line-height: 1.7; }
.si-hs__fallback a, .si-hs__fallback button { color: inherit; text-decoration: underline; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.si-lp__form iframe { width: 100% !important; }
@media (max-width: 600px) { .si-lp { padding-block: 60px; } .si-lp__form { padding: 18px; } }

/* ---------- v14 ---------- */
/* Sticky header (all pages) */
header.si-header { position: sticky; top: 0; z-index: 58; background: var(--background); transition: box-shadow .2s ease; }
header.si-header.is-scrolled { box-shadow: 0 6px 18px rgb(0 0 0 / .08); }
html { scroll-padding-top: 96px; }

/* Footer: larger, more readable type */
.si-ft { font-size: 15px; line-height: 1.65; }
.si-ft__h { font-size: 12.5px; margin-bottom: 18px; }
.si-ft__brand p { font-size: 14px; }
.si-ft__contact address { gap: 8px; }
.si-ft__practice ul, .si-ft__group ul { gap: 9px; }
.si-ft__group a, .si-ft__practice a { font-size: 14.5px; }
.si-ft__group summary { font-size: 15px; }
@media (min-width: 768px) { .si-ft__group summary { font-size: 14px; } }
.si-ft__bottom { font-size: 13px; }

/* Accreditation band: first thing in the footer, large and centred */
.si-ft__accr-band { padding-block: 48px; border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); text-align: center; }
.si-ft__accr-title { margin-bottom: 22px !important; }
.si-ft__accr-band .si-ft__badges { justify-content: center; align-items: stretch; gap: 24px; }
.si-ft__accr-band .si-ft__badge { min-height: 150px; padding: 18px 28px; }
.si-ft__accr-band .si-ft__badge--ht img { height: 112px; }
.si-ft__accr-band .si-ft__badge--cert { text-align: left; }
.si-ft__accr-band .si-ft__badge--cert img { height: 112px; }
.si-ft__accr-band .si-ft__badge--cert span { max-width: 260px; font-size: 15px; }
.si-ft__accr-band .si-ft__badge--cert small { font-size: 12.5px; }
@media (max-width: 767px) {
  .si-ft__accr-band { padding-block: 36px; }
  .si-ft__accr-band .si-ft__badge { min-height: 0; padding: 14px 16px; }
  .si-ft__accr-band .si-ft__badge--ht img { height: 84px; }
  .si-ft__accr-band .si-ft__badge--cert img { height: 84px; }
  .si-ft__accr-band .si-ft__badge--cert span { font-size: 13.5px; }
}
.si-ft__top { padding-block: 40px 32px; }

/* Two type families site-wide: Georgia (headings) + Arial (everything else) */
.si-dialog, .si-dialog input, .si-dialog select, .si-dialog textarea, .si-dialog button,
.sc, .si-lp, .si-sticky, .si-ft, .wp-chip, .wp-pager { font-family: var(--font-body, Arial, Helvetica, sans-serif); }
.si-lp h2, .si-lp h3.font-display, .sc h2, .si-form__head h2 { font-family: var(--font-heading, Georgia, serif); }

/* ---------- Related procedures (Nose / Face / Ear) ---------- */
.si-svc { background: var(--background); border-top: 1px solid var(--border); padding: 4rem 0; }
.si-svc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.si-svc__h2 { margin-top: .5rem; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; }
.si-svc__all { display: inline-flex; align-items: center; gap: .5rem; }
.si-svc__grid { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--border); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .si-svc__grid { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; } }
@media (min-width: 1024px) { .si-svc__grid { grid-template-columns: repeat(3, 1fr); } }
.si-svc__card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border);
  font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; color: var(--foreground); transition: color .2s, padding .2s; }
.si-svc__card svg { flex: none; color: var(--gold); transition: transform .2s; }
.si-svc__card:hover { color: var(--gold); }
.si-svc__card:hover svg { transform: translateX(4px); }
.si-svc__card[aria-current="page"] { color: var(--gold); }
.si-svc__card[aria-current="page"]::after { content: "You are here"; font: 11px/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); margin-left: auto; }
.si-svc__card[aria-current="page"] svg { display: none; }
[data-archive-only][hidden], [data-shop-root][hidden] { display: none !important; }
[data-si-services] ~ [data-wp-related-section] { display: none !important; }

/* ---------- Prof. Dr. Selçuk İnanlı photographs (2026) ---------- */
.si-photo { margin: 0; overflow: hidden; background: var(--secondary); }
.si-photo img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.si-photo:hover img { transform: scale(1.02); }
.si-photo figcaption { padding: .75rem 0 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); background: var(--background); }
/* Home: surgeon strip */
.si-strip { background: var(--background); padding: 3.5rem 0 4rem; border-bottom: 1px solid var(--border); }
.si-strip__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.si-strip__grid { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.si-strip__fig { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--secondary); }
.si-strip__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.si-strip__fig:hover img { transform: scale(1.03); }
@media (max-width: 639px) {
  .si-strip__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .si-strip__fig { scroll-snap-align: start; }
}
/* Home / Contact / Procedures: consultation + theatre */
.si-photo--consult { max-width: 300px; margin-top: 2rem; aspect-ratio: 4 / 5; }
.si-photo--consult img { height: 100%; object-position: 50% 20%; }
@media (max-width: 1023px) { .si-photo--consult { display: none; } }
.si-photo--theatre { max-width: 900px; margin: 2.5rem auto 1rem; background: transparent; }
.si-photo--theatre figcaption { background: transparent; text-align: center; }
/* About */
.si-steps-split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .si-steps-split { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); align-items: start; gap: 4rem; }
  main[data-page="about"] .si-steps-split .pp-steps { max-width: none; }
  .si-photo--steps { position: sticky; top: 110px; }
}
.si-photo--steps { aspect-ratio: 4 / 5; }
.si-photo--steps img { height: 100%; object-position: 50% 18%; }
.si-photo-wide { margin-top: 2.5rem; }
.si-photo-wide .si-photo { aspect-ratio: 16 / 7; }
.si-photo-wide img { height: 100%; object-position: 36% 0%; }
.si-cta-photo { align-items: center; }
@media (min-width: 1024px) { .si-cta-photo { grid-template-columns: 200px minmax(0, 1fr) auto !important; gap: 3rem !important; } }
.si-photo--cta { width: 200px; aspect-ratio: 4 / 5; }
.si-photo--cta img { height: 100%; object-position: 50% 18%; }
@media (max-width: 1023px) { .si-photo--cta { width: 160px; } }

/* ---------- Header mega menu: Procedures (brief pages) ---------- */
.si-mega { position: static; display: flex; align-self: stretch; }
.si-mega__top { display: inline-flex; align-items: center; gap: .35rem; height: 78px; }
.si-mega__chev { transition: transform .2s; opacity: .7; }
.si-mega__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--background);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -20px rgb(0 0 0 / .18);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.si-mega:hover .si-mega__panel, .si-mega:focus-within .si-mega__panel, .si-mega.is-open .si-mega__panel {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.si-mega:hover .si-mega__chev, .si-mega.is-open .si-mega__chev { transform: rotate(180deg); }
.si-mega.is-closed .si-mega__panel { opacity: 0 !important; visibility: hidden !important; }
.si-mega__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .65fr) minmax(0, 1fr) minmax(0, .95fr); gap: 2.5rem; padding-top: 2.25rem; padding-bottom: 2.5rem; }
.si-mega__title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-bottom: .75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--border); }
.si-mega__col ul { list-style: none; margin: 0; padding: 0; }
.si-mega__col li a { display: block; padding: .45rem 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; color: var(--foreground); transition: color .15s, transform .15s; }
.si-mega__col li a:hover, .si-mega__col li a:focus-visible { color: var(--gold); transform: translateX(3px); }
.si-mega__col li a[aria-current] { color: var(--gold); }
.si-mega__aside { background: var(--secondary); padding: 1.25rem 1.5rem; align-self: start; }
.si-mega__aside .si-mega__title { border-color: color-mix(in srgb, var(--foreground) 12%, transparent); }
.si-mega__all, .si-mega__book { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: 12px; letter-spacing: .06em; }
.si-mega__all { padding: .6rem 0; color: var(--foreground); }
.si-mega__all:hover { color: var(--gold); }
.si-mega__book { margin-top: .75rem; padding: .8rem 1rem; background: var(--primary); color: var(--primary-foreground); }
.si-mega__book:hover { background: color-mix(in srgb, var(--primary) 85%, transparent); }
/* Mobile menu groups */
.si-mnav__group { border-bottom: 1px solid var(--border); }
.si-mnav__group > summary { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; font-size: .875rem; cursor: pointer; list-style: none; }
.si-mnav__group > summary::-webkit-details-marker { display: none; }
.si-mnav__group > summary::after { content: "+"; color: var(--gold); font-size: 1.1rem; }
.si-mnav__group[open] > summary::after { content: "–"; }
.si-mnav__sub { padding: 0 0 .75rem .75rem; }
.si-mnav__sub p { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: .75rem 0 .25rem; }
.si-mnav__sub a { display: block; padding: .4rem 0; font-size: .875rem; color: var(--foreground); }
.si-hero-portrait { filter: drop-shadow(0 24px 30px rgb(40 30 20 / .12)); }

/* ---------- About > Academic: publications, citations, flipbook ---------- */
.si-acad-more { margin-top: 3.5rem; display: grid; gap: 3rem; max-width: 900px; }
.si-flipcta { position: relative; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; padding: 2.25rem; overflow: hidden;
  background: var(--primary); color: var(--primary-foreground); isolation: isolate; }
.si-flipcta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: radial-gradient(60% 90% at 15% 50%, color-mix(in srgb, var(--gold) 38%, transparent), transparent 70%); }
@media (min-width: 720px) { .si-flipcta { grid-template-columns: 220px 1fr; gap: 3rem; padding: 2.75rem 3rem; } }
.si-flipcta__book { position: relative; width: 190px; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 1200px; transform-style: preserve-3d; }
@media (min-width: 720px) { .si-flipcta__book { width: 210px; } }
.si-flipcta__book img { position: relative; display: block; width: 100%; height: auto; transform-origin: left center;
  transform: rotateY(-22deg); box-shadow: 18px 22px 40px rgb(0 0 0 / .45); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.si-flipcta__pages { position: absolute; top: 2%; bottom: 2%; right: -6px; width: 14px; transform-origin: left center; transform: rotateY(-22deg);
  background: repeating-linear-gradient(90deg, #f3eee6 0 1px, #d9d2c6 1px 2px); border-radius: 0 2px 2px 0; }
.si-flipcta__book:hover img, .si-flipcta__book:focus-visible img { transform: rotateY(-38deg) translateX(-4px); }
.si-flipcta__book:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; }
.si-flipcta .eyebrow { color: color-mix(in srgb, var(--primary-foreground) 70%, transparent); }
.si-flipcta__h { margin-top: .6rem; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; }
.si-flipcta__lead { margin-top: .9rem; max-width: 34rem; font-size: 14.5px; line-height: 1.7; color: color-mix(in srgb, var(--primary-foreground) 82%, transparent); }
.si-flipcta__actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.si-flipcta__btn { display: inline-flex; align-items: center; gap: .6rem; height: 46px; padding: 0 1.4rem; border: 0; cursor: pointer;
  background: var(--gold); color: var(--primary-foreground); font: 500 12px/1 Arial, sans-serif; letter-spacing: .08em; transition: background .2s; }
.si-flipcta__btn:hover { background: color-mix(in srgb, var(--gold) 85%, #000); }
.si-flipcta__link { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; letter-spacing: .06em; color: var(--primary-foreground);
  border-bottom: 1px solid color-mix(in srgb, var(--primary-foreground) 40%, transparent); padding-bottom: 2px; }
/* accordions */
.si-acad-lists { display: grid; gap: 0; border-top: 1px solid var(--border); }
.si-acc { border-bottom: 1px solid var(--border); }
.si-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.si-acc > summary::-webkit-details-marker { display: none; }
.si-acc__h { display: block; font-size: 1.55rem; line-height: 1.2; }
.si-acc__meta { display: block; margin-top: .3rem; font-size: 12.5px; color: var(--muted-foreground); letter-spacing: .02em; }
.si-acc__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; }
.si-acc__icon::before, .si-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform .2s; }
.si-acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.si-acc[open] .si-acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.si-publist { counter-reset: pub; list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .1rem; }
.si-publist li { counter-increment: pub; position: relative; padding: .8rem 0 .8rem 3rem; border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.si-publist li::before { content: counter(pub, decimal-leading-zero); position: absolute; left: 0; top: .8rem; font-family: Georgia, serif; color: var(--gold); }
.si-publist__title { color: var(--foreground); font-weight: 600; }
.si-cite { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1.5rem; }
.si-cite__paper { display: grid; gap: .2rem; padding-left: .9rem; border-left: 2px solid var(--gold); }
.si-cite__paper .font-display { font-size: 1.1rem; line-height: 1.35; }
.si-cite__paper span:last-child { font-size: 12.5px; color: var(--muted-foreground); }
.si-cite ul { list-style: none; margin: .6rem 0 0; padding: 0 0 0 .9rem; }
.si-cite ul li { position: relative; padding: .45rem 0 .45rem 1.1rem; font-size: 13.5px; line-height: 1.55; color: var(--muted-foreground); }
.si-cite ul li::before { content: "↳"; position: absolute; left: 0; color: var(--gold); }
.si-cite__t { color: var(--foreground); }
.si-cite__note { margin-bottom: 1.75rem; }
/* flipbook dialog */
.si-fb { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
  background: radial-gradient(circle at 50% 40%, #3a3129, #16120e 75%); color: #f5efe6; overflow: hidden; }
.si-fb::backdrop { background: rgb(0 0 0 / .6); }
.si-fb[open] { display: flex; flex-direction: column; }
.si-fb__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid rgb(255 255 255 / .08); }
.si-fb__title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #cdb48f; }
.si-fb__count { font-size: 12px; color: rgb(255 255 255 / .7); margin-left: auto; }
.si-fb__close { width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.si-fb__stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem; min-height: 0; }
.si-fb__nav { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .06);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, opacity .2s; }
.si-fb__nav:hover:not(:disabled) { background: rgb(255 255 255 / .16); }
.si-fb__nav:disabled { opacity: .25; cursor: default; }
.si-fb__hint { padding: 0 1rem 1rem; text-align: center; font-size: 11.5px; color: rgb(255 255 255 / .5); }
.si-fb__book { position: relative; height: var(--fb-h); perspective: 2600px; transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.si-fb__book.is-spread { width: calc(var(--fb-w) * 2); }
.si-fb__book.is-spread.is-closed-front { transform: translateX(calc(var(--fb-w) * -.5)); }
.si-fb__book.is-spread.is-closed-back { transform: translateX(calc(var(--fb-w) * .5)); }
.si-fb__leaf { position: absolute; top: 0; left: 50%; width: var(--fb-w); height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.3,.7,.2,1); cursor: pointer; }
.si-fb__leaf.is-flipped { transform: rotateY(-180deg); }
.si-fb__face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fbf8f3; color: #2a221b;
  box-shadow: 0 20px 50px rgb(0 0 0 / .45); }
.si-fb__face--back { transform: rotateY(180deg); }
.si-fb__face--front::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 26px; background: linear-gradient(90deg, rgb(0 0 0 / .12), transparent); pointer-events: none; }
.si-fb__face--back::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 26px; background: linear-gradient(270deg, rgb(0 0 0 / .12), transparent); pointer-events: none; }
.si-fb__book.is-single { width: var(--fb-w); perspective: 1800px; }
.si-fb__sheet { position: relative; width: 100%; height: 100%; transform-origin: left center; transition: transform .3s ease-in, opacity .3s; cursor: pointer; }
.si-fb__sheet .si-fb__face { position: absolute; }
.si-fb__sheet.is-out-next { transform: rotateY(-90deg); opacity: .4; }
.si-fb__sheet.is-out-prev { transform: rotateY(90deg); transform-origin: right center; opacity: .4; }
.si-fb__sheet.is-in-next, .si-fb__sheet.is-in-prev { transition: none; transform: rotateY(25deg); opacity: .6; }
.fb-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-page { height: 100%; padding: 9% 9% 8%; display: flex; flex-direction: column; gap: .7em; overflow: auto; font-size: clamp(11px, calc(var(--fb-h) / 52), 15px); line-height: 1.6; }
.fb-page h4 { font-size: 1.9em; line-height: 1.15; }
.fb-page h5 { margin-top: .6em; font: 700 .78em/1.3 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8a6a43; }
.fb-kicker { font-size: .72em; letter-spacing: .2em; text-transform: uppercase; color: #8a6a43; }
.fb-authors { font-size: 1.05em; color: #5a4c40; }
.fb-page dl { display: grid; grid-template-columns: auto 1fr; gap: .45em 1em; margin: .6em 0; font-size: .92em; }
.fb-page dt { color: #8a7a6a; }
.fb-page dd { margin: 0; }
.fb-page a { color: #7a5a33; text-decoration: underline; }
.fb-tags { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; padding: 0; margin: 0; }
.fb-tags li { padding: .25em .7em; border: 1px solid #d8cdbf; font-size: .82em; }
.fb-small { margin-top: auto; font-size: .78em; color: #8a7a6a; }
.fb-page--read, .fb-page--back { justify-content: center; text-align: center; align-items: center; }
.fb-btn { display: inline-flex; align-items: center; gap: .5em; margin-top: .8em; padding: .85em 1.3em; background: #2a221b; color: #fff !important;
  text-decoration: none !important; font: 500 .82em/1 Arial, sans-serif; letter-spacing: .08em; border: 0; cursor: pointer; }
.fb-page--back { background: #2a221b; color: #f5efe6; }
.fb-page--back .fb-kicker { color: #cdb48f; }
.fb-brand { font-size: 1.9em; letter-spacing: .16em; }
.fb-btn--light { background: #cdb48f; color: #2a221b !important; }
@media (max-width: 899px) { .si-fb__nav { position: absolute; bottom: 3.2rem; } .si-fb__nav--prev { left: 1rem; } .si-fb__nav--next { right: 1rem; } .si-fb__stage { padding-bottom: 4.5rem; } }
@media (prefers-reduced-motion: reduce) { .si-fb__leaf, .si-fb__book, .si-fb__sheet, .si-flipcta__book img { transition: none !important; } }
@media (max-width: 600px) { .si-fb__title { display: none; } }

/* ---------- Journal landing (FINAL v1) ---------- */
.jr-hero { background: var(--background); padding: 2.5rem 0 3.5rem; }
.jr-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .jr-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 5rem; } }
.jr-hero__h1 { margin-top: 1rem; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.04; }
.jr-hero__lead { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; }
.jr-hero__body { margin-top: 1rem; max-width: 36rem; font-size: 15px; line-height: 1.75; color: var(--muted-foreground); }
.jr-hero__media { margin: 0; max-width: 340px; justify-self: end; aspect-ratio: 4 / 5; overflow: hidden; background: var(--secondary); }
.jr-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@media (max-width: 1023px) { .jr-hero__media { justify-self: start; max-width: 260px; } }
.jr-sec { padding: 3.5rem 0; border-top: 1px solid var(--border); background: var(--background); }
.jr-sec--nav { padding: 2rem 0; }
.jr-sec--tint { background: var(--secondary); }
.jr-h2 { margin-top: .6rem; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.1; }
.jr-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.jr-chip { height: 42px; padding: 0 1.1rem; border: 1px solid var(--border); background: var(--background); color: var(--foreground);
  font: 13px/1 Arial, sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.jr-chip:hover { border-color: var(--foreground); }
.jr-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.jr-featured { margin-top: 2rem; }
.jr-fcard { display: grid; gap: 2rem; padding: 2rem; background: var(--secondary); color: var(--foreground); align-items: center; }
@media (min-width: 900px) { .jr-fcard { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding: 2.75rem; gap: 3rem; } }
.jr-fcard h3 { margin-top: .8rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.jr-fcard p:not(.jr-meta) { margin-top: 1rem; font-size: 15px; line-height: 1.7; color: var(--muted-foreground); }
.jr-fcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.jr-fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.jr-fcard:hover .jr-fcard__img img { transform: scale(1.03); }
.jr-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.jr-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: 13px; font-weight: 600; color: var(--foreground); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.jr-count { margin-top: .6rem; font-size: 13px; color: var(--muted-foreground); min-height: 1em; }
.jr-grid { display: grid; gap: 2.5rem 2rem; margin-top: 2rem; }
@media (min-width: 640px) { .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .jr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jr-grid[aria-busy="true"] { opacity: .6; }
.jr-card { display: block; color: var(--foreground); }
.jr-card__img { aspect-ratio: 1.45; overflow: hidden; background: var(--secondary); margin-bottom: 1.1rem; }
.jr-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.jr-card:hover .jr-card__img img { transform: scale(1.04); }
.jr-card__img--type { display: flex; align-items: flex-end; padding: 1.25rem; }
.jr-card__img--type span { font-size: 1.4rem; color: var(--muted-foreground); }
.jr-card h3 { margin-top: .55rem; font-size: 1.35rem; line-height: 1.25; transition: color .2s; }
.jr-card:hover h3 { color: var(--gold); }
.jr-card__ex { margin-top: .6rem; font-size: 14px; line-height: 1.65; color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jr-more { margin-top: 2.5rem; text-align: center; }
.jr-btn-line { height: 46px; padding: 0 1.6rem; border: 1px solid var(--foreground); background: transparent; color: var(--foreground); font: 12px/1 Arial, sans-serif; letter-spacing: .08em; cursor: pointer; }
.jr-btn-line:hover { background: var(--foreground); color: var(--background); }
.jr-empty { color: var(--muted-foreground); }
.jr-topics { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--border); }
.jr-topic-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto auto; align-items: center; gap: 1.5rem; width: 100%; padding: 1.3rem .25rem;
  border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--foreground); text-align: left; cursor: pointer; }
.jr-topic-row .font-display { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.jr-topic-row__n { font-size: 13px; color: var(--muted-foreground); }
.jr-topic-row svg { color: var(--gold); transition: transform .2s; }
.jr-topic-row:hover svg { transform: translateX(4px); }
.jr-narrow { max-width: 820px; }
.jr-body { margin-top: 1rem; font-size: 16px; line-height: 1.8; color: var(--muted-foreground); }
.jr-cta { background: var(--primary); color: var(--primary-foreground); padding: 4rem 0; }
.jr-cta .eyebrow { color: color-mix(in srgb, var(--primary-foreground) 70%, transparent); }
.jr-cta__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .jr-cta__grid { grid-template-columns: 1fr auto; } }
.jr-cta__h { margin-top: .6rem; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; }
.jr-cta__body { margin-top: .9rem; max-width: 36rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--primary-foreground) 78%, transparent); }
.jr-btn { display: inline-flex; align-items: center; gap: .6rem; height: 48px; padding: 0 1.6rem; background: var(--background); color: var(--foreground); font: 500 12px/1 Arial, sans-serif; letter-spacing: .08em; }
.jr-btn:hover { background: color-mix(in srgb, var(--background) 85%, transparent); }
/* ---------- Article Page Template ---------- */
.ja { background: var(--background); }
.ja-narrow { max-width: 820px; }
.ja-hero { padding: 2.5rem 0 2rem; }
.ja-h1 { margin-top: 1rem; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; }
.ja-meta { display: flex; flex-wrap: wrap; gap: .5rem .7rem; margin-top: 1.3rem; font-size: 13px; color: var(--muted-foreground); }
.ja-meta a { color: var(--muted-foreground); border-bottom: 1px solid var(--border); }
.ja-meta a:hover { color: var(--gold); }
.ja-lead { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--foreground); }
.ja-figure { margin: 1rem auto 0; max-width: 1100px; }
.ja-figure img { width: 100%; max-height: 560px; object-fit: cover; }
.ja-body { padding: 2.5rem 0 3rem; font-size: 16.5px; line-height: 1.8; }
.ja-body h2 { font-family: Georgia, serif; font-size: 1.9rem; line-height: 1.2; margin: 2.4rem 0 .9rem; }
.ja-body h3 { font-family: Georgia, serif; font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.ja-body p { margin: 0 0 1.1rem; }
.ja-body ul, .ja-body ol { margin: 0 0 1.2rem 1.3rem; }
.ja-body li { margin: .35rem 0; }
.ja-body ul { list-style: disc; } .ja-body ol { list-style: decimal; }
.ja-body img { max-width: 100%; height: auto; margin: 1.5rem 0; }
.ja-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 14.5px; }
.ja-body th, .ja-body td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.ja-body blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--gold); font-family: Georgia, serif; font-size: 1.2rem; }
.ja-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.ja-sec { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.ja-h3 { margin-top: .6rem; font-size: 1.7rem; }
.ja-author { display: flex; gap: 1.5rem; align-items: center; margin-top: 1.2rem; }
.ja-author img { width: 96px; height: 120px; object-fit: cover; object-position: 50% 15%; flex: none; }
.ja-author__name { font-size: 1.5rem; }
.ja-author__cred { margin-top: .4rem; font-size: 14px; color: var(--muted-foreground); }
.ja .jr-grid--3 { margin-top: 1.5rem; }
.pp-crumbs { border-bottom: 1px solid var(--border); background: var(--background); }
.pp-crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: .85rem; font-size: 11px; color: var(--muted-foreground); list-style: none; margin-block: 0; }
.pp-crumbs li + li::before { content: "›"; margin-right: .5rem; opacity: .6; }
.pp-crumbs a:hover { color: var(--gold); }
.pp-crumbs [aria-current] { color: var(--foreground); }
.ja .pp-crumbs li:last-child { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Home Page brief v2 ---------- */
.si-h1-sub { display: block; margin-top: .35em; font-size: .42em; line-height: 1.2; color: var(--muted-foreground); }
.si-cred__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .si-cred__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.si-cred__cell { padding: 1.4rem 1rem; text-align: center; font-size: 14px; line-height: 1.45; color: var(--foreground); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.si-cred__cell:nth-child(2n) { border-right: 0; }
@media (min-width: 1024px) { .si-cred__cell:nth-child(2n) { border-right: 1px solid var(--border); } .si-cred__cell:last-child { border-right: 0; } }
@media (max-width: 1023px) { .si-cred__cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.si-j7 { background: var(--secondary); padding: 4.5rem 0; border-top: 1px solid var(--border); }
.si-j7__head { text-align: center; max-width: 40rem; margin: 0 auto; }
.si-j7__h2 { margin-top: .6rem; font-size: clamp(2.2rem, 3.6vw, 3rem); }
.si-j7__intro { margin-top: .8rem; color: var(--muted-foreground); font-size: 15px; }
.si-j7__steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.75rem; position: relative; }
@media (min-width: 1024px) {
  .si-j7__steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
  .si-j7__steps::before { content: ""; position: absolute; top: 15px; left: 4%; right: 4%; height: 1px; background: color-mix(in srgb, var(--foreground) 22%, transparent); }
}
.si-j7__step { position: relative; text-align: center; }
.si-j7__n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--foreground) 35%, transparent); background: var(--secondary); font-size: 11px; }
.si-j7__img { margin: .9rem auto 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.si-j7__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.si-j7__step h3 { margin-top: .8rem; font-size: 1.05rem; }
.si-j7__step p { margin-top: .35rem; font-size: 12.5px; line-height: 1.5; color: var(--muted-foreground); }
@media (max-width: 1023px) {
  .si-j7__step { display: grid; grid-template-columns: 31px 110px 1fr; grid-template-rows: auto 1fr; gap: 0 1rem; text-align: left; align-items: start; }
  .si-j7__step .si-j7__n { grid-row: 1 / 3; }
  .si-j7__step .si-j7__img { grid-row: 1 / 3; grid-column: 2; margin: 0; }
  .si-j7__step h3, .si-j7__step p { grid-column: 3; margin-top: 0; }
  .si-j7__steps::before { content: ""; position: absolute; top: 15px; bottom: 15px; left: 15px; width: 1px; background: color-mix(in srgb, var(--foreground) 22%, transparent); }
}
.si-j7__note { margin-top: 2.5rem; text-align: center; font-size: 13.5px; color: var(--muted-foreground); }
.si-j7__more { margin-top: .8rem; text-align: center; }
.jr-topic-row__d { font-size: 13.5px; color: var(--muted-foreground); }
@media (max-width: 639px) { .jr-topic-row { grid-template-columns: 1fr auto; } .jr-topic-row__d, .jr-topic-row__n { grid-column: 1; } .jr-topic-row svg { grid-row: 1 / 4; grid-column: 2; } }
.jr-hero__media img { object-position: 50% 30%; }
.ja-author img { object-position: 50% 25%; }
