body.ff-article-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(var(--ff-blue-rgb), 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(var(--ff-red-rgb), 0.16), transparent 36%),
        linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
    color: #172033;
}

body.ff-article-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 60%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.48), transparent 22%);
    pointer-events: none;
}

.ff-article-app {
    position: relative;
    z-index: 1;
}

.ff-article-sitebar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(245, 247, 251, 0.84);
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

.ff-article-sitebar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ff-article-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.ff-article-brand img {
    width: 164px;
    height: auto;
    display: block;
}

.ff-article-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ff-article-brand-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(var(--ff-red-rgb), 0.92);
}

.ff-article-brand-sub {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.ff-article-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ff-article-nav a,
.ff-article-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #495266;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    background: transparent;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ff-article-nav a:hover,
.ff-article-nav button:hover,
.ff-article-nav a.is-active {
    color: var(--ff-dark);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(26, 26, 46, 0.08);
    transform: translateY(-1px);
}

.ff-article-nav-cta {
    background: var(--ff-red);
    color: #fff;
    box-shadow: 0 14px 28px rgba(var(--ff-red-rgb), 0.2);
}

.ff-article-nav-cta:hover {
    background: var(--ff-red-hover);
    color: #fff;
    border-color: transparent;
}

.ff-article-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 72px;
}

.ff-article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.09);
}

.ff-article-hero-media {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ff-article-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.38));
}

.ff-article-hero-copy {
    padding: 34px 34px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 252, 0.96) 100%);
}

.ff-article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(var(--ff-red-rgb), 0.08);
    color: var(--ff-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ff-article-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--ff-dark);
    max-width: 13ch;
}

.ff-article-excerpt {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #5b6477;
    max-width: 56ch;
}

.ff-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ff-article-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #f4f5f8;
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(26, 26, 46, 0.06);
}

.ff-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    margin-top: 28px;
    align-items: start;
}

.ff-article-prose {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 24px;
    padding: 34px 36px 40px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.ff-article-prose p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.86;
    color: #334155;
}

.ff-article-prose h2 {
    margin: 30px 0 12px;
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--ff-dark);
}

.ff-article-prose h3 {
    margin: 22px 0 10px;
    font-size: 19px;
    line-height: 1.2;
    color: var(--ff-dark);
}

.ff-article-prose strong {
    color: var(--ff-dark);
}

.ff-article-prose blockquote {
    margin: 26px 0;
    padding: 20px 22px;
    border-left: 4px solid var(--ff-red);
    border-radius: 0 18px 18px 0;
    background: linear-gradient(135deg, rgba(var(--ff-red-rgb), 0.08), rgba(var(--ff-blue-rgb), 0.04));
    color: #334155;
    font-size: 15px;
    font-style: italic;
    line-height: 1.75;
}

.ff-article-prose ul,
.ff-article-prose ol {
    margin: 0 0 20px 24px;
    color: #334155;
}

.ff-article-prose li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.ff-article-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ff-article-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.ff-article-card-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.ff-article-card-title {
    font-size: 19px;
    line-height: 1.18;
    color: var(--ff-dark);
    margin-bottom: 10px;
}

.ff-article-card-copy {
    font-size: 13.5px;
    line-height: 1.65;
    color: #5b6477;
}

.ff-article-share-grid {
    display: grid;
    gap: 10px;
}

.ff-article-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 14px;
    border: none;
    background: var(--ff-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 12px 28px rgba(var(--ff-red-rgb), 0.22);
}

.ff-article-btn:hover {
    transform: translateY(-1px);
    background: var(--ff-red-hover);
}

.ff-article-btn-secondary {
    background: #f4f5f8;
    color: var(--ff-dark);
    border: 1px solid rgba(26, 26, 46, 0.08);
    box-shadow: none;
}

.ff-article-btn-secondary:hover {
    background: #eceff5;
    color: var(--ff-dark);
}

.ff-article-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ff-article-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.ff-related-list {
    display: grid;
    gap: 12px;
}

.ff-related-link {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(26, 26, 46, 0.08);
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ff-related-link:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--ff-red-rgb), 0.28);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ff-related-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ff-red);
    margin-bottom: 6px;
}

.ff-related-title {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--ff-dark);
    margin-bottom: 4px;
}

.ff-related-meta {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.ff-article-footer {
    margin-top: 26px;
}

.ff-article-footer-cta {
    background:
        linear-gradient(135deg, #0f172a 0%, #16213e 62%, rgba(var(--ff-red-rgb), 0.94) 100%);
    border-radius: 28px;
    padding: 30px 30px 34px;
    color: #fff;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.ff-article-footer-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.ff-article-footer-cta p {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ff-article-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ff-article-footer-actions .ff-article-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.ff-article-footer-actions .ff-article-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ff-collection-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    margin-bottom: 26px;
}

.ff-collection-panel,
.ff-collection-sidecard {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.ff-collection-panel {
    padding: 34px;
    background:
        radial-gradient(circle at top right, rgba(var(--ff-red-rgb), 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 252, 0.94) 100%);
}

.ff-collection-sidecard {
    padding: 24px;
}

.ff-collection-title {
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--ff-dark);
    margin: 12px 0;
    max-width: 13ch;
}

.ff-collection-copy {
    font-size: 15px;
    line-height: 1.8;
    color: #5b6477;
    max-width: 58ch;
}

.ff-collection-stats {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.ff-collection-stat {
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(26, 26, 46, 0.06);
}

.ff-collection-stat-value {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    color: var(--ff-dark);
    margin-bottom: 4px;
}

.ff-collection-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.ff-collection-list {
    display: grid;
    gap: 18px;
}

.ff-collection-link {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ff-collection-link:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--ff-red-rgb), 0.22);
    box-shadow: 0 24px 62px rgba(15, 23, 42, 0.1);
}

.ff-collection-media {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ff-collection-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.34));
}

.ff-collection-body {
    padding: 24px 24px 26px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ff-collection-article-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ff-dark);
    margin-bottom: 10px;
}

.ff-collection-article-copy {
    font-size: 14px;
    line-height: 1.75;
    color: #5b6477;
    margin-bottom: 14px;
}

.ff-collection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.ff-collection-readmore {
    font-size: 13px;
    font-weight: 800;
    color: var(--ff-red);
}

@media (max-width: 980px) {
    .ff-article-hero,
    .ff-article-layout,
    .ff-collection-hero,
    .ff-collection-link {
        grid-template-columns: 1fr;
    }

    .ff-article-sidebar {
        position: static;
    }

    .ff-collection-body {
        padding: 0 22px 24px;
    }
}

@media (max-width: 760px) {
    .ff-article-sitebar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .ff-article-brand {
        justify-content: center;
    }

    .ff-article-nav {
        justify-content: center;
    }

    .ff-article-hero-copy,
    .ff-article-prose,
    .ff-collection-panel,
    .ff-collection-sidecard {
        padding: 22px;
    }

    .ff-article-shell {
        padding: 20px 14px 60px;
    }

    .ff-article-footer-cta {
        padding: 24px 22px 28px;
    }
}
