/*
Theme Name: dds_afrenchview.com
Theme URI: https://afrenchview.com/
Author: Элиз Моро
Description: Тема экспертного онлайн-журнала об элитной недвижимости с французским акцентом: изумрудная бумага верже, кремовые каталожные листы, состаренное золото и гравюры резиденций.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frview
*/

/* ---------- Шрифты ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/playfair-display-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/playfair-display-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-serif-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-serif-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-sc-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-sc-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Переменные ---------- */
:root {
    --emerald: #12261F;
    --emerald-emboss: #1C3A30;
    --emerald-night: #0C1A14;
    --emerald-aside: #183128;
    --cream: #F3EBDC;
    --cream-deep: #E9DCC4;
    --sage: #8FA396;
    --gold: #C9A227;
    --gold-soft: rgba(201, 162, 39, .55);
    --gold-faint: rgba(201, 162, 39, .28);
    --wine: #6E2233;
    --wine-band: #4A1526;
    --ink: #12261F;
    --ink-soft: #4C5E54;
    --f-display: "Playfair Display", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
    --f-text: "PT Serif", Georgia, "Times New Roman", serif;
    --f-caps: "Cormorant SC", "Playfair Display", Georgia, serif;
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--cream);
    background-color: var(--emerald);
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 34px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
a:hover, a:focus-visible { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 400; line-height: 1.18; margin: 0 0 .6em; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1.1em; }
p, li, dd, td, th, .card-title, .brand-name { overflow-wrap: break-word; hyphens: auto; }
em { font-style: italic; }

.screen-reader-text { 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-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--cream); color: var(--ink); padding: .6rem 1.1rem; border: 1px solid var(--gold); }
.skip-link:focus { top: 1rem; }

/* единый контейнер ширины */
.shell { width: min(85%, 1180px); margin-inline: auto; }
@media (max-width: 600px) { .shell { width: 90%; } }

/* рамка разворота */
.folio { position: relative; min-width: 0; }
.folio::before, .folio::after { content: ""; position: absolute; pointer-events: none; z-index: 3; }
.folio::before { inset: 14px; border: 1px solid var(--gold-soft); }
.folio::after { inset: 20px; border: 1px solid var(--gold-faint); }
@media (max-width: 600px) { .folio::before { inset: 6px; } .folio::after { inset: 10px; } }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    position: relative;
    font-family: var(--f-caps);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .14em;
    line-height: 1.3;
    text-decoration: none;
    padding: .8rem 1.7rem;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s;
}
.btn::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--gold); pointer-events: none; transition: inset .2s; }
.btn:hover::after, .btn:focus-visible::after { inset: 2px; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover, .btn-cream:focus-visible { background: var(--gold); color: var(--emerald-night); }
.btn-gold { background: var(--gold); color: var(--emerald-night); }
.btn-gold::after { border-color: var(--emerald-night); opacity: .5; }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--cream); color: var(--ink); }

