/**
 * Pallikaranai Ramsar Freeze — OMR Wetland Watch feature story
 * Magazine civic explainer with scroll rhythm
 */
:root {
  --prf-deep: #0a2230;
  --prf-teal: #1a6b7a;
  --prf-teal-bright: #2d9aad;
  --prf-mint: #e4f3f0;
  --prf-sand: #f0ebe0;
  --prf-amber: #d4880f;
  --prf-warning: #c41e3a;
  --prf-warning-soft: #fff1f2;
  --prf-ink: #141a1f;
  --prf-muted: #5a6570;
  --prf-paper: #ffffff;
  --prf-line: rgba(10, 34, 48, 0.11);
  --prf-glow: rgba(45, 154, 173, 0.18);
}

.article-container--pallikaranai-ramsar-freeze {
  max-width: none;
  padding: 0;
  width: 100%;
}

.article-container--pallikaranai-ramsar-freeze .article-share-bar,
.article-container--pallikaranai-ramsar-freeze .article-meta {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.prf-feature {
  font-family: "Source Sans 3", "Inter", system-ui, sans-serif;
  color: var(--prf-ink);
  line-height: 1.72;
  font-size: 1.05rem;
  overflow-x: clip;
}

.article-content .prf-feature h2,
.article-content .prf-feature h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.article-content .prf-feature img.prf-hero-img {
  max-width: none;
  width: 100%;
  border-radius: 0;
  margin: 0;
}

.prf-feature *,
.prf-feature *::before,
.prf-feature *::after {
  box-sizing: border-box;
}

.prf-feature h2,
.prf-feature h3 {
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  color: var(--prf-deep);
  line-height: 1.22;
}

.prf-feature a {
  color: var(--prf-teal);
  font-weight: 600;
}

.prf-feature a:hover {
  color: var(--prf-deep);
}

/* Scroll progress */
.prf-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--prf-teal-bright), var(--prf-amber));
  box-shadow: 0 0 12px var(--prf-glow);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Hero */
.prf-hero {
  position: relative;
  overflow: hidden;
  background: var(--prf-deep);
}

.prf-hero-img {
  display: block;
  width: 100%;
  height: clamp(300px, 58vw, 560px);
  object-fit: cover;
  object-position: center 38%;
}

.prf-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 18px 36px;
  color: #fff;
  background: linear-gradient(165deg, rgba(10, 34, 48, 0.08) 0%, rgba(10, 34, 48, 0.45) 42%, rgba(10, 34, 48, 0.94) 100%);
}

@media (min-width: 900px) {
  .prf-hero-img {
    height: clamp(420px, 52vw, 620px);
  }

  .prf-hero-overlay {
    padding: 48px clamp(28px, 5vw, 72px) 56px;
  }
}

.prf-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding: 0.4rem 0.85rem;
  background: rgba(196, 30, 58, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
}

.prf-hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fecdd3;
  animation: prf-pulse 1.6s ease-in-out infinite;
}

@keyframes prf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.prf-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 14px;
  max-width: 12ch;
  color: #fff;
  border: none;
  padding: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.prf-hero-dek {
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.prf-hero-locs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.prf-loc-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.32rem 0.72rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #e8f6f3;
}

