/*
Theme Name: AutoFixReview
Theme URI: https://autofixreview.com
Author: AutoFixReview Team
Author URI: https://autofixreview.com
Description: A modern, high-performance automotive review blog theme. Built for speed, SEO, and stunning car content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autofixreview
Tags: blog, automotive, car-review, responsive, dark-mode, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments
*/

/* =========================================================
   TABLE OF CONTENTS
   1. CSS Custom Properties
   2. Reset & Base
   3. Typography
   4. Layout
   5. Header
   6. Navigation
   7. Hero / Front Page
   8. Post Cards
   9. Single Post
   10. Sidebar
   11. Footer
   12. Comments
   13. Search
   14. Archive / Category / Tag
   15. Author Box
   16. Pagination
   17. Breadcrumbs
   18. 404
   19. Utility Classes
   20. Dark Mode
   21. Print
========================================================= */

/* ---------------------------------------------------------
   1. CSS Custom Properties
--------------------------------------------------------- */
:root {
    /* Brand Colors */
    --color-primary:        #E8302A;
    --color-primary-dark:   #C0211B;
    --color-primary-light:  #FF5550;
    --color-accent:         #F5A623;
    --color-accent-dark:    #D4891A;

    /* Neutrals */
    --color-black:          #0A0A0A;
    --color-dark:           #111418;
    --color-dark-2:         #1C2128;
    --color-dark-3:         #252C35;
    --color-mid:            #4A5568;
    --color-muted:          #718096;
    --color-border:         #E2E8F0;
    --color-border-dark:    #2D3748;
    --color-light:          #F7F8FA;
    --color-white:          #FFFFFF;

    /* Typography */
    --font-heading:         'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --font-body:            'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-ui:              'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono:            'JetBrains Mono', 'Fira Code', Consolas, monospace;

    --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.875rem;
    --text-4xl:   2.25rem;
    --text-5xl:   3rem;
    --text-6xl:   3.75rem;
    --text-7xl:   4.5rem;

    --leading-tight:  1.2;
    --leading-snug:   1.35;
    --leading-normal: 1.6;
    --leading-loose:  1.8;

    /* Spacing */
    --space-1:   0.25rem;
    --space-2:   0.5rem;
    --space-3:   0.75rem;
    --space-4:   1rem;
    --space-5:   1.25rem;
    --space-6:   1.5rem;
    --space-8:   2rem;
    --space-10:  2.5rem;
    --space-12:  3rem;
    --space-16:  4rem;
    --space-20:  5rem;
    --space-24:  6rem;

    /* Layout */
    --container-max:     1280px;
    --container-wide:    1400px;
    --container-narrow:  780px;
    --content-width:     760px;
    --sidebar-width:     320px;
    --gap:               2rem;

    /* Effects */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   20px;
    --radius-full: 9999px;

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:   0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
    --shadow-xl:   0 20px 60px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.10);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.07), 0 0 1px rgba(0,0,0,0.05);

    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;

    /* Z-index */
    --z-below:    -1;
    --z-base:      0;
    --z-above:     1;
    --z-dropdown: 100;
    --z-sticky:   200;
    --z-overlay:  300;
    --z-modal:    400;
    --z-toast:    500;

    /* Header */
    --header-height: 72px;

    /* Semantic */
    --bg-page:    var(--color-white);
    --bg-surface: var(--color-light);
    --text-main:  var(--color-dark);
    --text-muted: var(--color-muted);
    --border:     var(--color-border);
}

/* Dark mode via data attribute (toggled by dark-mode.js) */
[data-theme="dark"] {
    --bg-page:    var(--color-dark);
    --bg-surface: var(--color-dark-2);
    --text-main:  #E2E8F0;
    --text-muted: #94A3B8;
    --border:     var(--color-border-dark);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.2);
}

/* ---------------------------------------------------------
   2. Reset & Base
--------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-main);
    background-color: var(--bg-page);
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-ui);
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: var(--font-ui);
    font-size: var(--text-base);
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ---------------------------------------------------------
   3. Typography
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--text-main);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl)); text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl)); text-transform: uppercase; }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h4 { font-size: clamp(var(--text-lg), 2vw, var(--text-2xl)); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    line-height: var(--leading-loose);
    color: var(--text-main);
}

p + p {
    margin-top: var(--space-5);
}

strong, b { font-weight: 700; }
em, i     { font-style: italic; }

blockquote {
    border-left: 4px solid var(--color-primary);
    margin: var(--space-8) 0;
    padding: var(--space-5) var(--space-6);
    background: var(--bg-surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-muted);
}

blockquote cite {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 600;
    font-family: var(--font-ui);
    color: var(--color-primary);
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-surface);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    border: 1px solid var(--border);
}

pre {
    background: var(--color-dark);
    color: #E2E8F0;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: var(--space-8) 0;
}

pre code {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-10) 0;
}

/* Entry content typography */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.entry-content ul,
.entry-content ol {
    list-style: revert;
    padding-left: var(--space-6);
    margin: var(--space-5) 0;
    line-height: var(--leading-loose);
}

.entry-content li + li {
    margin-top: var(--space-2);
}

.entry-content table {
    margin: var(--space-8) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.entry-content th,
.entry-content td {
    padding: var(--space-3) var(--space-5);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.entry-content th {
    background: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-content tr:last-child td {
    border-bottom: none;
}

.entry-content tr:nth-child(even) td {
    background: var(--bg-surface);
}

.entry-content .wp-caption {
    max-width: 100%;
    text-align: center;
}

.entry-content .wp-caption-text {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
    font-style: italic;
}

/* ---------------------------------------------------------
   4. Layout
--------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.container--wide {
    max-width: var(--container-wide);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* ── Full-width page layout (no sidebar) ─────────────── */
.container--full-width > .page-article--full-width {
    max-width: 100%;
}

.page-article--full-width {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ── Full-width single post layout ───────────────────── */
.single-article--full-width {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    padding-top: var(--space-12);
    padding-bottom: var(--space-16);
}

/* Full-bleed raw template — content controls its own spacing */
.site-main--raw {
    padding-top: 0;
    padding-bottom: 0;
}
.site-main--raw > * {
    max-width: 100%;
}

.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-10);
    align-items: start;
}

@media (max-width: 1024px) {
    .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .posts-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   5. Header
--------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--bg-page);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    transition: background-color var(--transition-slow), box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-6);
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.site-branding a {
    color: inherit;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.site-branding a:hover {
    opacity: 0.85;
}

.custom-logo {
    height: 44px;
    width: auto;
}

.site-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--text-main);
}

.site-title span {
    color: var(--color-primary);
}

.site-description {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
    display: none;
}

@media (min-width: 768px) {
    .site-description { display: block; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Header Search Toggle */
.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.header-search-toggle:hover {
    background: var(--bg-surface);
    color: var(--text-main);
}

.header-search-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dark-mode-toggle:hover {
    background: var(--bg-surface);
    color: var(--text-main);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dark-mode-toggle .icon-sun  { display: none; }
.dark-mode-toggle .icon-moon { display: block; }
[data-theme="dark"] .dark-mode-toggle .icon-sun  { display: block; }
[data-theme="dark"] .dark-mode-toggle .icon-moon { display: none; }

/* Mobile Menu Toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--text-main);
}

.nav-toggle:hover {
    background: var(--bg-surface);
}

.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.nav-toggle-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
}

/* Header Search Bar */
.header-search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-md);
    display: none;
    z-index: var(--z-dropdown);
}

.header-search-bar.is-open {
    display: block;
}

/* ---------------------------------------------------------
   6. Navigation
--------------------------------------------------------- */
.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 1023px) {
    .primary-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-page);
        overflow-y: auto;
        padding: var(--space-6);
        flex-direction: column;
        justify-content: flex-start;
        border-top: 1px solid var(--border);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: var(--z-overlay);
    }

    .primary-navigation.is-open {
        transform: translateX(0);
    }
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