/* ---------- Шапка ---------- */
.masthead { position: relative; background: transparent; padding-top: 2.6rem; }
.masthead-inner { display: flex; justify-content: center; text-align: center; padding-bottom: 1.6rem; }
.brand { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-decoration: none; color: var(--cream); max-width: 860px; }
.brand:hover .brand-name { color: var(--cream); }
.brand-mark { display: block; }
.brand-logo { max-height: 88px; width: auto; }
.brand-svg { transition: transform .4s; }
.brand:hover .brand-svg { transform: rotate(45deg); }
.brand-text { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.brand-name { hyphens: manual; font-family: var(--f-display); font-size: clamp(1.25rem, 2.3vw, 1.95rem); line-height: 1.28; letter-spacing: .01em; }
.brand-tag { font-family: var(--f-text); font-style: italic; font-size: .92rem; line-height: 1.55; color: var(--sage); max-width: 720px; margin-inline: auto; }

.navbar { border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold); box-shadow: 0 3px 0 -2px var(--gold-soft); }
.navbar-inner { display: flex; justify-content: center; align-items: center; min-height: 3.6rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 2.6rem; }
.nav-list li { position: relative; }
.nav-list a { display: inline-block; padding: .9rem 0; font-family: var(--f-caps); font-weight: 600; font-size: 1.12rem; letter-spacing: .12em; color: var(--cream); text-decoration: none; }
.nav-list a::after { content: ""; display: block; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav-list a:hover::after, .nav-list a:focus-visible::after, .nav-list .current-menu-item > a::after { transform: scaleX(1); }
.nav-list .current-menu-item > a { color: var(--gold); }
.nav-list .sub-menu { list-style: none; margin: 0; padding: .5rem 1rem; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 220px; background: var(--emerald-night); border: 1px solid var(--gold-soft); display: none; z-index: 20; text-align: left; }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a { padding: .45rem 0; font-size: 1rem; }

.nav-toggle { display: none; align-items: center; gap: .7rem; background: none; border: 1px solid var(--gold-soft); color: var(--cream); font-family: var(--f-caps); font-weight: 600; font-size: 1.05rem; letter-spacing: .14em; padding: .55rem 1.1rem; margin: .7rem 0; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 1px; background: var(--gold); position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 960px) {
    .navbar-inner { flex-direction: column; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { display: none; width: 100%; padding-bottom: .8rem; }
    .primary-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: center; gap: 0; }
    .nav-list a { padding: .6rem 0; }
    .nav-list .sub-menu { position: static; transform: none; display: block; border: 0; background: none; text-align: center; padding: 0; }
}

/* ---------- Общие элементы секций ---------- */
.band { position: relative; padding: 5rem 0; }
.band-emerald { background: transparent; }
.band-cream { background: var(--cream); color: var(--ink); }
.band-wine { background: var(--wine-band); }

.sec-head { margin-bottom: 2.8rem; }
.sec-head-center { text-align: center; }
.sec-kicker { display: block; font-family: var(--f-caps); font-weight: 600; font-size: 1rem; letter-spacing: .26em; color: var(--gold); margin-bottom: .6rem; }
.sec-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: .015em; margin-bottom: .35em; }
.sec-title em { font-style: italic; color: var(--gold); }
.sec-rule { display: block; height: 3px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold-faint); width: 100%; }
.sec-head-center .sec-rule { width: min(360px, 70%); margin-inline: auto; }
.sec-rule-full { margin-top: 3rem; }
.sec-head-dark .sec-title { color: var(--ink); }
.sec-head-dark .sec-title em { color: var(--wine); }
.sec-head-dark .sec-kicker { color: #8C6E12; }
.sec-rule-ornate { position: relative; height: 18px; border: 0; background: linear-gradient(var(--gold), var(--gold)) left 50% / 100% 1px no-repeat; }
.sec-rule-ornate::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%) rotate(45deg); background: var(--emerald); border: 1px solid var(--gold); box-shadow: 0 0 0 4px var(--emerald); }

.ornament-rule { height: 22px; margin: 3.4rem auto 0; width: min(340px, 70%); background:
    linear-gradient(var(--gold), var(--gold)) left center / 42% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 42% 1px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22'%3E%3Cg fill='none' stroke='%23C9A227'%3E%3Cpath d='M30 2l8 9-8 9-8-9z'/%3E%3Cpath d='M18 11c-4-5-9-5-12 0 3 5 8 5 12 0zM42 11c4-5 9-5 12 0-3 5-8 5-12 0z'/%3E%3C/g%3E%3Ccircle cx='30' cy='11' r='2.4' fill='%23C9A227'/%3E%3C/svg%3E") center / 60px 22px no-repeat; }

/* ---------- Блок 1: Атлас резиденций ---------- */
.atlas-sheet {
    position: relative;
    background-color: var(--cream);
    background-image: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .55), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(201, 162, 39, .1), transparent 55%);
    color: var(--ink);
    border-radius: 12px;
    padding: 3.2rem 3.4rem 2.6rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.atlas-sheet::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); border-radius: 6px; pointer-events: none; }
