/**
 * PAC Ansor Jatibarang - Main Stylesheet
 * Responsive, Modern, Clean Organization Editorial Theme
 */

:root {
  --color-primary: #006837;
  --color-primary-dark: #004d28;
  --color-primary-light: #058245;
  --color-primary-subtle: #e8f5ed;
  --color-secondary: #c99700;
  --color-secondary-light: #fdf6e2;
  --color-accent-red: #c8102e;
  --color-accent-red-subtle: #fee2e2;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-bg-page: #f8fafc;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-focus: #006837;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, Cambria, 'Times New Roman', serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Accessibility / Screen Readers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 99999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  line-height: 1.2;
}

.badge-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.badge-subtle {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary-dark);
}

.badge-red {
  background-color: var(--color-accent-red);
  color: #ffffff;
}

.badge-secondary {
  background-color: var(--color-secondary-light);
  color: #92400e;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary-dark);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary-dark);
}

.btn-gold {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: #b38400;
  color: #ffffff;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.site-topbar {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-location,
.topbar-meta,
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-link {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}

/* Logo & Branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.site-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo-wrap a.custom-logo-link,
.site-logo-wrap .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.custom-logo,
.custom-logo-link img,
.site-logo {
  max-height: 54px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Logo Placeholder if no custom logo */
.logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.05em;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.nav-menu>li {
  position: relative;
  list-style: none;
}

.nav-menu>li>a,
.nav-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.3;
}

/* Menu icons */
.nav-menu .menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #10b981;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-menu .menu-text {
  letter-spacing: -0.01em;
}

/* Chevron indicator */
.nav-menu .menu-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-left: 0.1rem;
  color: #94a3b8;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

/* Hover state */
.nav-menu>li>a:hover,
.nav-menu>li:hover>a {
  color: #059669;
  background-color: #f0fdf4;
}

.nav-menu>li:hover>a .menu-chevron {
  transform: rotate(180deg);
  color: #059669;
}

/* Active / Current page item (Matches reference pill style) */
.nav-menu>li.current-menu-item>a,
.nav-menu>li.current-menu-ancestor>a,
.nav-menu>li.current_page_item>a {
  background-color: #ecfdf5;
  color: #059669;
  font-weight: 600;
}

.nav-menu>li.current-menu-item>a .menu-icon,
.nav-menu>li.current-menu-ancestor>a .menu-icon,
.nav-menu>li.current_page_item>a .menu-icon {
  color: #059669;
}

/* ==========================================================================
   DROPDOWN SUBMENU (Profil Dropdown - Card with circular/green icons)
   ========================================================================== */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 215px;
  background-color: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  list-style: none;
  padding: 0.5rem;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  z-index: 1050;
}

/* Invisible bridge so mouse hovering doesn't close dropdown */
.nav-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-menu li:hover>.sub-menu,
.nav-menu li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li {
  list-style: none;
  margin-bottom: 2px;
}

.nav-menu .sub-menu li:last-child {
  margin-bottom: 0;
}

.nav-menu .sub-menu li a,
.nav-menu .sub-menu .sub-link-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.625rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-menu .sub-menu .sub-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #059669;
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu li.current-menu-item>a {
  background-color: #f0fdf4;
  color: #059669;
  font-weight: 600;
  transform: translateX(2px);
}

/* Menghilangkan background, border, dan shadow pada widget iklan (block-2) */
#block-2.widget {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  /* Opsional: agar padding bawaan widget ikut hilang */
}

/* Memastikan gambar iklan di dalamnya tampil bersih tanpa efek tambahan */
#block-2 .wp-block-image {
  margin: 0;
  background: transparent;
}

#block-2 img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  /* Ubah jika ingin sudutnya tetap melengkung */
  box-shadow: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-toggle-btn,
.mobile-toggle-btn,
.nav-login-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-login-btn {
  color: #059669;
}

.search-toggle-btn:hover,
.mobile-toggle-btn:hover {
  background-color: #f0fdf4;
  border-color: #a7f3d0;
  color: #059669;
}

