/* Migrated out of the "News" template, 2026-09-15.
   Linked at the same position the <style> block occupied. */
    /* ========================================
       NEWS PAGE DESIGN TOKENS
       ======================================== */
    :root {
        --news-bg-primary: #F6F6F8;
        --news-bg-white: #FFFFFF;
        --news-bg-dark: #1D1D1F;
        --news-text-primary: #1D1D1F;
        --news-text-secondary: #86868B;
        --news-cta-blue: #0071E3;
        --news-cta-blue-hover: #0077ED;
        --news-success-green: #34C759;
        --news-border-color: #D2D2D7;
        --news-radius-sm: 8px;
        --news-radius-md: 12px;
        --news-radius-lg: 16px;
        --news-radius-xl: 20px;
        --news-radius-full: 980px;
        --news-font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    }

    /* ========================================
       BASE STYLES (SCOPED)
       ======================================== */
    .news-apple *, .news-apple *::before, .news-apple *::after {
        box-sizing: border-box;
    }

    .news-apple {
        font-family: var(--news-font-stack);
        font-size: 17px;
        line-height: 1.5;
        color: var(--news-text-primary);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .news-apple a:not(.btn) {
        color: var(--news-cta-blue);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .news-apple a:not(.btn):hover {
        color: var(--news-cta-blue-hover);
    }

    .news-apple h1, .news-apple h2, .news-apple h3, .news-apple h4 {
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin: 0;
    }

    /* ========================================
       BUTTONS
       ======================================== */
    .news-apple .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 32px;
        font-size: 17px;
        font-weight: 500;
        border-radius: var(--news-radius-full);
        border: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
    }

    .news-apple .btn--primary {
        background: var(--news-cta-blue);
        color: #FFFFFF !important;
    }

    .news-apple .btn--primary:hover {
        background: var(--news-cta-blue-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
        color: #FFFFFF !important;
    }

    .news-apple .btn--secondary {
        background: transparent;
        color: var(--news-cta-blue);
        border: 2px solid var(--news-cta-blue);
    }

    .news-apple .btn--secondary:hover {
        background: var(--news-cta-blue);
        color: #FFFFFF !important;
    }

    .news-apple .btn--white {
        background: var(--news-bg-white);
        color: var(--news-cta-blue) !important;
    }

    .news-apple .btn--white:hover {
        background: rgba(255, 255, 255, 0.85);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        color: var(--news-cta-blue-hover) !important;
    }

    .news-apple .btn--outline-white {
        background: transparent;
        color: var(--news-bg-white) !important;
        border: 2px solid var(--news-bg-white);
    }

    .news-apple .btn--outline-white:hover {
        background: var(--news-bg-white);
        color: var(--news-cta-blue) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    /* ========================================
       HERO SECTION
       ======================================== */
    .news-hero {
        padding: 80px 24px 64px;
        background: var(--news-bg-primary);
        text-align: center;
    }

    .news-hero__inner {
        max-width: 900px;
        margin: 0 auto;
    }

    .news-hero__badge {
        display: inline-block;
        background: var(--news-cta-blue);
        color: var(--news-bg-white);
        padding: 8px 20px;
        border-radius: var(--news-radius-full);
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 24px;
    }

    .news-hero__title {
        font-size: clamp(36px, 7vw, 64px);
        font-weight: 700;
        margin-bottom: 24px;
    }

    .news-hero__title-accent {
        color: var(--news-cta-blue);
    }

    .news-hero__subtitle {
        font-size: clamp(18px, 3vw, 21px);
        color: var(--news-text-secondary);
        max-width: 700px;
        margin: 0 auto 40px;
        line-height: 1.6;
    }

    .news-hero__trust {
        display: flex;
        flex-wrap: wrap;
        gap: 16px 32px;
        justify-content: center;
        font-size: 14px;
        color: var(--news-text-secondary);
    }

    .news-hero__trust-item::before {
        content: '\2713';
        color: var(--news-success-green);
        font-weight: 700;
        margin-right: 8px;
    }

    /* ========================================
       TRUST BAR
       ======================================== */
    .news-trust-bar {
        background: var(--news-bg-white);
        padding: 40px 24px;
        border-bottom: 1px solid var(--news-border-color);
    }

    .news-trust-bar__inner {
        max-width: 1200px;
        margin: 0 auto;
    }

    .news-trust-bar__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-bottom: 32px;
    }

    .news-trust-bar__stat {
        text-align: center;
    }

    .news-trust-bar__stat-number {
        font-size: clamp(28px, 5vw, 40px);
        font-weight: 700;
        color: var(--news-cta-blue);
        display: block;
    }

    .news-trust-bar__stat-label {
        font-size: 14px;
        color: var(--news-text-secondary);
    }

    .news-trust-bar__badges {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .news-trust-bar__badge {
        background: var(--news-bg-primary);
        padding: 8px 16px;
        border-radius: var(--news-radius-sm);
        font-size: 12px;
        font-weight: 600;
        color: var(--news-text-primary);
    }

    @media (min-width: 768px) {
        .news-trust-bar__stats {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    /* ========================================
       NEWS GRID
       ======================================== */
    .news-grid-section {
        padding: 64px 24px;
        background: var(--news-bg-white);
    }

    .news-grid-section__inner {
        max-width: 1200px;
        margin: 0 auto;
    }

    .news-grid-section__header {
        text-align: center;
        margin-bottom: 48px;
    }

    .news-grid-section__title {
        font-size: clamp(28px, 5vw, 48px);
        margin-bottom: 16px;
    }

    .news-grid-section__subtitle {
        font-size: 19px;
        color: var(--news-text-secondary);
        max-width: 600px;
        margin: 0 auto;
    }

    .news-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    @media (min-width: 768px) {
        .news-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .news-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* ========================================
       NEWS CARD
       ======================================== */
    .news-card {
        background: var(--news-bg-primary);
        border-radius: var(--news-radius-lg);
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    }

    .news-card__image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        background: linear-gradient(135deg, #E8E8ED 0%, #D2D2D7 100%);
    }

    .news-card__image-placeholder {
        width: 100%;
        height: 200px;
        background: linear-gradient(135deg, #E8E8ED 0%, #D2D2D7 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .news-card__image-placeholder svg {
        width: 64px;
        height: 64px;
        fill: var(--news-text-secondary);
        opacity: 0.5;
    }

    .news-card__content {
        padding: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .news-card__date {
        font-size: 13px;
        color: var(--news-cta-blue);
        font-weight: 600;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .news-card__title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.3;
        color: var(--news-text-primary);
    }

    .news-card__excerpt {
        font-size: 15px;
        color: var(--news-text-secondary);
        line-height: 1.6;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card__icon {
        width: 40px;
        height: 40px;
        margin-top: 16px;
        object-fit: contain;
    }

    /* Featured News Card (first item) */
    .news-card--featured {
        grid-column: 1 / -1;
    }

    @media (min-width: 768px) {
        .news-card--featured {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .news-card--featured .news-card__image,
        .news-card--featured .news-card__image-placeholder {
            height: 100%;
            min-height: 300px;
        }

        .news-card--featured .news-card__content {
            padding: 40px;
        }

        .news-card--featured .news-card__title {
            font-size: 28px;
        }

        .news-card--featured .news-card__excerpt {
            -webkit-line-clamp: 5;
        }
    }

    /* ========================================
       FINAL CTA SECTION
       ======================================== */
    .news-final-cta {
        padding: 80px 24px;
        background: linear-gradient(135deg, var(--news-cta-blue) 0%, #005BB5 100%);
        text-align: center;
    }

    .news-final-cta__inner {
        max-width: 700px;
        margin: 0 auto;
    }

    .news-final-cta__title {
        font-size: clamp(28px, 5vw, 48px);
        color: var(--news-bg-white);
        margin-bottom: 16px;
    }

    .news-final-cta__subtitle {
        font-size: 19px;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 40px;
    }

    .news-final-cta__buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-bottom: 32px;
    }

    @media (min-width: 768px) {
        .news-final-cta__buttons {
            flex-direction: row;
            justify-content: center;
        }
    }

    .news-final-cta__trust {
        display: flex;
        flex-wrap: wrap;
        gap: 16px 32px;
        justify-content: center;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
    }

    .news-final-cta__trust span::before {
        content: '\2713';
        color: var(--news-success-green);
        font-weight: 700;
        margin-right: 8px;
    }
