/**
 * PawGuideHub - Core Modern CSS System
 * High Performance | Zero Frameworks | Mobile First | Core Web Vitals 90+ Target
 */

/* ==========================================================================
   1. CSS Custom Properties (Theme Variables)
   ========================================================================== */
:root {
  /* Brand Colors - Warm, Friendly & Trustworthy */
  --pgh-primary: #E65100;         /* Warm amber / terracotta */
  --pgh-primary-hover: #BF360C;   /* Deep terracotta hover */
  --pgh-primary-soft: #FFF3E0;    /* Soft amber tint */
  --pgh-primary-border: #FFE0B2;  /* Light amber border */

  --pgh-secondary: #2E7D32;       /* Sage / forest green for health & nutrition */
  --pgh-secondary-hover: #1B5E20;
  --pgh-secondary-soft: #E8F5E9;
  --pgh-secondary-border: #C8E6C9;

  --pgh-accent: #F57C00;          /* Vibrant warm orange */
  --pgh-accent-yellow: #FFA000;   /* Sunshine yellow */

  /* Neutral Surface & Background Colors */
  --pgh-bg: #FBF9F5;              /* Warm off-white page background */
  --pgh-surface: #FFFFFF;         /* Crisp card / container background */
  --pgh-surface-alt: #F7F5F0;     /* Alternate light background */
  --pgh-surface-dark: #1E293B;     /* Dark footer surface */

  /* Text & Contrast Colors (WCAG AA Compliant) */
  --pgh-text-main: #1F2937;       /* High-contrast charcoal */
  --pgh-text-muted: #64748B;      /* Secondary reading text */
  --pgh-text-light: #94A3B8;      /* Meta & caption text */
  --pgh-text-inverse: #FFFFFF;    /* White text for dark surfaces */

  /* Borders & Dividers */
  --pgh-border: #E5E7EB;
  --pgh-border-light: #F1F5F9;

  /* Typography Stacks (0ms blocking, zero layout shift) */
  --pgh-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pgh-font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation & Shadows */
  --pgh-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --pgh-shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --pgh-shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --pgh-shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --pgh-shadow-hover: 0 16px 32px -4px rgba(230, 81, 0, 0.12), 0 6px 12px -2px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --pgh-radius-sm: 6px;
  --pgh-radius-md: 12px;
  --pgh-radius-lg: 20px;
  --pgh-radius-xl: 28px;
  --pgh-radius-full: 9999px;

  /* Layout Widths */
  --pgh-container-max: 1200px;
  --pgh-article-max: 820px;
  --pgh-header-height: 72px;

  /* Smooth Transitions */
  --pgh-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --pgh-transition-fast: all 0.15s ease-in-out;
}

/* ==========================================================================
   2. Modern Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--pgh-font-sans);
  background-color: var(--pgh-bg);
  color: var(--pgh-text-main);
  line-height: 1.68;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

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

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pgh-primary);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pgh-font-heading);
  color: var(--pgh-text-main);
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1.2em;
}

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

li {
  margin-bottom: 0.35em;
}

/* ==========================================================================
   3. Common Layout & Container Classes
   ========================================================================== */
.pgh-container {
  width: 100%;
  max-width: var(--pgh-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.pgh-article-container {
  max-width: var(--pgh-article-max);
}

.pgh-site-main {
  flex: 1 0 auto;
  padding-bottom: 4rem;
}

.pgh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--pgh-radius-full);
  font-size: 0.785rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.pgh-badge-primary {
  background-color: var(--pgh-primary-soft);
  color: var(--pgh-primary);
}

.pgh-badge-secondary {
  background-color: var(--pgh-secondary-soft);
  color: var(--pgh-secondary);
}

.pgh-badge-pill {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--pgh-primary);
  box-shadow: var(--pgh-shadow-xs);
}

/* Buttons */
.pgh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 650;
  border-radius: var(--pgh-radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--pgh-transition);
  line-height: 1.2;
  min-height: 46px;
}

.pgh-btn-primary {
  background-color: var(--pgh-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.25);
}

.pgh-btn-primary:hover {
  background-color: var(--pgh-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.35);
}

.pgh-btn-secondary {
  background-color: var(--pgh-secondary);
  color: #ffffff !important;
}

.pgh-btn-secondary:hover {
  background-color: var(--pgh-secondary-hover);
  transform: translateY(-1px);
}

