:root {
  --pg-bg: #f4f8fc;
  --pg-bg-soft: #f8fbff;
  --pg-surface: rgba(255, 255, 255, 0.90);
  --pg-surface-strong: rgba(255, 255, 255, 0.98);
  --pg-border: rgba(28, 36, 52, 0.10);
  --pg-border-strong: rgba(28, 36, 52, 0.16);
  --pg-text: #1e293b;
  --pg-muted: #475569;
  --pg-primary: #00d4ff;
  --pg-primary-light: #4df0ff;
  --pg-primary-deep: #00a3cc;
  --pg-secondary: #9d4edd;
  --pg-accent: #f97316;
  --pg-accent-light: #fb923c;
  --pg-dark: #0f172a;
  --pg-gradient: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary), var(--pg-accent));
  --pg-link: var(--pg-primary-deep);
  --pg-link-hover: var(--pg-secondary);
  --pg-radius-lg: 1rem;
  --pg-radius-xl: 1.4rem;
  --pg-radius-2xl: 2rem;
  --pg-radius-3xl: 2.6rem;
  --pg-shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.08);
  --pg-shadow-strong: 0 30px 90px rgba(15, 23, 42, 0.12);
  --pg-container: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, #dbeafe 0%, transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 45%, #f7fafc 100%);
  color: var(--pg-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

ul, ol { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
a:hover { color: var(--pg-link-hover); }
button { cursor: pointer; background: transparent; border: none; font: inherit; color: inherit; padding: 0; }
input { font: inherit; }

.pg-container {
  width: 100%;
  max-width: var(--pg-container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.pg-card {
  border: 1px solid var(--pg-border);
  background: var(--pg-surface);
  border-radius: var(--pg-radius-2xl);
  box-shadow: var(--pg-shadow-soft);
}

.pg-card-strong {
  border: 1px solid var(--pg-border);
  background: var(--pg-surface-strong);
  border-radius: var(--pg-radius-3xl);
  box-shadow: var(--pg-shadow-strong);
}

.pg-img-16x9 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--pg-radius-2xl);
  background: #e2e8f0;
}

.pg-img-16x9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 1rem;
  padding: 0.65rem 1rem;
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.pg-btn:hover {
  transform: translateY(-2px);
}

.pg-btn-sm {
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
}

.pg-btn-primary {
  background: var(--pg-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(62, 123, 250, 0.22);
}
.pg-btn-primary:hover { background: var(--pg-primary-deep); }

.pg-btn-dark {
  background: var(--pg-dark);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.15);
}

.pg-btn-soft {
  background: #fff;
  color: var(--pg-text);
  border-color: var(--pg-border);
}
.pg-btn-soft:hover { background: #f8fafc; border-color: var(--pg-primary-light); color: var(--pg-primary-deep); }

.pg-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  border: 1px solid var(--pg-border);
  background: #fff;
  color: var(--pg-text);
  transition: all .2s ease;
}
.pg-btn-icon:hover { transform: translateY(-2px); border-color: var(--pg-primary-light); background: var(--pg-bg-soft); color: var(--pg-primary-deep); }

.pg-btn-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 0.75rem;
  border: none;
  background: #fff;
}

.pg-btn-icon-bg {
  border: none;
  background: #f1f5f9;
}
.pg-btn-icon-bg:hover { background: #e2e8f0; transform: none; }

/* HEADER */
.pg-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px 0 rgba(226, 232, 240, 0.5);
  backdrop-filter: blur(24px);
}
.pg-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: relative;
}
.pg-site-header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pg-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pg-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--pg-dark);
  color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.15);
}
.pg-logo-icon svg, .pg-logo-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.pg-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 1rem;
}
.pg-logo-title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--pg-dark);
  margin: 0;
}
.pg-logo-desc {
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--pg-muted);
  margin: 0;
}
.pg-site-header__center {
  display: none;
}
@media (min-width: 1024px) {
  .pg-site-header__center { 
    display: flex; 
    flex: 1;
    justify-content: center;
    padding: 0 1rem;
    min-width: 0;
  }
}
.pg-main-nav {
  display: flex;
  align-items: center;
}
.pg-main-nav li { display: flex; align-items: center; }
.pg-main-nav li:not(:last-child)::after {
  content: "|";
  margin: 0 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 300;
}
.pg-main-nav a {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pg-muted);
  white-space: nowrap;
  transition: all 0.2s;
}
.pg-main-nav a:hover {
  background-color: #f1f5f9;
  color: var(--pg-dark);
}

