/**
 * Otosprint.com Custom Design System & Styles
 * Clean Aesthetic with Dark / Light Mode Support
 */

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */

/* Dark Mode (Default) */
:root,
[data-theme="dark"] {
    --bg-primary: #141414;
    --bg-secondary: #282828;
    --bg-tertiary: #333333;
    --bg-glass: rgba(40, 40, 40, 0.85);
    --bg-glass-scrolled: rgba(40, 40, 40, 0.98);
    
    --accent: #ff0000;
    --accent-light: #ff3333;
    --accent-gradient: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 0, 0, 0.4);
    --border-glow: rgba(255, 0, 0, 0.25);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);

    --toggle-sun-display: block;
    --toggle-moon-display: none;
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-scrolled: rgba(255, 255, 255, 0.98);
    
    --accent: #ff0000;
    --accent-light: #cc0000;
    --accent-gradient: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    
    --success: #059669;
    --success-bg: rgba(16, 185, 129, 0.08);
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.08);
    
    --text-primary: #181818;
    --text-secondary: #404040;
    --text-muted: #737373;
    
    --border-color: rgba(40, 40, 40, 0.1);
    --border-hover: rgba(255, 0, 0, 0.4);
    --border-glow: rgba(255, 0, 0, 0.15);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(40, 40, 40, 0.06);
    --shadow-lg: 0 15px 35px rgba(40, 40, 40, 0.08);

    --toggle-sun-display: none;
    --toggle-moon-display: block;
}

/* Common Layout Properties */
:root {
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-16: 64px;

    --radius-control: 12px;
    --radius-card: 16px;
    --radius-media: 24px;
    --shadow-float: 0 12px 32px rgba(15, 23, 42, 0.16);
    --surface-base: var(--bg-primary);
    --surface-raised: var(--bg-secondary);
    --surface-emphasis: var(--bg-tertiary);
    --border-subtle: var(--border-color);

    --text-overline-size: 0.75rem;
    --text-label-size: 0.875rem;
    --text-body-size: 1rem;
    --text-card-title-size: 1.125rem;
    --text-section-title-size: clamp(1.75rem, 3vw, 2rem);
    --text-page-title-size: clamp(2rem, 4vw, 2.5rem);
    --text-hero-title-size: clamp(2.5rem, 7vw, 3.5rem);
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --container-width: 1240px;
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color-scheme: dark light;
}

body {
    background-color: #f1f5f9;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-body-size);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    background-color: #0f172a;
}

/* ==========================================================================
   Flush PWA Web Application Canvas (No Border Radius, Flush Top & Bottom)
   ========================================================================== */
.pwa-app-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0 !important;
    box-sizing: border-box;
}

.pwa-boxed-canvas {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: visible;
    min-height: 100vh;
    background-color: var(--bg-primary);
    position: relative;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Wrapper Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: #0f172a !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.home .site-header:not(.scrolled) {
    background-color: transparent !important;
}

.site-header.scrolled,
body.archive .site-header,
body.single .site-header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.site-logo-img {
    height: 48px;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 0.75rem;
}

.logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff !important;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ef4444 !important;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ef4444 !important;
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-tertiary);
    border: 1px solid #e2e8f0;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.theme-toggle-btn .sun-icon {
    display: var(--toggle-sun-display);
}

.theme-toggle-btn .moon-icon {
    display: var(--toggle-moon-display);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* Hero Header Wrapper (Full Bleed Vehicle Background Photo covering Header) */
.hero-header-wrapper {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.72) 0%, rgba(12, 12, 12, 0.6) 40%, rgba(12, 12, 12, 0.92) 100%),
                url('../images/hero-bg.jpg') center 35% / cover no-repeat;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.header-transparent {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.header-transparent .logo {
    color: #ffffff !important;
}

.header-transparent .logo span {
    background: none !important;
    -webkit-text-fill-color: #ff0000 !important;
    color: #ff0000 !important;
}

.header-transparent .main-nav a {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

.header-transparent .main-nav a:hover,
.header-transparent .main-nav a.active {
    color: #ff0000 !important;
}

.header-transparent .main-nav a::after {
    background: #ff0000 !important;
}

.header-transparent .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.header-transparent .theme-toggle-btn:hover {
    background: rgba(255, 0, 0, 0.3) !important;
    border-color: #ff0000 !important;
}

/* Edmunds Hero Section */
.hero-edmunds {
    padding: 4.5rem 0 6rem;
    text-align: center;
    position: relative;
    color: #ffffff;
}

.hero-title-edmunds {
    font-size: 3.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle-edmunds {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Tiket.com Inspired Hero Search Widget */
.tiket-hero-widget-wrapper {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    padding-top: 0.5rem;
}

/* Floating Pill Navigation Bar (Overlapping Card Top Edge) */
.tiket-hero-nav-bar {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 8px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
    margin-bottom: -28px;
    margin-left: 2rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    max-width: calc(100% - 4rem);
    overflow-x: auto;
    scrollbar-width: none;
}

.tiket-hero-nav-bar::-webkit-scrollbar { display: none; }

.tiket-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: transparent;
    border: none;
    padding: 0.75rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #475569;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tiket-nav-pill:hover {
    color: #0f172a;
    background: #f8fafc;
}

.tiket-nav-pill.active {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.tiket-nav-pill.active .tiket-nav-icon {
    filter: brightness(0) invert(1);
}

.tiket-nav-pill.active .tiket-pill-badge {
    background: #ffffff !important;
    color: #ef4444 !important;
    font-weight: 800;
}

.tiket-nav-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.25s ease;
}

.tiket-pill-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    color: #ffffff;
    line-height: 1;
    transition: all 0.25s ease;
}

.tiket-pill-badge.red,
.tiket-pill-badge.blue {
    background: #ef4444;
}

/* White Elevated Search Card Canvas */
.tiket-search-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem 2rem 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
    text-align: left;
}

.tiket-form-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 0.65rem 0.65rem 0.65rem 1.35rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.tiket-form-row:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.tiket-form-row:focus-within {
    border-color: #ef4444 !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.18), 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
    background: #ffffff;
}

.tiket-input-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tiket-field-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.label-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.tiket-field-input-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tiket-search-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tiket-form-row:focus-within .tiket-search-icon-wrapper {
    background: #ef4444;
    transform: scale(1.05);
}

.tiket-search-icon {
    color: #ef4444;
    transition: color 0.25s ease;
}

.tiket-form-row:focus-within .tiket-search-icon {
    color: #ffffff;
}

.tiket-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.tiket-search-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.tiket-search-input:focus::placeholder {
    opacity: 0.6;
}

.tiket-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 0.9rem 1.85rem;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.38);
    position: relative;
    overflow: hidden;
}