.prf-hero-dateline {
  font-size: 0.88rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

.prf-hero-stats {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  backdrop-filter: blur(16px);
  background: rgba(10, 34, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

@media (min-width: 900px) {
  .prf-hero-stats {
    position: absolute;
    right: clamp(28px, 5vw, 72px);
    bottom: 64px;
    margin-top: 0;
    min-width: 260px;
    max-width: 300px;
  }
}

.prf-hero-stat strong {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.2;
}

.prf-hero-stat span {
  display: block;
  font-size: 0.74rem;
  opacity: 0.86;
  margin-top: 3px;
  line-height: 1.35;
}

.prf-hero-credit {
  margin: 18px 0 0;
  font-size: 0.74rem;
  opacity: 0.7;
}

.prf-hero-credit a {
  color: #c8ebe4;
  font-weight: 500;
}

/* Numbers strip */
.prf-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
  gap: 14px;
  padding: 24px 18px 28px;
  background: linear-gradient(180deg, var(--prf-sand) 0%, #ebe4d6 100%);
  border-bottom: 3px solid var(--prf-teal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (min-width: 1100px) {
  .prf-numbers {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 24px;
  }
}

.prf-number-card {
  background: var(--prf-paper);
  border-radius: 16px;
  padding: 16px 17px;
  border: 1px solid var(--prf-line);
  border-top: 4px solid var(--prf-teal);
  box-shadow: 0 8px 24px rgba(10, 34, 48, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prf-number-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 34, 48, 0.12);
}

.prf-number-card .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--prf-deep);
  display: block;
  line-height: 1.15;
}

.prf-number-card .cap {
  font-size: 0.76rem;
  color: var(--prf-muted);
  margin-top: 5px;
  display: block;
  line-height: 1.35;
}

/* 20-second block */
.prf-brief {
  background: linear-gradient(135deg, var(--prf-deep) 0%, #123d4a 100%);
  color: #fff;
  padding: 28px 18px;
}

@media (min-width: 768px) {
  .prf-brief {
    padding: 36px clamp(24px, 5vw, 64px);
  }
}

.prf-brief-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.prf-brief-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--prf-teal-bright);
  margin: 0 0 12px;
}

.prf-brief h2 {
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
  margin: 0 0 18px !important;
  max-width: 28ch;
}

.prf-brief-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .prf-brief-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.prf-brief-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.prf-brief-item strong {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prf-amber);
  margin-bottom: 8px;
}

/* Layout */
.prf-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
}

.prf-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

.prf-section {
  padding: 44px 0;
}

.prf-section--sand {
  background: var(--prf-sand);
}

.prf-section--mint {
  background: var(--prf-mint);
}

.prf-section--dark {
  background: linear-gradient(180deg, #0f2835 0%, var(--prf-deep) 100%);
  color: #e8f0f2;
}

.prf-section--dark h2,
.prf-section--dark h3 {
  color: #fff;
}

.prf-section--dark p {
  color: #c8d4da;
}

.prf-section--dark a {
  color: #7dd3e8;
}

/* Chapter marker */
.prf-chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.prf-chapter-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--prf-teal-bright);
  opacity: 0.35;
}

.prf-chapter h2 {
  margin: 0 !important;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem) !important;
}

/* Reveal animation */
.prf-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.prf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Pull quote */
.prf-pullquote {
  margin: 1.75rem 0;
  padding: 1.25rem 0 1.25rem 1.35rem;
  border-left: 5px solid var(--prf-warning);
  background: linear-gradient(90deg, var(--prf-warning-soft), transparent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--prf-deep);
  font-style: italic;
}

.prf-highlight {
  background: linear-gradient(180deg, transparent 62%, rgba(45, 154, 173, 0.22) 62%);
  font-weight: 700;
}

/* Split layout */
.prf-split {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .prf-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.prf-img-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 34, 48, 0.15);
}

.prf-img-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
}

.prf-img-cap {
  font-size: 0.8rem;
  color: var(--prf-muted);
  padding: 10px 14px;
  background: #f8faf9;
  margin: 0;
  line-height: 1.5;
}

/* Q&A cards (replaces dry table) */
.prf-qa-grid {
  display: grid;
  gap: 12px;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .prf-qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prf-qa-card {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 6px 18px rgba(10, 34, 48, 0.04);
  transition: border-color 0.2s, transform 0.2s;
}

.prf-qa-card:hover {
  border-color: var(--prf-teal-bright);
  transform: translateY(-2px);
}

.prf-qa-card .q {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prf-teal);
  margin: 0 0 8px;
}

.prf-qa-card .a {
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.55;
  color: #2a3238;
}

/* Debate duel */
.prf-debate {
  display: grid;
  gap: 16px;
  margin: 1.75rem 0;
}

@media (min-width: 768px) {
  .prf-debate {
    grid-template-columns: 1fr 1fr;
  }
}

.prf-debate-card {
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  position: relative;
  overflow: hidden;
}

