/* ---------- GLOBAL ---------- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    margin: 0;
    padding: 16px;
    padding-top: 0;
    background: #ffffff;
}

h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

h2 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
}

h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.muted {
    color: #666;
    font-size: 14px;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
    margin-bottom: 16px;
}

/* ---------- CARDS ---------- */
.card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 24px;
    margin: 28px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ---------- QUICK FACTS (ABOVE THE FOLD) ---------- */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

.quick-fact span {
    font-size: 13px;
    color: #666;
}

.quick-fact strong {
    font-size: 16px;
    font-weight: 600;
}

/* ---------- VARIANT SELECT ---------- */
.variant-selector {
    margin: 20px 0;
}

.variant-selector label {
    font-weight: 600;
    margin-right: 10px;
}

.variant-selector select {
    padding: 8px 10px;
    font-size: 15px;
}

/* ---------- PRICE ---------- */
.price-box {
    margin: 16px 0;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #111;
}

.price-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}
/* ---------- CTA ---------- */
.cta-box,
.cta {
    background: linear-gradient(135deg, #fff8e8, #fff2d6);
    border: 1px solid #f0d9a6;
    padding: 24px;
    border-radius: 12px;
}

.cta a,
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #0b5ed7;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid #0b5ed7;
}

/* Hover */
.btn-primary:hover {
    background: #084298;
    border-color: #084298;
    transform: translateY(-1px);
}

/* Active click */
.btn-primary:active {
    transform: translateY(0);
    background: #06357a;
}

/* ---------- TABLES ---------- */
.spec-section {
    margin-top: 36px;
}

table,
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    padding: 10px;
    border: 1px solid #e0e0e0;
    vertical-align: top;
}

th {
    background: #f5f5f5;
    font-weight: 600;
    text-align: left;
}

tr:nth-child(even) td {
    background: #fafafa;
}

/* ---------- COMPARISON PRICE BLOCK ---------- */
.price-box {
    display: flex;
    gap: 40px;
}

