/* Tambahan untuk template IPKEMINDO (web/cms/theme/css/style.css) agar konten CMS tampil rapi */
body { font-family: 'Heebo', sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Nunito', sans-serif; font-weight: 800; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: var(--dark); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* Navbar: logo + nama & submenu */
.navbar-light .navbar-brand .brand-text { color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1; }
.sticky-top.navbar-light .navbar-brand .brand-text { color: var(--primary); }
@media (max-width: 991.98px) { .navbar-light .navbar-brand .brand-text { color: var(--primary); } .navbar-light { background: #fff; } }
.navbar .dropdown-menu { border: 0; border-top: 3px solid var(--primary); border-radius: 0; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.navbar .dropdown-item.active, .navbar .dropdown-item:active { background: var(--primary); color: #fff; }
.navbar .nav-search { margin-right: 20px; }
@media (min-width: 992px) { .navbar-light .navbar-nav .nav-link { margin-right: 20px; font-size: 16px; } }

/* Hero */
.hero-header h1, .hero-header .display-3 { text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-header .breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.hero-header .breadcrumb-item.active { color: #fff; }
.hero-slide { background-position: center; background-size: cover; }
.hero-logo { max-height: 180px; width: auto; }
.notice-bar { background: var(--secondary); color: #fff; }
.notice-bar a { color: #fff; font-weight: 600; text-decoration: none; }
.notice-bar a:hover { text-decoration: underline; }

/* Kartu konten (package-item, team-item) */
.package-item, .team-item { background: #fff; height: 100%; display: flex; flex-direction: column; }
.package-item .ratio img, .team-item .ratio img { object-fit: cover; }
.package-item .body { flex: 1 1 auto; }
.package-item h5 a, .card-link-title { color: var(--dark); text-decoration: none; }
.package-item h5 a:hover, .card-link-title:hover { color: var(--primary); }
.img-fallback { background: var(--light); display: flex; align-items: center; justify-content: center; color: #b5b5b5; font-size: 2.5rem; width: 100%; height: 100%; }
.service-item a { text-decoration: none; }
.service-item .service-icon { font-size: 3rem; line-height: 1; }

/* Isi artikel */
.prose { font-size: 1.05rem; line-height: 1.8; color: #444; }
.prose h2, .prose h3, .prose h4 { margin: 1.6rem 0 .8rem; color: var(--dark); }
.prose img { max-width: 100%; height: auto; margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--primary); padding: .2rem 0 .2rem 1rem; font-style: italic; }
.prose table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.prose table td, .prose table th { border: 1px solid #dee2e6; padding: .5rem .7rem; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.lead-image img { width: 100%; max-height: 520px; object-fit: cover; }

/* Sidebar */
.side-box { background: var(--light); padding: 1.75rem; margin-bottom: 1.5rem; }
.side-box h5 { margin-bottom: 1rem; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: .5rem 0; border-bottom: 1px solid #e3e3e3; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--dark); text-decoration: none; display: flex; justify-content: space-between; gap: .5rem; }
.side-list a:hover, .side-list a.active { color: var(--primary); }
.tags a { display: inline-block; margin: 0 .35rem .45rem 0; padding: .25rem .75rem; border: 1px solid var(--primary); color: var(--primary); border-radius: 30px; font-size: .88rem; text-decoration: none; }
.tags a:hover { background: var(--primary); color: #fff; }

/* Meta */
.meta { color: #777; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.meta i { color: var(--primary); margin-right: .3rem; }

/* Daftar (pengumuman, agenda, dokumen) */
.list-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; }
.list-row:hover h5, .list-row:hover h6 { color: var(--primary); }
.date-box { flex: 0 0 70px; text-align: center; background: var(--primary); color: #fff; align-self: flex-start; }
.date-box .d { display: block; font-family: 'Nunito', sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1.1; padding-top: .35rem; }
.date-box .m { display: block; font-size: .8rem; padding-bottom: .4rem; }
.doc-icon { flex: 0 0 54px; height: 62px; background: var(--light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.prio { display: inline-block; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; margin-right: .35rem; color: #fff; }
.prio-1 { background: var(--secondary); }
.prio-2 { background: #dc3545; }

/* Galeri */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.album-grid a, .album-grid button.media-btn { display: block; aspect-ratio: 4/3; overflow: hidden; position: relative; border: 0; padding: 0; width: 100%; background: var(--light); }
.album-grid img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.album-grid a:hover img, .album-grid button:hover img { transform: scale(1.08); }
.album-grid .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #fff; background: rgba(0,0,0,.3); }
.destination .ratio img { object-fit: cover; }

/* Footer */
.footer .footer-gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.footer a { text-decoration: none; }

/* Filter & pagination */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-tabs a { padding: .4rem 1.1rem; border: 1px solid var(--primary); color: var(--primary); border-radius: 30px; text-decoration: none; font-family: 'Nunito', sans-serif; font-weight: 700; }
.filter-tabs a.active, .filter-tabs a:hover { background: var(--primary); color: #fff; }
.pagination { gap: .3rem; flex-wrap: wrap; }
.page-link { color: var(--primary); border-radius: 0 !important; min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

.empty { text-align: center; padding: 3.5rem 1rem; color: #888; border: 1px dashed #ddd; }
.empty i { font-size: 2.6rem; display: block; margin-bottom: .5rem; color: #c5c5c5; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.preview-banner { background: #dc3545; color: #fff; text-align: center; padding: .5rem; font-weight: 700; position: relative; z-index: 1000; }
.map-embed iframe { width: 100%; height: 340px; border: 0; }
.booking .form-control, .booking .form-select { color: #fff; border-color: rgba(255,255,255,.6); }
.booking .form-control::placeholder { color: transparent; }
.booking .form-floating > label { color: rgba(255,255,255,.85); }
.booking .form-select option { color: #000; }
.booking .invalid-feedback { color: #ffd2d2; }
@media (prefers-reduced-motion: reduce) { .wow { visibility: visible !important; animation: none !important; } *, *::before, *::after { transition: none !important; } }

/* ===== Header halaman dalam yang ringkas ===== */
.page-header h1 { line-height: 1.2; }
.page-header .page-header-sub { font-size: 1rem; opacity: .9; max-width: 720px; margin-left: auto; margin-right: auto; }
.page-header .breadcrumb { font-size: .92rem; }
/* desktop: navbar transparan menumpang di atas header, beri ruang atas yang cukup */
@media (min-width: 992px) { .page-header { min-height: 400px; display: flex; align-items: center; padding-top: 7rem !important; } .page-header > .container { width: 100%; margin-top: 0 !important; padding-top: 0 !important; } }

/* ===== Beranda: pratinjau setiap menu ===== */
.section-light { background: var(--light); position: relative; z-index: 0; }
.section-light .section-title.bg-white { background: var(--light) !important; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; }
.sec-head h2 { margin: 0; }
.sec-head .btn { white-space: nowrap; }

/* Jelajahi (tile menu dengan jumlah konten) */
.explore { margin-top: -5.5rem; position: relative; z-index: 5; }
.explore-tile { display: flex; align-items: center; gap: .9rem; background: #fff; padding: 1.15rem 1.25rem; box-shadow: 0 10px 35px rgba(0,0,0,.08); height: 100%; color: var(--dark); text-decoration: none; border-bottom: 3px solid transparent; transition: .3s; }
.explore-tile:hover { border-bottom-color: var(--primary); transform: translateY(-4px); color: var(--dark); }
.explore-tile .ic { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.explore-tile:nth-child(even) .ic { background: var(--secondary); }
.explore-tile .num { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.35rem; line-height: 1; }
.explore-tile .lbl { font-size: .9rem; color: #666; }
@media (max-width: 991.98px) { .explore { margin-top: -3rem; } }

/* Berita: utama + daftar */
.news-feature { position: relative; display: block; overflow: hidden; height: 100%; min-height: 420px; color: #fff; text-decoration: none; background: var(--dark); }
.news-feature img, .news-feature .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.news-feature:hover img { transform: scale(1.06); }
.news-feature .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,31,0) 30%, rgba(20,20,31,.92) 100%); }
.news-feature .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem; }
.news-feature h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: .6rem 0 .5rem; }
.news-feature p { color: rgba(255,255,255,.85); margin: 0; }
.news-feature:hover h3 { color: var(--primary); }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .25rem .75rem; border-radius: 30px; background: var(--primary); color: #fff; }
.pill-accent { background: var(--secondary); }
.pill-light { background: rgba(255,255,255,.2); }
.news-mini { display: flex; gap: 1rem; padding: 1rem; background: #fff; text-decoration: none; color: var(--dark); box-shadow: 0 0 30px rgba(0,0,0,.06); margin-bottom: 1rem; transition: .3s; }
.news-mini:last-child { margin-bottom: 0; }
.news-mini:hover { transform: translateX(4px); color: var(--dark); }
.news-mini:hover h6 { color: var(--primary); }
.news-mini .thumb { flex: 0 0 110px; height: 82px; overflow: hidden; background: var(--light); }
.news-mini .thumb img, .news-mini .thumb .img-fallback { width: 100%; height: 100%; object-fit: cover; font-size: 1.5rem; }
.news-mini h6 { font-size: 1rem; margin: 0 0 .35rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Pengumuman */
.ann-card { display: block; position: relative; background: #fff; padding: 1.4rem 1.4rem 1.2rem 1.6rem; box-shadow: 0 0 30px rgba(0,0,0,.06); text-decoration: none; color: var(--dark); border-left: 4px solid var(--primary); height: 100%; transition: .3s; }
.ann-card.p1 { border-left-color: var(--secondary); }
.ann-card.p2 { border-left-color: #dc3545; }
.ann-card:hover { transform: translateY(-4px); color: var(--dark); }
.ann-card:hover h5 { color: var(--primary); }
.ann-card h5 { font-size: 1.08rem; margin: .5rem 0; }
.ann-card p { color: #666; font-size: .93rem; margin-bottom: .75rem; }

/* Agenda */
.event-card { display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 30px rgba(0,0,0,.06); height: 100%; text-decoration: none; color: var(--dark); transition: .3s; overflow: hidden; }
.event-card:hover { transform: translateY(-4px); color: var(--dark); }
.event-card:hover h5 { color: var(--primary); }
.event-card .top { display: flex; align-items: stretch; }
.event-card .dt { flex: 0 0 86px; background: var(--primary); color: #fff; text-align: center; padding: .8rem .3rem; }
.event-card .dt .d { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; display: block; }
.event-card .dt .m { font-size: .82rem; display: block; margin-top: .2rem; }
.event-card .when { flex: 1; padding: .8rem 1rem; background: rgba(0,0,0,.03); font-size: .85rem; color: #555; display: flex; flex-direction: column; justify-content: center; }
.event-card .when strong { color: var(--secondary); font-family: 'Nunito', sans-serif; }
.event-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.event-card h5 { font-size: 1.05rem; margin: 0 0 .5rem; }

/* Program */
.prog-card { position: relative; display: block; overflow: hidden; background: #fff; box-shadow: 0 0 30px rgba(0,0,0,.06); text-decoration: none; color: var(--dark); height: 100%; transition: .3s; }
.prog-card:hover { color: var(--dark); transform: translateY(-4px); }
.prog-card .img { aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.prog-card .img img, .prog-card .img .img-fallback { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.prog-card:hover .img img { transform: scale(1.08); }
.prog-card .badge-pos { position: absolute; top: 1rem; left: 1rem; }
.prog-card .body { padding: 1.2rem 1.25rem 1.4rem; }
.prog-card h5 { font-size: 1.05rem; margin: 0 0 .4rem; }
.prog-card:hover h5 { color: var(--primary); }
.prog-card p { color: #666; font-size: .92rem; margin: 0; }

/* Publikasi */
.doc-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; padding: 1.25rem; box-shadow: 0 0 30px rgba(0,0,0,.06); height: 100%; transition: .3s; }
.doc-card:hover { transform: translateY(-4px); }
.doc-card .file { flex: 0 0 58px; height: 70px; position: relative; background: var(--light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; clip-path: polygon(0 0, 75% 0, 100% 22%, 100% 100%, 0 100%); }
.doc-card .ext { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: .62rem; font-weight: 800; color: var(--secondary); letter-spacing: .02em; }
.doc-card h6 { font-size: 1rem; margin: 0 0 .35rem; line-height: 1.35; }
.doc-card h6 a { color: var(--dark); text-decoration: none; }
.doc-card h6 a:hover { color: var(--primary); }

/* Bidang (ikon bundar) */
.div-chip { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid #eee; text-decoration: none; color: var(--dark); height: 100%; transition: .3s; }
.div-chip:hover { border-color: var(--primary); color: var(--primary); }
.div-chip i { font-size: 1.6rem; color: var(--primary); }
.notice-bar + main .explore { margin-top: 0; }
@media (max-width: 575.98px) { .explore-tile { padding: .9rem; gap: .6rem; } .explore-tile .ic { flex-basis: 40px; height: 40px; font-size: 1rem; } .explore-tile .lbl { font-size: .8rem; } .news-feature { min-height: 300px; } }

.home-empty { display: flex; align-items: center; gap: 1.25rem; background: #fff; padding: 1.75rem; border: 1px dashed #d5d5d5; }
.section-light .home-empty { background: #fff; }
.home-empty .ic { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.home-empty p { color: #777; }
/* Navbar padat di layar 992–1399px */
.navbar .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399.98px) {
    .navbar-light .navbar-nav .nav-link { margin-right: 14px; font-size: 15px; }
    .navbar-light .navbar-brand .brand-text { font-size: 1.35rem; }
    .navbar-light .navbar-brand img { max-height: 48px; }
    .navbar .btn.rounded-pill { padding-left: 1.1rem !important; padding-right: 1.1rem !important; }
}

/* ======================= Beranda v3 ======================= */
.hero-home { min-height: 640px; display: flex; align-items: center; }
.hero-home > .container { width: 100%; }
.hero-home .hero-logo { max-height: 150px; filter: drop-shadow(0 10px 25px rgba(0,0,0,.35)); }
.hero-kicker { letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; font-weight: 600; opacity: .85; }
.hero-dots { margin-bottom: 4.5rem; }
.hero-dots [data-bs-target] { width: 34px; height: 4px; }

/* Bar jelajahi */
.explore-bar { background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.12); overflow: hidden; }
.explore-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.5rem .75rem 1.3rem; color: var(--dark); text-decoration: none; height: 100%; border-right: 1px solid #eee; border-bottom: 3px solid transparent; transition: .3s; }
.explore-bar .col:last-child .explore-item { border-right: 0; }
.explore-item .ic { width: 58px; height: 58px; border-radius: 50%; background: rgba(0,0,0,.04); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; transition: .3s; }
.explore-item .lbl { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem; }
.explore-item .num { font-size: .82rem; color: #888; }
.explore-item:hover { border-bottom-color: var(--primary); color: var(--dark); }
.explore-item:hover .ic { background: var(--primary); color: #fff; transform: translateY(-3px); }
@media (max-width: 1199.98px) { .explore-item { border-bottom: 1px solid #eee; } }

/* Tentang */
.about-media { position: relative; padding: 0 0 2rem 2rem; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 65%; height: 75%; border: 6px solid var(--primary); z-index: 0; }
.about-media img { position: relative; z-index: 1; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 20px 45px rgba(0,0,0,.15); }
.about-badge { position: absolute; z-index: 2; right: -12px; bottom: 0; background: var(--secondary); color: #fff; padding: 1rem 1.25rem; display: flex; gap: .85rem; align-items: center; box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.about-badge i { font-size: 1.8rem; }
.about-badge strong { display: block; font-family: 'Nunito', sans-serif; font-size: 1.15rem; line-height: 1.1; }
.about-badge span { font-size: .85rem; opacity: .9; }
.pillar { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--dark); text-decoration: none; }
.pillar i { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; flex: 0 0 30px; }
a.pillar:hover { color: var(--primary); }
@media (max-width: 575.98px) { .about-media { padding: 0 0 1.25rem 1.25rem; } .about-badge { right: 0; } }

/* Sambutan */
.greeting-band { background: linear-gradient(135deg, rgba(0,0,0,.02), rgba(0,0,0,.05)); }
.greeting-photo { aspect-ratio: 3/4; object-fit: cover; border-bottom: 6px solid var(--primary); box-shadow: 0 20px 45px rgba(0,0,0,.15); }
.greeting-quote { position: relative; font-size: 1.12rem; font-style: italic; padding-left: 3.5rem; }
.greeting-quote::before { content: "\201C"; position: absolute; left: 0; top: -1.2rem; font-family: Georgia, serif; font-size: 5.5rem; color: var(--primary); line-height: 1; opacity: .6; }

section.section-light { background: var(--light); }
.bg-light { background-color: var(--light) !important; }

/* Pengumuman & agenda */
.ann-card.mb-3 { height: auto; }
.mini-empty { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; background: #fff; border: 1px dashed #d5d5d5; color: #777; }
.mini-empty i { font-size: 1.5rem; color: var(--primary); }
.agenda-row { display: flex; gap: 1rem; background: #fff; box-shadow: 0 0 30px rgba(0,0,0,.06); margin-bottom: 1rem; text-decoration: none; color: var(--dark); transition: .3s; overflow: hidden; }
.agenda-row:hover { transform: translateX(4px); color: var(--dark); }
.agenda-row:hover h6 { color: var(--primary); }
.agenda-row .dt { flex: 0 0 80px; background: var(--primary); color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: .75rem .25rem; }
.agenda-row .dt .d { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.agenda-row .dt .m { font-size: .8rem; margin-top: .2rem; }
.agenda-row .info { padding: .85rem 1rem .85rem 0; }
.agenda-row .when { font-size: .78rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: .03em; }
.agenda-row h6 { margin: .2rem 0 .35rem; font-size: 1rem; }

/* Kartu info */
.info-card { display: block; height: 100%; background: #fff; padding: 2rem 1.6rem; box-shadow: 0 0 45px rgba(0,0,0,.07); text-decoration: none; color: var(--dark); position: relative; overflow: hidden; transition: .4s; }
.info-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--primary); transition: .4s; }
.info-card:hover { transform: translateY(-6px); color: var(--dark); }
.info-card:hover::after { width: 100%; }
.info-card .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.col:nth-child(even) > .info-card .ic, .row > div:nth-child(even) > .info-card .ic { background: var(--secondary); }
.info-card p { color: #777; }
.info-card .go { font-weight: 700; color: var(--primary); font-size: .92rem; }

/* Band organisasi */
.org-band { position: relative; background: linear-gradient(rgba(20,20,31,.82), rgba(20,20,31,.88)), url(../theme/img/ditjenpas.jpg) center/cover fixed; }
@media (max-width: 991.98px) { .org-band { background-attachment: scroll; } }
.org-item { text-align: center; padding: 2.25rem 1.75rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); transition: .4s; }
.org-item:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.org-item .ic { width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 0 0 8px rgba(255,255,255,.08); }
.org-item .val { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 2.4rem; color: #fff; line-height: 1; margin-bottom: .4rem; }
.org-item h5 { color: #fff; margin-bottom: .6rem; }

/* Galeri grid */
.gal-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
.gal-grid.gal-n4 .gal-tile:first-child, .gal-grid.gal-n3 .gal-tile:first-child { grid-column: span 2; grid-row: span 2; }
.gal-grid.gal-n4 .gal-tile:nth-child(4) { grid-column: span 2; }
.gal-grid.gal-n3 .gal-tile:nth-child(2), .gal-grid.gal-n3 .gal-tile:nth-child(3) { grid-column: span 2; }
.gal-grid.gal-n2 .gal-tile { grid-column: span 2; grid-row: span 2; }
.gal-grid.gal-n1 .gal-tile { grid-column: 1 / -1; grid-row: span 2; }
.gal-tile { position: relative; display: block; overflow: hidden; background: var(--light); }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.gal-tile:hover img { transform: scale(1.08); }
.gal-cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(20,20,31,.88)); color: #fff; }
.gal-cap strong { display: block; font-family: 'Nunito', sans-serif; font-size: 1.05rem; line-height: 1.3; }
@media (max-width: 767.98px) { .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gal-grid .gal-tile:first-child { grid-column: 1 / -1 !important; grid-row: span 2; } .gal-grid .gal-tile:nth-child(n+2) { grid-column: span 1 !important; grid-row: span 1 !important; } }

/* Ajakan */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--secondary)); padding: 3.25rem 0; margin: 3rem 0 1rem; }
.cta-band h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
/* Cegah geser horizontal di ponsel (gutter g-5 lebih lebar dari padding container) */
@media (max-width: 767.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } }
.gal-cap small { display: block; font-size: .8rem; opacity: .85; margin-top: .2rem; }

/* Kartu layanan: latar ikut berubah saat hover (bg-white memakai !important) */
.service-item:hover, .service-item.bg-white:hover { background: var(--primary) !important; }
