/* ==========================================================================
   UMY Pro — Tema OPAC SLiMS 9.8 Perpustakaan Universitas Muhammadiyah Yogyakarta
   Layout ala template Elementor / Envato (education & library).
   Warna identitas UMY: hijau tua #183F2B · kuning #EDBB3F · merah marun #872E26
   Ubah warna cukup di blok :root di bawah.
   ========================================================================== */

:root {
    --ux-green-950: #0a1f14;
    --ux-green-900: #0f2a1c;
    --ux-green-800: #143624;
    --ux-green:     #183F2B;   /* hijau utama UMY */
    --ux-green-600: #215339;
    --ux-green-500: #2d6b4b;
    --ux-green-100: #d9e9df;
    --ux-green-50:  #eef5f0;

    --ux-gold:      #EDBB3F;   /* kuning UMY */
    --ux-gold-600:  #d6a223;
    --ux-gold-ink:  #3a2a04;
    --ux-gold-50:   #fdf6e2;

    --ux-maroon:    #872E26;   /* merah marun UMY */
    --ux-maroon-700:#6c231d;

    --ux-ink:   #13211a;
    --ux-body:  #45544c;
    --ux-muted: #6b7a72;
    --ux-line:  #e2e9e4;
    --ux-bg:    #f6f8f5;
    --ux-white: #ffffff;

    --ux-font:  'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ux-serif: 'Poppins', system-ui, sans-serif;

    --ux-radius:    18px;
    --ux-radius-lg: 28px;
    --ux-shadow:    0 10px 30px -14px rgba(15, 42, 28, .22);
    --ux-shadow-lg: 0 30px 60px -28px rgba(15, 42, 28, .38);
    --ux-ease:      cubic-bezier(.22, .9, .3, 1);
    --ux-topbar-h:  44px;
    --ux-nav-h:     86px;
}

/* ---------------------------------------------------------------- dasar */
body.ux-body {
    font-family: var(--ux-font);
    color: var(--ux-body);
    background: var(--ux-bg);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.7;
}
.ux-body h1, .ux-body h2, .ux-body h3, .ux-body h4, .ux-body h5, .ux-body h6 { font-family: var(--ux-font); color: var(--ux-ink); }
.ux-body, .ux-body input, .ux-body button, .ux-body select, .ux-body textarea, .ux-body .btn, .ux-body .grid-item, .ux-body .dropdown-menu, .ux-body .modal { font-family: var(--ux-font) !important; }
.ux-body a { color: var(--ux-green-600); }
.ux-body a:hover { color: var(--ux-green); }
.ux-body .container { max-width: 1240px; }
[v-cloak] { display: none !important; }
.ux-home, .ux-inner { overflow-x: clip; }
::selection { background: var(--ux-gold); color: var(--ux-gold-ink); }

