@charset "UTF-8";
/*!
Theme Name: Pogliad
Theme URI:
Author: Pogliad
Author URI:
Description: Premium editorial news theme — brown accent, serif headlines, vanilla JS, self-hosted fonts, dark theme, CSS Grid layout.
Version: 1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
Text Domain: pogliad
*/

/* =======================================================================
   1. FONTS
   Body / UI  → Montserrat 400–700, self-hosted woff2 (below).
   Headlines  → system serif stack (Georgia) for a premium editorial feel.
                Zero extra HTTP requests; see --font-heading token.
   ======================================================================= */
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('assets/fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('assets/fonts/montserrat-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('assets/fonts/montserrat-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('assets/fonts/montserrat-700.woff2') format('woff2');
}

/* =======================================================================
   2. DESIGN TOKENS
   ======================================================================= */
:root {
    /* Fonts */
    --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: Georgia, 'Times New Roman', 'PT Serif', 'Noto Serif', serif;

    /* Brand — premium cognac brown.
       --accent is the fill colour (white text on it ≥ 5.5:1).
       --accent-text is the deeper shade for text on light bg (≥ 7:1). */
    --accent:          #8b5a2b;
    --accent-hover:    #a06a35;
    --accent-text:     #76491f;
    --accent-dark:     #6f4720;
    --accent-soft:     rgba(139, 90, 43, .12);
    /* Accent text on the always-dark header — a light tan that stays legible
       in BOTH themes (the dark-brown --accent would vanish on espresso). */
    --accent-on-dark:  #d8a86c;

    /* Neutrals — warm, ivory-leaning */
    --heading:         #241c15;
    --text:            #3a322b;
    --text-secondary:  #5e554c;
    --text-muted:      #6f655b;

    --bg:              #faf7f2;
    --bg-alt:          #f1ece3;
    --card-bg:         #ffffff;

    --border:          #e6ddd0;
    --border-light:    #efe8dd;

    /* Surfaces — espresso brown-black */
    --header-bg:       #241c17;
    --header-text:     #f3ece4;
    --header-link:     #f3ece4;
    --header-border:   rgba(255, 255, 255, .08);

    --footer-bg:       #241c17;
    --footer-text:     #cabdae;
    --footer-border:   rgba(255, 255, 255, .08);

    /* Shadows — warm-tinted */
    --shadow-sm:       0 1px 3px rgba(54, 38, 20, .07);
    --shadow-md:       0 4px 14px rgba(54, 38, 20, .10);
    --shadow-lg:       0 12px 32px rgba(40, 28, 14, .16);

    /* Radius — sharper, editorial */
    --radius-sm:       2px;
    --radius-md:       4px;
    --radius-lg:       8px;
    --radius-btn:      4px;
    --radius-pill:     999px;

    /* Motion */
    --transition:      .25s ease;
    --transition-slow: .4s ease;

    /* Layout — roomy editorial content column */
    --container-max:   1140px;
    --container-pad:   16px;
    --header-h:        56px;
    --sidebar-w:       320px;
}

[data-theme="dark"] {
    /* Caramel accent — light enough to read as link text on the dark bg. */
    --accent:          #c8915a;
    --accent-hover:    #d8a674;
    --accent-text:     #d8a86c;
    --accent-dark:     #a9743f;
    --accent-soft:     rgba(200, 145, 90, .16);

    --heading:         #f2ece3;
    --text:            #d8cfc3;
    --text-secondary:  #a99e90;
    --text-muted:      #9a8f7e;

    --bg:              #1c1712;
    --bg-alt:          #241e18;
    --card-bg:         #241e18;

    --border:          #38302a;
    --border-light:    #2b2420;

    --header-bg:       #17120d;
    --header-text:     #f3ece4;
    --header-link:     #f3ece4;
    --header-border:   rgba(255, 255, 255, .06);

    --footer-bg:       #17120d;
    --footer-text:     #b6a797;
    --footer-border:   rgba(255, 255, 255, .06);

    --shadow-sm:       0 1px 3px rgba(0, 0, 0, .35);
    --shadow-md:       0 4px 14px rgba(0, 0, 0, .45);
    --shadow-lg:       0 12px 32px rgba(0, 0, 0, .55);
}

/* =======================================================================
   3. RESET & BASE
   ======================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: #1d2327;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: clip;
    transition: background .3s ease, color .3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.admin-bar { min-height: calc(100vh - 32px); min-height: calc(100dvh - 32px); }
@media (max-width: 782px) {
    .admin-bar { min-height: calc(100vh - 46px); min-height: calc(100dvh - 46px); }
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { list-style: none; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* =======================================================================
   4. TYPOGRAPHY
   ======================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
h4 { font-size: 1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =======================================================================
   5. UTILITIES
   ======================================================================= */
.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;
}