.pgh-btn-outline {
  background-color: transparent;
  border-color: var(--pgh-border);
  color: var(--pgh-text-main) !important;
}

.pgh-btn-outline:hover {
  border-color: var(--pgh-primary);
  color: var(--pgh-primary) !important;
  background-color: var(--pgh-primary-soft);
}

.pgh-btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.825rem;
  min-height: 36px;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.pgh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
  transition: var(--pgh-transition-fast);
}

.pgh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--pgh-header-height);
}

.pgh-site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pgh-site-branding a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.pgh-logo-img {
  height: 42px;
  width: auto;
}

.pgh-nav-desktop {
  display: none;
}

@media (min-width: 860px) {
  .pgh-nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.pgh-nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pgh-nav-desktop li {
  margin: 0;
  position: relative;
}

.pgh-nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pgh-text-main);
  padding: 0.5rem 0.2rem;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.pgh-nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--pgh-primary);
  transition: var(--pgh-transition-fast);
  border-radius: 2px;
}

.pgh-nav-desktop a:hover::after,
.pgh-nav-desktop .current-menu-item > a::after {
  width: 100%;
}

.pgh-nav-desktop a:hover,
.pgh-nav-desktop .current-menu-item > a {
  color: var(--pgh-primary);
}

/* Header Actions (Search & Mobile Toggle) */
.pgh-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pgh-icon-btn {
  background: none;
  border: 1px solid var(--pgh-border);
  border-radius: var(--pgh-radius-full);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pgh-text-main);
  transition: var(--pgh-transition-fast);
}

.pgh-icon-btn:hover {
  border-color: var(--pgh-primary);
  color: var(--pgh-primary);
  background-color: var(--pgh-primary-soft);
}

.pgh-menu-toggle {
  display: inline-flex;
}

@media (min-width: 860px) {
  .pgh-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.pgh-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--pgh-surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.pgh-mobile-drawer.is-active {
  right: 0;
}

.pgh-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pgh-drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.pgh-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pgh-border);
}

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

.pgh-mobile-nav a {
  display: block;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--pgh-text-main);
  padding: 0.65rem 0.75rem;
  border-radius: var(--pgh-radius-sm);
}

.pgh-mobile-nav a:hover,
.pgh-mobile-nav .current-menu-item a {
  background-color: var(--pgh-primary-soft);
  color: var(--pgh-primary);
}

/* ==========================================================================
   5. Search Modal / Overlay
   ========================================================================== */
.pgh-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.25rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pgh-search-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.pgh-search-box {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-lg);
  width: 100%;
  max-width: 620px;
  padding: 1.75rem;
  box-shadow: var(--pgh-shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}

.pgh-search-modal.is-active .pgh-search-box {
  transform: translateY(0);
}

.pgh-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--pgh-surface-alt);
  border: 2px solid var(--pgh-border);
  border-radius: var(--pgh-radius-full);
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  transition: border-color 0.2s;
}

.pgh-search-form:focus-within {
  border-color: var(--pgh-primary);
  background: #ffffff;
}

.pgh-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--pgh-text-main);
  outline: none;
  padding: 0.5rem 0;
}

.pgh-search-quick-tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.pgh-search-quick-tags span {
  font-size: 0.85rem;
  color: var(--pgh-text-muted);
  font-weight: 600;
}

.pgh-search-quick-tags a {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  background: var(--pgh-surface-alt);
  border-radius: var(--pgh-radius-full);
  color: var(--pgh-text-muted);
}

.pgh-search-quick-tags a:hover {
  background: var(--pgh-primary-soft);
  color: var(--pgh-primary);
}

/* ==========================================================================
   6. Homepage Hero Section
   ========================================================================== */
.pgh-hero {
  position: relative;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF3E0 50%, #FAF8F5 100%);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--pgh-border-light);
  margin-bottom: 3.5rem;
}

.pgh-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .pgh-hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.pgh-hero-content {
  max-width: 620px;
}

.pgh-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--pgh-primary-border);
  padding: 0.4rem 1rem;
  border-radius: var(--pgh-radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pgh-primary);
  margin-bottom: 1.25rem;
  box-shadow: var(--pgh-shadow-xs);
}

.pgh-hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 850;
  color: #1A202C;
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.pgh-hero-title span {
  color: var(--pgh-primary);
}

