/* =========================================================
   Jaihind News — Production Site Design System
   SINGLE SOURCE OF TRUTH for container, type, spacing, grid.
   Branding preserved. Bootstrap retained for components only.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    /* Container */
    --site-max-width: 1480px;
    --site-pad: 28px;

    /* Height of the sticky primary nav — sticky rails offset from this */
    --header-offset: 46px;

    /* Grid */
    --sidebar-width: 300px;
    --grid-gap: 32px;
    --section-gap: 40px;

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 56px;
    --space-10: 64px;

    /* Brand (preserve Jaihind identity) */
    --color-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-text: #121212;
    --color-muted: #6b6b6b;
    --color-border: #e2e2e2;
    --color-primary: #C60C30;
    --color-primary-deep: #a00a28;
    --color-brand-blue: #0038AD;
    --color-brand-red: #C60C30;

    /* Typography — Malayalam-first (Anek Malayalam)
       Homepage news hierarchy matched to editorial screenshot */
    --font-family: "Anek Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;
    --fs-meta: 0.6875rem;         /* 11px — timestamps */
    --fs-nav: 0.875rem;           /* 14px */
    --fs-body: 1rem;              /* 16px */
    --fs-sidebar-title: 0.875rem; /* 14px — popular / spotlight / compact */
    --fs-card-title: 0.9375rem;   /* 15px — latest list rows */
    --fs-section: 1rem;           /* 16px — POPULAR / LATEST / SPOTLIGHT */
    --fs-hero: clamp(1.375rem, 1.2rem + 0.45vw, 1.5rem); /* 22–24px featured */

    --lh-body: 1.55;
    --lh-title: 1.35;
    --lh-hero: 1.25;

    /* Images */
    --ratio-hero: 16 / 9;
    --ratio-thumb: 4 / 3;
    --radius-media: 0;
}

/* ---------- Base ---------- */
html {
    max-width: 100%;
    overflow-x: clip;
    scroll-padding-top: calc(var(--header-offset) + var(--space-4));
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-bg);
    max-width: 100%;
    overflow-x: clip;
}

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

/* ---------- Container (ONE system) ---------- */
.site-container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: var(--site-pad);
    box-sizing: border-box;
}

/* Alias: home root uses the same container — no second max-width */
.home-page {
    width: 100%;
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: var(--site-pad);
    box-sizing: border-box;
}

/* Full-bleed band; content must nest .site-container */
.site-band {
    width: 100%;
}

.site-band > .site-container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: var(--site-pad);
    box-sizing: border-box;
}

main.site-main {
    width: 100%;
    max-width: none;
    padding-inline: 0 !important;
    box-sizing: border-box;
}

/* Neutralize Bootstrap containers inside our canvas */
main.site-main > .container-fluid,
main.site-main > .container,
.home-page > .container-fluid,
.site-container > .container-fluid,
header .container-fluid,
footer .container-fluid,
.sticky-breaking-news > .container-fluid {
    width: 100%;
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: var(--site-pad) !important;
    box-sizing: border-box;
}

.home-page .container-fluid.px-3,
.home-page .container-fluid.px-md-4 {
    max-width: none;
    padding-inline: 0 !important;
    margin-inline: 0;
}

/* ---------- Typography ---------- */
.jh-meta,
.meta-text,
.meta-date {
    font-size: var(--fs-meta);
    line-height: var(--lh-body);
    color: var(--color-muted);
}

.jh-nav,
header .site-container a {
    font-size: var(--fs-nav);
}

.jh-section-title,
.section-header h5,
.section-header h6 {
    font-family: var(--font-family);
    font-size: var(--fs-section);
    font-weight: 700;
    line-height: var(--lh-title);
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--color-text);
}

.jh-card-title,
.jh-compact-title {
    font-family: var(--font-family);
    font-size: var(--fs-sidebar-title);
    font-weight: 500; /* secondary stories — lighter than lead */
    line-height: var(--lh-title);
    color: var(--color-text);
    margin: 0;
    overflow-wrap: break-word;
    word-break: normal;
    /* Soft editorial clamp — Malayalam may wrap; avoid 8+ line cards */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.jh-story-title {
    font-family: var(--font-family);
    font-size: var(--fs-card-title);
    font-weight: 600; /* list under featured — medium */
    line-height: var(--lh-title);
    color: var(--color-text);
    margin: 0;
    overflow-wrap: break-word;
}

.jh-hero-title {
    font-family: var(--font-family);
    font-size: var(--fs-hero);
    font-weight: 800; /* lead / first main news — heaviest */
    line-height: var(--lh-hero);
    color: var(--color-text);
    margin: var(--space-3) 0 0;
    overflow-wrap: break-word;
}

.news-title-link {
    text-decoration: none;
    color: inherit;
}

.news-title-link:hover .jh-compact-title,
.news-title-link:hover .jh-story-title,
.jh-hero-link:hover .jh-hero-title {
    color: var(--color-primary);
}

/* ---------- Section header ---------- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-left: 0 !important;
    padding: 0 0 var(--space-2) !important;
    margin: var(--space-2) 0 var(--space-5);
}

/* Dual brand tick — Royal Blue + Impact Red (replaces solid red bar) */
.section-header::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 1.05em;
    margin-right: 2px;
    background:
        linear-gradient(var(--color-brand-blue), var(--color-brand-blue))
            left top / 3.5px 100% no-repeat,
        linear-gradient(var(--color-brand-red), var(--color-brand-red))
            right bottom / 3.5px 72% no-repeat;
}

.section-header .jh-section-title,
.section-header h2,
.section-header h5,
.section-header h6 {
    font-family: var(--font-family);
    font-size: var(--fs-section);
    font-weight: 700;
    line-height: var(--lh-title);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    color: var(--color-text);
    flex: 1 1 auto;
    min-width: 0;
}

.section-header a {
    font-size: var(--fs-meta);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-muted);
    flex-shrink: 0;
    margin-left: auto;
}

.section-header a:hover {
    color: var(--color-brand-red);
}

/* ---------- Cards ---------- */
.jh-compact-card {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    align-items: flex-start;
}

.jh-compact-card__media {
    flex: 0 0 auto;
    width: 80px;
    aspect-ratio: var(--ratio-thumb);
    overflow: hidden;
    background: var(--color-border);
}

.jh-compact-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-compact-card__body {
    min-width: 0;
    flex: 1;
}

.jh-list-card {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    align-items: flex-start;
}

.jh-list-card__media {
    flex: 0 0 auto;
    width: 120px;
    aspect-ratio: var(--ratio-thumb);
    overflow: hidden;
    background: var(--color-border);
}

.jh-list-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-list-card__body {
    min-width: 0;
    flex: 1;
}

.jh-hero-card {
    margin-bottom: var(--space-5);
}

.jh-hero-card__media {
    display: block;
    width: 100%;
    aspect-ratio: var(--ratio-hero);
    overflow: hidden;
    background: var(--color-border);
}

.jh-hero-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-hero-link {
    text-decoration: none;
    color: inherit;
}

.jh-ad-slot {
    margin-bottom: var(--space-5);
    text-align: center;
}

.jh-ad-slot__label {
    font-size: var(--fs-meta);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: var(--space-3);
}

.jh-ad-slot__frame {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    aspect-ratio: 300 / 250;
    overflow: hidden;
    background: var(--color-border);
}

.jh-ad-slot__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Breaking ticker ---------- */
.sticky-breaking-news {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: linear-gradient(to right, var(--color-primary), #1565c0);
}

.sticky-breaking-news .flash-news-bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-block: 0.7rem;
    min-height: 52px;
    min-width: 0;
}

.sticky-breaking-news .live-mini {
    flex-shrink: 0;
    gap: 0.35rem;
}

.sticky-breaking-news .live-mini .live-dot {
    width: 9px;
    height: 9px;
}

.sticky-breaking-news .live-mini .jh-breaking-label {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.sticky-breaking-news .flash-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sticky-breaking-news .flash-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: var(--space-5);
    white-space: nowrap;
    animation: jh-ticker 26s linear infinite;
}

.sticky-breaking-news .flash-marquee-track:hover {
    animation-play-state: paused;
}

.sticky-breaking-news .flash-marquee a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem; /* 15px — was meta-size (~11px) */
    font-weight: 600;
    line-height: 1.35;
}

.sticky-breaking-news .flash-marquee .text-warning {
    font-size: 0.9375rem;
}

@keyframes jh-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.close-breaking-news {
    cursor: pointer;
    color: #fff;
    opacity: 0.85;
    flex-shrink: 0;
    font-size: 1.05rem;
    padding: 0.25rem;
}

body:has(.sticky-breaking-news) {
    padding-bottom: 68px;
}

@media (max-width: 767.98px) {
    .sticky-breaking-news .flash-news-bar {
        padding-block: 0.65rem;
        min-height: 50px;
        gap: var(--space-2);
    }

    .sticky-breaking-news .flash-marquee a,
    .sticky-breaking-news .flash-marquee .text-warning {
        font-size: 0.875rem; /* 14px on mobile */
    }

    .sticky-breaking-news .live-mini .jh-breaking-label {
        font-size: 0.75rem;
    }

    .sticky-breaking-news .flash-marquee-track {
        animation-duration: 22s; /* a touch faster on small screens */
    }

    body:has(.sticky-breaking-news) {
        padding-bottom: 64px;
    }
}

/* Live signal (existing classes) */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    display: inline-block;
}

.live-text {
    font-size: var(--fs-meta);
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* ---------- Homepage grid ---------- */
.news-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--sidebar-width);
    gap: var(--grid-gap);
    align-items: start;
    width: 100%;
}

.news-col-popular { grid-column: 1; order: 1; min-width: 0; }
.news-col-main { grid-column: 2; order: 2; min-width: 0; }
.news-col-spotlight { grid-column: 3; order: 3; min-width: 0; }

/*
 * Sticky side rails: page scroll advances the center (up to 15 latest),
 * Popular + Spotlight hold until the news block ends — then full page continues.
 */
