/*
 * ============================================================
 * INNER PAGE STYLES  —  pages.css
 * ============================================================
 * 1. Global font + colour overrides (sitewide)
 * 2. Page post-hero (inner page dark-green header)
 * 3. Blog listing — featured card + 3-col grid
 * 4. Single post
 * 5. Content blocks (shared across inner pages)
 * ============================================================
 */


/* ── 1. GLOBAL OVERRIDES ───────────────────────────────────── */
body {
  font-family: var(--rg-font-body);
  background: var(--rg-bg);
  color: var(--rg-charcoal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--rg-font-display);
  font-weight: 400;
}

a { color: var(--rg-green-dark); }
a:hover { color: var(--rg-green-lime); }


/* ── 2. PAGE POST-HERO (inner page header) ─────────────────── */
/*
 * All inner page templates have a <section class="post-hero">
 * at the top. This styles them with the brand dark-green background.
 * The .post-tag colour is forced to lime-green regardless of any
 * inline style left over from the original templates.
 */
section.post-hero {
  background: var(--rg-impact-bg) !important;
  padding: 72px 0 56px;
  position: relative;
}

section.post-hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--rg-green-lime);
  z-index: 1;
}

section.post-hero h1 {
  font-family: var(--rg-font-display);
  font-size: clamp(28px, 4vw, 52px);
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.12;
}

section.post-hero > .wrap > p,
section.post-hero .wrap > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
  margin: 10px 0 0;
}

section.post-hero .post-tag {
  background: var(--rg-green-lime) !important;
  display: inline-block;
  font-family: var(--rg-font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  border-radius: 99px;
  padding: 7px 16px 6px;
  margin: 0 0 20px;
}

/* Archive/blog header */
.archive-head {
  background: var(--rg-impact-bg);
  padding: 72px 0 56px;
  border-bottom: 3px solid var(--rg-green-lime);
}

.archive-head .wrap {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 0 24px;
}

.archive-head .eyebrow {
  display: inline-block;
  font-family: var(--rg-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: var(--rg-green-lime);
  border-radius: 99px;
  padding: 7px 16px 6px;
  margin-bottom: 16px;
}

.archive-head h1 {
  font-family: var(--rg-font-display);
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  margin: 0;
}

.archive-desc {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin: 10px 0 0;
}


/* ── 3. BLOG LISTING ────────────────────────────────────────── */
.blog-listing {
  background: var(--rg-bg);
  padding: 44px 0 60px;
}

.blog-listing .wrap {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 0 24px;
}

.blog-empty {
  color: var(--rg-muted);
  font-size: 15px;
  padding: 40px 0;
}

/* Featured card — large, image left / text right */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  background: var(--rg-card);
  border-radius: var(--rg-radius-card);
  overflow: hidden;
  margin-bottom: 28px;
  border: 0.5px solid rgba(0, 0, 0, 0.07);
}

.blog-featured-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
  transition: background-size 0.6s ease;
}

.blog-featured-img--fallback {
  min-height: 320px;
}

.blog-featured:hover .blog-featured-img {
  background-size: 108%;
}

.blog-featured-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.blog-featured-title {
  font-family: var(--rg-font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.2;
  margin: 0;
  color: var(--rg-charcoal);
}

.blog-featured-title a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-title a:hover { color: var(--rg-green-dark); }

.blog-featured-exc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rg-body);
  margin: 0;
}

.blog-featured-meta {
  font-size: 11px;
  color: var(--rg-muted);
  font-family: var(--rg-font-body);
}

/* 3-column card grid (remaining posts) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.blog-grid-card {
  background: var(--rg-card);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--rg-radius-card);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-grid-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.blog-grid-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-grid-img {
  height: 170px;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.55s ease;
}

.blog-grid-card:hover .blog-grid-img {
  background-size: 110%;
}

.blog-grid-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-grid-title {
  font-family: var(--rg-font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--rg-charcoal);
  margin: 0;
}

.blog-grid-exc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--rg-body);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-grid-meta {
  font-size: 10px;
  color: var(--rg-muted);
  margin-top: 4px;
}

/* Pagination */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links span.page-numbers {
  font-family: var(--rg-font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rg-radius-btn);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  color: var(--rg-charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--rg-ease), color var(--rg-ease), border-color var(--rg-ease);
}