.desk-visible { display: block; }
.mob-visible  { display: none; }
@media (max-width: 767px) {
    .desk-visible { display: none !important; }
    .mob-visible  { display: block; }
}

/* =======================================================================
   6. LAYOUT PRIMITIVES
   ======================================================================= */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}
.footer { margin-top: auto; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.main {
    flex: 1;
    padding-block: 20px;
}
.main.padtop { padding-top: 30px; }

/* =======================================================================
   7. HEADER — desktop (dark)
   ======================================================================= */
.header.desk-visible {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px solid var(--header-border);
    transition: background .3s ease;
}
.header.desk-visible > .container {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
    padding-block: 8px;
}

.header-logo { flex-shrink: 0; position: relative; top: 5px; }
.header-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.header-logo img { height: 32px; width: auto; display: block; }

.menu-nav-container {
    flex: 1;
    min-width: 0;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Header — mobile */
.header.mob-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px solid var(--header-border);
}
.header.mob-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 8px;
    min-height: 52px;
}
.header.mob-header .custom-logo-link img { height: 30px; width: auto; }

.mob-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Admin-bar compensation */
.admin-bar .header.desk-visible,
.admin-bar .header.mob-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .header.desk-visible,
    .admin-bar .header.mob-header { top: 46px; }
}

/* =======================================================================
   8. DESKTOP NAVIGATION MENU (on dark header)
   ======================================================================= */
.header .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}
.header .menu-item { position: relative; }
.header .menu-item > a {
    display: inline-block;
    padding: 8px 12px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--header-link);
    text-transform: uppercase;
    letter-spacing: .4px;
    text-decoration: none;
    border-radius: var(--radius-btn);
    transition: color var(--transition), background-color var(--transition);
}
.header .menu-item > a:hover,
.header .menu-item.current-menu-item > a,
.header .menu-item.current-menu-ancestor > a {
    color: var(--accent-on-dark);
    background: rgba(255, 255, 255, .04);
}

.header .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-left: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    vertical-align: middle;
}
.sub-menu-wrap { position: static; padding: 0; }

.header .menu > .menu-item > .sub-menu,
.header .menu > .menu-item > .sub-menu-wrap > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    min-width: 210px;
    margin: 0;
    padding: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 99;
}
.header .menu > .menu-item-has-children > .sub-menu::before,
.header .menu > .menu-item-has-children > .sub-menu-wrap > .sub-menu::before {
    content: "";
    position: absolute;
    top: -8px; left: 0; right: 0;
    height: 8px;
}
.header .menu > .menu-item:hover > .sub-menu,
.header .menu > .menu-item:hover > .sub-menu-wrap > .sub-menu,
.header .menu > .menu-item:focus-within > .sub-menu,
.header .menu > .menu-item:focus-within > .sub-menu-wrap > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header .sub-menu .menu-item { display: block; }
.header .sub-menu .menu-item a {
    display: block;
    padding: 8px 14px;
    font-size: .8rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--heading);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.header .sub-menu .menu-item a:hover,
.header .sub-menu .menu-item.current-menu-item a {
    background: var(--accent-soft);
    color: var(--accent);
}