.pgh-hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--pgh-text-muted);
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

.pgh-hero-search {
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.pgh-hero-quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.pgh-hero-quick-cats span {
  font-size: 0.85rem;
  color: var(--pgh-text-muted);
  font-weight: 600;
}

.pgh-hero-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pgh-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pgh-text-main);
  border: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
}

.pgh-hero-cat-tag:hover {
  border-color: var(--pgh-primary);
  color: var(--pgh-primary);
  transform: translateY(-1px);
}

.pgh-hero-visual {
  display: flex;
  justify-content: center;
}

.pgh-hero-card-stack {
  background: #ffffff;
  border-radius: var(--pgh-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--pgh-shadow-lg);
  border: 1px solid var(--pgh-border-light);
  width: 100%;
  max-width: 440px;
}

.pgh-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pgh-hero-card-header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.pgh-hero-mini-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pgh-hero-mini-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: var(--pgh-radius-sm);
  transition: var(--pgh-transition-fast);
}

.pgh-hero-mini-item:hover {
  background: var(--pgh-primary-soft);
}

.pgh-hero-mini-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--pgh-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.pgh-hero-mini-info h4 {
  font-size: 0.925rem;
  margin-bottom: 0.2rem;
  color: var(--pgh-text-main);
  line-height: 1.3;
}

.pgh-hero-mini-info span {
  font-size: 0.775rem;
  color: var(--pgh-text-muted);
}

/* ==========================================================================
   7. Section Headers & Layout Grids
   ========================================================================== */
.pgh-section {
  margin-bottom: 3.5rem;
}

.pgh-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--pgh-border-light);
}

.pgh-section-title-group h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pgh-section-title-group p {
  color: var(--pgh-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.pgh-view-all {
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* Responsive Grids */
.pgh-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.85rem;
}

@media (min-width: 640px) {
  .pgh-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pgh-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pgh-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 540px) {
  .pgh-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pgh-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Featured 1 + 2 Grid */
.pgh-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.85rem;
}

@media (min-width: 880px) {
  .pgh-featured-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* ==========================================================================
   8. Post Card Component (Pure CSS, High CWV Efficiency)
   ========================================================================== */
.pgh-card {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-md);
  border: 1px solid var(--pgh-border);
  overflow: hidden;
  box-shadow: var(--pgh-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--pgh-transition);
  position: relative;
}

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

.pgh-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--pgh-surface-alt);
}

.pgh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pgh-card:hover .pgh-card-media img {
  transform: scale(1.04);
}

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

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

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

.pgh-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.pgh-card-title {
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.pgh-card-title a {
  color: var(--pgh-text-main);
  text-decoration: none;
}

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

.pgh-card-excerpt {
  font-size: 0.915rem;
  color: var(--pgh-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pgh-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--pgh-border-light);
  font-size: 0.825rem;
}

.pgh-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pgh-text-main);
  font-weight: 600;
}

.pgh-author-avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

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

/* Category Highlight Banner Cards */
.pgh-cat-card {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
  display: flex;
  flex-direction: column;
  transition: var(--pgh-transition);
  text-decoration: none;
}

.pgh-cat-card:hover {
  border-color: var(--pgh-primary);
  box-shadow: var(--pgh-shadow-md);
  transform: translateY(-3px);
}