.btn-arrow-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-arrow-icon svg {
    stroke-width: 2.8;
}

.tiket-search-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.tiket-search-btn:hover .btn-arrow-icon {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.35);
}

.tiket-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Card Bottom Promo Bar */
.tiket-card-promo-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.tiket-promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ef4444;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.tiket-promo-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
}

@media (max-width: 767px) {
    .tiket-hero-nav-bar {
        margin-left: 0;
        max-width: 100%;
        margin-bottom: -18px;
    }
    .tiket-search-card {
        padding: 1.75rem 1rem 1rem;
        border-radius: 18px;
    }
    .tiket-form-row {
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem 1rem;
    }
    .tiket-search-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

.search-sparkle-icon {
    color: #ff0000;
    flex-shrink: 0;
}

.floating-search-input {
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #0f172a;
}

.floating-search-input::placeholder {
    color: #94a3b8;
}

.floating-search-input:focus {
    outline: none;
}

.floating-search-submit {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #ffffff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
    white-space: nowrap;
}

.floating-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* Edmunds Bottom Curve SVG Slope */
.hero-bottom-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-bottom-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ==========================================================================
   /* Seamless Unboxed Category Showcase Sections */
/* Grid Wrapper & Card Sections */
.slider-nav-btn {
    display: none !important;
}

.cards-grid-wrapper {
    display: grid;
    width: 100%;
    gap: 1.5rem;
}
.cards-grid-wrapper.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.cards-grid-wrapper.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
    .cards-grid-wrapper.grid-4,
    .cards-grid-wrapper.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .cards-grid-wrapper.grid-4,
    .cards-grid-wrapper.grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Clean Unboxed Card Layout */
.review-card.mockup-vehicle-card,
.article-card-item {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    width: 100%;
}

.topic-showcase {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0 2rem;
    margin-bottom: 1.5rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .topic-showcase {
    background: transparent;
    border: none;
    box-shadow: none;
}

[data-theme="dark"] .topic-showcase {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.topic-showcase:hover {
    border-color: transparent;
    box-shadow: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

/* Racing Red Skewed Badge Section Header (100% Benchmark Matching) */
.section-header-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0;
    border-bottom: none;
}

.section-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-grow: 1;
}

.section-title-badge {
    background: #ff0000;
    color: #ffffff;
    padding: 0.38rem 1.15rem 0.38rem 1rem;
    transform: skewX(-15deg);
    border-radius: 2px;
    margin: 0;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.25);
    flex-shrink: 0;
}

.section-title-badge span {
    display: inline-block;
    transform: skewX(15deg);
    font-size: 0.88rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    line-height: 1;
}

.section-header-line {
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
}

.section-subtitle-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.section-title {
    position: relative;
    font-size: 1.85rem;
    letter-spacing: -0.5px;
}

.view-all-link {
    color: var(--accent-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.view-all-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Empty State Box Styling */
.empty-state-box {
    background-color: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent);
}

.empty-state-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.empty-import-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent-gradient);
    color: #ffffff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    transition: var(--transition);
}

.empty-import-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.45);
}

/* Post Grids (4-Column Layout) */
.reviews-grid,
.reviews-grid.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
}

.reviews-grid.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .reviews-grid,
    .reviews-grid.grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Overlay Card Component (Title Inside Image)
   ========================================================================== */
.overlay-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px !important;
    overflow: hidden !important;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.overlay-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.overlay-card .card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.overlay-card .card-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px !important;
    overflow: hidden !important;
    background-color: var(--bg-tertiary);
}

.overlay-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-card:hover .card-image {
    transform: scale(1.08);
}

.overlay-card .card-overlay-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    padding: 1.1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 28%, transparent 50%);
    transition: var(--transition);
}

/* Powertrain / Vehicle Type Pill Badge (100% Benchmark Matching) */
.card-powertrain-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20 !important;
    pointer-events: none;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease;
}

.overlay-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.overlay-card:hover .card-title {
    transform: translateY(-2px);
}

/* ==========================================================================
   CPT Single Template Details
   ========================================================================== */
.single-backdrop {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 3rem 0 3.5rem;
    color: #ffffff;
    border-bottom: none !important;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    position: relative;
}

.single-backdrop::before {
    display: none !important;
}

.review-badge-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.badge-brand {
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-type {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.single-title {
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.85rem;
}

.single-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    gap: 1.5rem;
}

/* Detail Full Width Layout (No Sidebar) */
.detail-layout {
    display: block;
    width: 100%;
    padding: 2rem 0;
}

/* Sidebar Summary Card */
.sidebar-summary {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: sticky;
    top: 5.5rem;
    box-shadow: var(--shadow-md);
}

.summary-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-price-box {
    margin-bottom: 1.5rem;
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent-light);
}

/* Mini Specs Checklist */
.specs-checklist {
    list-style: none;
    margin-bottom: 1.75rem;
}

.specs-checklist li {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.88rem;
}

.specs-checklist li span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.specs-checklist li span:last-child {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.specs-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    transition: var(--transition);
}

.specs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.45);
}

/* Full Specs Table */
.specs-section {
    margin-top: 3.5rem;
}

.specs-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.specs-group {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.group-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Content block styling */
.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 1.35rem;
    color: var(--text-secondary);
}

.post-content h2,
.post-content h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

/* ==========================================================================
   Archive & Search Page Layouts
   ========================================================================== */
.archive-hero {
    position: relative;
    padding: 3.25rem 0 2.75rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.92) 100%);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.75rem;
    overflow: hidden;
}

.archive-hero-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.archive-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
    letter-spacing: -0.5px;
}

.archive-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 620px;
    margin: 0;
    line-height: 1.5;
}

.archive-hero-pattern-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    max-height: 220px;
    width: auto;
    max-width: 45%;
    object-fit: contain;
    object-position: right center;
    opacity: 0.35 !important;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 2.25rem 0 2rem;
    }
    
    .archive-hero-pattern-img {
        height: 100%;
        max-height: 140px;
        right: -10px;
        opacity: 0.25 !important;
    }
}