.pg-site-header__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pg-search-wrapper { position: relative; display: none; }
@media (min-width: 768px) {
  .pg-search-wrapper { display: block; }
}
.pg-search-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 340px;
  max-width: 80vw;
  background: #fff;
  border-radius: 1.4rem;
  border: 1px solid var(--pg-border);
  padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.pg-search-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pg-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--pg-border);
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
}
.pg-search-form__icon { color: var(--pg-muted); }
.pg-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pg-dark);
}

@media (max-width: 767px) {
  .pg-hide-mobile { display: none !important; }
}

/* SIDEBAR DRAWER */
.pg-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.pg-sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.pg-sidebar-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 65;
  width: 330px;
  max-width: 88vw;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 25px 0 50px -12px rgba(15, 23, 42, 0.25);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.pg-sidebar-drawer.is-open {
  transform: translateX(0);
}
.pg-sidebar-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.pg-sidebar-drawer__title { font-weight: 900; color: var(--pg-dark); }
.pg-sidebar-drawer__subtitle { font-size: 0.75rem; font-weight: 600; color: var(--pg-muted); margin: 0.25rem 0 0 0; }
.pg-sidebar-drawer__nav { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.pg-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pg-sidebar-menu li { margin: 0; }
.pg-sidebar-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: var(--pg-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.2s ease;
}
.pg-sidebar-menu a:hover,
.pg-sidebar-menu li.current-menu-item > a {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--pg-primary);
  transform: translateX(2px);
}
.pg-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pg-text);
  transition: all 0.2s ease;
}
.pg-sidebar-link:hover {
  background: var(--pg-bg-soft);
  border-color: #bfdbfe;
  color: var(--pg-primary-deep);
}
.pg-sidebar-link__inner { display: flex; align-items: center; gap: 0.75rem; }
.pg-sidebar-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 1rem;
  color: var(--pg-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.pg-sidebar-link__arrow { color: #cbd5e1; transition: color 0.2s ease; }
.pg-sidebar-link:hover .pg-sidebar-link__arrow { color: var(--pg-primary); }

.pg-sidebar-cta {
  margin-top: 1.25rem;
  background: var(--pg-dark);
  border-radius: 1.5rem;
  padding: 1rem;
  color: #fff;
}
.pg-sidebar-cta__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: #bfdbfe; margin: 0 0 0.5rem 0; }
.pg-sidebar-cta__title { font-size: 1.125rem; font-weight: 900; margin: 0 0 0.5rem 0; }
.pg-sidebar-cta__desc { font-size: 0.875rem; line-height: 1.5; color: #cbd5e1; margin: 0 0 1rem 0; }
.pg-sidebar-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #fff;
  color: var(--pg-dark);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}
.pg-sidebar-cta__btn:hover { transform: translateY(-2px); }

@keyframes pgSoftReveal {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.992); filter: blur(6px); }
  55% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
.pg-soft-reveal { animation: pgSoftReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) both; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* SERVICES SECTION */
.pg-services-section {
  padding: 2.5rem;
  margin-top: 1.5rem;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-3xl);
  box-shadow: var(--pg-shadow-soft);
}

@media (max-width: 767px) {
  .pg-services-section { padding: 1.5rem; border-radius: var(--pg-radius-2xl); }
}

.pg-services__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .pg-services__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.pg-services__header-left {
  flex-shrink: 0;
}

.pg-services__subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pg-primary);
  margin-bottom: 0.5rem;
}

