/*
Theme Name:   Whippet.sk
Theme URI:    https://whippet.sk/
Description:  Child téma Hello Elementor pre redakčný portál Whippet.sk. Spoločná hlavička, pätička, šablóna článku, kategórie a archívu v identite „Anglický džentlmen medzi psami“.
Author:       Whippet.sk
Template:     hello-elementor
Version:      1.9.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain:  whippet-sk
License:      GNU General Public License v2 or later
*/

/* ---------------------------------------------------------------------------
   1. Tokeny — zrkadlia globálne premenné Elementor kitu (ak kit chýba, platí fallback)
--------------------------------------------------------------------------- */
:root {
	--w-navy: var(--primary, #101C27);
	--w-ink: var(--text, #17212B);
	--w-dark: var(--dark, #0C1620);
	--w-paper: var(--paper, #F5F2EC);
	--w-sand: var(--sand, #ECE5DA);
	--w-surface: var(--surface, #FFFFFF);
	--w-burgundy: var(--accent, #651F35);
	--w-gold: var(--antique-gold, #B69A68);
	--w-gold-text: #775F30;      /* zlatá pre malý text na svetlom pozadí (WCAG AA 5,4:1) */
	--w-gold-large: #8A6F3E;     /* zlatá pre veľký text na svetlom pozadí */
	--w-muted: var(--muted, #555B60);
	--w-border: var(--border, #D7CEC1);
	--w-on-dark: var(--on-dark, #F5F2EC);
	--w-serif: "EB Garamond", Georgia, "Times New Roman", serif;
	--w-sans: Lato, "Segoe UI", Arial, sans-serif;
	--w-frame: 1536px;
	--w-gutter: clamp(20px, 3.5vw, 72px);
	--w-measure: 70ch;
}

/* ---------------------------------------------------------------------------
   2. Základ
--------------------------------------------------------------------------- */
/* Základ platí iba pre šablóny témy. Elementor stránky (.elementor-page, napr. homepage #293)
   si typografiu a odkazy riadia samy, preto ich téma neprepisuje. */
body.whippet-sk:not(.elementor-page) {
	background: var(--w-paper);
	color: var(--w-ink);
	font-family: var(--w-sans);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.w-main a { color: var(--w-burgundy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.w-main a:hover { text-decoration-thickness: 2px; }
.w-main :focus-visible, .w-header :focus-visible, .w-footer :focus-visible { outline: 2px solid var(--w-burgundy); outline-offset: 3px; }
.w-dark :focus-visible, .w-header :focus-visible, .w-footer :focus-visible { outline-color: var(--w-on-dark); }
.w-frame { width: 100%; max-width: calc(var(--w-frame) + 2 * var(--w-gutter)); margin-inline: auto; padding-inline: var(--w-gutter); box-sizing: border-box; }
.w-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--w-surface); color: var(--w-navy); font: 700 14px var(--w-sans); }
.w-skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w-caps { font: 700 13px/1.4 var(--w-sans); letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------------------------------------------------------------------------
   3. Hlavička (centrálna, menu „Hlavné menu“)
--------------------------------------------------------------------------- */
.w-header { background: var(--w-navy); color: var(--w-on-dark); border-bottom: 1px solid #394957; position: relative; z-index: 20; }
.w-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.w-wordmark { font-family: var(--w-serif); font-weight: 500; font-size: 36px; letter-spacing: 0.12em; color: var(--w-on-dark) !important; text-decoration: none !important; white-space: nowrap; }
.w-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.w-nav a { display: inline-block; padding: 12px 0; color: var(--w-on-dark); font: 700 16px/1.2 var(--w-sans); text-decoration: none; border-bottom: 1px solid transparent; }
.w-nav a:hover, .w-nav .current-menu-item > a, .w-nav .current-menu-ancestor > a, .w-nav .current_page_parent > a { border-bottom-color: var(--w-gold); }
.w-nav .current-menu-item > a { color: #fff; }
.w-nav .sub-menu { display: none; }
.w-menu-toggle { display: none; }
@media (max-width: 1024px) {
	.w-header__bar { flex-wrap: wrap; min-height: 64px; }
	.w-wordmark { font-size: 25px; }
	.w-nav--desktop { display: none; }
	.w-menu-toggle { display: block; width: 100%; border-top: 1px solid rgba(245,242,236,0.15); }
	.w-menu-toggle > summary { list-style: none; cursor: pointer; padding: 14px 0; min-height: 44px; box-sizing: border-box; font: 400 17px var(--w-sans); color: var(--w-on-dark); display: flex; justify-content: space-between; align-items: center; }
	.w-menu-toggle > summary::-webkit-details-marker { display: none; }
	.w-menu-toggle > summary::after { content: "+"; font: 400 26px/1 var(--w-serif); color: var(--w-gold); }
	.w-menu-toggle[open] > summary::after { content: "–"; }
	.w-menu-toggle .w-nav ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
	.w-menu-toggle .w-nav a { display: block; padding: 12px 0; min-height: 44px; box-sizing: border-box; border-bottom: 1px solid rgba(245,242,236,0.1); font-size: 17px; }
}

/* ---------------------------------------------------------------------------
   4. Breadcrumbs
--------------------------------------------------------------------------- */
.w-breadcrumbs { font: 400 14px/1.5 var(--w-sans); color: var(--w-muted); margin: 0 0 28px; }
.w-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.w-breadcrumbs li + li::before { content: "·"; margin-right: 10px; color: var(--w-gold-text); }
.w-breadcrumbs a { color: var(--w-muted); text-decoration: none; }
.w-breadcrumbs a:hover { color: var(--w-burgundy); text-decoration: underline; }
.w-breadcrumbs [aria-current] { color: var(--w-ink); }

/* ---------------------------------------------------------------------------
   5. Článok
--------------------------------------------------------------------------- */
.w-article-head { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.w-article-head__inner { max-width: 980px; }
.w-kicker { display: inline-block; margin: 0 0 18px; color: var(--w-burgundy); text-decoration: none; }
.w-kicker:hover { text-decoration: underline; }
.w-article-title { font-family: var(--w-serif); font-weight: 500; font-size: clamp(42px, 6vw, 84px); line-height: 1.04; letter-spacing: -0.01em; color: var(--w-ink); margin: 0 0 24px; }
.w-lede { font-family: var(--w-serif); font-weight: 500; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.4; color: var(--w-ink); max-width: 40ch; margin: 0 0 26px; }
.w-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 400 15px/1.5 var(--w-sans); color: var(--w-muted); padding-top: 18px; border-top: 1px solid var(--w-border); max-width: 980px; }
.w-meta strong { color: var(--w-ink); font-weight: 700; }
.w-figure-lead { margin: 0 0 clamp(36px, 5vw, 64px); }
.w-figure-lead img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.w-figure-lead figcaption, .w-prose figcaption, .w-prose .wp-element-caption { font: 400 14.5px/1.5 var(--w-sans); color: var(--w-muted); margin-top: 10px; }

/* Textový stĺpec začína na línii nadpisu (ako tlačený magazín), šírka 70 znakov. */
.w-article-body { display: grid; grid-template-columns: minmax(0, var(--w-measure)) minmax(0, 1fr); padding-bottom: clamp(48px, 6vw, 96px); }
.w-article-body > * { grid-column: 1; }
.w-prose .alignwide { margin-inline: 0 calc(-1 * min(20vw, 360px)); }
.w-prose { font-size: 19px; line-height: 1.72; color: #1f2a34; }
.w-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.w-prose h2 { font-family: var(--w-serif); font-weight: 600; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.12; color: var(--w-ink); margin: 1.6em 0 0.55em; }
.w-prose h3 { font-family: var(--w-serif); font-weight: 600; font-size: clamp(25px, 2.2vw, 30px); line-height: 1.2; color: var(--w-ink); margin: 1.4em 0 0.45em; }
.w-prose h4 { font: 700 14px/1.4 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-burgundy); margin: 1.6em 0 0.5em; }
.w-prose ul, .w-prose ol { padding-left: 1.3em; }
.w-prose li { margin-bottom: 0.45em; }
.w-prose li::marker { color: var(--w-gold-text); }
.w-prose blockquote, .w-prose .wp-block-quote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--w-gold); font-family: var(--w-serif); font-style: italic; font-size: 26px; line-height: 1.4; color: var(--w-ink); }
.w-prose blockquote cite { display: block; margin-top: 10px; font: normal 400 14.5px var(--w-sans); color: var(--w-muted); }
.w-prose .wp-block-pullquote { border: 0; border-top: 1px solid var(--w-gold); border-bottom: 1px solid var(--w-gold); padding: 28px 0; text-align: left; }
.w-prose img { max-width: 100%; height: auto; }
.w-prose figure { margin: 2em 0; }
.w-prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.w-prose table { width: 100%; border-collapse: collapse; font-size: 16.5px; line-height: 1.5; }
.w-prose .wp-block-table { overflow-x: auto; }
.w-prose table th, .w-prose .wp-block-table th { text-align: left; font: 700 12.5px/1.4 var(--w-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--w-muted); border: 0; border-bottom: 1px solid var(--w-ink); padding: 12px 20px 12px 0; vertical-align: bottom; }
.w-prose table td, .w-prose .wp-block-table td { border: 0; border-bottom: 1px solid var(--w-border); padding: 18px 20px 18px 0; vertical-align: top; }
.w-prose .wp-block-table thead { border: 0; }
.w-prose table th:last-child, .w-prose table td:last-child { padding-right: 0; }
.w-prose table td:first-child { font-family: var(--w-serif); font-size: 19px; line-height: 1.35; color: var(--w-ink); }
.w-prose table tr, .w-prose table td, .w-prose table th { background: transparent !important; }
.w-prose .wp-block-table.is-style-stripes { border-bottom: 0; }
@media (max-width: 600px) { .w-prose table { font-size: 15.5px; } .w-prose table td { padding: 14px 14px 14px 0; } .w-prose table td:first-child { font-size: 17px; } }
.w-prose hr { border: 0; border-top: 1px solid var(--w-border); margin: 2.4em 0; }

/* Informačné boxy — štýly blokov „Skupina“ (is-style-*) */
.w-prose .is-style-whippet-note, .w-prose .is-style-whippet-health { margin: 2em 0; padding: 24px 28px; background: var(--w-surface); border: 1px solid var(--w-border); border-top: 3px solid var(--w-navy); font-size: 17.5px; }
.w-prose .is-style-whippet-health { border-top-color: var(--w-burgundy); background: #FBF7F8; }
.w-prose .is-style-whippet-note > :last-child, .w-prose .is-style-whippet-health > :last-child { margin-bottom: 0; }
.w-prose .is-style-whippet-note > h3:first-child, .w-prose .is-style-whippet-health > h3:first-child, .w-prose .is-style-whippet-note > h4:first-child, .w-prose .is-style-whippet-health > h4:first-child { margin-top: 0; }
.w-prose .is-style-whippet-sources { margin: 3em 0 0; padding-top: 24px; border-top: 2px solid var(--w-ink); font-size: 15.5px; line-height: 1.6; color: #333b43; }
.w-prose .is-style-whippet-sources h2, .w-prose .is-style-whippet-sources h3 { font: 700 13px/1.4 var(--w-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--w-ink); margin: 0 0 14px; }
.w-prose .is-style-whippet-sources ol, .w-prose .is-style-whippet-sources ul { padding-left: 1.2em; }

.w-reviewed { margin-top: 2em; font: 400 15px/1.5 var(--w-sans); color: var(--w-muted); }
.w-disclaimer { margin-top: 1.5em; padding: 16px 20px; background: var(--w-sand); font: 400 15px/1.55 var(--w-sans); color: #333b43; }

/* Súvisiace články a ďalšie kapitoly */
.w-related { background: var(--w-sand); padding: clamp(48px, 6vw, 96px) 0; }
.w-section-mark { display: flex; align-items: center; gap: 18px; margin: 0 0 36px; }
.w-section-mark__num { font-family: var(--w-serif); font-style: italic; font-weight: 500; font-size: 40px; line-height: 1; color: var(--w-gold-large); }
.w-section-mark__label { color: var(--w-ink); }
.w-section-mark__rule { flex: 1; height: 1px; background: rgba(23,33,43,0.18); }
.w-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; }
.w-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--w-ink) !important; }
.w-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--w-border); }
.w-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.w-card:hover .w-card__img img { transform: scale(1.03); }
.w-card__cat { color: var(--w-gold-text); }
.w-card__title { font-family: var(--w-serif); font-weight: 600; font-size: 27px; line-height: 1.15; margin: 0; }
.w-card:hover .w-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.w-card__excerpt { font-size: 16.5px; line-height: 1.6; color: #333b43; margin: 0; }
.w-card__date { font-size: 14px; color: var(--w-muted); }

/* ---------------------------------------------------------------------------
   6. Archív / kategória / Články
--------------------------------------------------------------------------- */
.w-archive-head { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--w-border); margin-bottom: clamp(36px, 5vw, 64px); }
.w-archive-title { font-family: var(--w-serif); font-weight: 500; font-size: clamp(46px, 6.4vw, 96px); line-height: 1; margin: 0 0 18px; color: var(--w-ink); }
.w-archive-desc { font-family: var(--w-serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.4; max-width: 46ch; color: #2a333c; }
.w-archive-desc p { margin: 0 0 .6em; }
.w-catnav ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.w-catnav a { display: inline-block; padding: 9px 14px; min-height: 44px; box-sizing: border-box; border: 1px solid var(--w-border); color: var(--w-ink); text-decoration: none; font: 700 13px/1.9 var(--w-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.w-catnav a:hover, .w-catnav .is-current a { border-color: var(--w-navy); background: var(--w-navy); color: var(--w-on-dark); }
.w-lead-story { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); text-decoration: none; color: var(--w-ink) !important; }
.w-lead-story__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--w-border); }
.w-lead-story__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-lead-story__text { background: var(--w-paper); padding: 34px 40px; margin-left: -96px; margin-bottom: 40px; position: relative; }
.w-lead-story__title { font-family: var(--w-serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.05; margin: 10px 0 14px; }
.w-lead-story:hover .w-lead-story__title { text-decoration: underline; text-decoration-thickness: 1px; }
.w-pagination { padding: 48px 0 96px; }
.w-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.w-pagination .page-numbers { display: inline-block; min-width: 44px; min-height: 44px; box-sizing: border-box; padding: 10px 14px; text-align: center; border: 1px solid var(--w-border); color: var(--w-ink); text-decoration: none; font: 700 15px var(--w-sans); }
.w-pagination .page-numbers.current { background: var(--w-navy); color: var(--w-on-dark); border-color: var(--w-navy); }
.w-empty { padding: 32px 0 96px; font-family: var(--w-serif); font-size: 26px; font-style: italic; color: var(--w-muted); }

/* ---------------------------------------------------------------------------
   7. Bežná stránka (natívny editor)
--------------------------------------------------------------------------- */
/* Stránka: jeden vycentrovaný stĺpec (nadpis aj text na rovnakej osi). */
.w-page .w-frame { max-width: calc(820px + 2 * var(--w-gutter)); }
.w-page .w-article-head__inner { max-width: none; }
.w-page .w-article-body { display: block; }
.w-page .w-prose .alignwide { margin-inline: 0; }
.w-page-figure { max-width: calc(1100px + 2 * var(--w-gutter)); margin: 0 auto clamp(40px, 5vw, 72px); padding-inline: var(--w-gutter); box-sizing: border-box; }
.w-page-figure img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 40%; }
.w-page-figure figcaption { max-width: 820px; margin: 10px auto 0; font: 400 14.5px/1.5 var(--w-sans); color: var(--w-muted); }
@media (max-width: 767px) { .w-page-figure { padding-inline: 0; } .w-page-figure img { aspect-ratio: 4 / 3; } .w-page-figure figcaption { padding-inline: var(--w-gutter); } }
/* Dvojica fotografií v texte (blok Galéria, 2 stĺpce) */
.w-prose .wp-block-gallery.has-nested-images { gap: 12px; margin: 2.2em 0; }
.w-prose .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.w-prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; background: none; color: var(--w-muted); text-shadow: none; padding: 8px 0 0; font: 400 14px/1.4 var(--w-sans); text-align: left; max-height: none; }
.w-prose .wp-block-gallery .blocks-gallery-caption { width: 100%; text-align: left; font: 400 14.5px/1.5 var(--w-sans); color: var(--w-muted); margin-top: 4px; }

/* ---------------------------------------------------------------------------
   8. Pätička (centrálna, menu „Pätička — kapitoly“ a „Pätička — redakcia“)
--------------------------------------------------------------------------- */
.w-footer { background: var(--w-navy); color: var(--w-on-dark); padding: clamp(72px, 8vw, 112px) 0 48px; }
.w-footer a { color: var(--w-on-dark); }
.w-footer__brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(182,154,104,0.4); }
.w-footer__word { font-family: var(--w-serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.w-footer__word em { font-style: normal; color: var(--w-gold); }
.w-footer__slogan { font-family: var(--w-serif); font-style: italic; font-size: clamp(18px, 1.5vw, 21px); color: rgba(245,242,236,0.78); margin: 8px 0 0; }
.w-footer__top { font: 700 13px/1.2 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 14px 0 12px; border-bottom: 1px solid var(--w-gold); }
.w-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 44px 0; }
.w-footer__label { color: var(--w-gold); margin: 0 0 18px; display: block; font-size: 12.5px; }
.w-footer__menu ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.w-footer__menu li { break-inside: avoid; }
.w-footer__menu a { display: inline-block; padding: 7px 0; min-height: 44px; box-sizing: border-box; font-size: 16px; line-height: 30px; text-decoration: none; }
.w-footer__menu a:hover { text-decoration: underline; }
.w-footer__text { font-size: 16px; line-height: 1.65; color: rgba(245,242,236,0.78); max-width: 52ch; margin: 0 0 12px; }
.w-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-top: 22px; border-top: 1px solid rgba(245,242,236,0.1); font-size: 14px; color: rgba(245,242,236,0.65); }
.w-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.w-footer__bottom a { color: rgba(245,242,236,0.8); }

/* ---------------------------------------------------------------------------
   9. Responzivita
--------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.w-lead-story { grid-template-columns: 1fr; }
	.w-lead-story__text { margin: -60px 0 0 48px; }
}
@media (max-width: 767px) {
	body.whippet-sk { font-size: 17px; }
	.w-prose { font-size: 18px; line-height: 1.68; }
	.w-prose .alignwide { margin-inline: 0; }
	.w-prose blockquote { font-size: 23px; padding-left: 18px; }
	.w-figure-lead { margin-inline: calc(-1 * var(--w-gutter)); }
	.w-lead-story__text { margin: -40px 0 0; padding: 26px 22px; }
	.w-footer__cols { grid-template-columns: 1fr; }
	.w-section-mark__num { font-size: 30px; }
	.w-card__title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .w-card__img img { transition: none; } }


/* ===========================================================================
   10. Článok 1.2 — magazínová strana (single.php)
   =========================================================================== */
.w-mag { counter-reset: w-chapter; background: var(--w-paper); }

/* Rubrikový pruh — záhlavie ako v tlačenom magazíne */
.w-mag-rubric { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--w-ink); }
.w-mag-rubric__cat { display: flex; align-items: center; gap: 14px; color: var(--w-ink) !important; text-decoration: none !important; }
.w-mag-rubric__num { font-family: var(--w-serif); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1; color: var(--w-gold-large); }
.w-mag-rubric__rule { flex: 1; height: 1px; background: rgba(23,33,43,0.18); }
.w-mag-rubric__meta { font-size: 12px; color: var(--w-muted); white-space: nowrap; }
.w-mag-rubric h2 { margin: 0; font-size: 13px; }

/* Titul a úvod — dvojstĺpec cez celý rám */
.w-mag-head { padding-top: clamp(16px, 2vw, 28px); }
.w-mag-titlebar { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding: clamp(40px, 5vw, 80px) 0 clamp(36px, 4vw, 56px); }
.w-mag-title { margin: 0; font-family: var(--w-serif); font-weight: 500; font-size: clamp(48px, 6vw, 108px); line-height: 0.98; letter-spacing: -0.02em; color: var(--w-ink); }
.w-mag-intro { padding-bottom: 8px; border-left: 1px solid var(--w-gold); padding-left: clamp(20px, 2.4vw, 36px); }
.w-mag-standfirst { margin: 0; font-family: var(--w-serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.4; color: #2a333c; }
.w-mag-byline { margin: 18px 0 0; font: 700 12.5px/1.4 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-muted); }
.w-mag-figure { margin: 0; }
.w-mag-figure img { display: block; width: 100% !important; height: auto; max-height: 78svh; aspect-ratio: 21 / 9; object-fit: cover; }
.w-mag-figure figcaption { display: flex; justify-content: flex-end; padding: 10px 0 0; font: 400 14px/1.5 var(--w-sans); color: var(--w-muted); }

/* Telo — tri stĺpce cez celý rám */
.w-mag-body { display: grid; grid-template-columns: 240px minmax(0, 68ch) minmax(280px, 340px); justify-content: space-between; column-gap: clamp(32px, 4vw, 80px); padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); }
.w-mag-left { align-self: start; position: sticky; top: 28px; }
.w-mag-left .w-breadcrumbs { margin: 0 0 28px; font-size: 13.5px; }
.w-mag-left .w-breadcrumbs ol { flex-direction: column; gap: 2px; }
.w-mag-left .w-breadcrumbs li + li::before { content: "↳"; margin-right: 6px; }
.w-mag-toc { border-top: 2px solid var(--w-ink); padding-top: 14px; }
.w-mag-toc > p { margin: 0 0 12px; font-size: 12px; color: var(--w-muted); }
.w-mag-toc ol { list-style: none; counter-reset: w-toc; margin: 0; padding: 0; }
.w-mag-toc li { counter-increment: w-toc; display: grid; grid-template-columns: 34px 1fr; padding: 9px 0; border-bottom: 1px solid var(--w-border); font: 400 15px/1.4 var(--w-sans); }
.w-mag-toc li::before { content: counter(w-toc, upper-roman) "."; font-family: var(--w-serif); font-style: italic; font-size: 18px; color: var(--w-gold-large); }
.w-mag-toc a { color: var(--w-ink) !important; text-decoration: none !important; }
.w-mag-toc a:hover { color: var(--w-burgundy) !important; text-decoration: underline !important; }

.w-mag-prose { font-size: 19px; line-height: 1.75; color: #1f2a34; }
.w-mag-prose > p:first-of-type::first-letter { float: left; font-family: var(--w-serif); font-weight: 500; font-size: 5.2em; line-height: 0.8; margin: 0.05em 0.08em 0 0; color: var(--w-burgundy); }
.w-mag-prose > h2 { counter-increment: w-chapter; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; margin: 2em 0 0.6em; font-size: clamp(32px, 2.8vw, 42px); line-height: 1.1; scroll-margin-top: 24px; }
.w-mag-prose > h2::before { content: counter(w-chapter, upper-roman); font-style: italic; font-weight: 500; font-size: 0.8em; color: var(--w-gold-large); }
.w-mag-prose > h3 { font-style: italic; font-weight: 500; }
.w-mag-prose blockquote, .w-mag-prose .wp-block-quote { margin: 2em 0; padding: 26px 0 22px; border: 0; border-top: 1px solid var(--w-gold); border-bottom: 1px solid var(--w-gold); font-family: var(--w-serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.25; color: var(--w-burgundy); }
.w-mag-prose blockquote p { margin: 0; }
.w-mag-prose blockquote cite { display: block; margin-top: 14px; font: normal 700 12.5px/1.5 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-muted); }
.w-mag-prose .is-style-whippet-note { margin: 2.2em 0; padding: 28px 30px 22px 34px; background: var(--w-surface); border: 1px solid var(--w-border); box-shadow: 0 24px 50px -28px rgba(16,28,39,0.35); font-size: 17px; }
.w-mag-prose .is-style-whippet-note h4 { margin: 0 0 12px; color: var(--w-burgundy); }
.w-mag-prose .is-style-whippet-note ul { list-style: none; padding: 0; margin: 0; }
.w-mag-prose .is-style-whippet-note li { padding: 8px 0; border-bottom: 1px dotted rgba(101,31,53,0.3); margin: 0; }
.w-mag-prose .is-style-whippet-health { border-top: 3px solid var(--w-burgundy); background: #FBF7F8; box-shadow: none; }
.w-mag-prose .is-style-whippet-sources { margin: 3em 0 0; padding: 26px 30px; background: var(--w-sand); border-top: 2px solid var(--w-ink); font-size: 15.5px; }
.w-mag-prose .is-style-whippet-sources h2 { counter-increment: none; display: block; margin: 0 0 14px; }
.w-mag-prose .is-style-whippet-sources h2::before { content: none; }

/* Pravý stĺpec magazínu */
.w-mag-rail { align-self: start; display: flex; flex-direction: column; gap: 40px; }
.w-mag-box__title { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 2px solid var(--w-ink); font-size: 12.5px; color: var(--w-ink); }
.w-mag-index { list-style: none; margin: 0; padding: 0; }
.w-mag-index a { display: grid; grid-template-columns: 44px 1fr; gap: 6px 10px; padding: 16px 0; border-bottom: 1px solid var(--w-border); color: var(--w-ink) !important; text-decoration: none !important; }
.w-mag-index__img { grid-column: 1 / -1; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 8px; }
.w-mag-index__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-mag-index__num { font-family: var(--w-serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--w-gold-large); }
.w-mag-index__title { font-family: var(--w-serif); font-weight: 600; font-size: 21px; line-height: 1.22; }
.w-mag-index a:hover .w-mag-index__title { color: var(--w-burgundy); text-decoration: underline; text-decoration-thickness: 1px; }
.w-mag-box--dark { background: var(--w-navy); padding: 24px 24px 12px; }
.w-mag-box--dark .w-mag-box__title { color: var(--w-gold); border-color: rgba(182,154,104,0.5); }
.w-mag-box--dark ul { list-style: none; margin: 0; padding: 0; }
.w-mag-box--dark a { display: block; padding: 11px 0; border-bottom: 1px solid rgba(245,242,236,0.12); color: var(--w-on-dark) !important; text-decoration: none !important; font-family: var(--w-serif); font-size: 21px; }
.w-mag-box--dark a:hover { color: var(--w-gold) !important; }

/* Ďalej v rubrike — mriežka s fotografiami na tmavom páse */
.w-mag-more { background: var(--w-navy); color: var(--w-on-dark); padding: clamp(56px, 6vw, 96px) 0 clamp(72px, 8vw, 120px); }
.w-mag-rubric--dark { border-bottom-color: rgba(182,154,104,0.5); margin-bottom: 36px; }
.w-mag-rubric--dark h2 { color: var(--w-on-dark); }
.w-mag-rubric--dark .w-mag-rubric__num { color: var(--w-gold); }
.w-mag-rubric--dark .w-mag-rubric__rule { background: rgba(245,242,236,0.15); }
.w-mag-rubric__all { color: var(--w-gold) !important; text-decoration: none !important; font-size: 12px; }
.w-mag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.w-mag-card { display: flex; flex-direction: column; gap: 10px; color: var(--w-on-dark) !important; text-decoration: none !important; }
.w-mag-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: #1c2b38; margin-bottom: 6px; }
.w-mag-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.w-mag-card:hover .w-mag-card__img img { transform: scale(1.03); }
.w-mag-card__cat { font-size: 12px; color: var(--w-gold); }
.w-mag-card__title { font-family: var(--w-serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.w-mag-card:hover .w-mag-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

@media (max-width: 1280px) {
	.w-mag-body { grid-template-columns: minmax(0, 68ch) minmax(260px, 320px); }
	.w-mag-left { position: static; grid-column: 1 / -1; display: flex; gap: 40px; }
	.w-mag-left .w-breadcrumbs ol { flex-direction: row; }
	.w-mag-left .w-breadcrumbs li + li::before { content: "·"; }
	.w-mag-toc { display: none; }
}
@media (max-width: 1024px) {
	.w-mag-titlebar { grid-template-columns: 1fr; gap: 24px; }
	.w-mag-body { grid-template-columns: minmax(0, 1fr); }
	.w-mag-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
	.w-mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.w-mag-figure img { aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
	.w-mag-rubric { flex-wrap: wrap; }
	.w-mag-rubric__rule { display: none; }
	.w-mag-title { font-size: 44px; }
	.w-mag-figure { margin-inline: calc(-1 * var(--w-gutter)); }
	.w-mag-figure figcaption { padding-inline: var(--w-gutter); }
	.w-mag-prose { font-size: 18px; line-height: 1.7; }
	.w-mag-rail { grid-template-columns: 1fr; }
	.w-mag-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.w-mag-card__title { font-size: 21px; }
	.w-mag-prose .is-style-whippet-note, .w-mag-prose .is-style-whippet-sources { padding: 22px 20px; }
}
.w-mag-figure img { aspect-ratio: 16 / 9 !important; max-height: none !important; object-position: 50% 30%; } @media (max-width: 1024px) { .w-mag-figure img { aspect-ratio: 3 / 2 !important; } }
/* Homepage #293: prvá obrazovka presne na výšku okna pre neprihláseného návštevníka (bez rezervy pre admin bar). */ .elementor-element-b60e8dc { min-height: calc(100svh - 77px) !important; } @media (max-width: 767px) { .elementor-element-b60e8dc { min-height: 0 !important; } }

/* ===========================================================================
   11. Jemný pohyb (1.3) — iba opacity/transform, rešpektuje prefers-reduced-motion
   =========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	.w-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
	.w-reveal.is-in { opacity: 1; transform: none; }
	.w-reveal.e-image-base, .w-reveal.w-mag-figure { transform: none; }
	.w-reveal.e-image-base.is-in, .w-reveal.w-mag-figure.is-in { transform: none; }

	/* odkazy, tlačidlá a menu — plynulé prechody farieb a podčiarknutí */
	a, .e-button-base, button { transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease; }
	.w-nav a { position: relative; border-bottom-color: transparent !important; }
	.w-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--w-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
	.w-nav a:hover::after, .w-nav .current-menu-item > a::after, .w-nav .current_page_parent > a::after { transform: scaleX(1); }

	/* obrázky v kartách a v hlavičke článku — pomalé priblíženie pri hoveri */
	.w-mag-index__img img, .w-mag-card__img img, .w-card__img img, .w-lead-story__img img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
	.w-mag-index a:hover .w-mag-index__img img, .w-lead-story:hover .w-lead-story__img img { transform: scale(1.035); }

	/* obsah článku — jemný posun položky pri hoveri */
	.w-mag-toc a { display: inline-block; transition: transform .3s ease, color .25s ease; }
	.w-mag-toc a:hover { transform: translateX(4px); }
	.w-further__list a, .w-mag-index a { transition: background-color .3s ease; }
}

/* Jemnejšie serifové nadpisy: EB Garamond je obmedzený na rez 400–470 (požiadavky 500/600 sa vykreslia ako 470), bez umelého zhrubnutia. */
html { font-synthesis-weight: none; }

/* ===========================================================================
   12. Kvíz „Je whippet pre vás?“ — jedna otázka na obrazovku (ako aplikácia)
   Bez JS (.is-app chýba) sa otázky zobrazia pod sebou.
   =========================================================================== */
.w-quiz { --q-line: rgba(245,242,236,0.2); --q-soft: rgba(245,242,236,0.72); position: relative; margin: 2.2em 0 0; padding: clamp(24px, 4vw, 52px) clamp(20px, 4.4vw, 60px) clamp(24px, 3.4vw, 44px); background: var(--w-navy); color: var(--w-on-dark); border-top: 3px solid var(--w-gold); font-family: var(--w-sans); box-shadow: 0 30px 60px -40px rgba(16,28,39,0.6); scroll-margin-top: 16px; }
.w-quiz [hidden] { display: none !important; }
@media (min-width: 768px) { .w-quiz.is-app .w-quiz__stage { min-height: 432px; } }
.w-quiz__top { display: flex; align-items: center; gap: 18px; margin: 0 0 clamp(26px, 3.4vw, 40px); }
.w-quiz__step { margin: 0 !important; flex: none; font: 700 12.5px/1.4 var(--w-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--q-soft); }
.w-quiz__cur { color: var(--w-gold); }
.w-quiz__bar { flex: 1; height: 2px; background: var(--q-line); position: relative; overflow: hidden; }
.w-quiz__bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--w-gold); transition: width .5s cubic-bezier(.2,.7,.2,1); }

.w-quiz__q { border: 0; margin: 0; padding: 0; min-width: 0; outline: none; }
.w-quiz:not(.is-app) .w-quiz__q + .w-quiz__q { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--q-line); }
.w-quiz__q legend { display: block; float: left; width: 100%; padding: 0; margin: 0 0 12px; font-family: var(--w-serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.18; color: var(--w-on-dark); text-wrap: balance; }
.w-quiz__q legend + * { clear: both; }
.w-quiz__num { display: block; margin-bottom: 10px; font-style: italic; font-size: 0.62em; color: var(--w-gold); }
.w-quiz__hint { margin: 0 0 clamp(22px, 2.6vw, 30px) !important; font-size: 16.5px; line-height: 1.55; color: var(--q-soft); max-width: 60ch; }
.w-quiz__options { display: grid; gap: 10px; }
.w-quiz__opt { position: relative; display: flex; align-items: center; gap: 16px; min-height: 58px; padding: 12px 18px 12px 14px; border: 1px solid var(--q-line); cursor: pointer; font-size: 17.5px; line-height: 1.4; color: var(--w-on-dark); transition: border-color .25s ease, background-color .25s ease; }
.w-quiz__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.w-quiz__key { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(182,154,104,0.6); font: 700 13px/1 var(--w-sans); letter-spacing: 0.04em; color: var(--w-gold); transition: background-color .25s ease, color .25s ease; }
.w-quiz__opt:hover { border-color: var(--w-gold); background: rgba(245,242,236,0.04); }
.w-quiz__opt:has(input:checked) { border-color: var(--w-gold); background: rgba(182,154,104,0.14); }
.w-quiz__opt:has(input:checked) .w-quiz__key { background: var(--w-gold); color: var(--w-navy); }
.w-quiz__opt:has(input:focus-visible) { outline: 2px solid var(--w-gold); outline-offset: 3px; }

.w-quiz__nav { display: none; }
.w-quiz.is-app .w-quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(26px, 3vw, 36px); padding-top: 22px; border-top: 1px solid var(--q-line); }
.w-quiz:not(.is-app) .w-quiz__nav { display: block; margin-top: 32px; }
.w-quiz:not(.is-app) .w-quiz__back, .w-quiz:not(.is-app) .w-quiz__fwd { display: none; }
.w-quiz__back, .w-quiz__fwd, .w-quiz__submit, .w-quiz__reset { min-height: 48px; cursor: pointer; font: 700 13px/1 var(--w-sans); letter-spacing: 0.16em; text-transform: uppercase; transition: background-color .25s ease, color .25s ease, opacity .25s ease, border-color .25s ease; }
.w-quiz__back { padding: 12px 0; background: none; border: 0; color: var(--q-soft); }
.w-quiz__back:hover:not(:disabled) { color: var(--w-on-dark); }
.w-quiz__back:disabled { opacity: 0; pointer-events: none; }
.w-quiz__fwd, .w-quiz__submit { margin-left: auto; padding: 14px 30px; background: transparent; color: var(--w-on-dark); border: 1px solid var(--w-gold); }
.w-quiz__fwd:hover:not(:disabled) { background: rgba(182,154,104,0.16); }
.w-quiz__submit { background: var(--w-burgundy); }
.w-quiz__submit:hover:not(:disabled) { background: #7a2842; }
.w-quiz__fwd:disabled, .w-quiz__submit:disabled { opacity: 0.35; cursor: default; }
.w-quiz__back:focus-visible, .w-quiz__fwd:focus-visible, .w-quiz__submit:focus-visible, .w-quiz__reset:focus-visible, .w-quiz__next a:focus-visible { outline: 2px solid var(--w-gold); outline-offset: 3px; }
.w-quiz__missing { margin: 16px 0 0 !important; color: #E6A3B7; font-weight: 700; }

/* Prebije všeobecné štýly tlačidiel z Hello Elementor (ružové :focus/:hover). */
.w-quiz .w-quiz__back:focus, .w-quiz .w-quiz__back:hover { background: none; color: var(--w-on-dark); }
.w-quiz .w-quiz__fwd:focus, .w-quiz .w-quiz__reset:focus { background: transparent; color: var(--w-on-dark); }
.w-quiz .w-quiz__fwd:hover:not(:disabled), .w-quiz .w-quiz__reset:hover { background: rgba(182,154,104,0.16); color: var(--w-on-dark); }
.w-quiz .w-quiz__submit:focus { background: var(--w-burgundy); color: var(--w-on-dark); }
.w-quiz .w-quiz__submit:hover:not(:disabled) { background: #7a2842; color: var(--w-on-dark); }
.w-quiz__result:focus, .w-quiz__q:focus { outline: none !important; }
/* Prechod medzi otázkami */
.w-quiz__q.is-in-next { animation: w-quiz-next .45s cubic-bezier(.2,.7,.2,1); }
.w-quiz__q.is-in-prev { animation: w-quiz-prev .45s cubic-bezier(.2,.7,.2,1); }
@keyframes w-quiz-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes w-quiz-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* Výsledok — v tej istej karte, otázky sa skryjú */
.w-quiz.is-done .w-quiz__stage, .w-quiz.is-done .w-quiz__nav, .w-quiz.is-done .w-quiz__step { display: none; }
.w-quiz__result { outline: none; animation: w-quiz-in .6s cubic-bezier(.2,.7,.2,1); }
.w-quiz__score { margin: 0 0 10px !important; font: 700 13px/1.4 var(--w-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--w-gold); }
.w-quiz__result.is-no .w-quiz__score { color: #E6A3B7; }
.w-quiz__verdict { margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; font-family: var(--w-serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 48px) !important; line-height: 1.08; color: var(--w-on-dark) !important; text-wrap: balance; }
.w-quiz__verdict::before { content: none !important; }
.w-quiz__summary { margin: 0 0 22px !important; font-size: 18px; line-height: 1.65; color: rgba(245,242,236,0.9); max-width: 62ch; }
.w-quiz__notes { list-style: none; margin: 0 0 24px !important; padding: 0 !important; }
.w-quiz__notes li { position: relative; margin: 0 !important; padding: 12px 0 12px 26px; border-top: 1px solid rgba(245,242,236,0.14); font-size: 16.5px; line-height: 1.55; color: rgba(245,242,236,0.9); }
.w-quiz__notes li::before { content: "—"; position: absolute; left: 0; color: var(--w-gold); }
.w-quiz__notes li.is-critical::before { content: "!"; font-weight: 700; color: #E6A3B7; }
.w-quiz__disclaimer { font-size: 14px; color: rgba(245,242,236,0.65); margin: 0 0 22px !important; }
.w-quiz__next { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 0 0 26px !important; }
.w-quiz__next a { color: var(--w-gold) !important; font: 700 13px/1.4 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none !important; border-bottom: 1px solid var(--w-gold); padding-bottom: 4px; }
.w-quiz__next a::after { content: " →"; }
.w-quiz__reset { padding: 14px 28px; background: transparent; color: var(--w-on-dark); border: 1px solid var(--q-line); }
.w-quiz__reset:hover { border-color: var(--w-gold); }
@keyframes w-quiz-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .w-quiz__result, .w-quiz__q.is-in-next, .w-quiz__q.is-in-prev { animation: none; } .w-quiz__bar span { transition: none; } }
@media (max-width: 767px) {
	.w-quiz { margin-inline: calc(-1 * var(--w-gutter)); border-top-width: 2px; }
	.w-quiz__opt { font-size: 16.5px; min-height: 54px; padding: 10px 14px 10px 12px; gap: 12px; }
	.w-quiz__key { flex-basis: 28px; height: 28px; }
	.w-quiz__fwd, .w-quiz__submit { padding: 14px 22px; }
}

/* ===========================================================================
   13. Redakčné bloky pod kapitolami: „Čítajte ďalej“ a „Kapitoly magazínu“
   =========================================================================== */
.w-xhead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; margin-bottom: clamp(28px, 3.4vw, 48px); padding-bottom: 20px; border-bottom: 1px solid var(--w-ink); }
.w-xhead__label { grid-column: 1 / -1; margin: 0 !important; color: var(--w-burgundy); }
.w-xhead__title { margin: 0 !important; font-family: var(--w-serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.04; color: var(--w-ink); }
.w-xhead__more { font: 700 13px/1.4 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--w-gold); padding-bottom: 4px; white-space: nowrap; }
.w-xhead__more:hover { color: var(--w-burgundy) !important; }
.w-xhead--dark { border-bottom-color: rgba(182,154,104,0.45); }
.w-xhead--dark .w-xhead__label { color: var(--w-gold); }
.w-xhead--dark .w-xhead__title { color: var(--w-on-dark); }

.w-xreading { background: #ECE5DA; padding: clamp(64px, 8vw, 120px) 0; }
.w-xreading__grid { display: grid; gap: clamp(24px, 2.6vw, 40px); }
.w-xreading__grid--3 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.w-xreading__grid--3 .w-xcard--lead { grid-row: 1 / span 2; }
.w-xreading__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w-xreading__grid--1 .w-xcard--lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 40px; align-items: center; }
.w-xcard { display: flex; flex-direction: column; text-decoration: none !important; color: var(--w-ink) !important; }
.w-xcard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #DDD3C4; }
.w-xcard--lead .w-xcard__img { aspect-ratio: 16 / 10; }
.w-xcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.w-xcard:hover .w-xcard__img img { transform: scale(1.035); }
.w-xcard__body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.w-xreading__grid--3 .w-xcard:not(.w-xcard--lead) { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
.w-xreading__grid--3 .w-xcard:not(.w-xcard--lead) .w-xcard__body { padding-top: 0; }
.w-xcard__cat { color: var(--w-burgundy); font-size: 12px; }
.w-xcard__title { font-family: var(--w-serif); font-weight: 500; font-size: clamp(22px, 1.7vw, 27px); line-height: 1.15; }
.w-xcard--lead .w-xcard__title { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.06; }
.w-xcard__excerpt { font-size: 16.5px; line-height: 1.6; color: #3a4550; }
.w-xcard__more { margin-top: 4px; font: 700 12.5px/1.4 var(--w-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-ink); }
.w-xcard:hover .w-xcard__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.w-xchapters { background: var(--w-navy); color: var(--w-on-dark); padding: clamp(64px, 8vw, 120px) 0; }
.w-xchapters__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.w-xchapter { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-content: start; text-decoration: none !important; color: var(--w-on-dark) !important; }
.w-xchapter__img { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 10px; background: #1c2a37; }
.w-xchapter__img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.w-xchapter:hover .w-xchapter__img img { transform: scale(1.04); filter: none; }
.w-xchapter__num { font-family: var(--w-serif); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--w-gold); }
.w-xchapter__title { font-family: var(--w-serif); font-weight: 500; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.w-xchapter__excerpt { grid-column: 2; font-size: 15.5px; line-height: 1.55; color: rgba(245,242,236,0.72); }
.w-xchapter:hover .w-xchapter__title { color: var(--w-gold); }
.w-xchapter:focus-visible, .w-xcard:focus-visible, .w-xhead__more:focus-visible { outline: 2px solid var(--w-gold); outline-offset: 4px; }

@media (max-width: 1023px) {
	.w-xreading__grid--3 { grid-template-columns: 1fr 1fr; }
	.w-xreading__grid--3 .w-xcard--lead { grid-column: 1 / -1; grid-row: auto; }
	.w-xreading__grid--3 .w-xcard:not(.w-xcard--lead) { display: flex; }
	.w-xreading__grid--3 .w-xcard:not(.w-xcard--lead) .w-xcard__body { padding-top: 16px; }
	.w-xchapters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.w-xhead { grid-template-columns: 1fr; }
	.w-xhead__more { justify-self: start; }
	.w-xreading__grid--3, .w-xreading__grid--2 { grid-template-columns: 1fr; }
	.w-xreading__grid--1 .w-xcard--lead { display: flex; }
	.w-xchapters__grid { gap: 28px 14px; }
	.w-xchapter { grid-template-columns: 1fr; gap: 4px; }
	.w-xchapter__img { margin-bottom: 8px; }
	.w-xchapter__num { font-size: 17px; }
	.w-xchapter__title { font-size: 20px; }
	.w-xchapter__excerpt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .w-xcard__img img, .w-xchapter__img img { transition: none; } }
.w-xlist { list-style: none; counter-reset: wx 3; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--w-ink); }
.w-xlist li { counter-increment: wx; border-bottom: 1px solid rgba(16,28,39,0.16); }
.w-xlist a { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; text-decoration: none !important; color: var(--w-ink) !important; }
.w-xlist a::before { content: counter(wx, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--w-serif); font-style: italic; font-size: 20px; line-height: 1.3; color: var(--w-gold-large, #8a6d3b); }
.w-xlist__title { font-family: var(--w-serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.w-xlist__excerpt { font-size: 15px; line-height: 1.55; color: #4a5560; }
.w-xlist a:hover .w-xlist__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 767px) { .w-xlist { grid-template-columns: 1fr; } .w-xlist__excerpt { display: none; } }