.nav-login-btn:hover {
  background-color: #ecfdf5;
  border-color: #10b981;
  color: #047857;
  transform: translateY(-1px);
}

.mobile-toggle-btn {
  display: none;
}

/* Search Dropdown / Drawer */
.header-search-modal {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.header-search-modal.is-active {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

.search-form-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.search-input-header {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: #ffffff;
  border-bottom: 2px solid var(--color-primary);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-drawer.is-active {
  display: block;
  animation: fadeIn 0.2s ease;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-nav-list .menu-icon {
  width: 18px;
  height: 18px;
  color: #10b981;
}

.mobile-nav-list .menu-chevron {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: #94a3b8;
}

.mobile-nav-list li.current-menu-item>a,
.mobile-nav-list li a:hover {
  background-color: #ecfdf5;
  color: #059669;
}

.mobile-nav-list .sub-menu {
  list-style: none;
  padding-left: 1rem;
  background-color: #f8fafc;
  border-radius: 8px;
  margin: 0.25rem 0 0.5rem 0;
  border-left: 2px solid #10b981;
}

.mobile-nav-list .sub-menu li a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

/* ==========================================================================
   HERO SECTION (Editorial Style)
   ========================================================================== */
.hero-section {
  padding: 2rem 0 1.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

/* Main Featured Story */
.hero-featured-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
  background-color: var(--color-text-main);
}

.hero-featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-featured-main:hover .hero-featured-img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 50, 25, 0.5) 45%, rgba(0, 30, 15, 0.95) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.25rem;
  color: #ffffff;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.hero-date {
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.hero-title a {
  color: #ffffff;
}

.hero-title a:hover {
  color: #fef08a;
}

.hero-excerpt {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Secondary Hero Stories (Sidebar Column) */
.hero-secondary-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-secondary-card {
  display: flex;
  gap: 1rem;
  background-color: var(--color-bg-page);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.hero-secondary-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.hero-secondary-thumb {
  width: 95px;
  height: 95px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: #cbd5e1;
}

.hero-secondary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-secondary-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-secondary-info .badge {
  align-self: flex-start;
  margin-bottom: 0.35rem;
  font-size: 0.675rem;
}

.hero-secondary-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-secondary-title a {
  color: var(--color-text-main);
}

.hero-secondary-title a:hover {
  color: var(--color-primary);
}

.hero-secondary-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title-bar {
  width: 5px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
}

.section-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   LATEST NEWS CARDS (Grid Layout)
   ========================================================================== */
.news-section {
  padding: 3rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.news-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.news-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb {
  transform: scale(1.05);
}

.news-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
}

.news-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-title a {
  color: var(--color-text-main);
}

.news-card-title a:hover {
  color: var(--color-primary);
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
  margin-top: auto;
}

.news-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.news-read-more:hover {
  color: var(--color-primary-dark);
}

/* Fallback image style */
.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  text-align: center;
}

/* ==========================================================================
   ORGANIZATION PROFILE HIGHLIGHT
   ========================================================================== */
/* ==========================================================================
   ORG WELCOME SECTION (Tentang PAC)
   ========================================================================== */
.org-welcome-section {
  padding: 5rem 0;
  background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 40%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.org-welcome-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.org-welcome-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 104, 55, 0.08);
  top: -120px;
  left: -100px;
}

.org-welcome-blob-2 {
  width: 380px;
  height: 380px;
  background: rgba(212, 175, 55, 0.1);
  bottom: -80px;
  right: -80px;
}

.org-welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* --- Left Column --- */
.org-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 104, 55, 0.08);
  color: var(--color-primary);
  border: 1.5px solid rgba(0, 104, 55, 0.2);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.org-welcome-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.org-welcome-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.org-welcome-highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.org-welcome-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-welcome-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(0, 104, 55, 0.3);
}

.btn-welcome-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 55, 0.4);
  color: #ffffff;
}

.btn-welcome-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-body);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  background: #ffffff;
}

.btn-welcome-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 104, 55, 0.04);
  transform: translateY(-2px);
}

/* --- Right Column: Leader Card --- */
.org-welcome-card-wrap {
  position: relative;
}

