.news-section {
    padding: 80px 0 20px;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.3) 50%, transparent 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ========================================
   News Grid
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    margin-bottom: 80px;
}

/* ========================================
   News Card
   ======================================== */
.news-card {
    background: rgba(26, 31, 58, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /*cursor: pointer;*/
    animation: fadeInScale 0.6s ease-out both;
    backdrop-filter: blur(10px);
    position: relative;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(0, 78, 137, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 50px rgba(0, 78, 137, 0.25),
        0 0 0 1px rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

/* ========================================
   News Image
   ======================================== */
.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #0a0e27;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.news-card:hover .news-image {
    transform: scale(1.08);
    filter: brightness(1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.8) 100%);*/
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.news-card:hover .image-overlay {
    opacity: 0.9;
}

/* ========================================
   New Badge
   ======================================== */
.new-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #ffffff;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.5),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInBadge 0.6s ease-out 0.3s both;
}

@keyframes slideInBadge {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========================================
   News Content
   ======================================== */
.news-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    min-height: 60px;
    display: -webkit-box;
    /*-webkit-line-clamp: 2;
    -webkit-box-orient: vertical;*/
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
   /* color: #ff6b35;*/
}

/* ========================================
   Read More Link
   ======================================== */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
    width: fit-content;
}

.read-more::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #ff8c5a;
    gap: 12px;
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* ========================================
   News Date
   ======================================== */
.news-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #808080;
    font-size: 14px;
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.clock-icon {
    color: #004e89;
    flex-shrink: 0;
}

/* ========================================
   Load More Button
   ======================================== */
.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #004e89 0%, #0066b3 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 78, 137, 0.4);
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-load-more:hover::before {
    left: 100%;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 78, 137, 0.6);
    background: linear-gradient(135deg, #0066b3 0%, #004e89 100%);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-load-more span,
.btn-load-more .arrow-icon {
    position: relative;
    z-index: 1;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.btn-load-more:hover .arrow-icon {
    transform: translateY(4px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1400px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 35px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-content {
        padding: 60px 20px 40px;
    }

    .container {
        padding: 0 20px;
    }

    .news-section {
        padding: 60px 0 80px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 0;
    }

    .news-image-wrapper {
        height: 240px;
    }

    .news-title {
        font-size: 19px;
        min-height: auto;
    }

    .news-content {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 280px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-line {
        width: 100px;
    }

    .hero-content {
        padding: 50px 20px 30px;
    }

    .news-section {
        padding: 40px 0 60px;
    }

    .container {
        padding: 0 16px;
    }

    .news-image-wrapper {
        height: 220px;
    }

    .news-content {
        padding: 24px 20px;
    }

    .news-title {
        font-size: 18px;
    }

    .btn-load-more {
        padding: 16px 36px;
        font-size: 15px;
    }

    .new-badge {
        padding: 8px 20px;
        font-size: 10px;
    }
}