.lp-icon    { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.lp-icon-lg { width: 24px; height: 24px; flex-shrink: 0; }
.lp-icon-xl { width: 34px; height: 34px; flex-shrink: 0; }

/* ---------------------------------------------------------------- tombol */
.ux-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: .94rem; line-height: 1.2; letter-spacing: .005em;
    text-decoration: none !important; cursor: pointer; white-space: nowrap;
    transition: background .25s, color .25s, border-color .25s, transform .25s var(--ux-ease), box-shadow .25s;
}
.ux-btn .lp-icon { transition: transform .25s var(--ux-ease); }
.ux-btn:hover .lp-icon:last-child { transform: translateX(3px); }
.ux-btn:hover { transform: translateY(-2px); }
.ux-btn--sm { padding: 11px 20px; font-size: .88rem; }
.ux-btn--primary { background: var(--ux-green); color: #fff !important; box-shadow: 0 14px 28px -14px rgba(24, 63, 43, .85); }
.ux-btn--primary:hover { background: var(--ux-green-800); color: #fff !important; }
.ux-btn--gold { background: var(--ux-gold); color: var(--ux-gold-ink) !important; box-shadow: 0 14px 30px -14px rgba(214, 162, 35, .9); }
.ux-btn--gold:hover { background: #f3c955; color: var(--ux-gold-ink) !important; }
.ux-btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff !important; backdrop-filter: blur(6px); }
.ux-btn--glass:hover { background: #fff; color: var(--ux-green) !important; border-color: #fff; }
.ux-btn--line { border-color: var(--ux-line); color: var(--ux-ink) !important; background: #fff; }
.ux-btn--line:hover { border-color: var(--ux-green); background: var(--ux-green); color: #fff !important; }

/* ==========================================================================
   HEADER — topbar + navbar sticky
   ========================================================================== */
.ux-site-header { position: sticky; top: calc(var(--ux-topbar-h) * -1); z-index: 1030; }
.ux-topbar { background: var(--ux-green-900); color: rgba(255, 255, 255, .74); font-size: .82rem; height: var(--ux-topbar-h); }
.ux-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.ux-topbar-info { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.ux-topbar-info li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ux-topbar-info li .lp-icon { width: 15px; height: 15px; color: var(--ux-gold); }
.ux-topbar-info a { color: rgba(255, 255, 255, .74) !important; text-decoration: none; }
.ux-topbar-info a:hover { color: #fff !important; }
.ux-topbar-right { display: flex; align-items: center; gap: 18px; }
.ux-topbar-links { gap: 20px; padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .16); }
.ux-topbar-links a { color: rgba(255, 255, 255, .74) !important; text-decoration: none !important; font-weight: 500; }
.ux-topbar-links a:hover { color: var(--ux-gold) !important; }
.ux-topbar-social { display: flex; gap: 4px; }
.ux-topbar-social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: rgba(255, 255, 255, .74) !important; transition: background .2s, color .2s; }
.ux-topbar-social a:hover { background: var(--ux-gold); color: var(--ux-gold-ink) !important; }
.ux-topbar-social .lp-icon { width: 15px; height: 15px; }
.ux-lang > a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85) !important; text-decoration: none !important; font-weight: 600; }
.ux-lang .flag-icon { border-radius: 2px; }

.ux-nav { background: #fff; padding: 0; min-height: var(--ux-nav-h); box-shadow: 0 1px 0 var(--ux-line); transition: box-shadow .3s; }
.ux-site-header.is-stuck .ux-nav { box-shadow: 0 14px 34px -18px rgba(15, 42, 28, .35); }
.ux-nav-inner { min-height: var(--ux-nav-h); flex-wrap: nowrap; }
.ux-nav > .container { padding-left: 15px !important; padding-right: 15px !important; }
.ux-brand { display: inline-flex; align-items: center; gap: 12px; padding: 0; margin-right: 24px; flex-shrink: 0; }
.ux-brand-logo { width: 280px; height: auto; max-width: none; display: block; aspect-ratio: 445 / 48; }
.ux-brand-mark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ux-green); color: #fff; }
.ux-brand-text { display: flex; flex-direction: column; line-height: 1.15; color: var(--ux-ink); font-weight: 700; }
.ux-brand-text small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ux-muted); }

.ux-menu .nav-link {
    position: relative; color: var(--ux-ink) !important; font-weight: 500; font-size: .9rem; white-space: nowrap;
    padding: 31px 10px !important; display: inline-flex; align-items: center; gap: 6px; transition: color .2s;
}
.ux-menu .nav-link::before {
    content: ''; position: absolute; left: 10px; right: 10px; bottom: 22px; height: 2px; border-radius: 2px;
    background: var(--ux-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ux-ease);
}
.ux-menu .nav-item:hover > .nav-link, .ux-menu .nav-item.active > .nav-link, .ux-menu .show > .nav-link { color: var(--ux-green) !important; }
.ux-menu .nav-item:hover > .nav-link::before, .ux-menu .nav-item.active > .nav-link::before, .ux-menu .show > .nav-link::before { transform: scaleX(1); }
.ux-menu .dropdown-toggle::after { border: 0; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; opacity: .6; }
.ux-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

.ux-dropdown {
    border: 0; border-top: 3px solid var(--ux-gold); border-radius: 0 0 16px 16px; padding: 10px; min-width: 268px; margin-top: 0 !important;
    box-shadow: 0 30px 60px -24px rgba(15, 42, 28, .4); animation: uxDrop .25s var(--ux-ease);
}
@keyframes uxDrop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ux-dropdown .dropdown-header { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ux-muted); }
.ux-dropdown .dropdown-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ux-ink); transition: background .2s, color .2s, padding .2s; }
.ux-dropdown .dropdown-item:hover, .ux-dropdown .dropdown-item:focus { background: var(--ux-green-50); color: var(--ux-green); padding-left: 16px; }
.ux-dd-icon { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; background: var(--ux-green-50); color: var(--ux-green); transition: background .2s, color .2s; }
.ux-dd-icon .lp-icon { width: 16px; height: 16px; }
.ux-dropdown .dropdown-item:hover .ux-dd-icon { background: var(--ux-green); color: #fff; }
.ux-badge { margin-left: auto; background: var(--ux-gold); color: var(--ux-gold-ink); font-size: .72rem; font-weight: 700; border-radius: 99px; padding: 1px 8px; }

.ux-nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 14px; flex-shrink: 0; }
.ux-nav-cta .ux-btn { padding: 11px 18px; }
@media (min-width: 1200px) and (max-width: 1365.98px) { .ux-brand-logo { width: 220px; } .ux-menu .nav-link { padding-left: 9px !important; padding-right: 9px !important; } }
.ux-nav-search { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ux-green-50); color: var(--ux-green) !important; transition: background .2s, color .2s; }
.ux-nav-search:hover { background: var(--ux-green); color: #fff !important; }

.ux-toggler { border: 0; padding: 10px; width: 46px; height: 46px; border-radius: 12px; background: var(--ux-green-50); display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; }
.ux-toggler span { display: block; height: 2px; border-radius: 2px; background: var(--ux-green); transition: transform .3s, opacity .3s; }
.ux-toggler span:nth-child(2) { width: 70%; }
.ux-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ux-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ux-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ux-toggler:focus { outline: none; box-shadow: 0 0 0 3px rgba(237, 187, 63, .45); }

@media (max-width: 1199.98px) {
    :root { --ux-nav-h: 74px; }
    .ux-brand-logo { width: 250px; }
    .ux-nav-inner { flex-wrap: wrap; }
    .ux-nav .navbar-collapse { flex-basis: 100%; }
    .navbar-collapse.collapsing, .navbar-collapse.collapse.show { background: #fff !important; padding: 8px 0 18px !important; margin: 0 !important; border-radius: 0 !important; border-top: 1px solid var(--ux-line); }
    .ux-menu .nav-link { padding: 12px 4px !important; width: 100%; justify-content: space-between; }
    .ux-menu .nav-link::before { display: none; }
    .ux-menu .nav-item + .nav-item { border-top: 1px solid var(--ux-line); }
    .ux-dropdown { border-top: 0; box-shadow: none; background: var(--ux-bg); border-radius: 14px; margin-bottom: 10px !important; animation: none; }
    .ux-nav-cta { margin: 14px 0 0; }
    .ux-nav-cta .ux-btn { flex: 1; }
}
@media (max-width: 575.98px) {
    :root { --ux-topbar-h: 38px; }
    .ux-topbar { font-size: .76rem; }
    .ux-topbar-social { display: none; }
    .ux-brand-logo { width: min(230px, calc(100vw - 110px)); }
    .ux-brand { margin-right: 10px; }
}

/* ==========================================================================
   BANNER SLIDESHOW (di bawah header) — foto semi-transparan, otomatis
   ========================================================================== */
:root { --ux-girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23EDBB3F' stroke-width='1.1'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3Cpath d='M0 0l24 24M88 0L64 24M0 88l24-24M88 88L64 64M44 0v15.7M44 88V72.3M0 44h15.7M88 44H72.3'/%3E%3C/g%3E%3C/svg%3E"); }
.ux-hero { position: relative; background: var(--ux-green-600); color: #fff; isolation: isolate; z-index: 5; }
.ux-hero--inner { min-height: 340px; display: flex; align-items: center; }

.ux-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ux-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s, transform 1.4s var(--ux-ease), filter 1.4s ease; }
.ux-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.4s ease, transform 1.4s var(--ux-ease), filter 1.4s ease; }
.ux-slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.ux-tr-slide .ux-slide { transform: translateX(8%); }
.ux-tr-slide .ux-slide.is-active, .ux-tr-slide .ux-slide.is-leaving { transform: none; }
.ux-tr-zoom .ux-slide { transform: scale(1.12); }
.ux-tr-zoom .ux-slide.is-active, .ux-tr-zoom .ux-slide.is-leaving { transform: none; }
.ux-tr-blur .ux-slide { filter: blur(14px); }
.ux-tr-blur .ux-slide.is-active, .ux-tr-blur .ux-slide.is-leaving { filter: none; }

/* foto — transparansi diatur lewat Admin > Tema > Slide Opacity */
.ux-slide-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: var(--ux-slide-opacity, .75); will-change: transform; }
.ux-kb .ux-slide.is-active .ux-slide-bg { animation: uxKenburns calc(var(--ux-delay, 6000ms) + 2400ms) ease-out both; }
.ux-kb .ux-slide:nth-child(even).is-active .ux-slide-bg { animation-name: uxKenburns2; }
@keyframes uxKenburns  { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes uxKenburns2 { from { transform: scale(1.02); } to { transform: scale(1.12); } }
/* lapisan hijau: lebih pekat di kiri (area teks), tipis di kanan agar foto tetap terang */
.ux-slides::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(15, 42, 28, .78) 0%, rgba(15, 42, 28, .52) 50%, rgba(15, 42, 28, .3) 100%); }
.ux-hero--inner .ux-slides::after { background: radial-gradient(ellipse at center, rgba(15, 42, 28, .35) 0%, rgba(15, 42, 28, .58) 100%); }
/* ornamen girih (bintang delapan khas seni Islam) */
.ux-hero-ornament { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--ux-girih); background-size: 88px 88px; opacity: .14;
    -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 75%); mask-image: linear-gradient(100deg, transparent 35%, #000 75%); }
.ux-hero--inner .ux-hero-ornament { -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); }