.nav-links a:hover {
  background: var(--rg-green-dark);
  color: #fff;
  border-color: var(--rg-green-dark);
}

.nav-links .current {
  background: var(--rg-green-dark);
  color: #fff;
  border-color: var(--rg-green-dark);
}


/* ── 4. SINGLE POST ─────────────────────────────────────────── */
.post-hero {
  background: var(--rg-impact-bg);
  padding: 72px 0 56px;
  position: relative;
}

.post-hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--rg-green-lime);
  z-index: 1;
}

.post-hero .wrap {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 0 24px;
}

.post-hero .post-tag {
  background: var(--rg-green-lime);
  display: inline-block;
  font-family: var(--rg-font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  border-radius: 99px;
  padding: 7px 16px 6px;
  margin: 0 0 20px;
  transform: none;
}

.post-hero h1 {
  font-family: var(--rg-font-display);
  font-size: clamp(26px, 4vw, 52px);
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.12;
  max-width: 760px;
}

.post-hero .post-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.post-featured-img {
  margin: 36px auto;
  border-radius: var(--rg-radius-card);
  overflow: hidden;
  max-height: 520px;
  max-width: var(--rg-max);
  padding: 0 24px;
}

.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--rg-radius-card);
}

.entry-content {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 8px 24px 64px;
  font-family: var(--rg-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--rg-body);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--rg-font-display);
  color: var(--rg-charcoal);
  margin: 36px 0 12px;
  line-height: 1.2;
}

.entry-content p    { margin-bottom: 20px; }
.entry-content ul,
.entry-content ol   { margin: 0 0 20px 22px; }
.entry-content li   { margin-bottom: 6px; }
.entry-content a    { color: var(--rg-green-dark); text-decoration: underline; }
.entry-content a:hover { color: var(--rg-green-lime); }
.entry-content img  { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0; }

.more-stories {
  background: var(--rg-bg);
  padding: 52px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.more-stories .section-head { margin-bottom: 28px; }

.more-stories .section-head h2 {
  font-family: var(--rg-font-display);
  font-size: clamp(22px, 3vw, 36px);
  color: var(--rg-charcoal);
  margin: 6px 0 0;
}


/* ── 5. SHARED CONTENT BLOCK STYLES ────────────────────────── */
.content-block { padding: 52px 0; }
.content-block .wrap { max-width: var(--rg-max); margin: 0 auto; padding: 0 24px; }
.content-block h2 {
  font-family: var(--rg-font-display);
  font-size: clamp(22px, 3vw, 36px);
  color: var(--rg-charcoal);
  margin: 0 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-family: var(--rg-font-display);
  font-size: 20px;
  color: var(--rg-charcoal);
  margin: 0 0 12px;
}

.contact-info p {
  font-size: 15px;
  color: var(--rg-body);
  line-height: 1.6;
  margin: 0 0 10px;
}


/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-featured      { grid-template-columns: 1fr; }
  .blog-featured-img  { min-height: 240px; }
  .blog-featured-body { padding: 24px; }
  .blog-grid          { grid-template-columns: repeat(2, 1fr); }
  .contact-grid       { grid-template-columns: 1fr; gap: 28px; }
  section.post-hero   { padding: 36px 0 28px; }
  .archive-head       { padding: 36px 0 28px; }
}

@media (max-width: 580px) {
  .blog-grid { grid-template-columns: 1fr; }
}


/* ============================================================
 * INNER PAGE COMPONENT SYSTEM  (In Your Yard, Volunteer, Contact)
 * ============================================================
 * Shared design tokens for all inner page templates.
 * Avoids relying on homepage-specific classes (.program-card etc.)
 * ============================================================ */


