* {
    box-sizing: border-box;
}

body {
    background-color: #f8f8f8;
    font-family: 'Montserrat', sans-serif;
}

.content {
    margin: 30px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.news-block {
    display: flex;
    background-color: #e3e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 200px;
}

.news-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.news-image {
    flex: 0 0 300px;
    overflow: hidden;
    position: relative;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(196, 30, 58, 0.1), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-block:hover .news-image::before {
    opacity: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-block:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.news-content h3 {
    margin: 0;
    font-weight: 600;
    font-size: clamp(18px, 2.5vw, 22px);
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-block:hover .news-content h3 {
    color: #c41e3a;
}

.news-date-text {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date-text::before {
    content: '📅';
    font-size: 16px;
}

.news-content .read-more-btn {
    background: linear-gradient(135deg, #c41e3a, #a01729);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    width: fit-content;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-content .read-more-btn::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;
}

.news-content .read-more-btn:hover::before {
    left: 100%;
}

.news-content .read-more-btn:hover {
    background: linear-gradient(135deg, #333, #222);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-content .read-more-btn:active {
    transform: translateY(0);
}

/* Past News Dropdown Styles */
.past-news-section {
    margin-top: 40px;
    padding-top: 30px;
}

.past-news-toggle {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.past-news-toggle:hover {
    background: linear-gradient(135deg, #e8e8e8, #ddd);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-heading {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.past-news-toggle:hover .news-heading {
    color: #dc3545;
    font-weight: bolder;
}

.past-news-toggle h2::before {
    content: '🗃️';
    font-size: 35px;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #c41e3a;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-icon.active {
    transform: rotate(90deg);
    background-color: #c41e3a;
    color: white;
}

.past-news-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.past-news-content.active {
    max-height: 2000px;
}

.past-news-container {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 0 15px;
        margin: 20px auto;
    }

    .news-block {
        flex-direction: column;
        min-height: auto;
    }

    .news-image {
        flex: 0 0 200px;
        order: -1;
    }

    .news-content {
        padding: 20px;
        gap: 12px;
    }

    .news-content h3 {
        font-size: 18px;
    }

    .news-container {
        gap: 20px;
    }

    .past-news-toggle {
        padding: 15px 20px;
    }

    .past-news-toggle h2 {
        font-size: 18px;
    }

    .past-news-section {
        margin-top: 30px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 0 10px;
    }

    .news-image {
        flex: 0 0 160px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content .read-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .past-news-toggle {
        padding: 12px 15px;
    }

    .past-news-toggle h2 {
        font-size: 16px;
    }
}