.pg-services__title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--pg-dark);
  margin: 0;
}

.pg-services__desc {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--pg-muted);
  margin: 0;
  max-width: 600px;
}

.pg-services__actions {
  flex-shrink: 0;
}

.pg-services__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pg-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pg-services__grid { grid-template-columns: repeat(4, 1fr); }
}

.pg-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-2xl);
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
}

.pg-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  border-color: var(--pg-primary-light);
}

.pg-service-card__img-wrap {
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: #e2e8f0;
}

.pg-service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pg-service-card:hover .pg-service-card__img {
  transform: scale(1.05);
}

.pg-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.pg-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--pg-bg-soft);
  color: var(--pg-primary);
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--pg-border);
}

.pg-service-card__icon svg {
  width: 24px;
  height: 24px;
}

.pg-service-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--pg-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.pg-service-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--pg-muted);
  margin: 0 0 1.5rem 0;
  flex: 1; /* Pushes the button to the bottom */
}

.pg-service-card__btn {
  width: 100%;
  justify-content: center;
}

/* FOOTER */
.pg-site-footer {
  position: relative;
  margin-top: 3rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
  box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.05);
}
.pg-site-footer__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1;
}
.pg-site-footer__inner {
  position: relative;
  z-index: 2;
}
.pg-footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pg-footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  }
}
.pg-footer-col--brand {
  text-align: center;
}
@media (min-width: 768px) {
  .pg-footer-col--brand {
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .pg-footer-col--brand {
    text-align: center;
  }
}
.pg-footer-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pg-dark);
}
.pg-footer-desc {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--pg-muted);
  text-align: justify;
  text-align-last: left;
}
@media (min-width: 1024px) {
  .pg-footer-desc {
    text-align-last: center;
  }
}
.pg-footer-heading {
  margin: 0 0 0.75rem 0;
  font-weight: 900;
  color: var(--pg-dark);
}
.pg-footer-nav ul {
  display: grid;
  gap: 0.5rem;
}
.pg-footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pg-muted);
  transition: color 0.2s;
}
.pg-footer-nav a:hover {
  color: var(--pg-primary);
}

/* SUB HEADER */
.pg-sub-header {
  margin-top: 5px;
  position: sticky;
  top: 73px;
  z-index: 40;
  background: #fff;
  border-radius: 9999px;
  border: 1px solid var(--pg-border);
  padding: 0.35rem;
  box-shadow: var(--pg-shadow-soft);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pg-sub-header::-webkit-scrollbar {
  display: none;
}
.pg-sub-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.pg-sub-nav li {
  flex-shrink: 0;
}
.pg-sub-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--pg-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.pg-sub-nav a:hover {
  background: var(--pg-bg-soft);
  color: var(--pg-dark);
}
.pg-sub-nav a.is-active,
.pg-sub-nav li.current-menu-item > a {
  background: var(--pg-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

/* HOMEPAGE LAYOUT */
.pg-home-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.pg-home-col--center { order: -1; }
@media (min-width: 1024px) {
  .pg-home-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 280px;
    align-items: stretch;
  }
  .pg-home-col--center { order: 0; }
}
@media (min-width: 1280px) {
  .pg-home-grid {
    grid-template-columns: 320px minmax(0, 1fr) 320px;
  }
}

/* CARDS SPECIFIC */
.pg-home-side-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}
.pg-side-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pg-side-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.pg-side-header__subtitle {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.pg-side-header__subtitle--green { color: #10b981; }
.pg-side-header__subtitle--blue { color: var(--pg-primary); }
.pg-side-header__title {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
  color: var(--pg-dark);
}
.pg-side-header__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pg-dark);
  background: var(--pg-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  transition: background 0.2s;
}
.pg-side-header__link:hover { background: #e2e8f0; }

/* EVENT LIST */
.pg-event-item {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}
.pg-event-item:hover {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.pg-event-item--highlight {
  background: #ecfdf5;
  border-color: #d1fae5;
}
.pg-event-item--highlight:hover { background: #d1fae5; border-color: #a7f3d0; }
.pg-event-item__title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--pg-dark);
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
}
.pg-event-item__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pg-muted);
}

/* AUTHOR LIST */
.pg-author-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--pg-border);
  border-radius: 1.25rem;
  transition: all 0.2s;
}
.pg-author-item:hover {
  border-color: var(--pg-primary-light);
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transform: translateY(-2px);
}
.pg-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  object-fit: cover;
  background: #e2e8f0;
}
.pg-author-info { flex: 1; min-width: 0; }
.pg-author-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--pg-dark);
  margin: 0 0 0.15rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg-author-role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pg-muted);
  margin: 0 0 0.5rem 0;
}
.pg-author-stats {
  display: flex;
  gap: 0.5rem;
}
.pg-author-stat {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--pg-muted);
  background: var(--pg-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

/* HERO SECTION */
.pg-hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pg-hero-main {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--pg-radius-3xl);
  overflow: hidden;
  background: #1e293b;
  box-shadow: var(--pg-shadow-strong);
}
@media (max-width: 767px) {
  .pg-hero-main { aspect-ratio: 4 / 3; }
}
.pg-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.pg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
}
.pg-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  z-index: 10;
}
@media (max-width: 767px) {
  .pg-hero-content { padding: 1.5rem; }
}
.pg-hero-title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.75rem 0;
  max-width: 95%;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
