.announcement-list-wrapper {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #0097a7;
}

.tab-btn.active {
    border-bottom: 3px solid #0097a7;
    color: #0097a7;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.announcement-card {
    border-left: 4px solid #0097a7;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* --- UPDATED: Zero bottom margin --- */
.card-title {
    margin-top: 20px;
    margin-bottom: 0px; /* No space below title */
    color: #333;
    font-size: 1.25rem;
    line-height: 1.2; /* Tighter line height helps reduce gap visually */
}

/* --- UPDATED: Zero top margin --- */
.card-summary {
    margin-top: 0px; /* No space above text */
    color: #555;
    line-height: 1.6;
}

.btn-read-more {
    margin-top: 20px;
    background-color: #17a2b8;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-read-more:hover {
    background-color: #138496;
    color: white;
}

.pagination-container {
    margin-top: 40px;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.pagination-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.pagination-link:hover {
    background-color: #f8f9fa;
}

.pagination-link.active {
    background-color: #0097a7;
    color: white;
    border-color: #0097a7;
}