:root {
    /* ===== Global (both themes) ===== */
    --text-muted: #666666;
    --border-color: rgba(127, 127, 127, 0.22);
    --trans-speed: 0.3s;
    --trans-ease: cubic-bezier(.4, 0, .2, 1);

    /* ===== Light theme (default) ===== */
    --bg-color: #F7F7F7;
    --text-color: #121212;
    --accent-color: #BF0D0D;
    --accent-color-reverse: #FFA724;
    --header-bg: rgba(247, 247, 247, 0.95);
    --header-text: #121212;
    --side-menu-bg: rgba(247, 247, 247, 0.95);
    --hamburger-bar: #121212;
}

/* ===== Dark theme overrides (when [data-theme="dark"] is set on <html>) ===== */
[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #F7F7F7;
    --accent-color: #FFA724;
    --accent-color-reverse: #BF0D0D;
    --header-bg: rgba(18, 18, 18, 0.95);
    --header-text: #F7F7F7;
    --side-menu-bg: rgba(18, 18, 18, 0.95);
    --hamburger-bar: #F7F7F7;
}

@font-face {
    font-family: "Work Sans Regular";
    src: url("/assets/fonts/WorkSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Work Sans Bold";
    src: url("/assets/fonts/WorkSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather Regular";
    src: url("/assets/fonts/Merriweather-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather Bold";
    src: url("/assets/fonts/Merriweather-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Work Sans Regular", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01rem;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* ===== Global horizontal overflow guard ===== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

pre,
code {
    max-width: 100%;
}

/* ===== end Global guard ===== */

h1,
h2,
h3,
h4 {
    font-family: "Work Sans Bold", sans-serif;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.4rem;
}

a {
    color: var(--accent-color);
}

a:hover {
    color: var(--accent-color-reverse);
}

strong {
    font-family: "Work Sans Bold", sans-serif;
}

header {
    height: 60px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg, rgba(255, 255, 255, 0.9));
    color: var(--header-text, #222);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    transition:
        border-color var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

[data-theme="dark"] header {
    background: var(--header-bg, rgba(18, 18, 18, 0.93));
    color: var(--header-text, #F7F7F7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

.logo-bl {
    position: relative;
    left: 10px;
    width: 40px;
    height: 40px;
    background: url(/assets/img/ui/logo-bl.svg) no-repeat center/contain;
    filter: none;
    z-index: 1101;
    transition: filter var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        transform var(--trans-speed) var(--trans-ease);
}

[data-theme="dark"] .logo-bl {
    background: url(/assets/img/ui/logo-wh.svg) no-repeat center/contain;
}

.logo-bl:hover {
    transform: scale(1.05);
}

main {
    padding-top: 60px;
}

/* ===== MENU ===== */

/* Hamburger Icon */
.hamburger {
    position: fixed;
    right: 10px;
    /* Circle size */
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center bars horizontally */
    gap: 5px;
    /* Space between lines */
    cursor: pointer;
    z-index: 1102;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    background: var(--side-menu-bg);
    transition: background var(--trans-speed) var(--trans-ease);
    box-sizing: border-box;
    /* Ensures border doesn't shrink space */
    padding: 4px;
    /* Padding between lines and border */
}

.hamburger span {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--text-color);
    transition: all var(--trans-speed) var(--trans-ease);
    border-radius: 5px;
    /* Rounded ends for smoother look */
    transform-origin: center;
    /* Keep rotations centered */
}

/* Open state (X) */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Side Menu Layout */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: var(--side-menu-bg);
    color: var(--text-color);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.12);
    z-index: 1101;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    transition:
        transform var(--trans-speed) var(--trans-ease),
        opacity var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease),
        border-color var(--trans-speed) var(--trans-ease);
}

.side-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.side-menu-nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 20px;
}

.side-menu-nav h3 {
    font-family: "Work Sans Bold", sans-serif;
}

.side-menu-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.side-menu-nav a {
    display: block;
    padding: 5px 15px;
    font-family: "Work Sans Bold", sans-serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.5s ease;
}

.side-menu-nav a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.side-menu-switch {
    margin-top: auto;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Footer Side Menu */
.side-menu-footer {
    padding: 20px;
    background: transparent;
    border-top: 1px solid var(--text-color);
    font-size: 0.8rem;
}

.side-menu-footer p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .side-menu {
        width: 70vw;
        min-width: 180px;
    }
}

/* ===== end MENU ===== */




/* Toggle Switch light/dark */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.slider {
    background: transparent;
    border: 2px solid var(--text-color);
    border-radius: 18px;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    transition: border-color var(--trans-speed) var(--trans-ease);
}

.moon,
.sun {
    position: absolute;
    top: 50%;
    font-size: 0.8rem;
    color: var(--text-color);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.moon {
    left: 6px;
}

.sun {
    right: 6px;
}

.slider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: var(--text-color);
    border-radius: 50%;
    z-index: 3;
    transition:
        left 0.35s var(--trans-ease),
        background var(--trans-speed) var(--trans-ease);
}

.toggle-switch input:checked+.slider::before {
    left: calc(100% - 24px);
    /* 54px - 22px (knob) - 2px (border) = 30px */
}

/* end Toggle Switch light/dark */





/* ======================================================================
   ===== AFFILIATE NOTE =====
   Used on: home page - below Prime Video swiper
   ====================================================================== */
.affiliate-note {
    max-width: 100%;
    padding: 10px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: right;
}





/* ======================================================================
   ===== SHARE BUTTONS (GLOBAL) =====
   Used on: side menu -Left, bottom share -Center
   ====================================================================== */

.share-buttons,
.share-buttons-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}

.share-buttons-bottom {
    background: var(--bg-color);
    filter: contrast(0.9);
    padding: 10px 0;
}

/* Default share row (article blocks) */
.share-buttons {
    margin-top: 10px;
}

/* Bottom share row (centered + smaller text) */
.share-buttons-bottom {
    margin-top: 20px;
    justify-content: center;
    font-size: 0.8rem;
}

/* Buttons / links */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: var(--text-color);
    background: transparent;
    text-decoration: none;
    border: 1px solid var(--text-color);
    cursor: pointer;
    line-height: 1;
    transition:
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease),
        border-color var(--trans-speed) var(--trans-ease),
        transform var(--trans-speed) var(--trans-ease);
}

