/*
Theme Name: hropslab Theme
Theme URI: https://hropslab.com
Author: hropslab
Author URI: https://hropslab.com
Description: Custom WordPress theme for hropslab — a leadership and HR community platform helping executives and people leaders build AI-enabled, human-centered organizations. Built with SEO, performance, and conversion in mind.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hropslab
Tags: custom-menu, custom-logo, featured-images, theme-options, translation-ready, blog, education
*/

/* ============================================
   CSS CUSTOM PROPERTIES (Brand Tokens)
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary: #1B2A4A;
    --color-primary-light: #2C3E6B;
    --color-secondary: #00B4D8;
    --color-accent: #C04B23;
    --color-accent-hover: #A03D1A;
    --color-coral: #FF7F6B;
    --color-teal: #0096B7;
    --color-teal-dark: #007A96;
    --color-navy: #0F1C3F;
    --color-navy-light: #1B2A4A;

    /* Text */
    --color-text: #2D3748;
    --color-text-light: #718096;
    --color-text-muted: #A0AEC0;
    --color-text-inverse: #FFFFFF;
    --color-heading: #1A202C;

    /* Backgrounds */
    --color-bg: #F9F7F2;
    --color-bg-alt: #FDFBF7;
    --color-bg-light: #EDF2F7;
    --color-bg-dark: #1B2A4A;
    --color-bg-darker: #0F1C3F;
    --color-bg-card: #FFFFFF;

    /* Borders */
    --color-border: #E2E8F0;
    --color-border-light: #EDF2F7;

    /* Status */
    --color-success: #38A169;
    --color-warning: #ECC94B;
    --color-error: #E53E3E;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes (Fluid) */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --text-base: clamp(0.938rem, 0.9rem + 0.2vw, 1rem);
    --text-lg: clamp(1.063rem, 1rem + 0.35vw, 1.175rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 1.875rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
    --text-5xl: clamp(2.75rem, 2rem + 3.75vw, 3.75rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(3.5rem, 3rem + 4vw, 6rem);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-wide: 1340px;
    --container-padding: clamp(1rem, 0.5rem + 2.5vw, 2rem);
    --sidebar-width: 300px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-teal-dark);
}

ul,
ol {
    list-style: none;
}

/* Custom Text Selection */
::selection {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

::-moz-selection {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-heading);
}

h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

p {
    margin-bottom: var(--space-lg);
}

.section-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    margin-bottom: var(--space-sm);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-inline: var(--container-padding);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding-block: var(--space-section);
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-text-inverse);
}

.section--darker {
    background-color: var(--color-bg-darker);
    color: var(--color-text-inverse);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--color-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    clip: auto;
    clip-path: none;
    color: var(--color-text);
    display: block;
    font-size: var(--text-base);
    height: auto;
    left: 5px;
    line-height: normal;
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: var(--z-toast);
}

.skip-link {
    z-index: calc(var(--z-toast) + 1);
}

:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    padding: 0.85rem 2.25rem;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.btn--primary:hover {
    background-color: var(--color-accent);
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #FFFFFF;
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn--secondary:hover {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    border-color: var(--color-accent);
}

.btn--accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-text-inverse);
}

.btn--dark {
    background-color: var(--color-navy);
    color: var(--color-text-inverse);
    border-color: var(--color-navy);
}

.btn--dark:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-text-inverse);
}

.btn--white {
    background-color: var(--color-bg);
    color: var(--color-primary);
    border-color: var(--color-bg);
}

.btn--white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: var(--text-base);
}

.btn--linkedin {
    background-color: #0A66C2;
    color: #fff;
    border-color: #0A66C2;
}

.btn--linkedin:hover {
    background-color: #004182;
    border-color: #004182;
    color: #fff;
}

/* ============================================
   UTILITY BAR (Top Bar)
   ============================================ */
.utility-bar {
    background-color: #fff;
    color: var(--color-text);
    font-size: 13px;
    padding: 2px 0;
    border-bottom: 1px solid #eee;
}



.utility-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-xl);
    max-width: 100%;
    padding-inline: 40px;
}

.utility-bar__links {
    display: flex;
    gap: var(--space-lg);
}

.utility-bar__links a {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
}

.utility-bar__links a:hover {
    color: var(--color-accent);
}

.utility-bar__social {
    display: flex;
    gap: var(--space-md);
    margin-left: var(--space-lg);
}

.utility-bar__social a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.utility-bar__social a:hover {
    color: var(--color-accent);
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    margin-bottom: 0;
}

.site-header.is-sticky {
    box-shadow: var(--shadow-md);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-block: 4px;
    padding-inline: 40px;
    max-width: 100%;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
}

.site-header__logo img {
    max-height: 80px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.site-header__tagline {
    font-size: 11px;
    font-weight: 500;
    color: #4a4a4a;
    line-height: 1.2;
    max-width: 110px;
    border-left: 1px solid #ddd;
    padding-left: 1.5rem;
    text-transform: none;
}

/* Main Navigation */
.site-header__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 2rem;
}

.main-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.main-nav>li {
    position: relative;
}

.main-nav>li>a {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    padding: 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--transition-fast);
    position: relative;
}

.main-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.main-nav>li:hover>a,
.main-nav>li.is-open>a {
    color: var(--color-accent);
}

.main-nav>li:hover>a .chevron-down,
.main-nav>li.is-open>a .chevron-down {
    transform: rotate(180deg);
}

.main-nav>li>a .chevron-down {
    transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.main-nav>li:hover>a::after,
.main-nav>li.is-open>a::after,
.main-nav>li.current-menu-item>a::after,
.main-nav>li.current-page-ancestor>a::after {
    transform: scaleX(1);
}

.main-nav>li>a:hover,
.main-nav>li.current-menu-item>a {
    color: var(--color-accent);
}

.main-nav>li>a .nav-arrow {
    font-size: 0.6rem;
    transition: transform var(--transition-fast);
}

.main-nav>li:hover>a .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.main-nav>li.is-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--color-text);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.sub-menu li a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-accent);
}

.header-cta {
    margin-left: 0.5rem;
}

/* Search */
.header-search {
    position: relative;
}

.header-search__toggle {
    background-color: #C04B23;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-fast);
}

.header-search__toggle:hover {
    background-color: #A03D1A;
    color: #fff;
}

.header-search__form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: var(--z-dropdown);
}

.header-search__form.is-active {
    display: block;
}

.header-search__input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}