/* --- beranda: latar terang, foto slideshow di kanan dengan tepi kiri memudar + blur --- */
.ux-hero--home { background: linear-gradient(180deg, #eef5f0 0%, #f9fbf9 100%); color: var(--ux-ink); }
.ux-hero--home .ux-hero-ornament { display: none; }
.ux-hero--home .ux-slides { left: 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 14%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 14%, #000 42%); }
.ux-hero--home .ux-slides::after { background: linear-gradient(90deg, rgba(238, 245, 240, .55) 0%, rgba(238, 245, 240, 0) 45%), linear-gradient(0deg, rgba(238, 245, 240, .5) 0%, rgba(238, 245, 240, 0) 22%); }
/* lapisan blur di sisi kiri foto (makin ke kiri makin blur) */
.ux-hero-blur { position: absolute; top: 0; bottom: 0; left: 36%; width: 30%; z-index: 1; pointer-events: none;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 100%); }
.ux-hero-grid { position: relative; z-index: 5; min-height: clamp(560px, 70vh, 660px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.ux-hero-main { max-width: 620px; min-width: 0; width: 100%; }
.ux-hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--ux-green-100); font-size: .84rem; font-weight: 600; color: var(--ux-green); box-shadow: 0 8px 20px -14px rgba(15, 42, 28, .4); }
.ux-hero-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ux-gold); box-shadow: 0 0 0 4px rgba(237, 187, 63, .25); }
.ux-hero--home .ux-hero-title { color: var(--ux-ink) !important; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; font-size: clamp(2.1rem, 4vw, 3.3rem); margin: 20px 0 16px; text-wrap: balance; }
.ux-hero--home .ux-hero-title span { color: var(--ux-green); display: block; }
.ux-hero--home .ux-hero-text { color: var(--ux-body); font-size: clamp(1rem, 1.3vw, 1.08rem); margin: 0 0 30px; max-width: 520px; }
.ux-hero--home .ux-search-card { border: 1px solid var(--ux-line); box-shadow: 0 30px 60px -34px rgba(15, 42, 28, .45); }
.ux-hero-main > * { animation: uxRise .9s var(--ux-ease) both; }
.ux-hero-main > :nth-child(2) { animation-delay: .08s; }
.ux-hero-main > :nth-child(3) { animation-delay: .16s; }
.ux-hero-main > :nth-child(4) { animation-delay: .24s; }
.ux-hero-main > :nth-child(5) { animation-delay: .32s; }
@keyframes uxRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ux-hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0 0; }
.ux-hero-stats div { position: relative; }
.ux-hero-stats div + div::before { content: ''; position: absolute; left: -20px; top: 8px; bottom: 8px; width: 1px; background: var(--ux-green-100); }
.ux-hero-stats dt { font-size: 1.6rem; font-weight: 700; color: var(--ux-green); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ux-hero-stats dd { margin: 2px 0 0; font-size: .86rem; color: var(--ux-muted); }
.ux-hero-badge { position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 15px)); bottom: 56px; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; color: var(--ux-ink); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .45); animation: uxFloat 6s ease-in-out infinite; }
.ux-hero-badge strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.ux-hero-badge small { display: block; font-size: .76rem; color: var(--ux-muted); }
.ux-hero-badge-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ux-gold); color: var(--ux-gold-ink); }
@keyframes uxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* --- halaman dalam --- */
.ux-hero-content { position: relative; z-index: 5; text-align: center; padding-top: 54px; padding-bottom: 60px; }
.ux-breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .85); padding: 6px 16px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.ux-breadcrumb a { color: #fff !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; }
.ux-breadcrumb a:hover { color: var(--ux-gold) !important; }
.ux-breadcrumb .lp-icon { width: 14px; height: 14px; }
.ux-breadcrumb span { color: var(--ux-gold); }
.ux-page-title { color: #fff !important; font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 14px 0 26px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.ux-hero--inner .ux-search { margin: 0 auto; }

@media (max-width: 991.98px) {
    .ux-hero--home .ux-slides { left: 0; opacity: .35; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
    .ux-hero-blur, .ux-hero-badge { display: none; }
    .ux-hero-grid { min-height: 0; padding-top: 48px; padding-bottom: 52px; }
    .ux-hero-main { max-width: none; }
}
@media (max-width: 575.98px) {
    .ux-hero-stats { gap: 12px 28px; }
    .ux-hero-stats div + div::before { left: -14px; }
    .ux-hero-stats dt { font-size: 1.25rem; }
}

/* ==========================================================================
   KOTAK PENCARIAN (di tengah banner)
   ========================================================================== */
.ux-search { position: relative; z-index: 20; max-width: 820px; text-align: left; }
.ux-search-card { position: relative; background: #fff; border-radius: 20px; padding: 14px 16px 16px; box-shadow: 0 30px 60px -30px rgba(10, 31, 20, .55); }
.ux-search-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.ux-search-tabs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--ux-muted); font-family: inherit; font-weight: 500; font-size: .84rem; padding: 7px 14px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s; }
.ux-search-tabs button .lp-icon { width: 15px; height: 15px; }
.ux-search-tabs button:hover { color: var(--ux-green); background: var(--ux-green-50); }
.ux-search-tabs button.is-active { background: var(--ux-green); color: #fff; }
.ux-search-form { display: flex; align-items: center; gap: 8px; background: var(--ux-bg); border: 1.5px solid var(--ux-line); border-radius: 14px; padding: 5px 5px 5px 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.ux-search-form:focus-within { border-color: var(--ux-green); background: #fff; box-shadow: 0 0 0 4px rgba(24, 63, 43, .1); }
.ux-search-icon { color: var(--ux-green); display: flex; }
.ux-search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 1rem; font-weight: 500; color: var(--ux-ink); padding: 11px 4px; }
.ux-search-input::placeholder { color: #98a59e; font-weight: 400; }
.ux-search-adv { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--ux-muted) !important; text-decoration: none !important; padding: 8px 10px; white-space: nowrap; cursor: pointer; }
.ux-search-adv:hover { color: var(--ux-green) !important; }
.ux-search-btn { padding: 13px 26px; border-radius: 11px; }
.ux-search-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; }
.ux-search-terms > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ux-ink); margin-right: 4px; }
.ux-search-terms > span .lp-icon { width: 15px; height: 15px; color: var(--ux-gold-600); }
.ux-search-terms a { padding: 4px 12px; border-radius: 99px; background: var(--ux-gold-50); color: #6b4f0c !important; font-weight: 500; text-decoration: none !important; transition: background .2s, color .2s; }
.ux-search-terms a:hover { background: var(--ux-gold); color: var(--ux-gold-ink) !important; }
.ux-search-terms a:nth-child(n+7) { display: none; }
.ux-hero--home .ux-search-terms a:nth-child(n+5) { display: none; }
.ux-hero--home .ux-search-adv span { display: none; }
.ux-hero--home .ux-search-adv { padding: 10px; border-radius: 10px; }
.ux-hero--home .ux-search-adv:hover { background: var(--ux-green-50); }
.ux-search-recent { position: absolute; left: 16px; right: 16px; top: calc(100% - 6px); z-index: 30; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--ux-shadow-lg); border: 1px solid var(--ux-line); }
.ux-search-recent-label { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ux-muted); margin: 2px 6px 6px; }
.ux-search-recent-label button { margin-left: auto; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--ux-muted); cursor: pointer; }
.ux-search-recent a { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 10px; color: var(--ux-ink) !important; text-decoration: none !important; font-weight: 500; }
.ux-search-recent a:hover { background: var(--ux-green-50); color: var(--ux-green) !important; }
.slide-fade-enter-active, .slide-fade-leave-active { transition: all .25s var(--ux-ease); }
.slide-fade-enter, .slide-fade-leave-to { opacity: 0; transform: translateY(-6px); }
@media (max-width: 767.98px) {
    .ux-search-card { padding: 12px; border-radius: 16px; }
    .ux-search-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -2px 10px; }
    .ux-search-tabs button { flex: 0 0 auto; padding: 6px 12px; }
    .ux-search-adv span, .ux-search-btn span { display: none; }
    .ux-search-btn { padding: 12px 14px; }
    .ux-search-input { font-size: .95rem; }
    .ux-search-terms a:nth-child(n+5) { display: none; }
}

