/* eko-cistila.si - shared stylesheet for all pages.
   Sections: fonts, tokens, base, header, hero, layout, components, footer. */

/* ---------- Fonts ----------
   Eko Sans = Lato 2.015 by Lukasz Dziedzic, cut down to Latin and Latin
   Extended-A (c, s, z with caron and the rest of Central Europe) and renamed,
   as the SIL Open Font License requires for a modified font with a reserved
   name. Licence: /assets/fonts/OFL.txt. Google Fonts serves Lato 1.0, which
   has no c with caron. */
@font-face { font-family: "Eko Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/eko-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Eko Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/eko-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Eko Sans"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("/assets/fonts/eko-sans-900.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #12263f;
  --ink: #23364d;
  --muted: #56677a;
  --blue: #1573b6;
  --blue-dark: #0f5c94;
  --line: #d9e2ec;
  --soft: #f3f7fb;
  --white: #fff;
  /* product accent, overridden per page with a body class */
  --accent: #2f6fd6;
  --accent-tint: #dce9fa;
  --bullet: url("/assets/img/ikona-blu-modra.webp");
  --wrap: 1140px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(18, 38, 63, .10);
}
.product-841 { --accent: #2f6fd6; --accent-tint: #dce9fa; --bullet: url("/assets/img/ikona-blu-modra.webp"); }
.product-803 { --accent: #b3257f; --accent-tint: #f7deee; --bullet: url("/assets/img/ikona-blu-vijolicna.webp"); }
.product-861 { --accent: #c79a00; --accent-tint: #fdf3c7; --bullet: url("/assets/img/ikona-blu-rumena.webp"); }
.product-845 { --accent: #4b9a22; --accent-tint: #e2f2d5; --bullet: url("/assets/img/ikona-blu-zelena.webp"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: "Eko Sans", "Helvetica Neue", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid #f5a524; outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; padding-block: .55rem; }
.logo { display: block; }
.logo img { width: 132px; }
.nav-toggle { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: none; border: 2px solid var(--navy);
  border-radius: 8px; padding: .5rem .8rem; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; grid-column: 1 / -1; }
.nav-left { margin-top: .6rem; border-top: 1px solid var(--line); }
.nav-list a, .nav-list button { display: flex; align-items: center; gap: .45rem; width: 100%; padding: .8rem .2rem; font: inherit; font-weight: 700;
  font-size: .9rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--navy); background: none; border: 0;
  border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.nav-list a:hover, .nav-list button:hover, .nav-list [aria-current="page"] { color: var(--blue); }
.nav-list svg { width: 17px; height: 17px; flex: none; }
.sub { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.has-sub .chev { width: 12px; height: 12px; margin-left: auto; transition: transform .2s; }
.has-sub.open .chev { transform: rotate(180deg); }
/* Small screens: menu and product list collapse only when the script is running (html.js). */
@media (max-width: 899px) {
  html.js .nav-list { display: none; }
  html.js .nav.open .nav-list { display: block; }
  html.js .has-sub:not(.open) .sub { display: none; }
  html:not(.js) .nav-toggle, html:not(.js) .has-sub .chev { display: none; }
}

@media (min-width: 900px) {
  .nav { grid-template-columns: 1fr auto 1fr; column-gap: 2.2rem; padding-block: .7rem; }
  .nav-toggle { display: none; }
  .logo { order: 2; }
  .logo img { width: 168px; }
  .nav-list, .nav.open .nav-list { display: flex; align-items: center; gap: 2rem; grid-column: auto; margin: 0; border: 0; }
  .nav-left { order: 1; justify-content: flex-end; }
  .nav-right { order: 3; justify-content: flex-start; }
  .nav-list > li { position: relative; }
  .nav-list a, .nav-list button { width: auto; padding: .9rem 0; border: 0; border-bottom: 3px solid transparent; }
  .nav-list > li > a:hover, .nav-list > li > [aria-current="page"], .has-sub.current > button { border-bottom-color: var(--blue); }
  .has-sub .chev { margin-left: 0; }
  .sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 250px; padding: .4rem 0; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transition: opacity .15s; }
  /* open state is set by the script; hover and focus are the fallback without it */
  .has-sub.open .sub, html:not(.js) .has-sub:hover .sub, html:not(.js) .has-sub:focus-within .sub { visibility: visible; opacity: 1; }
  .sub a { padding: .65rem 1.1rem; border: 0; font-size: .82rem; white-space: nowrap; }
  .sub a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--blue)); flex: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--navy);
  aspect-ratio: 16 / 9; max-height: max(420px, 78vh); min-height: 250px; width: 100%; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-title { position: relative; margin: 0; padding: 0 1rem; text-align: center; color: #fff; }
.hero-title h1 { display: inline-block; margin: 0; padding: .12em .45em; color: #fff; font-weight: 400; text-transform: uppercase;
  letter-spacing: .02em; font-size: clamp(1.7rem, 1rem + 4.2vw, 4.2rem); line-height: 1.1; background: rgba(18, 38, 63, .62); border-radius: 6px; }
.hero-title p { display: table; margin: .6rem auto 0; padding: .25em .8em; font-size: clamp(1rem, .85rem + .9vw, 1.5rem); line-height: 1.3;
  background: rgba(18, 38, 63, .62); border-radius: 6px; }

/* ---------- Layout ---------- */
.section { padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.section-tint { background: var(--accent-tint); }
.section-soft { background: var(--soft); }
.cols { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); }
@media (min-width: 800px) {
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-2-1 { grid-template-columns: 2fr 1fr; align-items: center; }
}
/* heading followed by a rule, as on the original product pages */
.ruled { display: flex; align-items: center; gap: 1rem; }
.ruled::after { content: ""; flex: 1; max-width: 220px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Components ---------- */
.btn { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.3rem; font-weight: 900; font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: #fff; background: var(--navy); border: 2px solid var(--navy); border-radius: 8px;
  transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: #fff; color: var(--navy); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

.lead { font-size: 1.1rem; font-weight: 700; color: var(--navy); }

/* list with the BLU mark as bullet */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: .28rem 0 .28rem 2.3rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 1.45rem; height: 1.45rem; background: var(--bullet) center / contain no-repeat; }

/* product cards on the home page */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .products { grid-template-columns: repeat(4, 1fr); gap: 1.8rem; } }
.product-card a { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 1.4rem 1rem 1.2rem; text-decoration: none; text-align: center;
  color: var(--navy); background: #fff; border: 1px solid var(--line); border-bottom: 5px solid var(--accent); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s; }
.product-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: min(100%, 170px); }
.product-card h2 { margin: 1rem 0 0; font-size: 1.15rem; font-weight: 700; }

/* counters */
.stats { display: grid; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; } }
.stat { padding: 1.3rem 1rem; text-align: center; border: 2px solid var(--navy); border-radius: var(--radius); color: var(--navy); }
.stat-num { display: flex; align-items: center; justify-content: center; gap: .7rem; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-num svg { width: 1.1em; height: 1.1em; flex: none; }
.stat-label { display: block; margin-top: .35rem; font-weight: 700; }

/* photo tiles on the home page */
.tiles { display: grid; gap: 1rem; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden; border-radius: var(--radius); background: var(--navy);
  color: #fff; text-decoration: none; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.tile:hover > img { transform: scale(1.04); }
.tile-body { position: relative; width: 100%; padding: 4rem 1.5rem 1.4rem; background: linear-gradient(to top, rgba(12, 28, 48, .92) 35%, rgba(12, 28, 48, 0)); }
.tile-body h2 { margin: 0 0 .4rem; color: #fff; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
.tile-body p { margin: 0; font-weight: 700; line-height: 1.55; }
a.tile:hover { color: #fff; }
.tile-photo { min-height: 240px; }
@media (max-width: 799px) { .tile-photo { display: none; } }
@media (min-width: 800px) {
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .tile { min-height: 340px; }
  .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
  .tile-banner { min-height: 220px; align-items: center; }
  .tile-banner .tile-body { padding: 2rem 2.2rem; height: 100%; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(to right, rgba(12, 28, 48, .9) 30%, rgba(12, 28, 48, .15)); }
  .tile-banner .tile-body p { max-width: 34rem; }
}

/* testimonials */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 22%; }
.quote-body { padding: 1.4rem 1.5rem 1.6rem; }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .95rem; color: var(--muted); }
.quote figcaption strong { display: block; font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; color: var(--navy); }

/* product page */
.packshot { justify-self: center; width: min(100%, 380px); }
.pictos { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.pictos img { width: 96px; height: 96px; border-radius: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px solid var(--navy); font-size: .95rem; }
.footer-cols { display: grid; gap: 2rem; padding-block: 2.8rem; text-align: center; }
@media (min-width: 800px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { font-size: .85rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer p { margin: 0 0 .25rem; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 190px; }
.slogan { font-weight: 700; color: var(--navy); margin-bottom: 1rem !important; }
.contact a { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact .k { color: #3d7f1c; font-weight: 700; }
.social { display: flex; justify-content: center; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--navy); border-radius: 8px; transition: background .15s; }
.social a:hover { background: var(--blue); }
.social svg { width: 20px; height: 20px; }
.legal { margin: 0; padding: 1.1rem 1rem; text-align: center; font-size: .82rem; color: var(--ink); background: var(--soft); border-top: 1px solid var(--line); }
.legal a { color: inherit; }

/* two-column bullet list on wide screens */
@media (min-width: 800px) { .two-col { columns: 2; column-gap: 3rem; } .two-col li { break-inside: avoid; } }

/* hero variant: title at the top so the illustration's subject stays visible */
.hero-top { place-items: start center; }
.hero-top > img { object-position: 50% 82%; }
.hero-top .hero-title { margin-top: clamp(.9rem, 4vw, 2.6rem); }
.tile-face-top > img { object-position: 50% 18%; }
.ruled::after { min-width: 1.5rem; }

/* ---------- Story, detail and how-it-works pages ---------- */
/* anchored sections clear the sticky header */
[id] { scroll-margin-top: 110px; }
.hero-long .hero-title h1 { font-size: clamp(1.35rem, .9rem + 2.7vw, 3.1rem); }
.hero-title p strong { font-weight: 900; }

/* heading with one emphasised word: regular weight plus <strong> */
.duo { font-weight: 400; }
.duo strong { font-weight: 900; }

/* text beside a photo, alternating sides */
.media { display: grid; gap: 1.5rem; align-items: center; }
.media + .media { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.media-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 800px) {
  .media { grid-template-columns: 3fr 2fr; gap: 3.5rem; }
  .media.flip { grid-template-columns: 2fr 3fr; }
  .media.flip .media-img { order: -1; }
  .media.top { align-items: start; }
  .span-3 { grid-column: span 3; }
}

/* price table */
.table-scroll { overflow-x: auto; margin: 1.5rem 0 .6rem; }
.prices { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; text-align: center; }
.prices th, .prices td { padding: .6rem .7rem; border: 2px solid #fff; }
.prices thead th { color: #fff; background: var(--navy); font-size: .76rem; letter-spacing: .06em; }
.prices tbody tr { background: var(--accent-tint); }
.prices tbody th { text-align: left; font-weight: 700; color: var(--navy); border-left: 6px solid var(--accent); }
.note { font-size: .92rem; }

/* dosing options */
.dosing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.dosing figure { margin: 0; text-align: center; }
.dosing figcaption { font-weight: 700; color: var(--navy); }
.dosing img { margin-inline: auto; width: min(100%, 210px); }

/* video: poster link that is swapped for the player on click */
.video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 78px; height: 78px; color: #fff;
  background: rgba(18, 38, 63, .88); border-radius: 50%; transition: transform .2s, background .2s; }
.video:hover .play { transform: scale(1.08); background: var(--blue); }
.video .play svg { width: 30px; height: 30px; margin-left: 4px; }
@media (min-width: 800px) { .tiles .video { aspect-ratio: auto; height: 100%; min-height: 340px; } }
.tile-title .tile-body h2 { margin: 0; }

/* 404 */
.notfound { text-align: center; }
.notfound .code { margin: 0; font-size: clamp(4rem, 3rem + 8vw, 8rem); font-weight: 900; line-height: 1; color: var(--blue); }
/* grid children may shrink below their content width (keeps the price table scrollable on phones) */
.media > *, .cols > * { min-width: 0; }

/* stand-alone video block (home page) */
.video-wrap { max-width: 920px; margin-top: clamp(2rem, 1.2rem + 3.5vw, 3.5rem); }

/* ---------- Additions: secondary button, button rows, related products, intro ---------- */
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { color: #fff; background: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; margin: 2rem 0 0; }
.product-card h3 { margin: 1rem 0 0; font-size: 1.15rem; font-weight: 700; }
.products-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 1.6rem; }
@media (min-width: 800px) { .products-3 { grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; } }
.intro { max-width: 46rem; margin: 0 auto clamp(1.8rem, 1.2rem + 2.5vw, 3rem); font-size: 1.15rem; text-align: center; color: var(--navy); }
.tile-body h2 + p { margin-top: .4rem; }

/* ---------- Znanje (pages under /znanje/ are generated by tools/build.py) ---------- */
.nav-list a.current { color: var(--blue); }
@media (min-width: 900px) { .nav-list > li > a.current { border-bottom-color: var(--blue); } }
.wrap.narrow { --wrap: 46rem; }

/* hero: text beside a photo */
.khero { background: linear-gradient(100deg, #e9f2fb 0%, #f5f9fd 55%, #fff 100%); border-bottom: 1px solid var(--line); }
.khero-grid { display: grid; gap: 1.8rem; align-items: center; padding-block: clamp(2rem, 1.2rem + 4vw, 4rem); }
.khero h1 { margin-bottom: .2em; font-size: clamp(2.5rem, 1.7rem + 4vw, 4.2rem); font-weight: 900; }
.khero-lead { max-width: 24em; font-size: clamp(1.15rem, 1rem + .9vw, 1.55rem); font-weight: 700; line-height: 1.35; color: var(--blue-dark); }
.khero-text > p { max-width: 34em; }
.khero-text > p:last-child { margin: 1.6rem 0 0; }
.khero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .khero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .khero-photo img { border-radius: 140px var(--radius) var(--radius) 140px; }
}

/* topic cards */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.topic { display: flex; gap: 1.1rem; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(18, 38, 63, .05); }
.topic-icon, .usp-icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; color: var(--blue-dark); background: #e3eefa; border-radius: 50%; }
.topic-icon svg { width: 34px; height: 34px; }
.topic h2 { margin-bottom: .35em; font-size: 1.25rem; }
.topic p { margin: 0; font-size: .98rem; line-height: 1.55; }
.topic .more { margin-top: .8rem; }
.more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more svg { width: 18px; height: 18px; flex: none; }

/* article cards */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.3rem; }
.section-head h2 { margin: 0; }
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.acard a { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.acard a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acard img, .acard-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.acard-ph { display: grid; place-items: center; color: var(--blue-dark); background: #e3eefa; }
.acard-ph svg { width: 64px; height: 64px; }
.acard-body { display: flex; flex: 1; flex-direction: column; gap: .45rem; padding: 1rem 1.1rem 1.1rem; }
.acard-tag { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.acard h2, .acard h3 { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.acard-meta { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .3rem; font-size: .85rem; color: var(--muted); }
.acard-meta svg, .article-meta svg { width: 16px; height: 16px; flex: none; }

/* Makom banner and the row of four points below it */
.cta-band { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.3rem, 1rem + 2vw, 2.4rem); background: linear-gradient(100deg, #e3eefa, #f5f9fd);
  border: 1px solid var(--line); border-radius: 16px; }
.cta-band h2 { color: var(--blue-dark); }
.cta-band p:last-child { margin: 1.4rem 0 0; }
.cta-img { display: flex; align-items: flex-end; justify-content: center; gap: .4rem; padding: 1.2rem 1rem; background: #fff; border-radius: 12px; }
.cta-img img { width: 22%; max-width: 104px; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 2fr 3fr; gap: 2.5rem; } }
.usps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.3rem; list-style: none; margin: 2.2rem 0 0; padding: 0; }
.usp { display: flex; align-items: flex-start; gap: .9rem; }
.usp-icon { width: 48px; height: 48px; }
.usp-icon svg { width: 26px; height: 26px; }
.usp p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.usp strong { display: block; font-size: 1rem; color: var(--navy); }

/* article list, topic list and article */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--muted); }
.page-title, .article h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 900; }
.page-intro { max-width: 46rem; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.2rem 0 1.8rem; padding: 0; }
.chips a { display: inline-block; padding: .3rem .95rem; font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; }
.chips a:hover { border-color: var(--blue); }
.chips [aria-current="page"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.article-head { padding-top: clamp(1.8rem, 1.2rem + 3vw, 3.2rem); }
.article h1 { margin-bottom: .4em; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; font-size: .92rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-figure { --wrap: 60rem; margin-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.prose img { width: auto; max-height: 30rem; margin-inline: auto; border-radius: var(--radius); }
.prose { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.35rem, 1.15rem + .9vw, 1.7rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4rem; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; font-size: 1.12rem; color: var(--navy); border-left: 4px solid var(--blue); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { margin-top: .5em; font-size: .88rem; text-align: center; color: var(--muted); }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .55rem .7rem; text-align: left; border-bottom: 1px solid var(--line); }
.prose thead th { color: var(--navy); border-bottom: 2px solid var(--navy); }
.draft-note { margin-bottom: 1.2rem; padding: .6rem 1rem; font-weight: 700; color: #5c4300; background: #fff4d6; border: 1px solid #e6c36a; border-radius: 8px; }