@media (max-width: 767px) {
  .pg-hero-title { font-size: 1.5rem; }
}
.pg-hero-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem 0;
  max-width: 85%;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .pg-hero-desc { font-size: 0.875rem; max-width: 100%; }
}
.pg-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.pg-hero-btn-primary {
  background: var(--pg-primary);
  color: #fff;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
}
.pg-hero-btn-primary:hover { background: var(--pg-primary-deep); }
.pg-hero-btn-soft {
  background: #fff;
  color: var(--pg-dark);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
}
.pg-hero-btn-soft:hover { background: #f1f5f9; }

.pg-hero-nav-area {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  min-width: 80px;
  z-index: 20;
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}
.pg-hero-nav-area:hover {
  opacity: 1;
}
.pg-hero-nav-area--left {
  left: 0;
  justify-content: flex-start;
  padding-left: 1.5rem;
  background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}
.pg-hero-nav-area--right {
  right: 0;
  justify-content: flex-end;
  padding-right: 1.5rem;
  background: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
}
.pg-hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  transition: transform 0.2s, background 0.2s;
}
.pg-hero-nav-area:hover .pg-hero-arrow {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* HERO HIGHLIGHTS */
.pg-hero-highlights {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) {
  .pg-hero-highlights { grid-template-columns: 1fr; }
}
.pg-highlight-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--pg-border);
  border-radius: 1.25rem;
  padding: 0.75rem;
  transition: all 0.2s;
}
.pg-highlight-card:hover {
  border-color: var(--pg-primary-light);
  box-shadow: var(--pg-shadow-soft);
  transform: translateY(-2px);
}
.pg-highlight-img {
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
}
.pg-highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.pg-highlight-card:hover .pg-highlight-img img { transform: scale(1.05); }
.pg-highlight-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #e2e8f0;
}
.pg-highlight-cat {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pg-primary);
  letter-spacing: 0.05em;
  margin: 0;
}
.pg-highlight-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--pg-dark);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === CAROUSEL SLIDE SYSTEM === */
.pg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.65s;
  transform: translateX(40px);
  z-index: 1;
}
.pg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}
.pg-hero-slide.is-leaving {
  opacity: 0;
  transform: translateX(-40px);
  z-index: 1;
}
.pg-hero-slide.is-active .pg-hero-cat-tag,
.pg-hero-slide.is-active .pg-hero-title,
.pg-hero-slide.is-active .pg-hero-desc,
.pg-hero-slide.is-active .pg-hero-actions {
  animation: pgHeroEntrance 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.pg-hero-slide.is-active .pg-hero-title   { animation-delay: 0.08s; }
.pg-hero-slide.is-active .pg-hero-desc    { animation-delay: 0.16s; }
.pg-hero-slide.is-active .pg-hero-actions { animation-delay: 0.24s; }
@keyframes pgHeroEntrance {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pg-hero-cat-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  transition: background 0.2s;
  width: fit-content;
}
.pg-hero-cat-tag:hover { background: rgba(255,255,255,0.3); }
.pg-hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 25;
}
.pg-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: width 0.35s, background 0.3s;
  padding: 0;
}
.pg-hero-dot.is-active { width: 28px; background: #fff; }
.pg-author-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #fff;
  border-radius: 50%;
  display: block;
}
@keyframes pgHighlightIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pg-highlight-card { animation: pgHighlightIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }
.pg-highlight-card:nth-child(2) { animation-delay: 0.08s; }
.pg-highlight-card:nth-child(3) { animation-delay: 0.16s; }