.brand-chips-wrapper {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.65rem;
    margin-bottom: 0.85rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.brand-chips-wrapper::-webkit-scrollbar {
    display: none;
}
.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.brand-chip.active,
.brand-chip:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}
.brand-chip .chip-count {
    opacity: 0.75;
    font-size: 0.76rem;
}

.filter-bar {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
    min-width: 200px;
}

.filter-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-btn {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
}

.filter-reset {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
}

.filter-reset:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.pagination .page-numbers {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* Dark Black Footer Theme */
.site-footer,
[data-theme="dark"] .site-footer {
    background-color: #090d16 !important;
    border-top: 1px solid #1e293b !important;
    padding: 4.5rem 0 3rem;
    margin-top: 5rem;
    color: #f8fafc !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1.1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 0;
}

.footer-widget-title::after {
    display: none !important;
}

.footer-desc,
[data-theme="dark"] .footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8 !important;
    margin-bottom: 1.5rem;
}

/* Social Buttons */
.footer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-btn,
[data-theme="dark"] .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease;
}

.social-btn:hover,
[data-theme="dark"] .social-btn:hover {
    border-color: #ef4444 !important;
    color: #ffffff !important;
    background-color: #ef4444 !important;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
[data-theme="dark"] .footer-links a {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
[data-theme="dark"] .footer-links a:hover {
    color: #ef4444 !important;
}

/* Contact Items */
.footer-contact-item,
[data-theme="dark"] .footer-contact-item {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8 !important;
    margin-bottom: 0.75rem;
}

.footer-icon-item svg,
[data-theme="dark"] .footer-icon-item svg {
    color: #0284c7 !important;
    flex-shrink: 0;
}

/* Newsletter Form */
.footer-newsletter-form {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    max-width: 320px;
}

.footer-newsletter-input,
[data-theme="dark"] .footer-newsletter-input {
    flex-grow: 1;
    border: 1px solid #334155 !important;
    border-right: none !important;
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 4px 0 0 4px;
    background-color: #0f172a !important;
    color: #ffffff !important;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: #0284c7 !important;
}

.footer-newsletter-btn {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border: none;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer-newsletter-btn:hover {
    background-color: #dc2626 !important;
}

.footer-bottom,
[data-theme="dark"] .footer-bottom {
    border-top: 1px solid #1e293b !important;
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b !important;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-summary {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-table-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ==========================================================================
   Oto.com Single Vehicle Sub-Nav & Tabbed Layout
   ========================================================================== */

.single-vehicle-subnav-wrapper {
    background: var(--bg-primary);
    border: none !important;
    border-bottom: none !important;
    position: sticky;
    top: 70px;
    z-index: 99;
    box-shadow: none !important;
    margin-bottom: 1.5rem;
}

.single-vehicle-subnav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.single-vehicle-subnav::-webkit-scrollbar {
    display: none;
}

.subnav-tab-item {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.subnav-tab-item svg {
    display: none !important;
}

.subnav-tab-item:hover {
    color: #ff0000;
}

.subnav-tab-item.active {
    color: #ff0000;
    border-bottom-color: #ff0000;
    font-weight: 700;
}

/* Oto.com Specification Overview Card */
.oto-spec-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin: 1.75rem 0 2.5rem;
    max-width: 680px;
    width: 100%;
}

.oto-spec-card-header {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.oto-spec-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.oto-spec-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.oto-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 0.92rem;
    transition: background 0.15s ease;
}

.oto-spec-row:nth-child(2n) {
    border-right: none;
}

.oto-spec-row:hover {
    background: rgba(255, 0, 0, 0.02);
}

@media (max-width: 640px) {
    .oto-spec-table {
        grid-template-columns: 1fr;
    }
    .oto-spec-row {
        border-right: none;
    }
}

.oto-spec-row:last-child {
    border-bottom: none;
}

/* Specification overview metric cards */
.oto-spec-table {
    gap: 0;
    padding: 0;
}

.oto-spec-row.oto-spec-metric {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    display: flex;
    gap: 1rem;
    min-height: 0;
    padding: 1.1rem 1.5rem;
}

.oto-spec-row.oto-spec-metric:nth-child(2n) {
    border-left: 0;
}

.oto-spec-row.oto-spec-metric:last-child {
    border-bottom: 0;
}

.oto-spec-metric .oto-spec-label {
    font-size: 0.9rem;
    font-weight: 500;
    gap: 0.75rem;
    text-transform: none;
}

.oto-spec-metric .oto-spec-label img {
    height: 1rem;
    width: 1rem;
}

.oto-spec-metric .oto-spec-value {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-left: auto;
    text-align: right;
}

@media (max-width: 640px) {
    .oto-spec-table {
        padding: 0;
    }

    .oto-spec-row.oto-spec-metric {
        border-left: 0;
        padding: 1rem 1.25rem;
    }
}

.oto-spec-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.oto-spec-label svg {
    stroke: var(--text-secondary);
    flex-shrink: 0;
}

.oto-spec-label img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: invert(43%) sepia(10%) saturate(1044%) hue-rotate(178deg) brightness(93%) contrast(88%);
}

[data-theme="dark"] .oto-spec-label img {
    filter: brightness(0) invert(1);
}

.oto-spec-value {
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

.oto-spec-card-footer {
    padding: 1rem 1.5rem;
    background: transparent;
    border-top: 0;
    text-align: left;
}

.oto-spec-link {
    color: #e53e3e;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.oto-spec-link:hover {
    color: var(--accent);
    transform: translateX(3px);
}

/* Single Tab Panels */
.single-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.single-tab-panel.active {
    display: block;
}

/* Oto.com Benchmark Variant Accordion Card - Clean & Crisp */
.oto-accordion-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.oto-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg, #ffffff);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.oto-accordion-card.is-expanded .oto-accordion-header {
    background: #1e293b !important;
    color: #ffffff !important;
}

.variant-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: var(--text-primary, #0f172a);
    transition: color 0.2s ease;
}

.oto-accordion-card.is-expanded .variant-name {
    color: #ffffff !important;
}

.variant-sub {
    font-size: 0.88rem;
    color: var(--text-secondary, #64748b);
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.oto-accordion-card.is-expanded .variant-sub {
    color: #94a3b8 !important;
}

.variant-price {
    font-size: 1rem;
    font-weight: 800;
    color: #ff4500;
    transition: color 0.2s ease;
}

.oto-accordion-card.is-expanded .variant-price {
    color: #38bdf8 !important;
}

[data-theme="dark"] .oto-accordion-card:not(.is-expanded) .variant-name {
    color: #000000;
}

[data-theme="dark"] .oto-accordion-card:not(.is-expanded) .variant-sub,
[data-theme="dark"] .oto-accordion-card:not(.is-expanded) .variant-price {
    color: #475569;
}

.oto-accordion-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.oto-accordion-card.is-expanded .oto-accordion-toggle-btn {
    color: #ffffff !important;
}

.oto-accordion-card.is-expanded .chevron-icon {
    transform: rotate(180deg);
}

/* Accordion Body & Sub-tab Navigation */
.oto-accordion-body {
    display: none;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.oto-accordion-card.is-expanded .oto-accordion-body {
    display: block;
}

.oto-subtab-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    scrollbar-width: none;
}

.oto-subtab-carousel {
    padding: 0 2.75rem;
    position: relative;
}

.oto-subtab-scroll-control {
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.35rem;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 1rem;
    transform: translateY(-50%);
    width: 2rem;
    z-index: 1;
}

.oto-subtab-scroll-control--prev { left: 0; }
.oto-subtab-scroll-control--next { right: 0; }

.oto-subtab-nav::-webkit-scrollbar {
    display: none;
}

/* Native vehicle gallery carousel */
.oto-gallery-carousel {
    outline: none;
}

.oto-gallery-stage {
    aspect-ratio: 16 / 10;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.oto-gallery-slide {
    display: none;
    height: 100%;
}

.oto-gallery-slide.is-active {
    display: block;
}

.oto-gallery-slide img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.oto-gallery-control {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.2);
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    font-size: 2rem;
    height: 2.8rem;
    justify-content: center;
    line-height: 1;
    padding: 0 0 0.2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    z-index: 2;
}

.oto-gallery-control--prev { left: 1rem; }
.oto-gallery-control--next { right: 1rem; }

.oto-gallery-indicator {
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    bottom: 1rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    position: absolute;
    right: 1rem;
}

.oto-gallery-thumbs {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 0.85rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.4rem;
}

.oto-gallery-thumb {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 0.55rem;
    cursor: pointer;
    flex: 0 0 auto;
    height: 4rem;
    opacity: 0.62;
    overflow: hidden;
    padding: 0;
    width: 5.5rem;
}

.oto-gallery-thumb.is-active {
    border-color: var(--primary-color);
    opacity: 1;
}

.oto-gallery-thumb img { height: 100%; object-fit: cover; width: 100%; }

[data-theme="dark"] .oto-gallery-control {
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 640px) {
    .oto-subtab-carousel { padding: 0; }
    .oto-subtab-scroll-control { display: none; }
    .oto-gallery-control { height: 2.5rem; width: 2.5rem; }
    .oto-gallery-control--prev { left: 0.7rem; }
    .oto-gallery-control--next { right: 0.7rem; }
    .oto-gallery-thumb { height: 3.25rem; width: 4.5rem; }
}

.oto-subtab-pill {
    align-items: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: inline-flex;
    gap: 0.55rem;
    min-height: 2.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.oto-subtab-pill:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.oto-subtab-pill.active {
    background: #e0f7fa !important;
    color: #00a8cc !important;
    border-color: #00a8cc !important;
    font-weight: 700;
}

.oto-subtab-icon {
    height: 0.9rem;
    flex-shrink: 0;
    opacity: 0.72;
    width: 0.9rem;
}

.oto-subtab-pill.active .oto-subtab-icon {
    filter: invert(51%) sepia(77%) saturate(804%) hue-rotate(145deg) brightness(87%) contrast(101%);
    opacity: 1;
}

[data-theme="dark"] .oto-subtab-pill:not(.active) .oto-subtab-icon {
    filter: brightness(0) invert(1);
}

/* 2-Column Spec Grid Table */
.oto-cat-panel {
    display: none;
}

.oto-cat-panel.active {
    display: block;
}

.oto-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.oto-grid-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}

.oto-grid-cell span {
    color: var(--text-secondary);
}

.oto-grid-cell strong {
    color: var(--text-primary);
    font-weight: 700;
    text-align: right;
}

@media (max-width: 768px) {
    .oto-grid-2col {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Mobil model variants: scoped public layout refinement. */
body.single-mobil .oto-variants-wrapper .oto-accordion-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: none;
    margin-bottom: 1rem;
}

body.single-mobil .oto-variants-wrapper .oto-accordion-card.is-expanded {
    box-shadow: inset 0 3px 0 var(--accent);
}

body.single-mobil .oto-variants-wrapper .oto-accordion-header,
body.single-mobil .oto-variants-wrapper .oto-accordion-card.is-expanded .oto-accordion-header {
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 1.125rem 1.25rem;
}

body.single-mobil .oto-variants-wrapper .oto-header-info {
    align-items: center;
    display: flex;
    gap: 0.8rem;
    min-width: 0;
}

body.single-mobil .oto-variants-wrapper .variant-name,
body.single-mobil .oto-variants-wrapper .oto-accordion-card.is-expanded .variant-name {
    color: var(--text-primary) !important;
    font-size: 1rem;
    margin: 0;
}

body.single-mobil .oto-variant-price-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.32rem 0.65rem;
    white-space: nowrap;
}

body.single-mobil .oto-variants-wrapper .oto-accordion-toggle-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary) !important;
    height: 2.15rem;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease;
    width: 2.15rem;
}

body.single-mobil .oto-variants-wrapper .oto-accordion-card.is-expanded .oto-accordion-toggle-btn {
    transform: rotate(180deg);
}

body.single-mobil .oto-variants-wrapper .oto-accordion-body {
    background: transparent;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
}

body.single-mobil .oto-variants-wrapper .oto-variant-group {
    margin-top: 1.9rem;
}

body.single-mobil .oto-variants-wrapper .oto-variant-group:first-child {
    margin-top: 0;
}

body.single-mobil .oto-variants-wrapper .oto-variant-group h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

body.single-mobil .oto-variants-wrapper .oto-subtab-carousel {
    margin-bottom: 1rem;
}

body.single-mobil .oto-variants-wrapper .oto-grid-2col {
    column-gap: 2rem;
    row-gap: 0;
}

body.single-mobil .oto-variants-wrapper .oto-grid-cell {
    padding: 0.875rem 0;
}

body.single-mobil .oto-variants-wrapper .oto-grid-cell span {
    padding-right: 1rem;
}

body.single-mobil .oto-variants-wrapper .oto-grid-cell strong {
    text-align: right;
}

@media (max-width: 767px) {
    body.single-mobil .oto-variants-wrapper .oto-accordion-header {
        padding: 0.9rem 1rem;
    }

    body.single-mobil .oto-variants-wrapper .oto-header-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    body.single-mobil .oto-variants-wrapper .oto-accordion-body {
        padding: 1rem;
    }

    body.single-mobil .oto-variants-wrapper .oto-grid-2col {
        gap: 0;
        grid-template-columns: 1fr;
    }

    body.single-mobil .oto-variants-wrapper .oto-grid-cell {
        min-height: 3.1rem;
        padding: 0.8rem 0;
    }
}

/* ==========================================================================
   Native Mobile & Web App UI Revamp
   ========================================================================== */

/* Native Bottom App Navigation Bar (Hidden on Desktop, Visible on Mobile Only) */
.app-bottom-nav {
    display: none !important;
}

@media (max-width: 768px) {
    .app-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        align-items: center;
        justify-content: space-around;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    }
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.app-nav-item svg {
    stroke-width: 2.2px;
    transition: transform 0.2s ease;
}

.app-nav-item:hover,
.app-nav-item.active {
    color: #ff0000;
}

.app-nav-item.active svg {
    transform: translateY(-2px);
}

/* Adjust page padding for bottom navbar (Zero on desktop, padded on mobile) */
.pwa-boxed-canvas {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .pwa-boxed-canvas {
        padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    }
}

/* Native App Single Review Banner */
.app-single-banner {
    width: 100%;
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.app-banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.app-badge-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.app-badge-brand {
    background: #ff0000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.app-badge-type,
.app-badge-tag {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

.app-vehicle-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.5rem 0;
    line-height: 1.25;
}

.app-vehicle-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.app-banner-media {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    line-height: 0;
    background: #000000;
}

.app-hero-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.app-banner-media:hover .app-hero-img {
    transform: scale(1.03);
}

.app-price-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    backdrop-filter: blur(8px);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* App Pill Tabs Bar */
.app-pill-tabs-wrapper {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 99;
    padding: 0.75rem 0;
}

.app-pill-tabs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.app-pill-tabs::-webkit-scrollbar {
    display: none;
}

.oto-price-list__note {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0 1.5rem;
}

.oto-price-list__rows {
    display: grid;
    gap: 0.75rem;
}

.oto-price-list__row {
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-primary);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.125rem;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.oto-price-list__row:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.oto-price-list__variant {
    font-weight: 700;
}

.oto-price-list__row strong {
    color: var(--primary-color);
    white-space: nowrap;
}

@media (max-width: 520px) {
    .oto-price-list__row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.app-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-pill-item:hover {
    color: #ff0000;
    border-color: #ff0000;
}

.app-pill-item.active {
    background: #ff0000 !important;
    color: #ffffff !important;
    border-color: #ff0000 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .app-banner-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .app-hero-img {
        height: 200px;
    }
    .app-vehicle-title {
        font-size: 1.75rem;
    }
}

/* Detail Hero: minimal editorial layout */
.app-single-banner {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: clamp(2rem, 5vw, 4.5rem) 2rem;
    position: relative;
}

.app-single-banner::before {
    background: var(--primary-color);
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    top: 0;
    width: 5rem;
}

.app-banner-grid {
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin: 0 auto;
    max-width: 72.5rem;
}

.app-banner-info {
    max-width: 38rem;
}

.app-hero-eyebrow {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.125rem;
}

.app-vehicle-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 0;
}

.app-vehicle-meta {
    margin-top: 1rem;
}

.app-hero-price {
    border-left: 3px solid var(--primary-color);
    display: grid;
    gap: 0.25rem;
    margin-top: 2rem;
    padding-left: 1rem;
}

.app-hero-price span {
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-hero-price strong {
    color: var(--text-primary);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    letter-spacing: -0.02em;
}

.app-banner-media {
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.14);
}

.app-hero-img {
    height: clamp(15rem, 30vw, 22rem);
}

.app-hero-image-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 48%, rgba(15, 23, 42, 0.08));
    inset: 0;
    pointer-events: none;
    position: absolute;
}

[data-theme="dark"] .app-single-banner {
    background: #101827;
}

[data-theme="dark"] .app-hero-price strong {
    color: #ffffff;
}

[data-theme="dark"] .app-banner-media {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .app-hero-image-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%, rgba(0, 0, 0, 0.26));
}

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

    .app-banner-media {
        order: 2;
    }
}

@media (max-width: 520px) {
    .app-single-banner {
        padding: 2rem 1.25rem;
    }

    .app-hero-img {
        height: 14rem;
    }
}

/* Benchmark Matching Brand Showcase Carousel */
.brand-showcase-wrapper {
    background: var(--bg-secondary);
    padding: 2.25rem 0;
}

.brand-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-segmented-control {
    display: inline-flex;
    background: var(--bg-primary);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.brand-filter-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.brand-filter-btn:hover {
    color: var(--text-primary);
}

.brand-filter-btn.active {
    background: #ff0000 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

.brand-grid-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem 1.1rem;
    padding: 0.5rem 0 1.25rem;
    transition: all 0.4s ease;
}

.brand-tile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: calc((100% - 7 * 1.1rem) / 8);
    min-width: 110px;
    flex-shrink: 0;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo-card {
    width: 100%;
    height: 80px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

[data-theme="dark"] .brand-logo-card {
    background: #ffffff;
}

.brand-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.brand-card-initial {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff0000;
}

.brand-card-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    transition: color 0.2s ease;
}

.brand-tile-card:hover {
    transform: translateY(-4px);
}

.brand-tile-card:hover .brand-logo-card {
    border-color: #ff0000;
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.2);
}

.brand-tile-card:hover .brand-card-img {
    transform: scale(1.08);
}

.brand-tile-card:hover .brand-card-label {
    color: #ff0000;
}

/* Red Outline Pill Button (LIHAT LAINNYA...) */
.brand-expand-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}

