﻿/* ========================================= */
/* === 最新消息區塊 (News Section) === */
/* ========================================= */
.news-section {
    width: 100%;
    background-color: #fff8d6;
    padding: 50px 0 70px;
    margin-top: 60px;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-blue);
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .news-list li {
        display: flex;
        align-items: center;
        padding: 18px 0;
        border-bottom: 1px solid #eeeeee;
        gap: 20px;
    }

        .news-list li:last-child {
            border-bottom: none;
        }

.news-date {
    color: var(--text-gray);
    font-size: 1rem;
    min-width: 90px;
}

.news-tag {
    font-size: 1rem;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
}

.news-title {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .news-title:hover {
        color: var(--primary-blue);
    }

.news-more-wrapper {
    text-align: center;
    margin-top: 25px;
}

.btn-more {
    display: inline-block;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 20px;
    padding: 8px 25px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

    .btn-more:hover {
        background-color: var(--primary-green);
        color: #ffffff;
    }

@media (max-width: 600px) {
    .news-card {
        padding: 20px;
    }

    .news-list li {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 0;
    }

    .news-title {
        flex-basis: 100%;
        white-space: normal;
        line-height: 1.5;
        margin-top: 5px;
    }
}