/* === BLOCK PAGINATION NAV === */
.pg-side-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.25rem;
}
.pg-block-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--pg-border);
  background: #fff;
  color: var(--pg-text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.pg-block-nav-btn:hover {
  background: var(--pg-bg);
  border-color: var(--pg-primary-light);
  color: var(--pg-primary-deep);
  transform: scale(1.08);
}
.pg-block-nav-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.pg-block-nav-count {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--pg-muted);
  min-width: 2.5rem;
  text-align: center;
}
.pg-block-loading {
  font-size: 0.8125rem;
  color: var(--pg-muted);
  padding: 1rem 0;
  text-align: center;
}
/* Block list container transitions (managed inline by JS) */
.pg-block-list {
  will-change: opacity, transform;
}
/* Highlights nav bar */
.pg-highlights-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pg-highlights-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pg-highlights-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pg-muted);
}
.pg-highlights-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* -------------------------------------------------------
   SECTION 2: NEWSROOM
   ------------------------------------------------------- */
.pg-newsroom {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-3xl);
  box-shadow: var(--pg-shadow-soft);
}
.pg-newsroom__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.pg-newsroom__subtitle {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pg-primary);
  margin-bottom: 0.25rem;
}
.pg-newsroom__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pg-dark);
  margin: 0;
}
.pg-newsroom__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pg-newsroom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1023px) {
  .pg-newsroom__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .pg-newsroom__grid { grid-template-columns: 1fr; }
  .pg-newsroom { padding: 1.25rem; border-radius: var(--pg-radius-2xl); }
}

/* NEWSROOM CARD */
.pg-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-xl);
  overflow: hidden;
  transition: all 0.25s ease;
}
.pg-news-card:hover {
  border-color: var(--pg-primary-light);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}
.pg-news-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}
.pg-news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pg-news-card:hover .pg-news-card__img img {
  transform: scale(1.06);
}
.pg-news-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 2rem;
}
.pg-news-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.pg-news-card__cat {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pg-primary);
  background: rgba(62, 123, 250, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  transition: background 0.2s;
}
.pg-news-card__cat:hover {
  background: rgba(62, 123, 250, 0.16);
  color: var(--pg-primary-deep);
}
.pg-news-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pg-dark);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-news-card__excerpt {
  font-size: 0.8125rem;
  color: var(--pg-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.pg-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--pg-border);
  margin-top: auto;
}
.pg-news-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.pg-news-card__author-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
}
.pg-news-card__author-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pg-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.pg-news-card__author:hover .pg-news-card__author-name {
  color: var(--pg-primary);
}
.pg-news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--pg-muted);
  flex-shrink: 0;
}
.pg-news-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.pg-news-card__meta-icon {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}
.pg-news-card__read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pg-primary);
  background: rgba(62, 123, 250, 0.06);
  border: 1px solid rgba(62, 123, 250, 0.12);
  transition: all 0.2s;
  text-align: center;
}
.pg-news-card__read-btn:hover {
  background: var(--pg-primary);
  color: #fff;
  border-color: var(--pg-primary);
}