.header-search__input:focus {
    border-color: var(--color-teal);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-base);
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .site-header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-3xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        overflow-y: auto;
        z-index: var(--z-modal);
    }

    .site-header__nav.is-open {
        right: 0;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav>li>a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--color-border-light);
        width: 100%;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: var(--space-lg);
    }

    .header-cta {
        margin-left: 0;
        margin-top: var(--space-lg);
        width: 100%;
    }

    .header-cta .btn {
        width: 100%;
        text-align: center;
    }

    .utility-bar {
        display: none;
    }
}

/* Mobile overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero {
    background: #000000;
    color: var(--color-text-inverse);
    padding: var(--space-2xl) 0 var(--space-4xl);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0, 180, 216, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content h1 {
    color: var(--color-text-inverse);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.hero__content p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
}

.hero__signup {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(8px);
    max-width: 440px;
}

.hero__signup .btn--linkedin {
    width: 100%;
    margin-bottom: var(--space-md);
}

.hero__signup-divider {
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin: var(--space-md) 0;
    position: relative;
}

.hero__signup-divider::before,
.hero__signup-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 2rem);
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.hero__signup-divider::before {
    left: 0;
}

.hero__signup-divider::after {
    right: 0;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content p {
        max-width: 100%;
    }

    .hero__image {
        display: none;
    }

    .hero__signup {
        max-width: 100%;
    }
}

/* ============================================
   TRENDING SECTION
   ============================================ */
.trending {
    padding: var(--space-section) 0;
}

.trending__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.trending__header h2 {
    margin-bottom: 0;
    position: relative;
    padding-left: 1rem;
}

.trending__header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-teal);
    border-radius: var(--radius-full);
}

.trending__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.trending__featured {
    grid-row: span 2;
}

.trending__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .trending__grid {
        grid-template-columns: 1fr;
    }

    .trending__featured {
        grid-row: span 1;
    }
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.hero-grid {
    display: grid;
    grid-template-columns: 280px 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    margin-bottom: var(--space-4xl);
}

.hero-grid__doing {
    background: #F9F7F2;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    height: 100%;
}

.column-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.doing-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.doing-item h3 {
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
}

.doing-item h3 a {
    color: var(--color-heading);
    text-decoration: none;
}

.doing-item h3 a:hover {
    color: var(--color-accent);
}

.article-card--hero-main .article-card__title {
    font-size: 1.85rem;
    margin-top: var(--space-lg);
}

.article-card--hero-side .article-card__title {
    font-size: 1.35rem;
    margin-top: var(--space-lg);
}

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 240px 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid__doing {
        height: auto;
    }
}

/* Base Card Styles */
.article-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.article-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-card__image img {
    transform: scale(1.04);
}

.article-card__image--square {
    aspect-ratio: 1;
}

.article-card__category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-teal);
    color: var(--color-text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: var(--space-sm);
}

.article-card__title a {
    color: var(--color-heading);
    transition: color var(--transition-fast);
}

.article-card__title a:hover {
    color: var(--color-teal);
}

.article-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex: 1;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: auto;
}

.article-card__author-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
}

.article-card__author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured card (large) */
.article-card--featured .article-card__image {
    aspect-ratio: 1;
}

.article-card--featured .article-card__title {
    font-size: var(--text-2xl);
}

.article-card--featured .article-card__excerpt {
    font-size: var(--text-base);
    line-clamp: 4;
    -webkit-line-clamp: 4;
}

/* Horizontal card */
.article-card--horizontal {
    flex-direction: row;
}

.article-card--horizontal .article-card__image {
    width: 180px;
    min-width: 180px;
    aspect-ratio: auto;
}

.article-card--horizontal .article-card__image img {
    height: 100%;
}

.article-card--horizontal .article-card__body {
    padding: var(--space-md) var(--space-lg);
}

.article-card--horizontal .article-card__title {
    font-size: var(--text-base);
}

@media (max-width: 640px) {
    .article-card--horizontal {
        flex-direction: column;
    }

    .article-card--horizontal .article-card__image {
        width: 100%;
        aspect-ratio: 16/9;
    }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: #000000;
    background-image: radial-gradient(circle at 100% 0%, rgba(192, 75, 35, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(20, 150, 160, 0.2) 0%, transparent 50%);
    color: #FFFFFF;
    padding: var(--space-4xl);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-4xl);
    margin: var(--space-3xl) 0;
    overflow: hidden;
    position: relative;
}

.cta-banner__content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    color: #FFFFFF;
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.cta-banner p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin-bottom: var(--space-2xl);
}

.cta-banner__visual {
    flex: 1;
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-3xl) var(--space-xl);
    }

    .cta-banner__content {
        text-align: center;
    }

    .cta-banner p {
        margin-inline: auto;
    }
}

.roadmap-preview {
    position: relative;
    width: 320px;
    height: 240px;
}

.roadmap-card {
    position: absolute;
    width: 220px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.roadmap-card::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.roadmap-card--1 {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
    z-index: 1;
}

.roadmap-card--2 {
    top: 30px;
    left: 50px;
    transform: rotate(-2deg);
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
}

.roadmap-card--3 {
    top: 70px;
    left: 90px;
    transform: rotate(2deg);
    z-index: 3;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   TOPIC TAGS
   ============================================ */
.topic-tags {
    padding: var(--space-2xl) 0;
}

.topic-tags h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.topic-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.topic-tag {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: #FFFFFF;
    color: var(--color-text);
    border: 1px solid #D04F2D;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.topic-tag:hover {
    background: #D04F2D;
    color: #FFFFFF;
    border-color: #D04F2D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 79, 45, 0.2);
}

/* ============================================
   PODCAST SECTION
   ============================================ */
.podcast-section {
    background: var(--color-bg-alt);
    padding: var(--space-section) 0;
}

.podcast-section__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.podcast-section__info h2 {
    font-size: var(--text-3xl);
}

.podcast-section__info p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

.podcast-section__links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.podcast-section__image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.podcast-section__episodes h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xl);
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 992px) {
    .podcast-section__header {
        grid-template-columns: 1fr;
    }

    .podcast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .podcast-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EXPERTS / CONTRIBUTORS SECTION
   ============================================ */
.experts-section {
    padding: var(--space-section) 0;
}

.experts-section h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.experts-section__subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--space-3xl);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.expert-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.expert-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-teal);
}

.expert-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto var(--space-md);
    border: 3px solid var(--color-bg-alt);
}

.expert-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-card__name {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: var(--space-xs);
}

.expert-card__bio {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.55;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expert-card__link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-teal);
}

