/* ==========================================================================
   RADCLIFFE TOWN SC - MASTER BASE STYLES (v2)
   ========================================================================== */

:root {
    /* Brand Colours */
    --rt-navy: #1d3557;         /* Primary Brand Blue */
    --rt-navy-dark: #0b1522;    /* Dark Accent */
    --rt-red: #e63946;          /* Primary Brand Red */
    --rt-red-hover: #c12e3a;
    
    /* Global Settings */
    --rt-white: #ffffff;
    --rt-bg-light: #f8f9fa;
    --container-width: 1200px;
    --border-radius: 10px;
    --transition: 0.3s ease-in-out;
}

/* 1. Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--rt-navy); /* Solid Brand Background */
    color: var(--rt-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. Hero Section */
.hero-section {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 4px solid var(--rt-red);
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.category-badge {
    background: var(--rt-red);
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* 3. Reusable Components & Cards */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.section-heading {
    color: var(--rt-white);
    text-transform: uppercase;
    border-left: 5px solid var(--rt-red);
    padding-left: 15px;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

/* News Cards (Glassmorphism Effect) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-text {
    padding: 20px;
}

.card-text small {
    color: var(--rt-red);
    font-weight: bold;
    text-transform: uppercase;
}

/* Buttons */
.btn-main, .read-more {
    background: var(--rt-red);
    color: var(--rt-white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.btn-main:hover, .read-more:hover {
    background: var(--rt-white);
    color: var(--rt-navy);
}

/* 4. Match Sidebar */
.match-card {
    background: var(--rt-navy-dark);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border-left: 6px solid var(--rt-red);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.vs-badge {
    background: var(--rt-red);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.match-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

/* 5. Mobile Responsiveness */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}