@media (min-width: 1280px) {
    .news-col-popular,
    .news-col-spotlight {
        position: sticky;
        top: var(--space-4);
        align-self: start;
        max-height: calc(100vh - var(--space-4) * 2);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
}

/* 2-col: keep Spotlight pinned while center scrolls */
@media (min-width: 768px) and (max-width: 1279.98px) {
    .news-col-spotlight {
        position: sticky;
        top: var(--space-4);
        align-self: start;
        max-height: calc(100vh - var(--space-4) * 2);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
}

.jh-latest-feed {
    display: flex;
    flex-direction: column;
}

/* Live TV host in the right rail (desktop). Empty on mobile. */
.jh-live-rail:empty {
    display: none;
}

.jh-live-rail .jh-live-inline {
    margin-bottom: var(--space-4);
}

@media (max-width: 767.98px) {
    .jh-live-inline {
        margin-top: var(--space-4);
        margin-bottom: var(--space-5);
    }
}

/* ---------- Spotlight vertical marquee ---------- */
.jh-spotlight-marquee {
    --jh-spotlight-duration: 42s;
    --jh-spotlight-viewport: 28rem;
    position: relative;
    margin-bottom: var(--space-2);
}

.jh-spotlight-marquee__viewport {
    height: var(--jh-spotlight-viewport);
    max-height: min(var(--jh-spotlight-viewport), 70vh);
    overflow: hidden;
    mask-image: linear-gradient(
        to bottom,
        transparent 0,
        #000 12px,
        #000 calc(100% - 12px),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0,
        #000 12px,
        #000 calc(100% - 12px),
        transparent 100%
    );
}

.jh-spotlight-marquee__track {
    will-change: transform;
}

.jh-spotlight-marquee--live .jh-spotlight-marquee__track {
    animation: jh-spotlight-scroll var(--jh-spotlight-duration) linear infinite;
}

.jh-spotlight-marquee--live:hover .jh-spotlight-marquee__track,
.jh-spotlight-marquee--live:focus-within .jh-spotlight-marquee__track {
    animation-play-state: paused;
}

.jh-spotlight-marquee__group .jh-compact-card:last-child {
    margin-bottom: var(--space-4);
}

@keyframes jh-spotlight-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .jh-spotlight-marquee--live .jh-spotlight-marquee__track {
        animation: none;
    }

    .jh-spotlight-marquee__viewport {
        height: auto;
        max-height: none;
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }

    .jh-spotlight-marquee__group[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .jh-spotlight-marquee {
        --jh-spotlight-viewport: 22rem;
    }
}

.home-page .cutz-section,
.home-page .mt-5,
.home-page .category-section {
    margin-top: var(--section-gap);
}

/* ---------- CUTZ short-video rail ---------- */
.jh-cutz {
    margin-top: var(--section-gap);
}

.jh-cutz__header {
    margin-bottom: var(--space-5);
}

.jh-cutz__stage {
    position: relative;
}

.jh-cutz__rail {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.jh-cutz__rail::-webkit-scrollbar {
    display: none;
}

.jh-cutz__card {
    --jh-cutz-w: 210px;
    position: relative;
    flex: 0 0 var(--jh-cutz-w);
    width: var(--jh-cutz-w);
    scroll-snap-align: start;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1224;
    box-shadow: 0 10px 28px rgba(0, 24, 70, 0.12);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.jh-cutz__card:hover,
.jh-cutz__card:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 56, 173, 0.18);
    outline: none;
}

.jh-cutz__card.is-playing {
    box-shadow: 0 10px 28px rgba(0, 24, 70, 0.16);
}

.jh-cutz__media {
    position: relative;
    aspect-ratio: 9 / 14;
    background: #111;
    overflow: hidden;
}

.jh-cutz__thumb {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.jh-cutz__card:hover .jh-cutz__thumb {
    transform: scale(1.04);
}

.jh-cutz__card.is-loading .jh-cutz__thumb {
    opacity: 1;
}

.jh-cutz__card.is-ready .jh-cutz__thumb {
    opacity: 0;
    pointer-events: none;
    transform: none;
}

.jh-cutz__player {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

.jh-cutz__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.jh-cutz__shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(0, 24, 70, 0.12) 0%, transparent 30%),
        linear-gradient(0deg, rgba(8, 12, 28, 0.9) 0%, rgba(8, 12, 28, 0.4) 42%, rgba(8, 12, 28, 0.2) 100%);
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.jh-cutz__card.is-ready .jh-cutz__shade {
    opacity: 0.72; /* keep cover so YouTube chrome stays hidden */
}

/* Shared play control — centered + wave rings */
.jh-play {
    --jh-play-size: 48px;
    --jh-play-icon: 1.35rem;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: var(--jh-play-size);
    height: var(--jh-play-size);
    margin: 0;
    translate: -50% -50%;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--color-brand-red);
    color: #fff;
    font-size: var(--jh-play-icon);
    box-shadow: 0 10px 24px rgba(198, 12, 48, 0.4);
    pointer-events: none;
    isolation: isolate;
}

.jh-play i {
    position: relative;
    z-index: 1;
    margin-left: 2px;
    line-height: 1;
}

.jh-play::before,
.jh-play::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid color-mix(in srgb, var(--color-brand-red) 75%, #fff);
    animation: jh-play-wave 2.2s ease-out infinite;
    pointer-events: none;
}

.jh-play::after {
    animation-delay: 1.1s;
}

.jh-play--sm {
    --jh-play-size: 40px;
    --jh-play-icon: 1.1rem;
}

.jh-play--md {
    --jh-play-size: 52px;
    --jh-play-icon: 1.45rem;
}

.jh-play--lg {
    --jh-play-size: 68px;
    --jh-play-icon: 1.85rem;
}

.jh-cutz__card:hover .jh-play,
.jh-gulf-hero:hover .jh-play,
.jh-gulf-tile:hover .jh-play {
    background: var(--color-brand-blue);
    box-shadow: 0 10px 24px rgba(0, 56, 173, 0.35);
}

.jh-cutz__card:hover .jh-play::before,
.jh-cutz__card:hover .jh-play::after,
.jh-gulf-hero:hover .jh-play::before,
.jh-gulf-hero:hover .jh-play::after,
.jh-gulf-tile:hover .jh-play::before,
.jh-gulf-tile:hover .jh-play::after {
    border-color: color-mix(in srgb, var(--color-brand-blue) 70%, #fff);
}

.jh-cutz__card.is-ready .jh-play,
.jh-gulf-hero.is-ready .jh-play,
.jh-gulf-tile.is-ready .jh-play {
    opacity: 0.92;
}

@keyframes jh-play-wave {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        opacity: 0.15;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jh-play::before,
    .jh-play::after {
        animation: none;
        opacity: 0;
    }
}

.jh-cutz__duration {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.jh-cutz__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 14px 14px 16px;
    pointer-events: none;
}

.jh-cutz__kicker {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jh-cutz__tick {
    width: 9px;
    height: 9px;
    background:
        linear-gradient(var(--color-brand-blue), var(--color-brand-blue)) left / 3px 100% no-repeat,
        linear-gradient(var(--color-brand-red), var(--color-brand-red)) right / 3px 70% no-repeat;
}

.jh-cutz__title {
    margin: 0;
    color: #fff;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.jh-cutz__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-4);
}

.jh-cutz__line {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.jh-cutz__line--blue {
    background: var(--color-brand-blue);
}

.jh-cutz__line--red {
    background: var(--color-brand-red);
}

.jh-cutz__line:hover,
.jh-cutz__line:focus-visible {
    transform: scaleY(1.4);
    outline: none;
    opacity: 0.9;
}

.jh-cutz__line:active {
    width: 36px;
}

@media (max-width: 767.98px) {
    .jh-cutz__card {
        --jh-cutz-w: 168px;
    }

    .jh-cutz__title {
        font-size: 0.8125rem;
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jh-cutz__card,
    .jh-cutz__thumb,
    .jh-cutz__line {
        transition: none;
    }

    .jh-cutz__card:hover,
    .jh-cutz__card:focus-visible {
        transform: none;
    }
}

/* CUTZ popup player */
.jh-cutz-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.jh-cutz-modal[hidden] {
    display: none !important;
}

.jh-cutz-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 28, 0.78);
    backdrop-filter: blur(4px);
}

.jh-cutz-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    background: #0b1224;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.jh-cutz-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.jh-cutz-modal__close:hover {
    background: var(--color-brand-red);
}

.jh-cutz-modal__frame {
    aspect-ratio: 9 / 16;
    background: #000;
}

.jh-cutz-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.jh-cutz-modal__title {
    margin: 0;
    padding: 14px 16px 16px;
    color: #fff;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
}

body.jh-cutz-modal-open {
    overflow: hidden;
}

/* ---------- Jaihind Global + Middle East (CNN-style dual rail) ---------- */
.jh-world-rail {
    margin-top: var(--section-gap);
    margin-bottom: var(--space-6);
}

.jh-world-rail__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
}

.jh-panel {
    min-width: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-brand-blue);
    padding: var(--space-5);
}

.jh-panel--videos {
    border-top-color: var(--color-brand-red);
}

.jh-panel .section-header {
    margin-top: 0;
}

.jh-panel__feature {
    margin-bottom: var(--space-5);
}

.jh-panel__feature-media {
    display: block;
    overflow: hidden;
    background: var(--color-border);
    aspect-ratio: 16 / 9;
}

.jh-panel__feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.jh-panel__feature:hover .jh-panel__feature-media img {
    transform: scale(1.03);
}

.jh-panel__feature-body {
    padding-top: var(--space-3);
}

.jh-panel__feature-title {
    margin: 0 0 var(--space-2);
    font-family: var(--font-family);
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.375rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.jh-panel__stack {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

.jh-panel__row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none !important;
    color: inherit;
}

.jh-panel__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.jh-panel__row:hover .jh-panel__row-title {
    color: var(--color-brand-red);
}

.jh-panel__row-media {
    display: block;
    overflow: hidden;
    background: var(--color-border);
    aspect-ratio: 4 / 3;
}

.jh-panel__row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-panel__row-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jh-panel__row-title {
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition: color 0.2s ease;
}

/* Gulf / Middle East videos */
.jh-gulf-hero {
    margin: 0 0 var(--space-4);
    border: 0;
    background: #0b1224;
    cursor: pointer;
    overflow: hidden;
}

.jh-gulf-hero__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
}

.jh-gulf-hero__thumb {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.jh-gulf-hero.is-ready .jh-gulf-hero__thumb {
    opacity: 0;
    pointer-events: none;
}

.jh-gulf-hero__player {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.jh-gulf-hero__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.jh-gulf-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(0deg, rgba(8, 12, 28, 0.65) 0%, rgba(8, 12, 28, 0.25) 48%, rgba(8, 12, 28, 0.2) 100%);
    pointer-events: none;
}

.jh-gulf-hero__live {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 6;
    padding: 4px 10px;
    background: var(--color-brand-blue);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jh-gulf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.jh-gulf-tile {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #0b1224;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

.jh-gulf-tile__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.jh-gulf-tile__thumb {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.jh-gulf-tile:hover .jh-gulf-tile__thumb {
    transform: scale(1.04);
}

.jh-gulf-tile.is-ready .jh-gulf-tile__thumb {
    opacity: 0;
    pointer-events: none;
    transform: none;
}

.jh-gulf-tile__player {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.jh-gulf-tile__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.jh-gulf-tile__shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(8, 12, 28, 0.28);
    pointer-events: none;
}

.jh-gulf-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.jh-gulf-modal[hidden] {
    display: none !important;
}

.jh-gulf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 28, 0.8);
    backdrop-filter: blur(4px);
}

.jh-gulf-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    background: #0b1224;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.jh-gulf-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.jh-gulf-modal__close:hover {
    background: var(--color-brand-red);
}

.jh-gulf-modal__frame {
    aspect-ratio: 16 / 9;
    background: #000;
}

.jh-gulf-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

body.jh-gulf-modal-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .jh-world-rail__grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 575.98px) {
    .jh-panel {
        padding: var(--space-4);
    }

    .jh-panel__row {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .jh-play--lg {
        --jh-play-size: 56px;
        --jh-play-icon: 1.45rem;
    }

    .jh-play--md {
        --jh-play-size: 46px;
        --jh-play-icon: 1.25rem;
    }
}

/* Keep Bootstrap rows inside the editorial canvas */
.home-page .row {
    max-width: 100%;
}

/* Homepage leaderboard / full-width ad — never crop */
.jh-home-banner {
    width: 100%;
}

.jh-home-banner a {
    display: block;
    line-height: 0;
}

.jh-home-banner__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin-inline: auto;
}

/* Editorial image ratios for lower category blocks */
.jh-cat-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.jh-cat-image--sm {
    aspect-ratio: 4 / 3;
}

.jh-cat-image--thumb {
    width: 90px;
    height: 70px;
    aspect-ratio: auto;
    flex-shrink: 0;
    object-fit: cover;
}

/* Lifestyle panel (migrated from inline) */
.jh-lifestyle-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
}