.brand-expand-pill-btn {
    background: transparent;
    color: #ff0000;
    border: 2px solid #ff0000;
    border-radius: 50px;
    padding: 0.65rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
}

.brand-expand-pill-btn:hover {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .brand-tile-card {
        width: 90px;
    }
    .brand-logo-card {
        width: 90px;
        height: 68px;
        padding: 8px;
    }
}

/* Stacked Article Card Layout (Title & Date OUTSIDE / BELOW Image) */
.article-card-item {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px !important;
    overflow: hidden !important;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    background: var(--bg-tertiary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.85rem;
}

.article-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px !important;
    transition: transform 0.35s ease;
}

.article-card-item:hover .article-card-img {
    transform: scale(1.07);
}

.article-card-item .article-badge-news {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    padding: 4px 11px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: transform 0.2s ease !important;
}

.article-card-body {
    padding: 0 0.1rem;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.65rem;
    margin-bottom: 0.45rem;
}

.meta-dot {
    margin: 0 6px;
    color: var(--text-muted);
}

.article-card-item .article-card-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.article-card-item:hover .article-card-title {
    color: #ff0000 !important;
}

/* Powertrain / Vehicle Type Pill Badge (100% Benchmark Matching) */
.card-powertrain-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease;
}

.overlay-card:hover .card-powertrain-badge {
    transform: scale(1.05);
}

