.np {
    --gold: #C9A84C;
    --gold-bright: #F5C842;
    --gold-dim: rgba(201, 168, 76, 0.10);
    --gold-dim2: rgba(201, 168, 76, 0.18);
    --gold-border: rgba(201, 168, 76, 0.25);
    --gold-border2: rgba(201, 168, 76, 0.45);
    --panel: var(--bg2, #0d0d0d);
    --panel2: var(--bg3, #141414);
    --border: rgba(255, 255, 255, 0.06);
    --border2: rgba(255, 255, 255, 0.035);
    --text: var(--text, #ede8e0);
    --muted: var(--text2, rgba(237, 232, 224, 0.48));
    --muted2: rgba(237, 232, 224, 0.3);
    --deep: var(--bg, #070707);
    --deep2: var(--bg4, #1a1a1a);
    --cream: #ede8e0;
}

[data-theme="light"] .np {
    --panel: var(--bg2, #f5f1ea);
    --panel2: var(--bg3, #ede8df);
    --border: rgba(0, 0, 0, 0.08);
    --border2: rgba(0, 0, 0, 0.05);
    --muted: var(--text2, #6b5c44);
    --muted2: rgba(107, 92, 68, 0.55);
    --deep: var(--bg, #faf7f2);
    --deep2: var(--bg4, #e5dfd5);
    --cream: #3a2e1e;
}

/* ══════════════════════════════════════════════════
     PAGE WRAPPER
  ══════════════════════════════════════════════════ */
.np {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px 120px;
}

/* ══════════════════════════════════════════════════
     PAGE HEADER — liturgical style
  ══════════════════════════════════════════════════ */
.np-header {
    text-align: center;
    padding: 72px 0 60px;
    position: relative;
}

.np-header-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.np-header-ornament-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.np-header-ornament-line:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.np-header-ornament-cross {
    color: var(--gold);
    font-size: 1rem;
    opacity: 0.8;
}

.np-eyebrow {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    opacity: 0.85;
}

.np-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.np-subtitle {
    font-size: .92rem;
    color: var(--muted);
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.8;
    font-weight: 300;
}

.np-header-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.np-header-rule span {
    width: 36px;
    height: 1px;
    background: var(--gold-border2);
}

.np-header-rule i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.6;
}

/* ══════════════════════════════════════════════════
     FEATURED HERO — editorial split layout
  ══════════════════════════════════════════════════ */
.np-hero {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 480px;
    display: grid;
    grid-template-columns: 1fr 420px;
    margin: 0 0 64px;
    border: 1px solid var(--border);
    background: var(--panel);
    transition: box-shadow .4s, transform .4s;
}

.np-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .45), 0 0 0 1px var(--gold-border);
}

.np-hero-visual {
    position: relative;
    overflow: hidden;
    background: var(--deep2);
    min-height: 380px;
}

.np-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.np-hero:hover .np-hero-img {
    transform: scale(1.04);
}

.np-hero-emoji {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    opacity: .08;
}

.np-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 60%, var(--panel) 100%);
    pointer-events: none;
}

.np-hero-body {
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.np-hero-body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-border2), transparent);
}

.np-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.np-hero-tag::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.np-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--cream);
}

.np-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.np-hero-title a:hover {
    color: var(--gold);
}

.np-hero-excerpt {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .76rem;
    color: var(--muted2);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.np-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.np-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--gold);
    padding: 12px 28px;
    border-radius: 2px;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .08em;
    text-decoration: none;
    border: 1px solid var(--gold-border2);
    transition: all .25s;
    align-self: flex-start;
    text-transform: uppercase;
}

.np-hero-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateX(4px);
}

.np-hero-btn svg {
    transition: transform .2s;
}

.np-hero-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 820px) {
    .np-hero {
        grid-template-columns: 1fr;
        grid-template-rows: 260px auto;
    }

    .np-hero-visual::after {
        background: linear-gradient(to bottom, transparent 50%, var(--panel) 100%);
    }

    .np-hero-body::before {
        display: none;
    }

    .np-hero-body {
        padding: 32px 28px 36px;
    }
}

/* ══════════════════════════════════════════════════
     TOOLBAR — refined bar
  ══════════════════════════════════════════════════ */
.np-toolbar {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.np-filters {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.np-filters::-webkit-scrollbar {
    display: none;
}

.np-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .06em;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    position: relative;
    text-transform: uppercase;
}

.np-pill-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .2s;
}

.np-pill-btn:hover {
    color: var(--cream);
    background: var(--gold-dim);
}

.np-pill-btn.active {
    color: var(--gold);
    background: var(--gold-dim2);
}

