/* --- News Section Styling --- */
.news-section {
    padding: 50px 0;
    background-color: var(--white);
}

.news-section h2 {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center;
}

.news-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- Main News Article Layout (Flexbox) --- */
.main-news-article {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 30px;
}

.news-image-wrapper {
    flex-shrink: 0;
    width: 45%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.news-content {
    flex: 1;
    padding-top: 5px;
}

.news-title {
    font-size: 1.5em;
    color: var(--main-blue);
    margin-bottom: 10px;
}

.news-text {
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: justify;
}

.news-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.news-tags {
    margin-bottom: 15px;
}

.news-tags .tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85em;
    margin-right: 5px;
}

/* --- Buttons --- */
.btn.secondary-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--main-blue);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.25s;
    font-size: 0.95em;
}

.btn.secondary-btn:hover {
    background-color: #103c91;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-news-article {
        flex-direction: column;
        align-items: center;
    }

    .news-image-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .news-content {
        width: 100%;
    }

    .news-title {
        font-size: 1.3em;
        text-align: center;
    }

    .news-text {
        text-align: left;
    }

    .btn.secondary-btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}