.jh-lifestyle-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.life-tab {
    position: relative;
    padding: 11px 18px;
    font-size: var(--fs-meta);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    cursor: pointer;
    white-space: nowrap;
    border-right: 1px solid var(--color-border);
    flex-shrink: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.life-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--color-brand-red);
    transform: scaleX(0);
    transition: transform 0.18s ease;
}

.life-tab:hover {
    color: var(--color-text);
    background: var(--color-surface-alt, #f6f7f9);
}

.life-tab.is-active {
    color: var(--color-text);
}

.life-tab.is-active::after {
    transform: scaleX(1);
}

.jh-lifestyle-content {
    padding: var(--space-4);
}

/* ---------- Breakpoints (deliberate set) ---------- */

/* XL desktop ≥1600 */
@media (min-width: 1600px) {
    :root {
        --site-max-width: 1480px;
        --site-pad: 28px;
        --sidebar-width: 300px;
        --grid-gap: 32px;
    }
}

/* Large desktop 1280–1599 */
@media (max-width: 1599.98px) {
    :root {
        --site-max-width: 1480px;
        --site-pad: 24px;
        --sidebar-width: 280px;
        --grid-gap: 28px;
    }
}

/* Around ≤1280: leaner sidebars, still 3-col */
@media (max-width: 1280px) {
    :root {
        --site-max-width: 100%;
        --site-pad: 24px;
        --sidebar-width: 250px;
        --grid-gap: 24px;
    }

    /* Give Malayalam titles more width before shrinking type */
    .jh-compact-card {
        gap: var(--space-2);
    }

    .jh-compact-card__media {
        width: 56px;
    }
}

/* Desktop ≤1279: 2-column (main + spotlight), popular below */
@media (max-width: 1279.98px) {
    :root {
        --site-pad: 16px;
        --grid-gap: 24px;
        --section-gap: 32px;
        --site-max-width: 100%;
    }

    .news-layout {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    }

    .news-col-main { grid-column: 1; order: 1; }
    .news-col-spotlight { grid-column: 2; order: 2; }
    .news-col-popular {
        grid-column: 1 / -1;
        order: 3;
        display: block !important;
    }
}

/* Tablet 640–1023 */
@media (max-width: 767.98px) {
    :root {
        --site-pad: 16px;
        --grid-gap: 20px;
        --fs-card-title: 0.875rem;
        --fs-hero: 1.25rem;
    }

    .news-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-col-main { grid-column: 1; order: 1; }
    .news-col-popular {
        grid-column: 1;
        order: 2;
        display: block !important;
    }
    .news-col-spotlight { grid-column: 1; order: 3; }

    .jh-list-card__media { width: 96px; }
}

/* Mobile <640 */
@media (max-width: 639.98px) {
    :root {
        --site-pad: 16px;
        --section-gap: 28px;
        --fs-section: 0.9375rem;
    }

    .jh-compact-card__media { width: 72px; }
    .jh-list-card {
        gap: var(--space-3);
    }
}

/* Kill legacy ultra-wide stretch overrides */
@media (min-width: 2048px) {
    .container-fluid,
    main.container-fluid {
        max-width: var(--site-max-width) !important;
        margin-inline: auto !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* ---------- Account menu (header) ---------- */
header .jh-account {
    position: relative;
}

header .jh-account__trigger {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 3px 8px 3px 3px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #121212 !important;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

header .jh-account__trigger:hover,
header .jh-account__trigger:focus,
header .jh-account__trigger[aria-expanded="true"] {
    background: #f3f5f8 !important;
    border-color: #e5e9ef !important;
    outline: none !important;
    box-shadow: none !important;
}

header .jh-account__avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    flex-shrink: 0;
}

header .jh-account__avatar--lg {
    width: 40px !important;
    height: 40px !important;
}

header .jh-account__avatar--fallback {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #0038AD !important;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
}

header .jh-account__name {
    font-size: 0.875rem;
    font-weight: 600;
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

header .jh-account__caret {
    font-size: 0.65rem;
    color: #0038AD;
    transition: transform 0.15s ease;
}

header .jh-account__trigger[aria-expanded="true"] .jh-account__caret {
    transform: rotate(180deg);
}

header .dropdown-menu.jh-account__menu {
    width: 280px;
    max-width: calc(100vw - 24px);
    margin-top: 8px !important;
    padding: 0 !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
}

header .jh-account__pad {
    padding: 14px 14px 8px;
}

header .jh-account__identity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    margin-bottom: 12px;
}

header .jh-account__identity-copy {
    min-width: 0;
    flex: 1;
}

header .jh-account__identity-name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #121212;
    line-height: 1.2;
}

header .jh-account__identity-email {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: #6b6b6b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

header .jh-account__plan {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f5f7fa;
    border: 1px solid #e8edf3;
}

header .jh-account__plan--active {
    background: #f3f6fc;
    border-color: #d7e0f2;
}

header .jh-account__plan-row {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

header .jh-account__plan-name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #121212;
    line-height: 1.25;
}

header .jh-account__plan-meta {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: #6b6b6b;
}

header .jh-account__plan-badge {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    color: #0038AD;
    border: 1px solid #cfd9ef;
    line-height: 1.2;
}

header .jh-account__plan--active .jh-account__plan-badge {
    background: #0038AD;
    color: #fff;
    border-color: #0038AD;
}

header .jh-account__plan-cta {
    display: inline-block !important;
    margin-top: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0038AD !important;
    text-decoration: none !important;
}

header .jh-account__plan-cta:hover {
    color: #C60C30 !important;
}

header .jh-account__nav {
    display: grid;
    gap: 2px;
}

header .jh-account__link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 10px !important;
    border-radius: 8px;
    color: #121212 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 600;
}

header .jh-account__link i {
    width: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

header .jh-account__link:hover {
    background: #f3f5f8 !important;
}

header .jh-account__footer {
    border-top: 1px solid #eef1f5;
    padding: 6px 8px 8px;
}

header .jh-account__signout {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    width: 100%;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #C60C30 !important;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

header .jh-account__signout:hover,
header .jh-account__signout:focus {
    background: rgba(198, 12, 48, 0.06) !important;
    outline: none !important;
    box-shadow: none !important;
}

header .jh-account__signout i {
    width: 1rem;
    text-align: center;
}

/* ---------- BUSINESS module (editorial grid) ---------- */
.jh-biz {
    margin-top: var(--section-gap);
}

.jh-biz__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
    gap: var(--space-6);
    align-items: start;
}

.jh-biz__main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--space-5) var(--space-6);
    align-items: start;
}

.jh-biz__lead {
    display: block;
    color: inherit;
    text-decoration: none;
}

.jh-biz__lead-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8ebf0;
}

.jh-biz__lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.jh-biz__lead:hover .jh-biz__lead-media img,
.jh-biz__lead:focus-visible .jh-biz__lead-media img {
    transform: scale(1.03);
}

.jh-biz__lead-body {
    padding-top: var(--space-3);
}

.jh-biz__kicker {
    display: inline-block;
    margin-bottom: var(--space-2);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-biz__lead-title {
    margin: 0 0 var(--space-2);
    font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
    font-weight: 700;
    line-height: var(--lh-hero);
    color: var(--color-text);
}

.jh-biz__meta {
    display: block;
    font-size: var(--fs-meta);
    color: var(--color-muted);
    line-height: 1.3;
}

.jh-biz__stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color-border);
}

.jh-biz__stack-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    color: inherit;
    text-decoration: none;
}

.jh-biz__stack-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8ebf0;
}

.jh-biz__stack-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-biz__stack-title {
    margin: 0 0 var(--space-1);
    font-size: var(--fs-sidebar-title);
    font-weight: 650;
    line-height: var(--lh-title);
    color: var(--color-text);
}

.jh-biz__stack-item:hover .jh-biz__stack-title,
.jh-biz__strip-item:hover .jh-biz__strip-title,
.jh-biz__video-lead:hover .jh-biz__video-title,
.jh-biz__video-row:hover .jh-biz__video-row-title {
    color: var(--color-brand-blue);
}

.jh-biz__strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.jh-biz__strip:has(.jh-biz__strip-item:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jh-biz__strip:has(.jh-biz__strip-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jh-biz__strip-item {
    display: block;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.jh-biz__strip-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: var(--space-2);
    background: #e8ebf0;
}

.jh-biz__strip-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-biz__strip-title {
    margin: 0 0 var(--space-1);
    font-size: var(--fs-sidebar-title);
    font-weight: 650;
    line-height: var(--lh-title);
    color: var(--color-text);
}

.jh-biz__videos {
    padding: var(--space-4);
    background: linear-gradient(180deg, #f3f5f8 0%, #eef1f6 100%);
    border: 1px solid #e4e8ef;
}

.jh-biz__videos-head {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid #d9dee9;
}

.jh-biz__videos-title {
    margin: 0;
    font-size: var(--fs-section);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-text);
}

.jh-biz__video-lead {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.jh-biz__video-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: var(--space-3);
    background: #0b1224;
}

.jh-biz__video-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-biz__play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 50%;
    background: rgba(198, 12, 48, 0.92);
    box-shadow: 0 8px 20px rgba(0, 24, 70, 0.25);
}

.jh-biz__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    transform: translate(-40%, -50%);
}

.jh-biz__video-title,
.jh-biz__video-row-title {
    margin: 0;
    font-size: var(--fs-sidebar-title);
    font-weight: 650;
    line-height: var(--lh-title);
    color: var(--color-text);
}

.jh-biz__video-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.jh-biz__video-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    color: inherit;
    text-decoration: none;
}

.jh-biz__video-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0b1224;
}

.jh-biz__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1099.98px) {
    .jh-biz__grid {
        grid-template-columns: 1fr;
    }

    .jh-biz__videos {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .jh-biz__main {
        grid-template-columns: 1fr;
    }

    .jh-biz__strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jh-biz__stack-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

@media (max-width: 479.98px) {
    .jh-biz__strip {
        grid-template-columns: 1fr;
    }
}

/* ---------- Agriculture + Wellness duo (contrasting columns) ---------- */
.jh-duo {
    --jh-duo-radius: 10px;
    margin-top: var(--section-gap);
}

.jh-duo__columns {
    display: grid;
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.35fr);
    gap: var(--space-6) var(--space-7);
    align-items: start;
}

.jh-duo__head {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border);
}

.jh-duo__title {
    margin: 0;
    font-size: var(--fs-section);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-text);
}

.jh-duo__list {
    display: flex;
    flex-direction: column;
}