.pgh-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--pgh-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pgh-cat-dog { background-color: #FFF3E0; color: #E65100; }
.pgh-cat-cat { background-color: #EDE7F6; color: #5E35B1; }
.pgh-cat-nutrition { background-color: #E8F5E9; color: #2E7D32; }
.pgh-cat-products { background-color: #E0F2F1; color: #00796B; }

.pgh-cat-card h3 {
  font-size: 1.15rem;
  color: var(--pgh-text-main);
  margin-bottom: 0.35rem;
}

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

/* ==========================================================================
   9. Single Post Layout & Content Styling
   ========================================================================== */
.pgh-layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 980px) {
  .pgh-layout-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.pgh-single-article {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
}

@media (min-width: 640px) {
  .pgh-single-article {
    padding: 2.75rem;
  }
}

.pgh-single-header {
  margin-bottom: 2rem;
}

.pgh-single-title {
  font-size: clamp(1.9rem, 3.8vw, 2.65rem);
  font-weight: 850;
  color: #111827;
  line-height: 1.2;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

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

.pgh-single-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pgh-single-featured-media {
  margin: 2rem 0;
  border-radius: var(--pgh-radius-md);
  overflow: hidden;
  box-shadow: var(--pgh-shadow-md);
  aspect-ratio: 16 / 9;
}

.pgh-single-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Body Typography (Optimal Readability) */
.pgh-entry-content {
  font-size: 1.085rem;
  line-height: 1.8;
  color: #2D3748;
}

.pgh-entry-content h2 {
  font-size: 1.75rem;
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--pgh-primary-soft);
  color: #1A202C;
}

.pgh-entry-content h3 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
  margin-bottom: 0.65rem;
  color: #2D3748;
}

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

.pgh-entry-content blockquote {
  border-left: 4px solid var(--pgh-primary);
  background-color: var(--pgh-primary-soft);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--pgh-radius-sm) var(--pgh-radius-sm) 0;
  font-style: italic;
  margin: 1.85rem 0;
  color: #334155;
}

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

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

/* Author Box */
.pgh-author-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--pgh-surface-alt);
  border: 1px solid var(--pgh-border);
  border-radius: var(--pgh-radius-md);
  padding: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 540px) {
  .pgh-author-box {
    flex-direction: row;
    align-items: center;
  }
}

.pgh-author-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: var(--pgh-shadow-sm);
}

.pgh-author-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.pgh-author-details p {
  font-size: 0.915rem;
  color: var(--pgh-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Post Navigation (Prev / Next) */
.pgh-post-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pgh-border);
}

@media (min-width: 600px) {
  .pgh-post-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.pgh-post-nav-item {
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  background: var(--pgh-surface-alt);
  border-radius: var(--pgh-radius-sm);
  border: 1px solid var(--pgh-border);
  text-decoration: none;
  transition: var(--pgh-transition-fast);
}

.pgh-post-nav-item:hover {
  border-color: var(--pgh-primary);
  background: #ffffff;
}

.pgh-post-nav-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pgh-primary);
  margin-bottom: 0.35rem;
}

.pgh-post-nav-title {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--pgh-text-main);
  line-height: 1.35;
}

/* Related Posts Section */
.pgh-related-section {
  margin-top: 3.5rem;
}

/* ==========================================================================
   10. Sidebar & Widgets
   ========================================================================== */
.pgh-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pgh-widget {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
}

.pgh-widget-title {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pgh-primary-soft);
  position: relative;
}

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

.pgh-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pgh-widget li {
  margin: 0;
  font-size: 0.935rem;
}

.pgh-widget li a {
  color: var(--pgh-text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pgh-widget li a:hover {
  color: var(--pgh-primary);
  padding-left: 4px;
}

.pgh-sticky-sidebar {
  position: sticky;
  top: calc(var(--pgh-header-height) + 1.5rem);
}

/* ==========================================================================
   11. AdSense & Monetization Zones (CLS Protected)
   ========================================================================== */
.pgh-ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hide completely when no ad is loaded or running */
.pgh-ad-slot:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  border: none !important;
}

.pgh-ad-label {
  display: block;
  font-size: 0.675rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Active Ad Reserved Dimensions to Prevent Layout Shift */
.pgh-ad-header:not(:empty) {
  min-height: 90px;
  max-width: 970px;
  margin: 1.5rem auto 2rem;
}

.pgh-ad-in-content:not(:empty) {
  min-height: 280px;
  max-width: 750px;
  margin: 2.5rem auto;
}

.pgh-ad-after-content:not(:empty) {
  min-height: 250px;
  max-width: 750px;
  margin: 2.5rem auto;
}

.pgh-ad-sidebar:not(:empty) {
  min-height: 250px;
  max-width: 300px;
  margin: 0 auto;
}

.pgh-ad-footer:not(:empty) {
  min-height: 90px;
  max-width: 970px;
  margin: 2.5rem auto 1rem;
}

/* ==========================================================================
   12. Newsletter Component
   ========================================================================== */
.pgh-newsletter-section {
  margin: 4rem 0 2rem;
}

.pgh-newsletter-box {
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 60%, #BF360C 100%);
  border-radius: var(--pgh-radius-xl);
  padding: 3rem 1.75rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 36px -6px rgba(230, 81, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.pgh-newsletter-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.pgh-newsletter-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.pgh-newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pgh-newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: var(--pgh-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pgh-newsletter-title {
  color: #ffffff;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 850;
  margin-bottom: 0.75rem;
}

.pgh-newsletter-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.85rem;
  line-height: 1.5;
}

.pgh-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 520px) {
  .pgh-newsletter-form {
    flex-direction: row;
  }
}

.pgh-newsletter-input {
  flex: 1;
  height: 50px;
  padding: 0 1.25rem;
  border-radius: var(--pgh-radius-full);
  border: none;
  font-size: 0.95rem;
  color: var(--pgh-text-main);
  background: #ffffff;
  outline: none;
}

.pgh-newsletter-submit {
  height: 50px;
  padding: 0 1.75rem;
  border-radius: var(--pgh-radius-full);
  border: none;
  background: #1F2937;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--pgh-transition-fast);
  white-space: nowrap;
}

.pgh-newsletter-submit:hover {
  background: #111827;
  transform: translateY(-1px);
}

.pgh-newsletter-disclaimer {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ==========================================================================
   13. Archive / Category Header & Pagination
   ========================================================================== */
.pgh-archive-header {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-lg);
  padding: 2.5rem 1.5rem;
  margin-bottom: 3rem;
  border: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
  text-align: center;
}

.pgh-archive-badge {
  margin-bottom: 0.85rem;
}

.pgh-archive-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 850;
  margin-bottom: 0.5rem;
}

.pgh-archive-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--pgh-text-muted);
  font-size: 1.05rem;
}

