/* Single-topic vehicle check landing pages (Views/Home/VehicleCheck.cshtml).
   Mobile-first: base rules target phones, min-width queries widen for larger screens. */

.vc-narrow {
    max-width: 820px;
}

/* Hero: centred like the site's other jumbotrons. Headings only; the explanatory
   lead paragraph sits under the search form so the form stays near the fold on phones. */
.vc-hero {
    background: linear-gradient(135deg, #4169E1 0%, #375492 100%);
    color: #fff;
    padding: 24px 0 30px;
    text-align: center;
}

.vc-breadcrumb {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 14px;
}

.vc-breadcrumb a {
    color: #fff;
    text-decoration: underline;
}

.vc-hero h1 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
}

.vc-hero .vc-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 auto 8px;
    max-width: 640px;
    color: #fff;
}

.vc-sub {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto 20px;
    opacity: 0.9;
}

/* The shared search form section sits straight under the hero. */
.vc-hero + #bannerbottom {
    padding: 36px 0 44px;
}

.vc-hero + #bannerbottom h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

/* Section headings */
.vc-in-report h2,
.vc-body h2,
.vc-faq h2,
.vc-related h2,
.vc-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 18px;
    line-height: 1.3;
}

/* What's in the report */
.vc-in-report {
    padding: 44px 0 36px;
    background: #fff;
}

.vc-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #343a40;
    margin: 0 0 32px;
}

.vc-report-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.vc-report-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 10px;
    row-gap: 6px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
}

.vc-report-list li > i {
    color: #28a745;
    margin-top: 4px;
}

.vc-report-text {
    color: #343a40;
    line-height: 1.5;
}

.vc-tier {
    grid-column: 2;
    justify-self: start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}

.vc-tier-all {
    background: #e8f5ec;
    color: #1e7b3a;
}

.vc-tier-comp {
    background: #e3eaff;
    color: #2a4070;
}

.vc-tier-plus {
    background: #d9f7ee;
    color: #0f7a5c;
}

.vc-note {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}

/* Explanatory body */
.vc-body {
    padding: 36px 0 20px;
    background: #f8f9fa;
}

.vc-body section {
    margin-bottom: 34px;
}

.vc-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    margin: 22px 0 10px;
}

.vc-body p,
.vc-body li {
    font-size: 1rem;
    line-height: 1.7;
    color: #343a40;
}

.vc-body ul,
.vc-body ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.vc-body li {
    margin-bottom: 6px;
}

.vc-callout {
    background: #fff;
    border-left: 4px solid #4169E1;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.vc-callout p:last-child {
    margin-bottom: 0;
}

.vc-table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
}

.vc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95rem;
}

.vc-table th,
.vc-table td {
    border: 1px solid #e3e7ee;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.vc-table th {
    background: #f1f4fa;
    font-weight: 700;
    color: #212529;
}

/* FAQ */
.vc-faq {
    padding: 44px 0;
    background: #fff;
}

.vc-faq details {
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
}

.vc-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #212529;
    padding: 14px 16px;
    line-height: 1.4;
}

.vc-faq details p {
    padding: 0 16px 14px;
    margin: 0;
    color: #495057;
    line-height: 1.7;
}

/* Related checks */
.vc-related {
    padding: 44px 0;
    background: #f8f9fa;
}

.vc-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.vc-related-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    background: #fff;
    border: 1px solid #d6def0;
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vc-related-card:hover {
    border-color: #4169E1;
    box-shadow: 0 4px 14px rgba(65, 105, 225, 0.12);
    color: inherit;
}

.vc-related-card > i {
    grid-row: span 2;
    color: #4169E1;
    font-size: 1.3rem;
    margin-top: 3px;
}

.vc-related-name {
    font-weight: 700;
    color: #2a4070;
}

.vc-related-summary {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Closing CTA */
.vc-cta {
    padding: 44px 0 52px;
    background: linear-gradient(135deg, #4169E1 0%, #375492 100%);
    color: #fff;
    text-align: center;
}

.vc-cta h2 {
    color: #fff;
}

.vc-cta p {
    opacity: 0.95;
    margin-bottom: 22px;
}

.vc-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.vc-cta-btn:hover {
    color: #fff;
    text-decoration: none;
}

/* Tablet and up */
@media (min-width: 768px) {
    .vc-hero {
        padding: 48px 0 52px;
    }

    .vc-hero h1 {
        font-size: 2.5rem;
    }

    .vc-hero .vc-tagline {
        font-size: 1.6rem;
    }

    .vc-sub {
        font-size: 1.1rem;
    }

    .vc-lead {
        font-size: 1.1rem;
    }

    .vc-hero + #bannerbottom {
        padding: 56px 0 64px;
    }

    .vc-hero + #bannerbottom h3 {
        font-size: 2.1rem;
    }

    .vc-report-list li {
        grid-template-columns: 22px 1fr auto;
        column-gap: 14px;
    }

    .vc-tier {
        grid-column: 3;
        justify-self: end;
    }

    .vc-in-report h2,
    .vc-body h2,
    .vc-faq h2,
    .vc-related h2,
    .vc-cta h2 {
        font-size: 1.85rem;
    }

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

@media (min-width: 992px) {
    .vc-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