.jh-duo__row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    color: inherit;
    text-decoration: none;
}

.jh-duo__row:first-child {
    padding-top: 0;
}

.jh-duo__thumb {
    width: 84px;
    height: 84px;
    overflow: hidden;
    border-radius: var(--jh-duo-radius);
    background: #e8ebf0;
}

.jh-duo__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-duo__row-title {
    margin: 0 0 var(--space-2);
    font-size: var(--fs-sidebar-title);
    font-weight: 650;
    line-height: var(--lh-title);
    color: var(--color-text);
}

.jh-duo__row:hover .jh-duo__row-title {
    color: var(--color-brand-blue);
}

.jh-duo__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand-blue);
}

.jh-duo__mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.jh-duo__tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--jh-duo-radius);
    background: #0b1224;
    text-decoration: none;
    color: #fff;
}

.jh-duo__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.jh-duo__tile:hover img,
.jh-duo__tile:focus-visible img {
    transform: scale(1.05);
}

.jh-duo__tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(8, 14, 28, 0.88) 100%);
    pointer-events: none;
}

.jh-duo__tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jh-duo__tile-title {
    font-size: clamp(0.82rem, 0.75rem + 0.25vw, 0.95rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.jh-duo__tile-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.jh-duo__more {
    display: inline-block;
    margin-top: var(--space-4);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand-red);
    text-decoration: none;
}

.jh-duo__more:hover {
    color: var(--color-primary-deep);
}

@media (max-width: 991.98px) {
    .jh-duo__columns {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 575.98px) {
    .jh-duo__mosaic {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2);
    }

    .jh-duo__thumb {
        width: 72px;
        height: 72px;
    }

    .jh-duo__row {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

/* ---------- Homepage: one media system ----------
   The page had grown 20+ image treatments (1:1, 4:3, 1.45:1, 1.6:1, 16:9).
   Everything now resolves to two frames: 16:9 for landscape cards, 4:3 for
   thumbnail rails. Cutz keeps its 9:16 short-video frame. */
.home-page .jh-cat-image,
.home-page .card-img-top,
.home-page .featured-image,
.home-page .jh-duo__tile img,
.home-page .jh-biz__lead-media img,
.home-page .jh-biz__strip-media img,
.home-page .jh-biz__video-media img,
.home-page .jh-lifestyle-content img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--color-surface-alt, #f1f3f6);
}

.home-page .news-item-hover img,
.home-page .jh-duo__thumb img {
    flex: 0 0 88px;
    width: 88px !important;
    height: 66px !important;
    object-fit: cover;
    background: var(--color-surface-alt, #f1f3f6);
}

/* ---------- Homepage: section rhythm ----------
   Spacing used to come from stacked <br> tags, which produced gaps of
   40–131px between neighbouring sections. */
.home-page > section,
.home-page > div.category-section,
.home-page > div.mt-4,
.home-page > div.mt-5,
.home-page > .jh-world-rail,
.home-page > .jh-duo,
.home-page > .cutz-section {
    /* Beats Bootstrap's .mt-4/.mt-5 utilities, which carry !important. */
    margin-top: var(--section-gap) !important;
    margin-bottom: 0 !important;
}

.home-page > .news-layout {
    margin-top: 0;
}

.home-page > hr {
    display: none;
}

/* ---------- Homepage: shared category section ----------
   AUTO, WOMEN and SPORTS each shipped a different layout for identical
   content. They now share one lead-plus-stack grid. */
.jh-catsec__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: var(--grid-gap);
    align-items: start;
}

.jh-catsec__lead > .jh-catsec__media {
    display: block;
    margin-bottom: var(--space-3);
    overflow: hidden;
    border-radius: 8px;
}

.jh-catsec__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--color-surface-alt, #f1f3f6);
    transition: transform 0.4s ease;
}

.jh-catsec__lead:hover .jh-catsec__media img {
    transform: scale(1.03);
}

.jh-catsec__lead-title {
    margin: 0 0 var(--space-2);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.jh-catsec__stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.jh-catsec__row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.jh-catsec__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.jh-catsec__row-media {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.jh-catsec__row-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--color-surface-alt, #f1f3f6);
}

.jh-catsec__row-title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.38;
    color: var(--color-text);
}

.jh-catsec .news-title-link:hover .jh-catsec__lead-title,
.jh-catsec .news-title-link:hover .jh-catsec__row-title {
    color: var(--color-brand-red);
}

@media (max-width: 991.98px) {
    .jh-catsec__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-5);
    }
}

@media (max-width: 575.98px) {
    .jh-catsec__row {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .jh-catsec__lead-title {
        font-size: 1.1rem;
    }
}

/* ---------- Homepage: lead story package ---------- */
/* Manorama-style lead: bold but controlled — ~20–28px, not a billboard. */
.home-page .jh-hero-title {
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin-top: var(--space-2);
}

.jh-hero-kicker {
    display: inline-block;
    margin: var(--space-3) 0 var(--space-2);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-hero-standfirst {
    margin: var(--space-2) 0 var(--space-2);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-muted);
    max-width: 62ch;
}

@media (max-width: 767.98px) {
    .home-page .jh-hero-title {
        font-size: 20px; /* Manorama-like mobile lead (root is 14px) */
        line-height: 1.38;
        font-weight: 700;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .jh-hero-standfirst {
        font-size: 14px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

.jh-latest-head {
    margin-top: var(--space-6);
}

/* ---------- Site header ---------- */
.jh-hdr,
.jh-hdr__nav,
.jh-hdr__quick,
.jh-mega {
    --hdr-ink: #111111;
    --hdr-muted: #6b6b6b;
    --hdr-rule: #e3e5e9;
    --hdr-rule-strong: #cfd3da;
    --hdr-tint: #f6f7f9;
}

.jh-hdr {
    position: relative;
    z-index: 1040;
    background: #fff;
}

/* ---- Utility bar ---- */
.jh-hdr__utility {
    background: var(--hdr-tint);
    border-bottom: 1px solid var(--hdr-rule);
}

.jh-hdr__utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 36px;
}

.jh-hdr__util-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.jh-hdr__stamp {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--hdr-muted);
    white-space: nowrap;
}

.jh-hdr__stamp-time {
    color: var(--hdr-ink);
    font-variant-numeric: tabular-nums;
}

.jh-hdr__rule {
    width: 1px;
    height: 14px;
    background: var(--hdr-rule-strong);
    flex-shrink: 0;
}

.jh-hdr__live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-red);
    text-decoration: none;
    white-space: nowrap;
}

.jh-hdr__live:hover {
    color: var(--color-primary-deep);
}

.jh-hdr__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-brand-red);
    flex-shrink: 0;
    animation: jh-live-pulse 1.4s ease-in-out infinite;
}

.jh-hdr__social {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.jh-hdr__social a {
    display: inline-flex;
    font-size: 0.9rem;
    color: #55585e;
    text-decoration: none;
    transition: color 0.15s ease;
}

.jh-hdr__social a:hover {
    color: var(--color-brand-blue);
}

.jh-hdr__lang,
.jh-hdr__util-link,
.jh-hdr__util-auth {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--hdr-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.jh-hdr__lang:hover,
.jh-hdr__util-link:hover,
.jh-hdr__util-auth:hover {
    color: var(--color-brand-red);
}

.jh-hdr__util-auth {
    color: var(--color-brand-blue, #0038AD);
    font-weight: 700;
}

/* ---- Masthead ---- */
.jh-hdr__mast {
    background: #fff;
}

.jh-hdr__mast-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
    padding-block: var(--space-4);
}

.jh-hdr__sections {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 38px;
    padding: 0 0.95rem 0 0.8rem;
    border: 1px solid var(--hdr-rule-strong);
    border-radius: 999px;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hdr-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.jh-hdr__sections i {
    font-size: 1.05rem;
}

.jh-hdr__sections:hover,
.jh-hdr__sections:focus-visible {
    border-color: var(--hdr-ink);
    background: var(--hdr-ink);
    color: #fff;
    outline: none;
}

.jh-hdr__logo {
    justify-self: center;
    display: block;
    line-height: 0;
}

.jh-hdr__logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: min(250px, 42vw);
    object-fit: contain;
    object-position: center;
}

.jh-hdr__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.jh-hdr__mast-auth {
    display: flex;
    align-items: center;
}

.jh-hdr__icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--hdr-rule-strong);
    border-radius: 50%;
    background: #fff;
    font-size: 0.95rem;
    color: var(--hdr-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.jh-hdr__icon-btn:hover,
.jh-hdr__icon-btn:focus-visible {
    border-color: var(--color-brand-blue);
    background: var(--color-brand-blue);
    color: #fff;
    outline: none;
}

.jh-hdr__subscribe {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 1.15rem;
    border-radius: 999px;
    background: var(--color-brand-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.jh-hdr__subscribe:hover {
    background: var(--color-primary-deep);
    color: #fff;
}

.jh-hdr__signin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 38px;
    padding: 0 0.95rem;
    border: 1px solid var(--hdr-rule-strong);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hdr-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.jh-hdr__signin:hover {
    border-color: var(--color-brand-blue);
    color: var(--color-brand-blue);
}

/* ---- Primary nav (sticky) ---- */
.jh-hdr__nav {
    position: sticky;
    top: 0;
    z-index: 1035;
    background: #fff;
    border-top: 1px solid var(--hdr-rule);
    /* Soft hairline — black (#111) fought the red active tick and looked heavy. */
    border-bottom: 1px solid color-mix(in srgb, var(--color-brand-blue) 18%, var(--hdr-rule));
    transition: box-shadow 0.2s ease;
}

.jh-hdr__nav.is-stuck {
    box-shadow: 0 8px 20px -12px rgba(10, 20, 50, 0.45);
}

.jh-hdr__nav-inner {
    display: flex;
    align-items: stretch;
    gap: var(--space-4);
    min-height: 46px;
}

.jh-hdr__nav-brand {
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
}

.jh-hdr__nav-brand img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 146px;
    object-fit: contain;
    object-position: left center;
}

.jh-hdr__nav.is-stuck .jh-hdr__nav-brand {
    width: 150px;
    opacity: 1;
    margin-right: 0.35rem;
}

.jh-hdr__links {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.jh-hdr__links::-webkit-scrollbar {
    display: none;
}

.jh-hdr__home,
.jh-hdr__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--hdr-ink);
    text-decoration: none;
    transition: color 0.15s ease;
}

.jh-hdr__home {
    font-size: 1rem;
}

.jh-hdr__home::after,
.jh-hdr__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--color-brand-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.18s ease;
}

.jh-hdr__home:hover,
.jh-hdr__link:hover {
    color: var(--color-brand-red);
}

.jh-hdr__home:hover::after,
.jh-hdr__link:hover::after,
.jh-hdr__home.is-active::after,
.jh-hdr__link.is-active::after {
    transform: scaleX(1);
}

.jh-hdr__link.is-active,
.jh-hdr__home.is-active {
    color: var(--color-brand-red);
}

.jh-hdr__nav-end {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    padding-left: 0.75rem;
    background: #fff;
}

/* Fade the scrolling link rail out before it meets the Watch button. */
.jh-hdr__nav-end::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -28px;
    width: 28px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.jh-hdr__nav-subscribe {
    display: none;
    align-items: center;
    height: 30px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: var(--color-brand-red);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.jh-hdr__nav-subscribe:hover {
    background: var(--color-primary-deep);
    color: #fff;
}

.jh-hdr__nav.is-stuck .jh-hdr__nav-subscribe {
    display: inline-flex;
}

.jh-hdr__watch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hdr-ink);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.jh-hdr__watch i {
    font-size: 1.05rem;
    color: var(--color-brand-red);
}

.jh-hdr__watch:hover {
    color: var(--color-brand-red);
}

/* ---- Quick links ---- */
.jh-hdr__quick {
    background: var(--hdr-tint);
    border-bottom: 1px solid var(--hdr-rule);
}

.jh-hdr__quick-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-block: 0.5rem;
    min-width: 0;
}