@media (max-width: 1023px) {
    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-main);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    display: block;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
    color: var(--color-primary);
    background: rgba(232, 48, 42, 0.06);
}

@media (max-width: 1023px) {
    .primary-menu > li > a {
        padding: var(--space-4);
        font-size: var(--text-base);
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
}

/* Dropdown */
.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    min-width: 220px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition-base), transform var(--transition-base);
    z-index: var(--z-dropdown);
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.primary-menu .sub-menu a {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--text-main);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    display: block;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.primary-menu .sub-menu a:hover {
    background: var(--bg-surface);
    color: var(--color-primary);
}

/* ---------------------------------------------------------
   7. Hero / Front Page
--------------------------------------------------------- */

/* ── HERO ANIMATIONS ── */
@keyframes afr-fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes afr-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes afr-grain {
    0%,100% { transform: translate(0,0); }
    10%     { transform: translate(-2%,-3%); }
    20%     { transform: translate(3%,1%); }
    30%     { transform: translate(-1%,4%); }
    40%     { transform: translate(2%,-2%); }
    50%     { transform: translate(-3%,3%); }
    60%     { transform: translate(1%,-1%); }
    70%     { transform: translate(-2%,2%); }
    80%     { transform: translate(3%,-3%); }
    90%     { transform: translate(-1%,1%); }
}
@keyframes afr-pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%     { opacity:.5; transform:scale(1.3); }
}

/* ── HERO WRAPPER ── */
/* ═══════════════════════════════════════════════════════════════════════════
   HERO — Cinematic Car Image Slider
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── OUTER CONTAINER ── */
.afr-hero {
    position: relative;
    width: 100%;
    height: clamp(560px, 92vh, 860px);
    overflow: hidden;
    background: #060A10;
    isolation: isolate;
}

/* ══════════════════════
   BACKGROUND LAYER
══════════════════════ */
.afr-hero__bgs {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.afr-hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s cubic-bezier(.4,0,.2,1);
    will-change: opacity;
}
.afr-hero__bg.is-active  { opacity: 1; }
.afr-hero__bg.is-out     { opacity: 0; }

.afr-hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform-origin: 60% 50%;
    animation: afrKB 14s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes afrKB {
    from { transform: scale(1.04) translate(0, 0); }
    to   { transform: scale(1.11) translate(-2%, -1.5%); }
}

/* Per-slide color tint */
.afr-hero__bg-tint {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 80% 50%,
            color-mix(in srgb, var(--slide-color) 22%, transparent) 0%,
            transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Main vignette: heavy on left for text legibility, bottom for strip */
.afr-hero__vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
            rgba(4,7,14,.92)  0%,
            rgba(4,7,14,.65) 42%,
            rgba(4,7,14,.18) 70%,
            rgba(4,7,14,.06) 100%),
        linear-gradient(to top,
            rgba(4,7,14,.85)  0%,
            rgba(4,7,14,.2)  28%,
            transparent      55%);
    z-index: 2;
    pointer-events: none;
}

/* Subtle film-grain overlay */
.afr-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    opacity: .5;
    animation: afrGrain 6s steps(8) infinite;
    pointer-events: none;
}
@keyframes afrGrain { 0%,100%{transform:translate(0,0)} 10%{transform:translate(-1%,-1%)} 20%{transform:translate(1%,1%)} 30%{transform:translate(-1%,0)} 40%{transform:translate(0,1%)} 50%{transform:translate(1%,-1%)} 60%{transform:translate(-1%,1%)} 70%{transform:translate(1%,0)} 80%{transform:translate(0,-1%)} 90%{transform:translate(-1%,1%)} }

/* ══════════════════════
   SLIDE CONTENT LAYER
══════════════════════ */
.afr-hero__slides {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.afr-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transition: opacity .75s cubic-bezier(.4,0,.2,1),
                transform .75s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.afr-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.afr-hero__slide-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem 7rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

/* ── LEFT ── */
.afr-hero__left {
    max-width: 620px;
}

/* Eyebrow */
.afr-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}
.afr-hero__cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--slide-color, #E8302A);
    color: #fff;
    font-family: var(--font-ui, sans-serif);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: .3rem .8rem;
    border-radius: 3px;
}
.afr-hero__cat-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    animation: afrPulse 1.6s ease infinite;
    flex-shrink: 0;
}
@keyframes afrPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: .5; transform: scale(.7); }
}
.afr-hero__year {
    font-family: var(--font-ui, sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    padding: .3rem .75rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 3px;
}
.afr-hero__slide-num {
    margin-left: auto;
    font-family: var(--font-ui, monospace);
    font-size: 11px;
    letter-spacing: .06em;
    color: rgba(255,255,255,.3);
    display: flex;
    align-items: baseline;
    gap: .25rem;
}
.afr-hero__slide-num .cur {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,.7);
}

/* Model name */
.afr-hero__model {
    font-family: var(--font-heading, serif);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: -.03em;
    color: #fff;
    margin: 0 0 1.2rem;
    text-shadow: 0 2px 40px rgba(0,0,0,.4);
}

/* Tagline */
.afr-hero__tagline {
    font-family: var(--font-body, serif);
    font-style: italic;
    font-size: 1.15rem;
    color: rgba(255,255,255,.68);
    line-height: 1.6;
    margin: 0 0 1.8rem;
    max-width: 500px;
}

/* Rating */
.afr-hero__rating {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}
.afr-hero__score {
    display: inline-flex;
    align-items: baseline;
    gap: .2rem;
    background: var(--slide-color, #E8302A);
    padding: .55rem 1.1rem;
    border-radius: 4px;
    box-shadow: 0 0 24px color-mix(in srgb, var(--slide-color, #E8302A) 50%, transparent);
    flex-shrink: 0;
}
.afr-hero__score-num {
    font-family: var(--font-heading, sans-serif);
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -.03em;
}
.afr-hero__score-label {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.65);
    letter-spacing: .04em;
    align-self: flex-end;
    margin-bottom: .1rem;
}
.afr-hero__stars-wrap {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.afr-hero__stars {
    display: flex;
    gap: .25rem;
    align-items: center;
}
.afr-star {
    width: 14px;
    height: 14px;
    fill: rgba(255,255,255,.2);
    transition: fill .3s;
    flex-shrink: 0;
}
.afr-star.afr-star--on {
    fill: #F5A623;
    drop-shadow(0 0 4px #F5A623);
}
.afr-hero__verdict {
    display: inline-block;
    font-family: var(--font-ui, sans-serif);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slide-color, #E8302A);
    background: color-mix(in srgb, var(--slide-color, #E8302A) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--slide-color, #E8302A) 35%, transparent);
    padding: .25rem .75rem;
    border-radius: 2px;
}

/* CTA */
.afr-hero__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.afr-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--slide-color, #E8302A);
    color: #fff;
    font-family: var(--font-ui, sans-serif);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .9rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 6px 28px color-mix(in srgb, var(--slide-color, #E8302A) 45%, transparent);
    transition: transform .2s, box-shadow .2s, filter .2s;
    position: relative;
    overflow: hidden;
}
.afr-hero__btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background .2s;
}
.afr-hero__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px color-mix(in srgb, var(--slide-color, #E8302A) 55%, transparent);
    color: #fff;
}
.afr-hero__btn-primary:hover::after { background: rgba(255,255,255,.07); }
.afr-hero__btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

.afr-hero__btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.8);
    font-family: var(--font-ui, sans-serif);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .9rem 1.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.18);
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: background .2s, border-color .2s, color .2s;
}
.afr-hero__btn-ghost svg { width: 15px; height: 15px; flex-shrink: 0; }
.afr-hero__btn-ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.38);
    color: #fff;
}

/* ── RIGHT: SPEC PANEL ── */
.afr-hero__right {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    animation: afrSpecIn .7s .5s ease both;
    opacity: 0;
}
.afr-hero__slide.is-active .afr-hero__right {
    animation: afrSpecIn .7s .4s ease both;
}
@keyframes afrSpecIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.afr-hero__price-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.afr-hero__price-from {
    font-family: var(--font-ui, sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}
.afr-hero__price-val {
    font-family: var(--font-heading, sans-serif);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -.02em;
}

.afr-hero__specs {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: .5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
}
.afr-spec {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .75rem .85rem;
    border-radius: 5px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    transition: background .25s, border-color .25s;
    cursor: default;
}
.afr-spec:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.15);
}
.afr-spec__icon {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,.4);
    flex-shrink: 0;
    margin-top: .15rem;
}
.afr-spec__body {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    min-width: 0;
}
.afr-spec__val {
    font-family: var(--font-heading, sans-serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}
.afr-spec__val em {
    font-style: normal;
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    letter-spacing: .04em;
    margin-left: .2rem;
}
.afr-spec__val--sm {
    font-size: .88rem;
    line-height: 1.3;
    white-space: normal;
}
.afr-spec__key {
    font-family: var(--font-ui, sans-serif);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

/* ══════════════════════
   ARROWS
══════════════════════ */
.afr-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: background .2s, border-color .2s, transform .2s;
}
.afr-hero__arrow svg { width: 20px; height: 20px; }
.afr-hero__arrow--prev { left: 1.5rem; }
.afr-hero__arrow--next { right: 1.5rem; }
.afr-hero__arrow:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-50%) scale(1.1);
}