/* Pagination */
.pgh-pagination {
  margin: 3.5rem 0 1rem;
  display: flex;
  justify-content: center;
}

.pgh-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.pgh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: var(--pgh-radius-sm);
  background: var(--pgh-surface);
  border: 1px solid var(--pgh-border);
  font-size: 0.925rem;
  font-weight: 650;
  color: var(--pgh-text-main);
  text-decoration: none;
  transition: var(--pgh-transition-fast);
}

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

/* ==========================================================================
   14. 404 & Empty State Page
   ========================================================================== */
.pgh-error-404 {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-lg);
  border: 1px solid var(--pgh-border);
  max-width: 720px;
  margin: 2rem auto;
}

.pgh-404-paw {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  color: var(--pgh-primary);
}

.pgh-error-404 h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--pgh-primary);
  margin-bottom: 0.5rem;
}

.pgh-error-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pgh-error-404 p {
  color: var(--pgh-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   15. Footer Styling
   ========================================================================== */
.pgh-footer {
  background-color: var(--pgh-surface-dark);
  color: #CBD5E1;
  padding-top: 4rem;
  margin-top: auto;
}

.pgh-footer-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 600px) {
  .pgh-footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pgh-footer-widgets {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  }
}

.pgh-footer-col h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  position: relative;
}

.pgh-footer-col p {
  color: #94A3B8;
  font-size: 0.915rem;
  line-height: 1.6;
}

.pgh-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pgh-footer-col li {
  margin: 0;
}

.pgh-footer-col a {
  color: #94A3B8;
  font-size: 0.915rem;
  transition: var(--pgh-transition-fast);
}

.pgh-footer-col a:hover {
  color: #FFB74D;
  padding-left: 4px;
}

.pgh-footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748B;
}

@media (min-width: 768px) {
  .pgh-footer-bottom {
    flex-direction: row;
  }
}

.pgh-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pgh-legal-links a {
  color: #94A3B8;
}

.pgh-legal-links a:hover {
  color: #FFB74D;
}

/* ==========================================================================
   16. Back to Top Button
   ========================================================================== */
.pgh-back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pgh-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--pgh-transition);
  z-index: 900;
}

.pgh-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pgh-back-to-top:hover {
  background: var(--pgh-primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   17. Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   18. About Us Page Custom Styles
   ========================================================================== */
.pgh-about-hero {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF3E0 50%, #FAF8F5 100%);
  border-bottom: 1px solid var(--pgh-border-light);
  padding: 3.5rem 0 4rem;
  text-align: center;
  margin-bottom: 3.5rem;
}

.pgh-about-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.pgh-about-hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 850;
  color: #1A202C;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.pgh-about-hero-title span {
  color: var(--pgh-primary);
}

.pgh-about-hero-desc {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--pgh-text-muted);
  line-height: 1.6;
  margin: 0 auto;
}

.pgh-about-story-section {
  margin-bottom: 3.5rem;
}