.corner { position: absolute; width: 46px; height: 46px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Cg fill='none' stroke='%23B8922A' stroke-width='1.1'%3E%3Cpath d='M4 42V14C4 8 8 4 14 4h28'/%3E%3Cpath d='M10 30c0-12 8-20 20-20'/%3E%3Cpath d='M10 18c4 0 8 4 8 8-4 0-8-4-8-8zM18 10c0 4 4 8 8 8 0-4-4-8-8-8z'/%3E%3Ccircle cx='9' cy='9' r='2.4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.corner-tl { top: 8px; left: 8px; }
.corner-tr { top: 8px; right: 8px; transform: scaleX(-1); }
.corner-bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.corner-br { bottom: 8px; right: 8px; transform: scale(-1, -1); }

.atlas-list { list-style: none; margin: 0; padding: 0; }
.atlas-row {
    display: grid;
    grid-template-columns: 3.4rem 150px minmax(0, 1.4fr) minmax(2rem, 1fr) minmax(0, auto);
    align-items: center;
    gap: 1.4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--gold-soft);
}
.atlas-row:first-child { border-top: 0; }
.atlas-row:last-child { border-bottom: 1px solid var(--gold-soft); }
.atlas-num { font-family: var(--f-display); font-size: 2rem; color: var(--gold); text-align: center; line-height: 1; }
.atlas-plate { margin: 0; padding: 5px; background: var(--cream); border: 1px solid var(--gold); transition: transform .3s; }
.atlas-plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.15); }
.atlas-plate-dark { background: #5B1C2C; }
.atlas-plate-dark img { object-fit: contain; }
.atlas-row:hover .atlas-plate { transform: rotate(-1.2deg) scale(1.03); }
.atlas-name { min-width: 0; }
.atlas-name h3 { font-size: 1.5rem; margin: 0 0 .15em; color: var(--ink); }
.atlas-name p { margin: 0; font-family: var(--f-caps); font-weight: 600; font-size: .98rem; letter-spacing: .16em; color: var(--ink-soft); }
.atlas-leader { height: 1px; align-self: center; background-image: radial-gradient(circle, var(--gold) 1px, transparent 1.4px); background-size: 7px 3px; background-repeat: repeat-x; min-height: 3px; }
.atlas-fact { margin: 0; font-style: italic; color: var(--wine); text-align: right; white-space: nowrap; }

@media (max-width: 960px) {
    .atlas-sheet { padding: 2.6rem 2rem 2rem; }
    .atlas-row { grid-template-columns: 2.6rem 120px minmax(0, 1fr); gap: 1rem 1.2rem; }
    .atlas-leader { display: none; }
    .atlas-fact { grid-column: 3; text-align: left; white-space: normal; }
}
@media (max-width: 600px) {
    .atlas-sheet { padding: 2.2rem 1.3rem 1.6rem; border-radius: 8px; }
    .atlas-row { grid-template-columns: 2rem minmax(0, 1fr); }
    .atlas-num { font-size: 1.5rem; align-self: start; padding-top: .3rem; }
    .atlas-plate { grid-column: 2; }
    .atlas-name, .atlas-fact { grid-column: 2; }
    .atlas-name h3 { font-size: 1.3rem; }
}

/* ---------- Блок 2: Разбор виллы ---------- */
.anatomy { background-image: repeating-linear-gradient(90deg, rgba(18, 38, 31, .025) 0 1px, transparent 1px 5px); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.anatomy-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.6rem 4rem; align-items: end; }
.anatomy-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.6rem; align-items: center; }
.anatomy-num { grid-row: 1 / span 2; font-family: var(--f-display); font-size: clamp(5rem, 10vw, 8.5rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.anatomy-head .sec-kicker { color: #8C6E12; align-self: end; margin: 0; }
.anatomy-head .sec-title { color: var(--ink); font-size: clamp(2rem, 3.6vw, 3rem); margin: .2em 0 0; align-self: start; }
.anatomy-head .sec-title em { color: var(--wine); }

.anatomy-figure { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: 0; min-width: 0; padding-top: 1rem; border-top: 1px solid var(--gold-soft); }
.anatomy-plate { margin: 0; padding: 10px; background: #FBF6EC; border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--gold-soft); position: relative; z-index: 1; }
.anatomy-plate img { width: 100%; aspect-ratio: 905 / 575; object-fit: cover; }
.callouts { list-style: none; margin: 0; padding: 1.6rem 0; display: flex; flex-direction: column; gap: 1.8rem; position: relative; z-index: 2; }
.callout { position: relative; display: flex; align-items: center; gap: 1rem; }
.callout img { width: 84px; height: 70px; object-fit: cover; border: 1px solid var(--gold); padding: 3px; background: #FBF6EC; flex: 0 0 84px; }
.callout-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.callout-text strong { font-family: var(--f-caps); font-weight: 600; font-size: 1.12rem; letter-spacing: .12em; color: var(--ink); hyphens: manual; }
.callout-text span { font-size: .9rem; color: var(--ink-soft); font-style: italic; hyphens: manual; }
.callout::after { content: ""; position: absolute; top: 50%; height: 1px; width: 2.6rem; background: var(--gold); }
.callout::before { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--gold); }
.callouts-left { padding-right: 2.8rem; text-align: right; }
.callouts-left .callout { flex-direction: row-reverse; }
.callouts-left .callout::after { right: -2.8rem; }
.callouts-left .callout::before { right: -.2rem; transform: translateX(100%); }
.callouts-left .callout-text { align-items: flex-end; }
.callouts-right { padding-left: 2.8rem; }
.callouts-right .callout::after { left: -2.8rem; }
.callouts-right .callout::before { left: -.2rem; transform: translateX(-100%); }

.anatomy-note { border-left: 1px solid var(--gold); padding-left: 1.6rem; font-size: .98rem; line-height: 1.85; color: var(--ink); }
.anatomy-note p:last-child { margin-bottom: 0; }
.anatomy-note p:first-child::first-letter { font-family: var(--f-display); font-size: 2.6em; float: left; line-height: .85; padding: .06em .12em 0 0; color: var(--wine); }

@media (max-width: 960px) {
    .anatomy-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .anatomy-figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 1.2rem; }
    .anatomy-plate { grid-column: 1 / -1; grid-row: 1; }
    .callouts { padding: 0; gap: 1.1rem; }
    .callouts-left, .callouts-right { padding: 0; text-align: left; }
    .callouts-left .callout { flex-direction: row; }
    .callouts-left .callout-text { align-items: flex-start; }
    .callout::before, .callout::after { display: none; }
    .callout img { width: 66px; height: 56px; flex-basis: 66px; }
}
@media (max-width: 520px) {
    .anatomy-figure { grid-template-columns: minmax(0, 1fr); }
    .anatomy-head { column-gap: 1rem; }
}

/* ---------- Карточки записей ---------- */
.cards { display: grid; gap: 2.2rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3:has(> .card:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    color: var(--ink);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
    transform: rotate(-.5deg);
    transition: transform .3s, box-shadow .3s;
    min-width: 0;
}
.card:nth-child(2n) { transform: rotate(.5deg); }
.card:nth-child(3n) { transform: rotate(-.3deg); }
.card::after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold); border-radius: 3px; pointer-events: none; z-index: 2; }
.card:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.card-thumb { padding: 15px 15px 0; }
.card-thumb a { display: block; overflow: hidden; border-radius: 2px; }
.card-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .5s; }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.1rem 1.6rem 1.6rem; text-align: center; min-width: 0; }
.card-label { align-self: center; font-family: var(--f-caps); font-weight: 600; font-size: .85rem; letter-spacing: .18em; color: var(--cream); background: var(--wine); padding: .1rem .7rem; margin-bottom: .6rem; }
.card-title { font-size: 1.42rem; margin: 0 0 .55rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--wine); }
.card-excerpt { font-size: .93rem; line-height: 1.65; color: var(--ink-soft); flex: 1; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-excerpt a { color: var(--wine); }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--gold-soft); }
.card-date { font-family: var(--f-caps); font-weight: 600; font-size: .95rem; letter-spacing: .1em; color: #6F8577; }
.card-more { font-family: var(--f-caps); font-weight: 600; font-size: 1rem; letter-spacing: .12em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .3em; }
.card-more:hover { color: var(--wine); }

.latest-more { text-align: center; margin: 3rem 0 0; }
.empty-note { text-align: center; font-style: italic; color: var(--sage); }

@media (max-width: 960px) { .cards-3, .cards-3:has(> .card:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards-3, .cards-2, .cards-3:has(> .card:nth-child(4)) { grid-template-columns: minmax(0, 1fr); } .card, .card:nth-child(2n), .card:nth-child(3n) { transform: none; } }

/* ---------- Блок 3: Три эпохи ---------- */
.epochs { border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 5px); }
.epochs::before { content: ""; position: absolute; inset: 1.4rem 0; border-top: 1px solid var(--gold-faint); border-bottom: 1px solid var(--gold-faint); pointer-events: none; }
.sec-head-wine .sec-title em { color: var(--gold); }
.epochs-grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 3rem; align-items: center; }
.epochs-section { margin: 0; padding: 8px; border: 1px solid var(--gold-soft); }
.epochs-section img { width: 100%; aspect-ratio: 420 / 486; object-fit: cover; }
.epochs-section figcaption { margin-top: .6rem; text-align: center; font-family: var(--f-caps); font-weight: 600; font-size: .95rem; letter-spacing: .16em; color: var(--sage); }
.epochs-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; position: relative; }
.epochs-line::before { content: ""; position: absolute; left: -1.5rem; right: -1.5rem; top: 58px; height: 1px; background: var(--gold); }
.epochs-line::after { content: ""; position: absolute; right: -1.6rem; top: 54px; width: 9px; height: 9px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.epoch { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; min-width: 0; }
.epoch-seal { position: relative; z-index: 1; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #D9B84A, var(--gold) 45%, #8E6F14 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 0 0 5px rgba(74, 21, 38, .25); }
.epoch-seal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed rgba(74, 21, 38, .55); }
.epoch-seal span { font-family: var(--f-display); font-size: 1.85rem; color: var(--wine-band); letter-spacing: .02em; }
.epoch-plate { margin: 1.6rem 0 1rem; padding: 6px; border: 1px solid var(--gold-soft); width: min(170px, 100%); }
.epoch-plate img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.epoch p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--cream); max-width: 16rem; }