.expert-card__link:hover {
    color: var(--color-teal-dark);
}

@media (max-width: 992px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .experts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HR TOOLS / SOFTWARE SECTION
   ============================================ */
.tools-section {
    background: var(--color-bg-alt);
    padding: var(--space-section) 0;
}

.tools-section h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.tools-section__subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.tools-grid a {
    padding: 0.6rem 1rem;
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.tools-grid a:hover {
    background: var(--color-bg);
    color: var(--color-teal);
}

.featured-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.featured-tool-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.featured-tool-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-teal);
}

.featured-tool-card__logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.featured-tool-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-tool-card__info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.15rem;
}

.featured-tool-card__rating {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.featured-tool-card__rating .stars {
    color: #F6AD55;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .featured-tools {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EDITORS CHOICE / ARTICLES GRID
   ============================================ */
.articles-section {
    padding: var(--space-section) 0;
}

.articles-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.articles-section__header h2 {
    margin-bottom: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.articles-grid--two-col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   COMMUNITY CTA SECTION
   ============================================ */
.community-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal-dark) 100%);
    color: var(--color-text-inverse);
    padding: var(--space-section) 0;
    text-align: center;
}

.community-cta h2 {
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.community-cta p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
}

/* ============================================
   BROWSE TOPICS SECTION
   ============================================ */
.browse-topics {
    padding: var(--space-section) 0;
    background: var(--color-bg-alt);
}

.browse-topics h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.browse-topics__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.browse-topics__column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.browse-topics__column ul li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-fast);
}

.browse-topics__column ul li a:hover {
    color: var(--color-teal);
    padding-left: 0.5rem;
}

@media (max-width: 768px) {
    .browse-topics__columns {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SIGNUP FORM SECTION
   ============================================ */
.signup-section {
    background: var(--color-bg-darker);
    color: var(--color-text-inverse);
    padding: var(--space-section) 0;
}

.signup-section h2 {
    color: var(--color-text-inverse);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.signup-form {
    max-width: 600px;
    margin-inline: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: var(--space-md);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select {
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-teal);
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    background: var(--color-bg-darker);
    color: var(--color-text-inverse);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-darker);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__logo img {
    max-height: 40px;
    opacity: 0.8;
}

.site-footer__social {
    display: flex;
    gap: var(--space-md);
}

.site-footer__social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.15rem;
    transition: color var(--transition-fast);
}

.site-footer__social a:hover {
    color: var(--color-secondary);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.site-footer__nav a:hover {
    color: var(--color-text-inverse);
}

.site-footer__bottom {
    text-align: center;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .site-footer__top {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .site-footer__nav {
        justify-content: center;
    }
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--color-bg-alt);
}

.single-post-header .container {
    max-width: var(--container-narrow);
}

.single-post-header__category {
    display: inline-block;
    background: var(--color-teal);
    color: var(--color-text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-lg);
}

.single-post-header h1 {
    font-size: var(--text-4xl);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.single-post-header__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.single-post-header__meta img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.single-post-content {
    padding: var(--space-3xl) 0;
}

.single-post-content .container {
    max-width: var(--container-narrow);
}

.single-post-content h2 {
    margin-top: var(--space-2xl);
}

.single-post-content h3 {
    margin-top: var(--space-xl);
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 1.5rem;
    margin-bottom: var(--space-lg);
}

.single-post-content ul li,
.single-post-content ol li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.single-post-content ul li {
    list-style: disc;
}

.single-post-content ol li {
    list-style: decimal;
}

.single-post-content blockquote {
    border-left: 4px solid var(--color-teal);
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-xl) 0;
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text);
}

/* ============================================
   ARCHIVE / BLOG LISTING
   ============================================ */
.archive-header {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0 var(--space-xl);
    text-align: center;
}

.archive-header h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
}

.archive-header p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 520px;
    margin-inline: auto;
}

.archive-content {
    padding: var(--space-section) 0;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background: var(--color-teal);
    color: var(--color-text-inverse);
    border-color: var(--color-teal);
}

.pagination .current {
    background: var(--color-teal);
    color: var(--color-text-inverse);
    border-color: var(--color-teal);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.sidebar-widget {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.sidebar-widget__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-teal);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: var(--space-4xl) 0;
}

.error-404 h1 {
    font-size: clamp(5rem, 10vw, 10rem);
    color: var(--color-bg-alt);
    line-height: 1;
    margin-bottom: var(--space-lg);
}

.error-404 h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

.error-404 p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-results-header {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0 var(--space-xl);
    text-align: center;
}

.search-results-header h1 {
    font-size: var(--text-3xl);
}

.search-results-header h1 span {
    color: var(--color-teal);
}

/* ============================================
   ANIMATE IN
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ADMIN-DRIVEN UI EXTENSIONS
   ============================================ */
.popular-links-bar {
    background: var(--color-bg-alt);
    border-bottom: 1px solid rgba(15, 28, 63, 0.08);
}

.popular-links-bar__inner {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding: 0.85rem 0;
    overflow-x: auto;
}

.popular-links-bar__label {
    flex: 0 0 auto;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.popular-links-bar__items {
    display: flex;
    gap: var(--space-lg);
    white-space: nowrap;
}

.popular-links-bar__items a {
    color: var(--color-text);
    font-weight: 600;
}

.hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
    gap: var(--space-2xl);
    align-items: center;
}

.hero__panel {
    display: grid;
    gap: var(--space-lg);
}

