/* ==========================================================================
   Pusat Kajian Budaya Universitas Samawa — Tema Publik
   Palet diambil dari logo: navy, tembaga, emas, biru kerajaan
   ========================================================================== */
:root {
  --pkb-navy: #223148;
  --pkb-navy-900: #172235;
  --pkb-navy-700: #2C3E5C;
  --pkb-blue: #354EAA;
  --pkb-blue-600: #2C4294;
  --pkb-copper: #B96631;
  --pkb-copper-600: #A0552A;
  --pkb-gold: #B6864C;
  --pkb-gold-300: #E4C996;
  --pkb-cream: #FBF7F1;
  --pkb-sand: #F3EBDF;
  --pkb-ink: #1D2433;
  --pkb-muted: #5E6779;
  --pkb-line: #E7DED0;
  --pkb-radius: 14px;
  --pkb-shadow: 0 10px 30px -12px rgba(23, 34, 53, .22);
  --pkb-shadow-lg: 0 24px 50px -20px rgba(23, 34, 53, .35);
  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --bs-primary: var(--pkb-navy);
  --bs-primary-rgb: 34, 49, 72;
  --bs-link-color: var(--pkb-blue);
  --bs-link-color-rgb: 53, 78, 170;
  --bs-link-hover-color: var(--pkb-copper);
  --bs-link-hover-color-rgb: 185, 102, 49;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--pkb-ink);
  --bs-border-color: var(--pkb-line);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--pkb-ink); background: #fff; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .font-head { font-family: var(--font-head); color: var(--pkb-navy); font-weight: 600; line-height: 1.25; }
a { text-decoration: none; transition: color .2s; }
::selection { background: var(--pkb-gold-300); color: var(--pkb-navy-900); }
img { max-width: 100%; }
.text-copper { color: var(--pkb-copper) !important; }
.text-gold { color: var(--pkb-gold) !important; }
.text-navy { color: var(--pkb-navy) !important; }
.text-blue { color: var(--pkb-blue) !important; }
.bg-navy { background: var(--pkb-navy) !important; }
.bg-cream { background: var(--pkb-cream) !important; }
.bg-sand { background: var(--pkb-sand) !important; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--pkb-copper); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