/* ══════════════════════
   BOTTOM FILMSTRIP
══════════════════════ */
.afr-hero__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 60%, transparent 100%);
    padding: .5rem 1.5rem .6rem;
}

.afr-hero__filmstrip {
    display: flex;
    gap: .5rem;
    max-width: 1440px;
    margin: 0 auto;
}

.afr-hero__film-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    background: none;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color .25s, transform .2s;
    position: relative;
}
.afr-hero__film-item:hover {
    border-color: rgba(255,255,255,.3);
    transform: translateY(-2px);
}
.afr-hero__film-item.is-active {
    border-color: rgba(255,255,255,.35);
}

.afr-hero__film-img {
    height: 48px;
    background-size: cover;
    background-position: center;
    background-color: #1C2128;
    flex-shrink: 0;
}

.afr-hero__film-info {
    padding: .35rem .6rem .1rem;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.afr-hero__film-model {
    font-family: var(--font-ui, sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.afr-hero__film-cat {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

/* Progress bar at bottom of each filmstrip card */
.afr-hero__film-bar {
    height: 2px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}
.afr-hero__film-progress {
    height: 100%;
    width: 0%;
    background: var(--slide-color, #E8302A);
    transition: none;
    box-shadow: 0 0 6px var(--slide-color, #E8302A);
}
.afr-hero__film-item.is-active .afr-hero__film-bar {
    background: rgba(255,255,255,.15);
}

/* ══════════════════════
   PLAY/PAUSE BUTTON
══════════════════════ */
.afr-hero__play-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 25;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background .2s, color .2s;
}
.afr-hero__play-btn svg { width: 14px; height: 14px; }
.afr-hero__play-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.afr-hero__play-btn .icon-play  { display: none; }
.afr-hero__play-btn .icon-pause { display: block; }
.afr-hero__play-btn:not(.is-playing) .icon-play  { display: block; }
.afr-hero__play-btn:not(.is-playing) .icon-pause { display: none; }

/* ══════════════════════
   STATS STRIP
══════════════════════ */
.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #060A10;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-stats-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.3rem 1rem;
    border-right: 1px solid rgba(255,255,255,.07);
    gap: .3rem;
    transition: background .2s;
}
.hero-stats-strip__item:last-child { border-right: none; }
.hero-stats-strip__item:hover { background: rgba(255,255,255,.03); }
.hero-stats-strip__num {
    font-family: var(--font-heading, sans-serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary, #E8302A);
    line-height: 1;
}
.hero-stats-strip__label {
    font-family: var(--font-ui, sans-serif);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 1100px) {
    .afr-hero__slide-inner {
        grid-template-columns: 1fr;
        padding: 0 2.5rem 10rem;
    }
    .afr-hero__right { display: none; }
    .afr-hero__model { font-size: clamp(2.8rem, 7vw, 4.5rem); }
}

@media (max-width: 720px) {
    .afr-hero {
        height: clamp(480px, 80vh, 680px);
    }
    .afr-hero__slide-inner {
        padding: 0 1.5rem 11rem;
    }
    .afr-hero__model { font-size: clamp(2.2rem, 8.5vw, 3.5rem); }
    .afr-hero__tagline { font-size: 1rem; }
    .afr-hero__arrow { width: 40px; height: 40px; }
    .afr-hero__arrow--prev { left: .75rem; }
    .afr-hero__arrow--next { right: .75rem; }
    .afr-hero__filmstrip { gap: .3rem; }
    .afr-hero__film-img { height: 38px; }
    .afr-hero__film-model,
    .afr-hero__film-cat { display: none; }
    .afr-hero__film-item { min-width: 0; }
    .afr-hero__bottom { padding: .4rem .75rem .5rem; }
    .hero-stats-strip { grid-template-columns: 1fr 1fr; }
    .hero-stats-strip__item:nth-child(2) { border-right: none; }
}

@media (prefers-reduced-motion: reduce) {
    .afr-hero__bg-img { animation: none; }
    .afr-hero__grain  { animation: none; }
    .afr-hero__slide  { transition: opacity .3s; }
    .afr-hero__bg     { transition: opacity .3s; }
}



/* Section Headers */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--border);
    gap: var(--space-4);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: var(--space-4);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-link {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    white-space: nowrap;
}

.section-link::after {
    content: '→';
}

/* ---------------------------------------------------------
   8. Post Cards
--------------------------------------------------------- */
.post-card {
    background: var(--bg-page);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 48, 42, 0.2);
}

.post-card__thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--bg-surface);
}

.post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card__thumbnail img {
    transform: scale(1.06);
}

.post-card__thumbnail .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-2) 0%, var(--color-dark-3) 100%);
}

.post-card__thumbnail .no-image svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    fill: var(--color-white);
}

.post-card__category {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.post-card__body {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: var(--leading-snug);
    text-transform: uppercase;
}

.post-card__title a {
    color: var(--text-main);
    transition: color var(--transition-fast);
}

.post-card__title a:hover {
    color: var(--color-primary);
}

.post-card__excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-normal);
    flex: 1;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
    gap: var(--space-3);
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.post-meta a {
    color: var(--text-muted);
    font-weight: 500;
}

.post-meta a:hover {
    color: var(--color-primary);
}

.post-meta .sep {
    color: var(--border);
    user-select: none;
}

.post-meta .cat-links a {
    font-weight: 700;
    color: var(--color-primary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Read More Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 48, 42, 0.35);
}

.btn--secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--ghost:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--sm {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
}

.btn--lg {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
}

/* ---------------------------------------------------------
   9. Single Post
--------------------------------------------------------- */
.single-post-header {
    background: var(--color-dark);
    padding: var(--space-16) 0 var(--space-12);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-12);
}

.single-post-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.single-post-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17,20,24,0.7) 0%, rgba(17,20,24,0.95) 100%);
}