.hero-signup-card {
    background: #fff;
    border: 1px solid rgba(15, 28, 63, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(15, 28, 63, 0.12);
    padding: var(--space-xl);
}

.hero-signup-card__eyebrow {
    display: inline-block;
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-signup-card h2 {
    margin-bottom: var(--space-sm);
}

.hero-signup-card p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.hero-signup-card__form {
    display: grid;
    gap: var(--space-sm);
}

.hero-signup-card__form input {
    width: 100%;
    border: 1px solid rgba(15, 28, 63, 0.12);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
}

.form-feedback {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font-size: var(--text-sm);
    font-weight: 600;
}

.form-feedback--success {
    background: rgba(0, 180, 216, 0.12);
    color: var(--color-primary);
}

.form-feedback--error {
    background: rgba(192, 75, 35, 0.12);
    color: var(--color-accent);
}

.site-footer__brand {
    max-width: 520px;
}

.site-footer__description {
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.site-footer__brands {
    display: grid;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brands-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__brands-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.site-footer__brands-links a {
    color: #fff;
}

.landing-hero {
    padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(circle at top right, rgba(0, 180, 216, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(27, 42, 74, 0.04), transparent);
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
    gap: var(--space-2xl);
    align-items: start;
}

.landing-hero__eyebrow {
    display: inline-flex;
    margin-bottom: var(--space-md);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-hero__subtitle,
.landing-hero__intro,
.signup-section__intro,
.page-intro {
    color: var(--color-text-light);
    font-size: var(--text-lg);
}

.landing-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.landing-hero__panel {
    display: grid;
    gap: var(--space-lg);
}

.landing-hero__image img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: auto;
}

.landing-hero__card {
    background: #fff;
    border: 1px solid rgba(15, 28, 63, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 20px 48px rgba(15, 28, 63, 0.08);
}

.landing-hero__card ul {
    margin: var(--space-md) 0 0;
    padding-left: 1.1rem;
}

.landing-hero__card li+li {
    margin-top: 0.5rem;
}

.signup-form form {
    display: grid;
    gap: var(--space-md);
}

@media (max-width: 1024px) {

    .hero__layout,
    .landing-hero__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .popular-links-bar__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .popular-links-bar__items {
        gap: var(--space-md);
    }
}

/* ============================================
   EDITORIAL BLOG EXPERIENCE
   ============================================ */
.search-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-form__input {
    flex: 1;
}

.search-form__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.search-form__button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.header-search__form .search-form {
    align-items: stretch;
}

.editorial-hero,
.story-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 127, 107, 0.22), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0, 150, 183, 0.18), transparent 30%),
        linear-gradient(135deg, #091121 0%, #112444 52%, #17335c 100%);
    color: #fff;
}

.editorial-hero::before,
.story-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.18;
    pointer-events: none;
}

.editorial-hero__grid,
.story-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.98fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.editorial-kicker,
.editorial-panel__label,
.story-hero__eyebrow,
.story-facts,
.story-author__content .editorial-panel__label {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.editorial-kicker,
.story-hero__eyebrow,
.editorial-panel__label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: var(--text-xs);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.editorial-kicker::before,
.editorial-panel__label::before {
    content: '';
    width: 2.2rem;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.editorial-hero__content h1,
.story-hero__content h1 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.editorial-hero__content p,
.story-hero__deck {
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 0.95rem + 0.35vw, 1.18rem);
}

.editorial-hero__stats,
.story-meta-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: var(--space-xl);
}

.editorial-stat,
.story-meta-board__item {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.editorial-stat__value,
.story-meta-board__item strong {
    display: block;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
    line-height: 1;
}

.editorial-stat__label,
.story-meta-board__item span {
    display: block;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-xs);
}

.editorial-hero__search,
.editorial-hero__actions,
.story-hero__actions {
    margin-top: var(--space-xl);
}

.editorial-hero__search {
    max-width: 34rem;
}

.editorial-hero__search .search-form {
    align-items: stretch;
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
}

.editorial-hero__search .search-form__input {
    border: 0;
    background: transparent;
    color: #fff;
}

.editorial-hero__search .search-form__input::placeholder {
    color: rgba(255, 255, 255, 0.56);
}

.editorial-hero__search .search-form__input:focus {
    border-color: transparent;
}

.editorial-hero__actions,
.story-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.featured-story {
    display: grid;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(2, 10, 26, 0.35);
}

.featured-story__visual,
.story-hero__visual {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.featured-story__visual img,
.story-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-story__visual::after,
.story-hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 11, 24, 0.2) 100%);
}

.featured-story__visual--placeholder,
.story-hero__placeholder {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 127, 107, 0.6), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.55), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.featured-story__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: clamp(1.5rem, 2vw, 2rem);
}

.featured-story__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-story__eyebrow a,
.story-hero__category {
    color: #fff;
}

.featured-story__title,
.story-feed__header h2,
.story-author__content h2 {
    margin: 0;
    font-family: var(--font-display);
}

.featured-story__title {
    font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.8rem);
    line-height: 1.05;
}

.featured-story__title a {
    color: #fff;
}

.featured-story__excerpt {
    color: rgba(255, 255, 255, 0.74);
    font-size: var(--text-base);
    line-height: 1.7;
}

.featured-story__footer,
.story-strip__footer,
.story-author {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    align-items: center;
}

.featured-story__author,
.story-hero__author,
.story-strip__author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.featured-story__author-avatar,
.story-hero__author-avatar,
.story-strip__author-avatar,
.story-author__avatar {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-story__author-avatar img,
.story-hero__author-avatar img,
.story-strip__author-avatar img,
.story-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-story__author-name,
.story-hero__author-name,
.story-strip__author-name {
    display: block;
    color: #fff;
    font-weight: 700;
}

.featured-story__author time,
.story-hero__author a,
.story-strip__author-name {
    font-size: var(--text-sm);
}

.featured-story__author time,
.story-hero__author a {
    color: rgba(255, 255, 255, 0.72);
}

.featured-story__cta,
.story-strip__cta,
.story-author__link,
.story-share a,
.story-nav__item {
    transition: transform var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.featured-story__cta,
.story-strip__cta,
.story-share a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    font-weight: 700;
}

.featured-story__cta::after,
.story-strip__cta::after,
.story-author__link::after {
    content: '\2192';
    transition: transform var(--transition-fast);
}

.featured-story__cta:hover::after,
.story-strip__cta:hover::after,
.story-author__link:hover::after {
    transform: translateX(4px);
}

.featured-story--empty {
    align-items: stretch;
    justify-content: center;
}

.editorial-hub {
    background:
        linear-gradient(180deg, rgba(9, 17, 33, 0.03), transparent 8rem),
        #f7f4ee;
}

.editorial-hub__grid,
.story-shell__grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 3vw, 3.5rem);
    align-items: start;
}

.editorial-sidebar,
.story-tools {
    display: grid;
    gap: 1.5rem;
}

.editorial-panel,
.story-tools__block,
.story-author,
.story-nav__item {
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 28, 63, 0.08);
    background: rgba(255, 255, 255, 0.76);
    padding: clamp(1.25rem, 1rem + 1vw, 1.7rem);
    box-shadow: 0 18px 40px rgba(15, 28, 63, 0.06);
}

.editorial-panel .editorial-panel__label,
.story-tools__block .editorial-panel__label,
.story-feed__header .editorial-panel__label,
.story-author__content .editorial-panel__label {
    color: var(--color-teal-dark);
}

