/* ============================================================
   BIZNEWS - TheHours-inspired newspaper theme
   ============================================================ */
:root {
    --black: #111111;
    --dark: #1a1a1a;
    --mid: #333333;
    --muted: #6b7280;
    --border: #e5e7eb;
    --light-bg: #f7f8fc;
    --white: #ffffff;

    --red: #324fb1;
    --red-dark: #263d91;

    --navy: #324fb1;
    --navy-tint: rgba(50, 79, 177, 0.12);

    --serif:
            "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    --sans:
            "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    --magazine-cover-ratio: 2480 / 3508;
}

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

html {
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--dark);
    background: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--red);
}

img {
    display: block;
    max-width: 100%;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1600px;
}

@media (max-width: 700px) {
    .drawer-title-mobile {
        display: block;
    }

    .drawer-mobile-only {
        display: flex;
        flex-direction: column;
    }

    .drawer-title-desktop,
    .drawer-desktop-only {
        display: none;
    }
}
/* ── Small-laptop nav fix: tighten spacing so all nav links + search
   fit on one line instead of the last link wrapping to its own row ── */
@media (max-width: 1300px) {

    .nav-top .inner {
        gap: 10px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links > a,
    .nav-links > .nav-dropdown > .nav-dropdown-toggle {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 11.5px;
    }

    .nav-links > a::after,
    .nav-links > .nav-dropdown > .nav-dropdown-toggle::after {
        left: 10px;
        right: 10px;
    }

    .nav-search {
        width: 155px;
    }

    .nav-search:focus-within {
        width: 175px;
    }
}
@media (max-width: 700px) {

    /* .brand-strip {
      padding: 16px 0;
    } */
    .brand-strip .inner {
        padding-bottom: 16px;
    }}

/* ── Breaking news ticker ────────────────────────── */
.breaking {
    background: var(--red);
    color: var(--white);
    padding: 9px 0;
    overflow: hidden;
}

.breaking .inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breaking .label {
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    background: var(--black);
    padding: 4px 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.breaking .ticker-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breaking .ticker-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Section header ──────────────────────────────── */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 5px solid var(--navy);
    padding-left: 12px;
    line-height: 1.2;
}

.section-header .view-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: center;
}

/* ── Featured Companies: carousel band ───────────── */
.company-promo {
    margin-top: 32px;
    padding: 30px 0 30px;
}

.company-carousel-viewport {
    overflow: hidden;
}

.company-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-carousel-arrow {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--black);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s,
    color 0.2s;
}

.company-carousel-arrow:hover {
    background: var(--black);
    color: #fff;
}

/* Company card */
.company-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s,
    transform 0.2s;
}

.company-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.company-card-cover {
    height: 110px;
    position: relative;
    background: none; /* Ensures no background color shows through */
}

.company-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: none; /* Ensures no background color shows through */
}

.company-card-logo {
    position: absolute;
    left: 18px;
    bottom: -32px;
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 24px;
}

.company-card-logo img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
}

.company-card-body {
    padding: 44px 20px 22px;
}

.company-card-sector {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.company-card-body h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.company-card-body h3 a:hover {
    color: var(--red);
}

.company-card-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 14px;
}

.company-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 6px;
}

.company-card-stat-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.company-card-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.company-card-view-profile {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--black);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--black);
    transition: background 0.2s,
    color 0.2s;
}

.company-card-view-profile:hover {
    background: var(--black);
    color: #fff;
}

@media (max-width: 900px) {
    .company-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }}

@media (max-width: 600px) {
    .company-card {
        flex: 0 0 100%;
    }

    .company-carousel-arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }}

.company-add-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.company-add-btn {
    text-decoration: none;
}

.company-submit-layout {
    padding-top: 36px;
}

.company-submit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.company-submit-note {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 4px 0 18px;
}

.company-submit-success h1 {
    font-family: var(--serif);
    font-size: 30px;
    margin-bottom: 12px;
}

.company-submit-success p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--mid);
    margin-bottom: 22px;
}

.field-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 6px;
}

.req {
    color: #c0392b;
}

@media (max-width: 700px) {
    .company-submit-grid {
        grid-template-columns: 1fr;
    }}

/* ── Homepage Interviews section ─────────────────── */
.interviews-layout {
    display: grid;
    grid-template-columns: minmax(380px, 640px) 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Left: wide slideshow */
.interview-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.interview-slide-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.interview-slide-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interview-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
}

.interview-slide-img {
    display: block;
    width: 100%;
    height: 100%;
}

.interview-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    padding-top: 70px;
    background: linear-gradient(to top,
    rgba(0, 0, 0, 0.88),
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0));
}

.interview-slide-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.interview-slide-photo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 5%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: var(--black);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.interview-slide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-slide-info {
    min-width: 0;
}

.interview-slide-name {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.interview-slide-role {
    font-size: 12px;
    color: #ddd;
    margin: 3px 0 10px;
}

.interview-slide-title {
    display: block;
    font-family: var(--serif);
    font-size: 13.5px;
    line-height: 1.4;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.15s;
}

.interview-slide-title:hover {
    opacity: 0.75;
    color: #fff;
}

.interview-slide-nav {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.interview-slide-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.interview-slide-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Right: stacked cards */
.interview-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.interview-stack-item {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    transition: box-shadow 0.2s;
}

.interview-stack-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.interview-stack-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 5%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--black);
    color: #fff;
    font-weight: 700;
    font-size: 28px;
}

.interview-stack-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-stack-body {
    min-width: 0;
}

.interview-stack-body h4 {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 5px;
    color: var(--black);
}

.interview-stack-body h4 a:hover {
    color: var(--red);
}

.interview-stack-name {
    font-weight: 700;
    font-size: 12.5px;
    color: var(--black);
}

.interview-stack-role {
    font-size: 11.5px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .interviews-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .interview-slideshow {
        max-width: 420px;
        margin: 0 auto;
    }}

/* ── Merged Case Studies / Press Releases / Newsletter ── */
.merged-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 0.6fr;
    gap: 28px;
}

.merged-col-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.merged-col-heading h3 {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
}

.merged-featured-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.merged-featured-item h4 {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.35;
    color: var(--black);
}

.merged-featured-item h4 a:hover {
    color: var(--red);
}

.merged-title-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
}

.merged-title-list-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.merged-title-list-item:last-child {
    border-bottom: none;
}

.merged-title-list-item a {
    font-family: var(--serif);
    font-size: 14.5px;
    line-height: 1.4;
    color: var(--black);
}

.merged-title-list-item a:hover {
    color: var(--red);
}

/* Newsletter column — same row, but its own distinct banner styling.
   height:100% (not just min-height) so it fills the grid cell exactly,
   flush with the top of the sibling columns — no gap above it. */
.newsletter-col {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: url("https://images.pexels.com/photos/17070412/pexels-photo-17070412.jpeg") center / cover no-repeat;
}

.newsletter-col-content {
    padding: 26px 22px;
    width: 100%;
}

.newsletter-col-content h3 {
    font-family: var(--serif);
    font-size: 19px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-col-content p {
    font-size: 13px;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 18px;
}

.newsletter-col-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-col-form input::placeholder {
    color: #bbb;
}

.newsletter-col-form button {
    width: 100%;
    padding: 11px;
    border: 1px solid #fff;
    background: #fff;
    color: var(--black);
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s,
    color 0.2s;
}

.newsletter-col-form button:hover {
    background: transparent;
    color: #fff;
}

@media (max-width: 900px) {
    .merged-3col {
        grid-template-columns: minmax(0, 1fr);
    }}

/* ── Startup Spotlight: horizontal auto-scrolling marquee ── */
.startup-marquee-viewport {
    overflow: hidden;
    position: relative;
}

.startup-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: startup-marquee-scroll 32s linear infinite;
}

