/* =========================================
   LOUISVILLE ISOLATED STYLES (louisville.css)
   ========================================= */

/* 1. PAGE BACKGROUND (Forces the black background) */
.louisville-bg {
    background-color: #000000 !important;
    margin: 0;
    padding: 0;
}

/* 2. THE HERO SECTION (Red Background & Centered Text) */
.Louisville-hero-container {
    width: 100%;
    background: linear-gradient(to bottom, #eb1c24 0%, #000000 100%) !important;/* Louisville Red */
    padding: 80px 20px;
    text-align: center;
    /*border-bottom: 5px solid #222;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.Louisville-overlay {
    text-align: center; /* Ensures everything inside is centered */
    width: 100%;
}

.Louisville-overlay h1 {
    font-size: clamp(2rem, 6vw, 3.5rem) !important; /* Big, bold impact */
    font-family: 'Times New Roman', serif;
    text-transform: Capitalize;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5); 
    border: none;
    padding: 0;
}

.Louisville-subtitle {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block; /* Ensures it sits on its own line for centering */
}

/* 3. THE MAIN GRID SPLIT */
.louisville-grid-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    max-width: 1400px;
    width: 95%;
    margin: 40px auto !important;
    align-items: flex-start;
}

.louisville-col-main {
    flex: 0 0 68% !important;
    background-color: #fffdf6; /* Aged Paper Tint */
    border: 2px solid #222;
    padding: 40px;
    box-shadow: 10px 10px 0px rgba(255, 255, 255, 0.1); /* Light shadow for black bg */
}

.louisville-col-side {
    flex: 0 0 28% !important;
}

.category-tag {
    background: #eb1c24; /* Red tag for Louisville */
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-container h1 {
    font-family: 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.deck {
    font-family: "Times New Roman", serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    border-left: 6px solid #eb1c24;
    padding-left: 20px;
    margin-bottom: 30px;
}

/* 4. MAGAZINE ARTICLE STYLING (The White Paper) */
.main-layout {
    display: flex !important;
    gap: 30px;
    align-items: flex-start;
   margin-top: 30px;
}

.article-body {
   flex: 2 !important;
    font-family: "Times New Roman", serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #222;
}

.sidebar {
    flex: 1 !important; /* Takes up 1/3 of the space */
    border-left: 1px solid #ddd; /* Subtle line to separate from text */
    padding-left: 20px;
}

/*  5. STAT BOXES INSIDE THE SIDEBAR --- */
.stat-sidebar {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #222;
    background: #fff;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #eb1c24; /* Louisville Red */
}

.bz-card {
    border: 1px solid #222;
    padding: 15px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.project-callout {
    border: 2px solid #ffcc00;
    padding: 15px;
    background: #fff;
}

.louisville-col-side {
    flex: 0 0 28% !important;
}

/* 6. NEWSPAPER SIDEBAR (Far Right) */
.newspaper-sidebar {
    background-color: #fffdf6 !important;
    border: 2px solid #222 !important;
    padding: 25px;
    box-shadow: 10px 10px 0px #eb1c24 !important; /* Red shadow for personality */
    font-family: "Times New Roman", Times, serif;
}

/* 7. GITHUB SYNC CONTAINER */
.github-sync-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    margin-top: 20px;
    border: 2px solid #222;
    background: #000;
}

.github-sync-container iframe {
    position: absolute;
    top: 0; left: -6%;
    width: 112%; height: 100%;
    border: none;
}

/* 7. MOBILE OVERRIDES */
@media (max-width: 1024px) {
    .louisville-grid-row {
        flex-direction: column !important;
    }
    .louisville-col-main, .louisville-col-side {
        width: 100% !important;
        flex: none !important;
    }
}