/* =======================================================================
   9. MOBILE BURGER MENU
   ======================================================================= */
.burger {
    position: relative;
    display: none;
}
.header.mob-header .burger { display: block; }
.burger__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px; height: 38px;
    padding: 0;
    color: var(--header-text);
    border-radius: 50%;
    transition: background-color var(--transition), color var(--transition);
}
.burger__link:hover { background: rgba(255, 255, 255, .08); }
.burger__icon {
    display: block;
    width: 22px; height: 22px;
    color: inherit;
}
.burger__list {
    position: fixed;
    top: 52px; left: 0; right: 0;
    max-height: calc(100vh - 52px);
    overflow-y: auto;
    padding: 16px;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    z-index: 99;
}
.admin-bar .burger__list { top: 98px; }
@media (max-width: 782px) {
    .admin-bar .burger__list { top: 98px; }
}
.burger__list.active-js {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.burger__list .menu-item { display: block; border-bottom: 1px solid var(--border-light); }
.burger__list .menu-item:last-child { border-bottom: 0; }
.burger__list .menu-item a {
    display: block;
    padding: 12px 14px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--heading);
    border-radius: 0;
    text-transform: uppercase;
}
.burger__list .menu-item.open-js > .sub-menu {
    display: block; max-height: 500px; padding-top: 4px;
}
.burger__list .sub-menu {
    display: none;
    padding: 0 0 8px 16px;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}
.burger__list .sub-menu .menu-item a {
    padding: 8px 14px;
    font-size: .82rem;
    text-transform: none;
    font-weight: 500;
}

/* =======================================================================
   10. HEADER TOOLS (search, theme toggle)
   ======================================================================= */
.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--header-text);
    cursor: pointer;
    transition: color var(--transition), background-color var(--transition);
}
.tool-btn:hover {
    color: var(--accent-on-dark);
    background: rgba(255, 255, 255, .08);
}
.tool-btn svg { width: 18px; height: 18px; }

/* Inline search bar (replaces nav on click) */
.header-search {
    flex: 1;
    display: none;
    align-items: center;
    gap: 8px;
}
.header-search.is-active { display: flex; }
.header.is-searching .menu-nav-container { display: none; }
/* Editorial underline search — a single bottom rule shared by the field and
   the flat uppercase submit (deliberately unlike a pill + filled button). */
.header-search__form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, .25);
    transition: border-color var(--transition);
}
.header-search__form:focus-within { border-color: var(--accent-on-dark); }
.header-search__input {
    flex: 1;
    height: 38px;
    padding: 0 2px;
    font-size: 1.05rem;
    letter-spacing: .3px;
    color: #fff;
    background: transparent;
    border: 0;
    outline: none;
}
.header-search__input::placeholder { color: rgba(255, 255, 255, .5); }
.header-search__submit {
    flex-shrink: 0;
    height: 38px;
    padding: 0 4px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--accent-on-dark);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color var(--transition);
}
.header-search__submit:hover { color: #fff; }
.header-search__close {
    flex-shrink: 0;
    width: 36px; height: 36px;
    color: var(--header-text);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header-search__close:hover { background: rgba(255, 255, 255, .08); }

/* =======================================================================
   10B. LANGUAGE SWITCHER (Polylang)
   Renders only when Polylang is active. Pill-style trigger on dark header.
   ======================================================================= */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-btn);
    color: var(--header-text);
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .5px;
    transition: background-color var(--transition), border-color var(--transition);
}
.lang-switcher__btn:hover,
.lang-switcher__btn[aria-expanded="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.lang-switcher__chevron {
    flex-shrink: 0;
    transition: transform .2s ease;
}
.lang-switcher__btn[aria-expanded="true"] .lang-switcher__chevron {
    transform: rotate(180deg);
}
.lang-switcher__popup {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: flex;
    gap: 4px;
    padding: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    white-space: nowrap;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.lang-switcher__popup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-switcher__popup-item a,
.lang-switcher__popup-item span {
    display: inline-block;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), color var(--transition);
}
.lang-switcher__popup-item a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}
.lang-switcher__popup-item.is-current span {
    background: var(--accent);
    color: #fff;
}