.startup-marquee-viewport:hover .startup-marquee-track {
    animation-play-state: paused;
}

@keyframes startup-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .startup-marquee-track {
        animation: none;
    }}

.startup-card {
    flex-shrink: 0;
    width: 280px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    transition: box-shadow 0.2s,
    transform 0.2s;
}

.startup-card:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.startup-card-photo {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, #3a3a42, #1c1c22);
}

.startup-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.startup-card-logo {
    position: absolute;
    left: 14px;
    bottom: -22px;
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 20px;
}

.startup-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.startup-card-body {
    padding: 32px 16px 18px;
}

.startup-card-sector {
    font-size: 10px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.startup-card-body h3 {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--black);
}

.startup-card-body h3 a:hover {
    color: var(--red);
}

.startup-card-founder {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

.startup-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.startup-card-stat-label {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--muted);
    margin-bottom: 2px;
}

.startup-card-stat-value {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--black);
}

/* ── Homepage category section ──────────────────── */
.cat-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.cat-section:last-child {
    border-bottom: none;
}

/* 3-col grid: 2 image cards + 1 text list */
.article-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

/* ── Homepage category showcase: 4 vertical stacks side by side ── */
.category-stack-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    align-items: start;
}

.category-stack-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.category-stack-heading h3 {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
}

.category-stack-heading .view-all {
    font-size: 10.5px;
}

.category-stack-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-stack-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 8px;
}

.category-stack-card h4 {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.35;
    color: var(--black);
}

.category-stack-card h4 a:hover {
    color: var(--red);
}

/* Homepage media partnerships */
.media-partners-section {
    padding: 34px 0 38px;
    border-bottom: 1px solid var(--border);
}

.media-partners-heading {
    margin-bottom: 22px;
}

.media-partners-heading h2 {
    color: var(--navy);
    font-size: 17px;
    letter-spacing: 1.8px;
}

.media-partners-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: center;
}

.media-partner-logo {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border: 1px solid rgba(25, 71, 145, 0.14);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.media-partner-logo:hover {
    border-color: rgba(25, 71, 145, 0.42);
    box-shadow: 0 8px 18px rgba(17, 45, 91, 0.10);
    transform: translateY(-2px);
}

.media-partner-logo img {
    display: block;
    width: 100%;
    max-width: 170px;
    height: 52px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .category-stack-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        row-gap: 32px;
    }}

@media (max-width: 560px) {
    .category-stack-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .media-partners-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-partner-logo {
        min-height: 72px;
        padding: 10px;
    }}

/* image card */
.art-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: contain;
}

.art-card-img .art-body {
    padding: 12px 0 0;
}

.art-card-img h3 {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.35;
    color: var(--black);
    margin-bottom: 6px;
}

.art-card-img h3 a:hover {
    color: var(--red);
}

.art-card-img p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 8px;
}

.art-meta {
    font-size: 11.5px;
    color: var(--muted);
}

.art-meta .cat-tag {
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    font-size: 11px;
    margin-right: 6px;
}

/* text list card */
.art-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.art-list-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.art-list-item:first-child {
    padding-top: 0;
}

.art-list-item:last-child {
    border-bottom: none;
}

.art-list-item h4 {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.35;
    color: var(--black);
    margin-bottom: 4px;
}

.art-list-item h4 a:hover {
    color: var(--red);
}

.art-list-item p {
    font-size: 12.5px;
    color: var(--muted);
}

/* ── Hero / Featured ─────────────────────────────── */
.hero-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
}

.hero-main img {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.hero-main .art-body {
    padding: 14px 0 0;
}

.hero-main h2 {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 10px;
    border-left: 5px solid var(--navy);
    padding-left: 14px;
}

.hero-main h2 a:hover {
    color: var(--red);
}

.hero-main p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* Hero carousel — 3 slides, reuses .hero-main typography above */
.hero-carousel-viewport {
    overflow: hidden;
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.hero-carousel-bars {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.hero-carousel-bar {
    flex: 1;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.hero-carousel-bar:hover {
    background: var(--muted);
}

.hero-carousel-bar.active {
    background: #323249;
}

.hero-aside {
    display: flex;
    flex-direction: column;
}

.hero-aside-heading {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    padding-bottom: 10px;
    margin-bottom: 6px;
    flex-shrink: 0;
    border-left: 5px solid var(--navy);
    padding-left: 12px;
}

/* Vertical auto-scrolling carousel */
.hero-aside-viewport {
    flex: 0 0 500px;
    overflow: hidden;
    position: relative;
}

.hero-aside-track {
    display: flex;
    flex-direction: column;
    animation: hero-aside-scroll 22s linear infinite;
}

.hero-aside-viewport:hover .hero-aside-track {
    animation-play-state: paused;
}

@keyframes hero-aside-scroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-aside-track {
        animation: none;
    }}

.hero-aside-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.hero-aside-item img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-aside-item h4 {
    font-family: var(--serif);
    font-size: 14.5px;
    line-height: 1.3;
    color: var(--black);
}

.hero-aside-item h4 a:hover {
    color: var(--red);
}

/* ── About promo banner ──────────────────────────── */
.about-promo {
    display: block;
    position: relative;
    margin: 28px 0;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.225), rgba(0, 0, 0, 0.422)),
    url("https://images.unsplash.com/photo-1462899006636-339e08d1844e?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
}

.about-promo-content {
    max-width: 620px;
    /* margin-left: auto; */
    padding: 56px 60px;
}

.about-promo-content h2 {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}

.about-promo-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #ddd;
    margin-bottom: 26px;
}

.about-promo-btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #ffffff;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s,
    color 0.2s;
}

.about-promo:hover .about-promo-btn {
    background: #ffffff;
    color: var(--black);
}

@media (max-width: 700px) {
    .about-promo-content {
        max-width: 100%;
        padding: 36px 24px;
    }

    .about-promo-content h2 {
        font-size: 22px;
    }}

/* =========================================================
   HOMEPAGE MAGAZINE SHOWCASE
   3D COVERFLOW — CLEAN MAGAZINE FOCUS
   ========================================================= */

.magazine-hero {
    position: relative;
    overflow: hidden;

    /* Dark editorial background */
    background: #080b10;

    padding: 58px 0 18px;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.magazine-hero-bg {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    /* Deep dark base behind the collage */
    background: #080b10;
}

.magazine-hero-bg::after {
    content: "";

    position: absolute;
    inset: 0;

    /*
     * Dark transparent layer over the collage.
     *
     * The collage remains visible,
     * but the foreground magazines stay dominant.
     */
    background:
            linear-gradient(
                    180deg,
                    rgba(3, 7, 12, 0.50) 0%,
                    rgba(3, 7, 12, 0.58) 50%,
                    rgba(3, 7, 12, 0.64) 100%
            );
}

.magazine-hero-bg-grid {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 170%;
    height: 170%;

    transform:
            translate(-50%, -50%)
            rotate(-8deg);

    display: grid;

    grid-template-columns: repeat(9, 1fr);

    gap: 10px;

    /*
     * Make the collage visible again.
     * The dark overlay above will control its final intensity.
     */
    opacity: 0.50;
}

.magazine-hero-bg-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;

    object-fit: cover;

    border-radius: 4px;

    filter: grayscale(0.4) brightness(0.9);
}

.magazine-hero-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background: transparent;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.magazine-hero-inner {
    position: relative;
    z-index: 2;

    width: min(1600px, 100%);

    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;

    gap: 48px;
}


/* =========================================================
   LEFT TEXT
   ========================================================= */

.magazine-hero-text {
    flex: 0 0 300px;

    position: relative;
    z-index: 5;
}