.pgh-about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .pgh-about-story-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.pgh-about-story-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.pgh-about-story-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.25rem;
}

.pgh-about-story-box {
  background: var(--pgh-surface);
  border: 1px solid var(--pgh-border);
  border-radius: var(--pgh-radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--pgh-shadow-sm);
  position: relative;
}

.pgh-about-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pgh-primary-soft);
  color: var(--pgh-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pgh-radius-full);
  margin-bottom: 1.25rem;
}

.pgh-about-mission-card {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFFFFF 100%);
  border: 2px solid var(--pgh-primary-border);
  border-radius: var(--pgh-radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 4rem;
  box-shadow: var(--pgh-shadow-xs);
  text-align: center;
}

.pgh-about-mission-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.pgh-about-mission-card p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #334155;
  max-width: 780px;
  margin: 0 auto;
}

.pgh-about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .pgh-about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pgh-about-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pgh-about-pillar-card {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--pgh-border);
  box-shadow: var(--pgh-shadow-xs);
  transition: var(--pgh-transition);
  display: flex;
  flex-direction: column;
}

.pgh-about-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--pgh-primary);
  box-shadow: var(--pgh-shadow-md);
}

.pgh-about-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--pgh-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.15rem;
}

.pgh-about-pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pgh-about-pillar-card p {
  font-size: 0.925rem;
  color: var(--pgh-text-muted);
  line-height: 1.55;
  margin: 0;
}

.pgh-about-trust-section {
  background: var(--pgh-surface);
  border-radius: var(--pgh-radius-lg);
  border: 1px solid var(--pgh-border);
  padding: 2.75rem 2rem;
  margin: 4rem 0;
  box-shadow: var(--pgh-shadow-xs);
}

.pgh-about-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 680px) {
  .pgh-about-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pgh-about-trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pgh-about-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pgh-secondary-soft);
  color: var(--pgh-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pgh-about-trust-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.pgh-about-trust-item p {
  font-size: 0.935rem;
  color: var(--pgh-text-muted);
  line-height: 1.55;
  margin: 0;
}

.pgh-about-cta-section {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF3E0 100%);
  border: 1px solid var(--pgh-primary-border);
  border-radius: var(--pgh-radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 4rem 0 2rem;
  box-shadow: var(--pgh-shadow-sm);
}

.pgh-about-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.pgh-about-cta-title {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 850;
  margin-bottom: 0.85rem;
  color: #1A202C;
}

.pgh-about-cta-desc {
  font-size: 1.05rem;
  color: var(--pgh-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ==========================================================================
   19. Post Single FAQ Accordion Section
   ========================================================================== */
.pgh-faq-section {
  margin: 3.5rem 0 2.5rem;
  padding: 2.25rem 2rem;
  background: var(--pgh-surface);
  border: 1px solid var(--pgh-border);
  border-radius: var(--pgh-radius-lg);
  box-shadow: var(--pgh-shadow-sm);
  position: relative;
}

.pgh-faq-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--pgh-border-light);
  padding-bottom: 1.25rem;
}

.pgh-faq-header .pgh-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--pgh-radius-full);
  background: var(--pgh-primary-soft);
  color: var(--pgh-primary);
  border: 1px solid var(--pgh-primary-border);
}

.pgh-faq-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--pgh-text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pgh-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pgh-faq-item {
  border: 1px solid var(--pgh-border);
  border-radius: var(--pgh-radius-md);
  background: var(--pgh-surface);
  transition: var(--pgh-transition-fast);
  overflow: hidden;
}

.pgh-faq-item:hover {
  border-color: var(--pgh-primary-border);
}

.pgh-faq-item[open] {
  border-color: var(--pgh-primary);
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.07);
}

.pgh-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pgh-text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: var(--pgh-transition-fast);
  gap: 1rem;
}

.pgh-faq-summary::-webkit-details-marker {
  display: none;
}

.pgh-faq-summary:hover {
  color: var(--pgh-primary);
  background: var(--pgh-primary-soft);
}

.pgh-faq-item[open] .pgh-faq-summary {
  background: var(--pgh-primary-soft);
  color: var(--pgh-primary);
  border-bottom: 1px solid var(--pgh-primary-border);
}

.pgh-faq-q-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.pgh-faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pgh-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(230, 81, 0, 0.25);
}

