/* ================================================================
   PREMIUM NEWS PAGE DESIGN
   Modern glassmorphism with gold accents and smooth animations
   ================================================================ */

/* ----------------------------------------------------------------
   NEWS GRID SECTION
   ---------------------------------------------------------------- */
.news-grid-section {
    position: relative;
    padding: 80px 0 120px;
    background: #0a0a0a;
}

.news-grid {
    display: block;
    position: relative;
    width: 100%;
}

.grid-sizer,
.news-card {
    width: calc(33.333% - 20px);
    margin: 10px;
}

@media (max-width: 1200px) {

    .grid-sizer,
    .news-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {

    .grid-sizer,
    .news-card {
        width: calc(100% - 20px);
    }
}

/* ----------------------------------------------------------------
   NEWS CARDS
   ---------------------------------------------------------------- */
.news-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.news-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15),
        0 0 40px rgba(255, 215, 0, 0.1);
}

.news-card:hover::before {
    opacity: 1;
}

/* Card Image */
.news-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-card:hover .news-card-overlay {
    opacity: 1;
}

/* Card Content */
.news-card-content {
    padding: 24px;
}

.news-card-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: #ffd700;
}

.news-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: #ffd700;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card-cta:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: translateX(4px);
}

.news-card-cta i {
    transition: transform 0.3s ease;
}

.news-card-cta:hover i {
    transform: translateX(4px);
}

/* ----------------------------------------------------------------
   ANNOUNCEMENT CARDS (No Image)
   ---------------------------------------------------------------- */
.news-card-announcement {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.03) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.news-card-announcement .news-card-content {
    padding: 40px 24px;
    text-align: center;
}

.announcement-icon {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 20px;
    display: block;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.announcement-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.announcement-tag {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #ffd700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------
   VIDEO CARDS
   ---------------------------------------------------------------- */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 24px;
    z-index: 2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-play-button::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    animation: playButtonPulse 2s ease-out infinite;
}

@keyframes playButtonPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.news-card:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffd700;
}

/* ----------------------------------------------------------------
   RESPONSIVE DESIGN
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
    .news-hero {
        min-height: 50vh;
        padding: 100px 20px 60px;
    }

    .news-title {
        font-size: 2rem;
    }

    .breadcrumb-glass {
        font-size: 12px;
        padding: 10px 20px;
    }

    .news-grid-section {
        padding: 60px 0 80px;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-title {
        font-size: 18px;
    }

    .news-card-excerpt {
        font-size: 13px;
    }
}

/* ----------------------------------------------------------------
   LOADING STATES
   ---------------------------------------------------------------- */
.news-card-skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ----------------------------------------------------------------
   UTILITY CLASSES
   ---------------------------------------------------------------- */
.text-gold {
    color: #ffd700;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.border-gold {
    border: 1px solid rgba(255, 215, 0, 0.2);
}