.magazine-hero-text h2 {
    font-family: var(--serif);

    font-size: 34px;
    line-height: 1.2;

    color: #fff;

    margin-bottom: 16px;
}

.magazine-hero-text p {
    font-size: 15px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.82);

    margin-bottom: 26px;
}

.magazine-hero-btn {
    display: inline-block;

    background: #3654b3;
    color: #fff;

    padding: 12px 28px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;
    text-transform: uppercase;

    border-radius: 3px;

    transition:
            background 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.magazine-hero-btn:hover {
    background: #fff;
    color: #000;

    transform: translateY(-1px);
}



/* =========================================================
   RIGHT MAGAZINE AREA
   ========================================================= */

.magazine-hero-covers {
    position: relative;

    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   REGION SELECTOR
   ========================================================= */

.magazine-region-selector {
    position: relative;

    z-index: 30;

    display: flex;

    justify-content: flex-end;

    margin-bottom: 8px;

    transform: translateY(-45px);
}

.magazine-region-toggle {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 92px;
    width: auto;

    padding: 8px 11px;

    border: 1px solid rgba(0, 0, 0, 0.22);

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.92);

    color: #111;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    backdrop-filter: blur(8px);

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

.magazine-region-toggle:hover {
    background: #fff;

    border-color: rgba(0, 0, 0, 0.45);
}

.magazine-region-toggle-arrow {
    /*
     * Hide the existing arrow character.
     * We draw our own horizontal chevron.
     */
    position: relative;

    width: 7px;
    height: 7px;

    margin-left: 10px;

    flex: 0 0 7px;

    font-size: 0;

    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;

    /*
     * Points RIGHT.
     */
    transform: rotate(45deg);

    transition:
            transform 0.25s ease;
}


/*
 * When menu is open:
 * point the chevron LEFT.
 */
.magazine-region-toggle[aria-expanded="true"]
.magazine-region-toggle-arrow {
    transform: rotate(225deg);
}


/* =========================================================
   REGION MENU
   HORIZONTAL — OPENS FROM RIGHT TO LEFT
   ========================================================= */

.magazine-region-menu {
    position: absolute;

    /*
     * Position relative to the Region selector.
     */
    top: calc(100% - 37px);

    /*
     * CENTER the menu inside the carousel area.
     */
    left: 50%;

    right: auto;

    width: max-content;

    max-width: calc(100vw - 40px);

    padding: 5px 6px;

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 3px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(0, 0, 0, 0.12);

    border-radius: 6px;

    box-shadow:
            0 14px 32px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(14px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    /*
     * Closed:
     * slightly smaller and slightly lower.
     */
    transform:
            translateX(-50%)
            translateY(-8px)
            scale(0.97);

    transform-origin: center top;

    transition:
            opacity 0.25s ease,
            transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.25s ease;
}


/* =========================================================
   OPEN STATE
   ========================================================= */

.magazine-region-menu.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
            translateX(-50%)
            translateY(0)
            scale(1);
}


/* =========================================================
   REGION OPTION
   ========================================================= */

.magazine-region-option {
    width: auto;

    min-width: max-content;

    padding: 8px 12px;

    border: 0;

    border-radius: 4px;

    background: transparent;

    color: #444;

    font-family: inherit;

    font-size: 12px;

    font-weight: 600;

    text-align: center;

    white-space: nowrap;

    cursor: pointer;

    opacity: 0;

    transform: translateX(12px);

    transition:
            background 0.2s ease,
            color 0.2s ease,
            opacity 0.3s ease,
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.magazine-region-menu.is-open
.magazine-region-option {
    opacity: 1;

    transform: translateX(0);
}

.magazine-region-menu.is-open
.magazine-region-option {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   STAGGERED OPEN ANIMATION
   RIGHT → LEFT
   ========================================================= */

.magazine-region-menu.is-open
.magazine-region-option {
    opacity: 1;

    transform: translateX(0);
}


/*
 * Each item appears slightly after the previous one.
 * This creates the wave / sequential effect.
 */

.magazine-region-menu.is-open
.magazine-region-option:nth-child(1) {
    transition-delay: 0.04s;
}

.magazine-region-menu.is-open
.magazine-region-option:nth-child(2) {
    transition-delay: 0.08s;
}

.magazine-region-menu.is-open
.magazine-region-option:nth-child(3) {
    transition-delay: 0.12s;
}

.magazine-region-menu.is-open
.magazine-region-option:nth-child(4) {
    transition-delay: 0.16s;
}

.magazine-region-menu.is-open
.magazine-region-option:nth-child(5) {
    transition-delay: 0.20s;
}


/* =========================================================
   HOVER / ACTIVE
   ========================================================= */

.magazine-region-option:hover,
.magazine-region-option.active {
    background: #111;

    color: #fff;
}
/* =========================================================
   SELECTED REGION
   ========================================================= */

.magazine-selected-region {
    position: relative;

    z-index: 10;

    min-height: 25px;

    margin-bottom: 2px;

    text-align: center;

    color: #222;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* =========================================================
   COVERFLOW VIEWPORT
   ========================================================= */

.magazine-coverflow {
    position: relative;
    width: 100%;
    height: 470px;

    perspective: 1400px;
    perspective-origin: center center;

    overflow: visible;

    touch-action: pan-y;
    cursor: grab;
}

.magazine-coverflow:active {
    cursor: grabbing;
}


/* =========================================================
   COVERFLOW TRACK
   ========================================================= */

.magazine-coverflow-track {
    position: relative;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
}


/* =========================================================
   INDIVIDUAL MAGAZINE
   ========================================================= */

.magazine-coverflow-item {
    position: absolute;

    top: calc(50% - 35px);
    left: 50%;

    width: 240px;
    height: 340px;

    display: block;

    transform-style: preserve-3d;
    transform-origin: center center;

    text-decoration: none;

    margin: 0;

    opacity: 1;
    filter: none;

    border-radius: 6px;

    overflow: visible;

    transition:
            transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 0.6s ease,
            filter 0.6s ease,
            box-shadow 0.6s ease;

    will-change: auto;

    user-select: none;

    -webkit-user-drag: none;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


/* =========================================================
   MAGAZINE INNER CARD
   ========================================================= */

.magazine-cover-inner {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 6px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.14);

    box-shadow:
            0 20px 38px rgba(0, 0, 0, 0.20),
            0 6px 14px rgba(0, 0, 0, 0.12);

    -webkit-backface-visibility: visible;
    backface-visibility: visible;

    transition:
            box-shadow 0.35s ease;
}



/* =========================================================
   MAGAZINE IMAGE — BASE RENDERING
   ========================================================= */

.magazine-cover-inner img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;

    opacity: 1;
    filter: none;
    transform: none;

    image-rendering: auto;

    -webkit-user-drag: none;
    user-select: none;
}

/* =========================================================
   CENTER MAGAZINE — IMAGE ZOOM
   ========================================================= */

.magazine-coverflow-item.is-center .magazine-cover-inner {
    overflow: hidden;
}

.magazine-coverflow-item.is-center .magazine-cover-inner img {
    transform: scale(1.001);
    transform-origin: center center;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.magazine-coverflow-item.is-center:hover .magazine-cover-inner img {
    transform: scale(1.08);
}

/* =========================================================
   CENTER MAGAZINE — SHARP AND IN FRONT
   ========================================================= */

.magazine-coverflow-item.is-center {
    transform: translate3d(-50%, -50%, 0) scale(1);

    transform-style: flat;
    z-index: 100 !important;

    opacity: 1;
    filter: none;

    will-change: auto;
    isolation: isolate;
}



.magazine-coverflow-item.is-center .magazine-cover-inner {
    position: relative;

    z-index: 101 !important;

    opacity: 1;

    filter: none !important;

    background: #fff;

    box-shadow:
            0 30px 55px rgba(0, 0, 0, 0.28),
            0 8px 20px rgba(0, 0, 0, 0.16);
}


.magazine-coverflow-item.is-center
.magazine-cover-inner {
    box-shadow:
            0 32px 58px rgba(0, 0, 0, 0.26),
            0 10px 24px rgba(0, 0, 0, 0.16);
}



/* LEFT 1 */
.magazine-coverflow-item.is-left-1 {
    transform:
            translate3d(calc(-50% - 145px), -50%, -30px)
            rotateY(24deg)
            scale(0.91);

    z-index: 110 !important;
    opacity: 1;
    filter: none;
}

/* RIGHT 1 */
.magazine-coverflow-item.is-right-1 {
    transform:
            translate3d(calc(-50% + 145px), -50%, -30px)
            rotateY(-24deg)
            scale(0.91);

    z-index: 110 !important;
    opacity: 1;
    filter: none;
}



/* =========================================================
   LEFT 2
   ========================================================= */

.magazine-coverflow-item.is-left-2 {
    transform:
            translate3d(calc(-50% - 275px), -50%, -40px)
            rotateY(34deg)
            scale(0.78);

    z-index: 105 !important;

    opacity: 1;
    filter: none;
}


/* =========================================================
   RIGHT 2
   ========================================================= */

.magazine-coverflow-item.is-right-2 {
    transform:
            translate3d(calc(-50% + 275px), -50%, -40px)
            rotateY(-34deg)
            scale(0.78);

    z-index: 105 !important;

    opacity: 1;
    filter: none;
}


/* =========================================================
   HIDDEN MAGAZINES
   ========================================================= */

.magazine-coverflow-item.is-hidden {
    transform:
            translate3d(-50%, -50%, -180px)
            scale(0.55);

    z-index: 0;

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   HOVER FOR SIDE MAGAZINES
   ========================================================= */

.magazine-coverflow-item.is-left-1:hover
.magazine-cover-inner,
.magazine-coverflow-item.is-right-1:hover
.magazine-cover-inner,
.magazine-coverflow-item.is-left-2:hover
.magazine-cover-inner,
.magazine-coverflow-item.is-right-2:hover
.magazine-cover-inner {
    box-shadow:
            0 25px 48px rgba(0, 0, 0, 0.25),
            0 8px 18px rgba(0, 0, 0, 0.14);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1400px) {
    .magazine-coverflow-item {
        width: 250px;
        height: 354px;
    }

    .magazine-coverflow-item.is-left-1 {
        transform:
                translate3d(calc(-50% - 160px), -50%, -30px)
                rotateY(24deg)
                scale(0.91);
    }

    .magazine-coverflow-item.is-right-1 {
        transform:
                translate3d(calc(-50% + 160px), -50%, -30px)
                rotateY(-24deg)
                scale(0.91);
    }

    .magazine-coverflow-item.is-left-2 {
        transform:
                translate3d(calc(-50% - 300px), -50%, -40px)
                rotateY(34deg)
                scale(0.78);
    }

    .magazine-coverflow-item.is-right-2 {
        transform:
                translate3d(calc(-50% + 300px), -50%, -40px)
                rotateY(-34deg)
                scale(0.78);
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1100px) {

    .magazine-hero-inner {
        gap: 30px;
    }

    .magazine-hero-text {
        flex-basis: 250px;
    }

    .magazine-hero-text h2 {
        font-size: 29px;
    }

    .magazine-coverflow {
        height: 440px;
    }

    .magazine-coverflow-item {
        width: 195px;
        height: 276px;
    }

    .magazine-coverflow-item.is-left-1 {
        transform:
                translate3d(calc(-50% - 120px), -50%, -30px)
                rotateY(22deg)
                scale(0.88);

        opacity: 1;
        filter: none;
    }

    .magazine-coverflow-item.is-right-1 {
        transform:
                translate3d(calc(-50% + 120px), -50%, -30px)
                rotateY(-22deg)
                scale(0.88);

        opacity: 1;
        filter: none;
    }

    .magazine-coverflow-item.is-left-2,
    .magazine-coverflow-item.is-right-2 {
        opacity: 1;
        filter: none;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .magazine-hero {
        padding: 48px 0 56px;
    }

    .magazine-hero-inner {
        flex-direction: column;

        align-items: stretch;

        gap: 28px;
    }

    .magazine-hero-text {
        flex: none;

        width: 100%;

        max-width: 600px;
    }

    .magazine-hero-covers {
        width: 100%;
    }

    .magazine-coverflow {
        height: 390px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .magazine-hero {
        padding: 40px 0 48px;
    }

    .magazine-hero-inner {
        padding: 0 14px;
    }

    .magazine-hero-text h2 {
        font-size: 26px;
    }

    .magazine-hero-text p {
        font-size: 13px;

        line-height: 1.65;
    }

    .magazine-coverflow {
        height: 350px;
    }

    .magazine-coverflow-item {
        width: 165px;
    }

    .magazine-coverflow-item.is-left-1 {
        transform:
                translate3d(calc(-50% - 92px), -50%, -30px)
                rotateY(20deg)
                scale(0.82);

        opacity: 1;
        filter: none;
    }

    .magazine-coverflow-item.is-right-1 {
        transform:
                translate3d(calc(-50% + 92px), -50%, -30px)
                rotateY(-20deg)
                scale(0.82);

        opacity: 1;
        filter: none;
    }

    .magazine-coverflow-item.is-left-2,
    .magazine-coverflow-item.is-right-2 {
        opacity: 0;
        pointer-events: none;
    }

    .magazine-coverflow-arrow {
        width: 38px;
        height: 38px;

        font-size: 28px;
    }

    .magazine-coverflow-prev {
        left: 2px;
    }

    .magazine-coverflow-next {
        right: 2px;
    }

    .magazine-region-toggle {
        min-width: 135px;
    }

    .magazine-region-menu {
        width: 190px;
    }
}
/* ── 3rd banner promo banner ──────────────────────────── */
.third-banner-promo {
    display: block;
    position: relative;
    margin: 28px 0;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.225), rgba(0, 0, 0, 0.422)),
    url("https://images.unsplash.com/photo-1513759565286-20e9c5fad06b?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
}

.third-banner-promo-content {
    max-width: 620px;
    /* margin-left: auto; */
    padding: 56px 60px;
}

.third-banner-promo-content h2 {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}

.third-banner-promo-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #ddd;
    margin-bottom: 26px;
}

.third-banner-promo-btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #ffffff;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s,
    color 0.2s;
}

.third-banner-promo:hover .third-banner-promo-btn {
    background: #ffffff;
    color: var(--black);
}

@media (max-width: 700px) {
    .third-banner-promo-content {
        max-width: 100%;
        padding: 36px 24px;
    }

    .third-banner-promo-content h2 {
        font-size: 22px;
    }}

/* ── Blog promo banner ──────────────────────────── */
.blog-promo {
    display: block;
    position: relative;
    margin: 28px 0;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.225), rgba(0, 0, 0, 0.422)),
    url("https://images.unsplash.com/photo-1709120395858-92f1c7c577f5?q=80&w=1332&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
}

.blog-promo-content {
    max-width: 620px;
    margin-left: auto;
    padding: 56px 60px;
}

.blog-promo-content h2 {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}

.blog-promo-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #ddd;
    margin-bottom: 26px;
}

.blog-promo-btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s,
    color 0.2s;
}

.blog-promo:hover .blog-promo-btn {
    background: #fff;
    color: var(--black);
}

@media (max-width: 700px) {
    .blog-promo-content {
        max-width: 100%;
        padding: 36px 24px;
    }

    .blog-promo-content h2 {
        font-size: 22px;
    }}

/* ── Blog list page ──────────────────────────────── */
.page-section {
    padding: 36px 20px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    box-sizing: border-box;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

/* ── Magazine listing: cover-only grid, 5 per page ── */
.magazine-cover-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.magazine-cover-link {
    display: block;
}

.magazine-cover-link img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--magazine-cover-ratio);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.magazine-cover-link:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .magazine-cover-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }}

@media (max-width: 560px) {
    .magazine-cover-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }}