@media (max-width: 960px) {
    .epochs-grid { grid-template-columns: minmax(0, 1fr); }
    .epochs-section { width: min(260px, 100%); justify-self: center; }
}
@media (max-width: 680px) {
    .epochs-line { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; padding-left: 0; }
    .epochs-line::before { left: 58px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .epochs-line::after { display: none; }
    .epochs-line::before { left: 42px; }
    .epoch-seal { width: 84px; height: 84px; }
    .epoch-seal span { font-size: 1.35rem; }
    .epoch { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .4rem 1.2rem; text-align: left; align-items: start; }
    .epoch-seal { grid-row: 1 / span 2; }
    .epoch-plate { margin: 0; width: 120px; }
    .epoch p { max-width: none; }
}

/* ---------- Блок 4: Словарь ценителя ---------- */
.glossary { overflow: hidden; }
.laurel { position: absolute; width: min(560px, 46%); height: auto; opacity: .3; pointer-events: none; }
.laurel-left { left: 0; bottom: 0; transform: rotate(180deg) scaleX(-1); }
.laurel-right { right: 0; top: 0; transform: scaleX(-1); opacity: .22; }
.glossary-inner { position: relative; z-index: 1; }
.glossary-seal { position: absolute; right: 0; top: -1.6rem; width: 170px; height: 170px; opacity: .42; transform: rotate(-12deg); }
.glossary-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4.5rem; }
.term { padding: 1.15rem 0; position: relative; min-width: 0; }
.term::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background-image: radial-gradient(circle, var(--gold) 1.1px, transparent 1.5px); background-size: 12px 3px; background-repeat: repeat-x; opacity: .8; }
.glossary-list .term:nth-last-child(-n+2)::after { display: none; }
.term dt { font-family: var(--f-caps); font-weight: 600; font-size: 1.32rem; letter-spacing: .14em; color: var(--gold); line-height: 1.3; }
.term dd { margin: .2rem 0 0; font-size: .98rem; color: var(--cream); line-height: 1.6; }
@media (max-width: 760px) {
    .glossary-list { grid-template-columns: minmax(0, 1fr); }
    .glossary-list .term:nth-last-child(2)::after { display: block; }
    .glossary-seal { width: 110px; height: 110px; top: -2.6rem; right: -.5rem; }
}