/* Mobile lang switcher — inline pills on dark header */
.lang-switcher--mobile {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-pill);
    list-style: none;
}
.lang-switcher--mobile .lang-switcher__item a,
.lang-switcher--mobile .lang-switcher__item span {
    display: inline-block;
    padding: 5px 10px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--header-text);
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: background-color var(--transition), color var(--transition);
}
.lang-switcher--mobile .lang-switcher__item a:hover { color: var(--accent-on-dark); }
.lang-switcher--mobile .lang-switcher__item.is-current span {
    background: var(--accent);
    color: #fff;
}

/* =======================================================================
   11. SOCIAL LINKS
   ======================================================================= */
.social-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.header .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--header-text);
    transition: background-color var(--transition), color var(--transition), transform var(--transition);
}
.header .social-links a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}
.social-links .fb-ico::before { content: "f"; font-family: Georgia, serif; font-weight: 700; font-size: .9rem; }
.social-links .tw-ico::before { content: "X"; font-weight: 700; font-size: .8rem; }
.social-links .yt-ico::before { content: "▶"; font-size: .65rem; }
.social-links .tg-ico::before { content: "✈"; font-size: .85rem; }

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--footer-text);
    transition: background-color var(--transition), color var(--transition);
}
.footer .social-links a:hover {
    background: var(--accent);
    color: #fff;
}

/* =======================================================================
   12. BREADCRUMBS
   ======================================================================= */
.breadcrumbs {
    padding-block: 12px;
    font-size: .8rem;
    color: var(--text-muted);
}
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 6px;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent); }

/* =======================================================================
   13. HERO SLIDER (block of 3 cards: 1 big + 2 stacked)
   ======================================================================= */
.hero-slider {
    margin: 14px 0 28px;
    position: relative;
}
.slider-viewport {
    overflow: hidden;
    border-radius: var(--radius-md);
}
.slider-track {
    display: flex;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.slider-block {
    flex: 0 0 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 380px;
}
.slider-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.slider-card a {
    display: block;
    position: relative;
    width: 100%; height: 100%;
    overflow: hidden;
}
.slider-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.slider-card:hover img { transform: scale(1.04); }
.slider-card .slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .8) 100%);
    color: #fff;
    pointer-events: none;
}
.slider-card .slide-cat {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 9px;
    margin-bottom: 8px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-sm);
}
.slider-card .slide-title {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.slider-card .slide-date {
    font-size: .7rem;
    color: rgba(255, 255, 255, .75);
    margin-top: 6px;
}
.slider-card--main {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.slider-card--main .slide-title {
    font-size: 1.35rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.slider-card--s2 { grid-column: 2; grid-row: 1; }
.slider-card--s3 { grid-column: 2; grid-row: 2; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, .92);
    color: #241c17;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    box-shadow: var(--shadow-md);
    opacity: 0;
    z-index: 6;
    transition: opacity .25s, background-color .2s, color .2s, transform .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    z-index: 7;
    pointer-events: none;
}
.slider-dots--desktop {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
}
.slider-dots--mobile { display: none; }
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transition: background .3s, transform .3s;
}
.slider-dot.is-active {
    background: var(--accent);
    transform: scale(1.35);
}
@media (hover: none) {
    .slider-arrow { opacity: .85; }
}

/* =======================================================================
   14. IMAGE WRAPPERS
   ======================================================================= */
.publications-card__img-wrap,
.time-news__img-wrap,
.entry-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
}

/* Aspect ratios match registered image sizes exactly to avoid CLS:
   pogliad-card → 460/290, pogliad-thumb → 200/150 (4/3). */
.publications-card__img-wrap { aspect-ratio: 460 / 290; }
.time-news__img-wrap {
    flex-shrink: 0;
    width: 84px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
}