/* ── Article detail ──────────────────────────────── */
.article-page {
    padding: 32px 9px 60px;
    max-width: 1150px;
}

.article-page .art-header {
    margin-bottom: 20px;
}

.article-page .art-header .cat-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.article-page h1 {
    font-family: var(--serif);
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.25;
    margin-bottom: 12px;
}

.article-page .art-byline {
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    margin-bottom: 20px;
}

.article-page .art-cover {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
    margin-bottom: 28px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 48px;
}

.article-layout > aside {
    border-left: 1px solid var(--border);
    padding-left: 32px;
}

.article-body {
    font-size: 17px;
    line-height: 1.85;
    color: var(--dark);
}

.article-body .summary-quote {
    border-left: 4px solid var(--red);
    padding-left: 18px;
    color: var(--mid);
    font-style: italic;
    font-size: 18px;
    margin-bottom: 24px;
}

.sidebar-widget {
    margin-bottom: 28px;
    padding-top: 12px;
}

.sidebar-widget h4 {
    font-family: var(--serif);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.sidebar-art {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.sidebar-art img {
    width: 70px;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-art h5 {
    font-family: var(--serif);
    font-size: 13px;
    line-height: 1.35;
}

.sidebar-art h5 a:hover {
    color: var(--red);
}

.sidebar-cat-link {
    display: block;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    font-weight: 600;
}

.trending-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.trending-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
    transition: none;
}

.trending-card:hover img {
    transform: none;
}

.trending-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0) 100%);
}