.org-welcome-leader-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 104, 55, 0.08);
  border: 1px solid rgba(0, 104, 55, 0.08);
  position: relative;
  overflow: hidden;
}

.org-leader-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 60%, var(--color-primary) 100%);
  border-radius: 1.5rem 1.5rem 0 0;
}

.org-leader-quote-wrap {
  margin-bottom: 1.75rem;
}

.org-leader-quote-icon {
  color: var(--color-secondary);
  opacity: 0.5;
  margin-bottom: 0.75rem;
  display: block;
}

.org-leader-quote-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-body);
  font-style: italic;
  margin: 0;
}

.org-leader-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.org-leader-photo-wrap {
  flex-shrink: 0;
}

.org-leader-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 104, 55, 0.25);
  display: block;
}

.org-leader-photo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-subtle) 0%, rgba(0, 104, 55, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 2px solid rgba(0, 104, 55, 0.2);
}

.org-leader-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.org-leader-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: block;
}

.org-leader-title {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
  line-height: 1.4;
}

.org-leader-edit-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #f8fafc;
  transition: color var(--transition-fast);
}

.org-leader-edit-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Decorative dot grid */
.org-welcome-dots {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 10px;
  z-index: 0;
}

.org-welcome-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.18;
  display: block;
}



/* ==========================================================================
   PROGRAMS & ACTIVITIES (Pilar Kegiatan)
   ========================================================================== */