/* ---------- Внутренние страницы ---------- */
.inner { padding: 2.2rem 0 5rem; }
.crumbs { font-family: var(--f-caps); font-weight: 600; font-size: 1rem; letter-spacing: .1em; color: var(--sage); margin: 0 0 2.2rem; padding-bottom: .9rem; border-bottom: 1px solid var(--gold-faint); }
.crumbs a { color: var(--cream); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs-sep { color: var(--gold); margin: 0 .35rem; }
.crumbs span:last-child { color: var(--sage); }

.layout-single { display: block; width: 100%; }
.layout-single .content-area { width: 100%; }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); column-gap: 6%; align-items: start; }
.content-area { min-width: 0; }

.page-head { margin-bottom: 2.4rem; }
.page-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: .4em; }
.archive-desc { color: var(--sage); font-style: italic; margin-bottom: 1rem; }

.sheet { position: relative; background: var(--cream); color: var(--ink); padding: 3rem 3.2rem; border-radius: 6px; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.sheet::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-soft); border-radius: 3px; pointer-events: none; }
.sheet a { color: var(--wine); text-decoration-color: var(--gold); }
.sheet a:hover { color: var(--ink); }
.empty-sheet { text-align: center; }

.entry-head { text-align: center; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--gold-soft); }
.entry-cat { font-family: var(--f-caps); font-weight: 600; letter-spacing: .2em; font-size: .98rem; text-decoration: none; }
.entry-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); margin: .3em 0 .3em; }
.entry-meta { margin: 0; font-family: var(--f-caps); font-weight: 600; letter-spacing: .12em; color: #6F8577; }
.entry-cover { margin: 0 0 2rem; padding: 6px; border: 1px solid var(--gold); }
.entry-cover img { width: 100%; height: auto; }

.entry-content { font-size: 1.06rem; line-height: 1.85; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 2rem; margin: 1.6em 0 .6em; }
.entry-content h3 { font-size: 1.6rem; margin: 1.5em 0 .5em; }
.entry-content h4 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--gold); content: "◆  "; font-size: .7em; }
.entry-content ol li::marker { color: #8C6E12; font-family: var(--f-display); }
.entry-content blockquote { margin: 1.8em 0; padding: 1.6rem 2rem 1.6rem 2.4rem; background: var(--emerald); color: var(--cream); border-left: 3px solid var(--gold); font-family: var(--f-display); font-style: italic; font-size: 1.3rem; line-height: 1.55; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .8rem; font-family: var(--f-caps); font-style: normal; font-size: 1rem; letter-spacing: .16em; color: var(--gold); }
.entry-content blockquote a { color: var(--gold); }
.entry-content img { height: auto; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .88rem; font-style: italic; color: var(--ink-soft); text-align: center; margin-top: .5rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .96rem; border: 1px solid #B8922A; }
.entry-content th, .entry-content td { border: 1px solid #B8922A; padding: .65rem .85rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--cream-deep); font-family: var(--f-caps); font-weight: 600; letter-spacing: .08em; font-size: 1.02rem; }
.entry-content pre { overflow-x: auto; background: var(--emerald-night); color: var(--cream); padding: 1.2rem 1.4rem; font-size: .9rem; }
.entry-content code { font-size: .92em; }
.entry-content hr { border: 0; height: 1px; background: var(--gold); margin: 2.4em 0; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.page-links { margin-top: 2rem; font-family: var(--f-caps); letter-spacing: .1em; }
.entry-tags { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--gold-soft); display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-family: var(--f-caps); font-weight: 600; letter-spacing: .08em; }

.post-navigation { margin: 2.4rem 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.post-navigation a { display: block; padding: 1.2rem 1.4rem; border: 1px solid var(--gold-soft); text-decoration: none; transition: border-color .2s, background-color .2s; height: 100%; }
.post-navigation a:hover { border-color: var(--gold); background: rgba(201, 162, 39, .07); }
.post-navigation .nav-next { text-align: right; }
.nav-sub { display: block; font-family: var(--f-caps); font-weight: 600; letter-spacing: .14em; color: var(--gold); font-size: .95rem; }
.nav-name { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--cream); margin-top: .2rem; }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); } .post-navigation .nav-next { text-align: left; } }