/* ── SECTION WRAPPERS ──────────────────────────────────────── */

.pg-section {
  padding: 64px 0;
}

.pg-section--alt {
  background: #e8e2d4;   /* slightly deeper than --rg-bg */
}

.pg-section--tight {
  padding: 28px 0;
}

.pg-section--center {
  text-align: center;
}

.pg-section .wrap,
.pg-callout .wrap {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 0 24px;
}


/* ── SECTION HEADS ─────────────────────────────────────────── */

.pg-section-head {
  margin-bottom: 40px;
}

.pg-section-head h2 {
  font-family: var(--rg-font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--rg-charcoal);
  margin: 6px 0 0;
  line-height: 1.15;
}

.pg-section--center h2 {
  font-family: var(--rg-font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--rg-charcoal);
  margin: 6px 0 0;
}

.pg-section-desc {
  font-size: 15px;
  color: var(--rg-body);
  line-height: 1.65;
  margin: 12px 0 0;
  max-width: 680px;
}

.pg-section-desc--narrow {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.pg-eyebrow {
  display: inline-block;
  font-family: var(--rg-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rg-green-lime);
}

.pg-eyebrow--gold {
  color: var(--rg-gold);
}


/* ── CARD GRID ─────────────────────────────────────────────── */

.pg-card-grid {
  display: grid;
  gap: 16px;
}

.pg-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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


/* ── INDIVIDUAL CARD ───────────────────────────────────────── */

.pg-card {
  background: var(--rg-card);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--rg-radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pg-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.pg-card--accent {
  border-color: var(--rg-green-lime);
  border-width: 1px;
}

.pg-card-icon {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-bottom: 2px;
}

/* --- "Leaf blob" icon treatment (Volunteer role cards) --------
   Distinct line icons sit in a soft, organically-rounded tint.
   Tints alternate per card: green / gold / bark. On hover the
   blob does a little sprout-wiggle and a colored "soil line"
   appears along the card's top edge. */
.pg-card-icon--blob {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--rg-ease-reveal), border-radius 0.35s ease;
}
.pg-card-icon--blob svg { width: 42px; height: 42px; }

.pg-card-icon--blob.tint-green { background: rgba(74, 140, 30, 0.14); }
.pg-card-icon--blob.tint-gold  { background: rgba(201, 162, 39, 0.16); }
.pg-card-icon--blob.tint-bark  { background: rgba(124, 92, 61, 0.14); }

/* Soil-line accent across the card top, revealed on hover */
.pg-card--icon-top {
  position: relative;
  overflow: hidden;
}
.pg-card--icon-top::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--rg-ease-reveal);
  background: var(--rg-green-lime);
}
.pg-card--icon-top:has(.tint-gold)::before { background: var(--rg-gold); }
.pg-card--icon-top:has(.tint-bark)::before { background: #7C5C3D; }
.pg-card--icon-top:hover::before { transform: scaleX(1); }

.pg-card--icon-top:hover .pg-card-icon--blob {
  transform: rotate(-4deg) scale(1.07);
  border-radius: 52% 48% 46% 54% / 46% 54% 48% 52%;
}

@media (prefers-reduced-motion: reduce) {
  .pg-card--icon-top::before,
  .pg-card-icon--blob { transition: none; }
  .pg-card--icon-top:hover .pg-card-icon--blob { transform: none; }
}

.pg-card-icon svg {
  width: 100%;
  height: 100%;
}

.pg-card h3 {
  font-family: var(--rg-font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--rg-charcoal);
  margin: 0;
  line-height: 1.25;
}

.pg-card p {
  font-family: var(--rg-font-body);
  font-size: 14px;
  color: var(--rg-body);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.pg-card-link {
  font-family: var(--rg-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--rg-green-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-top: 4px;
  align-self: flex-start;
}

.pg-card-link:hover {
  color: var(--rg-green-lime);
  text-decoration: underline;
}


/* ── TIP PANEL (watering callout) ──────────────────────────── */

.pg-tip-panel {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--rg-card);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-left: 4px solid var(--rg-green-lime);
  border-radius: var(--rg-radius-card);
  padding: 40px 44px;
}

.pg-tip-panel-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-top: 4px;
}

.pg-tip-panel-body { flex: 1; }

/* Photo column inside tip panels */
.pg-tip-panel-photo {
  flex: 0 0 280px;
  align-self: stretch;
  display: flex;
}
.pg-tip-panel--flip { flex-direction: row-reverse; }
.pg-tip-panel--flip .pg-tip-panel-photo { flex-basis: 280px; }

/* ── PHOTOS + PLACEHOLDERS ─────────────────────────────────── */
/* Real photos and their "coming soon" stand-ins share the same
   footprint, so dropping the file in never shifts the layout. */
.pg-photo {
  width: 100%;
  border-radius: var(--rg-radius-card);
  object-fit: cover;
  min-height: 200px;
}
.pg-photo--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(-45deg,
    rgba(74,140,30,0.05), rgba(74,140,30,0.05) 12px,
    rgba(74,140,30,0.10) 12px, rgba(74,140,30,0.10) 24px);
  border: 1.5px dashed rgba(74, 140, 30, 0.45);
  color: var(--rg-muted);
  font-family: var(--rg-font-body);
  font-size: 12.5px;
  text-align: center;
  padding: 20px;
}
.pg-photo--placeholder code {
  font-size: 11px;
  color: var(--rg-green-lime);
  word-break: break-all;
}