/* Badge Color Variants */
.card-powertrain-badge.badge-hev {
    background: #0284c7; /* Vibrant Eco Blue - 100% matching screenshot */
}

.card-powertrain-badge.badge-bev {
    background: #059669; /* Emerald Electric Green */
}

.card-powertrain-badge.badge-ice {
    background: rgba(18, 18, 18, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-powertrain-badge.badge-manual {
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Homepage Slider Carousels (CSS Scroll Snap)
   ========================================================================== */
.slider-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 0.5rem 0.25rem 1.5rem; /* Space for card shadows and scroll clipping */
    margin: 0 -0.25rem -1.5rem;
}

.slider-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    min-width: 100%;
    gap: 1.5rem !important;
}

/* 4 columns slider elements (Mobil, Motor, Sepeda) */
.slider-track.grid-4 > * {
    flex: 0 0 calc(25% - 1.125rem) !important;
    width: calc(25% - 1.125rem) !important;
    scroll-snap-align: start;
}

/* 3 columns slider elements (Artikel) */
.slider-track.grid-3 > * {
    flex: 0 0 calc(33.333% - 1rem) !important;
    width: calc(33.333% - 1rem) !important;
    scroll-snap-align: start;
}

/* Header alignments */
.section-header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slider-container .slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

[data-theme="dark"] .slider-container .slider-nav-btn {
    background: #1e293b;
    color: #ffffff;
    border-color: #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slider-container .slider-nav-btn.prev-btn {
    left: -22px;
}

.slider-container .slider-nav-btn.next-btn {
    right: -22px;
}

.slider-container .slider-nav-btn:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.slider-container .slider-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-container .slider-nav-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.slider-nav-btn svg {
    display: block;
}

@media (min-width: 769px) {
    .slider-track.grid-4 > * {
        flex: 0 0 calc(33.333% - 1rem) !important;
        width: calc(33.333% - 1rem) !important;
    }
}

@media (max-width: 768px) {
    .slider-container .slider-nav-btn {
        display: inline-flex !important;
        top: auto;
        bottom: 0;
        width: 36px;
        height: 36px;
        transform: none;
    }

    .slider-container .slider-nav-btn.prev-btn {
        right: 44px;
        left: auto;
    }

    .slider-container .slider-nav-btn.next-btn {
        right: 0;
    }

    .slider-container .slider-nav-btn:hover,
    .slider-container .slider-nav-btn:active {
        transform: none;
    }
}

/* Responsive configurations */
@media (max-width: 992px) {
    .slider-track.grid-4 > *,
    .slider-track.grid-3 > * {
        flex: 0 0 calc(50% - 0.75rem) !important;
        width: calc(50% - 0.75rem) !important;
    }
}

@media (max-width: 576px) {
    .slider-track.grid-4 > *,
    .slider-track.grid-3 > * {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

/* Mobile app shell overrides must follow legacy app-navigation styles. */
@media (max-width: 768px) {
    .site-header .main-nav,
    .mobile-nav-toggle {
        display: none !important;
    }

    .site-header .container {
        min-height: 68px;
        padding-inline: 24px;
    }

    .theme-toggle-btn {
        position: fixed;
        top: 50%;
        right: 16px;
        z-index: 10000;
        width: 48px;
        height: 48px;
        transform: translateY(-50%);
        border-color: var(--border-color);
        background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
        backdrop-filter: blur(12px);
    }

    .theme-toggle-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .theme-toggle-btn:focus-visible,
    .app-nav-item:focus-visible {
        outline: 3px solid var(--accent);
        outline-offset: 3px;
    }

    .app-bottom-nav {
        left: 0;
        transform: none;
        max-width: none;
        height: auto;
        min-height: 68px;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
        border-top: 1px solid var(--border-subtle);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.1);
        overflow: clip;
        backdrop-filter: blur(18px);
    }

    .app-nav-item {
        min-width: 56px;
        min-height: 52px;
        padding: 6px 8px;
    }

    .app-nav-item::before {
        content: '';
        width: 18px;
        height: 3px;
        border-radius: 999px;
        background: transparent;
    }

    .app-nav-item.active::before {
        background: var(--accent);
    }

    .app-nav-item.active svg {
        transform: none;
    }

    .pwa-boxed-canvas {
        padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobil model variant selector: Option 1 Solid Dark / Accent Pill Badge */
body.single-mobil .oto-variants-wrapper .section-title {
    margin-bottom: 1.5rem !important;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.single-mobil .oto-variants-wrapper .oto-variant-tablist {
    display: flex;
    gap: 0.65rem;
    margin: 0 0 1.75rem !important;
    padding: 0.25rem 0 0.5rem;
    background: transparent;
    border: none;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}

body.single-mobil .oto-variants-wrapper .oto-variant-tablist::-webkit-scrollbar { display: none; }

body.single-mobil .oto-variants-wrapper .oto-variant-tab {
    min-height: 42px;
    padding: 0.6rem 1.35rem;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: 999px;
    color: var(--text-secondary, #475569);
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.single-mobil .oto-variants-wrapper .oto-variant-tab:hover:not(.is-active) {
    color: var(--text-primary, #0f172a);
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

body.single-mobil .oto-variants-wrapper .oto-variant-tab.is-active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
}

[data-theme="dark"] body.single-mobil .oto-variants-wrapper .oto-variant-tab {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] body.single-mobil .oto-variants-wrapper .oto-variant-tab.is-active {
    background: var(--accent, #ef4444) !important;
    border-color: var(--accent, #ef4444) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel { display: none; }
body.single-mobil .oto-variants-wrapper .oto-variant-panel.is-active { display: block; }

/* Specifications Tab Panel Layout & Component Padding Fine-Tuning */
body.single-mobil .oto-variants-wrapper .oto-variant-panels .oto-variant-panel {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-top: 1rem;
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel__meta {
    margin-bottom: 1.25rem;
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel .oto-variant-price-badge {
    display: inline-flex;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel .oto-variant-group {
    margin-top: 2.5rem !important;
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel .oto-variant-group:first-child {
    margin-top: 0 !important;
}

body.single-mobil .oto-variants-wrapper .oto-variant-group h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 1.25rem !important;
    letter-spacing: -0.01em;
}

body.single-mobil .oto-variants-wrapper .oto-subtab-carousel {
    padding: 0 2.5rem;
    margin-bottom: 1.5rem !important;
}

body.single-mobil .oto-variants-wrapper .oto-subtab-nav {
    gap: 0.6rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    border-bottom: none;
}

body.single-mobil .oto-variants-wrapper .oto-subtab-pill {
    padding: 0.65rem 1.15rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    min-height: 42px;
}

body.single-mobil .oto-variants-wrapper .oto-subtab-pill.active {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

body.single-mobil .oto-variants-wrapper .oto-subtab-pill.active .oto-subtab-icon {
    filter: brightness(0) invert(1);
}

body.single-mobil .oto-variants-wrapper .oto-grid-2col {
    column-gap: 2.5rem;
    row-gap: 0;
}

body.single-mobil .oto-variants-wrapper .oto-grid-cell {
    padding: 0.875rem 0.25rem !important;
    min-height: 2.75rem;
    border-bottom: 1px dashed var(--border-color, #e2e8f0);
    align-items: center;
}

body.single-mobil .oto-variants-wrapper .oto-grid-cell span {
    font-size: 0.875rem;
    color: var(--text-secondary, #64748b);
    font-weight: 500;
    padding-right: 1rem;
}

body.single-mobil .oto-variants-wrapper .oto-grid-cell strong {
    font-size: 0.9rem;
    color: var(--text-primary, #0f172a);
    font-weight: 600;
    text-align: right;
}

@media (max-width: 767px) {
    body.single-mobil .oto-variants-wrapper .oto-variant-panels .oto-variant-panel {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }
    body.single-mobil .oto-variants-wrapper .oto-subtab-carousel {
        padding: 0;
    }
    body.single-mobil .oto-variants-wrapper .oto-grid-cell {
        padding: 0.8rem 0 !important;
    }
    body.single-mobil .oto-variants-wrapper .oto-variant-tablist {
        gap: 0.65rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Reverted Overlay Card Layout matching mockup */
.review-card.overlay-card {
    position: relative;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border-color);
    width: 100%;
}

.review-card.overlay-card:hover {
    transform: scale(1.02);
    border-color: #ff0000;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
}

.review-card.overlay-card .card-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.review-card.overlay-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.35s ease;
}

.review-card.overlay-card:hover .card-image {
    transform: scale(1.05);
}

.review-card.overlay-card .card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.2rem 1.25rem 1.1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 5;
}

.review-card.overlay-card .card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.2px;
}

.review-card.overlay-card .card-powertrain-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
}

.review-card.overlay-card .card-powertrain-badge.badge-hev {
    background: rgba(2, 132, 199, 0.82);
}

.review-card.overlay-card .card-powertrain-badge.badge-bev {
    background: rgba(5, 150, 105, 0.82);
}

.review-card.overlay-card .card-powertrain-badge.badge-ice {
    background: rgba(18, 18, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.review-card.overlay-card .card-powertrain-badge.badge-manual {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* =====================================================================
   Latest Review Cards — homepage directory layout
   ===================================================================== */
.latest-review-card,
.latest-article-card {
    display: flex;
    flex-direction: column;
    min-height: 23rem;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--card-bg, #ffffff);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.latest-review-card:hover,
.latest-article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.38);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.latest-review-card__media,
.latest-article-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.latest-review-card__image-link,
.latest-article-card__image-link {
    display: block;
    height: 100%;
}

.latest-review-card__image,
.latest-article-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.latest-review-card:hover .latest-review-card__image,
.latest-article-card:hover .latest-article-card__image {
    transform: scale(1.05);
}

.latest-review-card__badge,
.latest-article-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    background: #ff0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.28);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.latest-review-card__image-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 2.6rem 1rem 0.85rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 100%);
}

.latest-review-card__image-title .latest-review-card__title {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.latest-review-card__image-title .latest-review-card__title a,
.latest-review-card__image-title .latest-review-card__title a:hover {
    color: inherit;
}

.latest-review-card__body,
.latest-article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.latest-review-card__eyebrow,
.latest-article-card__date {
    margin: 0 0 0.35rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.latest-article-card__heading {
    min-height: 72px;
}

.latest-review-card__title,
.latest-article-card__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
}

.latest-review-card__title a,
.latest-article-card__title a {
    color: inherit;
    text-decoration: none;
}

.latest-review-card__title a:hover,
.latest-article-card__title a:hover {
    color: #e11d48;
}

.latest-review-card__year {
    margin: 0 0 0.85rem;
    color: #64748b;
    font-size: 0.82rem;
}

.latest-review-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
    margin: 1rem 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.latest-review-card__specs div {
    min-width: 0;
    min-height: 34px;
}

.latest-review-card__specs dt {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0 0 0.22rem;
    color: #64748b;
    font-size: 0.68rem;
    line-height: 1.25;
}

.latest-review-card__spec-icon {
    display: inline-grid;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    place-items: center;
    color: #ef4444;
}

.latest-review-card__spec-icon svg {
    width: 13px;
    height: 13px;
}

.latest-review-card__spec-icon img {
    width: 13px;
    height: 13px;
    filter: invert(39%) sepia(84%) saturate(2489%) hue-rotate(338deg) brightness(100%) contrast(89%);
}

.latest-review-card__specs dd {
    overflow: hidden;
    margin: 0;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-review-card__cta,
.latest-article-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.latest-review-card__cta {
    padding-top: 0.05rem;
}

.latest-review-card__cta span,
.latest-article-card__cta span {
    color: #e11d48;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.latest-review-card__cta:hover span,
.latest-article-card__cta:hover span {
    transform: translateX(3px);
}

.latest-article-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.7rem 0 1rem;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-article-card__heading {
    min-height: 66px;
}

.latest-review-card a:focus-visible,
.latest-article-card a:focus-visible {
    outline: 3px solid #fb7185;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .slider-track.grid-4 > *,
    .slider-track.grid-3 > * {
        flex: 0 0 calc(84% - 0.5rem) !important;
        width: calc(84% - 0.5rem) !important;
    }
}

/* ===========================================================================
   Visual system: homepage and vehicle detail polish
   ========================================================================== */
.hero-title-edmunds {
    font-size: var(--text-hero-title-size);
    line-height: 1.05;
    max-width: 12ch;
    margin-inline: auto;
}

.hero-subtitle-edmunds {
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.55;
}

.floating-search-form {
    gap: var(--space-2);
    border-radius: var(--radius-control);
    padding: var(--space-2);
    padding-left: var(--space-5);
}

.floating-search-input,
.floating-search-submit {
    min-height: 48px;
    border-radius: var(--radius-control);
}

.topic-showcase {
    margin-bottom: var(--space-16);
    padding-block: 0;
}

.section-header,
.section-header-badge {
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.section-title {
    font-size: var(--text-section-title-size);
    line-height: 1.2;
}

.section-subtitle-tag,
.latest-review-card__eyebrow,
.latest-article-card__date {
    font-size: var(--text-overline-size);
    letter-spacing: 0.08em;
}

.floating-search-submit,
.empty-import-btn {
    min-height: 44px;
    border-radius: var(--radius-control);
    font-weight: 700;
}

.view-all-link {
    min-height: 44px;
    font-size: var(--text-label-size);
    font-weight: 700;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-float);
}

.brand-filter-btn,
.hero-search-tab {
    min-height: 40px;
    padding-inline: var(--space-4);
    border-radius: var(--radius-control);
}

.latest-review-card,
.latest-article-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    box-shadow: none;
    overflow: clip;
}

.latest-review-card__media,
.latest-article-card__media {
    aspect-ratio: 16 / 10;
}

.latest-review-card__body,
.latest-article-card__body {
    padding: var(--space-5);
    gap: var(--space-3);
}

.latest-review-card__title,
.latest-article-card__title {
    font-size: var(--text-card-title-size);
    line-height: 1.3;
}

.latest-review-card__specs {
    margin: var(--space-2) 0;
    padding: var(--space-4) 0;
    gap: var(--space-3) var(--space-4);
}

.latest-review-card__cta,
.latest-article-card__cta {
    min-height: 44px;
    font-size: var(--text-label-size);
}

.latest-review-card__badge.badge-vehicle-type {
    background: var(--accent);
    color: #ffffff;
    border-color: transparent;
}

.slider-progress {
    display: none;
}

.app-single-banner {
    padding-block: clamp(2rem, 5vw, 4rem);
}

.app-banner-grid {
    gap: clamp(1.5rem, 4vw, 3rem);
}

.app-vehicle-title {
    font-size: var(--text-page-title-size);
    line-height: 1.15;
}

.app-banner-media,
.app-hero-img {
    border-radius: var(--radius-media);
}

.app-pill-item,
body.single-mobil .oto-variants-wrapper .oto-variant-tab,
.oto-subtab-pill {
    min-height: 44px;
    padding: 0.65rem 1.25rem !important;
    gap: 0.6rem;
    border-radius: var(--radius-control);
}

body.single-mobil .oto-variants-wrapper .oto-subtab-carousel {
    margin-bottom: 1.75rem !important;
}

body.single-mobil .oto-variants-wrapper .oto-variant-tab {
    padding: var(--space-3) var(--space-4);
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel {
    padding-top: var(--space-6);
}

body.single-mobil .oto-variants-wrapper .oto-variant-panel .oto-variant-group {
    margin-top: 3.25rem !important;
}

body.single-mobil .oto-variants-wrapper .oto-variant-group h3 {
    margin-bottom: 1.25rem !important;
}

.oto-grid-cell {
    padding-block: 1rem !important;
}

.oto-grid-cell strong,
.oto-price-list__row strong,
.app-hero-price strong {
    font-variant-numeric: tabular-nums;
}

.oto-accordion-card,
.oto-variant-panel,
.oto-price-list__row,
.oto-gallery-carousel {
    border-color: var(--border-subtle);
    border-radius: var(--radius-card);
    box-shadow: none;
}

.oto-accordion-card.is-expanded,
.oto-variant-panel.is-active {
    box-shadow: var(--shadow-sm);
}

@media (hover: hover) {
    .latest-review-card:hover,
    .latest-article-card:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-float);
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .container {
        padding-inline: var(--space-5);
    }

    .topic-showcase {
        margin-bottom: var(--space-10);
    }

    .section-header,
    .section-header-badge {
        margin-bottom: var(--space-4);
    }

    .latest-review-card__body,
    .latest-article-card__body {
        padding: var(--space-4);
    }

    .slider-nav-btn {
        display: none;
    }

    .slider-viewport {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: var(--space-1);
        padding-bottom: var(--space-4);
        margin-bottom: 0;
        -webkit-overflow-scrolling: touch;
    }

    .slider-track.grid-4 > *,
    .slider-track.grid-3 > * {
        flex: 0 0 76% !important;
        width: 76% !important;
        scroll-snap-stop: always;
    }

    .latest-review-card__media,
    .latest-article-card__media {
        aspect-ratio: 4 / 3;
        max-height: 205px;
    }

    .slider-progress {
        display: block;
        width: 100%;
        height: 3px;
        margin-top: var(--space-4);
        overflow: hidden;
        border-radius: 999px;
        background: var(--border-subtle);
    }

    .slider-progress__bar {
        display: block;
        width: 20%;
        height: 100%;
        border-radius: inherit;
        background: var(--accent);
        transform: translateX(0);
        transition: transform 180ms ease-out;
    }

    .app-single-banner {
        padding: var(--space-8) var(--space-5);
    }

    .app-banner-grid {
        gap: var(--space-6);
    }

    body.single-mobil .oto-variants-wrapper .oto-variant-panel {
        padding-top: var(--space-5);
    }

    .oto-grid-cell {
        min-height: 56px;
    }
}