.share-btn:hover,
.share-btn:focus-visible {
    text-decoration: none;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.share-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent-color) 60%, transparent);
    outline-offset: 2px;
}

/* Toggle button (always accent) */
.toggle-btn {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: transparent;
}

/* Extra row */
.share-extra {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.share-extra.hidden {
    display: none;
}

/* ======================================================================
   COPY LINK + TOOLTIP (GLOBAL)
   Works for:
   - .copy-link-btn (copy page URL)
   - .copy-link-btn[data-copy="#anchor"] (copy anchor URL)
   ====================================================================== */

.copy-link-btn {
    position: relative;
    overflow: visible;
}

/* Optional "copied" button state */

.copy-link-btn.copied {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
}

.copy-link-btn:active {
    transform: translateY(1px);
}

/* Tooltip pill */
.copy-tooltip {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    white-space: nowrap;
    line-height: 1.2;

    padding: 4px 10px;
    border-radius: 8px;

    background: var(--accent-color);
    color: #fff;

    box-shadow: 0 10px 18px rgba(0, 0, 0, .14);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;

    max-width: none !important;
}

/* Show it */
.copy-link-btn.copied .copy-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Tooltip arrow */
.copy-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--accent-color);
}

/* Show on copied */
.copy-link-btn.copied .copy-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

/* Make sure overflow is visible in timeline cards */
.tl-card,
.tl-card-title {
    overflow: visible;
}

