/* News Cards List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 76, 138, 0.08);
    border-color: #E5E7EB;
}

/* Date Block */
.news-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding-right: 32px;
    border-right: 1px solid #F0F0F0;
    text-align: center;
}

.news-year {
    font-size: 0.9rem;
    color: #9CA3AF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 4px;
}

.news-day-month {
    font-size: 1.5rem;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Content Block */
.news-content-block {
    flex-grow: 1;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* Badges(基底含未定義分類的預設灰;badge-* 或 inline 色碼會覆蓋) */
.news-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: #F3F4F6;
    color: #4B5563;
}

.badge-activity {
    background-color: #FEF3C7;
    /* Soft yellow/orange */
    color: #D97706;
    /* Dark amber */
}

.badge-competition {
    background-color: #FFEDD5;
    /* Soft orange */
    color: #EA580C;
    /* Dark orange */
}

.badge-other {
    background-color: #E0F2FE;
    /* Soft blue */
    color: #0284C7;
}

.badge-honor {
    background-color: #F3E8FF;
    /* Soft purple */
    color: #9333EA;
}

.news-card-title {
    font-size: 1.35rem;
    color: #3C2A5F;
    /* Rich purple/indigo title */
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
    margin: 4px 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.news-card:hover .news-card-title {
    color: #004C8A;
}

.news-snippet {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow Icon */
.news-arrow {
    color: #D1D5DB;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.news-card:hover .news-arrow {
    color: #004C8A;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .news-date-block {
        flex-direction: row;
        gap: 8px;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #F0F0F0;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 12px;
    }

    .news-content-block {
        padding: 0;
    }

    .news-arrow {
        display: none;
    }
}