.trending-card-cat {
    align-self: flex-start;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.trending-card-overlay h5 {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.35;
    color: #fff;
    font-weight: 700;
}

.sidebar-newsletter-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 14px;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-newsletter-form input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.sidebar-newsletter-form input:focus {
    border-color: var(--navy);
}

.sidebar-newsletter-form button {
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.15s;
}

.sidebar-newsletter-form button:hover {
    background: #23233a;
}

/* ── Pagination ──────────────────────────────────── */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 20px 0 0;
}

.pagination a,
.pagination span {
    padding: 7px 14px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--dark);
}

.pagination a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.pagination .current {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ── Category pill bar ───────────────────────────── */
.cat-pill-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.cat-pill {
    padding: 5px 14px;
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ── Generic content page ────────────────────────── */
.page-content {
    max-width: 780px;
    /* padding: 40px 0 60px; */
}

.page-content h1 {
    font-family: var(--serif);
    font-size: 36px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--mid);
}

.page-content h2 {
    font-family: var(--serif);
    font-size: 22px;
    margin: 28px 0 12px;
}

.page-content h3 {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--black);
    margin: 8px 0 14px;
}

/* ── About page: "What We Cover" content-type grid ── */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0 36px;
}

.coverage-item {
    display: block;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px 18px;
    background: var(--white);
    transition: box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
}

.coverage-item:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--black);
    color: inherit;
}

.coverage-item i {
    font-size: 19px;
    color: var(--black);
    margin-bottom: 12px;
    display: block;
}

.coverage-item h4 {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--black);
    margin-bottom: 6px;
}

.coverage-item p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.coverage-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

@media (max-width: 900px) {
    .coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }}

@media (max-width: 480px) {
    .coverage-grid {
        grid-template-columns: minmax(0, 1fr);
    }}

/* ── About page: Mission / Vision / Environment cards ── */
.about-stack-cards {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 56px 0 44px;
}

.about-stack-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s,
    transform 0.2s;
}

.about-stack-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}

.about-stack-card-media {
    flex: 0 0 340px;
}

.about-stack-card-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.about-stack-card-body {
    flex: 1;
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-stack-card-body h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--black);
    width: fit-content;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--black);
}

.about-stack-card-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--mid);
}

@media (max-width: 700px) {

    .about-stack-card {
        flex-direction: column;
    }

    .about-stack-card-media {
        flex-basis: auto;
    }

    .about-stack-card-media img {
        height: 220px;
        min-height: 0;
    }

    .about-stack-card-body {
        padding: 26px 24px 30px;
    }}

/* ── About page: FAQ ──────────────────────────────── */
.faq-section {
    padding: 8px 0 56px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    position: relative;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item p {
    max-width: 860px;
}

.faq-item summary {
    font-family: var(--serif);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    list-style: none;
    max-width: 860px;
    padding-right: 32px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 18px;
    font-size: 22px;
    font-weight: 400;
    color: var(--muted);
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--mid);
    margin-top: 12px;
}

.faq-item p a {
    color: var(--black);
    font-weight: 600;
    text-decoration: underline;
}

/* ── Alert ───────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 18px;
    border-left: 4px solid;
}

.alert-success {
    background: #f0faf3;
    color: #1a7a3a;
    border-color: #1a7a3a;
}

.alert-error {
    background: #fdeeee;
    color: #c0392b;
    border-color: #c0392b;
}

.alert-info {
    background: #f0f6ff;
    color: #1a4fa0;
    border-color: #1a4fa0;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {

    .article-grid-3,
    .blog-grid,
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

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

@media (max-width: 600px) {

    .article-grid-3,
    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .hero-main img {
        aspect-ratio: 3 / 2;
        height: auto;
    }

    /* Interview slideshow: shrink the photo + text so the caption block
       sits compactly at the bottom instead of dominating the slide. */
    .interview-slide-overlay {
        padding: 10px 12px;
        padding-top: 30px;
        gap: 8px;
    }

    .interview-slide-left {
        gap: 8px;
    }

    .interview-slide-photo {
        width: 48px;
        height: 48px;
    }

    .interview-slide-name {
        font-size: 13px;
    }

    .interview-slide-role {
        font-size: 10px;
        margin: 1px 0 4px;
    }

    .interview-slide-title {
        font-size: 11px;
        line-height: 1.3;
    }

    .interview-slide-arrow {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }}

/* ── Company / Startup detail page ── */
.org-detail-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.org-banner {
    aspect-ratio: 1128 / 191;
    width: 100%;
    border-radius: 7px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), #23233a);
    position: relative;
}

.org-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-identity-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: -48px 24px 0;
    position: relative;
    z-index: 1;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.org-logo-box {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -36px;
    overflow: hidden;
    font-size: 34px;
}

.org-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.org-identity-info {
    flex: 1;
    min-width: 220px;
}

.org-identity-info .sector-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.org-identity-info h1 {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.org-identity-info .tagline {
    font-size: 15px;
    color: var(--muted);
}

.org-identity-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.org-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s,
    opacity 0.15s;
}

.org-btn-website {
    background: var(--navy);
    color: #fff;
}

.org-btn-website:hover {
    background: #23233a;
    color: #fff;
}

.org-btn-linkedin {
    background: #fff;
    color: #0077b5;
    border: 1px solid #0077b5;
}

.org-btn-linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.org-btn-twitter {
    background: #111;
    color: #fff;
}

.org-btn-twitter:hover {
    background: #333;
    color: #fff;
}

.org-stage-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    background: var(--navy-tint);
    color: var(--navy);
}

.org-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 28px 0 40px;
}

.org-stat-card {
    flex: 1;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 18px 20px;
    text-align: center;
    transition: transform 0.15s,
    box-shadow 0.15s;
}

.org-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px var(--navy-tint);
}

