/* ==========================================================
   NTxPSA.com — Modern Dark-Carbon, Steel-Blue & Amber Theme
   North Texas Power Stroke Association
   ========================================================== */

:root {
    /* Classic NTxPSA Theme Colors — Modernized */
    --bg-black: #070a0f;
    --bg-carbon: #0d1219;
    --bg-panel: #131b26;
    --bg-panel-hover: #192433;

    /* Signature Steel Blue (from original m2.jpg & nav buttons) */
    --steel-dark: #1b3552;
    --steel-mid: #2e5984;
    --steel-light: #4a80b4;
    --steel-ice: #71a2cb;
    --steel-cyan: #5fb2c3;

    /* Signature NTxPSA Amber / Orange (#DB7611) */
    --amber-primary: #db7611;
    --amber-bright: #f28a20;
    --amber-glow: rgba(219, 118, 17, 0.25);

    /* Neutrals & Chrome */
    --text-white: #f4f7fa;
    --text-silver: #c0cad6;
    --text-muted: #8494a7;
    --border-dark: #223042;
    --border-steel: rgba(113, 162, 203, 0.28);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-black);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(46, 89, 132, 0.22) 0%, transparent 60%),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.012) 0px,
            rgba(255, 255, 255, 0.012) 2px,
            transparent 2px,
            transparent 6px
        );
    color: var(--text-white);
    font-family: 'Inter', Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--amber-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--amber-bright);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   MAIN HEADER & NAVIGATION
   ========================================== */
.site-header {
    background: linear-gradient(180deg, #141c27 0%, #0c1118 100%);
    border-bottom: 2px solid var(--steel-mid);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #d8e4f0 55%, #89accf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--amber-primary);
    font-weight: 700;
    margin-top: 3px;
}

/* Primary Top Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn {
    position: relative;
    padding: 10px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-white);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(46, 89, 132, 0.25) 0%, rgba(27, 53, 82, 0.45) 100%);
    border: 1px solid rgba(113, 162, 203, 0.2);
    transition: all 0.2s ease;
}

.nav-btn:hover,
.nav-btn.active {
    background: linear-gradient(180deg, var(--steel-mid) 0%, var(--steel-dark) 100%);
    border-color: var(--steel-ice);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 89, 132, 0.4);
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--amber-primary);
    border-radius: 3px 3px 0 0;
}

.nav-cta {
    background: linear-gradient(180deg, var(--amber-bright) 0%, var(--amber-primary) 100%);
    border: 1px solid #ff9d3b;
    color: #ffffff !important;
    margin-left: 6px;
    box-shadow: 0 4px 14px var(--amber-glow);
}

.nav-cta:hover {
    background: linear-gradient(180deg, #ff982e 0%, #e07812 100%);
    box-shadow: 0 6px 18px rgba(219, 118, 17, 0.45);
}

/* ==========================================
   HERO BANNER SHOWCASE
   ========================================== */
.hero-section {
    padding: 28px 0 18px;
}

.hero-card {
    background: linear-gradient(135deg, #0d1622 0%, #14253a 50%, #0b121b 100%);
    border: 1px solid var(--border-steel);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    position: relative;
}

.hero-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--steel-dark), var(--steel-ice), var(--amber-primary), var(--steel-ice), var(--steel-dark));
}

.classic-banner-wrap {
    background: #020509;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(113, 162, 203, 0.25);
    position: relative;
}

.classic-banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content-bar {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(180deg, rgba(19, 27, 38, 0.85) 0%, rgba(13, 18, 25, 0.95) 100%);
}

.hero-headline h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-white);
}

.hero-headline h1 span {
    color: var(--amber-bright);
}

.hero-headline p {
    color: var(--text-silver);
    font-size: 14px;
    margin-top: 4px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-pill {
    background: rgba(11, 16, 23, 0.75);
    border: 1px solid var(--border-dark);
    border-left: 3px solid var(--amber-primary);
    padding: 8px 14px;
    border-radius: 6px;
}

.stat-pill .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    display: block;
}

.stat-pill .value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.4px;
}

/* ==========================================
   MAIN 2-COLUMN LAYOUT (Sidebar + Content)
   ========================================== */
.main-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 12px 0 48px;
    align-items: start;
}

.panel-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.panel-header {
    background: linear-gradient(90deg, #25303d 0%, #18212c 100%);
    border-bottom: 1px solid rgba(113, 162, 203, 0.22);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.panel-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--amber-primary);
}

.panel-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(219, 118, 17, 0.16);
    color: var(--amber-bright);
    border: 1px solid rgba(219, 118, 17, 0.35);
}

.panel-body {
    padding: 24px;
}

/* ==========================================
   LEFT SIDEBAR (NTxPSA Menu)
   ========================================== */
.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-menu {
    list-style: none;
    padding: 8px;
}

.side-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.side-menu li:last-child {
    border-bottom: none;
}

.side-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: var(--text-silver);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.18s ease;
}

.side-menu a:hover {
    background: var(--bg-panel-hover);
    color: #ffffff;
    padding-left: 16px;
}