/* SINGLE POST LAYOUT */
.pg-single {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.pg-single-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.pg-single-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--pg-dark);
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .pg-single-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .pg-single-title { font-size: 2.75rem; }
}

/* Meta row: category left | views center | date right */
.pg-single-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pg-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.pg-single-cat {
  display: inline-flex;
  align-items: center;
  background: rgba(62, 123, 250, 0.08);
  color: var(--pg-primary);
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 800;
  transition: background 0.2s, color 0.2s;
}

a.pg-single-cat:hover {
  background: rgba(62, 123, 250, 0.16);
  color: var(--pg-primary-deep);
}

.pg-single-views {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pg-muted);
}

.pg-single-date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pg-muted);
}

.pg-single-excerpt {
  max-width: 800px;
  margin: 0 0 1rem 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pg-muted);
  font-weight: 500;
}

/* Info row: reading time left | author right */
.pg-single-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pg-single-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pg-muted);
}

.pg-single-read-time svg {
  opacity: 0.55;
  flex-shrink: 0;
}

/* Inline author: circular avatar + name */
.pg-single-author-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid var(--pg-border);
  transition: all 0.2s ease;
}

.pg-single-author-inline:hover {
  background: #fff;
  border-color: var(--pg-primary-light);
  box-shadow: 0 2px 8px rgba(62, 123, 250, 0.1);
}

.pg-single-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.pg-single-author-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pg-dark);
  white-space: nowrap;
  transition: color 0.2s;
}

.pg-single-author-inline:hover .pg-single-author-name {
  color: var(--pg-primary);
}

.pg-single-featured-img {
  margin-bottom: 0;
  border-radius: var(--pg-radius-2xl);
}

@media (min-width: 768px) {
  .pg-single-featured-img {
    border-radius: var(--pg-radius-3xl);
  }
}

/* CONTENT GRID LAYOUT */
.pg-single-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .pg-single-grid {
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 2.5rem;
  }
}

/* Entry Content */
.pg-entry-content {
  background: #fff;
  padding: 2rem;
  border-radius: var(--pg-radius-2xl);
  border: 1px solid var(--pg-border);
  box-shadow: var(--pg-shadow-soft);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #334155;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 639px) {
  .pg-entry-content {
    padding: 1.25rem;
    font-size: 1rem;
    border-radius: var(--pg-radius-xl);
  }
}

.pg-entry-content h2 {
  font-size: 1.625rem;
  font-weight: 900;
  margin: 2.5rem 0 1rem 0;
  color: var(--pg-dark);
  line-height: 1.3;
  scroll-margin-top: 6rem;
}
.pg-entry-content h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 2rem 0 0.75rem 0;
  color: var(--pg-dark);
  line-height: 1.35;
  scroll-margin-top: 6rem;
}
.pg-entry-content h4 {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 1.5rem 0 0.5rem 0;
  color: var(--pg-dark);
}
.pg-entry-content p {
  margin: 0 0 1.5rem 0;
}
.pg-entry-content ul,
.pg-entry-content ol {
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
  list-style: revert;
}
.pg-entry-content li {
  margin-bottom: 0.35rem;
}
.pg-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1rem 0;
}
.pg-entry-content blockquote {
  border-left: 4px solid var(--pg-primary);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(62, 123, 250, 0.04);
  border-radius: 0 var(--pg-radius-lg) var(--pg-radius-lg) 0;
  color: #475569;
  font-style: italic;
}
.pg-entry-content blockquote p:last-child {
  margin-bottom: 0;
}
.pg-entry-content a {
  color: var(--pg-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.pg-entry-content a:hover {
  color: var(--pg-primary-deep);
}
.pg-entry-content pre {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: var(--pg-radius-lg);
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}
.pg-entry-content code {
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 0.375rem;
  font-size: 0.9em;
}
.pg-entry-content pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.pg-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.pg-entry-content th,
.pg-entry-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--pg-border);
  text-align: left;
}
.pg-entry-content th {
  background: #f8fafc;
  font-weight: 800;
  color: var(--pg-dark);
}
.pg-entry-content hr {
  border: none;
  border-top: 1px solid var(--pg-border);
  margin: 2rem 0;
}