.prf-debate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.prf-debate-card--owners {
  background: linear-gradient(160deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
}

.prf-debate-card--owners::before {
  background: var(--prf-amber);
}

.prf-debate-card--env {
  background: linear-gradient(160deg, #ecfdf5, #fff);
  border: 1px solid #a7f3d0;
}

.prf-debate-card--env::before {
  background: #059669;
}

.prf-debate-card h3 {
  font-size: 1.05rem !important;
  margin: 0 0 0.65rem !important;
}

.prf-debate-card p {
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.6;
  color: #374151;
}

/* Flow diagram */
.prf-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--prf-paper);
  border: 1px dashed var(--prf-line);
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.prf-flow-step {
  background: var(--prf-mint);
  border: 1px solid rgba(26, 107, 122, 0.2);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  color: var(--prf-deep);
}

.prf-flow-arrow {
  color: var(--prf-teal);
  font-weight: 800;
  font-size: 1rem;
}

/* Callout boxes */
.prf-box {
  margin: 1.35rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  line-height: 1.65;
}

.prf-box h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.prf-box--legal {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #bfdbfe;
}

.prf-box--legal h3 { color: #1e40af; }

.prf-box--caution {
  background: linear-gradient(135deg, #fffbeb, #fefce8);
  border: 1px solid #fde68a;
}

.prf-box--caution h3 { color: #92400e; }

.prf-box--alert {
  background: linear-gradient(135deg, #fff1f2, #fff);
  border: 1px solid #fecdd3;
  border-left: 5px solid var(--prf-warning);
}

.prf-box--alert h3 { color: var(--prf-warning); }

/* Boundary stack */
.prf-boundary-wrap {
  margin: 1.5rem 0;
}

.prf-boundary-visual {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}

.prf-boundary-rings {
  position: relative;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
}

.prf-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 8px;
  transition: transform 0.3s, opacity 0.3s;
}

.prf-ring--1 {
  inset: 0;
  border-color: rgba(5, 150, 105, 0.5);
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
}

.prf-ring--2 {
  inset: 14%;
  border-color: rgba(26, 107, 122, 0.55);
  background: rgba(26, 107, 122, 0.1);
  color: var(--prf-teal);
}

.prf-ring--3 {
  inset: 28%;
  border-color: rgba(212, 136, 15, 0.55);
  background: rgba(212, 136, 15, 0.12);
  color: #b45309;
}

.prf-ring--4 {
  inset: 42%;
  border-color: rgba(196, 30, 58, 0.6);
  background: rgba(196, 30, 58, 0.15);
  color: var(--prf-warning);
  font-size: 0.62rem;
}

.prf-boundary-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.prf-boundary-tab {
  appearance: none;
  border: 1px solid var(--prf-line);
  background: var(--prf-paper);
  color: var(--prf-deep);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.prf-boundary-tab:hover {
  transform: translateY(-1px);
}

.prf-boundary-tab[aria-selected="true"] {
  background: var(--prf-deep);
  color: #fff;
  border-color: var(--prf-deep);
  box-shadow: 0 6px 18px rgba(10, 34, 48, 0.2);
}

.prf-boundary-panel {
  display: none;
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 10px 30px rgba(10, 34, 48, 0.06);
  animation: prf-fade-in 0.35s ease;
}

@keyframes prf-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.prf-boundary-panel.is-active {
  display: block;
}

.prf-boundary-panel .area {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prf-teal);
  margin: 0 0 10px;
}

/* Timeline */
.prf-timeline {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.prf-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--prf-warning), var(--prf-teal));
  border-radius: 3px;
}

.prf-timeline li {
  position: relative;
  padding: 0 0 1.3rem 2.4rem;
}

.prf-timeline li.is-hot::before {
  border-color: var(--prf-warning);
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.2);
}

.prf-timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--prf-teal);
  z-index: 1;
}

.prf-timeline .date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--prf-teal);
  margin: 0 0 0.25rem;
}

.prf-timeline li.is-hot .date {
  color: var(--prf-warning);
}

.prf-timeline .event {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

/* Locality checker */
.prf-checker {
  background: linear-gradient(145deg, #fff, var(--prf-mint));
  border: 1px solid var(--prf-line);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 14px 40px rgba(10, 34, 48, 0.08);
}

.prf-checker-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.prf-checker-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.prf-checker label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--prf-deep);
}

.prf-checker select {
  width: 100%;
  max-width: 400px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--prf-line);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.prf-checker-result {
  margin-top: 14px;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  font-size: 0.94rem;
  line-height: 1.58;
  display: none;
}

.prf-checker-result.is-visible {
  display: block;
  animation: prf-fade-in 0.35s ease;
}

.prf-checker-result--warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}

.prf-checker-result--info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}

/* Tools grid */
.prf-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
  margin: 1.5rem 0;
}

