.announcement-hero {
    padding: 30px 0 10px;
}

.announcement-hero-card {
    min-height: 300px;
    border-radius: 18px;
    padding: 60px;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 255, 255, 0.65)
        ),
        url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.title-line {
    width: 55px;
    height: 3px;
    background: #198754;
    margin-top: 12px;
}

.search-box {
    height: 56px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.search-box input {
    border: 0;
    outline: none;
    width: 100%;
    font-size: 15px;
}

.announcement-select {
    border-radius: 12px;
    border-color: #e8e8e8;
    height: 56px;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.announcement-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transition: 0.2s;
}

.announcement-card:hover {
    transform: translateY(-4px);
}

.announcement-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.announcement-img-placeholder {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, #e8f5ee, #cfeedd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.announcement-content {
    padding: 24px 28px;
}

.announcement-category {
    display: inline-block;
    background: #d8f3e4;
    color: #08783b;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
}

.announcement-meta {
    color: #666;
    font-size: 13px;
}

.read-more {
    color: #08783b;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    color: #065f2f;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.category-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    color: #222;
}

.category-list li.active,
.category-list li:hover {
    background: #e8f5ee;
    color: #08783b;
}

.category-list strong {
    background: #e8f5ee;
    color: #08783b;
    border-radius: 50%;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.announcement-main-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    font-size: 28px;
}

.announcement-empty-icon {
    font-size: 58px;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.popular-img {
    width: 62px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf8f1;
    border-radius: 11px;
    font-size: 24px;
}

.popular-item h6 {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.popular-item small {
    color: #6b7280;
}

.pagination-custom .pagination {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
}

.pagination-custom .page-link {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #198754;
    border: 1px solid #dee2e6;
    border-radius: 10px;
}

.pagination-custom .page-item.active .page-link {
    color: #fff;
    background: #198754;
    border-color: #198754;
}

.pagination-custom .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
}

.pagination-custom .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}
.announcement-detail-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.announcement-detail-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.announcement-detail-body {
    padding: 40px;
}

.announcement-detail-meta {
    color: #666;
    font-size: 14px;
}

.announcement-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.announcement-detail-content p {
    margin-bottom: 18px;
}

.announcement-detail-content img {
    max-width: 100%;
    border-radius: 14px;
    margin: 20px 0;
}

.announcement-detail-image-placeholder {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(25, 135, 84, 0.95),
        rgba(8, 120, 59, 0.88)
    );
    border-radius: 18px 18px 0 0;
}

.announcement-detail-icon {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #198754;
    background: #fff;
    border-radius: 24px;
    font-size: 54px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.popular-item:hover {
    background: #f1faf5;
    transform: translateX(3px);
}

.popular-item h6 {
    margin-bottom: 4px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .announcement-detail-image,
    .announcement-detail-image-placeholder {
        height: 260px;
    }

    .announcement-detail-body {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .announcement-hero-card {
        padding: 35px;
    }

    .announcement-img,
    .announcement-img-placeholder {
        height: 220px;
    }

    .announcement-content {
        padding: 22px;
    }

    .d-flex.justify-content-between.align-items-center.mt-4 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
}

.announcement-alert {
    background: #fff8e1;
    border-left: 5px solid #ffc107;
    border-radius: 12px;
    padding: 18px 22px;
    color: #5c4700;
}

.announcement-info-box {
    background: #f8fbf9;
    border-radius: 16px;
    padding: 28px;
}
