:root {
  --pt-primary: #0f9d93;
  --pt-primary-dark: #0b7a72;
  --pt-primary-light: #4fe0c6;
  --pt-dark: #0b4f4c;
  --pt-darker: #092f2d;
  --pt-bg: #f9faf9;
  --pt-surface: #ffffff;
  --pt-surface-2: #eef2f1;
  --pt-ink: #121a1a;
  --pt-ink-soft: #404848;
  --pt-line: #e1e6e4;
  --pt-radius: 12px;
  --pt-radius-sm: 8px;
  --pt-shadow: 0 4px 24px -6px rgba(0,0,0,.1);
  --pt-shadow-lg: 0 20px 44px -16px rgba(0,0,0,.18);
  --pt-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }

body {
  font-family: var(--pt-font);
  color: var(--pt-ink);
  background: var(--pt-bg);
  margin: 0;
  line-height: 1.6;
}
a { color: var(--pt-primary); text-decoration: none; }
a:hover { color: var(--pt-primary-dark); }
img { max-width: 100%; height: auto; }

/* Topbar */
.pt-topbar {
  background: var(--pt-darker);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  padding: 6px 0;
}
.pt-topbar a { color: rgba(255,255,255,.9); }
.pt-topbar a:hover { color: #fff; }
.pt-topbar i { margin-right: 4px; }

/* Header / Navbar */
.pt-header {
  background: var(--pt-dark);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.pt-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.pt-header .navbar-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.15);
}
.pt-header .brand-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}
.pt-header .brand-text small {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
}
.pt-header .navbar-toggler {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.pt-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.pt-header .navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .9rem;
  padding: .6rem 1rem;
  transition: color .2s;
}
.pt-header .navbar-nav .nav-link:hover,
.pt-header .navbar-nav .nav-link:focus {
  color: var(--pt-primary-light);
}
.pt-header .dropdown-menu {
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-sm);
  box-shadow: var(--pt-shadow);
  padding: .5rem 0;
}
.pt-header .dropdown-item {
  font-size: .875rem;
  padding: .4rem 1rem;
}
.pt-header .dropdown-item:hover {
  background: var(--pt-surface-2);
  color: var(--pt-primary);
}

/* Hero - Split layout like buding.desa.id */
.pt-hero {
  background: linear-gradient(135deg, var(--pt-dark) 0%, var(--pt-darker) 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.pt-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(79,224,198,.08);
  pointer-events: none;
}
.pt-hero h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: .75rem;
  line-height: 1.2;
}
.pt-hero p { color: rgba(255,255,255,.85); margin-bottom: .5rem; }
.pt-hero .hero-tagline {
  font-size: .95rem;
  color: var(--pt-primary-light);
  font-weight: 600;
  margin-top: 1rem;
}
.pt-hero-carousel {
  border-radius: var(--pt-radius);
  overflow: hidden;
  box-shadow: var(--pt-shadow-lg);
}
.pt-hero-carousel .carousel-item {
  height: 320px;
  background-color: var(--pt-dark);
}
.pt-hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pt-hero-carousel .carousel-caption {
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  left: 0; right: 0; bottom: 0;
  padding: 30px 20px 20px;
  text-align: left;
}
.pt-hero-carousel .carousel-caption h5 { font-size: 1rem; font-weight: 700; }
.pt-hero-carousel .carousel-caption p { font-size: .8rem; opacity: .85; }
.pt-hero-carousel .carousel-indicators button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  opacity: .7;
}
.pt-hero-carousel .carousel-indicators button.active {
  background: var(--pt-primary-light);
  border-color: var(--pt-primary-light);
  opacity: 1;
}

