.kegiatan-detail-hero {
    position: relative;
    overflow: hidden;
    padding-top: 48px;
    padding-bottom: 24px;
}

.bg-custom-textur {
    background-color: #f5f9ff;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(16, 110, 234, 0.14) 0, rgba(16, 110, 234, 0.14) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(52, 183, 167, 0.14) 0, rgba(52, 183, 167, 0.14) 3px, transparent 3px),
        radial-gradient(circle at 30% 75%, rgba(255, 193, 7, 0.12) 0, rgba(255, 193, 7, 0.12) 2px, transparent 2px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.7) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.45) 25%, transparent 25%),
        linear-gradient(315deg, rgba(16, 110, 234, 0.04) 25%, transparent 25%),
        linear-gradient(45deg, rgba(52, 183, 167, 0.04) 25%, transparent 25%);
    background-position: 0 0, 30px 40px, 80px 20px, 0 0, 18px 18px, 0 0, 18px 18px;
    background-size: 120px 120px, 160px 160px, 140px 140px, 36px 36px, 36px 36px, 36px 36px, 36px 36px;
}

.bg-neutral-textur {
    background-color: #f1f3f5;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(108, 117, 125, 0.15) 0, rgba(108, 117, 125, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(173, 181, 189, 0.18) 0, rgba(173, 181, 189, 0.18) 3px, transparent 3px),
        radial-gradient(circle at 30% 75%, rgba(206, 212, 218, 0.2) 0, rgba(206, 212, 218, 0.2) 2px, transparent 2px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.68) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.48) 25%, transparent 25%),
        linear-gradient(315deg, rgba(108, 117, 125, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(173, 181, 189, 0.06) 25%, transparent 25%);
    background-position: 0 0, 30px 40px, 80px 20px, 0 0, 18px 18px, 0 0, 18px 18px;
    background-size: 120px 120px, 160px 160px, 140px 140px, 36px 36px, 36px 36px, 36px 36px, 36px 36px;
}

.kegiatan-detail-content-section {
    padding-top: 50px;
}

.kegiatan-detail-title {
    padding-bottom: 20px;
}

.kegiatan-detail-card {
    height: 100%;
    padding: 28px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 110, 234, 0.08);
}

.kegiatan-detail-category {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kegiatan-detail-image-wrap {
    height: 100%;
    min-height: 420px;
    padding: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 110, 234, 0.08);
}

.kegiatan-detail-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.kegiatan-gallery-card {
    position: relative;
    overflow: hidden;
}

.kegiatan-gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.kegiatan-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 110, 234, 0.7);
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.kegiatan-gallery-card:hover .kegiatan-gallery-overlay {
    opacity: 1;
}

.kegiatan-gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #106eea;
    font-weight: 700;
    text-decoration: none;
}

.panduan-detail-hero {
    position: relative;
    overflow: hidden;
    padding-top: 48px;
    padding-bottom: 24px;
}

.panduan-detail-content-section {
    padding-top: 50px;
}

.panduan-detail-card {
    padding: 28px 24px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.12);
}

.panduan-detail-copy h4 {
    color: #343a40;
    line-height: 1.45;
}

.panduan-detail-copy p {
    color: #6c757d;
}

.panduan-detail-actions .btn {
    min-height: 40px;
    border-radius: 999px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.panduan-detail-frame-wrap {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.panduan-detail-frame {
    width: 100%;
    height: 75vh;
    border: 0;
    display: block;
}

.panduan-list-card {
    height: 100%;
    padding: 28px 24px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(108, 117, 125, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panduan-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(108, 117, 125, 0.18);
}

.panduan-list-card .icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.panduan-list-card h4 {
    margin-bottom: 12px;
    line-height: 1.45;
}

.panduan-list-card h4 a {
    color: #212529;
}

.panduan-list-card h4 a:hover {
    color: #106eea;
}

.panduan-list-card p {
    margin-bottom: 0;
    color: #6c757d;
}

.panduan-list-card .btn {
    min-height: 40px;
    border-radius: 999px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.kegiatan-list-section {
    min-height: 70vh;
}

.kegiatan-list-search {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 110, 234, 0.08);
}

.kegiatan-list-search-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.kegiatan-list-search-input {
    min-height: 48px;
    border-radius: 10px;
    border-color: #d7e6f4;
    box-shadow: none;
}

.kegiatan-list-search-input:focus {
    border-color: #106eea;
    box-shadow: 0 0 0 0.2rem rgba(16, 110, 234, 0.12);
}

.kegiatan-list-search-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.kegiatan-list-search-actions .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 18px;
    font-weight: 600;
}

.kegiatan-list-reset-button {
    border-width: 1px;
}

.kegiatan-list-card {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 110, 234, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kegiatan-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(16, 110, 234, 0.14);
}

.kegiatan-list-card-image {
    overflow: hidden;
}

.kegiatan-list-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kegiatan-list-card:hover .kegiatan-list-card-image img {
    transform: scale(1.04);
}

.kegiatan-list-card-info {
    padding: 22px 20px;
}

.kegiatan-list-card-info h4 {
    margin-bottom: 0;
    line-height: 1.45;
}

.kegiatan-list-card-info h4 a {
    color: #2b2b2b;
}

.kegiatan-list-card-info h4 a:hover {
    color: #106eea;
}

.kegiatan-list-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 110, 234, 0.08);
    color: #106eea;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kegiatan-list-meta {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #6c757d;
    font-size: 14px;
}

.kegiatan-list-pagination {
    display: flex;
    justify-content: center;
}

.kegiatan-list-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kegiatan-list-pagination .pagination li a,
.kegiatan-list-pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #d7e6f4;
    background: #fff;
    color: #106eea;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(16, 110, 234, 0.06);
}

.kegiatan-list-pagination .pagination li.active span {
    background: #106eea;
    border-color: #106eea;
    color: #fff;
}

.kegiatan-list-pagination .pagination li.disabled span {
    color: #9aa9b8;
    background: #f7fafd;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .kegiatan-detail-card {
        margin-bottom: 24px;
    }

    .kegiatan-detail-image-wrap,
    .kegiatan-detail-image-wrap img {
        min-height: 320px;
    }

    .kegiatan-list-search-actions {
        margin-top: 12px;
    }

    .kegiatan-list-card-image img {
        height: 240px;
    }

    .panduan-detail-actions {
        width: 100%;
    }

    .panduan-list-card {
        padding: 24px 20px;
    }
}

@media (max-width: 767.98px) {
    .kegiatan-list-search {
        padding: 18px;
    }

    .kegiatan-list-search-actions {
        flex-direction: column;
    }

    .kegiatan-list-search-actions .btn,
    .kegiatan-list-reset-button {
        width: 100%;
    }

    .kegiatan-list-card-image img {
        height: 220px;
    }

    .panduan-detail-card {
        padding: 22px 18px;
    }

    .panduan-detail-frame {
        height: 65vh;
    }

    .panduan-list-card {
        padding: 22px 18px;
    }
}