.jh-hdr__quick-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hdr-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.jh-hdr__chips {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.jh-hdr__chips::-webkit-scrollbar {
    display: none;
}

.jh-hdr__chip {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 0.8rem;
    border: 1px solid var(--hdr-rule-strong);
    border-radius: 999px;
    background: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--hdr-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.jh-hdr__chip:hover {
    border-color: var(--color-brand-blue);
    color: var(--color-brand-blue);
}

.jh-hdr__chip.is-active {
    border-color: var(--color-brand-red);
    background: var(--color-brand-red);
    color: #fff;
}

/* ---- Sections mega menu ---- */
.jh-mega.offcanvas-top {
    bottom: auto;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    border-bottom: 3px solid var(--color-brand-red);
}

.jh-mega__inner {
    padding-block: var(--space-6) var(--space-7);
}

.jh-mega__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--hdr-rule);
}

.jh-mega__eyebrow {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-mega__title {
    margin: 0;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--hdr-ink);
}

.jh-mega__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.jh-mega__group h3 {
    margin: 0 0 var(--space-3);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--hdr-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hdr-ink);
}

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

.jh-mega__group li + li {
    border-top: 1px solid var(--hdr-rule);
}

.jh-mega__group ul a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hdr-ink);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.jh-mega__group ul a i {
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.jh-mega__group ul a:hover {
    color: var(--color-brand-blue);
    padding-left: 0.25rem;
}

.jh-mega__group ul a:hover i,
.jh-mega__group ul a.is-active i {
    opacity: 1;
    transform: translateX(0);
}

.jh-mega__group ul a.is-active {
    color: var(--color-brand-red);
}

.jh-mega__promo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem;
    margin-bottom: 0.6rem;
    border: 1px solid var(--hdr-rule);
    border-left: 3px solid var(--color-brand-red);
    background: var(--hdr-tint);
    color: var(--hdr-ink);
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.jh-mega__promo:hover {
    background: #fff;
    border-color: var(--hdr-rule-strong);
    border-left-color: var(--color-brand-red);
}

.jh-mega__promo--sub {
    border-left-color: var(--color-brand-blue);
}

.jh-mega__promo--sub:hover {
    border-left-color: var(--color-brand-blue);
}

.jh-mega__promo i {
    color: var(--color-brand-blue);
}

.jh-mega__promo > span {
    min-width: 0;
}

.jh-mega__promo strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.jh-mega__promo small {
    display: block;
    font-size: 0.75rem;
    color: var(--hdr-muted);
}

/* ---- Legacy hover utilities (used by home + footer) ---- */
.hover-blue,
.hover-green,
.hover-red,
.hover-danger,
.hover-primary {
    transition: color 0.2s ease, transform 0.2s ease;
}

.hover-blue:hover { color: var(--color-brand-blue) !important; }
.hover-green:hover { color: #198754 !important; }
.hover-red:hover,
.hover-danger:hover,
.hover-primary:hover { color: var(--color-brand-red) !important; }

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ---- Watch panel bits ---- */
.offcanvas-end {
    width: 420px;
    max-width: 85vw;
}

.video-thumb-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-thumb-wrapper:hover .play-icon-overlay {
    opacity: 1;
}

.play-icon-overlay i {
    font-size: 24px;
}

#videoTabs .nav-link {
    color: var(--color-muted);
    font-weight: 600;
    border: none;
    border-bottom: 2px solid transparent;
}

#videoTabs .nav-link.active,
#videoTabs .nav-link:hover {
    color: var(--color-brand-red);
    background: none;
    border-bottom-color: var(--color-brand-red);
}

/* ---- Header responsive ---- */
@media (max-width: 1199.98px) {
    .jh-hdr__links {
        gap: 1rem;
    }
}

@media (max-width: 991.98px) {
    .jh-hdr__sections span {
        display: none;
    }

    .jh-hdr__sections {
        width: 38px;
        padding: 0;
        justify-content: center;
        flex-shrink: 0;
    }

    .jh-hdr__logo img {
        height: 40px;
        max-width: min(200px, 40vw);
    }

    .jh-mega__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-offset: 42px;
    }

    /* Keep the clock + Login/Signup; drop date, social, util Subscribe. */
    .jh-hdr__stamp [data-clock-date],
    .jh-hdr__social,
    .jh-hdr__util-link {
        display: none;
    }

    .jh-hdr__utility-inner .jh-hdr__rule {
        display: none;
    }

    .jh-hdr__utility-inner {
        gap: var(--space-3);
    }

    .jh-hdr__util-auth {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    /* Masthead: search + subscribe only — account moved to utility bar. */
    .jh-hdr__mast-auth {
        display: none;
    }

    /*
     * Flex masthead on small screens. The old 1fr/auto/1fr grid let a wide
     * logo overlap Subscribe when the side columns got squeezed.
     */
    .jh-hdr__mast-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding-block: var(--space-3);
    }

    .jh-hdr__logo {
        flex: 1 1 auto;
        min-width: 0;
        justify-self: unset;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .jh-hdr__logo img {
        height: 32px;
        width: auto;
        max-width: min(148px, 100%);
        object-fit: contain;
        object-position: center;
    }

    .jh-hdr__actions {
        flex: 0 0 auto;
        justify-self: unset;
        gap: 0.4rem;
    }

    .jh-hdr__subscribe {
        height: 32px;
        padding: 0 0.7rem;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .jh-hdr__icon-btn {
        height: 32px;
        width: 32px;
        flex-shrink: 0;
    }

    .jh-hdr__nav-inner {
        min-height: 42px;
        gap: var(--space-3);
    }

    .jh-hdr__nav.is-stuck .jh-hdr__nav-brand {
        width: 0;
        opacity: 0;
        margin-right: 0;
    }

    .jh-hdr__nav-subscribe,
    .jh-hdr__watch span {
        display: none;
    }

    .jh-hdr__nav.is-stuck .jh-hdr__nav-subscribe {
        display: none;
    }

    .jh-mega__grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
}

@media (max-width: 575.98px) {
    .jh-hdr__quick-label {
        display: none;
    }
}

/* ---------- Article page (international editorial standard) ---------- */
.jh-story {
    --story-ink: #111111;
    --story-body: #1c1c1c;
    --story-muted: #6b6b6b;
    --story-rule: #e3e5e9;
    --story-rule-strong: #cfd3da;
    --story-reading-width: 1180px;
    padding-block: var(--space-5) var(--space-10);
    background: #fff;
    color: var(--story-ink);
}

.jh-story__shell {
    /* Inherit .site-container max-width / padding — do not override */
    width: 100%;
}

/* Reading block: narrower than the site grid, centred, so the measure stays
   comfortable while recirculation below still spans the full container. */
.jh-story__wrap {
    width: 100%;
    max-width: var(--story-reading-width);
    margin-inline: auto;
}

.jh-story__progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 2000;
    pointer-events: none;
    background: transparent;
}

.jh-story__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-brand-red);
}

.jh-story__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: var(--space-5);
    font-size: var(--fs-meta);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.jh-story__crumbs a {
    color: var(--story-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.jh-story__crumbs a:hover {
    color: var(--color-brand-red);
}

/* ---- Header ---- */
.jh-story__header {
    margin-bottom: var(--space-6);
}

.jh-story__kicker {
    display: inline-block;
    margin-bottom: var(--space-3);
    padding-left: 0.7rem;
    position: relative;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-red);
    text-decoration: none;
}

.jh-story__kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: var(--color-brand-red);
}

.jh-story__headline {
    margin: 0 0 var(--space-4);
    max-width: min(100%, 46rem);
    font-size: clamp(1.5rem, 1.2rem + 1.15vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--story-ink);
    text-wrap: balance;
}

.jh-story__standfirst {
    margin: 0 0 var(--space-5);
    max-width: min(100%, 44rem);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.jh-story__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3) var(--space-5);
    padding: var(--space-4) 0;
    border-top: 1px solid var(--story-ink);
    border-bottom: 1px solid var(--story-rule);
}

.jh-story__by {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.jh-story__by img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #eceff4;
    flex-shrink: 0;
}

.jh-story__by strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--story-ink);
    transition: color 0.15s ease;
}

.jh-story__by em {
    display: block;
    margin-top: 1px;
    font-style: normal;
    font-size: 0.75rem;
    color: var(--story-muted);
}

.jh-story__by:hover strong {
    color: var(--color-brand-blue);
}

.jh-story__stamp {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--story-muted);
    font-variant-numeric: tabular-nums;
}

.jh-story__updated {
    font-weight: 600;
    color: var(--color-brand-blue);
}

/* ---- Lead media ---- */
.jh-story__media {
    margin: 0 0 var(--space-6);
}

.jh-story__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    aspect-ratio: var(--ratio-hero);
    background: #eceff4;
    border-radius: 3px;
}

.jh-story__media figcaption {
    margin-top: 0.6rem;
    padding-left: 0.7rem;
    border-left: 3px solid var(--story-rule-strong);
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--story-muted);
}

/* ---- Body layout: share rail | article | recirculation rail ---- */
.jh-story__layout {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 320px;
    column-gap: var(--space-7);
    align-items: start;
}

.jh-story__share {
    grid-column: 1;
    position: sticky;
    top: calc(var(--header-offset) + var(--space-5));
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.jh-story__share-label {
    writing-mode: vertical-rl;
    margin-bottom: 0.15rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.jh-story__icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--story-rule-strong);
    border-radius: 50%;
    background: #fff;
    font-size: 1rem;
    color: var(--story-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.jh-story__icon-btn:hover,
.jh-story__icon-btn:focus-visible {
    border-color: var(--color-brand-blue);
    background: var(--color-brand-blue);
    color: #fff;
    outline: none;
}

.jh-story__icon-btn.is-copied {
    border-color: #0f6b4c;
    background: #0f6b4c;
    color: #fff;
}

.jh-story__icon-btn.is-copy-failed {
    border-color: var(--color-brand-red);
    background: var(--color-brand-red);
    color: #fff;
}

.jh-copy-fallback {
    z-index: 10000;
    width: min(300px, calc(100vw - 24px));
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d8dee8;
    box-shadow: 0 12px 32px rgba(0, 24, 70, 0.18);
    font-size: 0.82rem;
    color: #12203a;
}

.jh-copy-fallback p {
    margin: 0 0 8px;
    font-weight: 600;
}

.jh-copy-fallback input {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid #c9d2e0;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #12203a;
    background: #f7f9fc;
}

.jh-copy-fallback__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.jh-copy-fallback__actions button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #c9d2e0;
    background: #fff;
    color: #12203a;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.jh-copy-fallback__actions button:first-child {
    border-color: var(--color-brand-blue);
    background: var(--color-brand-blue);
    color: #fff;
}

.jh-story__save.is-saved {
    border-color: var(--color-brand-red);
    background: var(--color-brand-red);
    color: #fff;
}

.jh-story__save.is-locked {
    opacity: 0.9;
}

/* ---- Article body ---- */
.jh-story__article {
    grid-column: 2;
    min-width: 0;
}

.jh-story__body {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--story-body);
    overflow-wrap: break-word;
}