.editorial-panel h2,
.story-feed__header h2,
.story-author__content h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    line-height: 1.08;
}

.editorial-panel p,
.story-feed__header p,
.story-author__content p {
    color: var(--color-text-light);
}

.editorial-panel--accent {
    background: linear-gradient(180deg, rgba(9, 17, 33, 0.96), rgba(17, 36, 68, 0.96));
    border-color: rgba(255, 255, 255, 0.08);
}

.editorial-panel--accent h2,
.editorial-panel--accent p,
.editorial-panel--accent .editorial-panel__label {
    color: #fff;
}

.topic-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--space-lg);
}

.topic-cluster--left {
    justify-content: flex-start;
}

.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(9, 17, 33, 0.04);
    border: 1px solid rgba(15, 28, 63, 0.08);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 700;
}

.topic-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-text-light);
    font-size: 0.72rem;
}

.topic-pill:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 28, 63, 0.08);
}

.story-feed {
    min-width: 0;
}

.story-feed__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: var(--space-lg);
    align-items: end;
    margin-bottom: var(--space-2xl);
}

.story-feed__header p {
    margin: 0;
}

.story-feed__list {
    display: grid;
    gap: 1rem;
}

.story-feed__list--compact {
    gap: 0.9rem;
}

.story-strip {
    display: grid;
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: clamp(1.1rem, 2vw, 2rem);
    align-items: stretch;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(15, 28, 63, 0.1);
}

.story-strip:first-child {
    border-top: 0;
    padding-top: 0;
}

.story-strip__visual {
    display: block;
    overflow: hidden;
    border-radius: 1.35rem;
    min-height: 180px;
}

.story-strip__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.story-strip:hover .story-strip__visual img {
    transform: scale(1.04);
}

.story-strip__content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.story-strip__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.story-strip__category,
.story-strip__detail {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-strip__category {
    color: var(--color-teal-dark);
}

.story-strip__detail {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text-muted);
}

.story-strip__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.12rem + 0.8vw, 1.9rem);
    line-height: 1.08;
}

.story-strip__title a {
    color: var(--color-heading);
}

.story-strip__excerpt {
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 62ch;
}

.story-strip__footer {
    margin-top: auto;
    padding-top: 0.6rem;
}

.story-strip__author-name {
    color: var(--color-heading);
}

.story-strip__cta {
    color: var(--color-primary);
}

.story-strip--compact {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
}

.story-feed__empty {
    padding: 2rem 0;
}

.story-feed__empty h2 {
    font-family: var(--font-display);
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #ff7f6b, #00b4d8);
}

.story-hero__eyebrow {
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
}

.story-hero__category {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.story-hero__author {
    margin-top: var(--space-xl);
}

.story-hero__visual,
.story-hero__placeholder {
    min-height: clamp(320px, 46vw, 620px);
    border-radius: 2rem;
    overflow: hidden;
}

.story-hero__placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.story-shell {
    padding: clamp(2.5rem, 5vw, 5rem) 0;
    background: linear-gradient(180deg, #fff 0%, #f7f4ee 100%);
}

.story-tools {
    position: sticky;
    top: calc(86px + 1.5rem);
}

.story-facts {
    display: grid;
    gap: 0.8rem;
    margin: var(--space-md) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-text);
}

.story-toc {
    display: grid;
    gap: 0.55rem;
    margin-top: var(--space-md);
}

.story-toc__link {
    padding-left: 0.95rem;
    border-left: 2px solid rgba(15, 28, 63, 0.1);
    color: var(--color-text-light);
    line-height: 1.5;
}

.story-toc__link--h3 {
    margin-left: 0.8rem;
    font-size: var(--text-sm);
}

.story-toc__link:hover,
.story-toc__link.is-active {
    border-left-color: var(--color-accent);
    color: var(--color-primary);
}

.story-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: var(--space-md);
}

.story-share a {
    color: var(--color-primary);
}

.story-article {
    min-width: 0;
    padding: clamp(1.4rem, 1rem + 1vw, 2rem);
    border-radius: 1.8rem;
    background: #fff;
    box-shadow: 0 26px 50px rgba(15, 28, 63, 0.07);
}

.story-article__body {
    color: var(--color-text);
    font-size: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
    line-height: 1.85;
}

.story-article__body> :first-child {
    margin-top: 0;
}

.story-article__body> :last-child {
    margin-bottom: 0;
}

.story-article__body p,
.story-article__body ul,
.story-article__body ol,
.story-article__body blockquote,
.story-article__body figure {
    margin-bottom: 1.35rem;
}

.story-article__body h2,
.story-article__body h3,
.story-article__body h4 {
    margin-top: 2.4rem;
    margin-bottom: 0.9rem;
    scroll-margin-top: 7rem;
    font-family: var(--font-display);
    line-height: 1.1;
}

.story-article__body h2 {
    font-size: clamp(1.9rem, 1.55rem + 1vw, 2.7rem);
}

.story-article__body h3 {
    font-size: clamp(1.45rem, 1.28rem + 0.55vw, 1.85rem);
}

.story-article__body a {
    color: var(--color-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.14em;
}

.story-article__body blockquote {
    margin-left: 0;
    padding: 1.25rem 1.4rem;
    border-left: 3px solid var(--color-accent);
    border-radius: 0 1rem 1rem 0;
    background: #f6efe7;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.55rem);
    line-height: 1.35;
}

.story-article__body img {
    border-radius: 1.5rem;
}

.story-article__body ul,
.story-article__body ol {
    padding-left: 1.4rem;
}

.story-tags {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(15, 28, 63, 0.08);
}

.story-author-section,
.story-nav-section,
.story-related {
    background: #f7f4ee;
}

.story-author-section {
    padding: 0 0 var(--space-section);
}

.story-author {
    align-items: flex-start;
}

.story-author__avatar {
    width: 5.5rem;
    height: 5.5rem;
}

.story-author__content {
    display: grid;
    gap: 0.7rem;
}

.story-author__link {
    color: var(--color-primary);
    font-weight: 700;
}

.story-nav-section {
    padding-bottom: var(--space-section);
}

.story-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.story-nav__item {
    display: grid;
    gap: 0.65rem;
    color: var(--color-primary);
}

.story-nav__item:hover {
    transform: translateY(-2px);
}

.story-nav__item strong {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.55rem);
    line-height: 1.12;
}

.story-nav__item--next {
    text-align: right;
}

.story-related {
    padding-top: 0;
}