/* ===== end SHARE BUTTONS ===== */





/* ======================================================================
   SCROLL TO TOP BUTTON (GLOBAL)
   ====================================================================== */
.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 999;

    opacity: 0;
    /* hidden by default */
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.scroll-top i {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.3;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

/* visible state from JS */
.scroll-top.is-visible {
    opacity: 0.9;
    pointer-events: auto;
    transform: translateY(0);
}

/* hover / keyboard focus */
.scroll-top:hover i,
.scroll-top:focus-visible i {
    opacity: 1;
    transform: translateY(-1px);
}

.scroll-top:focus-visible {
    outline: none;
}

/* end Scroll to top button */





/* ======================================================================
   BUTTONS - READ / PRIME - Clean Editorial Style
   ====================================================================== */

.button-read,
.button-prime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: auto;
    min-width: 165px;
    max-width: 100%;

    padding: 10px 16px;
    box-sizing: border-box;

    font-family: "Work Sans Bold", sans-serif;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0.055em;
    text-transform: uppercase;

    text-align: center;
    text-decoration: none;
    cursor: pointer;

    border-radius: 4px;
    border: 0;

    text-shadow: none;
    box-shadow: none;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.button-read i,
.button-prime i {
    font-size: 0.9em;
    line-height: 1;
}

/* READ button */
.button-read {
    background: rgba(247, 247, 247, 0.94);
    color: #121212;
}

.button-read:hover {
    background: #FFFFFF;
    color: #121212;
    transform: translateY(-1px);
}

/* PRIME button */
.button-prime {
    background: #121212;
    color: #FFA724;
}

.button-prime:hover {
    background: #000000;
    color: #FFC66D;
    transform: translateY(-1px);
}

/* Keyboard focus */
.button-read:focus-visible,
.button-prime:focus-visible {
    outline: 3px solid #FFA724;
    outline-offset: 3px;
}

/* Dark mode */
body.dark-mode .button-read,
[data-theme="dark"] .button-read {
    background: rgba(247, 247, 247, 0.94);
    color: #121212;
}

body.dark-mode .button-read:hover,
[data-theme="dark"] .button-read:hover {
    background: #FFFFFF;
    color: #121212;
}

body.dark-mode .button-prime,
[data-theme="dark"] .button-prime {
    background: #050505;
    color: #FFA724;
}

body.dark-mode .button-prime:hover,
[data-theme="dark"] .button-prime:hover {
    background: #000000;
    color: #FFC66D;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .button-read,
    .button-prime {
        width: 100%;
        min-width: 0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .button-read,
    .button-prime {
        transition: none;
    }

    .button-read:hover,
    .button-prime:hover {
        transform: none;
    }
}

/* end BUTTONS - READ / PRIME */




/* ======================================================================
   FRAMES H1
   ====================================================================== */
.frameh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-top: 5px solid var(--text-color);
    border-bottom: 5px solid var(--text-color);
    background: var(--bg-color);
    transition:
        border-color var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

.framel {
    display: flex;
    align-items: left;
    justify-content: left;
    padding: 0 10px;
    width: 100%;
    border-top: 5px solid var(--text-color);
    border-bottom: 5px solid var(--text-color);
    background: var(--bg-color);
    transition:
        border-color var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}


.frameh a,
.framel a {
    color: inherit;
    text-decoration: none;
}

.frameh a:hover,
.framel a:hover {
    text-decoration: underline;
}

/* end FRAMES H1 */



/* ======================================================================
   SWIPER STYLE - Homepage Editorial Cards
   ====================================================================== */

.swiper1,
.swiper2,
.swiper3,
.swiper4,
.swiper5 {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    align-items: stretch;
}

/* Card */
.swiper-slide.hp-slider-card {
    position: relative;
    display: flex;
    align-items: stretch;

    width: 100%;
    height: auto;
    min-height: 285px;

    overflow: hidden;
    border-radius: 8px;

    background-color: #F7F7F7;
    isolation: isolate;
}

/* Card image */
.hp-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    pointer-events: none;
}

/* Readability gradient */
.swiper-slide.hp-slider-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(90deg,
            rgba(247, 247, 247, 0.90) 0%,
            rgba(247, 247, 247, 0.78) 28%,
            rgba(247, 247, 247, 0.36) 48%,
            rgba(247, 247, 247, 0.10) 66%,
            rgba(247, 247, 247, 0.00) 100%);
}

