/**
 * E-PINTAS MIMIKA - Public Subpages Common Styles
 * ----------------------------------------------------
 * Styles shared across public subpages: Pusat Dokumen,
 * Galeri Foto, Galeri Video, and Pengumuman.
 */

/* ========================================================
   HERO BANNER (Subpages)
   ======================================================== */
.hero-dokumen,
.hero-pengumuman {
    background: var(--theme-hero-gradient, linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.95) 100%)), url('/images/epintas.png') center/cover no-repeat;
    padding: 120px 0 60px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-dokumen::before,
.hero-pengumuman::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateBg {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .hero-dokumen,
    .hero-pengumuman {
        padding: 100px 15px 40px;
    }
}

/* ========================================================
   FLOATING SEARCH & FILTER BOX
   ======================================================== */
.dokumen-search-box {
    background: var(--theme-bg-glass, rgba(255, 255, 255, 0.96));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--theme-border-color, rgba(0, 47, 108, 0.12));
    padding: 24px 30px;
    border-radius: var(--theme-radius-xl, 20px);
    max-width: 820px;
    margin: -50px auto 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 47, 108, 0.1);
}

@media (max-width: 768px) {
    .dokumen-search-box {
        padding: 18px 20px;
        margin: -40px 15px 30px;
    }
}

/* Meta Pill Items */
.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