.pgh-faq-item[open] .pgh-faq-q-badge {
  background: var(--pgh-primary-hover);
}

.pgh-faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pgh-text-muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.pgh-faq-item[open] .pgh-faq-chevron {
  transform: rotate(180deg);
  color: var(--pgh-primary);
}

.pgh-faq-content {
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--pgh-surface);
  color: var(--pgh-text-main);
  line-height: 1.7;
}

.pgh-faq-answer-inner p {
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
  color: var(--pgh-text-main);
}

.pgh-faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.pgh-faq-answer-inner ul,
.pgh-faq-answer-inner ol {
  margin: 0.5rem 0 0.75rem 1.5rem;
}

.pgh-faq-answer-inner li {
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .pgh-faq-section {
    padding: 1.5rem 1rem;
    margin: 2.5rem 0 2rem;
  }
  .pgh-faq-summary {
    padding: 1rem 0.85rem;
    font-size: 0.98rem;
  }
  .pgh-faq-content {
    padding: 1rem 0.85rem;
  }
}

/* ==========================================================================
   20. Rank Math & Site Breadcrumbs Navigation
   ========================================================================== */
.rank-math-breadcrumb,
.pgh-breadcrumbs {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pgh-text-muted);
}

.rank-math-breadcrumb p,
.pgh-breadcrumbs p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.rank-math-breadcrumb a,
.pgh-breadcrumbs a {
  color: var(--pgh-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--pgh-transition-fast);
}

.rank-math-breadcrumb a:hover,
.pgh-breadcrumbs a:hover {
  color: var(--pgh-primary);
  text-decoration: underline;
}

.rank-math-breadcrumb .separator,
.pgh-breadcrumbs .separator {
  color: var(--pgh-text-light);
  font-size: 0.8rem;
  user-select: none;
}

.rank-math-breadcrumb .last,
.pgh-breadcrumbs .last {
  color: var(--pgh-text-main);
  font-weight: 600;
}



/* ==========================================================================
   21. Comment Form Customization (Anti-Spam & UI)
   ========================================================================== */
.comment-respond {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.comment-respond .comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pgh-text-main);
}

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

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--pgh-text-main);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--pgh-text-main);
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--pgh-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(221, 107, 32, 0.2); /* Adjust color if primary differs */
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.comment-form-cookies-consent label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--pgh-text-muted);
    margin-bottom: 0;
    cursor: pointer;
}

/* Honeypot field - Visually hidden but visible to screen readers (and bots) */
.pgh-hp-wrapper {
    position: absolute !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}
/* ==========================================================================
   22. Table of Contents (TOC)
   ========================================================================== */
html {
    scroll-behavior: smooth; /* Ensure smooth scrolling for anchor links */
}

.pgh-toc {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pgh-toc-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem !important;
    color: var(--pgh-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pgh-toc-title::before {
    content: "\1F4D6"; /* Open book icon */
}

.pgh-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pgh-toc li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

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

.pgh-toc li a:hover {
    text-decoration: underline;
    color: var(--pgh-text-main);
}

.pgh-toc-nested {
    padding-left: 1.5rem !important;
    margin-top: 0.5rem !important;
}

.pgh-toc-nested li {
    font-size: 0.95em;
    position: relative;
}

.pgh-toc-nested li::before {
    content: "?";
    position: absolute;
    left: -1rem;
    color: var(--pgh-text-muted);
}
/* ==========================================================================
   23. Social Share Buttons
   ========================================================================== */
.pgh-social-share {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pgh-share-label {
    font-weight: 600;
    color: var(--pgh-text-main);
}

.pgh-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pgh-share-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pgh-share-btn:hover {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
}

.pgh-share-fb { background-color: #1877f2; }
.pgh-share-tw { background-color: #000000; }
.pgh-share-wa { background-color: #25d366; }

/* ==========================================================================
   24. Related Posts (You Might Also Like)
   ========================================================================== */
.pgh-related-posts {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
}

.pgh-related-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pgh-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.pgh-related-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.pgh-related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.pgh-related-thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.pgh-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pgh-related-item:hover .pgh-related-thumb img {
    transform: scale(1.05);
}

.pgh-related-item-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 1rem;
}

.pgh-related-item-title a {
    color: var(--pgh-text-main);
    text-decoration: none;
}

.pgh-related-item-title a:hover {
    color: var(--pgh-primary);
}