.org-stat-card .stat-value {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.org-stat-card .stat-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-detail-columns {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
}

@media (max-width: 900px) {
    .org-identity-bar {
        margin: -32px 12px 0;
        padding: 18px;
    }

    .org-logo-box {
        width: 68px;
        height: 68px;
        margin-top: -24px;
    }

    .org-identity-info h1 {
        font-size: 24px;
    }

    .org-identity-info {
        min-width: 0;
    }

    .org-identity-actions {
        width: 100%;
    }

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

/* ── 404 error page ── */
.not-found-section {
    padding: 80px 0 100px;
}

.not-found-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.not-found-code {
    font-family: var(--serif);
    font-size: 110px;
    font-weight: 700;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 8px;
}

.not-found-content h1 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    margin-bottom: 16px;
}

.not-found-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--mid);
    margin-bottom: 32px;
}

.not-found-home-btn {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: background 0.15s;
}

.not-found-home-btn:hover {
    background: #23233a;
    color: #fff;
}

.not-found-links {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.not-found-links > span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

.not-found-links-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 600px) {
    .not-found-code {
        font-size: 80px;
    }

    .not-found-content h1 {
        font-size: 26px;
    }}

/* ── Magazine flipbook ── */
#flipFullscreen:hover {
    background: var(--light-bg);
    border-color: var(--muted);
}

#flipbookContainer:fullscreen,
#flipbookContainer:-webkit-full-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
}

#flipbookContainer:fullscreen #flipbookStatus,
#flipbookContainer:-webkit-full-screen #flipbookStatus {
    color: var(--white);
}

#flipbookContainer:fullscreen #flipFullscreen,
#flipbookContainer:-webkit-full-screen #flipFullscreen {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

#flipbookContainer:fullscreen #flipFullscreen:hover,
#flipbookContainer:-webkit-full-screen #flipFullscreen:hover {
    background: rgba(255, 255, 255, 0.12);
}

#flipbookContainer:fullscreen #flipPageIndicator,
#flipbookContainer:-webkit-full-screen #flipPageIndicator {
    color: #ccc;
}

/* ---------------------------------------------------------
       Numbers
       --------------------------------------------------------- */

.mega-link-number {
    flex: 0 0 auto;
    min-width: 22px;
    padding-top: 3px;

    font-size: 11px !important;
    line-height: 1;
    font-weight: 800 !important;
    letter-spacing: normal;

    color: var(--navy) !important;
    opacity: 0.75;
}

/* ---------------------------------------------------------
       Tablet
       --------------------------------------------------------- */

@media (max-width: 1100px) {

    .insights-mega-menu .container,
    .insights-mega-inner {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 28px;
    }

    .insights-mega-header {
        padding-right: 22px;
    }

    .insights-mega-header h3 {
        font-size: 25px;
    }

    .insights-mega-links {
        gap: 8px 10px;
    }

    .insights-mega-links a,
    .nav-links .insights-mega-links a {
        padding: 13px 12px !important;
    }
}

@media (max-width: 900px) {

    .insights-mega-menu .container,
    .insights-mega-inner {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 22px;
    }

    .insights-mega-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insights-mega-header h3 {
        font-size: 23px;
    }

    .insights-mega-links h4 {
        font-size: 14px;
    }

    .insights-mega-links p {
        font-size: 11px;
    }
}

/* ---------------------------------------------------------
       Mobile
       --------------------------------------------------------- */

@media (max-width: 700px) {
    .insights-mega-menu {
        display: none !important;
    }

    .nav-dropdown-toggle {
        height: auto;
    }
}


/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1000px) {

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

    .full-menu-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }

}

@media (max-width: 600px) {

    .full-menu-content {
        padding: 32px 0 50px;
    }

    .full-menu-section {
        margin-bottom: 42px;
    }

    .full-menu-section > h2 {
        font-size: 21px;
        margin-bottom: 22px;
    }

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

    .full-menu-group {
        min-height: auto;
        padding: 20px;
    }

    .full-menu-header-inner {
        min-height: 58px;
    }

    .full-menu-title {
        font-size: 15px;
    }

    .full-menu-category-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .full-menu-category-grid .full-menu-category-item {
        min-height: 86px;
        padding: 14px 2px 14px 0;
    }

    .full-menu-category-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        margin-right: 13px;
        font-size: 17px;
    }

    .full-menu-category-text h3 {
        font-size: 13px;
    }

    .full-menu-category-text p {
        font-size: 11.5px;
        line-height: 1.4;
    }

    .full-menu-category-arrow {
        display: none;
    }

}
/* ── Homepage: independently managed featured magazine ── */
.featured-magazine-section {
    background: #101218;
    color: #fff;
    border-top: 1px solid rgba(70, 130, 255, 0.65);
    border-bottom: 1px solid rgba(70, 130, 255, 0.25);
    margin: 52px 0 0;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.featured-magazine-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 28px;
    display: grid;
    grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
    gap: clamp(34px, 7vw, 92px);
    align-items: center;
}

.featured-magazine-cover-wrap {
    position: relative;
    max-width: 280px;
    justify-self: center;
}

.featured-magazine-cover-wrap::after {
    content: "";
    position: absolute;
    inset: 14px -12px -12px 12px;
    border: 1px solid rgba(75, 140, 255, 0.65);
    z-index: 0;
}

.featured-magazine-cover,
.featured-magazine-cover-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: var(--magazine-cover-ratio);
    object-fit: contain;
    background: #242938;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.featured-magazine-cover-placeholder {
    display: grid;
    place-items: center;
    color: #8db6ff;
    font-family: var(--serif);
    font-size: 76px;
}

.featured-magazine-copy {
    max-width: 650px;
}

.featured-magazine-kicker {
    color: #7eaeff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    margin-bottom: 14px;
}

.featured-magazine-rule {
    display: block;
    width: 72px;
    height: 2px;
    background: #4b8cff;
    margin-bottom: 23px;
}

.featured-magazine-copy h2 {
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.08;
    margin-bottom: 12px;
}

.featured-magazine-name {
    color: #b9cfff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 18px;
}

.featured-magazine-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.8;
    max-width: 570px;
    margin-bottom: 28px;
}

.featured-magazine-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    border-bottom: 1px solid #4b8cff;
    padding: 0 0 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.featured-magazine-cta:hover {
    color: #8db6ff;
    border-color: #8db6ff;
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .featured-magazine-inner {
        grid-template-columns: 1fr;
        padding: 44px 24px 52px;
    }

    .featured-magazine-cover-wrap {
        width: min(72vw, 250px);
    }}

/* ============================================================
   HOMEPAGE FINAL UI SYSTEM
   Scoped to the homepage so shared page components stay unchanged.
   ============================================================ */
body:has(.explore-content-section) {
    --home-ink: #101827;
    --home-navy: #12234b;
    --home-blue: #2f63c9;
    --home-blue-dark: #214b9f;
    --home-blue-soft: #eef4ff;
    --home-muted: #607087;
    --home-line: #dce3ed;
    --home-surface: #ffffff;
    --home-soft: #f6f8fb;
    --home-radius: 12px;
    --home-shadow: 0 12px 30px rgba(16, 31, 61, 0.08);
    --home-shadow-hover: 0 18px 38px rgba(16, 31, 61, 0.14);
    font-family: var(--sans);
    color: var(--home-ink);
    background: #fff;
}

body:has(.explore-content-section) :is(h1, h2, h3, h4, h5, h6, p, a, button, input, span) {
    font-family: inherit;
}

body:has(.explore-content-section) .container {
    max-width: 1480px;
}

body:has(.explore-content-section) :is(.master-hero, .explore-content-section, .trusted-insights-section, .cat-section, .media-partners-section) {
    margin-bottom: 28px;
}