/* Subtle print texture */
.swiper-slide.hp-slider-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(18, 18, 18, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.014) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.32;
}

/* Whole card link */
.clicksl {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: stretch;

    width: 100%;
    min-height: inherit;

    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.clicksl:hover {
    color: inherit;
}

.clicksl:focus-visible {
    outline: 3px solid #FFA724;
    outline-offset: -5px;
}

/* Content */
.slide-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    width: 52%;
    min-height: 100%;
    padding: 22px;

    color: #121212;
}

/* Keep buttons aligned toward bottom */
.slide-content .button-read,
.slide-content .button-prime {
    margin-top: auto;
}

/* Kicker */
.hp-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 8px;

    font-family: "Work Sans Bold", sans-serif;
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #B87912;
}

/* Title */
.swiper-slide.hp-slider-card h3 {
    margin: 0 0 7px;

    font-family: "Work Sans Bold", sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.08;

    color: #121212;
}

/* Meta */
.hp-card-meta {
    margin: 0 0 10px;

    font-family: "Work Sans Bold", sans-serif;
    font-size: 0.82rem;
    line-height: 1.35;

    color: rgba(18, 18, 18, 0.82);
}

/* Description */
.hp-card-desc {
    margin: 0 0 18px;
    max-width: 34ch;

    font-size: 0.86rem;
    line-height: 1.45;

    color: rgba(18, 18, 18, 0.78);
}

/* DARK MODE */

body.dark-mode .swiper-slide.hp-slider-card,
[data-theme="dark"] .swiper-slide.hp-slider-card {
    background-color: #121212;
}

body.dark-mode .swiper-slide.hp-slider-card::before,
[data-theme="dark"] .swiper-slide.hp-slider-card::before {
    background:
        linear-gradient(90deg,
            rgba(18, 18, 18, 0.88) 0%,
            rgba(18, 18, 18, 0.72) 28%,
            rgba(18, 18, 18, 0.34) 48%,
            rgba(18, 18, 18, 0.10) 66%,
            rgba(18, 18, 18, 0.00) 100%);
}

body.dark-mode .swiper-slide.hp-slider-card::after,
[data-theme="dark"] .swiper-slide.hp-slider-card::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
}

body.dark-mode .slide-content,
[data-theme="dark"] .slide-content,
body.dark-mode .swiper-slide.hp-slider-card h3,
[data-theme="dark"] .swiper-slide.hp-slider-card h3 {
    color: #F7F7F7;
}

body.dark-mode .hp-card-meta,
[data-theme="dark"] .hp-card-meta {
    color: rgba(247, 247, 247, 0.82);
}

body.dark-mode .hp-card-desc,
[data-theme="dark"] .hp-card-desc {
    color: rgba(247, 247, 247, 0.76);
}

/* MOBILE */

@media screen and (max-width: 768px) {

    .swiper-slide.hp-slider-card {
        min-height: 320px;
    }

    .swiper-slide.hp-slider-card::before {
        background:
            linear-gradient(180deg,
                rgba(18, 18, 18, 0.04) 0%,
                rgba(18, 18, 18, 0.18) 36%,
                rgba(18, 18, 18, 0.86) 100%);
    }

    body.dark-mode .swiper-slide.hp-slider-card::before,
    [data-theme="dark"] .swiper-slide.hp-slider-card::before {
        background:
            linear-gradient(180deg,
                rgba(18, 18, 18, 0.04) 0%,
                rgba(18, 18, 18, 0.22) 36%,
                rgba(18, 18, 18, 0.90) 100%);
    }

    .slide-content {
        justify-content: flex-end;

        width: 100%;
        min-height: 100%;
        padding: 18px;

        color: #F7F7F7;
    }

    .swiper-slide.hp-slider-card h3 {
        color: #F7F7F7;
    }

    .hp-card-meta,
    .hp-card-desc {
        color: rgba(247, 247, 247, 0.86);
    }

    .hp-card-desc {
        max-width: 100%;
    }
}