/* SIDEBAR STICKY */
.pg-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pg-single-sidebar {
    position: sticky;
    top: 5rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
  }
  /* Hide scrollbar but keep scroll */
  .pg-single-sidebar::-webkit-scrollbar { width: 3px; }
  .pg-single-sidebar::-webkit-scrollbar-track { background: transparent; }
  .pg-single-sidebar::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 9999px; }
}

/* Table of Contents */
.pg-toc-widget {
  background: transparent;
  padding: 0 0 2rem 0;
  border: none;
  box-shadow: none;
  margin-bottom: 2rem;
  border-bottom: 1px dashed var(--pg-border-strong);
}

.pg-toc-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem 0;
  color: var(--pg-muted);
}

.pg-toc-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--pg-border);
}

.pg-toc-item {
  position: relative;
  margin: 0;
}

.pg-toc-item a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pg-text);
  line-height: 1.4;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all 0.2s;
}

.pg-toc-item a:hover {
  color: var(--pg-primary);
  background: var(--pg-bg-soft);
}

.pg-toc-item.is-active a {
  color: var(--pg-primary);
  font-weight: 700;
  border-left-color: var(--pg-primary);
  background: rgba(62, 123, 250, 0.05);
}

.pg-toc-level-3 a {
  padding-left: 2rem;
  font-size: 0.8125rem;
  color: var(--pg-muted);
}

  /* Related Posts Widget */
.pg-related-widget {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--pg-radius-2xl);
  border: 1px solid var(--pg-border);
  box-shadow: var(--pg-shadow-soft);
}

.pg-related-title {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem 0;
  color: var(--pg-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pg-related-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--pg-accent);
  border-radius: 9999px;
  flex-shrink: 0;
}

.pg-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pg-related-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}

.pg-related-card:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.pg-related-thumb {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #f1f5f9;
}

.pg-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pg-related-post-title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--pg-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.pg-related-card:hover .pg-related-post-title {
  color: var(--pg-primary);
}

.pg-related-empty {
  font-size: 0.8125rem;
  color: var(--pg-muted);
  text-align: center;
  padding: 1rem 0;
  margin: 0;
}

/* -------------------------------------------------------
   CAROUSEL SECTION â€” "CÃ³ th? b?n b? l?"
   ------------------------------------------------------- */
.pg-carousel-section {
  margin-top: 4rem;
  position: relative;
}

.pg-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pg-carousel-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pg-dark);
  margin: 0;
}

@media (min-width: 768px) {
  .pg-carousel-title { font-size: 1.75rem; }
}

/* Carousel horizontal scrolling track */
.pg-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.pg-carousel-track::-webkit-scrollbar {
  height: 4px;
}
.pg-carousel-track::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}
.pg-carousel-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.pg-carousel-track::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Carousel card */
.pg-carousel-card {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-xl);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 0.25s ease;
}

@media (min-width: 640px) {
  .pg-carousel-card { flex: 0 0 300px; }
}

@media (min-width: 1024px) {
  .pg-carousel-card { flex: 0 0 320px; }
}

.pg-carousel-card:hover {
  border-color: var(--pg-primary-light);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

.pg-carousel-card__img-wrap {
  display: block;
  overflow: hidden;
  background: #e2e8f0;
}

.pg-carousel-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pg-carousel-card:hover .pg-carousel-card__img {
  transform: scale(1.06);
}

.pg-carousel-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  flex: 1;
}

.pg-carousel-card__cat {
  align-self: flex-start;
  font-size: 0.65rem;
  margin: 0;
}

.pg-carousel-card__title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--pg-dark);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pg-carousel-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.pg-carousel-card__title a:hover {
  color: var(--pg-primary);
}