.single-post-header__inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-width);
}

.single-post-header .post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.single-post-header .post-categories a {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.single-post-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
    color: var(--color-white);
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.single-post-excerpt {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.75);
    line-height: var(--leading-loose);
    margin-bottom: var(--space-8);
    max-width: 680px;
}

.post-featured-image {
    margin-bottom: var(--space-10);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 21 / 9;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-content {
    max-width: var(--content-width);
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
}

.entry-content img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-8) 0;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 2px solid var(--border);
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.post-navigation a:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.post-navigation .nav-label {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.post-navigation .nav-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--text-main);
    text-transform: uppercase;
}

.post-navigation .nav-next {
    text-align: right;
}

/* ---------------------------------------------------------
   10. Sidebar
--------------------------------------------------------- */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
}

.widget {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-4) var(--space-5);
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin: 0;
}

.widget-content {
    padding: var(--space-5);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    border-bottom: 1px solid var(--border);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    display: block;
    padding: var(--space-3) 0;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--text-main);
    font-weight: 500;
    transition: color var(--transition-fast), padding var(--transition-fast);
}

.widget ul li a:hover {
    color: var(--color-primary);
    padding-left: var(--space-2);
}

/* Tag cloud widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: var(--text-xs) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-1) var(--space-3);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-main);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.widget_tag_cloud .tagcloud a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Search widget */
.widget_search .search-form {
    display: flex;
    gap: var(--space-2);
}

.widget_search .search-field {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    transition: border-color var(--transition-fast);
    outline: none;
}

.widget_search .search-field:focus {
    border-color: var(--color-primary);
}

.widget_search .search-submit {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition-fast);
}

.widget_search .search-submit:hover {
    background: var(--color-primary-dark);
}

/* ---------------------------------------------------------
   11. Footer
--------------------------------------------------------- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.75);
    padding-top: var(--space-16);
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
    .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-widgets { grid-template-columns: 1fr; }
}

.footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    height: auto;
}

.footer-brand .site-title {
    color: var(--color-white);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-6);
    max-width: 320px;
}

.footer-widget-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-menu a {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--color-primary-light);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.7);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-5) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover {
    color: var(--color-primary-light);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-5);
}

/* ---------------------------------------------------------
   12. Comments
--------------------------------------------------------- */
.comments-area {
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 2px solid var(--border);
    max-width: var(--content-width);
}

.comments-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    text-transform: uppercase;
    margin-bottom: var(--space-8);
    padding-left: var(--space-4);
    border-left: 4px solid var(--color-primary);
}

.comment-list {
    list-style: none;
    margin-bottom: var(--space-10);
}

.comment {
    padding: var(--space-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    background: var(--bg-page);
}

.comment-body {
    /* main body */
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid var(--border);
}

.comment-author .fn {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-main);
}

.comment-metadata {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.comment-metadata a {
    color: inherit;
}

.comment-content p {
    font-size: var(--text-base);
    color: var(--text-main);
}

.comment-reply-link {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: var(--space-3);
    display: inline-block;
}

.children {
    margin-top: var(--space-4);
    margin-left: var(--space-8);
    list-style: none;
}

/* Comment Form */
.comment-respond {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--border);
}

.comment-reply-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    color: var(--text-main);
}

.comment-form {
    display: grid;
    gap: var(--space-5);
}

.comment-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 640px) {
    .comment-form .form-grid { grid-template-columns: 1fr; }
}

.comment-form label {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: var(--space-2);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 48, 42, 0.1);
}

.comment-form textarea {
    height: 150px;
    resize: vertical;
}

.comment-form .form-submit .submit {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.comment-form .form-submit .submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* ---------------------------------------------------------
   13. Search
--------------------------------------------------------- */
.search-page-header {
    background: var(--color-dark);
    padding: var(--space-12) 0;
    margin-bottom: var(--space-12);
}

.search-page-header h1 {
    color: var(--color-white);
    font-size: var(--text-4xl);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.search-page-header p {
    color: rgba(255,255,255,0.65);
    font-family: var(--font-ui);
}

.search-page-header p span {
    color: var(--color-primary-light);
    font-weight: 700;
}

/* Inline search form */
.search-form-inline {
    display: flex;
    gap: var(--space-2);
    max-width: 600px;
    margin-top: var(--space-6);
}

.search-form-inline .search-field {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: var(--text-base);
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.search-form-inline .search-field::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-form-inline .search-field:focus {
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.15);
}

.search-form-inline .search-submit {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.search-form-inline .search-submit:hover {
    background: var(--color-primary-dark);
}

.no-results-message {
    text-align: center;
    padding: var(--space-20) 0;
}

.no-results-message svg {
    width: 64px;
    height: 64px;
    fill: var(--color-border);
    margin: 0 auto var(--space-6);
}

.no-results-message h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
}

.no-results-message p {
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

/* ---------------------------------------------------------
   14. Archive / Category / Tag
--------------------------------------------------------- */
.archive-header {
    background: var(--color-dark);
    padding: var(--space-12) 0;
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,48,42,0.2) 0%, transparent 70%);
}

.archive-header__inner {
    position: relative;
    z-index: 1;
}

.archive-kicker {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.archive-kicker::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--color-primary);
}

.archive-header h1 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.archive-description {
    color: rgba(255,255,255,0.65);
    font-size: var(--text-lg);
    max-width: 680px;
    line-height: var(--leading-loose);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    background: var(--color-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}

/* ---------------------------------------------------------
   15. Author Box
--------------------------------------------------------- */
.author-box {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    margin-top: var(--space-12);
    max-width: var(--content-width);
}

@media (max-width: 640px) {
    .author-box { flex-direction: column; }
}

.author-box__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    flex-shrink: 0;
}

.author-box__info {
    flex: 1;
}

.author-box__label {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.author-box__name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: var(--space-3);
}

.author-box__name a {
    color: inherit;
}

.author-box__name a:hover {
    color: var(--color-primary);
}

.author-box__bio {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-4);
}

.author-box__posts-link {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Author Archive Header */
.author-archive-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
}

.author-archive-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
}

/* ---------------------------------------------------------
   16. Pagination
--------------------------------------------------------- */
.pagination,
.posts-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    color: var(--text-main);
    border: 1px solid var(--border);
    background: var(--bg-page);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 var(--space-4);
    gap: var(--space-2);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-numbers.dots {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   17. Breadcrumbs
--------------------------------------------------------- */
.breadcrumbs {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs .sep {
    color: var(--border);
}

.breadcrumbs .current {
    color: var(--text-main);
    font-weight: 500;
}

/* ---------------------------------------------------------
   18. 404
--------------------------------------------------------- */
.error-404-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-20) 0;
}