/* ---------- Tombol ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .62rem 1.35rem; letter-spacing: .01em; }
.btn-sm { padding: .38rem .9rem; }
.btn-primary { --bs-btn-bg: var(--pkb-navy); --bs-btn-border-color: var(--pkb-navy); --bs-btn-hover-bg: var(--pkb-navy-900); --bs-btn-hover-border-color: var(--pkb-navy-900); --bs-btn-active-bg: var(--pkb-navy-900); }
.btn-copper { --bs-btn-color: #fff; --bs-btn-bg: var(--pkb-copper); --bs-btn-border-color: var(--pkb-copper); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--pkb-copper-600); --bs-btn-hover-border-color: var(--pkb-copper-600); --bs-btn-active-bg: var(--pkb-copper-600); --bs-btn-active-color: #fff; box-shadow: 0 8px 20px -10px rgba(185, 102, 49, .8); }
.btn-gold { --bs-btn-color: var(--pkb-navy-900); --bs-btn-bg: var(--pkb-gold-300); --bs-btn-border-color: var(--pkb-gold-300); --bs-btn-hover-bg: #d9b877; --bs-btn-hover-border-color: #d9b877; --bs-btn-hover-color: var(--pkb-navy-900); }
.btn-outline-navy { --bs-btn-color: var(--pkb-navy); --bs-btn-border-color: var(--pkb-navy); --bs-btn-hover-bg: var(--pkb-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--pkb-navy); }
.btn-outline-light-soft { color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-outline-light-soft:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--pkb-navy-900); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: var(--pkb-gold-300); }
.topbar .sep { opacity: .3; margin: 0 .6rem; }
.topbar .social a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; }
.topbar .social a:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Navbar ---------- */
.site-nav { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--pkb-line); transition: box-shadow .25s, padding .25s; padding: .7rem 0; }
.site-nav.scrolled { box-shadow: 0 8px 26px -18px rgba(23, 34, 53, .45); padding: .35rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 54px; width: auto; transition: height .25s; }
.site-nav.scrolled .brand img { height: 44px; }
.brand-text { line-height: 1.05; }
.brand-text .t1 { font-family: var(--font-head); font-weight: 700; color: var(--pkb-copper); font-size: 1.12rem; display: block; }
.brand-text .t2 { font-family: var(--font-body); color: var(--pkb-blue); font-weight: 800; letter-spacing: .16em; font-size: .68rem; text-transform: uppercase; display: block; margin-top: 4px; }
.site-nav .nav-link { color: var(--pkb-navy); font-weight: 600; font-size: .93rem; padding: .55rem .8rem !important; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--pkb-copper); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--pkb-copper); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--pkb-shadow-lg); padding: .5rem; margin-top: .4rem; border-top: 3px solid var(--pkb-copper); }
.site-nav .dropdown-item { border-radius: 8px; padding: .5rem .8rem; font-size: .92rem; color: var(--pkb-navy); }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item.active { background: var(--pkb-sand); color: var(--pkb-copper); }
.site-nav .dropdown-item i { color: var(--pkb-gold); width: 1.3rem; display: inline-block; }
.btn-search { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--pkb-navy); border: 1px solid var(--pkb-line); background: #fff; }
.btn-search:hover { background: var(--pkb-sand); color: var(--pkb-copper); }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(185, 102, 49, .25); }
@media (max-width: 1199.98px) {
  .site-nav .navbar-collapse { max-height: 75vh; overflow-y: auto; padding: .8rem 0; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .dropdown-menu { box-shadow: none; border-top: 0; background: var(--pkb-cream); }
}

/* ---------- Teks berjalan ---------- */
.ticker { background: linear-gradient(90deg, var(--pkb-copper), #c97a3f); color: #fff; font-size: .88rem; overflow: hidden; }
.ticker .label { background: var(--pkb-navy); padding: .45rem 1rem; font-weight: 700; white-space: nowrap; position: relative; z-index: 2; }
.ticker .track { white-space: nowrap; overflow: hidden; flex: 1; }
.ticker .track span { display: inline-block; padding-left: 100%; animation: ticker 28s linear infinite; }
.ticker:hover .track span { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track span { animation: none; padding-left: 1rem; } }

/* ---------- Motif ---------- */
.pattern-dark { background-color: var(--pkb-navy); background-image: url("../img/pattern-tenun-dark.svg"); background-size: 56px; }
.pattern-light { background-color: var(--pkb-cream); background-image: url("../img/pattern-tenun-light.svg"); background-size: 56px; }
.band-rebung { height: 16px; background: url("../img/band-rebung.svg") repeat-x; background-size: 48px 16px; }
.ornament { display: inline-flex; align-items: center; gap: .55rem; color: var(--pkb-copper); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.ornament::before { content: ""; width: 10px; height: 10px; background: var(--pkb-gold); transform: rotate(45deg); box-shadow: 14px -14px 0 -3px var(--pkb-copper); margin-right: 8px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: .35rem 0 .7rem; }
.section-lead { color: var(--pkb-muted); max-width: 640px; }
.divider-diamond { display: flex; align-items: center; gap: 10px; color: var(--pkb-gold); margin: .9rem 0 1.2rem; }
.divider-diamond::before, .divider-diamond::after { content: ""; height: 1px; width: 46px; background: currentColor; opacity: .6; }
.divider-diamond i { font-size: .55rem; }
.text-center .divider-diamond { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero .carousel-item { min-height: clamp(520px, 78vh, 760px); }
.hero-slide { position: relative; min-height: inherit; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23, 34, 53, .94) 0%, rgba(34, 49, 72, .78) 45%, rgba(34, 49, 72, .25) 100%); }
.hero-slide.no-photo::before { background: radial-gradient(1200px 500px at 85% 40%, rgba(185, 102, 49, .35), transparent 60%), linear-gradient(120deg, rgba(23, 34, 53, .96), rgba(34, 49, 72, .88)); }
.hero-slide .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 600; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--pkb-gold-300); }
.hero .lead { color: rgba(255, 255, 255, .85); font-size: 1.12rem; max-width: 620px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(228, 201, 150, .35); color: var(--pkb-gold-300); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-emblem { position: relative; z-index: 2; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); max-width: 440px; width: 100%; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-emblem { animation: none; } }
.hero-ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(228, 201, 150, .35); right: 6%; top: 50%; transform: translateY(-50%); }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; background: var(--pkb-gold-300); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; }