/* end SWIPER STYLE */






/* ======================================================================
   NEWSPAPER STYLE - Homepage
   ====================================================================== */
.newspaper {
    width: 100%;
    margin-top: 10px;
}

.newspaper-columns {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.column {
    flex: 1 1 0;
    padding: 0 20px 0 20px;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newspaper a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1.25px;
}

.newspaper a:hover {
    text-decoration-thickness: 2px;
}

.related {
    margin-top: .5rem;
    font-size: .9em;
    opacity: .9;
}

/* 5px border in center */
.left-column {
    border-right: 5px solid var(--text-color);
}

/* Responsive: stack columns on mobile */
@media (max-width: 768px) {
    .newspaper-columns {
        flex-direction: column;
    }

    .left-column {
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 5px solid var(--text-color);
    }

    .right-column {
        padding-top: 10px;
    }
}

/* end Newspaper style */




/* ======================================================================
   READ MORE TOGGLE (homepage)
   ====================================================================== */

.read-more-toggle {
    --rm-accent: var(--accent-color, #BF0D0D);
    --rm-accent-bg: color-mix(in srgb, var(--rm-accent) 12%, transparent);
    --rm-accent-bg-hover: color-mix(in srgb, var(--rm-accent) 18%, transparent);
    --rm-accent-bg-focus: color-mix(in srgb, var(--rm-accent) 22%, transparent);

    color: var(--rm-accent);
    font-family: "Work Sans Bold", sans-serif;
    font-size: 0.9rem;
    line-height: 1.2;

    text-decoration: none;
    cursor: pointer;

    background: transparent;
    border: 0;
    border-radius: 6px;

    display: inline-flex;
    align-items: center;
    gap: 0.45em;

    padding: 6px 8px;
    margin-top: 0.35rem;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        outline-color 0.2s ease;
}

.read-more-toggle:hover {
    color: var(--rm-accent);
    background-color: var(--rm-accent-bg-hover);
}

/* Remove default focus, restore clear keyboard focus */
.read-more-toggle:focus {
    outline: none;
}

.read-more-toggle:focus-visible {
    color: var(--rm-accent);
    background-color: var(--rm-accent-bg-focus);
    outline: 3px solid var(--rm-accent);
    outline-offset: 3px;
}

/* Icon */
.read-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1rem;
    min-width: 1rem;
    height: 1rem;

    font-size: 0.85rem;
    line-height: 1;

    color: currentColor;
    transform: none;
}

/* Keep plus/minus stable */
.read-more-toggle[aria-expanded="true"] .read-more-icon {
    transform: none;
}

/* Label */
.read-more-label {
    display: inline-block;
}

/* Hidden/expanded content */
.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.read-more-content.open {
    max-height: 1000px;
}

/* Fallback for browsers without color-mix */
@supports not (background-color: color-mix(in srgb, red 20%, transparent)) {
    .read-more-toggle:hover {
        background-color: rgba(191, 13, 13, 0.12);
    }

    .read-more-toggle:focus-visible {
        background-color: rgba(191, 13, 13, 0.16);
    }

    .read-more-toggle[aria-expanded="true"] {
        background-color: rgba(191, 13, 13, 0.10);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .read-more-toggle,
    .read-more-content {
        transition: none;
    }
}

/* end READ MORE TOGGLE */





/* ======================================================================
   SKIP LINK (GLOBAL) - for accessibility, keyboard users, screen readers
   ====================================================================== */
.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    transform: translateY(-150%);
    transition: transform .15s ease;
    z-index: 10000;

    padding: .6rem .9rem;
    background: #121212;
    color: #F7F7F7;
    border: 2px solid #FFA724;
    border-radius: .5rem;
    text-decoration: none;
    line-height: 1;
}

/* Show on keyboard focus */
.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: none;
    /* border serves as focus ring */
}