body:has(.explore-content-section) .section-header {
    align-items: center;
    min-height: 38px;
    margin-bottom: 18px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--home-line);
}

body:has(.explore-content-section) .section-header h2,
body:has(.explore-content-section) .category-stack-heading h3,
body:has(.explore-content-section) .merged-col-heading h3 {
    color: var(--home-ink);
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body:has(.explore-content-section) .section-header h2 {
    border-left: 3px solid var(--home-blue);
    padding-left: 12px;
    font-size: 18px;
    line-height: 1.2;
}

body:has(.explore-content-section) :is(.section-header .view-all, .category-stack-heading .view-all, .merged-col-heading .view-all) {
    color: var(--home-blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    transition: color 0.2s ease, transform 0.2s ease;
}

body:has(.explore-content-section) :is(.section-header .view-all, .category-stack-heading .view-all, .merged-col-heading .view-all):hover {
    color: var(--home-blue);
    transform: translateX(2px);
}

/* Featured carousel */
body:has(.explore-content-section) .master-hero {
    margin-bottom: 28px;
    padding-top: 18px;
}

body:has(.explore-content-section) .master-hero-heading {
    margin-bottom: 14px !important;
}

body:has(.explore-content-section) .master-hero-kicker,
body:has(.explore-content-section) .master-hero-status {
    border-left-color: var(--home-blue) !important;
    background: linear-gradient(90deg, rgba(47, 99, 201, 0.09), transparent) !important;
    color: var(--home-blue-dark) !important;
}

body:has(.explore-content-section) .master-hero-main,
body:has(.explore-content-section) .master-hero-stage-magazine {
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
}

body:has(.explore-content-section) .master-hero-side-card {
    border-color: var(--home-line);
    border-radius: var(--home-radius);
    box-shadow: 0 4px 14px rgba(16, 31, 61, 0.04);
}

body:has(.explore-content-section) .master-hero-side-card:hover {
    border-color: rgba(47, 99, 201, 0.45);
    background: var(--home-blue-soft);
    box-shadow: var(--home-shadow-hover);
}

body:has(.explore-content-section) .master-hero-main-cta,
body:has(.explore-content-section) .master-hero-magazine-all-button {
    border-radius: 7px;
    background: var(--home-blue);
    border-color: var(--home-blue);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body:has(.explore-content-section) :is(.master-hero-main-cta, .master-hero-magazine-all-button):hover {
    background: var(--home-blue-dark);
    box-shadow: 0 8px 18px rgba(47, 99, 201, 0.22);
}

/* Lightweight directory and trust panels */
body:has(.explore-content-section) .explore-content-shell,
body:has(.explore-content-section) .trusted-insights-shell {
    border-color: var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: var(--home-shadow);
}

body:has(.explore-content-section) .explore-content-title,
body:has(.explore-content-section) .explore-content-name,
body:has(.explore-content-section) .trusted-insights-name {
    font-family: inherit;
    color: var(--home-navy);
}

body:has(.explore-content-section) .explore-content-title-blue,
body:has(.explore-content-section) .explore-content-icon,
body:has(.explore-content-section) .trusted-insights-icon,
body:has(.explore-content-section) .trusted-insights-name {
    color: var(--home-blue) !important;
}

body:has(.explore-content-section) .explore-content-item:hover,
body:has(.explore-content-section) .media-partner-logo:hover {
    background: var(--home-blue-soft);
}

body:has(.explore-content-section) .trusted-insights-shell {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

/* Editorial cards and image treatments */
body:has(.explore-content-section) :is(.cat-section, .company-promo, .media-partners-section) {
    border-color: var(--home-line);
}

body:has(.explore-content-section) :is(.company-promo, .media-partners-section) .section-header h2,
body:has(.explore-content-section) .newsletter-col h3,
body:has(.explore-content-section) :is(.blog-promo-content, .third-banner-promo-content) h2 {
    color: #fff;
}

body:has(.explore-content-section) :is(.category-stack-card, .art-card-img, .merged-col, .video-home-card, .interview-stack-item) {
    min-width: 0;
}

body:has(.explore-content-section) :is(.category-stack-card img, .art-card-img img, .merged-featured-item img, .interview-slideshow, .video-home-thumbnail, .company-card, .startup-card, .media-partner-logo) {
    border-radius: var(--home-radius);
}

body:has(.explore-content-section) :is(.category-stack-card img, .art-card-img img, .merged-featured-item img, .video-home-thumbnail img) {
    transition: transform 0.3s ease, filter 0.3s ease;
}

body:has(.explore-content-section) :is(.category-stack-card, .art-card-img, .merged-featured-item, .video-home-card):hover img {
    filter: saturate(1.04);
}

body:has(.explore-content-section) :is(.category-stack-card h4, .art-card-img h3, .art-list-item h4, .merged-featured-item h4, .video-home-title, .interview-stack-item h4) {
    color: var(--home-ink);
    font-family: inherit;
    font-weight: 750;
    line-height: 1.35;
}

body:has(.explore-content-section) :is(.art-card-img p, .art-list-item p, .video-home-host, .interview-stack-role) {
    color: var(--home-muted);
    line-height: 1.55;
}

/* Dark and image-led sections share one restrained treatment. */
body:has(.explore-content-section) .company-promo {
    background: #0b1428;
    border-top-color: rgba(125, 166, 235, 0.2);
    border-bottom-color: rgba(125, 166, 235, 0.2);
}

body:has(.explore-content-section) :is(.magazine-hero, .blog-promo, .third-banner-promo) {
    border-radius: var(0);
    box-shadow: var(--home-shadow);
}

body:has(.explore-content-section) :is(.about-promo-btn, .third-banner-promo-btn, .blog-promo-btn, .magazine-hero-btn) {
    border-radius: 7px;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body:has(.explore-content-section) :is(.about-promo-btn, .third-banner-promo-btn, .blog-promo-btn, .magazine-hero-btn):hover {
    transform: translateY(-2px);
}

body:has(.explore-content-section) .media-partner-logo {
    border-color: var(--home-line);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

body:has(.explore-content-section) :is(.master-hero-stage-arrow, .company-carousel-arrow, .interview-slide-arrow) {
    border-color: rgba(47, 99, 201, 0.35);
    color: var(--home-blue-dark);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body:has(.explore-content-section) :is(.master-hero-stage-arrow, .company-carousel-arrow, .interview-slide-arrow):focus-visible {
    outline: 3px solid rgba(47, 99, 201, 0.22);
    outline-offset: 3px;
}

body:has(.explore-content-section) :is(.master-hero-stage-arrow, .company-carousel-arrow, .interview-slide-arrow):hover {
    background: var(--home-blue);
    border-color: var(--home-blue);
    color: #fff;
}

@media (max-width: 900px) {
    body:has(.explore-content-section) .master-hero-main-content {
        left: 26px;
        right: 26px;
    }

    body:has(.explore-content-section) .section-header {
        margin-bottom: 16px;
    }}

@media (max-width: 700px) {
    body:has(.explore-content-section) :is(.master-hero, .explore-content-section, .trusted-insights-section, .cat-section, .media-partners-section) {
        margin-bottom: 22px;
    }

    body:has(.explore-content-section) .master-hero {
        padding-top: 10px;
    }

    body:has(.explore-content-section) .section-header {
        align-items: flex-start;
        gap: 10px;
    }

    body:has(.explore-content-section) .section-header h2 {
        font-size: 16px;
    }

    body:has(.explore-content-section) :is(.section-header .view-all, .category-stack-heading .view-all, .merged-col-heading .view-all) {
        font-size: 10px;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    body:has(.explore-content-section) .master-hero-main-content {
        left: 18px;
        right: 18px;
        bottom: 22px;
    }

    body:has(.explore-content-section) .master-hero-main-title {
        padding-right: 0;
        font-size: clamp(25px, 8vw, 36px);
    }

    body:has(.explore-content-section) .master-hero-main-description {
        padding-right: 0;
        font-size: 13px;
    }

    body:has(.explore-content-section) :is(.blog-promo-content, .third-banner-promo-content, .about-promo-content) {
        padding: 34px 24px;
    }}

@media (prefers-reduced-motion: reduce) {

    body:has(.explore-content-section) *,
    body:has(.explore-content-section) *::before,
    body:has(.explore-content-section) *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }}


.master-hero-main-description {
    max-width: 860px;
    margin: 10px 0 0;
    padding-right: 145px;

    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.45;

    max-height: calc(1.45em * 5);
    overflow: hidden;
}

.master-hero-main-description .description-content {
    margin: 0;
    padding: 0;
}

.master-hero-main-description .description-content p {
    margin: 0;
    padding: 0;
}

/* ============================================================
   LOCAL OVERRIDES — Homepage Magazine Showcase
   Kept after pulled CSS so local values take precedence.
   ============================================================ */
/* ── Homepage: Magazine showcase — full-bleed dark banner, cover collage backdrop, region carousel ── */
.magazine-hero {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.438);
    padding-bottom: 0;
    padding-top: 64px;
    margin-top: 7px;
}

.magazine-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: #050505;
}

.magazine-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.magazine-hero-bg-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    height: 170%;
    transform: translate(-50%, -50%) rotate(-8deg);
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
}

.magazine-hero-bg-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(0.4) brightness(0.55);
}

.magazine-hero-overlay {
    position: absolute;
    inset: 0;
}

.magazine-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 56px;
}

.magazine-hero-text {
    flex: 0 0 340px;
}

.magazine-hero-text h2 {
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.magazine-hero-text p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 26px;
}

.magazine-hero-btn {
    display: inline-block;
    background: white;
    color: #000000;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.magazine-hero-btn:hover {
    background: #3654b3;
    color: white;
    transform: translateY(-1px);
}

.magazine-hero-covers {
    flex: 1;
    min-width: 0;
}

.magazine-hero-tabs {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.magazine-hero-tabs button {
    padding: 8px 55px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
}

.magazine-hero-track-wrap {
    overflow: hidden;
    border-radius: 6px;
}

.magazine-hero-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.magazine-hero-slide {
    min-width: 100%;
}

.magazine-hero-slide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding-top: 35px;
    padding-bottom: 15px;
}

.magazine-hero-cover {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.118);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.magazine-hero-cover:hover {
    transform: scale(1.03);
    z-index: 2;
}

.magazine-hero-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--magazine-cover-ratio);
    object-fit: contain;
}