.publications-card__img,
.time-news__img,
.entry-thumbnail img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.publications-card:hover .publications-card__img,
.time-news:hover .time-news__img {
    transform: scale(1.04);
}

/* =======================================================================
   15. CARDS
   ======================================================================= */
.publications-card {
    display: block;
    background: transparent;
    border-radius: var(--radius-md);
    text-decoration: none;
    outline: 0;
    transition: color var(--transition);
}
/* Flat cards everywhere — no hover lift, no shadow frame, no focus outline.
   The only visual feedback on hover is the title color change (defined below). */
.publications-card:focus,
.publications-card:focus-visible { outline: 0; }
.publications-card__title {
    padding: 12px 4px 6px;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--heading);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}
.publications-card:hover .publications-card__title { color: var(--accent); }
.publications-card > time.time {
    display: block;
    padding: 0 4px 12px;
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-muted);
}
/* =======================================================================
   16. TIME-NEWS LIST (sidebar widget — thumbnail on the RIGHT)
   ======================================================================= */
.time-news {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}
.time-news:last-of-type { border-bottom: 0; }
.time-news__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.time-news__text {
    margin: 0;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--heading);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.time-news:hover .time-news__text { color: var(--accent); }
.time-news__time {
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .2px;
}
.time-news__img-wrap { order: 2; }   /* thumbnail on the RIGHT */
.time-news__icon {
    display: inline-block;
    width: 14px; height: 14px;
    vertical-align: middle;
    margin-left: 4px;
}
.time-news__icon.video-icon::before { content: "▶"; color: var(--accent); font-size: .7rem; }
.time-news__icon.photo-icon::before { content: "📷"; font-size: .7rem; }

.time-news-info {
    display: inline-block;
    margin: 18px 0 6px;
    padding: 4px 10px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: var(--radius-pill);
}
.time-news-info:first-child { margin-top: 0; }

.info {
    display: inline-block;
    padding: 3px 10px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--accent-text);
    background: var(--accent-soft);
    border-radius: var(--radius-pill);
}
.time-news__title--top { font-weight: 700; }

/* =======================================================================
   17. WIDGET (title + more button)
   ======================================================================= */
.widget {
    margin-bottom: 32px;
}
.widget:last-child { margin-bottom: 0; }
.widget__title-wrap {
    position: relative;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.widget__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-left: 14px;
    /* Section labels stay sans — uppercase serif reads poorly. */
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--heading);
    line-height: 1.3;
}
.widget__title::before {
    content: "";
    position: absolute;
    left: 0; top: .12em; bottom: .12em;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}
.widget__title a { color: inherit; text-decoration: none; }
.widget__title a:hover { color: var(--accent); }

/* 2-col grid for posts on home / archive */
.widget .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}
.widget .col { min-width: 0; }

/* "Новини по темі" (see-also) — 4 cards in a row (collapses responsively). */
.widget--see-also .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* "More" button */
.more, .more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    font-family: inherit;
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--accent-text);
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: var(--radius-btn);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition);
}
.more:hover, .more-btn:hover {
    background: var(--accent);
    color: #fff;
}
.more-btn.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* Centered wrapper for "more" buttons */
.more-wrap {
    margin-top: 16px;
    text-align: center;
}

/* Category block on the homepage main column — slightly tighter rhythm */
.cat-block { margin-bottom: 28px; }

/* =======================================================================
   18. HOME / NEWS PAGE LAYOUT (2-column main + sidebar)
   ======================================================================= */
.news-page-content { padding-block: 10px; }
.news-page-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--sidebar-w));
    gap: 28px;
    align-items: start;
}
.news-page-row.bdb {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
}
.news-page-col { min-width: 0; }
.news-page-col[data-sticky-container] { align-self: start; }

.news-page__category-desc {
    margin-top: 8px;
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =======================================================================
   19. SINGLE ARTICLE
   ======================================================================= */
.article { color: var(--text); }
.article__head { margin-bottom: 18px; }
.article__head-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    font-size: .78rem;
    color: var(--text-muted);
}
.article__head-tags .time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.posttitle,
.article__title {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--heading);
}

