/**
 * Regional Homepage Styles - Optimized for SEO & UX
 * Sports Wire Network
 * Version 2.0 - De-duplicated to work with Additional CSS
 * 
 * NOTE: This file contains ONLY homepage-specific styles.
 * Core site styles are in Theme > Customize > Additional CSS
 */

/* ===================================
   HOMEPAGE ONLY - Breaking News Section
   =================================== */

.breaking-news {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 20px;
    border-bottom: 4px solid #e74c3c;
}

.breaking-news .container {
    max-width: 1200px;
    margin: 0 auto;
}

.breaking-news h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breaking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.breaking-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.breaking-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.breaking-team-badge {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breaking-headline {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
}

.breaking-time {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* ===================================
   HOMEPAGE ONLY - Venue Location Tags
   =================================== */

.team-location {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    font-weight: 400;
}

.team-location:before {
    content: "📍 ";
    margin-right: 4px;
}

/* ===================================
   HOMEPAGE ONLY - Pro/College Section Dividers
   =================================== */

.section-divider {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    margin: 40px 0 30px 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.section-divider h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider.college {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ===================================
   HOMEPAGE ONLY - Market Intro Section
   =================================== */

.market-intro {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

.market-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.market-intro h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.market-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 10px;
}

/* ===================================
   HOMEPAGE ONLY - Select Your Team Section
   =================================== */

.select-section {
    background: #fff;
    padding: 30px 20px 20px;
    text-align: center;
}

.select-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   HOMEPAGE ONLY - Teams Grid
   =================================== */

.teams-section {
    padding: 20px;
    background: #fff;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================
   HOMEPAGE ONLY - Card Overlay Hover Effect
   =================================== */

.team-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #999;
}

.team-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-text {
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 20px;
}

.team-card:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

/* ===================================
   HOMEPAGE ONLY - Local SEO Content Block
   =================================== */

.local-seo-content {
    background: #f8f8f8;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #e0e0e0;
}

.local-seo-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.local-seo-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   MOBILE RESPONSIVE - Homepage Only
   =================================== */

@media (max-width: 768px) {
    .breaking-news {
        padding: 30px 15px;
    }
    
    .breaking-news h2 {
        font-size: 26px;
    }
    
    .breaking-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .market-intro {
        padding: 30px 15px;
    }
    
    .market-intro h2 {
        font-size: 26px;
    }
    
    .market-intro p {
        font-size: 15px;
    }
    
    .select-section h2 {
        font-size: 28px;
    }
    
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-divider {
        padding: 15px;
        margin: 30px 0 20px 0;
    }
    
    .section-divider h3 {
        font-size: 22px;
    }
}

/* ===================================
   ACCESSIBILITY - Homepage Only
   =================================== */

.breaking-card:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
}

/* ===================================
   PRINT STYLES - Homepage Only
   =================================== */

@media print {
    .breaking-news,
    .market-intro,
    .select-section {
        display: none;
    }
}