/* ── NATIVE TREE CAROUSEL ──────────────────────────────────── */
.tree-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tree-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px;
  scrollbar-width: none;
  flex: 1;
}
.tree-carousel-track::-webkit-scrollbar { display: none; }

.tree-card {
  flex: 0 0 min(420px, 85%);
  scroll-snap-align: center;
  background: var(--rg-card);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: var(--rg-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tree-card-photo { height: 190px; display: flex; }
.tree-card-photo .pg-photo { border-radius: 0; min-height: 190px; }
.tree-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.tree-card-body h3 {
  font-family: var(--rg-font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--rg-charcoal);
  margin: 0;
}
.tree-card-latin {
  font-family: var(--rg-font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--rg-green-lime);
  letter-spacing: 0.02em;
}
.tree-card-body p {
  font-size: 13.5px;
  color: var(--rg-body);
  line-height: 1.65;
  margin: 2px 0 8px;
  flex: 1;
}
.tree-stats {
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tree-stats > div { display: flex; justify-content: space-between; gap: 12px; }
.tree-stats dt {
  font-family: var(--rg-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rg-muted);
}
.tree-stats dd {
  margin: 0;
  font-family: var(--rg-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--rg-charcoal);
  text-align: right;
}

.tree-carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--rg-green-dark);
  background: var(--rg-card);
  color: var(--rg-green-dark);
  font-size: 17px;
  cursor: pointer;
  transition: background var(--rg-ease), color var(--rg-ease);
}
.tree-carousel-btn:hover,
.tree-carousel-btn:focus-visible {
  background: var(--rg-green-dark);
  color: #fff;
}

@media (max-width: 760px) {
  .pg-tip-panel,
  .pg-tip-panel--flip { flex-direction: column; }
  .pg-tip-panel-photo { flex-basis: auto; width: 100%; }
  .tree-carousel-btn { display: none; } /* swipe instead */
}

.pg-tip-panel-icon svg {
  width: 100%;
  height: 100%;
}

.pg-tip-panel-body h2 {
  font-family: var(--rg-font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--rg-charcoal);
  margin: 6px 0 14px;
}

.pg-tip-panel-body p {
  font-size: 15px;
  color: var(--rg-body);
  line-height: 1.7;
  margin: 0 0 18px;
}

.pg-tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pg-tip-list li {
  font-size: 14px;
  color: var(--rg-body);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.pg-tip-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rg-green-lime);
}


/* ── ALERT BAR ──────────────────────────────────────────────── */