/* ---------- Statistik ---------- */
.stats-wrap { margin-top: -54px; position: relative; z-index: 5; }
.stats-card { background: #fff; border-radius: 18px; box-shadow: var(--pkb-shadow-lg); padding: 1.6rem 1rem; border-bottom: 4px solid var(--pkb-copper); }
.stat { text-align: center; padding: .3rem .5rem; }
.stat + .stat { border-left: 1px solid var(--pkb-line); }
.stat .num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; color: var(--pkb-navy); line-height: 1; }
.stat .lbl { color: var(--pkb-muted); font-size: .85rem; font-weight: 600; margin-top: .35rem; }
.stat i { color: var(--pkb-copper); font-size: 1.3rem; }
@media (max-width: 767.98px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { margin-top: 1rem; } }

/* ---------- Kartu ---------- */
.card-pkb { border: 1px solid var(--pkb-line); border-radius: var(--pkb-radius); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; }
.card-pkb:hover { transform: translateY(-5px); box-shadow: var(--pkb-shadow); border-color: transparent; }
.card-pkb .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pkb-sand); }
.card-pkb .thumb img, .card-pkb .thumb .ph-tenun { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-pkb:hover .thumb img:not(.ph-emblem) { transform: scale(1.05); }
.card-pkb .card-body { padding: 1.25rem 1.3rem 1.4rem; }
.card-pkb .card-title { font-size: 1.14rem; margin-bottom: .5rem; }
.card-pkb .card-title a { color: var(--pkb-navy); }
.card-pkb .card-title a:hover { color: var(--pkb-copper); }
.card-pkb .meta { font-size: .8rem; color: var(--pkb-muted); display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.card-pkb .meta i { color: var(--pkb-gold); }
.badge-cat { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--pkb-copper); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; padding: .35rem .7rem; border-radius: 999px; text-transform: uppercase; }
.badge-soft { background: var(--pkb-sand); color: var(--pkb-copper-600); font-weight: 600; border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; }
.ph-tenun { display: flex; align-items: center; justify-content: center; background-color: var(--pkb-navy); background-image: url("../img/pattern-tenun-dark.svg"); background-size: 48px; width: 100%; height: 100%; min-height: 160px; }
.ph-tenun .ph-emblem { width: 34%; max-width: 140px; height: auto !important; opacity: .92; object-fit: contain !important; }

/* Berita utama */
.news-feature { position: relative; border-radius: 18px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--pkb-shadow); }
.news-feature > img, .news-feature > .ph-tenun { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(23, 34, 53, .95)); }
.news-feature .body { position: relative; z-index: 2; padding: 2rem; }
.news-feature h3 a { color: #fff; }
.news-feature h3 a:hover { color: var(--pkb-gold-300); }
.news-mini { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--pkb-line); }
.news-mini:last-child { border-bottom: 0; }
.news-mini .mthumb { flex: 0 0 112px; height: 84px; border-radius: 10px; overflow: hidden; }
.news-mini .mthumb img, .news-mini .mthumb .ph-tenun { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.news-mini h4 { font-size: 1rem; margin: .2rem 0 .3rem; line-height: 1.4; }
.news-mini h4 a { color: var(--pkb-navy); }
.news-mini h4 a:hover { color: var(--pkb-copper); }

/* Program */
.program-card { position: relative; padding: 2rem 1.6rem; border-radius: var(--pkb-radius); background: #fff; border: 1px solid var(--pkb-line); height: 100%; transition: all .3s; overflow: hidden; }
.program-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: var(--pkb-navy) url("../img/pattern-tenun-dark.svg"); background-size: 48px; transition: height .4s ease; z-index: 0; }
.program-card > * { position: relative; z-index: 1; }
.program-card .icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--pkb-copper), var(--pkb-gold)); margin-bottom: 1.2rem; box-shadow: 0 10px 20px -10px rgba(185, 102, 49, .9); transform: rotate(-4deg); }
.program-card h3 { font-size: 1.2rem; transition: color .3s; }
.program-card p { color: var(--pkb-muted); font-size: .93rem; transition: color .3s; }
.program-card .more { font-weight: 700; font-size: .88rem; color: var(--pkb-copper); }
.program-card:hover::before { height: 100%; }
.program-card:hover h3, .program-card:hover .more { color: #fff; }
.program-card:hover p { color: rgba(255, 255, 255, .78); }

/* Sambutan */
.welcome-photo { position: relative; max-width: 380px; margin: auto; }
.welcome-photo .frame { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--pkb-gold); border-radius: 22px; }
.welcome-photo img, .welcome-photo .ph-tenun { position: relative; border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--pkb-shadow-lg); }
.welcome-photo .tag { position: absolute; left: -14px; bottom: 26px; background: var(--pkb-copper); color: #fff; padding: .75rem 1.1rem; border-radius: 12px; box-shadow: var(--pkb-shadow); z-index: 3; max-width: 85%; }
.welcome-photo .tag strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.welcome-photo .tag small { opacity: .85; }
.quote-mark { font-family: var(--font-head); font-size: 5rem; line-height: .6; color: var(--pkb-gold-300); }

/* Agenda */
.agenda-item { display: flex; gap: 1rem; padding: 1.1rem; border-radius: 14px; background: #fff; border: 1px solid var(--pkb-line); transition: all .25s; }
.agenda-item + .agenda-item { margin-top: .9rem; }
.agenda-item:hover { border-color: var(--pkb-gold); box-shadow: var(--pkb-shadow); }
.date-box { flex: 0 0 70px; text-align: center; border-radius: 12px; background: var(--pkb-navy); color: #fff; padding: .55rem .3rem; align-self: flex-start; }
.date-box .d { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.date-box .m { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pkb-gold-300); font-weight: 700; }
.date-box .y { font-size: .7rem; opacity: .7; }
.date-box.past { background: #8a93a3; }
.agenda-item h4 { font-size: 1.04rem; margin: 0 0 .3rem; }
.agenda-item h4 a { color: var(--pkb-navy); }
.agenda-item h4 a:hover { color: var(--pkb-copper); }

/* Publikasi */
.pub-item { padding: 1.15rem 1.25rem; border-radius: 14px; background: #fff; border: 1px solid var(--pkb-line); border-left: 4px solid var(--pkb-gold); transition: all .25s; }
.pub-item + .pub-item { margin-top: .9rem; }
.pub-item:hover { border-left-color: var(--pkb-copper); box-shadow: var(--pkb-shadow); }
.pub-item h4 { font-size: 1.04rem; line-height: 1.45; margin: .35rem 0; }
.pub-item h4 a { color: var(--pkb-navy); }
.pub-item h4 a:hover { color: var(--pkb-copper); }
.pub-item .authors { font-size: .86rem; color: var(--pkb-muted); }

/* Galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: 12px; display: block; background: var(--pkb-sand); }
.gallery-grid .g-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-grid .g-item:hover img { transform: scale(1.07); }
.gallery-grid .g-item .cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .75rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(23, 34, 53, .9)); opacity: 0; transform: translateY(10px); transition: all .3s; }
.gallery-grid .g-item:hover .cap { opacity: 1; transform: none; }
.gallery-grid .g-item .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: #fff; text-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.album-card .thumb { aspect-ratio: 4 / 3; }
.album-card .count { position: absolute; right: 12px; bottom: 12px; background: rgba(23, 34, 53, .85); color: #fff; border-radius: 999px; font-size: .75rem; padding: .25rem .65rem; z-index: 2; }

/* Tim */
.team-card { text-align: center; padding: 2rem 1.3rem 1.6rem; border-radius: 18px; background: #fff; border: 1px solid var(--pkb-line); height: 100%; transition: all .3s; position: relative; overflow: hidden; }
.team-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 86px; background: var(--pkb-navy) url("../img/pattern-tenun-dark.svg"); background-size: 44px; }
.team-card > * { position: relative; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--pkb-shadow); }
.team-card .avatar-lg { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .45); margin: 0 auto .9rem; display: block; }
.team-card .avatar-initials { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, var(--pkb-copper), var(--pkb-gold)); }
.team-card h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.team-card h3 a { color: var(--pkb-navy); }
.team-card .role { color: var(--pkb-copper); font-weight: 700; font-size: .82rem; }
.team-card .field { color: var(--pkb-muted); font-size: .85rem; }
.team-card .links a { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--pkb-sand); color: var(--pkb-navy); margin: 0 2px; font-size: .9rem; }
.team-card .links a:hover { background: var(--pkb-copper); color: #fff; }

/* Mitra */
.partner { display: flex; align-items: center; justify-content: center; height: 96px; padding: 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--pkb-line); filter: grayscale(1); opacity: .75; transition: all .3s; }
.partner:hover { filter: none; opacity: 1; box-shadow: var(--pkb-shadow); }
.partner img { max-height: 60px; object-fit: contain; }
.partner span { font-weight: 700; color: var(--pkb-navy); text-align: center; font-size: .9rem; }

/* CTA */
.cta { border-radius: 24px; padding: 3.2rem; color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(185, 102, 49, .55), transparent 70%); }
.cta h2 { color: #fff; }
.cta > * { position: relative; z-index: 2; }

/* ---------- Page header ---------- */
.page-hero { position: relative; color: #fff; padding: 70px 0 64px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 34, 53, .97) 30%, rgba(34, 49, 72, .7)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: .4rem 0 .6rem; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 700px; margin: 0; }
.page-hero .breadcrumb { margin: 0; font-size: .85rem; }
.page-hero .breadcrumb a { color: var(--pkb-gold-300); }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .65); }
.page-hero .hero-emblem-bg { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 150%; opacity: .14; z-index: 1; }