/* end Skip link */





/* ======================================================================
   CUSTOM 404 PAGE
   ====================================================================== */
.hp-404-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    text-align: center;
}

.hp-404-wrapper h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 0.3em 0;
}

.hp-404-wrapper h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 1em 0;
}

.hp-404-wrapper p {
    margin: 0;
    font-size: 1rem;
}

.hp-404-wrapper a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* end Custom 404 Page */




/* ======================================================================
   COOKIE CONSENT BAR — simple toggles + "Accept all" / "Reject all" buttons
   Used on: all pages (global)
   ====================================================================== */
#notice-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    display: none;
    z-index: 9999;

    padding: 1em;
    font-size: .9rem;
    background: var(--bg-color);
    color: var(--text-color);
    border-top: 1px solid var(--accent-color);
    box-shadow: 0 -2px 6px rgba(0, 0, 0, .1);

    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1rem;
}

#notice-bar p {
    margin: 0;
}

#notice-bar a {
    text-decoration: underline;
}

/* Options */
#notice-bar .options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1rem;
}

/* Force "Choose your preferences" to sit above switches */
#notice-bar #bar-options-label {
    flex: 0 0 100%;
    margin: 0;
}

/* Switch label */
#notice-bar .bar-checkbox {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    cursor: pointer;
    user-select: none;
}

/* Hide native checkbox */
#notice-bar .bar-checkbox input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Checked state border and background */
#notice-bar .bar-checkbox input:checked+.bar-toggle {
    border-color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 25%, transparent);
}

/* Track + thumb */
#notice-bar .bar-toggle {
    width: 44px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--text-color) 35%, transparent);
    background: color-mix(in srgb, var(--text-color) 18%, transparent);
    position: relative;
    flex: 0 0 auto;
}

#notice-bar .bar-toggle::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    /* small inset margin */
    width: 18px;
    height: 18px;
    /* 22 - 2*2 = 18 */
    border-radius: 50%;
    background: var(--text-color);
    transition: transform .2s ease, background .2s ease;
}

/* Checked: move thumb fully to the right end */
#notice-bar .bar-checkbox input:checked+.bar-toggle::after {
    background: var(--accent-color);
    transform: translateX(22px);
    /* 44 - 22 = 22 (reaches the end) */
}

/* Focus (keyboard) */
#notice-bar .bar-checkbox input:focus-visible+.bar-toggle {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Actions */
#notice-bar .actions {
    display: flex;
    gap: 8px;
}

#notice-bar button {
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: .35em .85em;
    border-radius: 4px;
    cursor: pointer;
}

#notice-bar button:hover,
#notice-bar button:focus-visible {
    background: var(--accent-color);
    color: var(--bg-color);
    outline: none;
}

/* Mobile */
@media (max-width: 768px) {
    #notice-bar .actions {
        width: 100%;
    }

    #notice-bar button {
        flex: 1;
    }
}

/* end Cookie Consent Bar */





/* Util pages wrapper-layout - About, Articles, Hubs, Contact, Terms, Privacy */
.util-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.util-layout {
    margin-top: 60px;
}

.util-layout h2 {
    margin-top: 0.5rem;
}

.util-layout ul {
    list-style: disc;
    padding-left: 1em;
}

.util-header {
    width: 100%;
}

.util-header .article-meta {
    margin-top: 0.5rem;
}

.util-header .breadcrumbs {
    margin-top: 0.5rem;
}

