/* bp-ungdom.dk – theme
   Look and feel: teal headings, orange call-to-action, dark slate bands, light grey menu bar
   (direction taken from pfannenhelden.de). Font: Noto Sans (SIL OFL), self-hosted. */

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/noto-sans-latin-wght.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/noto-sans-latin-ext-wght.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --teal: #1b87a6;
  --teal-700: #136a83;
  --teal-50: #e8f4f7;
  --teal-100: #d3eaf0;
  --slate: #2a444c;
  --slate-900: #1f363d;
  --orange: #ee8434;
  --orange-700: #d46c1d;
  --orange-50: #fdf1e6;
  --ink: #20292e;
  --text: #2c363c;
  --muted: #5d6a71;
  --line: #e1e7ea;
  --soft: #f5f7f8;
  --white: #fff;
  --green: #2f8a57;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(20, 45, 52, 0.06), 0 8px 24px rgba(20, 45, 52, 0.07);
  --shadow-lg: 0 2px 6px rgba(20, 45, 52, 0.08), 0 18px 40px rgba(20, 45, 52, 0.12);
  --font: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 500; color: var(--teal); line-height: 1.3; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.45rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 1.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--slate); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--text { max-width: 800px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.label { font-weight: 600; color: var(--ink); }
.nowrap { white-space: nowrap; }

.i { width: 22px; height: 22px; flex: none; }
.i--lg { width: 30px; height: 30px; }
.i--sm { width: 17px; height: 17px; }
.i--xs { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 2px solid transparent; border-radius: 4px; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s; }
.btn--cta { background: var(--orange); color: #fff; box-shadow: 0 2px 0 var(--orange-700); }
.btn--cta:hover { background: var(--orange-700); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-700); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--teal-100); color: var(--teal-700); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-700); background: var(--teal-50); }
.btn--sm { padding: 7px 12px; font-size: 0.85rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn .i--sm { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.link-arrow:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; color: var(--slate); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }

/* ---------- top bar ---------- */
.topbar { background: var(--orange); color: #fff; font-size: 0.86rem; font-weight: 600; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0; padding: 8px 20px; text-align: center; line-height: 1.4; }
.topbar a { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */
.site-header { background: #fff; }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--teal); flex: none; }
.logo:hover { color: var(--teal); }
.logo__mark { width: 84px; height: 56px; }
.logo__divider { width: 1.5px; height: 46px; background: currentColor; opacity: 0.55; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-size: 1.55rem; font-weight: 500; letter-spacing: 0.01em; }
.logo__tld { color: var(--orange); }
.logo__tag { font-size: 0.78rem; font-style: italic; color: var(--muted); letter-spacing: 0.02em; margin-top: 4px; }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }
.logo--light .logo__tag { color: rgba(255, 255, 255, 0.7); }
.header__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header__link { font-size: 1.05rem; text-decoration: none; padding: 8px 4px; }
.header__link:hover { text-decoration: underline; }
.header__menu { display: none; }

/* search */
.search { position: relative; display: flex; flex: 1; max-width: 400px; }
.search__input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d6dde1; border-right: 0; border-radius: 4px 0 0 4px; font: inherit; font-size: 0.95rem; color: var(--ink); background: #fff; }
.search__input::placeholder { color: #7b878d; }
.search__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.search__btn { display: grid; place-items: center; width: 52px; height: 46px; border: 1px solid #d6dde1; border-radius: 0 4px 4px 0; background: var(--soft); color: var(--slate); cursor: pointer; }
.search__btn:hover { background: var(--teal-50); color: var(--teal-700); }
.search__results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.search__results a, .search__results p { display: block; padding: 10px 14px; margin: 0; text-decoration: none; border-bottom: 1px solid var(--line); line-height: 1.35; }
.search__results a:last-child { border-bottom: 0; }
.search__results a:hover, .search__results a:focus { background: var(--teal-50); outline: none; }
.search__results .sr-title { display: block; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.search__results .sr-meta { display: block; font-size: 0.8rem; color: var(--muted); }
.search__results p { color: var(--muted); font-size: 0.9rem; }

/* ---------- main menu bar ---------- */
.mainnav { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.mainnav__list { display: flex; list-style: none; gap: 4px; }
.mainnav__list > li { position: relative; }
.mainnav__link { display: flex; align-items: center; gap: 8px; padding: 15px 16px 13px; border-bottom: 3px solid transparent; color: #3e4c53; font-size: 0.97rem; text-decoration: none; white-space: nowrap; }
.mainnav__link .i { color: #6f7d84; }
.mainnav__link:hover, .mainnav__link.is-active { color: var(--teal-700); }
.mainnav__link:hover .i, .mainnav__link.is-active .i { color: var(--teal); }
.mainnav__link.is-active { border-bottom-color: var(--teal); }
.mainnav__chev { transition: transform 0.15s; }
.dropdown { position: absolute; top: 100%; left: 0; padding-top: 4px; display: none; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.has-dropdown:hover .mainnav__chev { transform: rotate(180deg); }
.dropdown__panel { display: grid; grid-auto-flow: column; gap: 28px; min-width: 260px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.dropdown__title { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.dropdown__group ul { list-style: none; }
.dropdown__group a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 0.95rem; }
.dropdown__group a:hover, .dropdown__group a[aria-current] { color: var(--teal); }

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(23, 40, 45, 0.5); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); padding: 16px 20px 28px; background: #fff; overflow-y: auto; box-shadow: var(--shadow-lg); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__top .logo__mark { width: 56px; height: 38px; }
.drawer__top .logo__name { font-size: 1.2rem; }
.drawer__top .logo__divider { height: 36px; }
.drawer .search { max-width: none; margin-bottom: 16px; }
.drawer__list { list-style: none; border-top: 1px solid var(--line); }
.drawer__list a { display: flex; align-items: center; gap: 10px; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.drawer__list .i { color: var(--teal); }
.drawer__title { margin: 22px 0 6px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.drawer__guides { list-style: none; }
.drawer__guides a { display: block; padding: 7px 4px; text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- sections & bands ---------- */
.section { padding: 64px 0; }
.band--soft { background: var(--soft); }
.band--slate { background: var(--slate); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; }
.section-title { font-size: 1.5rem; font-weight: 500; color: var(--teal); line-height: 1.3; margin: 0 0 20px; }
.section-title:not(:first-child) { margin-top: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-700); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- homepage hero ---------- */
.hero { padding: 44px 0; }
.hero-card { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-card__art { display: grid; place-items: center; padding: 36px; background: linear-gradient(160deg, var(--teal-50), #f3f9fa 60%, var(--orange-50)); color: var(--teal); }
.hero-card__art svg { width: 100%; max-width: 440px; }
.hero-card__body { padding: 40px 44px; }
.hero-card h1 { margin-bottom: 10px; }
.hero-card__lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.hero-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }

/* category cards (home) */
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 22px; box-shadow: var(--shadow); overflow: hidden; }
.cat-card__art { display: block; padding: 22px 34px 12px; background: var(--teal-50); color: var(--teal); }
.cat-card__art svg { width: 100%; max-height: 140px; }
.cat-card__name { margin: 20px 24px 6px; font-size: 1.3rem; }
.cat-card__name a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.cat-card__text { margin: 0 24px 14px; color: var(--muted); font-size: 0.95rem; }
.cat-card__list { list-style: none; margin: 0 24px 14px; border-top: 1px solid var(--line); }
.cat-card__list a { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.cat-card__list a:hover { color: var(--teal); }
.cat-card__list .i { color: var(--orange); }
.cat-card__soon { margin: 0 24px 14px; font-size: 0.92rem; color: var(--muted); font-style: italic; }
.cat-card__count { margin: auto 24px 0; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* guide cards */
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.15s, transform 0.15s; }
.gcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.gcard__media { display: block; aspect-ratio: 16 / 9; background: var(--teal-50); overflow: hidden; }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; }
.gcard__art { display: grid; place-items: center; height: 100%; padding: 18px 40px; color: var(--teal); }
.gcard__art svg { width: 100%; max-height: 100%; }
.gcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.gcard__cat { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-700); }
.gcard__title { font-size: 1.25rem; margin: 0 0 8px; }
.gcard__title a { text-decoration: none; }
.gcard__title a:hover { text-decoration: underline; }
.gcard__text { font-size: 0.95rem; color: var(--muted); margin-bottom: 12px; }
.gcard__winner { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 10px; background: var(--teal-50); border-radius: 4px; color: var(--teal-700); font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.gcard__meta { display: flex; align-items: center; gap: 6px; margin: auto 0 0; font-size: 0.82rem; color: var(--muted); }

/* category tiles (related) */
.cat-tile { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: box-shadow 0.15s; }
.cat-tile:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.cat-tile__art { flex: 0 0 38%; display: grid; place-items: center; padding: 14px; background: var(--teal-50); color: var(--teal); }
.cat-tile__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.cat-tile__name { display: inline-flex; align-items: center; gap: 8px; font-size: 1.12rem; font-weight: 500; color: var(--teal); }
.cat-tile__text { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.cat-tile__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 0.88rem; font-weight: 600; color: var(--teal); }

/* winners list */
.winners { list-style: none; display: grid; gap: 12px; }
.winner { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.winner__rank { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--orange); color: #fff; font-weight: 700; flex: none; }
.winner__body { flex: 1; min-width: 0; }
.winner__guide { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.winner__name { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--ink); }

/* meet the author */
.meet { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.meet__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.chips li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--teal-100); color: var(--teal-700); font-size: 0.85rem; font-weight: 500; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 28px; }
.step { position: relative; padding: 26px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--teal-50); color: var(--teal); margin-bottom: 14px; }
.step__num { position: absolute; top: 16px; right: 18px; font-size: 2rem; font-weight: 300; color: var(--teal-100); line-height: 1; }
.step__title { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.93rem; color: var(--muted); line-height: 1.6; }

/* ---------- breadcrumbs & page heads ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: #9aa6ac; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.page-head { padding: 36px 0 24px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 8px; }
.page-head__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.9rem; margin: 0; }
.page-head--hub { background: linear-gradient(180deg, #fff, var(--soft)); }
.page-head__grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; }
.page-head__grid .prose { color: var(--text); }
.page-head__art { color: var(--teal); padding: 20px; background: var(--teal-50); border-radius: var(--radius-lg); }

/* ---------- article ---------- */
.article-head { padding: 30px 0 22px; }
.article-head h1 { margin-bottom: 18px; max-width: 920px; }
.share { display: flex; gap: 6px; flex: none; margin-left: auto; }
.share__btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--slate); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.share__btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.share__btn.is-done { background: var(--green); border-color: var(--green); color: #fff; }
.byline { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.byline__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.byline__text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
.byline__text a { font-weight: 600; text-decoration: none; }
.byline__meta { display: inline-flex; align-items: center; gap: 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-bottom: 64px; }
.article-main { min-width: 0; }
.disclosure { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 10px 14px; background: var(--soft); border-radius: var(--radius); font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.disclosure .i { margin-top: 2px; color: var(--teal); }
.article-hero { margin: 0 0 24px; }
.article-hero img { width: 100%; border-radius: var(--radius); }
.article-hero figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin: 1.6em 0 0.4em; color: var(--ink); font-size: 1.2rem; font-weight: 600; }
.prose .lead { font-size: 1.12rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.intro p:last-child { margin-bottom: 0; }
.block { margin-top: 56px; }
.block > h2 { margin-bottom: 22px; }

/* quick overview */
.overview { margin: 28px 0 0; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow); }
.overview__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.overview__title .i { color: var(--teal); }
.overview ol { list-style: none; counter-reset: ov; }
.overview li { counter-increment: ov; border-top: 1px solid var(--line); }
.overview a { display: grid; grid-template-columns: 28px 220px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; text-decoration: none; color: var(--ink); line-height: 1.35; }
.overview a::before { content: counter(ov); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 3px; background: var(--orange); color: #fff; font-size: 0.8rem; font-weight: 700; }
.overview a:hover .overview__name { color: var(--teal); text-decoration: underline; }
.overview__award { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.overview__name { font-weight: 500; }
.overview__score { font-weight: 700; color: var(--teal-700); font-size: 0.95rem; }

/* product cards (ranked list) */
.pcards { display: grid; gap: 32px; }
.pcard { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 20px; }
.pcard--winner { border-color: var(--teal-100); box-shadow: 0 0 0 2px var(--teal-100), var(--shadow); }
.pcard__media { position: relative; align-self: start; display: grid; place-items: center; aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.pcard__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.pcard__art { display: grid; place-items: center; width: 100%; height: 100%; padding: 26px; color: var(--teal); background: var(--teal-50); }
.pcard__rank { position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; background: var(--orange); color: #fff; font-weight: 700; font-size: 1.1rem; border-radius: var(--radius) 0 var(--radius) 0; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 3px; background: var(--teal-50); color: var(--teal-700); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
.badge--win { background: var(--teal); color: #fff; }
.pcard__score { display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 10px; border: 1px solid var(--teal-100); border-radius: 4px; background: #fff; line-height: 1.2; }
.pcard__score-num { font-size: 1.35rem; font-weight: 700; color: var(--teal-700); }
.pcard__score-of { font-size: 0.82rem; color: var(--muted); }
.pcard__title { font-size: 1.55rem; margin: 0 0 10px; }
.pcard__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; font-size: 0.88rem; color: var(--muted); }
.pcard__facts li { display: inline-flex; align-items: center; gap: 5px; }
.pcard__facts .i { color: var(--green); }
.opinion { padding: 14px 16px; background: var(--soft); border-radius: var(--radius); margin-bottom: 18px; }
.opinion__head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.opinion__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.opinion__text { font-size: 0.98rem; line-height: 1.7; }
.opinion__text p:last-child { margin-bottom: 0; }
.js .opinion__text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.opinion__toggle { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--teal); font-weight: 600; font-size: 0.92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pcard__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pcard__actions [data-details] { display: none; }
.js .pcard__actions [data-details] { display: inline-flex; }
[data-details] .i { transition: transform 0.15s; }
[data-details][aria-expanded='true'] .i { transform: rotate(180deg); }
.pcard__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; font-size: 0.86rem; color: var(--muted); }
.pcard__price .i { color: var(--orange-700); }
.pcard__checked { color: #869399; }
.pcard__more { grid-column: 1 / -1; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 4px; }
.pcard__more > summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; font-weight: 600; color: var(--teal-700); list-style: none; }
.pcard__more > summary::-webkit-details-marker { display: none; }
.js .pcard__more > summary { display: none; }
.js .pcard__more:not([open]) { display: none; }
.js .pcard__more[open] { padding-top: 18px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.proscons__col { padding: 14px 16px; border-radius: var(--radius); }
.proscons__col--pro { background: #eef7f1; }
.proscons__col--con { background: var(--orange-50); }
.proscons__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.proscons__col--pro .proscons__title .i { color: var(--green); }
.proscons__col--con .proscons__title .i { color: var(--orange-700); }
.proscons ul { list-style: none; font-size: 0.95rem; }
.proscons li { position: relative; padding-left: 16px; margin-bottom: 4px; line-height: 1.5; }
.proscons li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.pcard__fits { font-size: 0.95rem; margin-bottom: 14px; }
.specs { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.specs th, .specs td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 40%; font-weight: 600; color: var(--ink); background: var(--soft); }

/* comparison table */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; min-width: 760px; }
.compare th, .compare td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare thead th { background: var(--slate); color: #fff; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; white-space: nowrap; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: #fafbfb; }
.compare tr.is-winner { background: var(--teal-50) !important; }
.compare tbody th { font-weight: 600; min-width: 190px; }
.compare .btn { white-space: nowrap; }
.compare tbody th a { color: var(--ink); text-decoration: none; }
.compare tbody th a:hover { color: var(--teal); text-decoration: underline; }
.compare__award { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.rank-sm { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 3px; background: var(--orange); color: #fff; font-weight: 700; font-size: 0.85rem; }
.score-pill { display: inline-block; padding: 3px 9px; border-radius: 4px; background: var(--teal); color: #fff; font-weight: 700; font-size: 0.9rem; }
.note { font-size: 0.84rem; color: var(--muted); margin: 10px 0 0; }

/* tip box, method, faq */
.tipbox { margin: 28px 0 0; padding: 18px 22px; background: var(--orange-50); border-left: 4px solid var(--orange); border-radius: var(--radius); }
.tipbox__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.tipbox__title .i { color: var(--orange-700); }
.tipbox ol { margin: 0; padding-left: 1.3em; }
.method { padding: 28px 30px; background: var(--slate); border-radius: var(--radius-lg); color: rgba(255, 255, 255, 0.88); }
.method h2 { color: #fff; }
.method .prose { font-size: 1rem; }
.method__sources { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 20px; }
.method__sources li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255, 255, 255, 0.07); border-radius: var(--radius); font-size: 0.92rem; line-height: 1.4; }
.method__sources .i { color: var(--orange); }
.method .link-arrow { color: #fff; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(20, 45, 52, 0.04); }
.faq__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; line-height: 1.45; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--teal-700); }
.faq__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal); flex: none; transition: transform 0.2s, background-color 0.2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq__a { padding: 0 18px 4px; }
.faq__a p { margin-bottom: 14px; }

/* author */
.author-card { display: flex; gap: 18px; align-items: flex-start; }
.author-card__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-card__name { margin: 0; font-size: 1.15rem; font-weight: 600; }
.author-card__name a { color: var(--ink); text-decoration: none; }
.author-card__name a:hover { color: var(--teal); }
.author-card__role { margin: 0 0 8px; font-size: 0.88rem; color: var(--orange-700); font-weight: 600; }
.author-card__text { font-size: 0.93rem; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.author-card--compact { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.author-card--compact .author-card__img { width: 84px; height: 84px; border: 3px solid var(--teal-50); }
.end-author { margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }

/* sidebar */
.article-side { display: flex; flex-direction: column; gap: 20px; align-self: stretch; }
.side-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.side-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.side-card__title .i { color: var(--teal); }
.toc { position: sticky; top: 20px; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 0.93rem; line-height: 1.4; }
.toc a::before { content: counter(toc); color: var(--teal); font-weight: 700; min-width: 14px; }
.toc a:hover, .toc a.is-current { color: var(--teal); }
.trust ul { list-style: none; }
.trust li { display: flex; gap: 10px; padding: 7px 0; font-size: 0.9rem; line-height: 1.45; border-top: 1px solid var(--line); }
.trust .i { color: var(--teal); margin-top: 2px; }

/* related band */
.related { padding: 56px 0 64px; }

/* ---------- info pages ---------- */
.profile { display: flex; align-items: center; gap: 32px; }
.profile__img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow-lg); flex: none; }
.profile h1 { margin-bottom: 4px; }
.profile__name { margin: 0 0 2px; font-size: 1.45rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.profile__role { color: var(--orange-700); font-weight: 600; margin-bottom: 12px; }
.profile .chips { margin-bottom: 0; }
.bullets { list-style: none; padding: 0 !important; }
.bullets li { position: relative; padding-left: 26px; }
.bullets li::before { content: ''; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--teal); }
.num-list { padding-left: 1.4em; }
.contact-card { margin-top: 36px; padding: 24px 26px; background: var(--teal-50); border-radius: var(--radius-lg); }
.contact-card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.2rem; font-weight: 600; color: var(--teal-700); }
.contact-card p:last-child { margin-bottom: 0; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 48px 24px; text-align: center; background: var(--soft); border: 1px dashed #c9d3d8; border-radius: var(--radius-lg); color: var(--teal); }
.empty p { color: var(--muted); max-width: 460px; }
.empty .empty__title { margin: 8px 0 0; font-size: 1.3rem; font-weight: 500; color: var(--teal); }
.notfound { text-align: center; }
.notfound__code { font-size: 5rem; font-weight: 300; color: var(--teal-100); line-height: 1; margin-bottom: 12px; }
.search--page { max-width: none; margin-bottom: 24px; }
.search-page__results { display: grid; gap: 12px; }
.search-page__results a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); }
.search-page__results a:hover { border-color: var(--teal-100); background: var(--teal-50); }
.search-page__results .sr-title { display: block; font-weight: 600; font-size: 1.05rem; }
.search-page__results .sr-meta { display: block; font-size: 0.85rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: rgba(255, 255, 255, 0.78); padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer__about .logo { margin-bottom: 16px; }
.footer__about p { line-height: 1.6; }
.footer__mail { display: flex; align-items: center; gap: 8px; }
.footer__mail .i { color: var(--orange); }
.footer__title { margin: 6px 0 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.footer__col ul { list-style: none; }
.footer__col li { padding: 4px 0; }
.footer__col a { color: rgba(255, 255, 255, 0.82); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; font-size: 0.84rem; }
.footer__disclosure { display: flex; gap: 8px; max-width: 720px; margin: 0; line-height: 1.5; }
.footer__disclosure .i { margin-top: 2px; color: var(--orange); }
.footer__copy { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .toc { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .mainnav { display: none; }
  .header__menu { display: inline-grid; }
  .header__link { display: none; }
  .header__in { min-height: 76px; gap: 16px; }
  .site-header { border-bottom: 1px solid var(--line); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card__art { padding: 24px 40px; }
  .hero-card__art svg { max-height: 200px; }
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__art { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header .search { display: none; }
  .logo__mark { width: 58px; height: 39px; }
  .logo__name { font-size: 1.25rem; }
  .logo__divider { height: 38px; }
  .logo__tag { font-size: 0.72rem; }
  .section { padding: 44px 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .hero { padding: 20px 0; }
  .hero-card__body { padding: 26px 22px 28px; }
  .meet { grid-template-columns: 1fr; gap: 24px; justify-items: center; text-align: center; }
  .meet__img { max-width: 220px; }
  .meet .chips { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .byline { flex-wrap: wrap; }
  .byline__text { flex: 1 1 0; min-width: 0; }
  .share { flex-basis: 100%; margin-left: 60px; }
  .topbar__in { font-size: 0.8rem; padding: 7px 16px; }
  .topbar__in a { display: none; }
  .pcard { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .pcard__media { aspect-ratio: 4 / 3; }
  .pcard__title { font-size: 1.35rem; }
  .pcard__actions .btn { flex: 1 1 auto; }
  .proscons { grid-template-columns: 1fr; }
  .overview a { grid-template-columns: 28px 1fr auto; }
  .overview__award { grid-column: 2 / 4; grid-row: 2; margin-top: -6px; }
  .method { padding: 22px 20px; }
  .method__sources { grid-template-columns: 1fr; }
  .winner { flex-wrap: wrap; gap: 12px; }
  .winner .btn { width: 100%; }
  .profile { flex-direction: column; align-items: flex-start; gap: 18px; }
  .profile__img { width: 140px; height: 140px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cat-tile__art { flex-basis: 34%; }
  .author-card { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .mainnav, .site-header .search, .share, .article-side, .related, .site-footer, .pcard__actions { display: none !important; }
  .js .pcard__more:not([open]) { display: block; }
}