.article__title-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    margin-block: 18px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.article__title-img-desc {
    margin: -10px 0 18px;
    font-size: .82rem;
    color: var(--text-muted);
    font-style: italic;
}

.article__content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}
.article__content h2 { font-size: 1.35rem; margin: 28px 0 12px; }
.article__content h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.article__content p { margin-bottom: 1.1em; }
.article__content img {
    max-width: 100%;
    height: auto;
    margin-block: 18px;
    border-radius: var(--radius-md);
}
.article__content a { color: var(--accent); text-decoration: underline; }
.article__content a:hover { color: var(--accent-hover); }
.article__content ul, .article__content ol {
    margin: 12px 0 1.1em 22px;
}
.article__content li { margin-bottom: 6px; }
.article__content ul { list-style: disc; }
.article__content ol { list-style: decimal; }
.article__content blockquote {
    border-left: 4px solid var(--accent);
    padding: 14px 22px;
    margin: 22px 0;
    background: var(--bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--heading);
}

/* Share block */
.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.article-share__title {
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--heading);
}
.article-share__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.article-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    padding: 0;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}
.article-share__btn:hover,
.article-share__btn:focus-visible {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    outline: 0;
}
.article-share__btn.is-copied {
    color: #fff;
    background: #4a7c59;
    border-color: #4a7c59;
}

/* Tags */
.article-tags {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
}
.article-tags .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    grid-template-columns: unset;
}
.article-tags__title {
    margin: 0 6px 0 0;
    font-size: .82rem;
    font-weight: 700;
    color: var(--heading);
}
.article-tag {
    display: inline-block;
    padding: 3px 4px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent-text);
    background: transparent;
    border: 0;
    text-decoration: none;
    transition: color var(--transition);
}
.article-tag::before {
    content: "#";
    margin-right: 1px;
    opacity: .55;
}
.article-tag:hover {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* =======================================================================
   20. SEARCH FORM
   ======================================================================= */
.searchform {
    display: flex;
    gap: 8px;
    align-items: stretch;
    max-width: 520px;
    margin: 16px 0;
}
.searchform .input-search {
    flex: 1;
    padding: 10px 18px;
    font-size: .9rem;
    color: var(--text);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    outline: none;
    transition: border-color var(--transition), background-color var(--transition);
}
.searchform .input-search:focus {
    border-color: var(--accent);
    background: var(--bg);
}
.searchform .search-submit {
    padding: 10px 22px;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color var(--transition);
}
.searchform .search-submit:hover { background: var(--accent-hover); }

/* =======================================================================
   21. 404
   ======================================================================= */
.article--404 {
    text-align: center;
    padding-block: 60px;
    max-width: 640px;
    margin: 0 auto;
}
.article--404 .article__title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 14px;
}
.article__actions { margin-top: 22px; }
.btn--primary {
    display: inline-block;
    padding: 9px 20px;
    font-size: .88rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: background-color var(--transition);
}
.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.no-results, .not-found { padding: 24px 0; }
.page-header { margin-bottom: 18px; }
.page-title {
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    margin: 0 0 14px;
}

/* =======================================================================
   22. FOOTER (centered logo + copyright)
   ======================================================================= */
.footer {
    padding-block: 32px 22px;
    background: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
}
.footer__logo {
    display: inline-flex;
    margin-bottom: 16px;
}
.footer__logo img { height: 36px; width: auto; }
.footer__bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer__desc {
    margin: 0;
    font-size: .76rem;
    line-height: 1.65;
    color: var(--footer-text);
}
.footer .social-links { justify-content: center; }