.error-404-number {
    font-family: var(--font-heading);
    font-size: clamp(100px, 20vw, 240px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.85;
    color: var(--color-primary);
    opacity: 0.15;
    user-select: none;
    display: block;
    margin-bottom: -2rem;
    position: relative;
    z-index: 0;
}

.error-404-content {
    position: relative;
    z-index: 1;
}

.error-404-content h1 {
    font-size: var(--text-4xl);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.error-404-content p {
    color: var(--text-muted);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

/* ---------------------------------------------------------
   19. Utility Classes
--------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.text-center    { text-align: center; }
.text-right     { text-align: right; }
.text-muted     { color: var(--text-muted) !important; }
.text-primary   { color: var(--color-primary) !important; }

.flex           { display: flex; }
.items-center   { align-items: center; }
.gap-2          { gap: var(--space-2); }
.gap-4          { gap: var(--space-4); }

.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }

.tag-pill {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.tag-pill:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* Sticky label */
.sticky-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background: var(--color-accent);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

/* ---------------------------------------------------------
   20. Dark Mode
--------------------------------------------------------- */
[data-theme="dark"] .site-header {
    background: var(--color-dark);
    border-color: var(--color-border-dark);
}

[data-theme="dark"] .post-card {
    background: var(--color-dark-2);
    border-color: var(--color-border-dark);
}

[data-theme="dark"] .widget {
    background: var(--color-dark-2);
    border-color: var(--color-border-dark);
}

[data-theme="dark"] .comment {
    background: var(--color-dark-2);
    border-color: var(--color-border-dark);
}

[data-theme="dark"] .comment-respond {
    background: var(--color-dark-3);
    border-color: var(--color-border-dark);
}

[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
    background: var(--color-dark-2);
    border-color: var(--color-border-dark);
    color: var(--color-white);
}

[data-theme="dark"] .post-navigation a {
    background: var(--color-dark-2);
    border-color: var(--color-border-dark);
}

[data-theme="dark"] .author-box {
    background: var(--color-dark-2);
    border-color: var(--color-border-dark);
}

/* ---------------------------------------------------------
   21. Print
--------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .post-navigation,
    .comments-area,
    .related-posts,
    .breadcrumbs {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .entry-content {
        max-width: 100%;
    }
}
/* ---------------------------------------------------------
   22. Page Template  (page.php — default static pages)
--------------------------------------------------------- */

/* ── Page Header ─────────────────────────────────────── */
.page-header {
    background: var(--color-dark);
    padding: var(--space-12) 0 var(--space-10);
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,48,42,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header__kicker {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.page-header__kicker::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    flex-shrink: 0;
}

.page-header__title {
    color: var(--color-white);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 var(--space-4);
    max-width: 820px;
}

.page-header__subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-lg);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

/* ── Page Article ────────────────────────────────────── */
.page-article {
    min-width: 0;
}

/* ── Featured Image ──────────────────────────────────── */
.page-featured-image {
    margin-bottom: var(--space-10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.page-featured-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Page Content Typography ─────────────────────────── */
.page-entry-content {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-main);
}

.page-entry-content > * + * {
    margin-top: var(--space-6);
}

.page-entry-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border);
    color: var(--text-main);
}

.page-entry-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    color: var(--text-main);
}

.page-entry-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-main);
}

.page-entry-content p {
    margin-bottom: var(--space-6);
}

.page-entry-content ul,
.page-entry-content ol {
    padding-left: var(--space-8);
    margin-bottom: var(--space-6);
}

.page-entry-content li {
    margin-bottom: var(--space-2);
}

.page-entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    background: var(--bg-surface);
    padding: var(--space-6) var(--space-8);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-8) 0;
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-muted);
}

/* ── Edit Link ───────────────────────────────────────── */
.entry-footer .edit-link a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: underline;
}

/* ── Page Links (pagination) ─────────────────────────── */
.page-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
    font-size: var(--text-sm);
    font-family: var(--font-ui);
}

.page-links .page-links-title {
    font-weight: 600;
    margin-right: var(--space-2);
}

.page-links a,
.page-links > span:not(.page-links-title) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .page-header {
        padding: var(--space-10) 0 var(--space-8);
        margin-bottom: var(--space-8);
    }

    .page-header__title {
        font-size: var(--text-3xl);
    }

    .page-header__subtitle {
        font-size: var(--text-base);
    }

    .page-featured-image {
        margin-bottom: var(--space-8);
        border-radius: var(--radius-md);
    }
}

@media (max-width: 480px) {
    .page-header__title {
        font-size: var(--text-2xl);
    }
}

/* ── Dark Mode ───────────────────────────────────────── */
[data-theme="dark"] .page-featured-image {
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

[data-theme="dark"] .page-entry-content blockquote {
    background: var(--color-dark-2);
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE EXTRA SECTIONS
   ─ Top-Rated, Compare Table, Recently Updated,
     Why Trust Us, Newsletter CTA
   ═══════════════════════════════════════════════════════════ */

/* ── Top-Rated Grid ──────────────────────────────────────── */
.top-rated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.top-rated-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.top-rated-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.top-rated-card__rank {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 2;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.top-rated-card__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.top-rated-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-rated-card__body {
    padding: var(--space-4) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.top-rated-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.top-rated-card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.top-rated-card__title a:hover { color: var(--color-primary); }

.top-rated-card__excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

/* ── Comparison Table ─────────────────────────────────────── */
.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.compare-table thead {
    background: var(--color-primary);
    color: #fff;
}

.compare-table th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 700;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.compare-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s;
}

.compare-table tbody tr:last-child { border-bottom: none; }

.compare-table tbody tr:hover { background: var(--bg-hover, rgba(0,0,0,.03)); }

.compare-table td {
    padding: var(--space-3) var(--space-4);
    color: var(--text-secondary);
    vertical-align: middle;
}

.compare-table__name { color: var(--text-primary) !important; }

.compare-table__score {
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--color-primary);
}

.compare-table__score-max {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ── Recently Updated List ────────────────────────────────── */
.updated-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.updated-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-surface);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s;
}

.updated-item:last-child { border-bottom: none; }

.updated-item:hover { background: var(--bg-hover, rgba(0,0,0,.03)); }

.updated-item__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-muted);
}

.updated-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.updated-item__thumb--placeholder {
    background: linear-gradient(135deg, var(--bg-muted) 0%, var(--border-light) 100%);
}

.updated-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.updated-item__cat {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
}

.updated-item__title {
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.updated-item__date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.updated-item__arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.15s, color 0.15s;
}

.updated-item:hover .updated-item__arrow {
    transform: translateX(4px);
    color: var(--color-primary);
}

/* ── Why Trust Us ─────────────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.trust-card {
    background: var(--bg-card, var(--bg-primary));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    transition: box-shadow 0.2s, transform 0.2s;
}

.trust-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trust-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(232,48,42,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.trust-card__icon svg {
    width: 22px;
    height: 22px;
}

.trust-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.trust-card__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Newsletter Band ──────────────────────────────────────── */
.newsletter-band {
    background: linear-gradient(135deg, var(--color-primary) 0%, #b01e1a 100%);
    border-radius: var(--radius-xl, var(--radius-lg));
    padding: var(--space-12) var(--space-10);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.newsletter-band__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.7);
    margin-bottom: var(--space-2);
}

.newsletter-band__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 var(--space-2);
}

.newsletter-band__sub {
    color: rgba(255,255,255,.8);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
}

.newsletter-band__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.newsletter-band__field-wrap {
    display: flex;
    gap: var(--space-2);
}

.newsletter-band__input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: var(--text-sm);
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-band__input::placeholder { color: rgba(255,255,255,.6); }

.newsletter-band__input:focus { border-color: rgba(255,255,255,.8); }

.newsletter-band__btn {
    white-space: nowrap;
    background: #fff !important;
    color: var(--color-primary) !important;
    border-color: #fff !important;
    font-weight: 700;
}

.newsletter-band__btn:hover {
    background: rgba(255,255,255,.9) !important;
}

.newsletter-band__disclaimer {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.6);
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .top-rated-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-rated-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    .newsletter-band {
        grid-template-columns: 1fr;
        padding: var(--space-8);
        gap: var(--space-6);
    }
    .newsletter-band__field-wrap {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .updated-item__thumb {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — VISUAL FILL SECTIONS
   Editor's Picks · Strip Row · Second Grid
   ═══════════════════════════════════════════════════════════ */

/* ── Editor's Picks layout ───────────────────────────────── */
.fp-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-6);
    align-items: stretch;
}

/* Big card */
.fp-big {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 16/10;
    background: var(--bg-muted, #111);
}

.fp-big__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-muted, #1a1a1a);
    transition: transform 0.4s ease;
}