/* ==========================================================================
   SECTION & HEADING
   ========================================================================== */
.ux-section { padding: 110px 0; position: relative; }
.ux-heading { margin-bottom: 52px; }
.ux-heading--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.ux-heading--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ux-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ux-maroon); margin-bottom: 14px; }
.ux-kicker::before { content: ''; width: 28px; height: 2px; background: var(--ux-gold); }
.ux-heading--center .ux-kicker::after { content: ''; width: 28px; height: 2px; background: var(--ux-gold); }
.ux-kicker--light { color: var(--ux-gold); }
.ux-title { font-weight: 700; letter-spacing: -.02em; line-height: 1.12; font-size: clamp(1.9rem, 3.3vw, 2.8rem); margin: 0 0 18px; text-wrap: balance; }
.ux-title em { font-style: normal; color: var(--ux-green-500); }
.ux-title--light { color: #fff !important; }
.ux-title--light em { color: var(--ux-gold); }
.ux-lead { font-size: 1.05rem; color: var(--ux-body); max-width: 620px; }

/* animasi muncul (diaktifkan oleh umy-pro.js) */
.ux-anim [data-ux] { opacity: 0; transition: opacity .9s var(--ux-ease), transform .9s var(--ux-ease); }
.ux-anim [data-ux="up"] { transform: translateY(40px); }
.ux-anim [data-ux="left"] { transform: translateX(-50px); }
.ux-anim [data-ux="right"] { transform: translateX(50px); }
.ux-anim [data-ux="zoom"] { transform: scale(.94); }
.ux-anim [data-ux].ux-in { opacity: 1; transform: none; }

/* ==========================================================================
   LAYANAN
   ========================================================================== */
.ux-services { padding-top: 96px; }
.ux-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ux-service {
    position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 28px 30px; border-radius: 22px;
    background: #fff; border: 1px solid var(--ux-line); text-decoration: none !important; color: var(--ux-body) !important;
    transition: transform .45s var(--ux-ease), box-shadow .45s, border-color .3s, opacity .9s var(--ux-ease);
}
.ux-service::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, var(--ux-green) 0%, var(--ux-green-900) 100%); opacity: 0; transition: opacity .45s; z-index: 0; }
.ux-service::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--ux-gold); transform: scaleX(0); transition: transform .45s var(--ux-ease); }
.ux-service > * { position: relative; z-index: 1; }
.ux-service:hover { transform: translateY(-10px); box-shadow: var(--ux-shadow-lg); border-color: transparent; }
.ux-service:hover::before { opacity: 1; }
.ux-service:hover::after { transform: scaleX(1); }
.ux-service-num { position: absolute; top: 20px; right: 24px; font-size: 3rem; font-weight: 700; line-height: 1; color: rgba(24, 63, 43, .07); transition: color .45s; }
.ux-service-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--ux-green-50); color: var(--ux-green); margin-bottom: 26px; transition: background .45s, color .45s, transform .45s var(--ux-ease); }
.ux-service-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; transition: color .45s; }
.ux-service-desc { font-size: .92rem; margin: 0 0 22px; flex: 1; transition: color .45s; }
.ux-service-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--ux-green); transition: color .45s, gap .3s; }
.ux-service:hover .ux-service-num { color: rgba(255, 255, 255, .08); }
.ux-service:hover .ux-service-icon { background: var(--ux-gold); color: var(--ux-gold-ink); transform: rotate(-6deg) scale(1.04); }
.ux-service:hover .ux-service-title { color: #fff; }
.ux-service:hover .ux-service-desc { color: rgba(255, 255, 255, .78); }
.ux-service:hover .ux-service-more { color: var(--ux-gold); gap: 12px; }
@media (max-width: 991.98px) { .ux-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .ux-service-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TENTANG
   ========================================================================== */
.ux-about { padding-top: 40px; }
.ux-about-media { position: relative; padding: 0 14% 70px 0; }
.ux-about-img { margin: 0; overflow: hidden; border-radius: var(--ux-radius-lg); box-shadow: var(--ux-shadow-lg); }
.ux-about-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ux-ease); }
.ux-about-img:hover img { transform: scale(1.06); }
.ux-about-img--main { height: 460px; position: relative; z-index: 1; }
.ux-about-img--sub { position: absolute; right: 0; bottom: 0; width: 52%; height: 250px; z-index: 2; border: 8px solid var(--ux-bg); border-radius: 26px; }
.ux-about-badge { position: absolute; left: -18px; bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 20px; background: var(--ux-gold); color: var(--ux-gold-ink); box-shadow: 0 24px 44px -20px rgba(166, 120, 12, .8); }
.ux-about-badge strong { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.05; }
.ux-about-badge small { font-weight: 700; font-size: .8rem; }
.ux-about-badge-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .55); display: grid; place-items: center; }
.ux-about-shape { position: absolute; top: -34px; left: -34px; width: 160px; height: 160px; z-index: 0; background-image: radial-gradient(var(--ux-green) 1.6px, transparent 1.8px); background-size: 16px 16px; opacity: .25; }
.ux-checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.ux-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ux-ink); }
.ux-checklist .lp-icon { color: #fff; background: var(--ux-green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.ux-about-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 28px; border-top: 1px solid var(--ux-line); }
.ux-callbox { display: flex; align-items: center; gap: 14px; color: var(--ux-ink) !important; text-decoration: none !important; font-weight: 700; font-size: 1.1rem; }
.ux-callbox small { display: block; font-size: .8rem; font-weight: 600; color: var(--ux-muted); }
.ux-callbox-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ux-gold-50); color: var(--ux-gold-600); border: 1px dashed var(--ux-gold); transition: background .25s, color .25s; }
.ux-callbox:hover .ux-callbox-icon { background: var(--ux-gold); color: var(--ux-gold-ink); }
@media (max-width: 575.98px) {
    .ux-about-media { padding: 0 0 90px; }
    .ux-about-img--main { height: 300px; }
    .ux-about-img--sub { width: 60%; height: 170px; }
    .ux-about-badge { left: 0; bottom: 14px; padding: 12px 16px; }
    .ux-about-badge-icon { display: none; }
}