.programs-section {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.program-card:hover {
  background-color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.program-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.program-icon-wrap img.program-custom-img {
  max-width: 36px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.program-card:hover .program-icon-wrap {
  transform: scale(1.1);
  background: var(--color-primary);
  color: #ffffff;
}

.program-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.program-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   ACTIVITY GALLERY
   ========================================================================== */
.gallery-section {
  padding: 3.5rem 0;
  background-color: var(--color-bg-page);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #1e293b;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-caption {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ==========================================================================
   CALL TO ACTION (AJAKAN BERGABUNG)
   ========================================================================== */
.cta-section {
  padding: 3.5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #064e3b 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: #ffffff;
  position: relative;
  border: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-text {
  max-width: 650px;
}

.cta-text h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: #e2e8f0;
  font-size: 1rem;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0b1510;
  color: #94a3b8;
  margin-top: auto;
  border-top: 4px solid var(--color-primary);
}

.footer-main {
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-widget h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li a {
  color: #94a3b8;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  background-color: #050b07;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   SINGLE POST, PAGE & ARCHIVE LAYOUTS
   ========================================================================== */
.main-content-area {
  padding: 2.5rem 0 4rem;
}

.page-layout-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2.5rem;
}

.full-width-layout {
  display: block;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs-bar a {
  color: var(--color-text-muted);
}

.breadcrumbs-bar a:hover {
  color: var(--color-primary);
}

/* Page / Archive Header */
.archive-header {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--color-primary);
}

.archive-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.archive-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Single Article Styling */
.article-single {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 1.75rem;
}

.article-header .badge {
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.article-featured-image {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-subtle, #f3f4f6);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek interaktif opsional saat kursor diarahkan ke area gambar */
.article-featured-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

.article-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Editorial Body Typography */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1e293b;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2 {
  font-size: 1.6rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.entry-content h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-primary-subtle);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin: 1.75rem 0;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

/* WordPress Gutenberg Gallery Block Styling */
.entry-content .wp-block-gallery,
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.entry-content .wp-block-gallery figure.wp-block-image,
.wp-block-gallery .wp-block-image {
  margin: 0 !important;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #0f172a;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.entry-content .wp-block-gallery figure.wp-block-image:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.entry-content .wp-block-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0;
  display: block;
  border-radius: 0;
  transition: transform 0.35s ease;
}

.entry-content .wp-block-gallery figure.wp-block-image:hover img {
  transform: scale(1.04);
}

.entry-content .wp-block-gallery figcaption,
.wp-block-gallery figcaption.wp-element-caption {
  font-size: 0.8rem;
  color: #ffffff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem 0.4rem;
  text-align: center;
}

/* Post Tags & Share */
.article-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.post-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-label {
  font-weight: 700;
  font-size: 0.85rem;
}

.tag-link {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.tag-link:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Post Navigation (Next / Prev) */
.post-navigation {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.nav-link-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.nav-link-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.nav-link-card .nav-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.nav-link-card .nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

/* ==========================================================================
   MODERN SOCIAL MEDIA THREADED COMMENTS (Facebook & Instagram Style)
   ========================================================================== */
.comments-area.pac-social-comments-wrap,
.comments-area {
  margin-top: 3.5rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.comments-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.comments-title {
  display: flex;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.comments-subtitle {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Comment List (Threaded) */
.pac-social-comment-list,
.comment-list {
  list-style: none !important;
  margin: 0 0 2.5rem 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pac-comment-item {
  position: relative;
  list-style: none !important;
}

/* Main Comment Row: Avatar on left, Bubble + Actions on right */
.pac-comment-body {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  position: relative;
}

/* Avatar Circle */
.pac-comment-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 2;
}

.pac-comment-avatar img,
.pac-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: block;
}

.pac-avatar-initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #004d28 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 104, 55, 0.2);
  text-transform: uppercase;
}

/* Chat Bubble Container */
.pac-comment-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Facebook / Instagram Chat Bubble */
.pac-comment-bubble {
  width: 100%;
  background-color: #f1f5f9;
  border-radius: 18px;
  padding: 0.75rem 1.15rem;
  max-width: 100%;
  display: inline-block;
  word-wrap: break-word;
  position: relative;
  transition: background-color 0.2s ease;
}

.pac-comment-bubble:hover {
  background-color: #e2e8f0;
}

/* Author Row inside Bubble */
.pac-comment-author-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.pac-comment-author,
.pac-comment-author a,
.pac-comment-author-name a {
  font-weight: 700;
  font-size: 0.925rem;
  color: #0f172a;
  text-decoration: none;
}

.pac-comment-author a:hover,
.pac-comment-author-name a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.pac-badge-author {
  background-color: #e8f5ed;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Comment Content */
.pac-comment-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1e293b;
}

.pac-comment-text p {
  margin: 0;
}

.pac-comment-text p+p {
  margin-top: 0.5rem;
}

.pac-comment-awaiting {
  display: block;
  font-size: 0.8rem;
  color: #d97706;
  margin-bottom: 0.4rem;
}

/* Comment Actions (Timestamp & Reply Button below Bubble) */
.pac-comment-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding-left: 0.75rem;
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

.pac-comment-meta-time {
  color: #64748b;
  font-weight: 500;
}

.pac-reply-sep {
  color: #cbd5e1;
}

.pac-comment-actions .comment-reply-link {
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.pac-comment-actions .comment-reply-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   NESTED REPLIES (Threaded Children with Connecting Guide Line)
   ========================================================================== */
.pac-comment-item .children,
.comment-list .children {
  list-style: none !important;
  margin: 1.25rem 0 0 24px !important;
  padding: 0 0 0 24px !important;
  position: relative;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Nested reply avatars slightly smaller */
.pac-comment-item .children .pac-comment-avatar,
.pac-comment-item .children .pac-avatar-img,
.pac-comment-item .children .pac-avatar-initial {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}

/* Connecting curved branch from left line */
.pac-comment-item .children>.pac-comment-item::before {
  content: '';
  position: absolute;
  top: 17px;
  left: -26px;
  width: 22px;
  height: 2px;
  background-color: #e2e8f0;
  border-radius: 2px;
}

/* Deeper replies responsive */
@media (max-width: 640px) {


  .comments-area.pac-social-comments-wrap,
  .comments-area {
    padding: 1.5rem 1.25rem;
  }

  .pac-comment-item .children,
  .comment-list .children {
    margin-left: 10px !important;
    padding-left: 14px !important;
  }

  .pac-comment-item .children>.pac-comment-item::before {
    left: -16px;
    width: 14px;
  }
}

/* ==========================================================================
   MODERN COMMENT FORM (Social Media Box Style)
   ========================================================================== */
.comment-respond {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

.comment-reply-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.comment-reply-heading {
  display: flex;
}

.comment-reply-title small a {
  font-size: 0.825rem;
  font-weight: 600;
  color: #dc2626;
  background-color: #fee2e2;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.comment-reply-title small a:hover {
  background-color: #fecaca;
  color: #b91c1c;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-form-comment {
  margin-bottom: 0;
}

.pac-social-textarea,
.comment-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  background-color: #f8fafc;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.pac-social-textarea:focus,
.comment-form textarea:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.12);
}

/* Guest author, email, url in responsive grid */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.12);
}

.form-submit {
  margin-top: 0.5rem;
}

.pac-submit-comment-btn,
.form-submit input[type="submit"] {
  background: linear-gradient(135deg, var(--color-primary) 0%, #004d28 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 104, 55, 0.25);
  transition: all 0.2s ease;
}

.pac-submit-comment-btn:hover,
.form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 104, 55, 0.35);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.pac-submit-comment-btn:active,
.form-submit input[type="submit"]:active {
  transform: scale(0.97);
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.widget ul {
  list-style: none;
}

.widget ul li {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--color-border);
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.925rem;
}

.widget ul li a:hover {
  color: var(--color-primary);
}

/* Sidebar Organization Info Box */
.sidebar-org-box {
  background: linear-gradient(135deg, var(--color-primary-subtle) 0%, #ffffff 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.sidebar-org-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
}

/* Pagination */
.pagination-area {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.page-numbers {
  display: flex;
  gap: 0.35rem;
  list-style: none;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.9rem;
}

.page-numbers .current {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.page-numbers a:hover {
  background-color: var(--color-primary-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* 404 Error Screen */
.error-404-wrap {
  text-align: center;
  padding: 5rem 1rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-welcome-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .org-welcome-title {
    font-size: 2rem;
  }

  .org-welcome-card-wrap {
    max-width: 540px;
    margin: 0 auto;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-featured-image img {
    max-height: 210px;
  }

  .site-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: inline-flex;
  }

  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    text-align: center;
    justify-content: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .article-single {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   DRIBBLE-INSPIRED "MEMORIES" GALLERY STYLES
   ========================================================================== */
.gallery-dribbble-container {
  padding: 1.5rem 0 4rem;
}

.gallery-memories-header {
  margin-bottom: 2rem;
}

.gallery-memories-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1e293b;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.gallery-memories-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Tab Pills */
.gallery-nav-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.gallery-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.gallery-pill:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.gallery-pill.is-active {
  background-color: #facc15;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gallery-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.gallery-btn-add:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Search Bar */
.gallery-search-wrap {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.gallery-search-form {
  display: flex;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gallery-search-input {
  flex: 1;
  border: none;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: #1e293b;
  outline: none;
}

.gallery-search-submit {
  background-color: #facc15;
  color: #1e293b;
  border: none;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0 2rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.gallery-search-submit:hover {
  background-color: #eab308;
}

/* Category Sections / Rows */
.gallery-row-section {
  margin-bottom: 3.5rem;
}

.gallery-row-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-row-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

/* Color indicator pills like in Dribbble */
.gallery-color-bars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.color-bar-pill {
  width: 32px;
  height: 6px;
  border-radius: 9999px;
  display: inline-block;
}

.color-bar-pill.purple {
  background-color: #8b5cf6;
}

.color-bar-pill.yellow {
  background-color: #facc15;
}

.color-bar-pill.dark {
  background-color: #475569;
}

.color-bar-pill.light {
  background-color: #e2e8f0;
}

.color-bar-pill.green {
  background-color: #16a34a;
}

/* Grid of 4 rounded cards */
.gallery-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-dribbble-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  display: block;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-dribbble-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.gallery-dribbble-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-dribbble-card:hover img {
  transform: scale(1.06);
}

.gallery-dribbble-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
}

.gallery-dribbble-overlay h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-dribbble-overlay time {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* More Button Row Footer */
.gallery-row-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.btn-more-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #facc15;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-more-yellow:hover {
  background-color: #eab308;
  color: #0f172a;
  transform: translateX(2px);
}

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

@media (max-width: 640px) {
  .gallery-row-grid {
    grid-template-columns: 1fr;
  }

  .gallery-memories-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   PAC LIGHTBOX MODAL (POPUP)
   ========================================================================== */
.pac-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pac-lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.pac-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 15, 10, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pac-lightbox-wrapper {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1080px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: modalScaleUp 0.25s ease-out;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

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

.pac-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #090f1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pac-lightbox-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pac-lightbox-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.pac-lightbox-counter {
  font-size: 0.8rem;
  color: #facc15;
  background: rgba(250, 204, 21, 0.15);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-weight: 600;
}

.pac-lightbox-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.pac-lightbox-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.pac-lightbox-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  min-height: 380px;
  max-height: 65vh;
  overflow: hidden;
}

.pac-lightbox-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pac-lightbox-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.pac-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.pac-lightbox-nav:hover {
  background: #006837;
  border-color: #006837;
  transform: translateY(-50%) scale(1.1);
}

.pac-lightbox-nav.prev {
  left: 1.25rem;
}

.pac-lightbox-nav.next {
  right: 1.25rem;
}

.pac-lightbox-footer {
  padding: 0.85rem 1.5rem;
  background: #090f1d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.pac-lightbox-caption {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   SINGLE GALLERY - PHOTO GRID
   ========================================================================== */
.single-gallery-grid-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}

.single-gallery-grid-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
}

.single-gallery-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.single-gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 768px) {
  .single-gallery-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .single-gallery-photo-grid {
    grid-template-columns: 1fr;
  }
}

.single-gallery-photo-btn {
  position: relative;
  aspect-ratio: 4 / 3;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  display: block;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-gallery-photo-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.single-gallery-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.single-gallery-photo-btn:hover img {
  transform: scale(1.07);
}

.single-photo-index {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  line-height: 1.6;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.single-gallery-photo-btn::after {
  content: '\29BE';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.0);
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease, color 0.3s ease;
}

.single-gallery-photo-btn:hover::after {
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.single-gallery-empty {
  padding: 3rem 1rem;
  text-align: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-style: italic;
}

/* Photo count badge on archive cards */
.gallery-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(250, 204, 21, 0.92);
  color: #1e293b;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
}

/* ==========================================================================
   STICKY FLOATING SHARE BAR & SINGLE ARTICLE 3-COLUMN GRID
   ========================================================================== */
.single-article-grid {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.sticky-share-column {
  position: relative;
  height: 100%;
}

.sticky-share-column .sticky.top-32 {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: 20;
}

.sticky-share-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
  padding: 0.75rem 0.35rem;
  border-radius: 9999px;
}

.share-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  color: #475569;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  position: relative;
}

.share-action-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.2s ease;
}

.share-action-btn:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.share-action-btn:hover svg {
  transform: scale(1.12);
}

.share-action-btn:active {
  transform: scale(0.92);
}

.share-action-btn:focus-visible {
  box-shadow: 0 0 0 2px #0d9488;
}

/* Individual Brand Accent Colors on Hover */
.share-action-btn.share-top:hover {
  color: var(--color-primary);
  background-color: #e8f5ed;
}

.share-action-btn.share-fb:hover {
  color: #1877f2;
  background-color: #eff6ff;
}

.share-action-btn.share-tw:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.share-action-btn.share-wa:hover {
  color: #16a34a;
  background-color: #f0fdf4;
}

.share-action-btn.share-li:hover {
  color: #0a66c2;
  background-color: #eff6ff;
}

.share-action-btn.share-comment:hover {
  color: #0d9488;
  background-color: #f0fdfa;
}

/* Mobile & Tablet floating bottom pill */
@media (max-width: 1023px) {
  .single-article-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .sticky-share-column {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    height: auto;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 12px -2px rgba(15, 23, 42, 0.26);
  }

  .sticky-share-column .sticky.top-32 {
    position: static;
  }

  .sticky-share-nav {
    flex-direction: row;
    gap: 0.6rem;
    padding: 0.45rem 0.85rem;
  }

  .share-action-btn {
    width: 36px;
    height: 36px;
  }

  .share-action-btn svg {
    width: 20px;
    height: 20px;
  }


}

/* ==========================================================================
   PROFESSIONAL WIDGET REDESIGN (Recent Posts & Recent Comments)
   ========================================================================== */

/* Universal Widget Box Enhancements */
.site-sidebar .widget {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-sidebar .widget:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
}

.site-sidebar .widget h2,
.site-sidebar .widget h3,
.site-sidebar .widget .widget-title,
.site-sidebar .wp-block-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  position: relative;
  letter-spacing: -0.01em;
  border-bottom: 2px solid #f1f5f9;
}

.site-sidebar .widget h2::after,
.site-sidebar .widget h3::after,
.site-sidebar .widget .widget-title::after,
.site-sidebar .wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 44px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 2px;
}

/* 1. Professional Recent Posts Widget Redesign */
.wp-block-latest-posts__list,
.widget_recent_entries ul,
.pac-recent-posts-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
}

.wp-block-latest-posts__list li,
.widget_recent_entries ul li {
  position: relative;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background-color: #fafbfd;
  border: 1px solid #f1f5f9;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pac-recent-post-item {
  position: relative;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background-color: #fafbfd;
  border: 1px solid #f1f5f9;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.85rem !important;
}

.pac-recent-post-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;

}

.pac-recent-post-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.pac-recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.pac-recent-post-item:hover .pac-recent-post-thumb img {
  transform: scale(1.08);
}

.pac-recent-post-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wp-block-latest-posts__list li:hover,
.widget_recent_entries ul li:hover,
.pac-recent-post-item:hover {
  background-color: #ffffff;
  border-color: #bbf7d0;
  box-shadow: 0 4px 12px rgba(0, 104, 55, 0.08);
  transform: translateX(4px);
}

.wp-block-latest-posts__post-title,
.widget_recent_entries ul li a,
.pac-recent-post-title a {
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1e293b;
  text-decoration: none;
  display: block;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Batasi maksimal 2 baris (bisa diubah ke 1 jika ingin 1 baris) */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.wp-block-latest-posts__post-title:hover,
.widget_recent_entries ul li a:hover,
.pac-recent-post-title a:hover {
  color: var(--color-primary);
}

.wp-block-latest-posts__post-date,
.widget_recent_entries ul li .post-date,
.pac-recent-post-meta {
  font-size: 0.78rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wp-block-latest-posts__post-date::before,
.widget_recent_entries ul li .post-date::before,
.pac-recent-post-meta::before {
  content: '📅';
  font-size: 0.72rem;
  opacity: 0.75;
}

/* 2. Professional Recent Comments Widget Redesign */
.wp-block-latest-comments,
.widget_recent_comments ul,
.pac-recent-comments-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.wp-block-latest-comments__comment,
.widget_recent_comments ul li {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: all 0.25s ease;
}

.pac-recent-comment-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wp-block-latest-comments__comment:hover,
.widget_recent_comments ul li:hover,
.pac-recent-comment-card:hover {
  background: #ffffff;
  border-color: #86efac;
  box-shadow: 0 4px 14px -2px rgba(0, 104, 55, 0.1);
  transform: translateY(-2px);
}

.pac-comment-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pac-comment-avatar-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 104, 55, 0.2);
}

.pac-comment-header-info {
  font-size: 0.825rem;
  line-height: 1.4;
  color: #475569;
}

.pac-comment-author-name {
  font-weight: 700;
  color: #0f172a;
}

.pac-comment-on-text {
  color: #94a3b8;
  margin: 0 0.15rem;
}

.pac-comment-post-title {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.pac-comment-post-title:hover {
  text-decoration: underline;
}

.pac-comment-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font-size: 0.825rem;
  color: #334155;
  font-style: italic;
  line-height: 1.5;
}

.pac-comment-time {
  font-size: 0.725rem;
  color: #94a3b8;
  align-self: flex-end;
}

/* ==========================================================================
   REPOSITORI DOKUMEN / UNDUHAN (PAGE /unduh)
   ========================================================================== */
.repo-page-wrapper {
  padding: 2.25rem 0 4.5rem;
  background-color: #f8fafc;
  min-height: 80vh;
}

/* Breadcrumb */
.repo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.repo-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.repo-breadcrumb a:hover {
  color: #059669;
}

.repo-breadcrumb .breadcrumb-separator {
  color: #cbd5e1;
}

.repo-breadcrumb .breadcrumb-current {
  color: #334155;
  font-weight: 600;
}

/* Hero Header */
.repo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.repo-header-info {
  flex: 1;
  min-width: 280px;
}

.repo-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.repo-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 650px;
  line-height: 1.5;
  margin: 0;
}

/* Search Input */
.repo-header-search {
  min-width: 280px;
  max-width: 380px;
  width: 100%;
}

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

#repo-search-input {
  width: 100%;
  padding: 0.75rem 2.85rem 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.925rem;
  color: #0f172a;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

#repo-search-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.repo-search-form button {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s ease;
}

.repo-search-form button:hover {
  color: #059669;
}

/* Filter & Sort Bar */
.repo-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.repo-filter-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.repo-filter-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-right: 0.25rem;
}

.repo-select-wrap {
  position: relative;
  display: inline-flex;
}

.repo-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 13px;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  min-width: 170px;
}

.repo-select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.btn-repo-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #059669;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.35rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-repo-apply:hover {
  background-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px -1px rgba(5, 150, 105, 0.25);
}

.btn-repo-reset {
  font-size: 0.8125rem;
  color: #ef4444;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  background: #fee2e2;
  transition: all 0.15s ease;
}

.btn-repo-reset:hover {
  background: #fecaca;
}

.repo-filter-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.repo-sort-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

/* Document Table Card */
.repo-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.repo-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.repo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.repo-table thead tr {
  background-color: #fafbfc;
  border-bottom: 1px solid #e2e8f0;
}

.repo-table th {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.repo-table td {
  padding: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.repo-row {
  transition: background-color 0.15s ease;
}

.repo-row:hover {
  background-color: #f8fafc;
}

/* Column Specific Styles */
.col-no {
  width: 48px;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.doc-info-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doc-file-badge {
  flex-shrink: 0;
  width: 32px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-icon-svg {
  width: 30px;
  height: 34px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

.doc-text {
  flex: 1;
}

.doc-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  line-height: 1.35;
}

.doc-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.doc-size-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.repo-cat-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.doc-action-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 120px;
}

.btn-repo-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #059669;
  color: #ffffff;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.2);
}

.btn-repo-download:hover {
  background: #047857;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(5, 150, 105, 0.25);
}

.btn-repo-download:active {
  transform: translateY(0);
}

/* Total Yang Unduh Badge */
.doc-download-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.725rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.col-update {
  white-space: nowrap;
  font-size: 0.8125rem;
}

.repo-date {
  display: block;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
}

.repo-time {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

/* Empty State */
.repo-empty-row {
  padding: 4rem 1.5rem !important;
  text-align: center;
}

.repo-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.repo-empty-state h3 {
  font-size: 1.15rem;
  color: #1e293b;
  margin: 1rem 0 0.25rem 0;
}

.repo-empty-state p {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

/* Table Footer & Pagination */
.repo-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  flex-wrap: wrap;
  gap: 1rem;
}

.repo-table-info {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.repo-table-info strong {
  color: #0f172a;
  font-weight: 700;
}

.repo-pagination {
  display: flex;
  align-items: center;
}

.repo-pagination ul.page-numbers {
  display: flex;
  list-style: none;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.repo-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #475569;
  background: #ffffff;
  transition: all 0.2s ease;
}

.repo-pagination .page-numbers:hover:not(.disabled):not(.current) {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.repo-pagination .page-numbers.current {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.repo-pagination .page-numbers.disabled {
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .repo-table-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
  .repo-header {
    flex-direction: column;
    gap: 1rem;
  }

  .repo-header-search {
    max-width: 100%;
  }

  .repo-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .repo-filter-left {
    flex-direction: column;
    align-items: stretch;
  }

  .repo-select {
    width: 100%;
  }

  .btn-repo-apply {
    width: 100%;
  }

  .repo-filter-right {
    justify-content: space-between;
  }
}