/* ========================================
   NEWS SECTION - Mobile-First Approach
   ======================================== */

.news-section {
    padding: 2.5rem 1rem;
    background: #0a0a0a;
    min-height: 60vh;
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Antonio', sans-serif;
    font-size: 1.8rem; /* Mobile font size */
    font-weight: 700;
    color: #f5f5f5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title span {
    color: #FFCD00;
}

/* ===== LIVE NEWS GRID ===== */
#news-grid-live {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: 20px;
}

/* ===== NEWS CARD ===== */
.news-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 205, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: #FFCD00;
    box-shadow: 0 10px 28px rgba(255, 205, 0, 0.15);
}

/* ===== IMAGE BOX ===== */
.news-image-box {
    width: 100%;
    height: 180px; /* Smaller for mobile */
    overflow: hidden;
    background: #1a1a1a;
    flex-shrink: 0;
}

.news-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image-box img {
    transform: scale(1.05);
}

/* ===== CARD CONTENT ===== */
.news-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-metadata {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    color: #888;
}

.news-metadata .sport {
    color: #FFCD00;
    font-weight: 700;
}

.news-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1.35;
    margin: 0 0 0.7rem;
}

.news-card-excerpt {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.55;
    flex-grow: 1;
    margin: 0;
}

/* ===== SKELETON LOADERS ===== */
.news-skeleton {
    background: #111;
    border-radius: 8px;
    border: 1px solid rgba(255, 205, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.skeleton-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

.skeleton-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== LOADER ===== */
.loader-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hawk-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 205, 0, 0.15);
    border-left-color: #FFCD00;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== TABLET ENHANCEMENTS (min-width: 581px) ===== */
@media (min-width: 581px) {
    #news-grid-live {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .news-image-box {
        height: 200px;
    }
}

/* ===== DESKTOP ENHANCEMENTS (min-width: 961px) ===== */
@media (min-width: 961px) {
    #news-grid-live {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .news-card-content {
        padding: 1.2rem;
    }

    .news-card-title {
        font-size: 1.1rem;
    }
}

/* ===== PAGINATION ===== */
#news-pagination {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: flex;
    justify-content: center;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pag-btn {
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pag-btn:hover:not(:disabled) {
    background: #FFCD00;
    color: #000;
    border-color: #FFCD00;
}

.pag-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pag-numbers {
    display: flex;
    gap: 5px;
}

.pag-num {
    background: #111;
    border: 1px solid #333;
    color: #888;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pag-num:hover {
    border-color: #666;
    color: #fff;
}

.pag-num.active {
    background: #FFCD00;
    color: #000;
    border-color: #FFCD00;
}

@media (max-width: 600px) {
    .pag-btn span { display: none; }
    .pag-num { width: 35px; height: 35px; font-size: 0.8rem; }
}

/* ===== BUTTONS ===== */
.team-btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-align: center;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.team-btn.main {
    background: #FFCD00;
    color: #000;
}

.team-btn.main:hover {
    background: #fff;
    transform: scale(1.02);
}