.prf-tool-card {
  display: flex;
  flex-direction: column;
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 6px 18px rgba(10, 34, 48, 0.04);
}

.prf-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 34, 48, 0.12);
  border-color: var(--prf-teal-bright);
  color: inherit;
}

.prf-tool-card .icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.prf-tool-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--prf-deep);
  margin-bottom: 6px;
}

.prf-tool-card span {
  font-size: 0.86rem;
  color: var(--prf-muted);
  line-height: 1.45;
}

/* Checklist cards */
.prf-check-grid {
  display: grid;
  gap: 14px;
  margin: 1.25rem 0;
}

@media (min-width: 768px) {
  .prf-check-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.prf-check-panel {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 24px rgba(10, 34, 48, 0.05);
}

.prf-check-panel h3 {
  font-size: 1rem !important;
  margin: 0 0 0.75rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--prf-mint);
}

.prf-checklist {
  margin: 0;
  padding-left: 1.15rem;
}

.prf-checklist li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Editorial dark */
.prf-editorial-dark {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.prf-editorial-dark p {
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 0 0 1rem;
}

.prf-editorial-dark p:last-child {
  margin: 0;
}

/* FAQ */
.prf-faq details {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.prf-faq details[open] {
  border-color: var(--prf-teal-bright);
  box-shadow: 0 6px 20px rgba(10, 34, 48, 0.06);
}

.prf-faq summary {
  font-weight: 700;
  color: var(--prf-deep);
  cursor: pointer;
  line-height: 1.4;
  list-style: none;
}

.prf-faq summary::-webkit-details-marker {
  display: none;
}

.prf-faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  font-weight: 800;
  color: var(--prf-teal);
}

.prf-faq details[open] summary::before {
  content: "−";
}

.prf-faq details p {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  color: #334155;
}

/* Related */
.prf-related {
  background: var(--prf-sand);
  border-top: 1px solid var(--prf-line);
  padding: 2.5rem 0 3rem;
}

.prf-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  margin-top: 1rem;
}

.prf-related-card {
  display: block;
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: transform 0.2s, border-color 0.2s;
}

.prf-related-card:hover {
  border-color: var(--prf-teal);
  transform: translateY(-2px);
  color: inherit;
}

.prf-related-card strong {
  display: block;
  color: var(--prf-deep);
  margin-bottom: 6px;
}

/* WhatsApp CTA */
.prf-wa-cta {
  text-align: center;
  padding: 1.75rem 1.35rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid rgba(22, 101, 52, 0.2);
  border-radius: 20px;
  margin: 2rem 0 0;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.12);
}

.prf-wa-cta p {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--prf-deep);
}

.prf-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s, background 0.15s;
}

.prf-wa-btn:hover {
  color: #fff !important;
  background: #1da851;
  transform: scale(1.03);
}

.prf-sources {
  font-size: 0.86rem;
  color: var(--prf-muted);
  line-height: 1.65;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--prf-line);
}

.prf-sources ol {
  padding-left: 1.25rem;
}

.prf-sources li {
  margin-bottom: 0.5rem;
}

/* AEO direct answers */
.prf-aeo-heading {
  font-size: 1rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prf-teal);
  margin: 0 0 12px !important;
}

.prf-aeo-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .prf-aeo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.prf-aeo-answer {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-left: 4px solid var(--prf-teal-bright);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: 0.94rem;
  line-height: 1.58;
  box-shadow: 0 6px 18px rgba(10, 34, 48, 0.05);
}

.prf-aeo-answer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--prf-deep);
}

/* Geo + glossary */
.prf-geo-intro {
  font-size: 0.92rem;
  color: var(--prf-muted);
  margin: 0 0 1rem;
}

.prf-geo-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  line-height: 1.65;
}

.prf-geo-list li {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.prf-glossary {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.prf-glossary h3 {
  font-size: 1rem !important;
  margin: 0 0 0.75rem !important;
}

.prf-glossary dl {
  margin: 0;
}

.prf-glossary dt {
  font-weight: 800;
  color: var(--prf-teal);
  font-size: 0.88rem;
  margin-top: 0.65rem;
}

.prf-glossary dt:first-child {
  margin-top: 0;
}

.prf-glossary dd {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .prf-reveal,
  .prf-boundary-panel,
  .prf-checker-result.is-visible {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .prf-hero-kicker::before {
    animation: none;
  }
}
