/* v3 (02.10.2026, makieta: design/prototypes/strona-glowna/): Fraunces w nagłówkach, monogram, nagłówek z wyszukiwarką,
   ciemna stopka, strona główna i archiwa. Ładowany po aleja-smaku.css; klocki stron mają prefiks as3-, żeby nie zderzyć się
   z klasami w treści starych wpisów. */

/* Fraunces 600 z osią rozmiaru optycznego (assets/fonts, latin + latin-ext, ok. 35 KB). Zakres wag 400–900 wskazuje na ten sam
   plik celowo: stare reguły proszą o 700/800, a przeglądarka nie dorabia wtedy sztucznego pogrubienia — wszystko rysuje się w 600. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/fraunces-latin-ext.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/fraunces-latin.woff2) format('woff2'); 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: 'Fraunces Fallback'; src: local('Georgia'), local('Times New Roman'); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

:root {
	--as-font-display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
	--as-head-weight: 600;
	--as-head-track: -0.005em;
	--as-olive-night: #1C4321;
	--as-shadow-lift: 0 2px 4px rgba(29, 33, 28, 0.05), 0 18px 40px rgba(29, 33, 28, 0.10);
	--as3-wrap: 1240px;
	--as3-gutter: 16px;
}
@media (min-width: 760px) { :root { --as3-gutter: 32px; } }

/* Nagłówki w całym serwisie (także stare wpisy .as-*): Fraunces 600 zamiast Figtree 800. */
h1, h2, h3, h4, .as-section-title, .as-nav-wordmark, .as-footer-brand-name { font-family: var(--as-font-display); font-weight: 600; letter-spacing: var(--as-head-track); }

/* ---------- Nagłówek strony ---------- */
.as-nav { top: env(safe-area-inset-top, 0px); }
.as-nav-mark { width: 40px; height: 40px; }
.as-nav-wordmark { font-size: 22px; line-height: 1; }
.as-nav-arrow { font-size: 0; width: 10px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.as-nav .as-nav-list > li > a, .as-nav-list > li > a { font-weight: 400; }
.as-nav-list > li > a:hover, .as-nav-list > li.is-active > a { color: var(--as-olive); }
.as-nav-search, .as-mob-search { display: flex; align-items: center; gap: 8px; background: var(--as-bg); border: 1px solid var(--as-line); border-radius: var(--as-radius); padding: 0 12px; height: 44px; color: var(--as-ink-mute); }
.as-nav-search { width: 250px; }
.as-nav-search input, .as-mob-search input { border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--as-ink); width: 100%; min-width: 0; outline: none; padding: 0; }
.as-nav-search:focus-within, .as-mob-search:focus-within { border-color: var(--as-olive); box-shadow: 0 0 0 3px var(--as-accent-bg); }
.as-nav-search svg, .as-mob-search svg { flex-shrink: 0; }
.as-nav-mob-search { display: none; }
.screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1180px) { .as-nav-search { width: 200px; } .as-nav-list { gap: 20px !important; } }
@media (max-width: 980px) {
	.as-nav-search { display: none; }
	.as-nav-mob-search { display: block; padding: 0 20px 12px; }
	.as-mob-search { height: 48px; }
}

/* ---------- Wspólne ---------- */
.as3-wrap { max-width: var(--as3-wrap); margin: 0 auto; padding-inline: var(--as3-gutter); }
.as3 h1, .as3 h2, .as3 h3 { margin: 0; line-height: 1.15; text-wrap: balance; color: var(--as-ink); }
.as3 p { margin: 0; }
.as3 a { text-decoration: none; color: inherit; }
.as3-kicker { font-size: 14px; font-weight: 600; color: var(--as-olive); line-height: 1.3; }
.as3-kicker span { color: var(--as-ink-mute); font-weight: 400; }
.as3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--as-radius); background: var(--as-olive); color: #fff !important; font: 600 16px/1.2 var(--as-font-body); justify-self: start; border: 0; cursor: pointer; transition: background .15s; text-decoration: none; }
.as3-btn:hover { background: var(--as-terracotta-deep); }
.as3-btn--ghost { background: transparent; color: var(--as-olive) !important; border: 1.5px solid var(--as-olive); }
.as3-btn--ghost:hover { background: var(--as-accent-bg); }
.as3-ai-label { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(29, 33, 28, .72); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }

/* Karty */
.as3-grid { display: grid; gap: 32px 24px; }
@media (min-width: 640px) { .as3-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .as3-grid--3 { grid-template-columns: repeat(3, 1fr); } .as3-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) {
	.as3-grid--4 { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
	.as3-grid--4 .as3-card h3 { font-size: 16px; }
	.as3-grid--4 .as3-facts-line, .as3-grid--4 .as3-meta, .as3-grid--4 .as3-verdict-line, .as3-grid--4 .as3-kicker { font-size: 13px; }
}
.as3-card { display: grid; gap: 10px; align-content: start; }
.as3-card-img { position: relative; border-radius: var(--as-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--as-line-soft); }
.as3-card-img img { transition: transform .35s ease; }
.as3-card:hover .as3-card-img img { transform: scale(1.035); }
.as3-card h3 { font-size: 21px; }
.as3-grid--4 .as3-card h3 { font-size: 19px; }
.as3-card:hover h3, .as3-row:hover h3 { color: var(--as-terracotta-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.as3-card--lead h3 { font-size: clamp(22px, 2.4vw, 28px); }
.as3-card--lead .as3-card-img { aspect-ratio: 3 / 2; }
.as3-facts-line { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 2px 0 0; padding-top: 10px; border-top: 1px solid var(--as-line); font-size: 14px; }
.as3-facts-line div { display: flex; gap: 6px; }
.as3-facts-line dt { color: var(--as-ink-mute); font-weight: 400; }
.as3-facts-line dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.as3-meta { padding-top: 10px; border-top: 1px solid var(--as-line); font-size: 14px; color: var(--as-ink-mute); }
.as3-verdict-line { font-size: 15px; line-height: 1.45; padding-top: 10px; border-top: 1px solid var(--as-line); }
.as3-verdict-line b { background: var(--as-hi-bg); padding: 0 3px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Wiersz: miniatura + tytuł + liczba */
.as3-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding-block: 12px; border-top: 1px solid var(--as-line); }
.as3-row:first-child { border-top: 0; padding-top: 0; }
.as3-row-img { position: relative; display: block; width: 96px; height: 72px; border-radius: var(--as-radius); overflow: hidden; background: var(--as-line-soft); }
.as3-row h3 { font-size: 17px; line-height: 1.25; margin-top: 2px; }
.as3-row-sub { display: block; margin-top: 4px; font-size: 14px; color: var(--as-ink-mute); line-height: 1.35; }
.as3-row-sub b { color: var(--as-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Strona główna ---------- */
.as3-home-title { padding-block: 22px 16px; font-size: clamp(22px, 2.4vw, 28px) !important; }
.as3-home-title span { color: var(--as-ink-mute); }
.as3-hero { position: relative; display: grid; padding-bottom: 8px; }
.as3-hero-img { position: relative; display: block; border-radius: var(--as-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--as-line-soft); }
.as3-hero-box { position: relative; z-index: 2; margin: -56px 12px 0; background: var(--as-paper); border-radius: var(--as-radius-lg); box-shadow: var(--as-shadow-lift); padding: 22px 20px 20px; display: grid; gap: 14px; }
.as3-hero-box h2 { font-size: clamp(26px, 3.2vw, 36px); }
.as3-hero-lead { font-size: 17px; color: var(--as-ink-soft); }
.as3-verdict { font-size: 18px; }
.as3-verdict mark { background: var(--as-hi-bg); color: var(--as-ink); padding: 1px 4px; border-radius: 4px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.as3-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--as-line-soft); border: 1px solid var(--as-line-soft); border-radius: var(--as-radius); overflow: hidden; }
.as3-facts div { background: var(--as-paper); padding: 10px 12px; }
.as3-facts dt { font-size: 13px; color: var(--as-ink-mute); font-weight: 400; }
.as3-facts dd { margin: 0; font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
	.as3-hero { grid-template-columns: repeat(12, 1fr); align-items: center; }
	.as3-hero-img { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 16 / 10; }
	.as3-hero-box { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: 32px; }
}
.as3-section { padding-top: 48px; }
.as3-section--tight { padding-top: 32px; }
.as3-silo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; flex-wrap: wrap; }
.as3-silo-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.as3-silo-head p { margin-top: 4px; color: var(--as-ink-soft); font-size: 16px; max-width: 60ch; }
.as3-silo-head > a { color: var(--as-olive); font-weight: 600; font-size: 15px; white-space: nowrap; }
.as3-silo-head > a:hover { text-decoration: underline; }
.as3-silo { padding-top: 40px; margin-top: 48px; border-top: 1px solid var(--as-line); }
.as3-silo--plain { border-top: 0; margin-top: 8px; }
.as3-silo-lead { display: grid; gap: 24px; }
@media (min-width: 900px) {
	.as3-silo-lead { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
	.as3-silo-lead--flip > .as3-card { order: 2; }
}
.as3-pillars { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin-inline: -2px; scrollbar-width: thin; }
.as3-pillar { flex: 0 0 112px; scroll-snap-align: start; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 6px 4px; border-radius: var(--as-radius); }
.as3-pillar-img { position: relative; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--as-accent-bg); box-shadow: 0 0 0 3px var(--as-paper), 0 0 0 4px var(--as-line); transition: box-shadow .15s, transform .15s; display: grid; place-items: center; color: var(--as-olive); }
.as3-pillar-img svg { width: 44px; height: 44px; }
.as3-pillar:hover .as3-pillar-img { box-shadow: 0 0 0 3px var(--as-paper), 0 0 0 5px var(--as-olive); transform: translateY(-2px); }
.as3-pillar b { font-size: 15px; line-height: 1.25; }
@media (min-width: 1100px) { .as3-pillars { display: grid; grid-template-columns: repeat(8, 1fr); overflow: visible; } .as3-pillar-img { width: 108px; height: 108px; } }
.as3-band { background: var(--as-accent-bg); margin-top: 56px; padding-block: 36px 40px; }
.as3-band--hi { background: var(--as-hi-bg); }
.as3-season { display: grid; gap: 12px; }
@media (min-width: 860px) { .as3-season { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.as3-season-item { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; background: var(--as-paper); border-radius: var(--as-radius-lg); padding: 10px; transition: box-shadow .15s; }
.as3-season-item:hover { box-shadow: var(--as-shadow); }
.as3-season-img { position: relative; display: block; width: 88px; height: 88px; border-radius: var(--as-radius); overflow: hidden; }
.as3-season-item h3 { font-size: 17px; line-height: 1.25; }
.as3-trio { display: grid; gap: 32px; }
@media (min-width: 900px) { .as3-trio { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.as3-trio-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--as-ink); }
.as3-trio-head h2 { font-size: 22px; }
.as3-trio-head a { color: var(--as-olive); font-weight: 600; font-size: 14px; white-space: nowrap; }
.as3-trio .as3-row { grid-template-columns: 80px 1fr; }
.as3-trio .as3-row:first-of-type { border-top: 0; padding-top: 12px; }
.as3-trio .as3-row-img { width: 80px; height: 64px; }
.as3-rows-3 { display: grid; gap: 0 32px; }
@media (min-width: 900px) { .as3-rows-3 { grid-template-columns: repeat(3, 1fr); } .as3-rows-3 .as3-row:nth-child(-n+3) { border-top: 0; padding-top: 0; } }
.as3-tool { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .as3-tool { grid-template-columns: 1fr 1fr; gap: 48px; } }
.as3-tool h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px; }
.as3-tool p { margin-bottom: 16px; color: var(--as-ink-soft); max-width: 52ch; }
.as3-tool-card { background: var(--as-paper); border-radius: var(--as-radius-lg); box-shadow: var(--as-shadow); padding: 22px; display: grid; gap: 16px; }
.as3-tool-inputs { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.as3-tool-card label { display: grid; gap: 4px; font-size: 13px; color: var(--as-ink-mute); }
.as3-field { height: 50px; border: 1px solid var(--as-line); border-radius: var(--as-radius); background: var(--as-bg); padding: 0 12px; font: inherit; font-size: 18px; color: var(--as-ink); width: 100%; }
.as3-field:focus { outline: none; border-color: var(--as-olive); box-shadow: 0 0 0 3px var(--as-accent-bg); }
.as3-field-g { position: relative; }
.as3-field-g input { padding-right: 30px; font-variant-numeric: tabular-nums; }
.as3-field-g span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--as-ink-mute); font-size: 16px; }
.as3-tool-out { background: var(--as-hi-bg); border-radius: var(--as-radius); padding: 14px 16px; }
.as3-tool-out small { display: block; font-size: 13px; color: var(--as-hi-ink); }
.as3-tool-out output { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.as3-tool .as3-tool-note { margin: 0; font-size: 13px; color: var(--as-ink-mute); }
.as3-author { display: grid; gap: 18px; align-items: center; background: var(--as-paper); border-radius: var(--as-radius-lg); padding: 24px; box-shadow: var(--as-shadow); }
@media (min-width: 760px) { .as3-author { grid-template-columns: 120px 1fr auto; gap: 28px; padding: 28px 32px; } }
.as3-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--as-paper), 0 0 0 5px var(--as-olive-soft); }
@media (min-width: 760px) { .as3-author img { width: 120px; height: 120px; } }
.as3-author h2 { font-size: 26px; margin: 2px 0 6px; }
.as3-author p { color: var(--as-ink-soft); max-width: 62ch; font-size: 16px; }
.as3-author-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.as3-partner { margin-top: 56px; display: grid; justify-items: center; gap: 6px; }
.as3-partner-label { font-size: 12px; color: var(--as-ink-mute); }
.as3-partner a { display: block; width: 100%; max-width: 728px; }
.as3-partner img { display: block; width: 100%; height: auto; aspect-ratio: 728 / 90; }

/* ---------- Archiwum ---------- */
.as3-cat-hero { background: var(--as-terracotta-deep); color: #F4F7F1; padding-block: 24px 36px; margin-bottom: 36px; }
.as3-cat-hero .as-crumbs { margin: 0 0 14px; padding: 0; color: #C3D3BE; font-size: 14px; }
.as3-cat-hero .as-crumbs a, .as3-cat-hero .as-crumbs span { color: #C3D3BE; }
.as3-cat-hero .as-crumbs a:hover { color: #fff; text-decoration: underline; }
.as3-cat-hero .as-crumbs li:last-child span, .as3-cat-hero .as-crumbs li:last-child { color: #fff; }
.as3-cat-hero h1 { font-size: clamp(34px, 5vw, 54px); color: #fff; }
.as3-cat-desc { margin-top: 10px; max-width: 62ch; font-size: 18px; color: #DCE7D8; }
.as3-cat-desc p { margin: 0; }
.as3-cat-desc a { color: #fff; text-decoration: underline; }
.as3-pagination { margin-top: 44px; }
.as3-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.as3-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--as-radius); border: 1px solid var(--as-line); background: var(--as-paper); color: var(--as-ink); font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; }
.as3-pagination a.page-numbers:hover { border-color: var(--as-olive); color: var(--as-olive); }
.as3-pagination .page-numbers.current { background: var(--as-olive); border-color: var(--as-olive); color: #fff; }
.as3-pagination .page-numbers.dots { border: 0; background: none; min-width: 24px; padding: 0; }
.as3-pagination .prev, .as3-pagination .next { color: var(--as-olive); }
@media (max-width: 480px) { .as3-pagination .prev, .as3-pagination .next { flex-basis: 100%; } }
.as3-prose { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--as-line); max-width: 68ch; }
.as3-prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; }
.as3-prose p { margin: 0 0 1em; color: var(--as-ink-soft); }
.as3-prose a { color: var(--as-terracotta-deep); text-decoration: underline; text-decoration-color: var(--as-olive-soft); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.as3-prose a:hover { text-decoration-color: var(--as-olive); }
.as3-empty { padding-block: 40px; display: grid; gap: 12px; }

/* ---------- Stopka ---------- */
.as3-footer { margin-top: 64px; background: var(--as-olive-night); color: #DCE7D8; padding-block: 40px 32px; font-size: 15px; }
.as3-footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .as3-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.as3-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.as3-footer-brand span { font-family: var(--as-font-display); font-weight: 600; font-size: 22px; }
.as3-footer p { margin: 14px 0 0; max-width: 40ch; color: #C3D3BE; }
.as3-footer h2 { font: 600 15px/1.3 var(--as-font-body); color: #fff; margin: 0 0 10px; letter-spacing: 0; }
.as3-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.as3-footer a { color: #DCE7D8; text-decoration: none; }
.as3-footer a:hover { color: #fff; text-decoration: underline; }
.as3-footer-legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #A9BDA3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (prefers-reduced-motion: reduce) { .as3 *, .as3-card-img img { transition: none !important; } }
