/* ===== NEWS PAGE STYLES ===== */

/* News Hero Section */
.news-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2530 100%);
}

.news-hero .hero-bg {
    background-image: url('https://images.unsplash.com/photo-1495563923587-bdc4282494d0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.news-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.8) 100%);
}

/* News Navigation */
.news-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-tabs {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.nav-tab {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    white-space: nowrap;
}

.nav-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.news-search {
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Featured News */
.featured-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.featured-article.main-featured .article-image {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.article-badge.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.article-badge.match-reports {
    background: #28a745;
}

.article-badge.player-news {
    background: #17a2b8;
}

.article-badge.academy-updates {
    background: #6f42c1;
}

.article-badge.transfers {
    background: #fd7e14;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta .category {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-meta .date,
.article-meta .read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-title {
    margin-bottom: 1rem;
}

.article-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
    gap: 0.8rem;
}

.read-more.sm {
    font-size: 0.9rem;
}

/* Featured Sidebar */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.side-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
}

.side-article .article-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.side-article .article-content {
    padding: 1.5rem;
}

.side-article .article-title a {
    font-size: 1.2rem;
}

/* Latest News */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.15);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .card-overlay {
    opacity: 1;
}

.read-article {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read-article:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-title {
    margin-bottom: 1rem;
}

.card-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-excerpt {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-footer .author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-footer .author-img {
    width: 35px;
    height: 35px;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.card-stats {
    display: flex;
    gap: 1rem;
}

.card-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Match Reports */
.match-report-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.match-report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
}

.match-report-card.win {
    border-left-color: #28a745;
}

.match-report-card.draw {
    border-left-color: #ffc107;
}

.match-report-card.loss {
    border-left-color: #dc3545;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.match-result {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.match-result.win {
    background: #28a745;
}

.match-result.draw {
    background: #ffc107;
    color: #000;
}

.match-result.loss {
    background: #dc3545;
}

.match-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.report-content .teams {
    margin-bottom: 1.5rem;
}

.report-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.report-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.match-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.match-stats .stat {
    text-align: center;
}

.match-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.match-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.report-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Player Spotlight */
.spotlight-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    height: 100%;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.15);
}

.spotlight-image {
    position: relative;
    width: 40%;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-image img {
    transform: scale(1.05);
}

.player-position {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.spotlight-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spotlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.spotlight-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.spotlight-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.player-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: space-around;
}

.player-stats .stat {
    text-align: center;
}

.player-stats .stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.player-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2530 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.newsletter-features i {
    color: var(--accent-color);
}

.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
    color: white;
}

.newsletter-form .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
    text-align: center;
}

/* Load More Button */
#load-more {
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .featured-article.main-featured .article-image {
        height: 300px;
    }
    
    .article-title a {
        font-size: 1.5rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spotlight-card {
        flex-direction: column;
    }
    
    .spotlight-image {
        width: 100%;
        height: 250px;
    }
    
    .newsletter-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tab {
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .featured-article.main-featured .article-image {
        height: 250px;
    }
    
    .article-title a {
        font-size: 1.3rem;
    }
    
    .match-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .report-actions {
        flex-direction: column;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .news-hero {
        min-height: 40vh;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .match-report-card {
        padding: 1.5rem;
    }
    
    .newsletter-card {
        padding: 1.5rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.5rem;
    }
}