/* Footer navigation (footer_pages menu) — centered horizontal list */
.footer-nav { width: 100%; }
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-menu .menu-item a {
    display: inline-block;
    padding: 4px 0;
    font-size: .82rem;
    font-weight: 500;
    color: var(--footer-text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.footer-menu .menu-item a:hover,
.footer-menu .menu-item.current-menu-item a {
    color: #fff;
    border-color: var(--accent);
}

/* =======================================================================
   23. COMMENTS
   ======================================================================= */
.comments-area {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
}
.comments-title {
    margin-bottom: 18px;
    font-size: 1.1rem;
    font-weight: 700;
}
.comment-list {
    list-style: none;
    margin-bottom: 22px;
}
.comment-list .comment {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.comment-list .comment:last-child { border-bottom: 0; }
.no-comments {
    margin-top: 10px;
    font-size: .88rem;
    color: var(--text-muted);
}

/* =======================================================================
   24. WP ENTRY / CONTENT STRUCTURE
   ======================================================================= */
.entry-header { margin-bottom: 14px; }
.entry-title {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--heading);
}
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--accent); }
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.entry-content { font-size: 1rem; line-height: 1.7; color: var(--text); }
.entry-content p { margin-bottom: 1em; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content a:hover { color: var(--accent-hover); }
.entry-footer {
    margin-top: 12px;
    padding-top: 8px;
    font-size: .78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
}
.entry-thumbnail {
    margin-block: 14px;
    aspect-ratio: 16 / 9;
    max-height: 460px;
}
.entry-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.page-content { padding: 10px 0; }
.page-content p { color: var(--text-secondary); }

.vcard { font-weight: 600; color: var(--heading); }

.widget-title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--heading);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* =======================================================================
   25. WP NATIVE
   ======================================================================= */
.wp-caption { max-width: 100%; margin: 18px 0; }
.wp-caption img { border-radius: var(--radius-md); }
.wp-caption-text {
    padding: 6px 0;
    font-size: .82rem;
    color: var(--text-muted);
    font-style: italic;
}
.alignleft   { float: left;  margin: 4px 18px 18px 0; }
.alignright  { float: right; margin: 4px 0 18px 18px; }
.aligncenter { display: block; margin-inline: auto; }

.page-links {
    margin: 18px 0;
    font-size: .88rem;
}
.page-links a {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.edit-link a {
    font-size: .78rem;
    color: var(--text-muted);
}
.widefat {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.widget-area {
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}

/* =======================================================================
   26. GO-TOP BUTTON (floating)
   ======================================================================= */
.go-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--accent);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color var(--transition);
    z-index: 60;
}
.go-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.go-top:hover { background: var(--accent-hover); }
.go-top svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
    .go-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

/* =======================================================================
   27. RESPONSIVE
   ======================================================================= */
@media (max-width: 1024px) {
    :root { --sidebar-w: 280px; }
}