/* Section styling */
.pt-section { padding: 56px 0; }
.pt-section-white { background: var(--pt-surface); }
.pt-section-light { background: var(--pt-bg); }
.pt-section-dark {
  background: linear-gradient(135deg, var(--pt-dark) 0%, var(--pt-darker) 100%);
  color: #fff;
}
.pt-section-title {
  margin-bottom: 2rem;
}
.pt-section-title h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pt-ink);
  margin: 0 0 .25rem;
  position: relative;
}
.pt-section-title h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--pt-primary);
  border-radius: 2px;
  margin-top: 8px;
}
.pt-section-title.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}
.pt-section-title p {
  color: var(--pt-ink-soft);
  margin: .5rem 0 0;
  font-size: .95rem;
}
.pt-section-dark .pt-section-title h2 { color: #fff; }
.pt-section-dark .pt-section-title h2::after { background: var(--pt-primary-light); }
.pt-section-dark .pt-section-title p { color: rgba(255,255,255,.7); }

/* Card */
.pt-card {
  background: var(--pt-surface);
  border-radius: var(--pt-radius);
  border: 1px solid var(--pt-line);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.pt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow);
}
.pt-card .card-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--pt-surface-2);
}
.pt-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pt-card .card-body {
  padding: 1.25rem;
}
.pt-card .card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: .5rem 0;
  line-height: 1.4;
}
.pt-card .card-body h5 a { color: var(--pt-ink); }
.pt-card .card-body h5 a:hover { color: var(--pt-primary); }
.pt-card .card-cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--pt-primary);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.pt-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: var(--pt-ink-soft);
  margin-top: .5rem;
}
.pt-card .card-meta i { margin-right: 3px; }

/* Button */
.btn-pt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .875rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-pt-primary {
  background: var(--pt-primary);
  color: #fff;
  border-color: var(--pt-primary);
}
.btn-pt-primary:hover {
  background: var(--pt-primary-dark);
  border-color: var(--pt-primary-dark);
  color: #fff;
}
.btn-pt-outline {
  background: transparent;
  color: var(--pt-primary);
  border-color: var(--pt-primary);
}
.btn-pt-outline:hover {
  background: var(--pt-primary);
  color: #fff;
}
.btn-pt-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-pt-white:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* Announce list (pengumuman, agenda) */
.pt-announce-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: .85rem 0;
  border-bottom: 1px solid var(--pt-line);
}
.pt-announce-item:last-child { border-bottom: 0; }
.pt-date-badge {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  background: var(--pt-primary);
  color: #fff;
  border-radius: var(--pt-radius-sm);
  padding: 6px 4px;
  line-height: 1.1;
}
.pt-date-badge .day {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}
.pt-date-badge .month {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .85;
}
.pt-announce-item h6 {
  margin: 0 0 4px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
}
.pt-announce-item h6 a { color: var(--pt-ink); }
.pt-announce-item h6 a:hover { color: var(--pt-primary); }
.pt-announce-item small { color: var(--pt-ink-soft); font-size: .8rem; }

/* Accordion (pengumuman) */
.pt-accordion .accordion-button {
  font-weight: 600;
  font-size: .9rem;
  color: var(--pt-ink);
  background: var(--pt-surface);
  border-radius: var(--pt-radius-sm) !important;
  box-shadow: none;
}
.pt-accordion .accordion-button:not(.collapsed) {
  color: var(--pt-primary);
  background: rgba(15,157,147,.05);
}
.pt-accordion .accordion-button::after {
  filter: hue-rotate(150deg);
}
.pt-accordion .accordion-item {
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-sm) !important;
  margin-bottom: .5rem;
}
.pt-accordion .accordion-body {
  font-size: .875rem;
  color: var(--pt-ink-soft);
}

/* Gallery */
.pt-gallery-item {
  display: block;
  position: relative;
  border-radius: var(--pt-radius-sm);
  overflow: hidden;
  height: 230px;
  background: var(--pt-surface-2);
}
.pt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.pt-gallery-item:hover img { transform: scale(1.05); }
.pt-gallery-item .gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
}
.pt-gallery-item .gallery-cap h6 { font-size: .85rem; margin: 0; font-weight: 600; }
.pt-gallery-item .gallery-cap small { font-size: .75rem; opacity: .8; }
.pt-gallery-item .galeri-video-wrap { position: absolute; inset: 0; }
.pt-gallery-item .galeri-video-wrap iframe { width: 100% !important; height: 100% !important; border: 0; }

/* Org card */
.pt-org-card {
  text-align: center;
  background: var(--pt-surface);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  padding: 1.25rem 1rem;
  transition: transform .25s, box-shadow .25s;
}
.pt-org-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow);
}
.pt-org-card .org-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pt-primary);
  margin-bottom: .75rem;
}
.pt-org-card .org-pos {
  font-size: .75rem;
  font-weight: 600;
  color: var(--pt-primary);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .25rem;
}
.pt-org-card h6 {
  font-size: .9rem;
  font-weight: 700;
  margin: 0 0 .25rem;
  color: var(--pt-ink);
}
.pt-org-card small { color: var(--pt-ink-soft); font-size: .78rem; }

