/* ===== Stats Section ===== */
.stats-section-k {
    padding: 60px 0;
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center
}

.stats-grid-k {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.stat-card-k {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card-k:hover {
    transform: translateY(-5px);
    border-color: #0ea5e9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon-wrapper-k {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0ea5e9;
    margin-bottom: 15px;
}

.stat-value-k {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 8px;
}

.stat-label-k {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Light theme stats adjustments */
[data-theme="light"] .stat-card-k {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .stat-card-k:hover {
    border-color: #0ea5e9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stat-label-k {
    color: #64748b;
}

/* ===== Services Section ===== */
.services-section-k {
    background: var(--section-dark);
    position: relative;
    overflow: hidden
}

.services-grid-k {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

/* ===== Info Section ===== */
.info-section-k {
    background: var(--dark-gradient);
    position: relative
}

.info-badge-k {
    display: inline-flex;
    align-items: center;
    background: rgba(201, 168, 76, .15);
    border: 1px solid rgba(201, 168, 76, .3);
    color: var(--accent);
    font-weight: 700;
    font-size: .8rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem
}

.info-title-k {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1rem
}

.info-desc-k {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem
}

.info-visual-k {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center
}

.visual-orbit-k {
    position: relative;
    width: 200px;
    height: 200px
}

.orbit-ring-k {
    position: absolute;
    border: 2px dashed rgba(201, 168, 76, .15);
    border-radius: 50%;
    animation: spinOrbit-k 20s linear infinite
}

.orbit-ring-1-k {
    inset: 0
}

.orbit-center-k {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 0 30px rgba(201, 168, 76, .3)
}

@keyframes spinOrbit-k {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

/* ===== Footer ===== */
.footer-k {
    /* background: var(--section-dark); */
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

.footer-grid-k {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-brand-k p {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 360px;
}

.footer-social-k {
    display: flex;
    gap: .75rem;
}

.footer-social-k a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-social-k a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 174, 239, 0.08);
    transform: translateY(-3px);
}

.footer-column-k h4 {
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ===== Unified Footer Info List (shared by Jam & Kontak) ===== */
.footer-info-list-k {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info-list-k li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    margin: 0;
}

.footer-info-list-k li:hover {
    transform: translateX(3px);
}

.footer-info-list-k li > i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 174, 239, 0.08);
    border: 1px solid rgba(0, 174, 239, 0.15);
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-info-list-k li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-info-list-k li strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.footer-info-list-k li span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Closed / holiday style */
.footer-info-list-k li.closed > i {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.footer-info-list-k li.closed strong {
    color: var(--text-muted);
}

.footer-info-list-k li.closed span {
    color: #f87171;
    font-weight: 600;
}

.footer-bottom-k {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom-k p {
    color: var(--text-muted);
    font-size: .82rem;
    letter-spacing: 0.5px;
}

/* ===== Scroll to Top ===== */
.scroll-top-k {
    position: fixed;
    bottom: 2rem;
    right: calc(1.5rem + 3px);
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px)
}

.scroll-top-k.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

/* ===== Hero Section (Single Background) ===== */
.hero-gallery-k {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-overlay-k {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 26, 0.7) 0%, rgba(10, 10, 26, 0.5) 50%, rgba(10, 10, 26, 0.9) 100%);
    z-index: 2;
}

.hero-bg-img-k {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/perpus.jpg') center/cover no-repeat;
    z-index: 1;
    transform: scale(1.05);
    filter: blur(2px) brightness(0.65);
}

.search-section-k {
    width: 100%;
    padding: 100px 0;
    background: var(--section-dark);
    transition: var(--transition-smooth);
}

.books-section-k {
    width: 100%;
    padding: 100px 0;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .books-section-k {
    background: #111122;
}

.events-section-k {
    width: 100%;
    padding: 80px 0;
    background: var(--section-dark);
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
}

.section-header-k {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
}

.section-title-wrapper-k {
    position: relative;
    display: inline-block;
}

.section-title-wrapper-k .section-title {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.title-divider-k {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 10px;
}

.slider-nav-k {
    display: flex;
    gap: 12px;
}

.shortcuts-section-k {
    width: 100%;
    padding: 80px 0;
    /* background: var(--section-dark); */
    transition: var(--transition-smooth);
}

.artikel-section-k {
    width: 100%;
    padding: 80px 0;
    background: var(--section-dark);
    transition: var(--transition-smooth);
}

.info-section-k {
    width: 100%;
    padding: 80px 0;
    background: var(--section-dark);
    transition: var(--transition-smooth);
}

.search-title-k {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 45px;
    font-family: var(--font-heading);
}

.search-tabs-k {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .search-tabs-k {
        justify-content: flex-start;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.search-tab-k {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all .3s ease;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    min-width: 110px;
    flex-shrink: 0;
}

.search-tab-k:hover {
    background: var(--glass-border);
    border-color: var(--accent);
    color: var(--text-primary);
}

.search-tab-k.active {
    background: var(--gold-gradient);
    color: #000000 !important;
    border-color: transparent;
}

.search-flex-k {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.search-input-group-k {
    flex: 1;
    display: flex;
    align-items: center;
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    height: 55px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.08);
}

.search-icon-left-k {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 1.2rem;
}

.search-input-k {
    color: #1a1a2e !important;
    background: #ffffff !important;
    border: none !important;
    outline: none !important;
    flex: 1;
    padding: 0 15px 0 0;
    font-size: 1.05rem;
    font-weight: 500;
    height: 100%;
}

.search-btn-k {
    background: #002147 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 35px !important;
    height: 55px !important;
    font-weight: 800 !important;
    cursor: pointer;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    font-size: 0.9rem !important;
}

.search-btn-k:hover {
    background: #00152e !important;
    transform: translateY(-2px);
}

.search-input-k::placeholder {
    color: #888 !important;
}

/* Redundant button removed */

/* Event Cards (Smaller Version) */
.event-card-k {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    height: 100%;
    max-width: 320px;
    margin: 0 auto;
    cursor: pointer;
    position: relative;
}

.event-card-k:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.event-card-k:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.event-thumb-k {
    height: 200px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.event-body-k {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.event-title-k {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2rem; /* Fixed height for 2 lines */
}

.event-location-k {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    margin-bottom: 25px !important;
    display: flex;
    align-items: flex-start;
    height: 3rem; /* Fixed height for 2 lines */
    overflow: hidden;
    line-height: 1.5;
}

.event-footer-k {
    margin-top: auto;
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.event-footer-divider-k {
    width: 1px;
    height: 20px;
    background: var(--glass-border);
    margin: 0 5px;
}

.event-time-wrapper-k {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.shortcuts-grid-k {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto
}

.shortcut-card-k {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition-smooth)
}

.shortcut-card-k:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, .06)
}

.artikel-grid-k {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.artikel-card-k {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth)
}

.artikel-card-k:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.artikel-card-k:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.artikel-thumb-k {
    height: 200px;
    overflow: hidden
}

.artikel-thumb-k img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease
}

.artikel-title-k {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.artikel-date-k {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .75rem
}

.artikel-title-k a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth)
}

.artikel-title-k a:hover {
    color: var(--accent)
}

.artikel-excerpt-k {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.artikel-readmore-k {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.artikel-readmore-k:hover {
    padding-left: 5px;
    opacity: 0.8;
}

/* ===== Artikel Detail Page (Simplified & Neat) ===== */
.artikel-detail-k {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    /* Solid white for a clean academic look */
    padding: 60px 80px;
    color: #333333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .artikel-detail-k {
    background: #1a1a2e;
    /* Darker but solid for dark theme */
    color: #eeeeee;
}

.artikel-breadcrumb-k {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: #888;
}

.artikel-breadcrumb-k a {
    color: #888;
}

.artikel-breadcrumb-k a:hover {
    color: var(--accent);
}

.artikel-detail-thumb-k {
    width: 100%;
    max-width: 700px;
    /* Centered and not too huge */
    margin: 0 auto 40px;
    display: block;
}

.artikel-detail-thumb-k img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.artikel-detail-header-k {
    text-align: center;
    margin-bottom: 50px;
}

.artikel-detail-title-k {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: inherit;
}

.artikel-meta-k {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

[data-theme="dark"] .artikel-meta-k {
    color: #aaa;
}

.artikel-detail-content-k {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.artikel-detail-content-k p {
    margin-bottom: 20px;
}

.artikel-detail-content-k h2 {
    text-align: left;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: inherit;
}

.artikel-detail-content-k img,
.event-detail-description-k img,
.page-body-k img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.artikel-detail-content-k figure,
.event-detail-description-k figure,
.page-body-k figure {
    max-width: 100%;
    margin: 24px auto;
}

.artikel-detail-content-k figure img,
.event-detail-description-k figure img,
.page-body-k figure img {
    display: block;
    margin: 0 auto;
}

.artikel-detail-content-k figcaption,
.event-detail-description-k figcaption,
.page-body-k figcaption {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.artikel-detail-content-k .image-style-align-left,
.event-detail-description-k .image-style-align-left,
.page-body-k .image-style-align-left {
    float: left;
    margin: 8px 24px 16px 0;
}

.artikel-detail-content-k .image-style-align-right,
.event-detail-description-k .image-style-align-right,
.page-body-k .image-style-align-right {
    float: right;
    margin: 8px 0 16px 24px;
}

.artikel-detail-content-k::after,
.event-detail-description-k::after,
.page-body-k::after {
    content: "";
    display: block;
    clear: both;
}

.btn-back-home-k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.3s;
}

[data-theme="dark"] .btn-back-home-k {
    border-color: #444;
}

.btn-back-home-k:hover {
    color: var(--accent);
    border-color: var(--accent);
}

@media(max-width:768px) {
    .artikel-detail-k {
        padding: 40px 20px;
    }

    .artikel-detail-title-k {
        font-size: 1.8rem;
    }
}

/* ===== Event List Page (Clean & Theme Responsive) ===== */
.event-page-container-k {
    background: var(--nav-solid-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.event-filter-bar-k {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-group-k {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}
.filter-select-k {
    padding: 8px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
}
.filter-search-k {
    position: relative;
    flex: 1;
    min-width: 250px;
}
.filter-search-k i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.filter-search-k input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-primary);
}
.filter-views-k {
    display: flex;
    gap: 4px;
}
.filter-views-k button {
    padding: 10px 18px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.filter-views-k button.active {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
}
.filter-views-k button:hover:not(.active) {
    border-color: var(--accent);
    color: var(--accent);
}

.event-month-divider-k {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}
.event-month-divider-k span {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary);
    background: var(--nav-solid-bg);
    padding: 0 30px;
    position: relative;
    z-index: 1;
}
.event-month-divider-k::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--glass-border);
}

.event-list-item-k {
    display: grid;
    grid-template-columns: 320px 1fr 280px;
    border: 1px solid var(--glass-border);
    margin-bottom: 30px;
    transition: var(--transition-smooth);
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}
.event-list-item-k:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(-5px);
    border-color: var(--accent);
}
.event-list-img-k {
    height: 240px;
    overflow: hidden;
}
.event-list-img-k img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-list-info-k {
    padding: 30px;
    border-right: 1px solid var(--glass-border);
}
.event-list-title-k {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}
.event-list-desc-k {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}
.event-list-meta-k {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.meta-item-k {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.meta-item-k i {
    width: 20px;
    color: var(--accent);
    font-size: 1.1rem;
}
.meta-item-k strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-primary);
}
.event-list-footer-k {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0,0,0,0.05);
    border-top: 1px solid var(--glass-border);
}
.share-icon-k {
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}
.share-icon-k:hover { color: var(--accent); }

.btn-event-view-k {
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    background: var(--glass-bg);
}
.btn-event-view-k:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
}

@media(max-width: 1100px) {
    .event-list-item-k {
        grid-template-columns: 1fr;
    }
    .event-list-info-k {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
}

/* ===== Event Detail Page (Academic Style) ===== */
.event-detail-page-k {
    background: var(--nav-solid-bg);
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.15);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    max-width: 1100px;
    margin: 0 auto;
}
.event-detail-top-k {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}
.event-detail-poster-k {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.event-detail-poster-k img {
    width: 100%;
    height: auto;
    display: block;
}
.event-detail-sidebar-k {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}
.org-brand-k h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent);
}
.org-brand-k p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.event-detail-body-k {
    border-top: 2px solid var(--glass-border);
    padding-top: 40px;
}
.event-detail-title-k {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}
.event-detail-description-k {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.event-info-list-k {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}
.event-info-list-k li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}
.event-info-list-k i {
    width: 20px;
    color: var(--accent);
}
.event-highlights-k {
    background: rgba(201,168,76,0.05);
    padding: 25px;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    margin: 30px 0;
}
.event-highlights-k p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.event-highlights-k i {
    color: var(--accent);
}
.event-social-k {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media(max-width: 992px) {
    .event-detail-top-k {
        grid-template-columns: 1fr;
    }
    .event-detail-page-k {
        padding: 30px;
    }
    .event-detail-title-k {
        font-size: 2rem;
    }
}

.btn-event-detail-k {
    width: 120px;
    text-align: center;
    padding: 10px 0;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    text-decoration: none;
    display: inline-block;
}
.btn-event-detail-k:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-back-home-k {
    display: inline-block;
    padding: 12px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
}
.btn-back-home-k:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    transform: translateX(-5px);
}


/* ===== GLOBAL UTILITIES ===== */
.container-k { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }
body { overflow-x: hidden; }

/* Scrollbar styling */
.search-tabs-k::-webkit-scrollbar { height: 4px; }
.search-tabs-k::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }
.filter-views-k::-webkit-scrollbar { height: 3px; }
.filter-views-k::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ==========================================================================
   RESPONSIVE — consolidated, single source of truth
   ========================================================================== */

/* -- TABLET (max 991px) -- */
@media (max-width: 991px) {
    .container-k { padding: 0 1.5rem; }
    .stats-grid-k        { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
    .shortcuts-grid-k     { grid-template-columns: repeat(3, 1fr) !important; }
    .artikel-grid-k       { grid-template-columns: repeat(2, 1fr) !important; }
    .events-grid-k        { grid-template-columns: 1fr !important; }
    .footer-grid-k        { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }
    .footer-brand-k       { grid-column: span 2; }
    .info-grid-inner { grid-template-columns: 1fr !important; gap: 2rem !important; text-align: center; }
    .info-visual-k   { height: 220px !important; margin-top: 1.5rem; }
    .visual-orbit-k  { margin: 0 auto; }
    .hero-gallery-k { height: 100vh !important; min-height: 100vh !important; overflow: hidden; }
    .event-filter-bar-k  { flex-direction: column !important; gap: 15px !important; padding: 20px !important; }
    .filter-group-k      { width: 100% !important; }
    .filter-select-k     { flex: 1 !important; min-width: 0 !important; }
    .filter-search-k     { width: 100% !important; }
    .filter-search-k input { width: 100% !important; }
    .filter-views-k      { width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; padding-bottom: 5px !important; justify-content: flex-start !important; flex-wrap: nowrap !important; }
    .filter-views-k button { white-space: nowrap !important; flex-shrink: 0 !important; }
    .event-list-item-k   { grid-template-columns: 1fr !important; }
    .event-list-info-k   { border-right: none !important; border-bottom: 1px solid var(--glass-border) !important; }
    .event-list-img-k    { height: 220px !important; }
    .event-list-meta-k   { border-left: none !important; }
    .event-month-divider-k { margin: 25px 0 !important; }
    .event-detail-top-k  { grid-template-columns: 1fr !important; }
    .event-detail-page-k { padding: 25px !important; }
    .event-detail-title-k { font-size: 1.8rem !important; }
}

/* -- SMALL TABLET / LARGE PHONE (max 768px) -- */
@media (max-width: 768px) {
    .container-k { padding: 0 1.25rem; }
    .section-title, h2.section-title { font-size: 1.8rem !important; }
    .section-header-k { margin-bottom: 25px; flex-direction: row; align-items: center; justify-content: space-between; }
    .section-title-wrapper-k .section-title { font-size: 1.6rem !important; }
    .title-divider-k { bottom: -6px; width: 35px; height: 3px; }
    .events-section-k { padding: 40px 0 !important; }
    .search-title-k { font-size: 1.3rem !important; }
    .info-title-k   { font-size: 1.6rem !important; }
    .shortcuts-grid-k { grid-template-columns: repeat(3, 1fr) !important; gap: 1rem !important; }
    .artikel-grid-k   { grid-template-columns: 1fr !important; }
    .stats-grid-k     { grid-template-columns: repeat(2, 1fr) !important; padding: 0 !important; }
    .stat-card-k  { padding: 25px 20px !important; }
    .stat-value-k { font-size: 1.6rem !important; }
    .search-section-k   { padding: 60px 0 !important; }
    .events-section-k   { padding: 50px 0 !important; }
    .shortcuts-section-k { padding: 50px 0 !important; }
    .artikel-section-k  { padding: 50px 0 !important; }
    .info-section-k     { padding: 50px 0 !important; }
    .search-tabs-k { justify-content: flex-start !important; padding-left: 0; padding-right: 0; }
    .event-highlights-k   { padding: 20px !important; border-radius: 8px !important; }
    .event-highlights-k p { display: flex !important; flex-direction: column !important; gap: 4px !important; margin-bottom: 15px !important; align-items: flex-start !important; }
    .event-highlights-k a { word-break: break-all !important; display: inline-block !important; margin-top: 4px; }
    .event-info-list-k    { flex-direction: column !important; gap: 12px !important; }
    .event-detail-body-k  { padding: 25px 15px !important; }
    .event-list-info-k   { padding: 20px !important; }
    .event-list-title-k  { font-size: 1.3rem !important; }
    .event-list-meta-k   { padding: 15px 20px !important; gap: 12px !important; }
    .event-list-footer-k { padding: 12px 20px !important; }
    .artikel-detail-k       { padding: 30px 20px !important; }
    .artikel-detail-title-k  { font-size: 1.5rem !important; }
    .artikel-detail-content-k { font-size: 1rem !important; }
    .footer-k { padding: 3rem 1rem 1.5rem !important; }
    .footer-grid-k { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .footer-brand-k { grid-column: span 1; }
}

/* -- PHONE (max 576px) -- */
@media (max-width: 576px) {
    .container-k { padding: 0 1rem; }
    .stats-grid-k     { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    .shortcuts-grid-k { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
    .shortcut-card-k { padding: 1.2rem 0.75rem !important; }
    .shortcut-card-k .shortcut-icon-k { width: 48px !important; height: 48px !important; font-size: 1.2rem !important; }
    .shortcut-card-k .shortcut-label-k { font-size: 0.75rem !important; }
    .hero-gallery-k    { height: 100vh !important; min-height: 100vh !important; }
    .hero-gallery-k h1 { font-size: 1.6rem !important; line-height: 1.2 !important; }
    .hero-gallery-k p  { font-size: 0.95rem !important; line-height: 1.6 !important; }
    .info-visual-k { display: none !important; }
    .info-title-k  { font-size: 1.5rem !important; }
    .event-card-k  { max-width: 100% !important; border-radius: 12px !important; }
    .event-thumb-k { height: 180px !important; }
    .event-body-k  { padding: 15px !important; }
    .event-title-k { font-size: 1rem !important; height: auto !important; margin-bottom: 8px !important; }
    .event-location-k { height: auto !important; font-size: 0.85rem !important; margin-bottom: 15px !important; }
    .event-footer-k { padding: 12px 15px !important; }
    .btn-event-detail-k { padding: 8px 15px !important; font-size: 0.75rem !important; }
    .event-page-container-k { padding: 15px !important; border-radius: 8px !important; }
    .event-filter-bar-k { padding: 15px !important; margin-bottom: 25px !important; }
    .event-list-img-k { height: 180px !important; }
    .stat-card-k  { padding: 20px 15px !important; border-radius: 14px !important; }
    .stat-icon-k  { font-size: 1.8rem !important; margin-bottom: 10px !important; }
    .stat-value-k { font-size: 1.4rem !important; }
    .stat-label-k { font-size: 0.75rem !important; letter-spacing: 1.5px !important; }
    .search-flex-k { flex-direction: column !important; gap: 15px !important; }
    .search-input-group-k { width: 100% !important; flex: none !important; }
    .search-btn-k { width: 100% !important; justify-content: center !important; text-align: center !important; flex: none !important; }
    .footer-grid-k { grid-template-columns: 1fr !important; }
    .footer-brand-k { grid-column: span 1; }
    .footer-logo-img { height: 45px !important; }
    .footer-bottom-k { margin-top: 2rem !important; padding-top: 1.5rem !important; }
}

/* -- EXTRA SMALL (max 400px) -- */
@media (max-width: 400px) {
    .container-k { padding: 0 0.75rem; }
    .shortcuts-grid-k { grid-template-columns: repeat(2, 1fr) !important; gap: 0.5rem !important; }
    .hero-gallery-k h1 { font-size: 1.4rem !important; }
    .search-title-k { font-size: 1.2rem !important; }
    .event-page-container-k { padding: 10px !important; }
}

/* Animations */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
}



.books-grid-k {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.book-card-k {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.book-card-k:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.book-cover-k {
    position: relative;
    height: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.book-cover-k img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.book-card-k:hover .book-cover-k img {
    transform: scale(1.05);
}

.book-badge-k {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold-gradient);
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.book-info-k {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-title-k {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author-k {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-author-k i {
    color: var(--accent);
    font-size: 0.75rem;
}

.book-meta-row-k {
    margin-top: auto;
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.book-meta-row-k span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-meta-row-k i {
    color: var(--accent);
    font-size: 0.7rem;
}

@media (max-width: 1024px) {
    .books-grid-k { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .books-grid-k { grid-template-columns: 1fr; gap: 1.5rem; }
    .book-cover-k { height: 220px; }
}

/* ===== JAM BUKA STANDALONE SECTION ===== */
.jambuka-section-k {
    width: 100%;
    padding: 80px 0;
    background: var(--section-dark);
    transition: var(--transition-smooth);
}

.jambuka-card-k {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Schedule */
.schedule-list-k {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-item-k {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--glass-bg);
    transition: var(--transition-smooth);
}

.schedule-item-k.open {
    border-left: 3px solid var(--accent);
}

.schedule-item-k.closed {
    border-left: 3px solid #ef4444;
    opacity: 0.7;
}

.schedule-day-k {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.schedule-time-k {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.badge-closed-k {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Contact */
.contact-list-k {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-k {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon-k {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 174, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1rem;
}

.contact-item-k strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.contact-item-k p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Visitor Stats */
.visitor-stats-k {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.visitor-stat-item-k {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--glass-bg);
    transition: var(--transition-smooth);
}

.visitor-stat-item-k:hover {
    background: rgba(0, 174, 239, 0.05);
}

.visitor-stat-icon-k {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.visitor-stat-icon-k.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.visitor-stat-icon-k.today {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.visitor-stat-icon-k.total {
    background: rgba(0, 174, 239, 0.15);
    color: #00aeef;
}

.visitor-stat-icon-k.hits {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.visitor-stat-value-k {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.visitor-stat-label-k {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .info-contact-grid-k { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== GENERIC PAGE STYLES ===== */
.page-header-k {
    width: 100%;
    padding: 140px 0 50px;
    background: var(--section-dark);
    border-bottom: 1px solid var(--glass-border);
}

.page-breadcrumb-k {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.page-breadcrumb-k a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.page-breadcrumb-k a:hover {
    opacity: 0.8;
}

.breadcrumb-sep-k {
    font-size: 0.6rem;
    opacity: 0.5;
}

.page-main-title-k {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon-k {
    color: var(--accent);
    font-size: 0.8em;
}

.page-content-k {
    width: 100%;
    padding: 60px 0 80px;
    background: var(--section-dark);
    min-height: 50vh;
}

.page-body-k {
    max-width: 900px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.page-body-k h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-body-k p {
    margin-bottom: 1rem;
}

.page-body-k ul, .page-body-k ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-body-k li {
    margin-bottom: 0.5rem;
}

.page-body-k strong {
    color: var(--text-primary);
}

/* Staff Cards */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.staff-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.staff-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.staff-avatar {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.staff-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.staff-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Org Chart */
.org-chart {
    margin-top: 2rem;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.org-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 200px;
    transition: var(--transition-smooth);
}

.org-box:hover {
    border-color: var(--accent);
}

.org-box.org-head {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.org-box i {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.org-box strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.org-box span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Accreditation Card */
.accreditation-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 174, 239, 0.06);
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.accred-badge {
    font-size: 3rem;
    color: var(--accent);
}

.accred-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.accred-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.text-accent {
    color: var(--accent);
    font-weight: 800;
}

/* ===== Page Content Components ===== */

/* Data Table */
.data-table-k {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.88rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.data-table-k thead {
    background: rgba(0, 174, 239, 0.1);
}

.data-table-k th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent);
}

.data-table-k td {
    padding: 11px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    vertical-align: top;
}

.data-table-k tbody tr:last-child td {
    border-bottom: none;
}

.data-table-k tbody tr:hover {
    background: rgba(0, 174, 239, 0.04);
}

.data-table-k th:first-child,
.data-table-k td:first-child {
    text-align: center;
    width: 50px;
}

/* Info Box */
.info-box-k {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-box-k i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box-k p {
    margin: 0 !important;
    font-size: 0.9rem;
}

.info-box-k.warning {
    border-left-color: #f59e0b;
}

.info-box-k.warning i {
    color: #f59e0b;
}

/* Procedure Steps */
.procedure-steps-k {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.procedure-steps-k li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    margin: 0;
}

.procedure-steps-k li:last-child {
    border-bottom: none;
}

.procedure-steps-k li::before {
    content: counter(step);
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Highlight Card */
.highlight-card-k {
    background: rgba(0, 174, 239, 0.06);
    border: 1px solid rgba(0, 174, 239, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-card-k h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.highlight-card-k ul {
    margin-bottom: 0;
}

/* Service Hours Mini */
.service-hours-k {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 1rem 0;
}

.service-hours-k .hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
}

.service-hours-k .hour-item strong {
    color: var(--text-primary);
}

.service-hours-k .hour-item span {
    color: var(--accent);
    font-weight: 600;
}

/* Link Button */
.page-link-btn-k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.page-link-btn-k:hover {
    background: rgba(0, 174, 239, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .data-table-k { font-size: 0.8rem; }
    .data-table-k th, .data-table-k td { padding: 8px 10px; }
    .service-hours-k { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .page-main-title-k {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.88rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.data-table-k thead {
    background: rgba(0, 174, 239, 0.1);
}

.data-table-k th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent);
}

.data-table-k td {
    padding: 11px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    vertical-align: top;
}

.data-table-k tbody tr:last-child td {
    border-bottom: none;
}

.data-table-k tbody tr:hover {
    background: rgba(0, 174, 239, 0.04);
}

.data-table-k th:first-child,
.data-table-k td:first-child {
    text-align: center;
    width: 50px;
}

/* Info Box */
.info-box-k {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-box-k i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box-k p {
    margin: 0 !important;
    font-size: 0.9rem;
}

.info-box-k.warning {
    border-left-color: #f59e0b;
}

.info-box-k.warning i {
    color: #f59e0b;
}

/* Procedure Steps */
.procedure-steps-k {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.procedure-steps-k li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    margin: 0;
}

.procedure-steps-k li:last-child {
    border-bottom: none;
}

.procedure-steps-k li::before {
    content: counter(step);
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Highlight Card */
.highlight-card-k {
    background: rgba(0, 174, 239, 0.06);
    border: 1px solid rgba(0, 174, 239, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-card-k h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.highlight-card-k ul {
    margin-bottom: 0;
}

/* Service Hours Mini */
.service-hours-k {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 1rem 0;
}

.service-hours-k .hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
}

.service-hours-k .hour-item strong {
    color: var(--text-primary);
}

.service-hours-k .hour-item span {
    color: var(--accent);
    font-weight: 600;
}

/* Link Button */
.page-link-btn-k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.page-link-btn-k:hover {
    background: rgba(0, 174, 239, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .data-table-k { font-size: 0.8rem; }
    .data-table-k th, .data-table-k td { padding: 8px 10px; }
    .service-hours-k { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .page-main-title-k {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .accreditation-card {
        flex-direction: column;
    font-size: 0.88rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
}

.data-table-k thead {
    background: rgba(0, 174, 239, 0.1);
}

.data-table-k th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent);
}

.data-table-k td {
    padding: 11px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    vertical-align: top;
}

.data-table-k tbody tr:last-child td {
    border-bottom: none;
}

.data-table-k tbody tr:hover {
    background: rgba(0, 174, 239, 0.04);
}

.data-table-k th:first-child,
.data-table-k td:first-child {
    text-align: center;
    width: 50px;
}

/* Info Box */
.info-box-k {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-box-k i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box-k p {
    margin: 0 !important;
    font-size: 0.9rem;
}

.info-box-k.warning {
    border-left-color: #f59e0b;
}

.info-box-k.warning i {
    color: #f59e0b;
}

/* Procedure Steps */
.procedure-steps-k {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.procedure-steps-k li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    margin: 0;
}

.procedure-steps-k li:last-child {
    border-bottom: none;
}

.procedure-steps-k li::before {
    content: counter(step);
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Highlight Card */
.highlight-card-k {
    background: rgba(0, 174, 239, 0.06);
    border: 1px solid rgba(0, 174, 239, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-card-k h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.highlight-card-k ul {
    margin-bottom: 0;
}

/* Service Hours Mini */
.service-hours-k {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 1rem 0;
}

.service-hours-k .hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
}

.service-hours-k .hour-item strong {
    color: var(--text-primary);
}

.service-hours-k .hour-item span {
    color: var(--accent);
    font-weight: 600;
}

/* Link Button */
.page-link-btn-k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.page-link-btn-k:hover {
    background: rgba(0, 174, 239, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .data-table-k { font-size: 0.8rem; }
    .data-table-k th, .data-table-k td { padding: 8px 10px; }
    .service-hours-k { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .page-main-title-k {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .accreditation-card {
        flex-direction: column;
        text-align: center;
    }
    .org-box { min-width: 150px; }
}

@media (max-width: 768px) {
    .scroll-top-k { right: 1rem; bottom: 1.2rem; }
}


/* ========================================= */
/* EXTRACTED STYLES FROM VIEWS */
/* ========================================= */

/* Extracted from artikel_detail.php */
/* ===== Artikel Detail UI - Inline to prevent cache ===== */
.blogd-hero {
    position: relative;
    width: 100%;
    padding: 160px 0 100px;
    background: #0a0a1a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    z-index: 1;
}

.blogd-hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: url('../img/perpus.jpg') center/cover no-repeat;
    transform: scale(1.05);
    filter: blur(2px) brightness(0.65);
}

.blogd-hero-img img {
    display: none;
}

.blogd-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 26, 0.7) 0%, rgba(10, 10, 26, 0.5) 50%, rgba(10, 10, 26, 0.9) 100%);
    z-index: -1;
}

.blogd-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.blogd-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.blogd-breadcrumb a {
    color: #0ea5e9;
    text-decoration: none;
    transition: all 0.3s;
}

.blogd-breadcrumb a:hover {
    color: #fff;
}

.blog-category {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #0ea5e9;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blogd-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    max-width: 900px;
    line-height: 1.3;
    margin: 0 0 30px 0;
    font-family: 'Inter', sans-serif;
}

.blogd-hero-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.blogd-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.blogd-meta-item i {
    color: #0ea5e9;
}

.blogd-meta-divider {
    width: 4px;
    height: 4px;
    background: #64748b;
    border-radius: 50%;
}

.blogd-section {
    padding: 60px 0 100px;
    background: #f8fafc; /* light theme background */
}

[data-theme="dark"] .blogd-section {
    background: #0a0a1a;
}

.blogd-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 0 20px;
}

@media (max-width: 991px) {
    .blogd-container {
        grid-template-columns: 1fr;
    }
}

.blogd-article {
    display: flex;
    gap: 30px;
}

@media (max-width: 991px) {
    .blogd-article {
        flex-direction: column;
    }
}

.blogd-share-bar {
    width: 50px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: sticky;
    top: 100px;
    height: max-content;
}

@media (max-width: 991px) {
    .blogd-share-bar {
        flex-direction: row;
        width: 100%;
        position: static;
        justify-content: flex-start;
        margin-top: 20px;
        margin-bottom: 30px;
        order: 2;
    }
}

.blogd-share-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 10px;
    font-weight: 700;
}

[data-theme="dark"] .blogd-share-label {
    color: #9ca3af;
}

@media (max-width: 991px) {
    .blogd-share-label {
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 0;
        margin-right: 10px;
    }
}

.blogd-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

[data-theme="dark"] .blogd-share-btn {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
    color: #cbd5e1;
}

.blogd-share-btn:hover {
    background: #0ea5e9;
    color: #fff !important;
    transform: translateY(-3px);
    border-color: #0ea5e9;
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
}

.blogd-body {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

[data-theme="dark"] .blogd-body {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .blogd-body {
        padding: 25px;
    }
}

.blogd-figure {
    margin: 0 0 40px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blogd-figure img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.blogd-content-html {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

[data-theme="dark"] .blogd-content-html {
    color: #cbd5e1;
}

.blogd-content-html h2,
.blogd-content-html h3,
.blogd-content-html h4 {
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

[data-theme="dark"] .blogd-content-html h2,
[data-theme="dark"] .blogd-content-html h3,
[data-theme="dark"] .blogd-content-html h4 {
    color: #fff;
}

.blogd-content-html p {
    margin-bottom: 1.5rem;
}

.blogd-content-html img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 2rem 0;
}

.blogd-content-html ul,
.blogd-content-html ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blogd-content-html li {
    margin-bottom: 0.5rem;
}

.blogd-content-html blockquote {
    border-left: 4px solid #0ea5e9;
    padding: 1.5rem 2rem;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #0f172a;
}

[data-theme="dark"] .blogd-content-html blockquote {
    color: #fff;
}

/* Sidebar Styles */
.blogd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blogd-sidebar-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

[data-theme="dark"] .blogd-sidebar-card {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blogd-sidebar-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

[data-theme="dark"] .blogd-sidebar-card h4 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.05);
}

.blogd-sidebar-card h4 i {
    color: #0ea5e9;
}

.blogd-author-card {
    text-align: center;
}

.blogd-author-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.blogd-author-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.blogd-author-header h4 {
    border: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.blogd-author-header p {
    font-size: 0.9rem;
    color: #0ea5e9;
    margin-top: 5px;
    font-weight: 600;
}

.blogd-author-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 20px;
}

[data-theme="dark"] .blogd-author-bio {
    color: #cbd5e1;
}

.btn-primary {
    background: #0ea5e9;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
    color: #fff;
}
/* ===== Comments Section ===== */
.blogd-comments {
    margin-top: 60px;
}

.blogd-comments-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .blogd-comments-title {
    color: #fff;
}

.blogd-comments-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: #3b82f6;
    border-radius: 4px;
}

.blogd-comments-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

[data-theme="dark"] .blogd-comments-card {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
}

.blogd-comment-form h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
}

[data-theme="dark"] .blogd-comment-form h5 {
    color: #cbd5e1;
}

.blogd-input-group {
    margin-bottom: 20px;
}

.blogd-input-group input,
.blogd-input-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: #334155;
    transition: border-color 0.3s;
}

[data-theme="dark"] .blogd-input-group input,
[data-theme="dark"] .blogd-input-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.blogd-input-group input:focus,
.blogd-input-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.blogd-comment-list {
    margin-top: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
}

[data-theme="dark"] .blogd-comment-list {
    background: #0f172a;
    border-color: #334155;
}

.blogd-comment-item {
    display: flex;
    gap: 15px;
}

.blogd-comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.blogd-comment-avatar.reply {
    width: 35px;
    height: 35px;
    background: #fff;
    color: #64748b;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .blogd-comment-avatar.reply {
    background: #1e293b;
    color: #94a3b8;
    border-color: #334155;
}

.blogd-comment-content {
    flex: 1;
}

.blogd-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.blogd-comment-author h6 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

[data-theme="dark"] .blogd-comment-author h6 {
    color: #fff;
}

.blogd-comment-author span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.blogd-btn-reply {
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.blogd-btn-reply:hover {
    color: #2563eb;
}

.blogd-comment-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

[data-theme="dark"] .blogd-comment-text {
    color: #cbd5e1;
}

.blogd-comment-replies {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

[data-theme="dark"] .blogd-comment-replies {
    border-top-color: #475569;
}


/* Extracted from buku_list.php */
/* ===== Books Page Search ===== */
.buku-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}
.buku-search-form {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    min-width: 320px;
}
.buku-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.15);
}
.buku-search-form .s-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}
.buku-search-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    padding: 10px 14px;
    font-weight: 500;
}
.buku-search-form input::placeholder {
    color: var(--text-muted);
}
.buku-search-form button {
    background: var(--gold-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    white-space: nowrap;
}
.buku-search-form button:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.3);
}

/* ===== Books Page Info Bar ===== */
.buku-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 4px;
}
.buku-info-bar .info-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.buku-info-bar .info-text strong {
    color: var(--accent);
}

/* ===== Books Page Pagination ===== */
.buku-pagination {
    margin-top: 50px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.buku-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.buku-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 4px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}
.buku-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 174, 239, 0.06);
    transform: translateY(-2px);
}
.buku-pagination a.active {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

/* ===== Search Active State ===== */
.buku-search-active {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.buku-search-active .search-keyword {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 174, 239, 0.08);
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
}
.buku-search-active .search-keyword i {
    font-size: 0.75rem;
}
.buku-search-active .clear-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.buku-search-active .clear-search:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .buku-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .buku-search-form {
        min-width: 100%;
        width: 100%;
    }
    .buku-pagination a {
        min-width: 38px;
        height: 38px;
        font-size: 0.82rem;
    }
}


/* Extracted from home.php */
.hero-slider-k {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        .hero-slide-k {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s linear;
            transform: scale(1.05);
            filter: blur(2px) brightness(0.65);
        }
        .hero-slide-k.active {
            opacity: 1;
            transform: scale(1.0);
        }
        
        .hero-slider-btn-k {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            backdrop-filter: blur(5px);
            transition: 0.3s ease;
        }
        .hero-slider-btn-k:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }
        .hero-slider-btn-k.prev { left: 30px; }
        .hero-slider-btn-k.next { right: 30px; }
        
        @media (max-width: 768px) {
            .hero-slider-btn-k {
                display: none; /* Hidden on mobile */
            }
        }


/* Extracted from home.php */
.btn-action-k {
                display: inline-flex; 
                align-items: center; 
                justify-content: center;
                gap: 10px; 
                background: var(--gold-gradient); 
                color: #ffffff !important; 
                padding: 14px 38px; 
                border-radius: 10px; 
                font-size: 0.85rem;
                font-weight: 700; 
                letter-spacing: 0.5px;
                text-decoration: none; 
                transition: all 0.3s ease; 
                border: none;
                cursor: pointer;
            }
            .btn-action-k:hover {
                opacity: 0.9;
                transform: translateY(-2px);
            }


/* Extracted from home.php */
.events-slider-container-k {
                position: relative;
                width: 100%;
            }

            .events-grid-wrapper-k {
                overflow: hidden;
                position: relative;
                width: 100%;
                /* Prevent sub-pixel peeking */
                contain: paint;
            }

            .events-grid-k {
                display: flex;
                overflow-x: auto;
                flex-wrap: nowrap;
                gap: 30px;
                padding: 10px 0 30px;
                scroll-snap-type: none; 
                scroll-behavior: auto; /* Changed from smooth to avoid JS conflict */
                -ms-overflow-style: none;
                scrollbar-width: none;
                width: 100%;
            }

            .events-grid-k .event-card-k {
                flex: 0 0 calc((100% - 60px) / 3) !important;
                width: calc((100% - 60px) / 3) !important;
                max-width: none !important;
                /* Snap align removed to smooth JS scroll */
                margin: 0 !important;
                box-sizing: border-box;
            }

            @media (max-width: 1024px) {
                .events-grid-k .event-card-k {
                    flex: 0 0 calc((100% - 30px) / 2) !important;
                    width: calc((100% - 30px) / 2) !important;
                    max-width: none !important;
                }
            }

            @media (max-width: 640px) {
                .events-grid-k .event-card-k {
                    flex: 0 0 100% !important;
                    width: 100% !important;
                    max-width: none !important;
                }
            }

            #eventsSlider::-webkit-scrollbar { display: none; }
            
            @media (max-width: 768px) {
                .events-grid-k .event-card-k {
                    flex: 0 0 100% !important;
                    width: 100% !important;
                }
            }


/* Extracted from home.php */
/* ===== Shortcut Cards – Clean Design ===== */
.sc-grid-k {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.sc-card-k {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    border-radius: 16px;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--glass-border, #e5e7eb);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    gap: 1.5rem;
    text-align: center;
}

.sc-card-k:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.sc-icon-wrap-k {
    font-size: 3.2rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-card-k:hover .sc-icon-wrap-k {
    transform: scale(1.1);
}

.sc-text-k {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary, #333);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.sc-card-k:hover .sc-text-k {
    color: var(--accent, #00aeef);
}

/* Responsive */
@media (max-width: 1024px) {
    .sc-grid-k { grid-template-columns: repeat(3, 1fr); }
    .sc-card-k { padding: 2rem 1rem; }
}
@media (max-width: 640px) {
    .sc-grid-k {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .sc-icon-wrap-k { font-size: 3rem; }
    .sc-text-k { font-size: 0.82rem; min-height: 2.6em; }
    .sc-card-k { padding: 1.5rem 0.5rem; gap: 1.2rem; }
}
@media (max-width: 360px) {
    .sc-grid-k { grid-template-columns: 1fr 1fr; }
}


/* Extracted from search_result.php */
/* ===== Search Results Page Styles ===== */
.sr-search-form {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.sr-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.15);
}
.sr-search-form .s-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}
.sr-search-form input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    padding: 10px 14px;
    font-weight: 500;
}
.sr-search-form input[type="text"]::placeholder {
    color: var(--text-muted);
}
.sr-search-form button {
    background: var(--gold-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    white-space: nowrap;
}
.sr-search-form button:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.3);
}
.sr-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.sr-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.sr-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 4px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}
.sr-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 174, 239, 0.06);
    transform: translateY(-2px);
}
.sr-pagination a.active {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}
@media (max-width: 576px) {
    .sr-search-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
        gap: 12px;
    }
    .sr-search-form input[type="text"] { width: 100%; text-align: center; }
    .sr-search-form button { width: 100%; justify-content: center; }
    .sr-pagination a { min-width: 38px; height: 38px; font-size: 0.82rem; }
}


/* ===== Generic Page Specific Tweaks ===== */
.generic-hero { padding: 130px 0 60px !important; }
.generic-hero .blogd-hero-title { font-size: 2.2rem; margin-bottom: 0; }


/* Override image sizes */
.blogd-content-html img { max-width: 100% !important; height: auto !important; object-fit: contain; display: block; }
.blogd-content-html table { max-width: 100% !important; overflow-x: auto; display: block; }