.np-pill-btn.active::after {
    transform: scaleX(1);
}

.np-search-wrap {
    border-left: 1px solid var(--border);
    flex-shrink: 0;
}

.np-search {
    position: relative;
    display: flex;
    align-items: center;
}

.np-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    width: 14px;
    height: 14px;
}

.np-search-spinner {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--gold-dim2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: np-spin .7s linear infinite;
    display: none;
}

.np-search-spinner.visible {
    display: block;
}

@keyframes np-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

#np-search-input {
    background: transparent;
    border: none;
    color: var(--cream);
    padding: 14px 44px 14px 44px;
    font-size: .84rem;
    width: 230px;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
}

#np-search-input:focus {
    background: var(--gold-dim);
}

#np-search-input::placeholder {
    color: var(--muted);
}

@media (max-width: 700px) {
    .np-toolbar {
        flex-direction: column;
        border-radius: 4px;
    }

    .np-search-wrap {
        border-left: none;
        border-top: 1px solid var(--border);
        width: 100%;
    }

    #np-search-input {
        width: 100%;
    }

    .np-search {
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════
     SECTION LABEL
  ══════════════════════════════════════════════════ */
.np-section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.np-section-label-text {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.np-section-label-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.np-section-label-count {
    font-size: .7rem;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.8;
}

/* ══════════════════════════════════════════════════
     NEWS GRID — magazine tiled layout
  ══════════════════════════════════════════════════ */
.np-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

@media (max-width: 960px) {
    .np-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .np-grid {
        grid-template-columns: 1fr;
    }

    .np {
        padding: 0 16px 80px;
    }
}

/* ══════════════════════════════════════════════════
     NEWS CARD
  ══════════════════════════════════════════════════ */
.np-card {
    background: var(--panel);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background .25s;
}

.np-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-dim);
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
    z-index: 0;
}

.np-card:hover {
    background: var(--panel2);
}

.np-card:hover::before {
    opacity: 1;
}

.np-card-thumb {
    height: 196px;
    overflow: hidden;
    position: relative;
    background: var(--deep2);
    flex-shrink: 0;
}

.np-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.np-card:hover .np-card-thumb img {
    transform: scale(1.06);
}

.np-card-emoji {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    opacity: .2;
}

.np-card-kat {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(7, 7, 7, 0.72);
    backdrop-filter: blur(8px);
    color: var(--gold);
    padding: 4px 11px;
    border-radius: 2px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid var(--gold-border);
}

.np-card-readtime {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(7, 7, 7, 0.65);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, .65);
    padding: 3px 9px;
    border-radius: 2px;
    font-size: .62rem;
    font-weight: 600;
}

.np-card-body {
    padding: 22px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.np-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.38;
    color: var(--cream);
}

.np-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.np-card-title a:hover {
    color: var(--gold);
}

.np-card-excerpt {
    font-size: .81rem;
    color: var(--muted);
    line-height: 1.72;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border2);
    font-size: .73rem;
    color: var(--muted2);
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.np-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.np-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LIKE BUTTON */
.nc-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: .73rem;
    color: var(--muted2);
    font-family: 'DM Sans', sans-serif;
    transition: color .2s;
    line-height: 1;
}

.nc-like-btn:hover {
    color: var(--gold);
}

.nc-like-btn.nc-liked {
    color: var(--gold);
}

.nc-like-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

@keyframes nc-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.5);
    }

    70% {
        transform: scale(.88);
    }

    100% {
        transform: scale(1);
    }
}

.nc-like-btn.nc-pop {
    animation: nc-pop .32s ease;
}

.np-card-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: gap .2s, color .2s;
    margin-top: 2px;
    align-self: flex-start;
}

.np-card-read:hover {
    gap: 10px;
    color: var(--gold-bright);
}

/* ══════════════════════════════════════════════════
     EMPTY STATE
  ══════════════════════════════════════════════════ */
.np-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: var(--panel);
}

.np-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: .3;
}

.np-empty-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
}

.np-empty-text {
    color: var(--muted);
    font-size: .86rem;
}

/* ══════════════════════════════════════════════════
     SKELETON LOADER
  ══════════════════════════════════════════════════ */
@keyframes np-shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

.np-skeleton {
    background: var(--panel);
    display: flex;
    flex-direction: column;
}

.np-skel-thumb {
    height: 196px;
    background: linear-gradient(90deg, var(--panel2) 25%, var(--deep2) 50%, var(--panel2) 75%);
    background-size: 600px 100%;
    animation: np-shimmer 1.5s infinite linear;
}