.pg-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--rg-card);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: var(--rg-radius-card);
  padding: 18px 24px;
  font-size: 14px;
  color: var(--rg-body);
  line-height: 1.6;
}

.pg-alert-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--rg-muted);
  margin-top: 1px;
}

.pg-alert-icon svg {
  width: 100%;
  height: 100%;
}

.pg-alert a {
  color: var(--rg-green-dark);
  font-weight: 600;
}

.pg-alert a:hover { color: var(--rg-green-lime); }


/* ── GREEN CORPS CALLOUT ────────────────────────────────────── */

.pg-callout {
  background: var(--rg-impact-bg);
  padding: 64px 0;
}

.pg-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.pg-callout-text {
  max-width: 580px;
}

/* Photo column beside callout text (donate page) */
.pg-callout-photo {
  flex: 0 0 320px;
  display: flex;
}
.pg-callout-photo .pg-photo--placeholder {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.65);
  background: repeating-linear-gradient(-45deg,
    rgba(255,255,255,0.04), rgba(255,255,255,0.04) 12px,
    rgba(255,255,255,0.08) 12px, rgba(255,255,255,0.08) 24px);
}
.pg-callout-photo .pg-photo--placeholder code { color: rgba(255,255,255,0.8); }
@media (max-width: 760px) {
  .pg-callout-inner { flex-direction: column; align-items: flex-start; }
  .pg-callout-photo { flex-basis: auto; width: 100%; }
}

.pg-callout-text h2 {
  font-family: var(--rg-font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  color: #ffffff;
  margin: 8px 0 16px;
  line-height: 1.15;
}

.pg-callout-text p {
  font-family: var(--rg-font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 28px;
}

/* Light-bordered CTA for use on dark backgrounds */
.btn-cta--light {
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

.btn-cta--light:hover,
.btn-cta--light:focus-visible {
  background: #ffffff;
  color: var(--rg-green-dark);
  border-color: #ffffff;
}

.pg-callout-badge {
  flex-shrink: 0;
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-callout-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pg-callout-badge span {
  position: relative;
  font-family: var(--rg-font-display);
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
  z-index: 1;
}


/* ── CTA BLOCK ──────────────────────────────────────────────── */

.pg-cta-row {
  margin-top: 28px;
}

.pg-fine-print {
  font-size: 13px;
  color: var(--rg-muted);
  margin-top: 16px;
}

.pg-fine-print a {
  color: var(--rg-green-dark);
}

.pg-fine-print a:hover { color: var(--rg-green-lime); }


/* ── CONTACT PAGE ───────────────────────────────────────────── */

.pg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pg-contact-card {
  background: var(--rg-card);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: var(--rg-radius-card);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pg-contact-card--emergency {
  border-left: 4px solid var(--rg-gold);
}

.pg-contact-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-top: 4px;
}

/* When a contact icon uses the blob treatment, blob sizing wins */
.pg-contact-card-icon.pg-card-icon--blob {
  width: 72px;
  height: 72px;
  margin-top: 0;
}
.pg-contact-card-icon.pg-card-icon--blob svg {
  width: 42px;
  height: 42px;
}

.pg-contact-card-icon svg {
  width: 100%;
  height: 100%;
}

.pg-contact-card h3 {
  font-family: var(--rg-font-display);
  font-size: 21px;
  color: var(--rg-charcoal);
  margin: 0 0 16px;
}

.pg-contact-card p {
  font-size: 14px;
  color: var(--rg-body);
  line-height: 1.65;
  margin: 0 0 12px;
}

.pg-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pg-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--rg-body);
  line-height: 1.55;
}

.pg-contact-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rg-green-lime);
}

.pg-contact-list a {
  color: var(--rg-green-dark);
  text-decoration: none;
  font-weight: 500;
}

.pg-contact-list a:hover { color: var(--rg-green-lime); text-decoration: underline; }

.pg-contact-hotline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 16px;
}