/* Info table */
.pt-info-table th {
  font-weight: 600;
  color: var(--pt-ink);
  font-size: .875rem;
  width: 40%;
  padding: .5rem .75rem;
}
.pt-info-table td {
  color: var(--pt-ink-soft);
  font-size: .875rem;
  padding: .5rem .75rem;
}

/* Map */
.pt-map { border-radius: var(--pt-radius); overflow: hidden; }
.pt-map iframe { width: 100%; height: 100%; border: 0; }

/* Breadcrumbs */
.pt-breadcrumb-section {
  background: linear-gradient(135deg, var(--pt-dark), var(--pt-darker));
  color: #fff;
  padding: 28px 0;
}
.pt-breadcrumb-section h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.pt-breadcrumb-section .breadcrumb {
  font-size: .8rem;
  margin: 0;
}
.pt-breadcrumb-section .breadcrumb-item a { color: rgba(255,255,255,.7); }
.pt-breadcrumb-section .breadcrumb-item a:hover { color: #fff; }
.pt-breadcrumb-section .breadcrumb-item.active { color: var(--pt-primary-light); }
.pt-breadcrumb-section .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255,255,255,.4);
}

/* Article */
.pt-article img { border-radius: var(--pt-radius-sm); }

/* Sidebar */
.pt-sidebar {
  background: var(--pt-surface);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  padding: 1.25rem;
}

/* Footer */
.pt-footer {
  background: var(--pt-darker);
  color: rgba(255,255,255,.85);
  padding: 48px 0 0;
}
.pt-footer h5 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.pt-footer p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.7); }
.pt-footer a { color: rgba(255,255,255,.7); }
.pt-footer a:hover { color: var(--pt-primary-light); }
.pt-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-footer ul li { margin-bottom: .4rem; }
.pt-footer ul li a { font-size: .875rem; }
.pt-footer .footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}
.pt-footer .footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .2s;
}
.pt-footer .footer-socials a:hover {
  background: var(--pt-primary);
  border-color: var(--pt-primary);
  color: #fff;
}
.pt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  margin-top: 2.5rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pt-primary);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(15,157,147,.3);
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--pt-primary-dark); }

/* Wave divider */
.pt-wave {
  line-height: 0;
  overflow: hidden;
}
.pt-wave svg { display: block; width: 100%; height: 40px; }
.pt-wave-white svg path { fill: var(--pt-surface); }
.pt-wave-light svg path { fill: var(--pt-bg); }
.pt-wave-dark svg path { fill: var(--pt-dark); }
.pt-wave-hero { background: linear-gradient(135deg, var(--pt-dark) 0%, var(--pt-darker) 100%); margin-top: -1px; }

/* Lightbox */
.pt-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.pt-lb.active { opacity: 1; visibility: visible; }
.pt-lb img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.4); }
.pt-lb-close { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; z-index: 2; }
.pt-lb-close:hover { color: var(--pt-primary-light); }
.pt-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 1.6rem; cursor: pointer; background: rgba(255,255,255,.12); border: none; border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.pt-lb-nav:hover { background: var(--pt-primary); }
.pt-lb-prev { left: 14px; }
.pt-lb-next { right: 14px; }
.pt-lb-cap { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); text-align: center; font-size: .9rem; max-width: 80vw; }
.pt-lb-count { position: absolute; top: 18px; left: 18px; color: rgba(255,255,255,.6); font-size: .85rem; }

/* Responsive */
@media (max-width: 991px) {
  .pt-hero { padding: 40px 0 30px; }
  .pt-hero h2 { font-size: 1.5rem; }
  .pt-hero-carousel .carousel-item { height: 240px; }
  .pt-section { padding: 40px 0; }
}
@media (max-width: 575px) {
  .pt-hero h2 { font-size: 1.3rem; }
  .pt-hero-carousel .carousel-item { height: 200px; }
  .pt-gallery-item { height: 180px; }
  .pt-section-title h2 { font-size: 1.3rem; }
  .pt-org-card .org-photo { width: 72px; height: 72px; }
}
