/*
Theme Name: GetCar Automotive News Business Theme
Theme URI: https://getcar.ca/
Author: Ada for Terri
Description: A slick Canadian automotive news and business-case WordPress theme for GetCar.ca. Built to position GetCar.ca as a Canadian automotive news and industry-support site with clear benefit pages for multiple sectors.
Version: 6.0
Text Domain: getcar-business
*/

:root {
    --gc-ink: #060a12;
    --gc-ink-soft: #111827;
    --gc-heading: #101522;
    --gc-text: #536071;
    --gc-muted: #7b8797;
    --gc-panel: #ffffff;
    --gc-panel-soft: #f5f7fb;
    --gc-border: #dfe5ef;
    --gc-blue: #2563eb;
    --gc-blue-dark: #1743b8;
    --gc-cyan: #38bdf8;
    --gc-green: #16a34a;
    --gc-gold: #f8b84e;
    --gc-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --gc-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--gc-text);
    background: #ffffff;
    line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--gc-heading);
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.gc-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.gc-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 10, 18, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(18px);
}
.admin-bar .gc-site-header { top: 32px; }
.gc-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.gc-logo {
    font-weight: 950;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.07em;
    color: #fff;
    white-space: nowrap;
}
.gc-logo span { color: var(--gc-blue); }
.custom-logo { max-height: 58px; width: auto; }
.gc-main-nav { display: flex; align-items: center; color: rgba(255,255,255,.88); font-weight: 800; font-size: 15px; }
.gc-main-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gc-main-nav a:hover { color: #fff; }
.gc-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 22px;
}
.gc-header-cta,
.gc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gc-header-cta,
.gc-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--gc-blue), #1244c9);
    box-shadow: 0 16px 34px rgba(37,99,235,.34);
}
.gc-btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.gc-btn-light { color: var(--gc-heading); background: #fff; box-shadow: 0 16px 34px rgba(15,23,42,.12); }
.gc-btn:hover, .gc-header-cta:hover { transform: translateY(-2px); }
.gc-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.gc-link { color: var(--gc-blue); font-weight: 900; }

.gc-hero-business {
    position: relative;
    overflow: hidden;
    margin-top: -78px;
    padding: 178px 0 90px;
    background:
        radial-gradient(circle at 78% 18%, rgba(37,99,235,.28), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(56,189,248,.12), transparent 28%),
        linear-gradient(120deg, rgba(6,10,18,.98), rgba(12,18,32,.94)),
        var(--gc-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.gc-hero-business::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,10,18,.92) 0%, rgba(6,10,18,.76) 50%, rgba(6,10,18,.24) 100%);
    pointer-events: none;
}
.gc-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.gc-kicker,
.gc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 950;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.gc-kicker { border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.86); background: rgba(255,255,255,.08); }
.gc-eyebrow { color: var(--gc-blue); background: rgba(37,99,235,.1); }
.gc-hero-business h1 { max-width: 760px; margin: 22px 0 20px; color: #fff; font-size: clamp(48px, 7vw, 88px); }
.gc-hero-business h1 span { color: var(--gc-cyan); }
.gc-hero-business p { max-width: 720px; color: rgba(255,255,255,.82); font-size: 20px; }
.gc-signal-card {
    position: relative;
    z-index: 2;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.gc-signal-card img { width: 100%; height: 245px; object-fit: cover; border-radius: 22px; margin-bottom: 20px; filter: saturate(1.05) contrast(1.02); }
.gc-signal-list { display: grid; gap: 12px; }
.gc-signal-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 13px; border-radius: 18px; background: rgba(255,255,255,.08); }
.gc-signal-item strong { color: #fff; display: block; }
.gc-signal-item span { color: rgba(255,255,255,.72); font-size: 14px; }
.gc-signal-dot { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(37,99,235,.24); color: #fff; font-weight: 950; }
.gc-trust-strip { position: relative; z-index: 2; margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.gc-stat { padding: 20px; }
.gc-stat strong { display: block; color: #fff; font-size: 26px; letter-spacing: -.04em; }
.gc-stat span { color: rgba(255,255,255,.72); font-size: 14px; }

.gc-section { padding: 86px 0; }
.gc-section-soft { background: var(--gc-panel-soft); }
.gc-section-dark { color: #fff; background: var(--gc-ink); }
.gc-section-dark h2, .gc-section-dark h3 { color: #fff; }
.gc-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.gc-section-head h2, .gc-page-title, .gc-single-title { margin: 10px 0 0; font-size: clamp(36px, 5vw, 62px); }
.gc-section-head p { max-width: 700px; }

.gc-news-feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.gc-lead-story,
.gc-news-card,
.gc-case-card,
.gc-value-card,
.gc-channel-card,
.gc-sidebar-box,
.gc-content-panel {
    border: 1px solid var(--gc-border);
    background: #fff;
    border-radius: var(--gc-radius);
    box-shadow: 0 16px 50px rgba(15,23,42,.08);
    overflow: hidden;
}
.gc-lead-story { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 410px; }
.gc-lead-story img { width: 100%; height: 100%; object-fit: cover; }
.gc-lead-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.gc-lead-body h2 { font-size: clamp(34px, 4vw, 54px); margin: 12px 0; }
.gc-stack-news { display: grid; gap: 18px; }
.gc-mini-story { padding: 22px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); background: #fff; box-shadow: 0 16px 44px rgba(15,23,42,.06); }
.gc-mini-story h3 { font-size: 23px; margin-bottom: 8px; }
.gc-tag { display: inline-flex; width: fit-content; color: var(--gc-blue); font-weight: 950; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.gc-meta { color: var(--gc-muted); font-size: 14px; }

.gc-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gc-case-card { padding: 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.gc-case-card:hover { transform: translateY(-4px); box-shadow: var(--gc-shadow); }
.gc-case-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--gc-blue), var(--gc-cyan)); font-size: 22px; margin-bottom: 18px; }
.gc-case-card h3 { font-size: 25px; margin-bottom: 10px; }
.gc-case-card p { min-height: 78px; }
.gc-case-list { display: grid; gap: 8px; margin: 18px 0; padding: 0; list-style: none; color: var(--gc-text); }
.gc-case-list li { display: flex; gap: 8px; }
.gc-case-list li::before { content: "✓"; color: var(--gc-green); font-weight: 950; }

.gc-channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gc-channel-card img { width: 100%; height: 170px; object-fit: cover; }
.gc-channel-card div { padding: 22px; }
.gc-channel-card h3 { font-size: 26px; }

.gc-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gc-value-card { padding: 28px; }
.gc-value-card strong { display: block; color: var(--gc-blue); font-size: 44px; letter-spacing: -.06em; line-height: 1; margin-bottom: 12px; }
.gc-value-card h3 { font-size: 25px; }

.gc-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gc-news-card img { width: 100%; height: 210px; object-fit: cover; }
.gc-news-body { padding: 24px; }
.gc-news-body h3 { font-size: 26px; margin: 10px 0; }

.gc-final-cta {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        linear-gradient(90deg, rgba(6,10,18,.96), rgba(6,10,18,.74), rgba(6,10,18,.96)),
        var(--gc-cta-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.gc-final-cta h2 { color: #fff; font-size: clamp(42px, 5vw, 68px); max-width: 760px; }
.gc-final-cta h2 span { color: var(--gc-cyan); }
.gc-final-cta p { max-width: 660px; color: rgba(255,255,255,.78); font-size: 19px; }

.gc-page-hero {
    padding: 92px 0 68px;
    background:
        radial-gradient(circle at 78% 20%, rgba(37,99,235,.18), transparent 30%),
        linear-gradient(135deg, #ffffff, #f4f7fb);
    border-bottom: 1px solid var(--gc-border);
}
.gc-page-hero .gc-container { display: grid; grid-template-columns: 1fr .68fr; gap: 42px; align-items: center; }
.gc-page-hero p { font-size: 20px; max-width: 760px; }
.gc-page-visual { border-radius: 28px; overflow: hidden; box-shadow: var(--gc-shadow); }
.gc-page-visual img { width: 100%; height: 340px; object-fit: cover; }
.gc-content-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.gc-content-panel { padding: 36px; }
.gc-content-panel h2 { font-size: 40px; margin: 28px 0 14px; }
.gc-content-panel h2:first-child { margin-top: 0; }
.gc-content-panel ul { padding-left: 22px; }
.gc-content-panel li { margin-bottom: 10px; }
.gc-sidebar-box { padding: 24px; margin-bottom: 20px; }
.gc-sidebar-box h3 { font-size: 26px; }
.gc-sidebar-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gc-sidebar-box li { display: flex; gap: 8px; }
.gc-sidebar-box li::before { content: "→"; color: var(--gc-blue); font-weight: 950; }

.gc-single-wrap { padding: 72px 0; }
.gc-single-header { max-width: 920px; margin: 0 auto 34px; text-align: center; }
.gc-single-meta { color: var(--gc-muted); font-weight: 700; }
.gc-single-content { max-width: 880px; margin: 0 auto; font-size: 19px; }
.gc-single-content img { border-radius: 22px; box-shadow: 0 14px 38px rgba(15,23,42,.1); }
.gc-single-content h2, .gc-single-content h3 { margin-top: 34px; }
.gc-archive-wrap { padding: 72px 0; }
.gc-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gc-pagination { margin-top: 36px; font-weight: 900; color: var(--gc-blue); }

.gc-site-footer { background: #050912; color: rgba(255,255,255,.72); padding: 58px 0 26px; }
.gc-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.gc-footer-logo { display: inline-flex; margin-bottom: 14px; }
.gc-site-footer h4 { color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.gc-site-footer a:not(.gc-logo) { display: block; margin-bottom: 10px; color: rgba(255,255,255,.72); }
.gc-site-footer a:hover { color: #fff; }
.gc-footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

@media (max-width: 1100px) {
    .gc-header-cta { display: none; }
    .gc-main-nav ul { gap: 14px; font-size: 14px; }
    .gc-hero-grid, .gc-page-hero .gc-container, .gc-content-layout { grid-template-columns: 1fr; }
    .gc-case-grid { grid-template-columns: repeat(2, 1fr); }
    .gc-news-feature-grid, .gc-lead-story { grid-template-columns: 1fr; }
    .gc-lead-story img { height: 320px; }
}
@media (max-width: 800px) {
    .gc-container { width: min(100% - 32px, 1240px); }
    .gc-menu-toggle { display: inline-grid; place-items: center; }
    .gc-main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 84px; padding: 18px; border-radius: 20px; background: rgba(6,10,18,.98); box-shadow: var(--gc-shadow); }
    .gc-main-nav.is-open { display: block; }
    .gc-main-nav ul { display: grid; gap: 12px; }
    .gc-hero-business { padding-top: 138px; }
    .gc-hero-grid, .gc-trust-strip, .gc-case-grid, .gc-channel-grid, .gc-value-grid, .gc-news-grid, .gc-archive-grid, .gc-footer-grid { grid-template-columns: 1fr; }
    .gc-section-head { display: block; }
    .gc-section { padding: 60px 0; }
}


.gc-lead-image img, .gc-lead-story a img { width:100%; height:100%; object-fit:cover; }
.gc-news-body { padding:22px; }
.gc-news-image img { width:100%; height:220px; object-fit:cover; }
.gc-page-hero { padding: 108px 0 64px; background: linear-gradient(180deg, #f5f9ff, #ffffff); border-bottom:1px solid var(--gc-border); }
.gc-page-hero .gc-container { display:grid; grid-template-columns: 1.05fr .95fr; gap:32px; align-items:center; }
.gc-page-visual img { width:100%; border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); }
.gc-content-layout { display:grid; grid-template-columns: 1.2fr .8fr; gap:24px; align-items:start; }
.gc-content-panel, .gc-sidebar-box { padding:28px; }
.gc-sidebar-box ul { margin:0; padding-left:18px; }
.gc-site-footer { background:#08101f; color:#cbd5e1; padding:32px 0; }
.gc-footer-inner { display:flex; justify-content:space-between; gap:20px; align-items:center; flex-wrap:wrap; }
@media (max-width: 980px){ .gc-hero-grid, .gc-news-feature-grid, .gc-case-grid, .gc-channel-grid, .gc-value-grid, .gc-content-layout, .gc-page-hero .gc-container { grid-template-columns:1fr; } .gc-main-nav ul { flex-wrap:wrap; } .gc-trust-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .gc-header-inner { flex-wrap:wrap; padding:14px 0; } .gc-trust-strip { grid-template-columns:1fr; } .gc-lead-story { grid-template-columns:1fr; } .gc-case-grid { grid-template-columns:1fr; } }


/* v6: Real posts-only homepage news grid */
.gc-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gc-post-card {
    border: 1px solid var(--gc-border);
    background: #fff;
    border-radius: var(--gc-radius);
    box-shadow: 0 16px 50px rgba(15,23,42,.08);
    overflow: hidden;
}

.gc-post-card-featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: stretch;
}

.gc-post-image {
    display: block;
    background: #e5e7eb;
}

.gc-post-image img {
    width: 100%;
    height: 245px;
    object-fit: cover;
}

.gc-post-card-featured .gc-post-image img {
    height: 100%;
    min-height: 430px;
}

.gc-post-body {
    padding: 26px;
}

.gc-post-card-featured .gc-post-body {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gc-post-body h3 {
    font-size: 28px;
    margin: 10px 0 12px;
}

.gc-post-card-featured .gc-post-body h3 {
    font-size: clamp(38px, 5vw, 60px);
}

.gc-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.gc-empty-posts {
    padding: 34px;
}

@media (max-width: 980px) {
    .gc-posts-grid,
    .gc-post-card-featured {
        grid-template-columns: 1fr;
    }

    .gc-post-card-featured {
        grid-column: span 1;
    }

    .gc-post-card-featured .gc-post-image img {
        min-height: 0;
        height: 280px;
    }
}