.fp-big:hover .fp-big__img { transform: scale(1.04); }

.fp-big__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}

.fp-big__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.fp-big__cat { align-self: flex-start; }

.fp-big__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

.fp-big__excerpt {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.75);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-big__score {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

/* Side list */
.fp-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.fp-side-item {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    transition: box-shadow 0.2s, border-color 0.2s;
    flex: 1;
}

.fp-side-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.fp-side-item__thumb {
    flex-shrink: 0;
    position: relative;
    width: 90px;
    height: 64px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-muted, #1a1a1a);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.fp-side-item__score {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1;
}

.fp-side-item__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.fp-side-item__cat {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
}

.fp-side-item__title {
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-side-item__date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ── Horizontal Strip ─────────────────────────────────────── */
.strip-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}

.strip-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    transition: box-shadow 0.2s, transform 0.2s;
}

.strip-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.strip-card__img {
    position: relative;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-muted, #111);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-2);
}

.strip-card__cat {
    align-self: flex-start;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1.4;
}

.strip-card__score {
    align-self: flex-end;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

.strip-card__body {
    padding: var(--space-2) var(--space-3) var(--space-3);
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.strip-card__title {
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.strip-card__date {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: auto;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .fp-layout { grid-template-columns: 1fr 320px; }
    .strip-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .fp-layout { grid-template-columns: 1fr; }
    .fp-big { aspect-ratio: 16/9; }
    .strip-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .strip-row { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   PROFESSIONAL HOMEPAGE SECTIONS  v2
   ════════════════════════════════════════════════════════════════ */

/* ── Shared Utilities ─────────────────────────────────────────── */
.afr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.afr-section-head {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.afr-section-head--center {
    justify-content: center;
}

.afr-section-line {
    flex: 1;
    height: 2px;
    background: var(--border-light);
    max-width: 60px;
}

.afr-section-title {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.afr-section-more {
    margin-left: auto;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
}

.afr-section-more:hover { text-decoration: underline; }

.afr-cat-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 3px;
    line-height: 1.4;
}

.afr-score-pill {
    display: inline-block;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
}

.afr-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 700;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .2s;
}

/* ── SPOTLIGHT ────────────────────────────────────────────────── */
.afr-spotlight {
    padding: var(--space-16) 0;
}

.afr-spotlight__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-5);
    align-items: stretch;
}

.afr-spotlight__main {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    min-height: 460px;
    background: #111;
}

.afr-spotlight__main-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    transition: transform .45s ease;
}

.afr-spotlight__main:hover .afr-spotlight__main-img { transform: scale(1.05); }

.afr-spotlight__main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}

.afr-spotlight__main-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: var(--space-7);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.afr-spotlight__main-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.afr-spotlight__main-excerpt {
    color: rgba(255,255,255,.75);
    font-size: var(--text-sm);
    line-height: 1.55;
    margin: 0 0 var(--space-2);
}

/* Side list */
.afr-spotlight__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.afr-spotlight__item {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    text-decoration: none;
    color: var(--text-primary);
    transition: box-shadow .2s, border-color .2s, transform .2s;
    flex: 1;
}

.afr-spotlight__item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border-color: var(--color-primary);
    transform: translateX(3px);
}

.afr-spotlight__item-img {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 68px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    overflow: hidden;
}

.afr-spotlight__item-score {
    position: absolute;
    bottom: 3px; right: 3px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    line-height: 1.4;
}

.afr-spotlight__item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.afr-spotlight__item-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-primary);
}

.afr-spotlight__item-title {
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.afr-spotlight__item-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── BRANDS STRIP ─────────────────────────────────────────────── */
.afr-brands {
    background: var(--bg-surface);
    padding: var(--space-12) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.afr-brands__row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.afr-brand-chip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: background .2s, border-color .2s, box-shadow .2s;
}

.afr-brand-chip:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(232,48,42,.3);
}

.afr-brand-chip__initial {
    width: 28px;
    height: 28px;
    background: rgba(232,48,42,.12);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 800;
    transition: background .2s, color .2s;
}

.afr-brand-chip:hover .afr-brand-chip__initial {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.afr-brand-chip__count {
    font-size: 11px;
    opacity: .6;
}

/* ── NEWS 4-CARD GRID ─────────────────────────────────────────── */
.afr-news-row {
    padding: var(--space-16) 0;
}

.afr-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.afr-news-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.afr-news-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    transform: translateY(-4px);
}

.afr-news-card__img {
    position: relative;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: #111;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-2);
}

.afr-news-card__score {
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 3px;
}

.afr-news-card__body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.afr-news-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.afr-news-card__excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.afr-news-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-light);
}

.afr-news-card__date { font-size: 11px; color: var(--text-muted); }
.afr-news-card__cta { font-size: var(--text-xs); font-weight: 700; color: var(--color-primary); }

/* ── VERDICT BANNER ───────────────────────────────────────────── */
.afr-verdict-banner {
    background: linear-gradient(135deg,#0d1117 0%,#1c2128 60%,#21262d 100%);
    padding: var(--space-16) 0;
    border-top: 3px solid var(--color-primary);
}

.afr-verdict-banner__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-12);
    align-items: center;
}

.afr-verdict-banner__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.afr-verdict-banner__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 var(--space-3);
}

.afr-verdict-banner__sub {
    color: rgba(255,255,255,.6);
    font-size: var(--text-sm);
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
}

.afr-verdict-banner__stats {
    display: flex;
    gap: var(--space-8);
}

.afr-verdict-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.afr-verdict-stat__num {
    font-size: var(--text-3xl);
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.afr-verdict-stat__label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .06em;
    text-align: center;
}

/* ── MOST POPULAR ─────────────────────────────────────────────── */
.afr-popular {
    padding: var(--space-16) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.afr-popular__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.afr-popular-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-primary);
    transition: background .15s;
}

.afr-popular-item:last-child { border-bottom: none; }
.afr-popular-item:hover { background: var(--bg-hover,rgba(0,0,0,.02)); }