.np-skel-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.np-skel-line {
    border-radius: 2px;
    background: linear-gradient(90deg, var(--panel2) 25%, var(--deep2) 50%, var(--panel2) 75%);
    background-size: 600px 100%;
    animation: np-shimmer 1.5s infinite linear;
}

.np-skel-line.w-full {
    height: 13px;
    width: 100%;
}

.np-skel-line.w-3-4 {
    height: 13px;
    width: 75%;
}

.np-skel-line.w-1-2 {
    height: 11px;
    width: 50%;
}

.np-skel-line.w-sm {
    height: 10px;
    width: 32%;
}

/* ══════════════════════════════════════════════════
     PAGINATION
  ══════════════════════════════════════════════════ */
.np-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ══════════════════════════════════════════════════
     REVEAL ANIMATION
  ══════════════════════════════════════════════════ */
@keyframes np-fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.np-reveal {
    animation: np-fade-up .55s cubic-bezier(.22, 1, .36, 1) both;
}

.np-card {
    animation: np-fade-up .45s cubic-bezier(.22, 1, .36, 1) both;
}

.np-card:nth-child(1) {
    animation-delay: .04s;
}

.np-card:nth-child(2) {
    animation-delay: .09s;
}

.np-card:nth-child(3) {
    animation-delay: .14s;
}

.np-card:nth-child(4) {
    animation-delay: .19s;
}

.np-card:nth-child(5) {
    animation-delay: .24s;
}

.np-card:nth-child(6) {
    animation-delay: .29s;
}

/* ══════════════════════════════════════════════════
     LIVE SEARCH HIGHLIGHT
  ══════════════════════════════════════════════════ */
mark.np-hl {
    background: rgba(201, 168, 76, .18);
    color: var(--gold-bright);
    border-radius: 1px;
    padding: 0 1px;
}

.np-grid-outer {
    margin-bottom: 0;
}

.lihats {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Hero ──────────────────────────────────────────── */
.galeri-hero {
    position: relative;
    padding: 100px 24px 64px;
    text-align: center;
    overflow: hidden;
}

.galeri-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 200, 66, .08) 0%, transparent 70%);
    pointer-events: none;
}

.galeri-hero-label {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.galeri-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.galeri-hero-desc {
    font-size: .95rem;
    color: var(--text2);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Filter Pills ──────────────────────────────────── */
.galeri-filter-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
    position: sticky;
    top: 65px;
    z-index: 40;
}

.galeri-filter-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.galeri-filter-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
}

.galeri-filter-pills::-webkit-scrollbar {
    display: none;
}

.galeri-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    white-space: nowrap;
    color: var(--text2);
    border: 1px solid var(--border);
    background: var(--bg3);
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}

.galeri-pill:hover {
    border-color: var(--gold-border);
    color: var(--gold);
    background: var(--gold-dim);
}

.galeri-pill.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.galeri-pill-count {
    font-size: .7rem;
    opacity: .7;
}

.galeri-pill.active .galeri-pill-count {
    opacity: .6;
}

/* ── Section & Container ───────────────────────────── */
.galeri-section {
    padding: 48px 24px 80px;
}

.galeri-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ── Album header ──────────────────────────────────── */
.galeri-album-header {
    margin-bottom: 32px;
}

.galeri-album-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.galeri-album-desc {
    font-size: .88rem;
    color: var(--text2);
    line-height: 1.7;
}

/* ── Grid ──────────────────────────────────────────── */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .galeri-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .galeri-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Item ──────────────────────────────────────────── */
.galeri-item {
    display: flex;
    flex-direction: column;
    animation: galeri-fade-up .45s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes galeri-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.galeri-item:nth-child(1) {
    animation-delay: .03s;
}

.galeri-item:nth-child(2) {
    animation-delay: .07s;
}

.galeri-item:nth-child(3) {
    animation-delay: .11s;
}

.galeri-item:nth-child(4) {
    animation-delay: .15s;
}

.galeri-item:nth-child(5) {
    animation-delay: .19s;
}

.galeri-item:nth-child(6) {
    animation-delay: .23s;
}

.galeri-item:nth-child(7) {
    animation-delay: .27s;
}

.galeri-item:nth-child(8) {
    animation-delay: .31s;
}

/* ── Thumbnail ─────────────────────────────────────── */
.galeri-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background: var(--bg3);
    border: 1px solid var(--border);
}

.galeri-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}

.galeri-thumb:hover img {
    transform: scale(1.07);
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s;
}

.galeri-thumb:hover .galeri-overlay {
    opacity: 1;
}

