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

.agenda-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;
}

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

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

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

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

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

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

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

.agenda-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;
}

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

.popular-img {
    width: 80px;
    height: 65px;
    border-radius: 10px;
    background: #e8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.popular-item h6 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.popular-item small {
    color: #777;
}
.agenda-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;
}

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

.agenda-detail-date strong {
    font-size: 48px;
    line-height: 1;
}

.agenda-detail-date span {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

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

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

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

.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);
}
@media (max-width: 768px) {
    .agenda-detail-image,
    .agenda-detail-image-placeholder {
        height: 260px;
    }

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

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

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

    .agenda-content {
        padding: 22px;
    }

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