@media (max-width: 1180px) {

    .editorial-hero__grid,
    .story-hero__grid,
    .editorial-hub__grid,
    .story-shell__grid,
    .story-feed__header {
        grid-template-columns: 1fr;
    }

    .story-tools {
        position: static;
    }
}

@media (max-width: 820px) {

    .editorial-hero__stats,
    .story-meta-board,
    .story-nav {
        grid-template-columns: 1fr;
    }

    .featured-story__footer,
    .story-strip__footer,
    .story-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .story-strip,
    .story-strip--compact {
        grid-template-columns: 1fr;
    }

    .story-strip__visual {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .search-form {
        flex-direction: column;
    }

    .search-form__button {
        width: 100%;
    }

    .editorial-hero__search .search-form {
        border-radius: 1.5rem;
    }

    .story-article,
    .editorial-panel,
    .story-tools__block,
    .story-author,
    .story-nav__item,
    .featured-story {
        border-radius: 1.25rem;
    }
}

/* ============================================
   2026 SAAS UI REDESIGN
   ============================================ */
html:root {
    --color-primary: #4F46E5;
    --color-primary-light: #6366F1;
    --color-secondary: #22C55E;
    --color-accent: #22C55E;
    --color-accent-hover: #16A34A;
    --color-coral: #6366F1;
    --color-teal: #4F46E5;
    --color-teal-dark: #4338CA;
    --color-navy: #111827;
    --color-navy-light: #1F2937;
    --color-text: #111827;
    --color-text-light: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-text-inverse: #FFFFFF;
    --color-heading: #111827;
    --color-bg: #F9FAFB;
    --color-bg-alt: #FFFFFF;
    --color-bg-light: #F3F4F6;
    --color-bg-dark: #111827;
    --color-bg-darker: #030712;
    --color-bg-card: #FFFFFF;
    --color-border: #E5E7EB;
    --color-border-light: #EEF2F7;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.75rem;
    --text-4xl: 2rem;
    --text-5xl: 2.5rem;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-section: clamp(3.5rem, 6vw, 5.5rem);
    --container-max: 1200px;
    --container-wide: 1200px;
    --container-narrow: 820px;
    --container-padding: clamp(1rem, 2vw, 1.5rem);
    --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 24px 48px rgba(17, 24, 39, 0.08);
    --shadow-xl: 0 32px 80px rgba(79, 70, 229, 0.12);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-card-hover: 0 20px 38px rgba(17, 24, 39, 0.1);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --transition-fast: 0.3s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.3s ease;
}

body {
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.08), transparent 26%),
        linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
    color: var(--color-text);
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.08;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--color-teal-dark);
}

.container,
.container--wide {
    max-width: 1200px;
}

.section {
    padding-block: var(--space-section);
}

.section--alt {
    background: var(--color-bg-alt);
}

.section+.section {
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-label::before {
    content: '';
    width: 1.75rem;
    height: 1px;
    background: rgba(79, 70, 229, 0.35);
}

.btn {
    min-height: 44px;
    padding: 0.85rem 1.35rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    border: 0;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #4338CA, #4F46E5);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 16px 28px rgba(79, 70, 229, 0.28);
}

.btn--secondary,
.btn--white {
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover,
.btn--white:hover {
    border-color: #C7D2FE;
    background: #FFFFFF;
    color: var(--color-primary);
}

.btn--accent,
.btn--dark {
    border: 0;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
}

.btn--accent:hover,
.btn--dark:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #16A34A, #15803D);
    border-color: transparent;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="password"],
select,
textarea,
.header-search__input {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
    color: #111827;
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
}

input:focus,
select:focus,
textarea:focus,
.header-search__input:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.search-form {
    gap: 0.75rem;
}

.search-form__button {
    min-width: 110px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.utility-bar {
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.utility-bar .container {
    justify-content: space-between;
    gap: 1rem;
    padding-inline: var(--container-padding);
}

.utility-bar__links,
.utility-bar__social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.utility-bar a {
    color: var(--color-text-light);
    font-size: 0.8125rem;
    font-weight: 500;
}

.utility-bar a:hover {
    color: var(--color-primary);
}

.popular-links-bar {
    border-bottom: 1px solid rgba(199, 210, 254, 0.9);
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.07), rgba(255, 255, 255, 0.9));
}

.popular-links-bar__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 0.9rem;
}

.popular-links-bar__label {
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.popular-links-bar__items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.popular-links-bar__items a {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    border-bottom: 1px solid rgba(229, 231, 235, 0.75);
    background: rgba(249, 250, 251, 0.86);
    backdrop-filter: blur(18px);
}

.site-header.is-sticky {
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
}

.site-header .container {
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.95rem;
    padding-inline: var(--container-padding);
}

.site-header__brand {
    gap: 1rem;
}

.site-header__tagline {
    max-width: 240px;
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.45;
}

.site-header__logo img {
    max-height: 42px;
    width: auto;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav>li>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
}

.main-nav>li>a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.main-nav>li:hover>a,
.main-nav>li.current-menu-item>a,
.main-nav>li.current-menu-ancestor>a {
    color: var(--color-primary);
}

.main-nav>li:hover>a::after,
.main-nav>li.current-menu-item>a::after,
.main-nav>li.current-menu-ancestor>a::after,
.main-nav>li.is-open>a::after {
    transform: scaleX(1);
}

.sub-menu {
    min-width: 240px;
    padding: 0.75rem;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-card);
}

.sub-menu li+li {
    margin-top: 0.25rem;
}

.sub-menu a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.sub-menu a:hover {
    background: rgba(79, 70, 229, 0.06);
    color: var(--color-primary);
}

.header-cta {
    display: flex;
    align-items: center;
}

.header-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.header-search__toggle:hover {
    color: var(--color-primary);
    border-color: #C7D2FE;
}

.header-search__form {
    top: calc(100% + 0.75rem);
    width: min(380px, calc(100vw - 2rem));
    padding: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
}

.header-search__form .search-form {
    align-items: stretch;
}

.hero {
    margin-top: 0;
    padding: clamp(4rem, 9vw, 6rem) 0;
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.1), transparent 24%),
        linear-gradient(180deg, #F5F7FF 0%, #F9FAFB 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0), rgba(249, 250, 251, 1));
    pointer-events: none;
}

.hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 2rem;
    align-items: center;
}

.hero__content {
    max-width: 580px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid #C7D2FE;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: #4338CA;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__content h1 {
    max-width: 12ch;
    margin: 1rem 0 1.25rem;
}

.hero__content p {
    max-width: 58ch;
    margin-bottom: 1rem;
}