.pg-contact-hotline-num {
  font-family: var(--rg-font-display);
  font-size: 40px;
  color: var(--rg-charcoal);
  line-height: 1;
}

.pg-contact-hotline-sub {
  font-size: 13px;
  color: var(--rg-muted);
}

.pg-contact-hotline-sub a {
  color: var(--rg-green-dark);
}

.pg-contact-note {
  font-size: 13px;
  color: var(--rg-muted);
  line-height: 1.6;
  margin: 0;
}

.pg-contact-note a { color: var(--rg-green-dark); }

.pg-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rg-green-dark);
  text-decoration: none;
}

.pg-social-link svg {
  width: 16px;
  height: 16px;
}

.pg-social-link:hover { color: var(--rg-green-lime); text-decoration: underline; }


/* ── PARTNER LIST ───────────────────────────────────────────── */

.pg-partner-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--rg-card);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: var(--rg-radius-card);
  overflow: hidden;
}

.pg-partner-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
  transition: background var(--rg-ease);
}

.pg-partner-item:last-child {
  border-bottom: none;
}

.pg-partner-item:hover {
  background: rgba(0,0,0,0.025);
}

.pg-partner-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rg-green-lime);
  margin-top: 8px;
}

.pg-partner-name {
  font-family: var(--rg-font-display);
  font-size: 17px;
  color: var(--rg-charcoal);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.pg-partner-name:hover { color: var(--rg-green-dark); text-decoration: underline; }

.pg-partner-desc {
  font-size: 13px;
  color: var(--rg-muted);
  line-height: 1.6;
  margin: 0;
}


/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 860px) {
  .pg-card-grid--3  { grid-template-columns: repeat(2, 1fr); }
  .pg-contact-grid  { grid-template-columns: 1fr; }
  .pg-callout-badge { display: none; }
  .pg-tip-panel     { flex-direction: column; gap: 20px; padding: 28px 24px; }
  .pg-contact-card  { flex-direction: column; }
}

@media (max-width: 560px) {
  .pg-card-grid--3  { grid-template-columns: 1fr; }
  .pg-card-grid--2  { grid-template-columns: 1fr; }
  .pg-callout-inner { flex-direction: column; }
}


/* ---------- COMMENTS (single posts) ---------- */
.comments-area{max-width:760px;margin:48px auto 0;padding-top:32px;border-top:1px solid var(--rg-muted, #ccc);}
.comments-title{font-family:var(--rg-font-display, serif);font-size:24px;margin-bottom:20px;}
.comment-list{list-style:none;margin:0;padding:0;}
.comment-list .comment{margin-bottom:24px;}
.comment-list .avatar{border-radius:50%;float:left;margin-right:14px;}
.comment-metadata{font-size:12.5px;color:var(--rg-muted,#6b7260);}
.comment-content{margin-top:6px;}
.comment-respond{margin-top:36px;}
.comment-form label{display:block;font-weight:600;font-size:14px;margin-bottom:4px;}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;max-width:560px;padding:10px 12px;border:1px solid var(--rg-muted,#999);border-radius:6px;font:inherit;margin-bottom:14px;background:var(--rg-card,#fff);}
.comment-form .submit{cursor:pointer;background:var(--rg-green-dark,#1a3d1a);color:#fff;border:none;border-radius:999px;padding:12px 26px;font-weight:600;}
.no-comments{color:var(--rg-muted,#6b7260);}

/* ── PARTNER LOGO SLOTS (partners page) ─────────────────────
   Real logo shows when assets/img/partners/{slug}.png exists;
   otherwise a compact labeled placeholder names the file. */
.partner-logo-slot {
  height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.partner-logo-slot img {
  max-height: 64px;
  max-width: 200px;
  object-fit: contain;
}
.partner-logo-slot--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(74, 140, 30, 0.45);
  border-radius: 8px;
  background: rgba(74, 140, 30, 0.05);
  color: var(--rg-muted);
  font-family: var(--rg-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.partner-logo-slot--placeholder code {
  font-size: 10px;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--rg-green-lime);
}