/* ---------- Konten artikel ---------- */
.prose { font-size: 1.04rem; line-height: 1.85; color: #2a3142; }
.prose h2, .prose h3, .prose h4 { margin: 1.8rem 0 .8rem; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose p { margin-bottom: 1.1rem; }
.prose img { border-radius: 12px; height: auto; margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--pkb-gold); background: var(--pkb-cream); padding: 1rem 1.3rem; border-radius: 0 12px 12px 0; font-family: var(--font-head); font-style: italic; color: var(--pkb-navy); margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--pkb-copper); }
.prose a { color: var(--pkb-blue); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose td, .prose th { border: 1px solid var(--pkb-line); padding: .5rem .7rem; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; border: 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.article-cover { border-radius: 18px; overflow: hidden; margin-bottom: 1.8rem; box-shadow: var(--pkb-shadow); }
.article-cover img, .article-cover .ph-tenun { width: 100%; max-height: 480px; object-fit: cover; min-height: 280px; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; color: var(--pkb-muted); font-size: .88rem; }
.article-meta i { color: var(--pkb-gold); }
.share a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--pkb-sand); color: var(--pkb-navy); margin-right: .3rem; }
.share a:hover { background: var(--pkb-copper); color: #fff; }
.tag-chip { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--pkb-cream); border: 1px solid var(--pkb-line); color: var(--pkb-navy); font-size: .8rem; margin: 0 .3rem .4rem 0; }
.tag-chip:hover { background: var(--pkb-copper); color: #fff; border-color: var(--pkb-copper); }

/* Sidebar */
.side-widget { background: #fff; border: 1px solid var(--pkb-line); border-radius: var(--pkb-radius); padding: 1.4rem; margin-bottom: 1.5rem; }
.side-widget h5 { font-size: 1.05rem; padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 2px solid var(--pkb-sand); position: relative; }
.side-widget h5::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--pkb-copper); }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li a { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--pkb-navy); border-bottom: 1px dashed var(--pkb-line); font-size: .93rem; }
.side-list li:last-child a { border-bottom: 0; }
.side-list li a:hover, .side-list li a.active { color: var(--pkb-copper); }
.profile-nav .list-group-item { border: 0; border-radius: 10px !important; margin-bottom: 4px; font-weight: 600; color: var(--pkb-navy); }
.profile-nav .list-group-item.active { background: var(--pkb-navy); color: #fff; }
.profile-nav .list-group-item:not(.active):hover { background: var(--pkb-sand); color: var(--pkb-copper); }

/* Form */
.form-control, .form-select { border-radius: 10px; border-color: #ddd3c4; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--pkb-gold); box-shadow: 0 0 0 .2rem rgba(182, 134, 76, .2); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--pkb-navy); }
.filter-bar { background: #fff; border: 1px solid var(--pkb-line); border-radius: 16px; padding: 1rem; box-shadow: 0 8px 26px -22px rgba(23, 34, 53, .5); }
.contact-card { display: flex; gap: 1rem; padding: 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--pkb-line); }
.contact-card .ic { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--pkb-sand); color: var(--pkb-copper); font-size: 1.25rem; }
.map-embed iframe { width: 100%; height: 360px; border: 0; border-radius: 16px; }

/* Pagination */
.pagination { --bs-pagination-color: var(--pkb-navy); --bs-pagination-active-bg: var(--pkb-navy); --bs-pagination-active-border-color: var(--pkb-navy); --bs-pagination-hover-color: var(--pkb-copper); --bs-pagination-border-radius: 10px; gap: 6px; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; }

/* Empty */
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--pkb-muted); }
.empty-state i { font-size: 3rem; color: var(--pkb-gold); display: block; margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.site-footer { color: rgba(255, 255, 255, .75); font-size: .93rem; }
.site-footer h5 { color: #fff; font-size: 1.08rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .7rem; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--pkb-gold); }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--pkb-gold-300); }
.site-footer .f-links { list-style: none; padding: 0; margin: 0; }
.site-footer .f-links li { margin-bottom: .55rem; }
.site-footer .f-links a::before { content: "\25C6"; font-size: .55rem; color: var(--pkb-copper); margin-right: .55rem; vertical-align: middle; }
.site-footer .f-brand img { height: 74px; }
.site-footer .f-brand .t1 { font-family: var(--font-head); color: var(--pkb-gold-300); font-size: 1.25rem; font-weight: 700; display: block; }
.site-footer .f-brand .t2 { color: #fff; letter-spacing: .16em; font-weight: 800; font-size: .72rem; text-transform: uppercase; }
.site-footer .social a { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); color: #fff; margin-right: .35rem; border: 1px solid rgba(255, 255, 255, .1); }
.site-footer .social a:hover { background: var(--pkb-copper); border-color: var(--pkb-copper); }
.footer-inner { background: linear-gradient(180deg, rgba(23, 34, 53, .93), rgba(23, 34, 53, .98)); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.visit-stat { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.visit-stat div { font-size: .8rem; }
.visit-stat strong { display: block; color: #fff; font-size: 1.1rem; font-family: var(--font-head); }

/* Back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--pkb-copper); color: #fff; display: grid; place-items: center; box-shadow: var(--pkb-shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; z-index: 1030; border: 0; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--pkb-navy); color: #fff; }
.wa-float { position: fixed; left: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--pkb-shadow); z-index: 1030; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Login */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side { position: relative; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; overflow: hidden; }
.auth-side h2 { color: #fff; }
.auth-side .big-emblem { position: absolute; right: -80px; bottom: -40px; width: 70%; opacity: .16; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; background: var(--pkb-cream); }
.auth-box { width: 100%; max-width: 420px; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* Modal pencarian */
#searchModal .modal-content { border-radius: 20px; border: 0; }
#searchModal .form-control { border-radius: 999px; padding: .9rem 1.3rem; font-size: 1.05rem; }

/* Util */
.rounded-xl { border-radius: 18px !important; }
.shadow-pkb { box-shadow: var(--pkb-shadow) !important; }
.lh-sm-2 { line-height: 1.45; }
.object-cover { object-fit: cover; }
.line-clamp-2, .line-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { -webkit-line-clamp: 2; } .line-clamp-3 { -webkit-line-clamp: 3; }
:focus-visible { outline: 3px solid rgba(185, 102, 49, .55); outline-offset: 2px; }
@media (max-width: 575.98px) {
  .section { padding: 64px 0; }
  .brand img { height: 44px; }
  .brand-text .t1 { font-size: .98rem; }
  .brand-text .t2 { font-size: .6rem; }
  .cta { padding: 2rem 1.4rem; }
  .news-feature { min-height: 380px; }
}
@media print { .topbar, .site-nav, .site-footer, .to-top, .wa-float, .ticker, .share { display: none !important; } }
.icon-badge { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--pkb-copper), var(--pkb-gold)); box-shadow: 0 10px 20px -10px rgba(185, 102, 49, .9); transform: rotate(-4deg); }
.avatar-lg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--pkb-copper), var(--pkb-gold)); font-size: 1.8rem; }

/* Animasi muncul (progresif: konten tetap tampil bila JS gagal) */
.reveal-on [data-aos] { transition: opacity .7s ease, transform .7s ease; }
.reveal-on:not(.reveal-all) [data-aos]:not(.aos-animate) { opacity: 0; transform: translateY(26px); }
.reveal-on:not(.reveal-all) [data-aos="fade-right"]:not(.aos-animate) { transform: translateX(-30px); }
.reveal-on:not(.reveal-all) [data-aos="fade-left"]:not(.aos-animate) { transform: translateX(30px); }
.reveal-on:not(.reveal-all) [data-aos="zoom-in"]:not(.aos-animate) { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .reveal-on [data-aos] { opacity: 1 !important; transform: none !important; transition: none; } }
main { overflow-x: clip; }

/* Lapisan gelap di atas motif agar teks terbaca */
.cta.pattern-dark, .side-widget.pattern-dark { background-image: linear-gradient(100deg, rgba(23, 34, 53, .97) 30%, rgba(23, 34, 53, .82)), url("../img/pattern-tenun-dark.svg"); background-size: auto, 56px; }
.cta .text-white-50, .side-widget.pattern-dark .text-white-50 { color: rgba(255, 255, 255, .75) !important; }
.news-feature > .ph-tenun { align-items: flex-start; padding-top: 9%; }
.news-feature > .ph-tenun .ph-emblem { width: 26%; opacity: .55; }
.ornament::before { margin-right: 12px; flex-shrink: 0; }