.hero__supporting {
    margin-bottom: 0;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero__stat {
    padding: 1rem 1.125rem;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.hero__stat strong {
    display: block;
    color: var(--color-heading);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero__stat span {
    display: block;
    margin-top: 0.4rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.hero__panel {
    display: grid;
    gap: 1.5rem;
}

.hero__image,
.hero-signup-card,
.cta-banner,
.article-card,
.expert-card,
.editorial-panel,
.story-tools__block,
.story-article,
.story-author,
.story-nav__item,
.featured-story,
.browse-topics__column,
.tools-grid a,
.topic-pill,
.sidebar-widget,
.podcast-section__image,
.search-results-header,
.archive-header {
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: #FFFFFF;
    box-shadow: var(--shadow-card);
}

.hero__image,
.hero-signup-card,
.cta-banner,
.article-card,
.expert-card,
.editorial-panel,
.story-tools__block,
.story-article,
.story-author,
.story-nav__item,
.featured-story,
.browse-topics__column,
.tools-grid a,
.podcast-section__image,
.sidebar-widget {
    border-radius: 16px;
}

.hero__image {
    padding: 0.75rem;
}

.hero__image img,
.hero__placeholder {
    width: 100%;
    aspect-ratio: 1.04;
    border-radius: 12px;
    object-fit: cover;
}

.hero__placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(34, 197, 94, 0.12));
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
}

.hero-signup-card {
    padding: 1.5rem;
}

.hero-signup-card__eyebrow {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803D;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-signup-card h2 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.hero-signup-card__form {
    display: grid;
    gap: 0.875rem;
}

.hero-signup-card__form .btn {
    width: 100%;
}

.trending,
.podcast-section,
.articles-section,
.experts-section,
.browse-topics,
.story-related {
    background: transparent;
}

.trending__header,
.articles-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trending__header h2,
.articles-section__header h2,
.browse-topics h2,
.tools-section h2,
.experts-section h2,
.podcast-section h2,
.signup-section h2,
.topic-tags h2 {
    margin-bottom: 0.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hero-grid__doing {
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-card);
}

.column-label {
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.doing-list {
    margin-top: 1rem;
}

.doing-item+.doing-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.doing-item h3 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.article-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover,
.expert-card:hover,
.tools-grid a:hover,
.topic-pill:hover,
.browse-topics__column:hover,
.story-nav__item:hover,
.editorial-panel:hover,
.sidebar-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(79, 70, 229, 0.16);
}

.article-card__image {
    background: var(--color-bg-light);
}

.article-card__body {
    padding: 1.25rem;
    gap: 0.75rem;
}

.article-card__title {
    margin-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.45;
}

.article-card__title a {
    color: var(--color-heading);
}

.article-card__title a:hover {
    color: var(--color-primary);
}

.article-card__excerpt {
    color: var(--color-text-light);
    font-size: 1rem;
}

.article-card__meta {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.cta-banner {
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.2), transparent 28%),
        linear-gradient(135deg, #111827 0%, #312E81 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-xl);
}

.cta-banner h2,
.cta-banner p {
    color: #FFFFFF;
}

.cta-banner p {
    opacity: 0.82;
}

.roadmap-preview {
    position: relative;
    width: min(260px, 100%);
    height: 180px;
}

.roadmap-card {
    position: absolute;
    inset: auto;
    width: 160px;
    height: 108px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.roadmap-card--1 {
    top: 0;
    left: 0;
}

.roadmap-card--2 {
    top: 34px;
    left: 44px;
}

.roadmap-card--3 {
    top: 68px;
    left: 88px;
}

.topic-tags,
.signup-section,
.community-cta,
.site-footer,
.story-author-section,
.story-nav-section {
    background: #FFFFFF;
}

.topic-tags__list,
.site-footer__social,
.site-footer__nav,
.site-footer__brands-links {
    gap: 0.75rem;
}

.topic-tag,
.topic-pill {
    padding: 0.7rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.topic-tag:hover,
.topic-pill:hover {
    border-color: #C7D2FE;
    background: rgba(79, 70, 229, 0.05);
    color: var(--color-primary);
}

.community-cta {
    text-align: left;
}

.community-cta .container {
    padding: 2rem;
    border: 1px solid rgba(199, 210, 254, 0.9);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.14), transparent 30%),
        linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 100%);
    box-shadow: var(--shadow-md);
}

.community-cta h2,
.community-cta p {
    max-width: 720px;
}

.podcast-section__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.podcast-section__links {
    gap: 0.75rem;
}

.podcast-section__image {
    overflow: hidden;
    padding: 0.75rem;
}

.podcast-section__placeholder {
    display: grid;
    place-items: center;
    min-height: 260px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(34, 197, 94, 0.14));
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
}

.podcast-grid,
.experts-grid,
.articles-grid,
.tools-grid {
    gap: 1.25rem;
}

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

.expert-card {
    padding: 1.5rem;
    text-align: left;
}

.expert-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 0 1rem;
    border: 0;
    background: rgba(79, 70, 229, 0.08);
}

.expert-card__avatar-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.16), rgba(34, 197, 94, 0.16));
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.expert-card__bio {
    color: var(--color-text-light);
}

.expert-card__link {
    color: var(--color-primary);
}

.tools-section {
    background: transparent;
}

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

.tools-grid a {
    display: flex;
    align-items: center;
    min-height: 100px;
    padding: 1.25rem;
    color: var(--color-text);
    font-weight: 600;
}

.tools-grid a:hover {
    color: var(--color-primary);
}

.articles-section__header {
    margin-bottom: 1.5rem;
}

.article-empty-state {
    padding: 2rem;
    border: 1px dashed #C7D2FE;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(255, 255, 255, 0.96));
    text-align: left;
}

.article-empty-state h3 {
    margin-bottom: 0.5rem;
}

.article-empty-state p {
    max-width: 56ch;
}

.browse-topics__columns {
    gap: 1.25rem;
}

.browse-topics__column {
    padding: 1.5rem;
}

.browse-topics__column li+li {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
}

.browse-topics__column a {
    color: var(--color-text);
    font-weight: 500;
}

.browse-topics__column a:hover {
    color: var(--color-primary);
}

.signup-section .container {
    max-width: 880px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 28%),
        #FFFFFF;
    box-shadow: var(--shadow-lg);
}

.signup-section__intro {
    max-width: 56ch;
    margin-inline: auto;
}

.signup-form {
    max-width: 100%;
}