.side-menu a.active {
    background: rgba(219, 118, 17, 0.14);
    color: var(--amber-bright);
    font-weight: 600;
    border-left: 3px solid var(--amber-primary);
}

.side-menu .arrow {
    font-size: 12px;
    opacity: 0.45;
    transition: transform 0.18s ease;
}

.side-menu a:hover .arrow {
    opacity: 1;
    color: var(--amber-bright);
    transform: translateX(3px);
}

/* Sidebar Merch / Store Promo */
.store-promo {
    background: linear-gradient(145deg, #23170d 0%, #141b24 100%);
    border: 1px solid rgba(219, 118, 17, 0.4);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.store-promo-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--amber-bright);
    background: rgba(219, 118, 17, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.store-promo h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 21px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 6px;
}

.store-promo p {
    font-size: 13px;
    color: var(--text-silver);
    margin-bottom: 14px;
}

.btn-outline-amber {
    display: inline-block;
    width: 100%;
    padding: 9px 14px;
    background: rgba(219, 118, 17, 0.15);
    border: 1px solid var(--amber-primary);
    color: var(--amber-bright);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 6px;
    text-align: center;
}

.btn-outline-amber:hover {
    background: var(--amber-primary);
    color: #ffffff;
}

/* Sidebar Quick Contact Card */
.contact-mini {
    padding: 16px 18px;
    font-size: 13px;
    color: var(--text-silver);
}

.contact-mini strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 2px;
}

.contact-mini .contact-row {
    margin-bottom: 10px;
}

/* ==========================================
   RIGHT CONTENT AREA (Club Features & Pages)
   ========================================== */
.content-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    padding: 22px;
}

.fb-showcase {
    background: linear-gradient(145deg, #101926 0%, #0b111a 100%);
    border: 1px solid rgba(24, 119, 242, 0.35);
    border-radius: 10px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.fb-showcase img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.fb-info h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 8px;
}

.fb-info p {
    font-size: 13.5px;
    color: var(--text-silver);
    margin-bottom: 14px;
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1877f2;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.btn-facebook:hover {
    background: #2984ff;
    transform: translateY(-1px);
}

/* Rally Spotlight Card */
.rally-card {
    background: linear-gradient(145deg, #1b2838 0%, #101722 100%);
    border: 1px solid var(--border-steel);
    border-radius: 10px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.rally-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--amber-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.rally-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 23px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 8px;
}

.rally-card p {
    font-size: 13.5px;
    color: var(--text-silver);
    margin-bottom: 16px;
}

.rally-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--amber-bright);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Club Mission & Photo Highlights */
.mission-body {
    padding: 22px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.mission-text h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    color: var(--amber-bright);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.mission-text p {
    color: var(--text-silver);
    font-size: 14.5px;
    margin-bottom: 12px;
}

.no-dues-callout {
    background: rgba(219, 118, 17, 0.1);
    border-left: 3px solid var(--amber-primary);
    padding: 12px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 13.5px;
    color: var(--text-white);
    margin-top: 14px;
}

.mission-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.photo-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-steel);
    background: #000;
}

.photo-frame img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-frame:hover img {
    transform: scale(1.03);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    font-size: 12px;
    color: var(--text-silver);
    font-weight: 500;
}

/* 3-Column Feature Cards */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 22px 22px;
}

.highlight-item {
    background: rgba(11, 16, 24, 0.65);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.2s ease;
}

.highlight-item:hover {
    border-color: var(--steel-light);
}

.highlight-item h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    text-transform: uppercase;
    color: var(--steel-cyan);
    margin-bottom: 6px;
    letter-spacing: 0.4px;
}

.highlight-item p {
    font-size: 13px;
    color: var(--text-silver);
}

/* Tech & Mods Quick List + Sponsors Row */
.bottom-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mods-list {
    list-style: none;
    padding: 14px 18px;
}

.mods-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13.5px;
    gap: 12px;
}

.mods-list li:last-child {
    border-bottom: none;
}

.mod-date {
    font-size: 11.5px;
    color: var(--text-muted);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Sponsors Grid (Home) */
.sponsors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 18px;
}

.sponsor-tile {
    background: rgba(9, 13, 20, 0.7);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sponsor-tile:hover {
    border-color: rgba(219, 118, 17, 0.45);
}

.sponsor-tile strong {
    font-size: 13.5px;
    color: var(--amber-bright);
    display: block;
    margin-bottom: 4px;
}

.sponsor-tile span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.sponsor-tile a {
    font-size: 12px;
    color: var(--steel-ice);
    margin-top: 8px;
    display: inline-block;
    font-weight: 500;
}

/* ==========================================
   SUBPAGE COMPONENTS & TABLES
   ========================================== */
.subpage-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--amber-bright);
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.subpage-subtitle {
    font-size: 14px;
    color: var(--text-silver);
    margin-bottom: 18px;
}

/* Sponsors Full Cards (sponsors.html) */
.sponsors-full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 22px;
}