/* ==========================================================================
   STATISTIK (parallax foto semi-transparan)
   ========================================================================== */
.ux-counter { position: relative; overflow: hidden; background: var(--ux-green-900); padding: 96px 0; color: #fff; }
.ux-counter-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
@media (min-width: 992px) { .ux-counter-bg { background-attachment: fixed; } }
.ux-counter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10, 31, 20, .7), rgba(24, 63, 43, .35)); }
.ux-counter > .container { position: relative; z-index: 2; }
.ux-counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ux-counter-item { position: relative; text-align: center; padding: 10px 16px; display: flex; flex-direction: column; align-items: center; }
.ux-counter-item + .ux-counter-item::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .16); }
.ux-counter-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--ux-gold); border: 1.5px dashed rgba(237, 187, 63, .55); margin-bottom: 18px; }
.ux-counter-num { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ux-counter-label { margin-top: 10px; color: rgba(255, 255, 255, .72); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 767.98px) {
    .ux-counter-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .ux-counter-item:nth-child(3)::before { display: none; }
}

/* ==========================================================================
   KOLEKSI (komponen Vue SLiMS)
   ========================================================================== */
.ux-tabs { gap: 8px; background: #fff; border: 1px solid var(--ux-line); padding: 6px; border-radius: 99px; }
.ux-tabs .nav-link { display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; font-weight: 700; font-size: .9rem; color: var(--ux-muted); padding: 10px 20px; transition: background .2s, color .2s; }
.ux-tabs .nav-link:hover { color: var(--ux-green); }
.ux-tabs .nav-link.active { background: var(--ux-green); color: #fff; box-shadow: 0 10px 20px -10px rgba(24, 63, 43, .8); }
.ux-collection > .flex { gap: 8px; margin-bottom: 8px; }
.ux-collection .btn-outline-secondary, .ux-inner .btn-outline-secondary.btn-rounded {
    border: 1px solid var(--ux-line); background: #fff; color: var(--ux-ink); font-weight: 600; font-size: .84rem;
    padding: 6px 16px; border-radius: 99px; margin: 0 !important; transition: all .2s;
}
.ux-collection .btn-outline-secondary:hover { background: var(--ux-green); border-color: var(--ux-green); color: #fff; }
.ux-collection .collection { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 22px; margin-top: 28px !important; }
.ux-collection .collection > div { width: auto !important; padding: 0 !important; }
.ux-collection .collection .card { background: transparent; border-radius: 0; box-shadow: none !important; }
.ux-collection .collection .card-body { padding: 0; }
.ux-collection .collection .card-image {
    position: relative; aspect-ratio: 2 / 3; border: 0; border-radius: 10px 14px 14px 10px; background: var(--ux-green-50);
    box-shadow: 0 18px 30px -18px rgba(15, 42, 28, .55); transition: transform .45s var(--ux-ease), box-shadow .45s;
}
.ux-collection .collection .card-image::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .12) 40%, rgba(0, 0, 0, 0)); }
.ux-collection .collection .card-image img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.ux-collection .collection .card:hover .card-image { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 30px 40px -20px rgba(15, 42, 28, .6); }
.ux-collection .collection .card-text { margin-top: 14px !important; font-size: .9rem !important; font-weight: 700; color: var(--ux-ink) !important; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ux-collection .collection .card:hover .card-text { color: var(--ux-green) !important; }
.ux-body .spinner-border.text-primary { color: var(--ux-green) !important; }
@media (max-width: 1199.98px) { .ux-collection .collection { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .ux-collection .collection { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; } }
@media (max-width: 479.98px)  { .ux-collection .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   E-RESOURCES
   ========================================================================== */
.ux-eres { background: var(--ux-green-900); overflow: hidden; }
.ux-eres::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 187, 63, .16), transparent 65%); }
.ux-eres::after { content: ''; position: absolute; inset: 0; background-image: var(--ux-girih); background-size: 88px 88px; opacity: .06; pointer-events: none; }
.ux-eres > .container { position: relative; z-index: 2; }
.ux-eres-head { margin-bottom: 44px; }
.ux-eres-text { color: rgba(255, 255, 255, .7); margin-bottom: 22px; }
.ux-eres-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ux-eres-item {
    position: relative; display: flex; flex-direction: column; min-height: 168px; padding: 24px 24px 22px; border-radius: 20px;
    background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); color: #fff !important; text-decoration: none !important;
    transition: background .35s, border-color .35s, transform .45s var(--ux-ease), opacity .9s var(--ux-ease);
}
.ux-eres-item:hover { background: #fff; border-color: #fff; transform: translateY(-6px); }
.ux-eres-num { font-size: .78rem; font-weight: 700; color: var(--ux-gold); letter-spacing: .1em; margin-bottom: auto; }
.ux-eres-name { font-weight: 700; font-size: 1.08rem; margin-top: 22px; transition: color .35s; }
.ux-eres-desc { font-size: .84rem; color: rgba(255, 255, 255, .58); padding-right: 44px; transition: color .35s; }
.ux-eres-go { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: all .35s var(--ux-ease); }
.ux-eres-item:hover .ux-eres-name { color: var(--ux-ink); }
.ux-eres-item:hover .ux-eres-desc { color: var(--ux-muted); }
.ux-eres-item:hover .ux-eres-num { color: var(--ux-maroon); }
.ux-eres-item:hover .ux-eres-go { background: var(--ux-gold); border-color: var(--ux-gold); color: var(--ux-gold-ink); transform: rotate(45deg); }
.ux-eres-item.is-featured { grid-column: span 2; background: var(--ux-gold); border-color: var(--ux-gold); color: var(--ux-gold-ink) !important; }
.ux-eres-item.is-featured .ux-eres-num { color: var(--ux-maroon); }
.ux-eres-item.is-featured .ux-eres-name { font-size: 1.5rem; }
.ux-eres-item.is-featured .ux-eres-desc { color: rgba(58, 42, 4, .75); font-size: .95rem; }
.ux-eres-item.is-featured .ux-eres-go { background: var(--ux-gold-ink); color: var(--ux-gold); border-color: var(--ux-gold-ink); width: 48px; height: 48px; }
.ux-eres-item.is-featured:hover { background: #f3c955; }
.ux-logos { margin-top: 64px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ux-logos-track { display: flex; gap: 20px; width: max-content; animation: uxMarquee 40s linear infinite; }
.ux-logos:hover .ux-logos-track { animation-play-state: paused; }
.ux-logo { width: 132px; height: 72px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 10px; }
.ux-logo img { max-width: 100%; max-height: 46px; object-fit: contain; }
@keyframes uxMarquee { to { transform: translateX(-50%); } }
@media (max-width: 991.98px) { .ux-eres-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .ux-eres-grid { grid-template-columns: 1fr; } .ux-eres-item.is-featured { grid-column: auto; } }

/* ==========================================================================
   CORNER
   ========================================================================== */
.ux-corner-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; }
.ux-corner { position: relative; margin: 0; height: 420px; border-radius: 24px; overflow: hidden; background: var(--ux-green-900); transition: opacity .9s var(--ux-ease), transform .9s var(--ux-ease); }
.ux-corner img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1.2s var(--ux-ease), opacity .5s; }
.ux-corner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 31, 20, .92) 0%, rgba(10, 31, 20, .2) 55%, rgba(10, 31, 20, 0) 100%); transition: background .5s; }
.ux-corner:hover img { transform: scale(1.08); opacity: .7; }
.ux-corner figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; color: #fff; }
.ux-corner-tag { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ux-gold); color: var(--ux-gold-ink); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.ux-corner figcaption strong { display: block; font-size: 1.35rem; font-weight: 700; }
.ux-corner figcaption > span:last-child { display: block; color: rgba(255, 255, 255, .78); font-size: .92rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ux-ease), opacity .5s, margin .5s; }
.ux-corner:hover figcaption > span:last-child { max-height: 80px; opacity: 1; margin-top: 6px; }
.ux-corner-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.ux-corner-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--ux-line); font-weight: 700; font-size: .86rem; color: var(--ux-ink); }
.ux-corner-tags .lp-icon { width: 15px; height: 15px; color: var(--ux-maroon); }
@media (hover: none) { .ux-corner figcaption > span:last-child { max-height: 80px; opacity: 1; margin-top: 6px; } }
@media (max-width: 991.98px) { .ux-corner-grid { grid-template-columns: 1fr 1fr; } .ux-corner:first-child { grid-column: span 2; } .ux-corner { height: 320px; } }
@media (max-width: 575.98px) { .ux-corner-grid { grid-template-columns: 1fr; } .ux-corner:first-child { grid-column: auto; } .ux-corner { height: 280px; } }