.jh-story__body > *:first-child {
    margin-top: 0;
}

.jh-story__body p {
    margin: 0 0 1.45rem;
}

.jh-story__body > p:first-of-type {
    font-size: 1.22rem;
    line-height: 1.75;
    color: #101010;
}

.jh-story__body h2,
.jh-story__body h3,
.jh-story__body h4 {
    margin: 2.1rem 0 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--story-ink);
}

.jh-story__body h2 { font-size: 1.45rem; }
.jh-story__body h3 { font-size: 1.25rem; }
.jh-story__body h4 { font-size: 1.1rem; }

.jh-story__body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.75rem 0;
    border-radius: 3px;
}

.jh-story__body figure {
    margin: 1.75rem 0;
}

.jh-story__body figure img {
    margin: 0 0 0.55rem;
}

.jh-story__body figcaption {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--story-muted);
}

.jh-story__body blockquote {
    margin: 1.9rem 0;
    padding: 0.35rem 0 0.35rem 1.4rem;
    border-left: 3px solid var(--color-brand-red);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.015em;
    color: var(--story-ink);
}

.jh-story__body blockquote p:last-child {
    margin-bottom: 0;
}

.jh-story__body a {
    color: var(--color-brand-blue);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

.jh-story__body a:hover {
    color: var(--color-brand-red);
}

.jh-story__body ul,
.jh-story__body ol {
    margin: 0 0 1.45rem;
    padding-left: 1.3rem;
}

.jh-story__body li {
    margin-bottom: 0.5rem;
}

.jh-story__body iframe {
    width: 100%;
    margin: 1.75rem 0;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

/* ---- Tags ---- */
.jh-story__tags {
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--story-rule);
}

.jh-story__tags-label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.jh-story__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jh-story__tags a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 0.85rem;
    border: 1px solid var(--story-rule-strong);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--story-ink);
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.jh-story__tags a:hover {
    border-color: var(--color-brand-blue);
    background: var(--color-brand-blue);
    color: #fff;
}

/* ---- Author footer ---- */
.jh-story__author {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--space-4) var(--space-5);
    align-items: start;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 3px solid var(--color-brand-blue);
}

.jh-story__author > img {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover;
    background: #eceff4;
}

.jh-story__author-copy {
    min-width: 0;
}

.jh-story__author-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.jh-story__author-name {
    display: inline-block;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--story-ink);
    text-decoration: none;
}

.jh-story__author-name:hover {
    color: var(--color-brand-blue);
}

.jh-story__author-role {
    display: block;
    margin-top: 0.1rem;
    font-style: normal;
    font-size: 0.78rem;
    color: var(--story-muted);
}

.jh-story__author p {
    margin: 0.6rem 0 0.75rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #3a3a3a;
}

.jh-story__author-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-brand-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.jh-story__author-more:hover {
    border-bottom-color: var(--color-brand-blue);
}

/* ---- Right rail ---- */
.jh-story__rail {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    position: sticky;
    top: calc(var(--header-offset) + var(--space-4));
    width: 100%;
    min-width: 0;
}

.jh-story__panel {
    min-width: 0;
}

.jh-story__panel h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 var(--space-3);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--story-rule);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
}

.jh-story__panel h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: var(--color-brand-red);
}

.jh-story__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-brand-red);
    animation: jh-live-pulse 1.4s ease-in-out infinite;
}

@keyframes jh-live-pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}

.jh-story__live-frame {
    position: relative;
    overflow: hidden;
    background: #0b1224;
    border-radius: 3px;
}

.jh-story__live-frame iframe,
.jh-story__live-frame .jh-live-player,
.jh-story__live-frame .jh-live-player__stage {
    width: 100%;
}

.jh-story__live-frame iframe {
    position: absolute;
    inset: 0;
    height: 100%;
    border: 0;
}

.jh-story__top {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jh-story__top li + li {
    border-top: 1px solid var(--story-rule);
}

.jh-story__top a {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
    padding: 0.7rem 0;
    color: inherit;
    text-decoration: none;
}

.jh-story__top-n {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-brand-red);
    font-variant-numeric: tabular-nums;
}

.jh-story__top-t {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.jh-story__top a:hover .jh-story__top-t {
    color: var(--color-brand-blue);
}

.jh-story__also {
    display: grid;
    gap: 0;
}

.jh-story__also-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid var(--story-rule);
    color: inherit;
    text-decoration: none;
}

.jh-story__also-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.jh-story__also-media {
    aspect-ratio: var(--ratio-thumb);
    overflow: hidden;
    border-radius: 3px;
    background: #eceff4;
}

.jh-story__also-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.jh-story__also-item:hover .jh-story__also-media img {
    transform: scale(1.04);
}

.jh-story__also-item p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.jh-story__also-item:hover p {
    color: var(--color-brand-blue);
}

/* ---- Recirculation (full container width) ---- */
.jh-story__more {
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--story-rule);
}

.jh-story__more-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--story-rule);
    position: relative;
}

.jh-story__more-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background: var(--color-brand-red);
}

.jh-story__more-head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.jh-story__more-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand-blue);
    text-decoration: none;
}

.jh-story__more-head a:hover {
    color: var(--color-brand-red);
}

.jh-story__more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.jh-story__more-card {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.jh-story__more-media {
    aspect-ratio: 16 / 10;
    margin-bottom: 0.7rem;
    overflow: hidden;
    border-radius: 3px;
    background: #eceff4;
}

.jh-story__more-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.jh-story__more-card:hover .jh-story__more-media img {
    transform: scale(1.04);
}

.jh-story__more-cat {
    display: inline-block;
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-story__more-card p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.jh-story__more-card:hover p {
    color: var(--color-brand-blue);
}

/* ---- Toast ---- */
.jh-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 3px;
    background: #12203a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(0, 24, 70, 0.2);
}

.jh-toast--success { background: #0f6b4c; }
.jh-toast--error { background: var(--color-brand-red); }
.jh-toast--info { background: var(--color-brand-blue); }

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
    .jh-story__layout {
        grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
        column-gap: var(--grid-gap);
    }

    .jh-story__share {
        grid-column: 1 / -1;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        margin-bottom: var(--space-5);
        padding-bottom: var(--space-4);
        border-bottom: 1px solid var(--story-rule);
    }

    .jh-story__share-label {
        writing-mode: horizontal-tb;
        margin: 0 0.35rem 0 0;
    }

    .jh-story__article {
        grid-column: 1;
    }

    .jh-story__rail {
        grid-column: 2;
    }

    .jh-story__more-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .jh-story__layout {
        grid-template-columns: 1fr;
        row-gap: var(--space-7);
    }

    .jh-story__article,
    .jh-story__rail {
        grid-column: 1;
    }

    .jh-story__rail {
        position: static;
    }

    .jh-story__more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .jh-story {
        padding-block: var(--space-4) var(--space-8);
    }

    .jh-story__headline {
        font-size: clamp(1.35rem, 1.1rem + 2.5vw, 1.75rem);
        max-width: none;
    }

    .jh-story__standfirst {
        font-size: 1rem;
    }

    .jh-story__byline {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .jh-story__media img {
        max-height: 280px;
    }

    .jh-story__icon-btn {
        width: 38px;
        height: 38px;
    }

    .jh-story__body {
        font-size: 1.08rem;
        line-height: 1.8;
    }

    .jh-story__body > p:first-of-type {
        font-size: 1.12rem;
    }

    .jh-story__author {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: var(--space-4);
    }

    .jh-story__author > img {
        width: 56px;
        height: 56px;
    }

    .jh-story__more-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Author profile page ---------- */
.jh-author {
    --author-ink: #111111;
    --author-body: #2b2b2b;
    --author-muted: #6b6b6b;
    --author-rule: #e3e5e9;
    --author-rule-strong: #cfd3da;
    padding-block: var(--space-5) var(--space-10);
    background: #fff;
    color: var(--author-ink);
}

.jh-author__shell {
    width: 100%;
}

.jh-author__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    margin-bottom: var(--space-6);
    font-size: var(--fs-meta);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--author-muted);
}

.jh-author__crumbs a {
    color: var(--author-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.jh-author__crumbs a:hover {
    color: var(--color-brand-red);
}

.jh-author__crumbs span:last-child {
    color: var(--author-ink);
}

/* ---- Masthead ---- */
.jh-author__mast {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
    padding-bottom: var(--space-7);
    position: relative;
}

.jh-author__mast::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(-1 * var(--space-4));
    width: 64px;
    height: 4px;
    background: var(--color-brand-red);
}

.jh-author__photo {
    margin: 0;
    width: 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 4px;
    background: #f1f2f4;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 48px -24px rgba(0, 20, 70, 0.35);
}

.jh-author__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jh-author__copy {
    min-width: 0;
    max-width: 62rem;
    padding-top: 0.25rem;
}

.jh-author__role {
    margin: 0 0 var(--space-3);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-author__name {
    margin: 0 0 var(--space-4);
    font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.4rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--author-ink);
}

.jh-author__lede {
    margin: 0 0 var(--space-5);
    max-width: 44rem;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--author-body);
}

.jh-author__bio {
    list-style: none;
    margin: 0 0 var(--space-5);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem var(--space-6);
    max-width: 56rem;
}

.jh-author__bio li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--author-body);
}

.jh-author__bio li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-brand-blue);
}

.jh-author__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) var(--space-4);
}

.jh-author__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
    padding: 0 1.1rem;
    border: 1.5px solid var(--author-ink);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--author-ink);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jh-author__btn:hover {
    background: var(--author-ink);
    color: #fff;
}

.jh-author__social {
    display: flex;
    gap: 0.5rem;
}

.jh-author__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--author-rule-strong);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--author-ink);
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.jh-author__social a:hover {
    border-color: var(--color-brand-blue);
    background: var(--color-brand-blue);
    color: #fff;
}

/* ---- Stats strip ---- */
.jh-author__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 var(--section-gap);
    padding: 0;
    border-top: 1px solid var(--author-ink);
    border-bottom: 1px solid var(--author-rule);
}

.jh-author__stats > div {
    padding: var(--space-5) var(--space-5) var(--space-5) 0;
    margin-right: var(--space-5);
    border-right: 1px solid var(--author-rule);
}

.jh-author__stats > div:last-child {
    border-right: 0;
    margin-right: 0;
}

.jh-author__stats dd {
    margin: 0 0 0.25rem;
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-brand-blue);
    font-variant-numeric: tabular-nums;
}