.signup-form form,
.newsletter-form,
.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.45rem;
}

.form-group label {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
}

.signup-section__submit {
    width: 100%;
    margin-top: var(--space-md);
}

.site-footer {
    border-top: 1px solid rgba(229, 231, 235, 0.9);
    background: linear-gradient(180deg, #111827 0%, #0F172A 100%);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__top,
.site-footer__brands,
.site-footer__bottom {
    border-color: rgba(255, 255, 255, 0.08);
}

.site-footer__description,
.site-footer__brands-label,
.site-footer__bottom p {
    color: rgba(255, 255, 255, 0.66);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
    color: #FFFFFF;
}

.site-footer__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
}

.site-footer__brand-link {
    color: rgba(255, 255, 255, 0.56);
}

.breadcrumbs {
    border-top: 1px solid rgba(229, 231, 235, 0.8);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
}

.breadcrumbs .container {
    padding-block: 0.85rem;
}

.breadcrumbs a,
.breadcrumb-current {
    font-size: 0.875rem;
}

.editorial-hero,
.story-hero,
.archive-header,
.search-results-header {
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 32%),
        linear-gradient(180deg, #F5F7FF 0%, #F9FAFB 100%);
    color: var(--color-text);
}

.archive-header,
.search-results-header {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.editorial-hero::before,
.story-hero::before {
    display: none;
}

.editorial-kicker,
.editorial-panel__label,
.story-hero__eyebrow,
.featured-story__eyebrow,
.story-strip__category,
.story-strip__detail {
    color: var(--color-primary);
}

.editorial-kicker::before,
.editorial-panel__label::before {
    background: rgba(79, 70, 229, 0.3);
}

.editorial-hero__content h1,
.story-hero__content h1,
.archive-header h1,
.search-results-header h1,
.featured-story__title,
.story-feed__header h2,
.story-author__content h2,
.story-nav__item strong,
.story-article__body h2,
.story-article__body h3,
.story-article__body h4,
.story-strip__title {
    color: var(--color-heading);
    font-family: var(--font-heading);
}

.editorial-hero__content p,
.story-hero__deck,
.featured-story__excerpt,
.story-feed__header p,
.story-author__content p,
.story-strip__excerpt,
.archive-header p,
.search-results-header p {
    color: var(--color-text-light);
}

.editorial-stat,
.story-meta-board__item {
    border-top-color: rgba(229, 231, 235, 0.9);
}

.editorial-stat__value,
.story-meta-board__item strong {
    color: var(--color-heading);
    font-family: var(--font-heading);
}

.editorial-stat__label,
.story-meta-board__item span,
.featured-story__author time,
.story-hero__author a {
    color: var(--color-text-light);
}

.featured-story__title a,
.story-strip__title a,
.story-strip__cta,
.story-author__link,
.story-share a,
.story-nav__item {
    color: var(--color-text);
}

.featured-story__title a:hover,
.story-strip__title a:hover,
.story-strip__cta:hover,
.story-author__link:hover,
.story-share a:hover,
.story-nav__item:hover {
    color: var(--color-primary);
}

.featured-story__visual,
.story-hero__visual {
    background: var(--color-bg-light);
}

.featured-story__visual::after,
.story-hero__visual::after {
    background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.06) 100%);
}

.featured-story__visual--placeholder,
.story-hero__placeholder {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(34, 197, 94, 0.12));
    color: var(--color-primary);
}

.featured-story__author-name,
.story-hero__author-name {
    color: var(--color-heading);
}

.editorial-hub,
.story-shell,
.story-related,
.story-author-section,
.story-nav-section {
    background: transparent;
}

.story-tools__block,
.story-article,
.story-author,
.story-nav__item,
.editorial-panel,
.sidebar-widget {
    background: rgba(255, 255, 255, 0.92);
}

.story-toc__link {
    border-left-color: rgba(229, 231, 235, 0.9);
    color: var(--color-text-light);
}

.story-toc__link:hover,
.story-toc__link.is-active {
    border-left-color: var(--color-primary);
    color: var(--color-primary);
}

.story-article__body {
    color: var(--color-text);
}

.story-article__body a {
    color: var(--color-primary);
}

.story-article__body blockquote {
    border-left-color: var(--color-primary);
    background: rgba(79, 70, 229, 0.06);
    color: var(--color-heading);
    font-family: var(--font-heading);
}

.reading-progress span {
    background: linear-gradient(90deg, #4F46E5, #22C55E);
}

.pagination a,
.pagination span {
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
    border-color: var(--color-border);
    background: #FFFFFF;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.pagination a:hover,
.pagination .current {
    border-color: transparent;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    color: #FFFFFF;
}

@media (max-width: 1180px) {

    .hero__layout,
    .hero-grid,
    .podcast-section__header,
    .tools-grid,
    .story-feed__header {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 992px) {

    .site-header__tagline,
    .popular-links-bar {
        display: none;
    }

    .site-header__nav {
        background: #FFFFFF;
        border-left: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .mobile-menu-toggle {
        border: 1px solid var(--color-border);
        border-radius: 10px;
        background: #FFFFFF;
        box-shadow: var(--shadow-sm);
    }

    .mobile-menu-toggle span {
        background: var(--color-heading);
    }

    .menu-overlay {
        background: rgba(17, 24, 39, 0.38);
    }

    .hero__stats,
    .experts-grid,
    .browse-topics__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header__nav {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .utility-bar {
        display: none;
    }

    .site-header .container {
        padding-block: 0.8rem;
    }

    .hero__stats,
    .form-row,
    .experts-grid,
    .tools-grid,
    .browse-topics__columns {
        grid-template-columns: 1fr;
    }

    .hero-signup-card,
    .cta-banner,
    .signup-section .container,
    .community-cta .container {
        padding: 1.5rem;
    }

    .article-card--horizontal {
        flex-direction: column;
    }

    .story-nav__item--next {
        text-align: left;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .utility-bar,
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .btn,
    .cta-banner,
    .signup-section {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ── Blog Hero Simple ─────────────────────────────────────── */
.blog-hero-simple {
    background: linear-gradient(135deg, #091121 0%, #112444 52%, #17335c 100%);
    color: #fff;
    padding: 64px 0 48px;
}

.blog-hero-simple__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.blog-hero-simple__text {
    flex: 1 1 400px;
}

.blog-hero-simple__text h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 8px 0 12px;
}

.blog-hero-simple__text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 520px;
}

.blog-hero-simple__search {
    flex: 0 1 320px;
}