/* ==========================================================================
   PEMBACA TERAKTIF (komponen Vue)
   ========================================================================== */
.ux-readers { background: linear-gradient(180deg, var(--ux-green-50) 0%, var(--ux-bg) 100%); }
.ux-readers-list > .flex { justify-content: center; margin: 0 -12px; }
.ux-readers-list .md\:w-1\/3 { padding: 0 12px !important; margin-bottom: 24px !important; }
.ux-readers-list .card { border: 0 !important; border-radius: 24px !important; box-shadow: var(--ux-shadow) !important; overflow: hidden; transition: transform .4s var(--ux-ease), box-shadow .4s; }
.ux-readers-list .card::before { content: ''; display: block; height: 64px; background: linear-gradient(120deg, var(--ux-green), var(--ux-green-500)); }
.ux-readers-list .card:hover { transform: translateY(-8px); box-shadow: var(--ux-shadow-lg) !important; }
.ux-readers-list .card-body { padding: 0 24px 26px; }
.ux-readers-list .card-image-rounded { width: 96px; height: 96px; margin-top: -48px !important; border: 5px solid #fff; box-shadow: 0 0 0 2px var(--ux-gold); background: var(--ux-green-50); }
.ux-readers-list .card-image-rounded img { object-fit: cover; }
.ux-readers-list .card-title { font-weight: 700; font-size: 1.1rem; }
.ux-readers-list .card-title small { font-weight: 600; font-size: .82rem; }
.ux-readers-list .card-text { display: inline-flex; align-items: center; justify-content: center; width: 100%; background: var(--ux-bg); border-radius: 99px; padding: 8px 14px; margin: 0; font-size: .9rem; }
.ux-readers-list .card-text b { color: var(--ux-green); }

/* ==========================================================================
   CTA
   ========================================================================== */
.ux-cta-wrap { padding: 20px 0 0; }
.ux-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 64px 64px; border-radius: 32px; background: var(--ux-maroon); color: #fff; }
.ux-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .2; }
.ux-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(108, 35, 29, .95) 0%, rgba(135, 46, 38, .75) 60%, rgba(135, 46, 38, .45) 100%); }
.ux-cta::before { content: ''; position: absolute; z-index: 1; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(237, 187, 63, .18); }
.ux-cta > div:not(.ux-cta-bg) { position: relative; z-index: 2; }
.ux-cta-body { max-width: 620px; }
.ux-cta-title { color: #fff !important; font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0 0 10px; }
.ux-cta-text { color: rgba(255, 255, 255, .82); margin: 0; }
.ux-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 767.98px) { .ux-cta { padding: 44px 26px; border-radius: 24px; } }