.pg-carousel-card__excerpt {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--pg-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Carousel nav buttons */
.pg-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pg-carousel-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--pg-border);
  background: #fff;
  color: var(--pg-text);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.pg-carousel-nav__btn:hover:not(:disabled) {
  border-color: var(--pg-primary-light);
  color: var(--pg-primary);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(62, 123, 250, 0.15);
}

.pg-carousel-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* -------------------------------------------------------
   MOBILE RESPONSIVE
   ------------------------------------------------------- */
@media (max-width: 767px) {
  .pg-single { padding-top: 1.25rem; padding-bottom: 2rem; }
  .pg-single-header { margin-bottom: 1.5rem; }
  .pg-single-excerpt { font-size: 1rem; margin-bottom: 1.5rem; }
  .pg-single-featured-img { border-radius: var(--pg-radius-xl); }
  .pg-carousel-section { margin-top: 2.5rem; }
}

/* -------------------------------------------------------
   EVENTS ARCHIVE (CATEGORY-SU-KIEN)
   ------------------------------------------------------- */
.pg-events-archive {
  --pg-primary: #0d9488;
  --pg-primary-light: #ccfbf1;
  --pg-primary-deep: #0f766e;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.pg-events-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Event Tags */
.pg-event-meta-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.pg-event-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.pg-event-tag--status {
  background: var(--pg-primary-light);
  color: var(--pg-primary-deep);
}

.pg-event-tag--format {
  background: #f1f5f9;
  color: var(--pg-muted);
}

/* Featured Event */
.pg-featured-event {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-2xl);
  overflow: hidden;
  box-shadow: var(--pg-shadow-soft);
}

@media (min-width: 1024px) {
  .pg-featured-event {
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
  }
}

.pg-featured-event__image {
  aspect-ratio: 16/9;
  width: 100%;
}

@media (min-width: 1024px) {
  .pg-featured-event__image {
    aspect-ratio: auto;
    height: 100%;
  }
}

.pg-featured-event__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-featured-event__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pg-featured-event__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--pg-dark);
  margin: 1rem 0;
  line-height: 1.3;
}

.pg-featured-event__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.pg-featured-event__title a:hover {
  color: var(--pg-primary);
}

.pg-featured-event__excerpt {
  font-size: 1rem;
  color: var(--pg-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pg-featured-event__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Events Grid */
.pg-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pg-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pg-events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pg-event-card {
  display: flex;
  flex-direction: column;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-xl);
  overflow: hidden;
  box-shadow: var(--pg-shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.pg-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: var(--pg-primary-light);
}

.pg-event-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #e2e8f0;
  overflow: hidden;
}

.pg-event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pg-event-card:hover .pg-event-card__img img {
  transform: scale(1.05);
}

.pg-event-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pg-event-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pg-dark);
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.pg-event-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.pg-event-card__title a:hover {
  color: var(--pg-primary);
}

.pg-event-card__info {
  font-size: 0.875rem;
  color: var(--pg-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.pg-event-card__info p {
  margin: 0 0 0.5rem 0;
}

.pg-event-card__info p:last-child {
  margin-bottom: 0;
}

.pg-event-card__info strong {
  color: var(--pg-text);
}

.pg-event-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.pg-btn-block {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 0.6rem 1rem;
}

.pg-btn-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border: 1px solid #e2e8f0;
}

/* ==========================================================================
   SCROLL REVEAL & LAZY LOAD ANIMATIONS
   ========================================================================== */

/* Tr?nh gi?t layout */
.pg-reveal-pending {
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

@media (prefers-reduced-motion: no-preference) {
  /* Section Reveal Animation */
  .pg-reveal-pending:not(.is-visible) {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    filter: blur(10px);
  }

  .pg-reveal-pending.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
  }

  /* Lazy Load Image Animation */
  img.pg-lazy-pending {
    opacity: 0;
    transform: scale(1.018);
    filter: blur(14px);
  }

  img.pg-lazy-pending.is-loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition: opacity 0.7s ease-out,
                transform 0.7s ease-out,
                filter 0.7s ease-out;
    will-change: transform, opacity, filter;
  }
}