/* ---------- Комментарии ---------- */
.comments { margin-top: 2.4rem; }
.comments-title { font-size: 1.9rem; color: var(--ink); }
.comments-count { font-family: var(--f-caps); font-size: 1.2rem; color: var(--cream); background: var(--wine); padding: 0 .55rem; margin-left: .3rem; vertical-align: middle; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 2rem; border-left: 1px solid var(--gold-soft); padding-left: 1.2rem; }
.note-body { padding: 1.2rem 0; border-bottom: 1px dotted var(--gold); }
.note-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin-bottom: .4rem; }
.note-author { font-family: var(--f-caps); font-weight: 600; font-size: 1.15rem; letter-spacing: .1em; }
.note-date { font-size: .88rem; color: #6F8577; }
.note-wait { font-style: italic; color: var(--wine); }
.note-reply a { font-family: var(--f-caps); font-weight: 600; letter-spacing: .12em; }
.comment-respond { margin-top: 2rem; }
.comment-reply-title { font-size: 1.6rem; color: var(--ink); }
.comment-reply-title small { margin-left: .8rem; font-family: var(--f-caps); font-size: 1rem; }
.form-note { font-size: .9rem; color: var(--ink-soft); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-family: var(--f-caps); font-weight: 600; letter-spacing: .1em; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: inherit; color: var(--ink); background: #FBF6EC; border: 1px solid #B8922A; border-radius: 0; padding: .65rem .8rem; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-family: var(--f-text); font-weight: 400; letter-spacing: 0; font-size: .9rem; }
.comment-form .submit { font-family: var(--f-caps); font-weight: 600; font-size: 1.05rem; letter-spacing: .14em; background: var(--emerald); color: var(--cream); border: 0; padding: .85rem 1.8rem; cursor: pointer; box-shadow: inset 0 0 0 4px var(--emerald), inset 0 0 0 5px var(--gold); transition: background-color .2s, color .2s; }
.comment-form .submit:hover { background: var(--gold); color: var(--emerald-night); box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 5px var(--emerald-night); }
.comments .comment-navigation { margin: 1rem 0; display: flex; justify-content: space-between; font-family: var(--f-caps); font-weight: 600; }

/* ---------- Поиск ---------- */
.search-form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.search-field { flex: 1 1 220px; min-width: 0; font: inherit; color: var(--ink); background: #FBF6EC; border: 1px solid var(--gold); border-radius: 0; padding: .7rem .9rem; }
.search-field::placeholder { color: #7A857D; }
.search-submit { flex: 0 0 auto; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding-top: 3.4rem; padding-bottom: 3.4rem; }
.lost-num { display: block; font-family: var(--f-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--gold); }
.lost .search-form { max-width: 520px; margin-inline: auto; }
.lost-back { margin: 1.4rem 0 0; }
.lost-back .btn-gold { color: var(--emerald-night); }

/* ---------- Пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 3.2rem 0 0; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.8rem; height: 2.8rem; padding: 0 .9rem; font-family: var(--f-caps); font-weight: 600; font-size: 1.08rem; letter-spacing: .08em; color: var(--cream); text-decoration: none; border: 1px solid var(--gold-soft); background: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.pager a.page-numbers:hover { border-color: var(--gold); background: rgba(201, 162, 39, .12); color: var(--gold); }
.pager .page-numbers.current { background: var(--cream); color: var(--ink); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 4px var(--gold); }
.pager .page-numbers.dots { border-color: transparent; min-width: 1.6rem; padding: 0; }

/* ---------- Сайдбар и виджеты ---------- */
.sidebar { background: var(--emerald-aside); color: var(--cream); border: 1px solid var(--gold-soft); outline: 1px solid var(--gold-faint); outline-offset: 4px; padding: 2rem 1.7rem; margin-top: .4rem; min-width: 0; }
.sidebar .widget { margin-bottom: 2.2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.widget-title { font-family: var(--f-caps); font-weight: 600; font-size: 1.2rem; letter-spacing: .18em; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--gold); }
.sidebar .widget-title { color: var(--gold); }
.sidebar, .sidebar p, .sidebar li { color: var(--cream); }
.sidebar a { color: var(--cream); text-decoration: none; }
.sidebar a:hover { color: var(--gold); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .55rem 0; border-bottom: 1px dotted var(--gold-soft); line-height: 1.5; }
.widget li:last-child { border-bottom: 0; }
.sidebar .widget_recent_entries li a::before { content: "◆"; color: var(--gold); font-size: .6em; margin-right: .6rem; vertical-align: .25em; }
.sidebar .post-date, .sidebar .wp-block-latest-posts__post-date { display: block; font-size: .82rem; color: var(--sage); }
.sidebar .search-field { background: var(--cream); }

/* ---------- Подвал ---------- */
.colophon { position: relative; background: var(--emerald-night); color: var(--cream); padding: 3.4rem 0 3.4rem; border-top: 1px solid var(--gold-soft); }
.colophon-ornament { display: flex; justify-content: center; margin: -4.15rem 0 2.4rem; }
.colophon-ornament svg { background: var(--emerald-night); padding: 0 .6rem; }
.colophon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.colophon-col { padding: 0 2.2rem; min-width: 0; }
.colophon-col + .colophon-col { border-left: 1px solid var(--gold-soft); }
.colophon-col:first-child { padding-left: 0; }
.colophon-col:last-child { padding-right: 0; }
.colophon .widget { margin-bottom: 1.6rem; }
.colophon .widget:last-child { margin-bottom: 0; }
.colophon .widget-title { color: var(--gold); border-bottom-color: var(--gold-faint); }
.colophon, .colophon p, .colophon li, .colophon .textwidget { color: #D9D2C2; font-size: .96rem; line-height: 1.7; }
.colophon a { color: var(--cream); text-decoration-color: var(--gold); }
.colophon a:hover { color: var(--gold); }
.colophon .widget li { border-bottom-color: var(--gold-faint); padding: .4rem 0; }
.colophon .post-date { display: block; font-size: .82rem; color: var(--sage); }
.colophon-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--gold-faint); text-align: center; }
.copyright { margin: 0; font-family: var(--f-text); font-size: .88rem; letter-spacing: .02em; line-height: 1.6; color: var(--sage); }
@media (max-width: 960px) {
    .colophon-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .colophon-col, .colophon-col:first-child, .colophon-col:last-child { padding: 0; }
    .colophon-col + .colophon-col { border-left: 0; border-top: 1px solid var(--gold-faint); padding-top: 2rem; }
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.6rem;
    max-width: 960px;
    margin-inline: auto;
    background: var(--cream);
    color: var(--ink);
    padding: 1.2rem 1.6rem;
    border: 1px solid var(--gold);
    box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px var(--gold-soft), 0 14px 30px rgba(0, 0, 0, .45);
}
.cookie-text { flex: 1 1 320px; margin: 0; font-size: .93rem; line-height: 1.55; min-width: 0; }
.cookie-banner .btn-cream { background: var(--emerald); color: var(--cream); }
.cookie-banner .btn-cream:hover { background: var(--gold); color: var(--emerald-night); }

/* ---------- Адаптив разметки ---------- */
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.6rem; }
    .band { padding: 4rem 0; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .band { padding: 3.2rem 0; }
    .masthead { padding-top: 2rem; }
    .sheet { padding: 2.2rem 1.4rem; }
    .entry-content blockquote { padding: 1.2rem 1.2rem 1.2rem 1.4rem; font-size: 1.15rem; }
    .sidebar { padding: 1.6rem 1.3rem; }
    .cookie-banner { padding: 1rem 1.2rem; left: .6rem; right: .6rem; bottom: .6rem; }
    .alignleft, .alignright { float: none; margin: 1em auto; }
}