/* end Util pages wrapper-layout */



/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    /* prevent line breaks */
    border: 0;

    /* Hide visually while keeping in the accessibility tree */
    clip: rect(0 0 0 0);
    /* legacy */
    clip-path: inset(50%);
    /* modern */
}

/* Make hidden text visible when focused/keyboard navigated (use for skip links) */
.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    white-space: normal;
    clip: auto;
    clip-path: none;
}

/* end Screen reader only */




/* ======================================================================
   CONTACT PAGE
====================================================================== */

/* wrappers */
.contact-hero,
.contact-social,
.contact-section {
    max-width: 768px;
    margin: 0 auto 1.25rem;
    padding: 1rem;
}

/* headings + intro */
#contact-title,
.contact-hero h2,
.contact-social h2,
.contact-section h2 {
    margin: 0 0 .5rem;
}

.lead {
    opacity: .9;
    margin-bottom: .75rem;
}

/* form */
.contact-form {
    display: grid;
    gap: 1rem;
}

.field-group {
    display: grid;
    gap: .4rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: .7rem .8rem;
    border: 1px solid var(--text-color);
    border-radius: .6rem;
    background: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}

input::placeholder,
textarea::placeholder {
    opacity: .7;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-color) 25%, transparent);
}

.assist {
    display: flex;
    justify-content: flex-end;
    font-size: 0.9rem;
    opacity: 0.9;
}

.checkbox {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}

.checkbox-text {
    line-height: 1.45;
}

.btn {
    padding: .8rem 1rem;
    border-radius: .8rem;
    border: 1px solid var(--accent-color);
    background: var(--accent-color);
    color: #F7F7F7;
    font-family: "Work Sans Bold", sans-serif;
    cursor: pointer;
    transition: filter .15s, transform .08s;
}

.btn:hover {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* SOCIAL contact */
.contact-social {
    text-align: center;
}

.contact-social .social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

/* icons */
.contact-social a {
    display: flex;
    flex-direction: column;
    /* label under icon on mobile */
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    color: var(--text-color);
    background: transparent;
    font-size: 1.1rem;
    text-decoration: none;
    transition: border-color .2s, color .2s, background-color .2s, transform .08s;
}

.contact-social a i {
    font-size: 1.2rem;
    line-height: 1;
}

.contact-social a span {
    display: none;
    font-size: .5rem;
    margin-top: .25rem;
}

.contact-social a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: color-mix(in oklab, var(--accent-color) 10%, transparent);
    transform: translateY(-1px);
}

/* mobile: bigger icons + show labels */
@media (max-width: 768px) {

    .contact-hero,
    .contact-social,
    .contact-section {
        margin: 0 auto 1rem;
    }

    .contact-social a {
        width: 65px;
        height: 65px;
    }

    .contact-social a i {
        font-size: 1.3rem;
    }

    .contact-social a span {
        display: block;
    }
}

/* end CONTACT PAGE */



/* ======================================================================
   FOOTER
====================================================================== */
.footer {
    background: var(--bg-color);
    filter: contrast(0.9);
    color: var(--text-color);
    font-size: 1rem;
    padding: 0 0 8px 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    padding: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 40px;
    width: 40px;
    background: url(/assets/img/ui/logo-bl.svg) no-repeat center/contain;
    display: inline-block;
}

[data-theme="dark"] .footer-logo {
    background: url(/assets/img/ui/logo-wh.svg) no-repeat center/contain;
}

.footer-txt {
    font-family: "Work Sans Bold", sans-serif;
    font-size: 1.2rem;
    display: inline-block;
}

.footer-links {
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;
    font-family: "Work Sans Bold", sans-serif;
}

.footer-social {
    display: flex;
    gap: 0.8em;
}

.footer-links a {
    color: var(--accent-color);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.footer-social a {
    color: var(--accent-color);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent-color-reverse);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 16px;
    border-top: 1px solid var(--text-color);
    font-size: 0.8rem;
    flex-wrap: wrap;
}

