/**
 * AllOEMRims — SEO Hub templates.
 *
 * Shared chrome for year-hub, combo-hub, triple-combo-hub, oem-part-hub.
 * Mirrors the make-hub visual language so hub-network pages feel cohesive.
 */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.aor-seo-hub-hero {
    text-align: center;
    padding: 32px 16px 24px;
    margin-bottom: 16px;
}
.aor-seo-hub-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--aor-text-muted, #8888a0);
    margin: 0 0 8px;
}
.aor-seo-hub-hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.15;
    margin: 0 0 12px;
    font-weight: 800;
}
.aor-seo-hub-stat {
    font-size: 15px;
    color: var(--aor-text-muted, #8888a0);
    margin: 0;
}

/* ── Intro paragraph ──────────────────────────────────────────────────── */
.aor-seo-hub-intro {
    max-width: 920px;
    margin: 0 auto 32px;
    padding: 0 16px;
    line-height: 1.6;
    font-size: 16px;
}
.aor-seo-hub-intro p {
    margin: 0 0 14px;
}

/* ── Top-makes / models grid ──────────────────────────────────────────── */
.aor-seo-hub-makes {
    margin: 32px 0;
    padding: 0 16px;
}
.aor-seo-hub-makes h2 {
    font-size: 22px;
    margin: 0 0 16px;
}
.aor-seo-hub-makes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.aor-seo-hub-make-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s;
}
.aor-seo-hub-make-card:hover,
.aor-seo-hub-make-card:focus-visible {
    border-color: var(--aor-link, #ff1a1a);
    transform: translateY(-1px);
}
.aor-seo-hub-make-card-name {
    font-weight: 700;
    font-size: 15px;
}
.aor-seo-hub-make-card-count {
    font-size: 13px;
    color: var(--aor-text-muted, #8888a0);
    background: rgba(255,255,255,0.06);
    padding: 2px 10px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* ── Year navigation strip ────────────────────────────────────────────── */
.aor-seo-hub-year-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px;
    margin: 24px 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.aor-seo-hub-year-nav-label {
    font-weight: 700;
    color: var(--aor-text-muted, #8888a0);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 6px;
}
.aor-seo-hub-year-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.15s;
}
.aor-seo-hub-year-nav-item:hover,
.aor-seo-hub-year-nav-item:focus-visible {
    background: rgba(255,255,255,0.08);
}
.aor-seo-hub-year-nav-item.is-current {
    background: var(--aor-link, #ff1a1a);
    color: #fff;
    cursor: default;
}
.aor-seo-hub-year-nav-count {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
}

/* ── Inventory section ────────────────────────────────────────────────── */
.aor-seo-hub-inventory {
    margin: 32px 0;
    padding: 0 16px;
}
.aor-seo-hub-inventory h2 {
    font-size: 22px;
    margin: 0 0 16px;
}

/* ── Cross-link strip ─────────────────────────────────────────────────── */
.aor-seo-hub-cross {
    margin: 48px 0 32px;
    padding: 24px 16px;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.aor-seo-hub-cross h2 {
    font-size: 18px;
    margin: 0 0 12px;
}
.aor-seo-hub-cross-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}
.aor-seo-hub-cross-list a {
    color: var(--aor-link, #ff1a1a);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.aor-seo-hub-cross-list a:hover,
.aor-seo-hub-cross-list a:focus-visible {
    text-decoration: underline;
    color: var(--aor-link-hover, #ff5252);
}

/* ── Triple-combo: wheel sizes block ──────────────────────────────────── */
.aor-seo-hub-sizes {
    margin: 24px 0;
    padding: 0 16px;
}
.aor-seo-hub-sizes h2 {
    font-size: 18px;
    margin: 0 0 12px;
}
.aor-seo-hub-size-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.aor-seo-hub-size-list li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    font-size: 14px;
}
.aor-seo-hub-size-diameter {
    font-weight: 800;
    font-size: 16px;
}
.aor-seo-hub-size-count {
    color: var(--aor-text-muted, #8888a0);
}

/* ── OEM-part hub: specs + MPN + fitment tables ────────────────────── */
.aor-seo-hub-specs,
.aor-seo-hub-mpn,
.aor-seo-hub-fitment {
    margin: 24px 0;
    padding: 0 16px;
}
.aor-seo-hub-specs h2,
.aor-seo-hub-mpn h2,
.aor-seo-hub-fitment h2 {
    font-size: 20px;
    margin: 0 0 12px;
}
.aor-seo-hub-specs-table,
.aor-seo-hub-fitment-table {
    width: 100%;
    max-width: 720px;
    border-collapse: collapse;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}
.aor-seo-hub-specs-table th,
.aor-seo-hub-specs-table td,
.aor-seo-hub-fitment-table th,
.aor-seo-hub-fitment-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
}
.aor-seo-hub-specs-table tr:last-child th,
.aor-seo-hub-specs-table tr:last-child td,
.aor-seo-hub-fitment-table tr:last-child th,
.aor-seo-hub-fitment-table tr:last-child td {
    border-bottom: 0;
}
.aor-seo-hub-specs-table th[scope="row"] {
    width: 35%;
    color: var(--aor-text-muted, #8888a0);
    font-weight: 600;
}
.aor-seo-hub-fitment-table th[scope="col"] {
    background: rgba(255,255,255,0.04);
    font-weight: 700;
    color: var(--aor-text-muted, #8888a0);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}
.aor-seo-hub-mpn-intro {
    color: var(--aor-text-muted, #8888a0);
    margin: 0 0 10px;
    font-size: 14px;
}
.aor-seo-hub-mpn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.aor-seo-hub-mpn-list li code {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
    font-size: 13px;
    letter-spacing: 0.02em;
}

/* ── Mobile tweaks ────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .aor-seo-hub-hero {
        padding: 20px 16px 16px;
    }
    .aor-seo-hub-makes-grid {
        grid-template-columns: 1fr 1fr;
    }
    .aor-seo-hub-year-nav {
        gap: 6px;
        padding: 12px;
    }
    .aor-seo-hub-year-nav-item {
        padding: 4px 8px;
        font-size: 13px;
    }
    .aor-seo-hub-specs-table,
    .aor-seo-hub-fitment-table {
        font-size: 13px;
    }
}

/* ════════════════════════════════════════════════════════════════════════
 * Make-hub layout (predates seo-hub class system, kept its own .aor-make-hub-*
 * prefix). Visually mirror the seo-hub treatment for cohesion.
 * ════════════════════════════════════════════════════════════════════════ */

.aor-make-hub-hero {
    text-align: center;
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--aor-chrome-mid, #6a6a80);
    margin-bottom: 24px;
}
.aor-make-hub-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    color: var(--aor-link, #ff1a1a);
    font-weight: 700;
    margin: 0 0 8px;
}
.aor-make-hub-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 12px;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
}
.aor-make-hub-stat {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.aor-make-hub-intro {
    max-width: 820px;
    margin: 0 auto 32px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.65;
}
.aor-make-hub-intro p {
    margin: 0 0 14px;
}

.aor-make-hub-years {
    margin: 0 0 32px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}
.aor-make-hub-years-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin: 0 0 10px;
    font-weight: 700;
}
.aor-make-hub-years-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.aor-make-hub-year {
    display: inline-block;
    padding: 6px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 4px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}
.aor-make-hub-year:hover,
.aor-make-hub-year:focus-visible {
    background: var(--aor-red, #db0000);
    color: #fff;
    outline: none;
}

.aor-make-hub-inventory {
    margin: 0 0 48px;
}
.aor-make-hub-inventory-heading {
    font-size: 22px;
    color: #fff;
    margin: 0 0 16px;
    font-weight: 700;
}

.aor-make-hub-other {
    margin: 32px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--aor-chrome-mid, #6a6a80);
}
.aor-make-hub-other h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin: 0 0 12px;
    font-weight: 700;
}
.aor-make-hub-other-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.aor-make-hub-other-list li {
    margin: 0;
}
.aor-make-hub-other-list a {
    display: inline-block;
    padding: 6px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 13px;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}
.aor-make-hub-other-list a:hover,
.aor-make-hub-other-list a:focus-visible {
    background: var(--aor-red, #db0000);
    color: #fff;
    outline: none;
}

@media (max-width: 720px) {
    .aor-make-hub-hero { padding: 20px 0 16px; }
    .aor-make-hub-inventory-heading { font-size: 18px; }
}