/* ==========================================================================
   KONTAK
   ========================================================================== */
.ux-contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.ux-contact-list li { display: flex; gap: 18px; align-items: flex-start; color: var(--ux-body); font-size: .94rem; line-height: 1.6; }
.ux-contact-list strong { display: block; color: var(--ux-ink); font-size: 1rem; margin-bottom: 2px; }
.ux-contact-list small { display: block; color: var(--ux-muted); }
.ux-contact-list a { font-weight: 700; }
.ux-contact-icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ux-green); color: #fff; box-shadow: 0 14px 24px -14px rgba(24, 63, 43, .9); }
.ux-contact-icon.is-gold { background: var(--ux-gold); color: var(--ux-gold-ink); box-shadow: 0 14px 24px -14px rgba(214, 162, 35, .9); }
.ux-contact-icon.is-maroon { background: var(--ux-maroon); }
.ux-map { position: relative; height: 100%; min-height: 460px; border-radius: 28px; overflow: hidden; box-shadow: var(--ux-shadow-lg); background: var(--ux-green-50); border: 8px solid #fff; }
.ux-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ux-footer { position: relative; overflow: hidden; background: var(--ux-green-950); color: rgba(255, 255, 255, .7); padding: 0 0 28px; margin-top: 110px; }
.ux-is-inner .ux-footer { margin-top: 70px; }
.ux-footer-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1.2px, transparent 1.4px); background-size: 22px 22px; pointer-events: none; }
.ux-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--ux-gold) 0 33%, var(--ux-green-500) 33% 66%, var(--ux-maroon) 66%); }
.ux-footer > .container { position: relative; z-index: 2; }
.ux-footer-cols { padding: 56px 0 22px; }
.ux-footer-col { margin-bottom: 36px; }
.ux-footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; margin-bottom: 22px; }
.ux-footer-logo { display: inline-block; padding: 12px 16px; border-radius: 14px; background: #fff; }
.ux-footer-logo img { height: 36px; width: auto; display: block; }
.ux-footer-wordmark { color: #fff; font-weight: 700; line-height: 1.2; }
.ux-footer-wordmark small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ux-footer-about { font-size: .92rem; line-height: 1.75; max-width: 360px; margin-bottom: 22px; }
.ux-footer-about strong { color: #fff; }
.ux-footer-social { display: flex; gap: 10px; }
.ux-footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff !important; transition: background .2s, color .2s, transform .2s; }
.ux-footer-social a:hover { background: var(--ux-gold); color: var(--ux-gold-ink) !important; transform: translateY(-3px); }
.ux-footer-title { position: relative; color: #fff !important; font-size: 1.05rem; font-weight: 700; margin: 4px 0 24px; padding-bottom: 14px; }
.ux-footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--ux-gold); }
.ux-footer-links { list-style: none; padding: 0; margin: 0; }
.ux-footer-links li { margin-bottom: 11px; }
.ux-footer-links a { position: relative; display: inline-block; color: rgba(255, 255, 255, .7) !important; font-size: .92rem; text-decoration: none !important; transition: color .2s, padding .25s var(--ux-ease); }
.ux-footer-links a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--ux-gold); transition: width .25s var(--ux-ease); }
.ux-footer-links a:hover { color: #fff !important; padding-left: 16px; }
.ux-footer-links a:hover::before { width: 10px; }
.ux-footer-info { display: flex; gap: 14px; margin-bottom: 18px; font-size: .9rem; line-height: 1.65; }
.ux-footer-info strong { display: block; color: #fff; }
.ux-footer-info small { display: block; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.ux-footer-info a { color: #fff !important; }
.ux-footer-info-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.ux-footer-info-icon.is-gold { background: var(--ux-gold); color: var(--ux-gold-ink); }
.ux-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.ux-footer-bottom p { margin: 0; }
.ux-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ux-footer-legal a { color: rgba(255, 255, 255, .72) !important; text-decoration: none !important; }
.ux-footer-legal a:hover { color: var(--ux-gold) !important; }

/* tombol kembali ke atas */
.ux-top { position: fixed; right: 22px; bottom: 22px; z-index: 1035; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ux-gold); color: var(--ux-gold-ink); box-shadow: 0 14px 28px -12px rgba(166, 120, 12, .8); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s var(--ux-ease); cursor: pointer; }
.ux-top svg { width: 22px; height: 22px; }
.ux-top.show { opacity: 1; visibility: visible; transform: none; }
.ux-top:hover { background: var(--ux-green); color: #fff; }
body:has(#show-pchat2) .ux-top { bottom: 90px; }

/* ==========================================================================
   HALAMAN DALAM (hasil pencarian, detail, anggota, berita, pustakawan)
   ========================================================================== */
.ux-inner-body { padding-top: 44px; }
.ux-filter { background: #fff; border: 1px solid var(--ux-line); border-radius: 20px; padding: 22px; margin-bottom: 24px; }
@media (min-width: 768px) { .ux-filter { position: sticky; top: calc(var(--ux-nav-h) + 20px); } }
.ux-filter-title { font-size: 1.05rem; font-weight: 700; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--ux-line); }
.ux-result-bar { gap: 12px; background: #fff; border: 1px solid var(--ux-line); border-radius: 16px; padding: 12px 16px; margin-bottom: 20px; }
.ux-result-bar .search-found-info strong { color: var(--ux-green); }
.ux-result-bar .custom-select { border-radius: 10px; }
.ux-inner .wrapper .item, .ux-inner .biblioRecord { background: #fff; border-radius: 16px; }
.ux-inner .card { border-radius: 16px; border-color: var(--ux-line); }
.ux-inner .card.item { border: 1px solid var(--ux-line) !important; border-radius: 20px; box-shadow: none; transition: box-shadow .3s, transform .3s var(--ux-ease); }
.ux-inner .card.item:hover { box-shadow: var(--ux-shadow); transform: translateY(-3px); }
.ux-inner .card.item h5 a { font-weight: 700; color: var(--ux-ink) !important; letter-spacing: -.01em; }
.ux-inner .card.item h5 a:hover { color: var(--ux-green) !important; }
.ux-inner .card.item img.rounded { border-radius: 8px 12px 12px 8px !important; box-shadow: 0 14px 24px -14px rgba(15, 42, 28, .6); }
.ux-inner .authors .btn-rounded { border: 1px solid var(--ux-line); background: var(--ux-bg); color: var(--ux-ink); font-weight: 600; font-size: .82rem; padding: 4px 14px; border-radius: 99px; margin: 0 6px 6px 0; }
.ux-inner .authors .btn-rounded:hover { background: var(--ux-green); border-color: var(--ux-green); color: #fff; }
.ux-inner .availability { border-radius: 14px; border: 1px solid var(--ux-line); background: var(--ux-green-50); }
.ux-inner .availability .value { color: var(--ux-green); font-weight: 700; }
.ux-inner .availability .value.text-danger { color: var(--ux-maroon) !important; }
.ux-inner .btn-outline-secondary.btn-sm { border-radius: 10px; border-color: var(--ux-line); color: var(--ux-ink); font-weight: 600; }
.ux-inner .btn-outline-secondary.btn-sm:hover { background: var(--ux-green); border-color: var(--ux-green); color: #fff; }
.ux-inner .btn-primary, .ux-body .btn-primary { background: var(--ux-green); border-color: var(--ux-green); }
.ux-inner .btn-primary:hover, .ux-body .btn-primary:hover { background: var(--ux-green-800); border-color: var(--ux-green-800); }
.ux-inner .btn-outline-primary { color: var(--ux-green); border-color: var(--ux-green); }
.ux-inner .btn-outline-primary:hover { background: var(--ux-green); color: #fff; }
.ux-inner .pagination .page-link, .ux-inner .biblioPaging a { color: var(--ux-green); }
.ux-inner .pagination .active .page-link { background: var(--ux-green); border-color: var(--ux-green); }
.ux-login-card { background: #fff; border: 1px solid var(--ux-line); border-radius: 24px; padding: 34px; box-shadow: var(--ux-shadow); }
.ux-member-body { padding-bottom: 20px; }
.modal-content { border: 0; border-radius: 20px; }
.modal-header { border-bottom-color: var(--ux-line); }


/* ==========================================================================
   CARA MEMINJAM
   ========================================================================== */
.ux-steps { background: #fff; }
.ux-steps::before { content: ''; position: absolute; inset: 0; background-image: var(--ux-girih); background-size: 88px 88px; opacity: .05; filter: hue-rotate(80deg) saturate(.3); pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); }
.ux-step-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ux-step-list::before { content: ''; position: absolute; top: 52px; left: 12.5%; right: 12.5%; border-top: 2px dashed var(--ux-green-100); }
.ux-step { position: relative; text-align: center; padding: 0 8px; }
.ux-step-badge { position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 24px; border-radius: 50%; background: #fff; color: var(--ux-green); border: 2px solid var(--ux-green-100); box-shadow: 0 0 0 10px #fff; transition: background .35s, color .35s, border-color .35s; }
.ux-step-badge b { position: absolute; top: -2px; right: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ux-gold); color: var(--ux-gold-ink); font-size: .95rem; font-weight: 700; border: 3px solid #fff; }
.ux-step:hover .ux-step-badge { background: var(--ux-green); color: #fff; border-color: var(--ux-green); }
.ux-step-title { font-size: 1.12rem; font-weight: 600; margin: 0 0 8px; }
.ux-step-desc { font-size: .92rem; color: var(--ux-muted); margin: 0 auto; max-width: 250px; }
@media (max-width: 991.98px) { .ux-step-list { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } .ux-step-list::before { display: none; } }
@media (max-width: 479.98px) { .ux-step-list { grid-template-columns: 1fr; } }

/* footer: kotak kontak + galeri */
.ux-footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.ux-footer-contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px; font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.ux-footer-contact-item + .ux-footer-contact-item { border-left: 1px solid rgba(255, 255, 255, .1); }
.ux-footer-contact-item small { display: block; color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.ux-footer-contact-item a { color: var(--ux-gold) !important; }
.ux-footer-contact-icon { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 15px; display: grid; place-items: center; background: var(--ux-green-500); color: #fff; }
.ux-footer-contact-icon.is-gold { background: var(--ux-gold); color: var(--ux-gold-ink); }
.ux-footer-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ux-footer-gallery a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ux-green-800); }
.ux-footer-gallery img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s var(--ux-ease), opacity .3s; }
.ux-footer-gallery a:hover img { transform: scale(1.08); opacity: 1; }
.ux-footer-pattern { background-image: var(--ux-girih) !important; background-size: 88px 88px !important; opacity: .05; }
@media (max-width: 991.98px) { .ux-footer-contact { grid-template-columns: 1fr; } .ux-footer-contact-item + .ux-footer-contact-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .ux-anim [data-ux] { opacity: 1; transform: none; }
}