.sponsor-full-card {
    background: rgba(9, 13, 20, 0.75);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sponsor-full-card:hover {
    border-color: var(--steel-ice);
    transform: translateY(-2px);
}

.sponsor-full-card img {
    width: 104px;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sponsor-details h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--amber-bright);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sponsor-details p {
    font-size: 13.5px;
    color: var(--text-silver);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Links Directory Grid (links.html) */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
}

.links-grid li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    background: rgba(9, 13, 20, 0.65);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
}

.links-grid li a:hover {
    border-color: var(--amber-primary);
    background: var(--bg-panel-hover);
    color: var(--amber-bright);
}

/* Parts & Mods Tables */
.parts-table,
.mods-list-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}

.parts-table th {
    background: rgba(46, 89, 132, 0.3);
    color: var(--amber-bright);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    border: 1px solid var(--border-dark);
}

.parts-table td,
.mods-list-table td {
    padding: 10px 12px;
    border: 1px solid var(--border-dark);
    color: var(--text-silver);
    background: rgba(9, 13, 20, 0.55);
}

.parts-table tr:hover td,
.mods-list-table tr:hover td {
    background: rgba(25, 36, 51, 0.75);
    color: var(--text-white);
}

.parts-table tr.total-row td {
    background: rgba(219, 118, 17, 0.14);
    color: var(--amber-bright);
    font-weight: 700;
    font-size: 15px;
}

/* Mods Articles & Thumbnail Grids */
.mod-meta,
.member-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0;
    text-align: center;
}

.mod-content {
    color: var(--text-silver);
    font-size: 14.5px;
    line-height: 1.7;
    text-align: left;
}

.mod-content p {
    margin-bottom: 14px;
}

.mod-content ul {
    margin: 10px 0 18px 24px;
}

.mod-content li {
    margin-bottom: 6px;
}

.mod-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-steel);
    margin: 6px 4px;
}

.step-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--amber-bright);
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 4px;
    margin: 20px 0 10px;
}

.thumb-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
}

.thumb-grid td {
    background: rgba(9, 13, 20, 0.7);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    font-size: 12.5px;
}

.thumb-grid td:hover {
    border-color: var(--amber-primary);
}

.thumb-grid img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 6px;
}

.action-links {
    margin: 16px 0;
    text-align: center;
    font-weight: 600;
}

.action-links a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(46, 89, 132, 0.25);
    border: 1px solid var(--border-steel);
    border-radius: 6px;
    color: var(--amber-bright);
    margin: 4px;
}

.action-links a:hover {
    background: var(--steel-mid);
    color: #ffffff;
}

/* Members Directory & Profile Styles */
.member-name {
    font-size: 13.5px;
    color: var(--text-silver);
    padding: 3px 4px;
    text-align: center;
}

a.member-link:link,
a.member-link:visited {
    font-weight: 700;
    color: var(--amber-bright);
    text-decoration: underline;
}

a.member-link:hover {
    color: #ffffff;
}

.profile-label {
    font-weight: 700;
    color: var(--amber-bright);
    text-align: left;
    padding: 8px 10px;
    font-size: 14px;
}

.profile-value {
    color: var(--text-white);
    text-align: left;
    padding: 8px 10px;
    font-size: 14px;
}

input[type="text"],
input[type="password"],
textarea {
    background: #090d14;
    border: 1px solid var(--border-steel);
    color: var(--text-white) !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    max-width: 420px;
}

input.button,
button.button {
    background: linear-gradient(180deg, var(--amber-bright) 0%, var(--amber-primary) 100%);
    border: 1px solid #ff9d3b;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
}

/* Rally Subpages Navigation & Split Layout */
.rally-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 22px;
    background: rgba(9, 13, 20, 0.65);
    border-bottom: 1px solid var(--border-dark);
}

.rally-subnav a {
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(46, 89, 132, 0.22);
    border: 1px solid rgba(113, 162, 203, 0.2);
    color: var(--text-silver);
}

.rally-subnav a:hover,
.rally-subnav a.active {
    background: var(--amber-primary);
    border-color: var(--amber-bright);
    color: #ffffff;
}

.rally-event-split {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    padding: 24px;
    align-items: start;
}

.rally-photo-box {
    background: rgba(9, 13, 20, 0.75);
    border: 1px solid var(--border-steel);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.rally-photo-box img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    display: block;
}

.rally-info-box h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 16px 0 6px;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 4px;
}

.rally-info-box h3:first-child {
    margin-top: 0;
}

.rally-info-box p,
.rally-info-box li {
    color: var(--text-silver);
    font-size: 14px;
    margin-bottom: 8px;
}

.rally-disclaimer {
    margin: 0 24px 24px;
    padding: 14px 18px;
    background: rgba(9, 13, 20, 0.6);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

/* ==========================================
   SITE FOOTER
   ========================================== */
.site-footer {
    background: #05070b;
    border-top: 2px solid var(--steel-dark);
    padding: 32px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-silver);
}

.footer-links a:hover {
    color: var(--amber-bright);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 960px) {
    .main-grid,
    .featured-split,
    .mission-body,
    .bottom-split,
    .sponsors-full-grid,
    .links-grid,
    .rally-event-split {
        grid-template-columns: 1fr;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        flex-direction: column;
        padding: 14px 0;
    }
    .primary-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