/* util links */
.util-links {
    display: flex;
    align-items: center;
    gap: 1.5em;
}

.util-links a {
    text-decoration: underline;
    color: var(--text-color);
}

/* cookie link - uncomment for styling
.cookie-link {
    display: flex;
}
*/

.cookie-link a {
    text-decoration: none;
    color: var(--text-color);
}

.cookie-link-text {
    text-decoration: underline;
}

/* footer contact */
.footer-contact a {
    text-decoration: underline;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 1em;
        padding: 18px 10px 6px 10px;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1em;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1em;
        padding: 10px 10px 0 10px;
        text-align: center;
    }

    .util-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 1.5em;
        row-gap: 0.85em;
        max-width: 320px;
        margin: 0 auto;
    }

    .util-links a,
    .cookie-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .util-links a {
        margin: 0;
    }

    .cookie-link {
        margin: 0;
    }
}

/* ========== end Footer ========== */




/* ======================================================================
   TABS - Homepage
====================================================================== */
.tabs {
    display: grid;
    grid-template-columns: minmax(220px, 25%) 1fr;
    width: 100%;
    background: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
}

/* Left button column */
.tab-btnwrp {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

.tab-btn {
    flex: 1 1 0;
    min-height: 92px;
    border: none;
    outline: none;
    box-shadow: none;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: "Work Sans Bold", sans-serif;
    font-size: 0.95rem;
    line-height: 1.25;
    cursor: pointer;
    text-align: left;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition:
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease),
        opacity var(--trans-speed) var(--trans-ease);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--text-color);
    color: var(--bg-color);
}

.tab-btn:focus-visible {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Right content area */
.tab-panel-wrapper {
    width: 100%;
    min-width: 0;
}

.tab-panel {
    display: none;
    width: 100%;
    min-height: 100%;
    position: relative;
    padding: clamp(24px, 4vw, 44px);
    background-color: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
}

.tab-panel.active {
    display: block;
}

/* Panel text */
.tab-panel h2 {
    margin: 0 0 0.65rem;
    max-width: 850px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tab-panel p {
    margin: 0;
    max-width: 850px;
    line-height: 1.65;
    opacity: 0.9;
}

/* Article / hub links */
.tab-link-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.55rem 1rem;
    margin-top: 1.25rem;
}

.tab-link-list a {
    color: inherit;
    text-decoration: none;
    font-family: "Work Sans Bold", sans-serif;
    line-height: 1.35;
    position: relative;
    padding-left: 1rem;
    opacity: 0.9;
    transition:
        opacity var(--trans-speed) var(--trans-ease),
        transform var(--trans-speed) var(--trans-ease);
}

.tab-link-list a::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
}

.tab-link-list a:hover,
.tab-link-list a:focus-visible {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
    transform: translateX(2px);
}

.tab-link-list a:focus-visible {
    outline: none;
}

/* Custom backgrounds per panel */
.bg1,
.bg2,
.bg3 {
    background-color: var(--bg-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .tabs {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .tab-btnwrp {
        flex-direction: row;
        width: 100%;
        min-height: 0;
    }

    .tab-btn {
        flex: 1 1 0;
        min-height: 58px;
        justify-content: center;
        text-align: center;
        padding: 10px 8px;
        font-size: 0.78rem;
        line-height: 1.2;
        white-space: normal;
        word-break: normal;
    }

    .tab-panel-wrapper {
        width: 100%;
    }

    .tab-panel {
        padding: 22px 4vw 26px;
    }

    .tab-panel h2 {
        font-size: 1.35rem;
    }

    .tab-panel p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .tab-link-list {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .tab-link-list a {
        font-size: 0.95rem;
    }
}

/* Extra small screens */
@media (max-width: 420px) {
    .tab-btn {
        font-size: 0.72rem;
        padding: 9px 5px;
    }
}

/* end Tabs */