.jh-author__stats dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--author-muted);
}

/* ---- Body layout ---- */
.jh-author__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
    gap: var(--grid-gap);
    align-items: start;
}

.jh-author__feed {
    min-width: 0;
}

.jh-author__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--author-rule);
    position: relative;
}

.jh-author__section-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background: var(--color-brand-red);
}

.jh-author__section-head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--author-ink);
}

.jh-author__section-head span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--author-muted);
    white-space: nowrap;
}

/* Feature */
.jh-author__feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--grid-gap);
    align-items: center;
    padding-bottom: var(--space-6);
    margin-bottom: var(--space-2);
    border-bottom: 1px solid var(--author-rule);
    color: inherit;
    text-decoration: none;
}

.jh-author__feature-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 3px;
    background: #eceff4;
}

.jh-author__feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.jh-author__feature:hover .jh-author__feature-media img {
    transform: scale(1.03);
}

.jh-author__feature-copy {
    min-width: 0;
}

.jh-author__kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-author__feature-copy h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.3rem, 1rem + 0.9vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--author-ink);
    transition: color 0.15s ease;
}

.jh-author__feature:hover .jh-author__feature-copy h3 {
    color: var(--color-brand-blue);
}

.jh-author__feature-copy p {
    margin: 0 0 0.9rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--author-body);
}

.jh-author__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.76rem;
    color: var(--author-muted);
    font-variant-numeric: tabular-nums;
}

/* Story rows */
.jh-author__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jh-author__list li {
    border-bottom: 1px solid var(--author-rule);
}

.jh-author__list li:last-child {
    border-bottom: 0;
}

.jh-author__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: var(--space-6);
    align-items: center;
    padding: var(--space-5) 0;
    color: inherit;
    text-decoration: none;
}

.jh-author__row-copy {
    min-width: 0;
}

.jh-author__row-copy h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.012em;
    color: var(--author-ink);
    transition: color 0.15s ease;
}

.jh-author__row:hover .jh-author__row-copy h3 {
    color: var(--color-brand-blue);
}

.jh-author__row-copy p {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--author-body);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.jh-author__row-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 3px;
    background: #eceff4;
}

.jh-author__row-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.jh-author__row:hover .jh-author__row-media img {
    transform: scale(1.04);
}

/* Pager */
.jh-author__pager {
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--author-rule);
}

.jh-author__pager ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jh-author__pager a,
.jh-author__pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--author-ink);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.jh-author__pager a:hover {
    background: #f1f2f4;
    color: var(--color-brand-blue);
}

.jh-author__pager .is-active span {
    background: var(--color-brand-blue);
    color: #fff;
}

.jh-author__pager .is-disabled span {
    color: #b6b9bf;
}

/* Rail */
.jh-author__rail {
    position: sticky;
    top: calc(var(--header-offset) + var(--space-4));
    display: grid;
    gap: var(--space-6);
    min-width: 0;
}

.jh-author__rail-block {
    min-width: 0;
}

.jh-author__section-head--rail {
    margin-bottom: var(--space-3);
}

.jh-author__section-head--rail h2 {
    font-size: 1.05rem;
}

.jh-author__ranked {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.jh-author__ranked li {
    border-bottom: 1px solid var(--author-rule);
}

.jh-author__ranked li:last-child {
    border-bottom: 0;
}

.jh-author__ranked a {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem 0;
    color: inherit;
    text-decoration: none;
}

.jh-author__rank {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-brand-red);
    font-variant-numeric: tabular-nums;
}

.jh-author__ranked-copy {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.jh-author__ranked-copy strong {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--author-ink);
    transition: color 0.15s ease;
}

.jh-author__ranked a:hover strong {
    color: var(--color-brand-blue);
}

.jh-author__ranked-copy small {
    font-size: 0.72rem;
    color: var(--author-muted);
    font-variant-numeric: tabular-nums;
}

.jh-author__rail-block--about {
    padding: var(--space-5);
    background: #f6f7f9;
    border-top: 3px solid var(--color-brand-blue);
}

.jh-author__rail-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--author-muted);
}

.jh-author__rail-name {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--author-ink);
}

.jh-author__rail-role {
    margin: 0 0 var(--space-4);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--author-muted);
}

.jh-author__rail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-brand-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.jh-author__rail-link:hover {
    border-bottom-color: var(--color-brand-blue);
}

/* Empty */
.jh-author__empty {
    padding: var(--space-8) var(--space-5);
    border: 1px dashed var(--author-rule-strong);
    text-align: center;
}

.jh-author__empty h3 {
    margin: 0 0 var(--space-2);
    font-weight: 600;
}

.jh-author__empty p {
    margin: 0 0 var(--space-4);
    color: var(--author-muted);
}

.jh-author__empty a {
    font-weight: 600;
    color: var(--color-brand-blue);
    text-decoration: none;
    border-bottom: 2px solid var(--color-brand-red);
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
    .jh-author__mast {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: var(--space-6);
    }

    .jh-author__photo {
        width: 200px;
        height: 200px;
    }

    .jh-author__row {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: var(--space-5);
    }
}

@media (max-width: 991.98px) {
    .jh-author__layout {
        grid-template-columns: 1fr;
    }

    .jh-author__rail {
        position: static;
    }

    .jh-author__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jh-author__stats > div {
        padding: var(--space-4) var(--space-4) var(--space-4) 0;
        margin-right: var(--space-4);
    }

    .jh-author__stats > div:nth-child(2) {
        border-right: 0;
        margin-right: 0;
    }

    .jh-author__stats > div:nth-child(n + 3) {
        border-top: 1px solid var(--author-rule);
    }

    .jh-author__bio {
        grid-template-columns: 1fr;
    }

    .jh-author__feature {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

@media (max-width: 575.98px) {
    .jh-author {
        padding-block: var(--space-4) var(--space-8);
    }

    .jh-author__crumbs {
        margin-bottom: var(--space-5);
    }

    .jh-author__mast {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        padding-bottom: var(--space-5);
    }

    .jh-author__photo {
        width: 132px;
        height: 132px;
    }

    .jh-author__name {
        font-size: clamp(1.9rem, 1.4rem + 3vw, 2.4rem);
    }

    .jh-author__stats {
        grid-template-columns: 1fr;
    }

    .jh-author__stats > div,
    .jh-author__stats > div:nth-child(2) {
        border-right: 0;
        margin-right: 0;
        padding: var(--space-3) 0;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: var(--space-3);
    }

    .jh-author__stats > div:nth-child(n + 2) {
        border-top: 1px solid var(--author-rule);
    }

    .jh-author__stats dd {
        margin: 0;
        font-size: 1.25rem;
    }

    .jh-author__section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .jh-author__row {
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: var(--space-4);
        align-items: start;
        padding: var(--space-4) 0;
    }

    .jh-author__row-copy p {
        display: none;
    }

    .jh-author__row-copy h3 {
        font-size: 1rem;
    }

    .jh-author__row-media {
        aspect-ratio: 1 / 1;
    }
}

/* ---------- Authors directory page ---------- */
.jh-authors {
    --authors-ink: #121212;
    --authors-muted: #5f5f5f;
    --authors-rule: var(--color-border);
    padding-block: var(--space-5) var(--space-9);
    background: #fff;
    color: var(--authors-ink);
}

.jh-authors__shell {
    width: 100%;
}

.jh-authors__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: var(--space-5);
    font-size: var(--fs-meta);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--authors-muted);
}

.jh-authors__crumbs a {
    color: var(--authors-muted);
    text-decoration: none;
}

.jh-authors__crumbs a:hover {
    color: var(--color-brand-red);
}

/* Head */
.jh-authors__head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: var(--space-6) var(--space-8);
    align-items: end;
    padding-bottom: var(--space-6);
    margin-bottom: var(--section-gap);
    border-bottom: 3px solid var(--color-brand-blue);
    position: relative;
}

.jh-authors__head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 96px;
    height: 3px;
    background: var(--color-brand-red);
}

.jh-authors__eyebrow {
    margin: 0 0 var(--space-2);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-authors__head h1 {
    margin: 0 0 var(--space-3);
    font-size: clamp(2rem, 1.5rem + 1.8vw, 3.1rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--authors-ink);
}

.jh-authors__lede {
    margin: 0;
    max-width: 46rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--authors-muted);
}

.jh-authors__head-side {
    display: grid;
    gap: var(--space-4);
    justify-items: stretch;
}

.jh-authors__totals {
    display: flex;
    gap: var(--space-6);
    margin: 0;
}

.jh-authors__totals div {
    display: grid;
    gap: 0.15rem;
}

.jh-authors__totals dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--authors-muted);
}

.jh-authors__totals dd {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-brand-blue);
    font-variant-numeric: tabular-nums;
}

.jh-authors__search {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--authors-rule);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jh-authors__search:focus-within {
    border-color: var(--color-brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.12);
}

.jh-authors__search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.7rem 0.9rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: var(--authors-ink);
    outline: none;
}

.jh-authors__search input::placeholder {
    color: #9a9a9a;
}

.jh-authors__search button {
    flex: 0 0 auto;
    width: 46px;
    border: 0;
    background: var(--color-brand-blue);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color 0.15s ease;
}

.jh-authors__search button:hover {
    background: var(--color-brand-red);
}

/* Section heads */
.jh-authors__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-5);
    border-bottom: 1px solid var(--authors-rule);
}

.jh-authors__section-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--authors-ink);
    position: relative;
    padding-left: 0.75rem;
}

.jh-authors__section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 3px;
    background: var(--color-brand-red);
}

.jh-authors__section-head span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--authors-muted);
}

/* Shared bits */
.jh-authors__role {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-authors__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--authors-muted);
}

.jh-authors__meta strong {
    font-weight: 600;
    color: var(--authors-ink);
    font-variant-numeric: tabular-nums;
}

/* Leading voices */
.jh-authors__lead {
    margin-bottom: var(--section-gap);
}

.jh-authors__lead-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.jh-authors__lead-card {
    display: grid;
    grid-template-rows: auto 1fr;
    background: linear-gradient(160deg, var(--color-brand-blue) 0%, #002a82 62%, #001f66 100%);
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jh-authors__lead-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--color-brand-red);
}

.jh-authors__lead-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 16, 60, 0.28);
}

.jh-authors__lead-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.jh-authors__lead-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.jh-authors__lead-card:hover .jh-authors__lead-media img {
    transform: scale(1.04);
}

.jh-authors__lead-copy {
    padding: var(--space-4) var(--space-5) var(--space-5) calc(var(--space-5) + 5px);
    display: grid;
    gap: 0.45rem;
    align-content: start;
}

.jh-authors__lead-copy .jh-authors__role {
    color: rgba(255, 255, 255, 0.78);
}

.jh-authors__lead-copy h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #fff;
}

.jh-authors__lead-copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.jh-authors__lead-copy .jh-authors__meta {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.78);
}

.jh-authors__lead-copy .jh-authors__meta strong {
    color: #fff;
}