@media (max-width: 767px) {
    :root { --container-pad: 14px; }

    .news-page-row { grid-template-columns: 1fr; gap: 24px; }
    .news-page-row.bdb { padding-bottom: 24px; margin-bottom: 24px; }
    .news-page-col[data-sticky-container] {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .widget .row { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    /* See-also cards are narrow on mobile — show the full headline, no clamp. */
    .widget--see-also .publications-card__title {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }

    /* Hero slider — flush against the header (cancel .main's 20px top
       padding via negative margin), full-bleed sides, native scroll-snap. */
    .hero-slider { margin: -20px -14px 24px; }
    .slider-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 0;
    }
    .slider-viewport::-webkit-scrollbar { display: none; }
    .slider-track {
        transform: none !important;
        transition: none !important;
        display: flex;
        gap: 0;
    }
    .slider-block {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: auto !important;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 0;
        height: auto;
        padding: 0;
    }
    .slider-block:not(:first-child) { display: none !important; }
    .slider-card {
        flex: 0 0 100vw !important;
        width: 100vw !important;
        min-width: 100vw;
        height: 240px;
        grid-column: auto !important;
        grid-row: auto !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        border-radius: 0;
    }
    .slider-card--main { height: 240px; }
    .slider-card--main .slide-title { font-size: 1rem; -webkit-line-clamp: 3; line-clamp: 3; }
    .slider-arrow { display: none; }
    .slider-dots--desktop { display: none; }
    .slider-dots--mobile {
        display: flex;
        gap: 7px;
        justify-content: center;
        margin: 14px 16px 0;
        pointer-events: none;
    }
    .slider-dots--mobile .slider-dot { background: var(--border); }
    .slider-dots--mobile .slider-dot.is-active { background: var(--accent); }

    .footer__bottom .container { gap: 10px; }
}

@media (max-width: 480px) {
    .widget .row { grid-template-columns: 1fr; gap: 14px; }
    .widget--see-also .row { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
    .posttitle, .article__title { font-size: 1.3rem; }
    .article__title-img { max-height: 260px; }
    .time-news__img-wrap { width: 72px; }
}

/* =======================================================================
   28. DARK THEME OVERRIDES
   ======================================================================= */
[data-theme="dark"] .article__content blockquote { background: var(--bg-alt); color: var(--heading); }
[data-theme="dark"] .searchform .input-search { background: var(--bg-alt); }

/* The dark-theme accent is a light caramel — text/icons sitting ON an accent
   fill switch from white to espresso (≥ 6:1). Decorative accent fills with no
   text (slider dots, the widget-title bar) keep the caramel and are excluded. */
[data-theme="dark"] .lang-switcher__btn:hover,
[data-theme="dark"] .lang-switcher__btn[aria-expanded="true"],
[data-theme="dark"] .lang-switcher__popup-item.is-current span,
[data-theme="dark"] .lang-switcher--mobile .lang-switcher__item.is-current span,
[data-theme="dark"] .header .social-links a:hover,
[data-theme="dark"] .footer .social-links a:hover,
[data-theme="dark"] .slide-cat,
[data-theme="dark"] .slider-arrow:hover,
[data-theme="dark"] .more:hover,
[data-theme="dark"] .more-btn:hover,
[data-theme="dark"] .article-share__btn:hover,
[data-theme="dark"] .article-share__btn:focus-visible,
[data-theme="dark"] .searchform .search-submit,
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .btn--primary:hover,
[data-theme="dark"] .go-top,
[data-theme="dark"] .go-top:hover {
    color: #241c15;
}

/* Logo variant swap — CSS-driven so there is no flicker at page load. */
.custom-logo-link .logo-dark  { display: none; }
.custom-logo-link .logo-light { display: block; }
[data-theme="dark"] .custom-logo-link .logo-light { display: none; }
[data-theme="dark"] .custom-logo-link .logo-dark  { display: block; }

/* In Pogliad the desktop header is always dark, so we always show the white
   logo there regardless of the theme. The `.logo-light` (dark text) variant is
   only used in the light-bg footer of the light theme and on light-bg single
   pages where we render the brand mark. */
.header .custom-logo-link .logo-light { display: none; }
.header .custom-logo-link .logo-dark  { display: block; }

/* Footer logo follows the theme colour (dark footer in both themes). */
.footer .custom-logo-link .logo-light { display: none; }
.footer .custom-logo-link .logo-dark  { display: block; }

/* Theme-toggle icon visibility */
.js-theme-toggle .icon-moon { display: none; }
.js-theme-toggle .icon-sun  { display: inline-block; }
[data-theme="dark"] .js-theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .js-theme-toggle .icon-moon { display: inline-block; }

/* =======================================================================
   29. PRINT
   ======================================================================= */
@media print {
    .header, .footer, .slider-arrow,
    .more, .more-btn, .article-share,
    .tool-btn, .burger,
    .news-page-col[data-sticky-container],
    .widget--see-also,
    .breadcrumbs, .article-tags, .go-top,
    .hero-slider { display: none !important; }
    body { background: #fff; color: #000; }
    .article__content a { color: #000; text-decoration: underline; }
    .article__content a::after { content: " (" attr(href) ")"; font-size: .85em; color: #666; }
}