.magazine-hero-empty {
    min-height: 370px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;
    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
}

.magazine-hero-empty .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.magazine-hero-empty .title {
    font-family: var(--serif);
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
}

.magazine-hero-empty .desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.magazine-hero-empty a {
    display: inline-block;
    background: #fff;
    color: var(--black);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
}

.magazine-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.magazine-hero-dots span {
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .magazine-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .magazine-hero-text {
        flex: none;
    }

    .magazine-hero-tabs {
        justify-content: flex-start;
    }

    .magazine-hero-tabs button {
        padding: 7px 16px;
    }

    /* The decorative cover-collage backdrop is sized for a short, wide
       desktop banner (fixed-aspect tiles in a 9-column grid) — once the
       section stacks tall on mobile, that same tile count/size can't cover
       the new height. Fixed by switching to fewer, taller columns and
       letting rows stretch to fill whatever height the stacked layout ends
       up needing, instead of a fixed aspect-ratio per tile.
       Height is set to 130% (not 100%) to keep an overscan margin so the
       -8deg rotation doesn't expose bare corners at the container edges. */
    .magazine-hero-bg-grid {
        height: 130%;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 1fr;
    }

    .magazine-hero-bg-grid img {
        width: 100%;
        aspect-ratio: var(--magazine-cover-ratio);
        object-fit: cover;
        border-radius: 4px;
        filter: grayscale(0.4) brightness(0.55);
    }
}

@media (max-width: 640px) {
    .magazine-hero-slide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .magazine-hero-text h2 {
        font-size: 26px;
    }

    .magazine-hero-empty {
        min-height: 300px;
    }}




/* HOMEPAGE HEADER AD — RESTORED */
.homepage-ad-banner-section {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
}

.homepage-ad-banner {
    display: block;
    position: relative;
    width: 100%;
    max-width: 920px;
    height: 145px;
    min-height: 145px;
    overflow: hidden;

    background-image: var(--ad-banner-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    text-decoration: none;
}

.homepage-ad-overlay {
    position: absolute;
    inset: 0;
}

@media (max-width: 600px) {
    .homepage-ad-banner {
        height: 110px;
        min-height: 110px;
    }
}


       /* Contact button: isolated gold styling */
   .magazine-feature-contact-btn {
       position: relative;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       gap: 7px;

       padding: 9px 15px;
       background: linear-gradient(135deg, #d9ad52, #f2d58a);
       color: #101827;

       border: 1px solid #e7c36d;
       border-radius: 5px;

       font-size: 10px;
       font-weight: 700;
       letter-spacing: 0.35px;
       line-height: 1.3;
       text-decoration: none;
       white-space: nowrap;

       cursor: pointer;
       overflow: hidden;
       isolation: isolate;

       box-shadow: 0 3px 12px rgba(217, 173, 82, 0.18);
       transition: background 0.25s ease,
       border-color 0.25s ease,
       box-shadow 0.25s ease,
       transform 0.25s ease;
   }

/* Shine stays INSIDE the button */
.magazine-feature-contact-btn::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -75%;
    width: 45%;

    background: linear-gradient(
            100deg,
            transparent 0%,
            rgba(255, 255, 255, 0.12) 25%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.12) 75%,
            transparent 100%
    );

    transform: skewX(-20deg);
    animation: magazineButtonShine 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Keep icon and label above the shine */
.magazine-feature-contact-btn i,
.magazine-feature-contact-btn span {
    position: relative;
    z-index: 1;
}

.magazine-feature-contact-btn i {
    color: #101827;
    font-size: 11px;
}

/* Hover */
.magazine-feature-contact-btn:hover {
    background: linear-gradient(135deg, #f2d58a, #ffdf8c);
    color: #000;
    border-color: #ffdf8c;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(217, 173, 82, 0.35);
}

.magazine-feature-contact-btn:hover i {
    color: #000;
}

@keyframes magazineButtonShine {
    0% {
        left: -75%;
    }

    55%, 100% {
        left: 140%;
    }
}

.magazine-feature-contact-btn:focus-visible {
    outline: 2px solid #f2d58a;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .magazine-feature-contact-btn {
        padding: 9px 11px;
        font-size: 9px;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magazine-feature-contact-btn::before {
        animation: none;
    }
}




.magazine-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 15px;
    background: white;
    color: #101827;
    border: 1px solid #e7c36d;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(217, 173, 82, 0.18);
    transition: all 0.25s ease;
}

.magazine-view-all-btn i {
    color: #101827;
    font-size: 11px;
}

.magazine-view-all-btn:hover {
    background: linear-gradient(135deg, #f2d58a, #ffdf8c);
    color: #000000;
    border-color: #ffdf8c;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(217, 173, 82, 0.35);
}

.magazine-view-all-btn:hover i {
    color: #000000;
}

.magazine-view-all-btn:focus-visible {
    outline: 2px solid #f2d58a;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .magazine-view-all-btn {
        padding: 9px 11px;
        font-size: 9px;
        gap: 5px;
    }
}