/* All journalists */
.jh-authors__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.jh-authors__card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4);
    background: #fff;
    border: 1px solid var(--authors-rule);
    color: var(--authors-ink);
    text-decoration: none;
    position: relative;
    transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jh-authors__card::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    width: 3px;
    background: var(--color-brand-blue);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.jh-authors__card:hover {
    border-color: var(--color-brand-blue);
    box-shadow: 0 12px 28px rgba(0, 16, 60, 0.1);
    transform: translateY(-2px);
}

.jh-authors__card:hover::before {
    opacity: 1;
}

.jh-authors__card-media {
    width: 84px;
    height: 84px;
    overflow: hidden;
    background: #f1f2f4;
}

.jh-authors__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jh-authors__card-copy {
    min-width: 0;
    display: grid;
    gap: 0.3rem;
}

.jh-authors__card-copy h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--authors-ink);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.jh-authors__card:hover .jh-authors__card-copy h3 {
    color: var(--color-brand-blue);
}

/* Empty */
.jh-authors__empty {
    padding: var(--space-8) var(--space-5);
    text-align: center;
    border: 1px dashed var(--authors-rule);
}

.jh-authors__empty h2 {
    margin: 0 0 var(--space-2);
    font-size: 1.3rem;
    font-weight: 600;
}

.jh-authors__empty p {
    margin: 0 0 var(--space-3);
    color: var(--authors-muted);
}

.jh-authors__empty a {
    font-weight: 600;
    color: var(--color-brand-blue);
    text-decoration: none;
    border-bottom: 2px solid var(--color-brand-red);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .jh-authors__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .jh-authors__head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .jh-authors__lead-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jh-authors__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .jh-authors {
        padding-block: var(--space-4) var(--space-7);
    }

    .jh-authors__totals {
        gap: var(--space-5);
    }

    .jh-authors__lead-grid {
        grid-template-columns: 1fr;
    }

    .jh-authors__grid {
        grid-template-columns: 1fr;
    }

    .jh-authors__section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ---------- Category / section index (international editorial standard) ---------- */
.jh-cat {
    --cat-ink: #111111;
    --cat-muted: #6b6b6b;
    --cat-rule: #e3e5e9;
    padding-block: 0 var(--space-8);
    color: var(--cat-ink);
}

.jh-cat__crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cat-muted);
}

.jh-cat__crumbs a {
    color: var(--cat-muted);
    text-decoration: none;
}

.jh-cat__crumbs a:hover {
    color: var(--color-brand-red);
}

.jh-cat__crumbs [aria-current] {
    color: var(--cat-ink);
    font-weight: 600;
}

.jh-cat__head {
    margin-top: 10px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--color-brand-blue);
}

.jh-cat__eyebrow {
    margin: 0 0 2px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-cat__title {
    margin: 0;
    font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.jh-cat__meta {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--cat-muted);
}

.jh-cat__dot {
    margin-inline: 6px;
    color: #a9aeb5;
}

/* Lead story */
.jh-cat__lead {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 34px);
    align-items: start;
    margin-top: var(--space-6, 28px);
    padding-bottom: var(--space-6, 28px);
    border-bottom: 1px solid var(--cat-rule);
}

.jh-cat__lead-media {
    display: block;
    overflow: hidden;
    background: #f1f3f5;
}

.jh-cat__lead-media img,
.jh-cat__card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jh-cat__lead:hover .jh-cat__lead-media img,
.jh-cat__card:hover .jh-cat__card-media img {
    transform: scale(1.03);
}

.jh-cat__lead-kicker {
    margin: 0 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-red);
}

.jh-cat__lead-title {
    margin: 0;
    font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.jh-cat__lead-title a,
.jh-cat__card-title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--color-brand-red), var(--color-brand-red));
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.25s ease, color 0.18s ease;
}

.jh-cat__lead-title a:hover,
.jh-cat__card-title a:hover {
    color: var(--color-brand-red);
    background-size: 100% 1px;
}

.jh-cat__lead-standfirst {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #3f4348;
}

.jh-cat__stamp {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.76rem;
    color: var(--cat-muted);
    font-variant-numeric: tabular-nums;
}

.jh-cat__stamp .bi {
    font-size: 0.72rem;
    vertical-align: -1px;
}

/* Story grid */
.jh-cat__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(16px, 1.8vw, 28px);
    row-gap: clamp(22px, 2.4vw, 36px);
    margin-top: var(--space-6, 28px);
}

.jh-cat__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jh-cat__card-media {
    display: block;
    overflow: hidden;
    background: #f1f3f5;
}

.jh-cat__card-body {
    padding-top: 10px;
}

.jh-cat__card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Infinite scroll states */
.jh-cat__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--space-6, 28px) 0;
    font-size: 0.85rem;
    color: var(--cat-muted);
}

.jh-cat__loading p {
    margin: 0;
}

.jh-cat__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--cat-rule);
    border-top-color: var(--color-brand-red);
    border-radius: 50%;
    animation: jh-cat-spin 0.7s linear infinite;
}

@keyframes jh-cat-spin {
    to { transform: rotate(360deg); }
}

.jh-cat__end {
    margin: var(--space-6, 28px) 0 0;
    padding-top: var(--space-5, 22px);
    border-top: 1px solid var(--cat-rule);
    text-align: center;
    font-size: 0.82rem;
    color: var(--cat-muted);
}

.jh-cat__sentinel {
    height: 1px;
}

/* Pagination */
.jh-cat__pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-8, 40px);
    padding-top: var(--space-6, 28px);
    border-top: 1px solid var(--cat-rule);
}

.jh-cat__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding-inline: 10px;
    border: 1px solid var(--cat-rule);
    font-size: 0.88rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.jh-cat__page:hover {
    border-color: var(--color-brand-blue);
    color: var(--color-brand-blue);
}

.jh-cat__page.is-current {
    background: var(--color-brand-blue);
    border-color: var(--color-brand-blue);
    color: #fff;
}

.jh-cat__page.is-disabled,
.jh-cat__page.is-gap {
    border-color: transparent;
    color: #c2c6cc;
}

/* Empty state */
.jh-cat__empty {
    margin-top: var(--space-8, 40px);
    padding: clamp(36px, 6vw, 72px) 20px;
    border: 1px solid var(--cat-rule);
    text-align: center;
}

.jh-cat__empty i {
    font-size: 2rem;
    color: var(--cat-rule);
}

.jh-cat__empty h2 {
    margin: 14px 0 6px;
    font-size: 1.3rem;
    font-weight: 600;
}

.jh-cat__empty p {
    margin: 0 auto;
    max-width: 44ch;
    font-size: 0.92rem;
    color: var(--cat-muted);
}

.jh-cat__empty-cta {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 22px;
    background: var(--color-brand-red);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.jh-cat__empty-cta:hover {
    background: var(--color-brand-blue);
    color: #fff;
}

@media (max-width: 1199.98px) {
    .jh-cat__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .jh-cat__lead {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .jh-cat__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 26px;
    }

    .jh-cat__card-title {
        font-size: 0.92rem;
        -webkit-line-clamp: 3;
    }

    .jh-cat__lead-standfirst {
        font-size: 0.94rem;
    }
}

@media (max-width: 479.98px) {
    .jh-cat__grid {
        grid-template-columns: 1fr;
    }

    .jh-cat__card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--cat-rule);
    }

    .jh-cat__card-media img {
        aspect-ratio: 4 / 3;
    }

    .jh-cat__card-body {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jh-cat__lead-media img,
    .jh-cat__card-media img {
        transition: none;
    }

    .jh-cat__lead:hover .jh-cat__lead-media img,
    .jh-cat__card:hover .jh-cat__card-media img {
        transform: none;
    }
}

/* =============================================================================
   Static / legal pages
   ============================================================================= */

.jh-sitepage {
    padding: 0.5rem 0 2.5rem;
}

.jh-sitepage__head {
    max-width: 42rem;
    margin: 0 0 1.75rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--color-border);
}

.jh-sitepage__tick {
    display: block;
    width: 10px;
    height: 1.05em;
    margin-bottom: 0.65rem;
    background:
        linear-gradient(var(--color-brand-blue), var(--color-brand-blue)) left top / 3.5px 100% no-repeat,
        linear-gradient(var(--color-brand-red), var(--color-brand-red)) right bottom / 3.5px 72% no-repeat;
}

.jh-sitepage__kicker {
    margin: 0 0 0.35rem;
    font-size: var(--fs-meta);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.jh-sitepage__title {
    margin: 0;
    font-size: clamp(1.65rem, 2.2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

.jh-sitepage__lede {
    margin: 0.65rem 0 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.jh-sitepage__meta {
    margin: 0.5rem 0 0;
    font-size: var(--fs-meta);
    color: var(--color-muted);
}

.jh-sitepage__body {
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
}

.jh-sitepage__body h2 {
    margin: 1.75rem 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.jh-sitepage__body p,
.jh-sitepage__body ul {
    margin: 0 0 0.9rem;
}

.jh-sitepage__body ul {
    padding-left: 1.15rem;
}

.jh-sitepage__body a {
    color: var(--color-brand-blue);
    text-decoration: none;
}

.jh-sitepage__body a:hover {
    color: var(--color-brand-red);
}

.jh-sitepage__split {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .jh-sitepage__split {
        grid-template-columns: 1fr 1.15fr;
        max-width: 52rem;
    }
}

.jh-sitepage__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jh-sitepage__form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: var(--fs-meta);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.jh-sitepage__form input,
.jh-sitepage__form textarea {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.55rem 0.7rem;
}

.jh-sitepage__form input:focus,
.jh-sitepage__form textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--color-brand-blue) 35%, transparent);
    border-color: var(--color-brand-blue);
}

.jh-sitepage__row {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 560px) {
    .jh-sitepage__row {
        grid-template-columns: 1fr 1fr;
    }
}

.jh-sitepage__note {
    padding: 0.65rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.jh-sitepage__note--ok {
    background: #e8f6ec;
    color: #146c2e;
}

.jh-sitepage__note--err {
    background: #fdecee;
    color: #a00a28;
}

.jh-sitepage__body--wide {
    max-width: none;
}

.jh-dir {
    margin: 0 0 2.25rem;
}

.jh-dir__label {
    margin: 0 0 0.85rem !important;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.72rem !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.jh-dir__grid {
    display: grid;
    gap: 0.85rem;
}

.jh-dir__grid--2 { grid-template-columns: 1fr; }
.jh-dir__grid--3 { grid-template-columns: 1fr; }
.jh-dir__grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .jh-dir__grid--2 { grid-template-columns: 1fr 1fr; }
    .jh-dir__grid--3 { grid-template-columns: 1fr 1fr; }
    .jh-dir__grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
    .jh-dir__grid--3 { grid-template-columns: repeat(3, 1fr); }
    .jh-dir__grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.jh-dir__card {
    padding: 1.15rem 1.2rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    background: #fff;
    min-height: 100%;
}

.jh-dir__card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.jh-dir__card p {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text);
}

.jh-dir__card p:last-child {
    margin-bottom: 0;
}

.jh-dir__role {
    margin: 0 0 0.35rem !important;
    font-size: 0.68rem !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.jh-dir__card--slim {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.jh-dir__write {
    max-width: 36rem;
}

.jh-sitepage--wide .jh-sitepage__head {
    max-width: 40rem;
}