.galeri-zoom-icon {
    font-size: 1.8rem;
}

.galeri-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(6px);
    color: var(--gold);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    border: 1px solid var(--gold-border);
}

/* ── Caption ───────────────────────────────────────── */
.galeri-caption {
    padding: 10px 4px 4px;
}

.galeri-caption-title {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 3px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.galeri-caption-text {
    font-size: .73rem;
    color: var(--text3);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ── Empty State ───────────────────────────────────── */
.galeri-empty {
    text-align: center;
    padding: 80px 24px;
}

.galeri-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: .3;
}

.galeri-empty-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.galeri-empty-text {
    font-size: .86rem;
    color: var(--text2);
}

/* ── Lightbox ──────────────────────────────────────── */
.glb-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
}

.glb-backdrop.open {
    display: flex;
}

.glb-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(900px, 94vw);
    width: 100%;
    padding: 0 16px;
}

.glb-img {
    max-height: 72vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity .25s ease;
    border: 1px solid var(--border);
}

.glb-info {
    text-align: center;
    margin-top: 16px;
    padding: 0 8px;
}

.glb-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.glb-desc {
    font-size: .82rem;
    color: var(--text2);
    line-height: 1.6;
}

.glb-counter {
    font-size: .72rem;
    color: var(--text3);
    margin-top: 6px;
    letter-spacing: .1em;
}

.glb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 1;
}

.glb-close:hover {
    background: var(--bg4);
    border-color: var(--gold-border);
    color: var(--gold);
}

.glb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 4px;
    width: 42px;
    height: 64px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 1;
}

.glb-prev {
    left: 16px;
}

.glb-next {
    right: 16px;
}

.glb-nav:hover {
    background: var(--bg4);
    border-color: var(--gold-border);
    color: var(--gold);
}

@media (max-width: 480px) {
    .glb-nav {
        display: none;
    }
}

/* ══════════════════════════════════════════════════
   NP-PAGINATION  —  Custom pagination untuk halaman News
   Tambahkan CSS ini ke style.css (ganti blok .np-pagination yang lama)
   ══════════════════════════════════════════════════ */

/* ── Container utama ─────────────────────────────── */
.np-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 56px;
    padding: 32px 0 16px;
    position: relative;
}

/* Garis dekoratif atas */
.np-pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

/* ── Info teks ───────────────────────────────────── */
.np-pag-info {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text3, #7a6a55);
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.np-pag-info strong {
    color: var(--gold);
    font-weight: 600;
}

/* ── Baris kontrol (prev · pages · next) ─────────── */
.np-pag-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Tombol Prev / Next ──────────────────────────── */
.np-pag-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--gold-border);
    background: transparent;
    color: var(--text2, #4a3f30);
    font-size: 12.5px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
    user-select: none;
}

.np-pag-btn:hover:not(.disabled) {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 200, 66, 0.12);
}

.np-pag-btn:active:not(.disabled) {
    transform: translateY(0);
}

.np-pag-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Animasi icon panah saat hover */
.np-pag-prev:hover svg {
    transform: translateX(-2px);
}

.np-pag-next:hover svg {
    transform: translateX(2px);
}

.np-pag-prev svg,
.np-pag-next svg {
    transition: transform 0.18s ease;
    flex-shrink: 0;
}

/* ── Wrapper halaman angka ───────────────────────── */
.np-pag-pages {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 4px;
}

/* ── Nomor halaman ───────────────────────────────── */
.np-pag-page {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text2, #4a3f30);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
    user-select: none;
}

.np-pag-page-inner {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.np-pag-page:hover:not(.active) {
    background: var(--gold-dim);
    border-color: var(--gold-border);
    color: var(--gold);
    transform: translateY(-1px);
}

/* Halaman aktif — gold ring + glow */
.np-pag-page.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 700;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.20), 0 4px 14px rgba(245, 200, 66, 0.25);
    animation: np-pag-pop 0.3s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes np-pag-pop {
    from {
        transform: scale(0.85);
        opacity: 0.6;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ── Ellipsis (titik-titik) ──────────────────────── */
.np-pag-ellipsis {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 4px;
    height: 36px;
}

.np-pag-ellipsis span {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-border);
    animation: np-ellipsis-pulse 1.4s ease-in-out infinite;
}

.np-pag-ellipsis span:nth-child(2) {
    animation-delay: 0.2s;
}

.np-pag-ellipsis span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes np-ellipsis-pulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}

/* ── Progress bar bawah ──────────────────────────── */
.np-pag-progress-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
}