.afr-popular-item__rank {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--text-lg);
    font-weight: 900;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.afr-popular-item:nth-child(2) .afr-popular-item__rank { background: #888; }
.afr-popular-item:nth-child(3) .afr-popular-item__rank { background: #a06030; }
.afr-popular-item:nth-child(n+4) .afr-popular-item__rank { background: var(--bg-muted,#222); color: var(--text-muted); }

.afr-popular-item__img {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

.afr-popular-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.afr-popular-item__cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-primary);
}

.afr-popular-item__title {
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.afr-popular-item__meta {
    font-size: 11px;
    color: var(--text-muted);
}

.afr-popular-item__score {
    flex-shrink: 0;
    font-size: var(--text-xl);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.afr-popular-item__score small {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 400;
}

/* ── NEWSLETTER ───────────────────────────────────────────────── */
.afr-newsletter {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg,var(--color-primary) 0%,#9b1b18 100%);
}

.afr-newsletter__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-8);
    align-items: center;
}

.afr-newsletter__icon svg { width: 52px; height: 52px; }

.afr-newsletter__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}

.afr-newsletter__sub {
    color: rgba(255,255,255,.8);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.5;
}

.afr-newsletter__form {
    display: flex;
    gap: var(--space-2);
}

.afr-newsletter__input {
    flex: 1;
    min-width: 220px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: var(--text-sm);
    outline: none;
    transition: border-color .2s;
}

.afr-newsletter__input::placeholder { color: rgba(255,255,255,.6); }
.afr-newsletter__input:focus { border-color: rgba(255,255,255,.9); }

.afr-newsletter__btn {
    padding: var(--space-3) var(--space-6);
    background: #fff;
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}

.afr-newsletter__btn:hover {
    background: rgba(255,255,255,.9);
    transform: translateY(-1px);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .afr-spotlight__grid { grid-template-columns: 1fr 300px; }
    .afr-news-grid { grid-template-columns: repeat(2, 1fr); }
    .afr-verdict-banner__inner { grid-template-columns: 1fr; gap: var(--space-8); }
    .afr-verdict-banner__stats { justify-content: flex-start; }
    .afr-newsletter__inner { grid-template-columns: 1fr; gap: var(--space-4); }
    .afr-newsletter__icon { display: none; }
}

@media (max-width: 768px) {
    .afr-spotlight__grid { grid-template-columns: 1fr; }
    .afr-spotlight__main { min-height: 320px; }
    .afr-news-grid { grid-template-columns: 1fr; }
    .afr-verdict-banner__stats { flex-wrap: wrap; gap: var(--space-6); }
    .afr-newsletter__form { flex-direction: column; }
    .afr-newsletter__input { min-width: unset; }
}

@media (max-width: 480px) {
    .afr-popular-item__img { display: none; }
}


/* ============================================================
   Front-Page Components — compiled from assets/css/_components.scss
   Sections 24, 31–38, 41: section helpers, votw, stats,
   comparisons, expert grid, buying guides, trust, cta band,
   faq accordion, and dark-mode overrides.
   ============================================================ */

.afr-hp-section {
  padding: 4rem 0; }
  @media (max-width: 640px) {
    .afr-hp-section {
      padding: 2.5rem 0; } }
.afr-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border, #E2E8F0);
  padding-bottom: .75rem; }
  .section-header .section-title {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-main, #111418);
    margin: 0; }
    .section-header .section-title::after {
      content: '';
      display: inline-block;
      width: 6px;
      height: 6px;
      background: #E8302A;
      border-radius: 50%;
      margin-left: .5rem;
      vertical-align: middle; }
  .section-header .section-link {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #E8302A;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 150ms ease; }
    .section-header .section-link:hover {
      opacity: .7; }

.afr-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem; }
  .afr-section-head--center {
    justify-content: center; }

.afr-section-line {
  flex: 1;
  height: 1px;
  background: var(--border, #E2E8F0); }

.afr-section-title {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-main, #111418);
  margin: 0;
  white-space: nowrap; }

.afr-section-more {
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #E8302A;
  text-decoration: none;
  white-space: nowrap; }
  .afr-section-more:hover {
    opacity: .7; }

.afr-votw {
  background: var(--bg-surface, #F7F8FA); }
  .afr-votw__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-page, #FFFFFF);
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08); }
    @media (max-width: 768px) {
      .afr-votw__inner {
        grid-template-columns: 1fr;
        gap: 0; } }
  .afr-votw__img-wrap {
    position: relative; }
    @media (max-width: 768px) {
      .afr-votw__img-wrap {
        aspect-ratio: 16 / 9; } }
  .afr-votw__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px; }
    @media (max-width: 768px) {
      .afr-votw__img {
        min-height: unset;
        aspect-ratio: 16 / 9; } }
    .afr-votw__img--placeholder {
      min-height: 320px;
      background: linear-gradient(135deg, #1C2128, #252C35); }
  .afr-votw__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #F5A623;
    color: #111418;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    padding: .35rem .75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: .35rem; }
  .afr-votw__content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem; }
    @media (max-width: 768px) {
      .afr-votw__content {
        padding: 1.5rem; } }
  .afr-votw__meta {
    display: flex;
    align-items: center;
    gap: .75rem; }
  .afr-votw__cat {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    background: rgba(232, 48, 42, 0.1);
    color: #E8302A;
    padding: .25rem .65rem;
    border-radius: 9999px; }
  .afr-votw__date {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .75rem;
    color: var(--text-muted, #718096); }
  .afr-votw__title {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main, #111418);
    line-height: 1.15;
    margin: 0; }
    .afr-votw__title a {
      color: inherit;
      text-decoration: none; }
      .afr-votw__title a:hover {
        color: #E8302A; }
  .afr-votw__excerpt {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: .95rem;
    color: var(--text-muted, #718096);
    line-height: 1.65;
    margin: 0; }
  .afr-votw__rating {
    display: flex;
    align-items: center;
    gap: .75rem; }
  .afr-votw__score {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #E8302A;
    line-height: 1; }
    .afr-votw__score small {
      font-size: .8rem;
      opacity: .6; }
  .afr-votw__stars {
    display: flex;
    gap: .2rem; }
  .afr-votw__specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; }
  .afr-votw__spec {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-main, #111418); }
    .afr-votw__spec svg {
      width: 16px;
      height: 16px;
      color: #E8302A; }

.afr-stats-section {
  background: #111418; }

.afr-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem; }
  @media (max-width: 1024px) {
    .afr-stats-grid {
      grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 600px) {
    .afr-stats-grid {
      grid-template-columns: repeat(2, 1fr); } }
  .afr-stats-grid .section-title {
    color: #fff; }

.afr-stats-section .section-header {
  border-color: rgba(255, 255, 255, 0.1); }
  .afr-stats-section .section-header .section-title {
    color: #fff; }

.afr-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
  transition: background 150ms ease, transform 150ms ease; }
  .afr-stat-item:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px); }
  .afr-stat-item__icon {
    width: 40px;
    height: 40px;
    color: #E8302A; }
    .afr-stat-item__icon svg {
      width: 100%;
      height: 100%; }
  .afr-stat-item__number {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-transform: uppercase; }
  .afr-stat-item__label {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, 0.4); }

.afr-comparison__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem; }
  @media (max-width: 1024px) {
    .afr-comparison__grid {
      grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) {
    .afr-comparison__grid {
      grid-template-columns: 1fr; } }
.afr-comparison-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #1C2128;
  transition: transform 250ms ease, box-shadow 250ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), 0 0 1px rgba(0, 0, 0, 0.05); }
  .afr-comparison-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08); }
  .afr-comparison-card__vs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    background: #E8302A;
    color: #fff;
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: .75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
  .afr-comparison-card__img {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    position: relative; }
  .afr-comparison-card__body {
    padding: .85rem 1rem;
    background: var(--bg-page, #FFFFFF); }
  .afr-comparison-card__title {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main, #111418);
    margin: 0 0 .4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; }
  .afr-comparison-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between; }
  .afr-comparison-card__date {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .7rem;
    color: var(--text-muted, #718096); }
  .afr-comparison-card__score {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: #F5A623; }

.afr-expert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem; }
  @media (max-width: 900px) {
    .afr-expert-grid {
      grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) {
    .afr-expert-grid {
      grid-template-columns: 1fr; } }
.afr-expert-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  min-height: 280px; }
  .afr-expert-card--large {
    grid-row: span 2;
    min-height: 580px; }
    @media (max-width: 900px) {
      .afr-expert-card--large {
        grid-row: span 1;
        min-height: 280px; } }
  .afr-expert-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1C2128;
    transition: transform 400ms ease; }
  .afr-expert-card:hover .afr-expert-card__img {
    transform: scale(1.04); }
  .afr-expert-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%); }
  .afr-expert-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    z-index: 2; }
  .afr-expert-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem; }
  .afr-expert-card__cat {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: rgba(255, 255, 255, 0.7); }
  .afr-expert-card__score {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #F5A623; }
  .afr-expert-card__title {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 .5rem; }
  .afr-expert-card--large .afr-expert-card__title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
  .afr-expert-card__excerpt {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0 0 .75rem; }
  .afr-expert-card__author {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .72rem;
    color: rgba(255, 255, 255, 0.55); }
  .afr-expert-card__avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.3); }
  .afr-expert-card__sep {
    opacity: .4; }

.afr-buying-guides {
  background: var(--bg-surface, #F7F8FA); }

.afr-guides-list {
  display: flex;
  flex-direction: column;
  gap: .75rem; }

.afr-guide-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-page, #FFFFFF);
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 20px;
  text-decoration: none;
  transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), 0 0 1px rgba(0, 0, 0, 0.05); }
  .afr-guide-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-color: rgba(232, 48, 42, 0.2);
    transform: translateX(4px); }
  .afr-guide-item__icon {
    width: 44px;
    height: 44px;
    background: rgba(232, 48, 42, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; }
    .afr-guide-item__icon svg {
      width: 20px;
      height: 20px;
      color: #E8302A; }
  .afr-guide-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .15rem; }
  .afr-guide-item__cat {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #E8302A; }
  .afr-guide-item__title {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-main, #111418);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
  .afr-guide-item__date {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .7rem;
    color: var(--text-muted, #718096); }
  .afr-guide-item__thumb {
    width: 72px;
    height: 52px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #1C2128;
    flex-shrink: 0; }
    @media (max-width: 480px) {
      .afr-guide-item__thumb {
        display: none; } }
  .afr-guide-item__arrow {
    width: 18px;
    height: 18px;
    color: var(--text-muted, #718096);
    flex-shrink: 0;
    transition: color 150ms ease, transform 150ms ease; }
  .afr-guide-item:hover .afr-guide-item__arrow {
    color: #E8302A;
    transform: translateX(3px); }

.afr-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; }
  @media (max-width: 900px) {
    .afr-trust__grid {
      grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) {
    .afr-trust__grid {
      grid-template-columns: 1fr; } }
.afr-trust-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-surface, #F7F8FA);
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow 250ms ease, border-color 250ms ease; }
  .afr-trust-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-color: rgba(232, 48, 42, 0.2); }
  .afr-trust-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(232, 48, 42, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center; }
    .afr-trust-card__icon svg {
      width: 24px;
      height: 24px;
      color: #E8302A; }
  .afr-trust-card__title {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-main, #111418);
    margin: 0; }
  .afr-trust-card__desc {
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .83rem;
    color: var(--text-muted, #718096);
    line-height: 1.65;
    margin: 0; }

.afr-cta-band {
  background: linear-gradient(135deg, #111418 0%, #1C2128 100%);
  padding: 4rem 0; }

.afr-cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto; }

.afr-cta-band__title {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  letter-spacing: .02em; }

.afr-cta-band__sub {
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6; }

.afr-cta-band__search {
  display: flex;
  width: 100%;
  max-width: 500px;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }

.afr-cta-band__input {
  flex: 1;
  padding: .85rem 1.25rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .9rem;
  outline: none; }
  .afr-cta-band__input::placeholder {
    color: rgba(255, 255, 255, 0.35); }
  .afr-cta-band__input:focus {
    background: rgba(255, 255, 255, 0.15); }

.afr-cta-band__btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.4rem;
  background: #E8302A;
  color: #fff;
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease; }
  .afr-cta-band__btn:hover {
    background: #C0211B; }

.afr-cta-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center; }

.afr-cta-tag {
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: .3rem .8rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease; }
  .afr-cta-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff; }

.afr-cta-band__copy {
  display: contents; }

.afr-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .5rem; }

.afr-faq__item {
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-page, #FFFFFF);
  transition: border-color 150ms ease, box-shadow 150ms ease; }
  .afr-faq__item.is-open, .afr-faq__item:hover {
    border-color: rgba(232, 48, 42, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06); }

.afr-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-main, #111418);
  transition: color 150ms ease; }
  .afr-faq__question:hover {
    color: #E8302A; }
  .afr-faq__question[aria-expanded="true"] {
    color: #E8302A; }

.afr-faq__chevron {
  flex-shrink: 0;
  color: var(--text-muted, #718096);
  transition: transform 250ms ease; }
  .is-open .afr-faq__chevron {
    transform: rotate(180deg); }

.afr-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease; }
  .afr-faq__answer[aria-hidden="false"] {
    max-height: 400px; }
  .afr-faq__answer p {
    padding: .25rem 1.25rem 1.25rem;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .875rem;
    color: var(--text-muted, #718096);
    line-height: 1.7;
    margin: 0; }

.dark-mode .hero-stats-strip {
  background: #1C2128;
  border-color: #2D3748; }
  .dark-mode .hero-stats-strip__label {
    color: rgba(255, 255, 255, 0.35); }

/* ── Browse by Category grid ───────────────────────────── */
.afr-car-categories {
  background: var(--bg-surface, #F7F8FA); }

.afr-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; }
  @media (max-width: 1024px) {
    .afr-cat-grid {
      grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 640px) {
    .afr-cat-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: .875rem; } }

.afr-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.5rem 1rem;
  background: var(--bg-page, #FFFFFF);
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
  .afr-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    border-color: var(--cat-color, #E8302A); }

.afr-cat-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cat-color, #E8302A) 10%, transparent);
  border-radius: 12px; }
  .afr-cat-card__icon svg {
    width: 34px;
    height: 34px;
    stroke: var(--cat-color, #E8302A); }

.afr-cat-card__name {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-main, #111418);
  line-height: 1.2; }

.afr-cat-card__count {
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted, #64748B); }

.dark-mode .afr-car-categories,
.dark-mode .afr-buying-guides,
.dark-mode .afr-votw {
  background: #1C2128; }

.dark-mode .afr-cat-card,
.dark-mode .fp-side-item,
.dark-mode .afr-toprated-card,
.dark-mode .afr-news-card,
.dark-mode .afr-trust-card,
.dark-mode .afr-guide-item,
.dark-mode .afr-popular-item,
.dark-mode .afr-faq__item {
  background: #252C35;
  border-color: #2D3748; }

.dark-mode .afr-comparison-card__body {
  background: #252C35; }

.dark-mode .afr-votw__inner {
  background: #252C35;
  border-color: #2D3748; }

.dark-mode .afr-brand-chip {
  background: #252C35;
  border-color: #2D3748; }
  .dark-mode .afr-brand-chip__count {
    background: #1C2128; }

.dark-mode .afr-faq__question {
  color: rgba(255, 255, 255, 0.85); }

.dark-mode .section-header {
  border-color: #2D3748; }
  .dark-mode .section-header .section-title {
    color: rgba(255, 255, 255, 0.9); }

.dark-mode .afr-section-title {
  color: rgba(255, 255, 255, 0.9); }

.dark-mode .afr-section-line {
  background: #2D3748; }

/* =============================================================================
   DUAL LOGO — Light / Dark Mode
   ============================================================================= */

/* Light logo: always visible by default */
.afr-logo--light {
	display: inline-flex !important;
}

/* Dark logo: always hidden by default */
.afr-logo--dark {
	display: none !important;
}

/* In dark mode: swap them */
[data-theme="dark"] .afr-logo--light {
	display: none !important;
}
[data-theme="dark"] .afr-logo--dark {
	display: inline-flex !important;
}

/* Smooth swap */
.afr-logo { transition: opacity 0.2s ease; }

/* Logo sizing — no layout shift */
.afr-logo img,
.custom-logo { max-height: 60px; width: auto; height: auto; }

/* =============================================================================
   ADMIN BAR — Push sticky header below WP toolbar (32px desktop / 46px mobile)
   ============================================================================= */

/* Override the sticky top:0 so header sits below the admin bar */
.admin-bar .site-header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px !important;
	}
}

/* On very small screens WP hides the fixed admin bar — reset to 0 */
@media screen and (max-width: 600px) {
	.admin-bar .site-header {
		top: 0 !important;
	}
}