/* ---------- VERDICT (SEO GOLD) ---------- */
.verdict {
    margin: 40px 0;
    background: #f8fbff;
    padding: 28px;
    border-left: 6px solid #0066cc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ---------- LINKS ---------- */
a {
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}



/* HOME â€“ BRAND GRID FIX */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.subtle-card {
    display: block;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.toc ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.toc li {
    margin: 6px 0;
}

.toc a {
    text-decoration: none;
    color: #0b5ed7;
}

.toc a:hover {
    text-decoration: underline;
}

.toc {
  position: sticky;
  top: 12px;
}

/* ================= PREMIUM SPEC SECTION ================= */

.spec-wrapper {
    max-width: 950px;
    margin: 40px auto;
}

.spec-category {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.spec-category:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.spec-toggle {
    width: 100%;
    background: #f5f7fb;
    border: none;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.spec-toggle:hover {
    background: #eef2f8;
}

.spec-count {
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
}

.spec-content {
    padding: 0;
    background: #fff;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid #f1f3f6;
    font-size: 15px;
}

.spec-row:nth-child(even) {
    background: #fafbfc;
}

.spec-name {
    color: #555;
    flex: 1;
}

.spec-value {
    font-weight: 600;
    color: #111;
    text-align: right;
    flex: 1;
}

/* Smooth animation */
.spec-content[hidden] {
    display: none;
}


/* ================= HERO SECTION ================= */

/* =========================================================
   HERO SECTION
========================================================= */

.hero-section.card {
    padding: 40px 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 650px;   /* increased */
    object-fit: contain;
}

/* INFO */

.hero-info {
    width: 100%;        /* remove max-width restriction */
}

.hero-info h1 {
    margin-top: 0;
    line-height: 1.3;
    font-size: 28px;    /* slightly bigger for desktop */
}

/* Variant Badge */

.variant-badge {
    display: inline-block;
    background: #eef3ff;
    color: #0b5ed7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 14px;
}

/* =========================================================
   QUICK SPECS
========================================================= */

.hero-quick-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 40px;
    margin-top: 22px;
    text-align: center;
}

.hero-quick-specs small {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.hero-quick-specs strong {
    font-size: 15px;
    font-weight: 600;
}

/* Disclaimer */

.hero-disclaimer {
    font-size: 12px;
    color: #9aa3af;
    margin-top: 10px;
    line-height: 1.5;
}

/* CTA */

.hero-cta {
    margin-top: 22px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .hero-section.card {
        padding: 30px;
    }
}


/* ================= STICKY BAR ================= */

.sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 999;
    display: none;
    padding: 12px 20px;
}

.sticky-content {
    max-width: 1200px;
    margin: auto;
    display: block;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sticky-left {
    font-size: 14px;
}

.sticky-middle {
    font-weight: 700;
    font-size: 16px;
}

.sticky-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sticky-right select {
    padding: 6px 10px;
    font-size: 14px;
}

.sticky-btn {
    padding: 6px 12px;
    font-size: 14px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.key-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.key-item {
    background: #f9fafc;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e6eaf0;
}

.key-item small {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.key-item strong {
    font-size: 16px;
}

.variant-badge {
    display: inline-block;
    background: #e9f1ff;
    color: #0b5ed7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
}

.variant-badge:hover {
    background: #dbe7ff;
}

.hero-variant-dropdown {
    margin-bottom: 15px;
}

.hero-variant-dropdown select {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
}


.hero-variant-dropdown {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.hero-variant-dropdown.open {
    max-height: 120px; /* enough for dropdown */
    opacity: 1;
    transform: translateY(0);
}

.hero-variant-dropdown select {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #d0d7e2;
}


#variantArrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

#variantArrow.rotate {
    transform: rotate(180deg);
}

.sticky-bar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    z-index:9999;
    border-bottom:1px solid #eee;
    display:none;
}

.btn-outline {
    display:inline-block;
    padding:10px 16px;
    border:2px solid #1f4fd8;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    color:#1f4fd8;
    background:#fff;
    transition:0.2s ease;
}

.btn-outline:hover {
    background:#1f4fd8;
    color:#fff;
}

.hero-onroad-price {
    font-size: 18px;
    margin-top: 8px;
    color: #1a7f37;
    font-weight: 600;
}

.hero-price-block {
    margin-top: 15px;
}

.price-main {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.price-sub {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.hero-onroad-card {
    margin-top: 14px;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    border-left: 4px solid #0b5ed7;
    padding: 12px 14px;
    border-radius: 8px;
}

.onroad-title {
    font-size: 12px;
    color: #555;
}

.onroad-price {
    font-size: 20px;
    font-weight: 600;
    margin-top: 4px;
}

.hero-city-selector {
    margin-top: 12px;
}

.city-label {
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
    color: #666;
}

.hero-city-selector select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 13px;
    background: white;
}

.hero-pricing {
    margin-top: 12px;
}

.hero-pricing .label {
    font-size: 13px;
    color: #6b7280;
    display: block;
}

.hero-pricing .value {
    font-size: 20px;
    font-weight: 600;
}

.hero-pricing .highlight {
    font-size: 24px;
    font-weight: 700;
    color: #0b5ed7;
}

.city-selector {
    margin-top: 10px;
}

.city-selector select {
    padding: 6px 8px;
    border-radius: 6px;
}

/* ============================= */
/* UNIFIED CONTENT WIDTH SYSTEM  */
/* ============================= */

/* Remove narrow constraint */
.content-narrow {
    max-width: 1100px;   /* match page-container / hero width */
    margin: 0 auto;
    padding: 0 0;     /* match body horizontal rhythm */
    box-sizing: border-box;
}

/* ===================================== */
/* ABOUT SECTION â€“ PREMIUM CONTENT BLOCK */
/* ===================================== */

.model-summary-short,
.model-summary-long {
    max-width: 1100px;     /* match hero width */
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 14px;
}

/* ---------- SHORT SUMMARY ---------- */
.model-summary-short {
    background: linear-gradient(135deg, #f5f9ff, #eef4ff);
    border: 1px solid #e3ecfb;
    border-left: 6px solid #0b5ed7;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.9;
    color: #1e293b;
}

/* ---------- LONG SUMMARY ---------- */

.model-summary-long {
    max-width: 1100px;
    margin: 20px auto 40px auto;
    padding: 32px 40px;

    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 14px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

/* Heading */
.model-summary-long h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

/* Subheading (your bold summary line) */
.model-summary-long strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #1e293b;
}

/* Paragraph */
.model-summary-long p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #475569;
    max-width: 850px;
}

/* Spacing harmony */
.hero-section + .content-narrow {
    margin-top: 50px;
}


/* ===============================
   GRID LAYOUT
================================= */

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* ===============================
   CARD
================================= */

.model-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.model-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

/* ===============================
   IMAGE
================================= */

.model-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* ===============================
   TEXT
================================= */

.model-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.model-meta {
    font-size: 14px;
    color: #222;
    font-weight: 600;
    margin-bottom: 4px;
}

.model-mileage {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

/* ===============================
   TAGS
================================= */

.family-tag,
.budget-tag {
    position: absolute;
    top: 10px;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 5px;
    font-weight: 600;
    color: white;
}

.family-tag {
    left: 10px;
    background: #16a34a;
}

.budget-tag {
    right: 10px;
    background: #f59e0b;
}

/* ===============================
   FILTER BAR
================================= */

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.fuel-filter {
    margin-top: 12px;
}

.fuel-filter a {
    display: inline-block;
    margin-right: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f1f5f9;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    transition: 0.2s ease;
}

.fuel-filter a:hover {
    background: #e2e8f0;
}

.fuel-filter a.active {
    background: #0b5ed7;
    color: white;
}

.sort-filter a {
    margin-left: 10px;
    font-size: 13px;
    text-decoration: none;
    color: #0b5ed7;
    font-weight: 500;
}

.sort-filter a:hover {
    text-decoration: underline;
}

/* ===============================
   PAGINATION
================================= */

.pagination {
    margin: 30px 0;
    text-align: center;
}

.page-btn {
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
    color: #0b5ed7;
    font-size: 13px;
}

.page-btn:hover {
    background: #e2e8f0;
}

.page-current {
    margin: 0 12px;
    font-weight: 600;
    font-size: 14px;
}

/* ===============================
   HERO / INTRO
================================= */

.dynamic-intro {
    margin-top: 10px;
    font-size: 15px;
    color: #444;
}

.category-subtext {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

.category-count {
    margin-top: 10px;
    font-size: 13px;
    color: #0b5ed7;
    font-weight: 600;
}

/* ===============================
   FAQ
================================= */

.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 14px;
    color: #555;
}

.faq-item {
    border-bottom: 1px solid #e6eaf2;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: #0b5ed7;
}

.faq-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.faq-answer {
    display: none;
    padding-bottom: 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.compare-images img {
    max-width: 100%;
    height: 260px;
    object-fit: contain;
}

.compare-grid-2 {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.vs-text {
    font-size: 28px;
    font-weight: 700;
    color: #444;
}

.variant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.variant-switcher select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    margin-top: 5px;
}

.btn-primary {
    margin-top: 15px;
    background: #0b5ed7;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 15px;
}

.related-item {
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
}

.related-item a {
    font-weight: 600;
    text-decoration: none;
    color: #0b5ed7;
    display: block;
}

.related-item .sub-text {
    font-size: 12px;
    color: #666;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}

.score-row {
    margin-bottom: 12px;
}

.score-label {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 500;
}

.score-bar-bg {
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.score-bar-fill {
    background: #0b5ed7;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    text-align: right;
    border-radius: 6px;
}

.score-card {
    text-align: center;
}

.score-summary-grid {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.score-box {
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fb;
}

.winner-box {
    border: 2px solid #0b5ed7;
    background: #eef4ff;
}

.big-score {
    font-size: 48px;
    font-weight: 700;
    color: #0b5ed7;
    line-height: 1;
}

.big-score.muted {
    color: #666;
}

.score-outof {
    font-size: 14px;
    color: #888;
}

.winner-badge {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0b5ed7;
}

.score-vs {
    text-align: center;
}

.vs-text {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.score-gap {
    font-size: 13px;
    color: #666;
}

.score-summary-grid {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.score-box {
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fb;
    text-align: center;
}

.winner-box {
    border: 2px solid #0b5ed7;
    background: #eef4ff;
}

.big-score {
    font-size: 48px;
    font-weight: 700;
    color: #0b5ed7;
    line-height: 1;
}

.big-score.muted {
    color: #666;
}

.score-outof {
    font-size: 14px;
    color: #888;
}

.winner-badge {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0b5ed7;
}

.score-vs {
    text-align: center;
}

.vs-text {
    font-size: 18px;
    font-weight: 700;
}

.score-gap {
    margin-top: 6px;
    font-size: 14px;
}

.confidence-badge {
    font-size: 13px;
    background: #eef4ff;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 8px;
    color: #0b5ed7;
    max-width: 220px;
    text-align: center;
}

.confidence-subtext {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-box {
    background: #f8f9fb;
    padding: 20px;
    border-radius: 10px;
}

.score-row {
    margin-bottom: 15px;
}

.score-label {
    font-size: 14px;
    margin-bottom: 4px;
}

.score-bar-bg {
    background: #e5e7eb;
    height: 14px;
    border-radius: 6px;
}

.score-bar-fill {
    background: #0b5ed7;
    height: 100%;
    border-radius: 6px;
    font-size: 11px;
    color: white;
    text-align: right;
    padding-right: 5px;
}

.editorial-summary {
    background: #f8f9fb;
}

.executive-text {
    font-size: 16px;
    font-weight: 500;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pros-cons-box {
    background: #f8f9fb;
    padding: 20px;
    border-radius: 10px;
}

.pros ul, .cons ul {
    margin: 5px 0 10px;
    padding-left: 18px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    background: #eef4ff;
    color: #0b5ed7;
    margin-right: 6px;
}

.badge.muted {
    background: #e5e7eb;
    color: #666;
}

.final-verdict {
    background: #eef4ff;
}

.winner-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    padding: 4px 8px;
    background: #eef4ff;
    color: #0b5ed7;
    border-radius: 6px;
}

.who-should-buy {
    background: #f9fbff;
}

.buy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.buy-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e6eaf2;
}

.buy-box h3 {
    margin-bottom: 10px;
}

.buy-box ul {
    padding-left: 18px;
}

.buy-box li {
    margin-bottom: 8px;
}


.key-differences {
    margin-top: 10px;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.difference-item {
    background: #ffffff;
    border: 1px solid #e6eaf2;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    transition: 0.2s ease;
}

.difference-item:hover {
    transform: translateY(-3px);
}

.difference-item strong {
    display: block;
    margin-bottom: 6px;
}

.winner-name {
    color: #0b5ed7;
    font-weight: 600;
}

.equal {
    color: #777;
    font-weight: 500;
}

.has-winner {
    border-color: #cdddfd;
    background: #f4f8ff;
}

.related-link {
    display: block;
    padding: 12px;
    border: 1px solid #e6eaf2;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    background: #ffffff;
    transition: 0.2s ease;
}

.related-link:hover {
    background: #f4f8ff;
    border-color: #cdddfd;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.compare-link {
    display: block;
    padding: 14px;
    border: 1px solid #e6eaf2;
    border-radius: 8px;
    text-decoration: none;
    background: #ffffff;
    transition: 0.2s ease;
}

.compare-link:hover {
    background: #f4f8ff;
    border-color: #cdddfd;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.model-card {
    display: block;
    padding: 12px;
    border: 1px solid #e6eaf2;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    background: #ffffff;
    transition: 0.2s ease;
}

.model-card:hover {
    background: #f4f8ff;
}


/* Paginatio */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.page-link {
    padding: 8px 14px;
    margin: 0 6px;
    border: 1px solid #e6eaf2;
    border-radius: 6px;
    text-decoration: none;
    background: #ffffff;
    font-size: 14px;
}

.page-link:hover {
    background: #f4f8ff;
    border-color: #cdddfd;
}

.page-info {
    margin: 0 10px;
    font-size: 14px;
    color: #666;
}

.collapsed-content {
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.collapsed-content.expanded {
    max-height: 2000px;
}

.seo-toggle-btn {
    margin-top: 15px;
    background: none;
    border: none;
    color: #1a73e8;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.seo-toggle-btn:hover {
    text-decoration: underline;
}

.compare-hero {
    text-align: center;
}

.compare-title {
    margin-bottom: 20px;
}

.compare-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.compare-car-box {
    text-align: center;
}

.compare-image-wrapper img {
    max-width: 260px;
    height: auto;
}

.compare-vs {
    font-size: 28px;
    font-weight: bold;
    color: #999;
}

.variant-selector select {
    margin-top: 10px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .compare-hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .compare-vs {
        display: none;
    }
    
    body {
        padding: 12px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .price-box {
        flex-direction: column;
        gap: 20px;
    }

    table {
        font-size: 14px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .hero-quick-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .model-summary-short,
    .model-summary-long {
        padding: 28px 22px;
        margin: 30px auto;
    }

    .model-summary-short {
        font-size: 17px;
    }

    .model-summary-long p {
        font-size: 16px;
    }
    
    .compare-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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