.np-pag-progress-track {
    width: 100%;
    height: 2px;
    background: var(--bg3, #171717);
    border-radius: 99px;
    overflow: hidden;
}

.np-pag-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c9a200, #f5c842, #c9a200);
    background-size: 200% 100%;
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(.22, 1, .36, 1);
    animation: np-progress-shimmer 2.5s linear infinite;
}

@keyframes np-progress-shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.np-pag-progress-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text3, #7a6a55);
    font-family: 'DM Sans', sans-serif;
}

/* ── Light mode override ─────────────────────────── */
:root.light .np-pag-progress-track,
[data-theme="light"] .np-pag-progress-track {
    background: var(--bg3, #e3ddd3);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 480px) {
    .np-pag-controls {
        gap: 4px;
    }

    .np-pag-btn span {
        display: none;
        /* Sembunyikan teks Prev/Next, tampilkan hanya ikon */
    }

    .np-pag-btn {
        padding: 8px 10px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }

    .np-pag-page {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .np-pag-info {
        font-size: 11px;
        text-align: center;
    }

    .np-pag-progress-wrap {
        max-width: 240px;
    }
}

/* ══════════════════════════════════════════════════
   GALERI-PAGINATION  —  Sama persis dengan np-pagination
   Tambahkan CSS ini ke style.css, setelah blok .galeri-empty
   ══════════════════════════════════════════════════ */

.galeri-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 56px;
    padding: 32px 0 16px;
    position: relative;
}

.galeri-pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

/* ── Info teks ── */
.galeri-pag-info {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text3, #7a6a55);
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.galeri-pag-info strong {
    color: var(--gold);
    font-weight: 600;
}

/* ── Baris kontrol ── */
.galeri-pag-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Tombol Prev / Next ── */
.galeri-pag-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--gold-border);
    background: transparent;
    color: var(--text2, #4a3f30);
    font-size: 12.5px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
    user-select: none;
}

.galeri-pag-btn:hover:not(.disabled) {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 200, 66, 0.12);
}

.galeri-pag-btn:active:not(.disabled) {
    transform: translateY(0);
}

.galeri-pag-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.galeri-pag-prev:hover svg {
    transform: translateX(-2px);
}

.galeri-pag-next:hover svg {
    transform: translateX(2px);
}

.galeri-pag-prev svg,
.galeri-pag-next svg {
    transition: transform 0.18s ease;
    flex-shrink: 0;
}

/* ── Wrapper halaman angka ── */
.galeri-pag-pages {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 4px;
}

/* ── Nomor halaman ── */
.galeri-pag-page {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text2, #4a3f30);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
    user-select: none;
}

.galeri-pag-page-inner {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.galeri-pag-page:hover:not(.active) {
    background: var(--gold-dim);
    border-color: var(--gold-border);
    color: var(--gold);
    transform: translateY(-1px);
}

.galeri-pag-page.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 700;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.20), 0 4px 14px rgba(245, 200, 66, 0.25);
    animation: galeri-pag-pop 0.3s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes galeri-pag-pop {
    from {
        transform: scale(0.85);
        opacity: 0.6;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ── Ellipsis ── */
.galeri-pag-ellipsis {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 4px;
    height: 36px;
}

.galeri-pag-ellipsis span {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-border);
    animation: galeri-ellipsis-pulse 1.4s ease-in-out infinite;
}

.galeri-pag-ellipsis span:nth-child(2) {
    animation-delay: 0.2s;
}

.galeri-pag-ellipsis span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes galeri-ellipsis-pulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}

/* ── Progress bar ── */
.galeri-pag-progress-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
}

.galeri-pag-progress-track {
    width: 100%;
    height: 2px;
    background: var(--bg3, #171717);
    border-radius: 99px;
    overflow: hidden;
}

.galeri-pag-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c9a200, #f5c842, #c9a200);
    background-size: 200% 100%;
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(.22, 1, .36, 1);
    animation: galeri-progress-shimmer 2.5s linear infinite;
}

@keyframes galeri-progress-shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.galeri-pag-progress-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text3, #7a6a55);
    font-family: 'DM Sans', sans-serif;
}

/* ── Light mode override ── */
:root.light .galeri-pag-progress-track,
[data-theme="light"] .galeri-pag-progress-track {
    background: var(--bg3, #e3ddd3);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .galeri-pag-controls {
        gap: 4px;
    }

    .galeri-pag-btn span {
        display: none;
    }

    .galeri-pag-btn {
        padding: 8px 10px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }

    .galeri-pag-page {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .galeri-pag-info {
        font-size: 11px;
        text-align: center;
    }

    .galeri-pag-progress-wrap {
        max-width: 240px;
    }
}

