
/* ══════════════════════════════════════════════════════════════
   BLOG SYSTEM — Archive + Single Post
   ══════════════════════════════════════════════════════════════ */

/* ── Blog Shared Badges ─────────────────────────────────── */
.pf-blog-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 6px;
  text-decoration: none;
  transition: opacity .2s ease;
}
.pf-blog-badge:hover { opacity: .82; }
.pf-blog-badge--teal  { background: var(--pf-teal-light); color: var(--pf-teal-dark); }
.pf-blog-badge--navy  { background: var(--pf-navy-light); color: var(--pf-navy); }
.pf-blog-badge--star  { background: #FEF3C7; color: #92400E; }

/* ── Blog Meta ──────────────────────────────────────────── */
.pf-blog-meta { display: flex; align-items: center; gap: 10px; }
.pf-blog-meta--hero { justify-content: center; }
.pf-blog-meta__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--pf-teal-light); flex-shrink: 0;
}
.pf-blog-meta__avatar--lg { width: 44px; height: 44px; }
.pf-blog-meta__text { display: flex; flex-direction: column; line-height: 1.3; }
.pf-blog-meta__author { font-size: .8125rem; font-weight: 700; color: var(--pf-text); }
.pf-blog-meta__info {
  font-size: .75rem; color: var(--pf-text-light);
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.pf-blog-meta__info .bi { font-size: .7rem; }
.pf-blog-meta__sep { color: var(--pf-text-muted); }

/* ══════════════════════════════════════════════════════════════
   BLOG HERO (archive / home)
   ══════════════════════════════════════════════════════════════ */
.pf-blog-hero {
  position: relative; overflow: hidden; padding: 80px 0 64px;
  background:
    linear-gradient(95deg, #FCFAF4 0%, rgba(252,250,244,.92) 42%, rgba(230,244,240,.55) 100%),
    radial-gradient(900px 440px at 92% -10%, var(--pf-teal-light) 0%, transparent 62%),
    linear-gradient(180deg, #FCFAF4 0%, var(--pf-bg) 100%);
  border-bottom: 1px solid var(--pf-border);
}
.pf-blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,87,67,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,87,67,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 70%);
  pointer-events: none;
}
.pf-blog-hero--archive { padding: 60px 0 48px; }
.pf-blog-hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.pf-blog-hero__blob--1 { width: 360px; height: 360px; top: -120px; right: 8%; background: radial-gradient(circle, rgba(10,87,67,.3), transparent 70%); }
.pf-blog-hero__blob--2 { width: 260px; height: 260px; bottom: -100px; left: 18%; background: radial-gradient(circle, rgba(10,87,67,.18), transparent 70%); }
.pf-blog-hero__title { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 16px; color: var(--pf-text); }
.pf-blog-hero__highlight { position: relative; color: var(--pf-teal); }
.pf-blog-hero__highlight::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: rgba(10,87,67,.18); border-radius: 6px; z-index: -1; }
.pf-blog-hero__sub { font-size: 1.0625rem; color: var(--pf-text-light); line-height: 1.65; max-width: 560px; margin: 0 0 24px; }
.pf-blog-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-blog-hero__badge { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--pf-border); padding: 7px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--pf-text-mid); box-shadow: 0 3px 10px -4px rgba(10,87,67,.12); }
.pf-blog-hero__badge .bi { color: var(--pf-teal); font-size: .9rem; }
.pf-blog-hero__stats-card { display: flex; align-items: center; background: #fff; border: 1px solid var(--pf-border); border-radius: 20px; padding: 28px 32px; box-shadow: 0 22px 50px -18px rgba(10,87,67,.22); }
.pf-blog-hero__stat { text-align: center; padding: 0 24px; }
.pf-blog-hero__stat:first-child { padding-left: 0; }
.pf-blog-hero__stat:last-child  { padding-right: 0; }
.pf-blog-hero__stat-val { display: block; font-size: 2rem; font-weight: 900; color: var(--pf-teal-dark); line-height: 1; letter-spacing: -.03em; }
.pf-blog-hero__stat-lbl { display: block; font-size: .7125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--pf-text-light); margin-top: 5px; }
.pf-blog-hero__stat-div { width: 1px; height: 44px; background: var(--pf-border); flex-shrink: 0; }

.pf-blog-archive__crumb { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--pf-text-light); margin-bottom: 18px; }
.pf-blog-archive__crumb a { color: var(--pf-text-light); text-decoration: none; transition: color .15s; }
.pf-blog-archive__crumb a:hover { color: var(--pf-teal); }
.pf-blog-archive__crumb .bi { font-size: .65rem; }
.pf-blog-archive__crumb span { color: var(--pf-text-mid); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   CATEGORY FILTER PILLS
   ══════════════════════════════════════════════════════════════ */
.pf-blog-cats { background: #fff; border-bottom: 1px solid var(--pf-border); position: sticky; top: 72px; z-index: 100; box-shadow: 0 4px 14px -8px rgba(10,87,67,.12); }
.pf-blog-cats__scroll { display: flex; gap: 6px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.pf-blog-cats__scroll::-webkit-scrollbar { display: none; }
.pf-blog-cats__pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 16px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--pf-text-mid); background: var(--pf-bg); border: 1.5px solid transparent; text-decoration: none; transition: all .2s ease; flex-shrink: 0; }
.pf-blog-cats__pill:hover { background: var(--pf-teal-light); color: var(--pf-teal-dark); border-color: rgba(10,87,67,.2); }
.pf-blog-cats__pill--active { background: var(--pf-teal) !important; color: #fff !important; border-color: var(--pf-teal) !important; box-shadow: 0 6px 16px -4px rgba(10,87,67,.45); }
.pf-blog-cats__count { border-radius: 999px; padding: 1px 7px; font-size: .7rem; font-weight: 700; background: var(--pf-border); color: var(--pf-text-light); }
.pf-blog-cats__pill--active .pf-blog-cats__count { background: rgba(255,255,255,.22); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   FEATURED POST
   ══════════════════════════════════════════════════════════════ */
.pf-blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--pf-border); border-radius: 22px; overflow: hidden; box-shadow: 0 22px 50px -20px rgba(10,87,67,.2); margin-bottom: 56px; transition: box-shadow .3s ease, transform .3s ease; }
.pf-blog-featured:hover { box-shadow: 0 30px 60px -20px rgba(10,87,67,.28); transform: translateY(-3px); }
.pf-blog-featured__media { position: relative; overflow: hidden; min-height: 340px; background: var(--pf-teal-light); }
.pf-blog-featured__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.pf-blog-featured:hover .pf-blog-featured__img { transform: scale(1.06); }
.pf-blog-featured__img-placeholder { width: 100%; height: 100%; min-height: 340px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--pf-teal-light), rgba(10,87,67,.1)); }
.pf-blog-featured__img-placeholder .bi { font-size: 4rem; color: var(--pf-teal); opacity: .4; }
.pf-blog-featured__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,87,67,.18) 0%, transparent 55%); pointer-events: none; transition: opacity .3s ease; }
.pf-blog-featured:hover .pf-blog-featured__overlay { opacity: .7; }
.pf-blog-featured__body { display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; }
.pf-blog-featured__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pf-blog-featured__title { font-size: 1.625rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 14px; }
.pf-blog-featured__title a { color: var(--pf-text); text-decoration: none; transition: color .2s ease; }
.pf-blog-featured__title a:hover { color: var(--pf-teal); }
.pf-blog-featured__excerpt { font-size: .9375rem; color: var(--pf-text-light); line-height: 1.65; margin: 0 0 28px; }
.pf-blog-featured__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--pf-border); }
.pf-blog-featured__cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--pf-teal) 0%, var(--pf-teal-dark) 100%); color: #fff; font-weight: 700; font-size: .875rem; padding: 10px 22px; border-radius: 10px; text-decoration: none; box-shadow: 0 8px 20px -6px rgba(10,87,67,.5); transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; flex-shrink: 0; }
.pf-blog-featured__cta .bi { transition: transform .25s ease; }
.pf-blog-featured__cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -6px rgba(10,87,67,.6); }
.pf-blog-featured__cta:hover .bi { transform: translateX(4px); }
.pf-blog-grid-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.pf-blog-grid-head__title { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pf-text-light); white-space: nowrap; }
.pf-blog-grid-head__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--pf-border), transparent); }

/* ══════════════════════════════════════════════════════════════
   BLOG CARD
   ══════════════════════════════════════════════════════════════ */
.pf-blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pf-border); border-radius: 18px; overflow: hidden; width: 100%; transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease; box-shadow: 0 4px 14px -6px rgba(13,27,42,.07); }
.pf-blog-card:hover { transform: translateY(-6px); border-color: rgba(10,87,67,.2); box-shadow: 0 24px 48px -18px rgba(10,87,67,.28); }
.pf-blog-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--pf-teal-light); flex-shrink: 0; }
.pf-blog-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.pf-blog-card:hover .pf-blog-card__img { transform: scale(1.08); }
.pf-blog-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pf-blog-card__img-placeholder .bi { font-size: 2.5rem; color: var(--pf-teal); opacity: .35; }
.pf-blog-card__media-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,61,47,.45) 100%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.pf-blog-card:hover .pf-blog-card__media-overlay { opacity: 1; }
.pf-blog-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--pf-teal); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 20px; text-decoration: none; box-shadow: 0 4px 12px -4px rgba(10,87,67,.5); transition: background .2s ease; }
.pf-blog-card__cat:hover { background: var(--pf-teal-dark); color: #fff; }
.pf-blog-card__body { flex: 1; padding: 20px 22px 14px; }
.pf-blog-card__title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-blog-card__title a { color: var(--pf-text); text-decoration: none; transition: color .2s ease; }
.pf-blog-card__title a:hover { color: var(--pf-teal); }
.pf-blog-card__excerpt { font-size: .8125rem; color: var(--pf-text-light); line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-blog-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--pf-border-light); background: var(--pf-bg); }
.pf-blog-meta--sm .pf-blog-meta__avatar { width: 28px; height: 28px; }
.pf-blog-meta--sm .pf-blog-meta__author { font-size: .75rem; }
.pf-blog-meta--sm .pf-blog-meta__info   { font-size: .7rem; }
.pf-blog-card__arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--pf-teal-light); color: var(--pf-teal-dark); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; text-decoration: none; transition: background .25s ease, color .25s ease, transform .25s ease; }
.pf-blog-card:hover .pf-blog-card__arrow { background: var(--pf-teal); color: #fff; transform: translateX(3px); }

/* ── Section + Pagination ───────────────────────────────── */
.pf-blog-section { background: var(--pf-bg); }
.pf-blog-pagination { margin-top: 52px; }
.pf-blog-pagination .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pf-blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--pf-border); background: #fff; font-size: .875rem; font-weight: 600; color: var(--pf-text-mid); text-decoration: none; transition: all .2s ease; }
.pf-blog-pagination .page-numbers:hover { background: var(--pf-teal-light); border-color: rgba(10,87,67,.25); color: var(--pf-teal-dark); }
.pf-blog-pagination .page-numbers.current { background: var(--pf-teal); border-color: var(--pf-teal); color: #fff; box-shadow: 0 8px 20px -6px rgba(10,87,67,.5); }
.pf-blog-pagination .prev, .pf-blog-pagination .next { padding: 0 18px; }
.pf-blog-pagination .dots { border: none; background: transparent; }

/* ── Empty State ────────────────────────────────────────── */
.pf-blog-empty { text-align: center; padding: 80px 24px; background: #fff; border: 1.5px dashed var(--pf-border); border-radius: 22px; }
.pf-blog-empty__icon { width: 80px; height: 80px; border-radius: 50%; background: var(--pf-teal-light); color: var(--pf-teal); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 22px; }
.pf-blog-empty__title { font-size: 1.375rem; font-weight: 800; margin-bottom: 8px; }
.pf-blog-empty__text  { color: var(--pf-text-light); margin-bottom: 26px; font-size: .9375rem; }
.pf-blog-empty__btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--pf-teal), var(--pf-teal-dark)); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 11px; text-decoration: none; box-shadow: 0 8px 22px -6px rgba(10,87,67,.45); transition: transform .2s ease, box-shadow .2s ease; }
.pf-blog-empty__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -6px rgba(10,87,67,.55); }


/* ══════════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ══════════════════════════════════════════════════════════════ */
.pf-post-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; height: 4px; background: rgba(10,87,67,.08); }
.pf-post-progress__bar { height: 100%; width: 0%; background: linear-gradient(90deg, #1F8B6E, var(--pf-teal), #10b981); transition: width .12s linear; border-radius: 0 3px 3px 0; }
.pf-post-progress__glow { position: absolute; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--pf-teal); filter: blur(8px); opacity: .5; pointer-events: none; left: 0; transition: left .12s linear; }


/* ══════════════════════════════════════════════════════════════
   POST HERO — full-bleed with optional featured image
   ══════════════════════════════════════════════════════════════ */
.pf-post-hero {
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  background:
    linear-gradient(160deg, #062e1f 0%, #0a5743 55%, #073d2f 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Subtle grid overlay */
.pf-post-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%);
  pointer-events: none;
}

.pf-post-hero__overlay { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(10,87,67,.35) 0%, transparent 70%); }
.pf-post-hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.pf-post-hero__blob--1 { width: 420px; height: 420px; top: -160px; right: 5%; background: radial-gradient(circle, rgba(31,139,110,.6), transparent 70%); }
.pf-post-hero__blob--2 { width: 300px; height: 300px; bottom: -120px; left: 12%; background: radial-gradient(circle, rgba(16,185,129,.4), transparent 70%); }

.pf-post-hero__inner { position: relative; z-index: 2; }

.pf-post-hero__breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: rgba(255,255,255,.55); margin-bottom: 32px; }
.pf-post-hero__back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-weight: 600; font-size: .8125rem; text-decoration: none; transition: color .2s ease, gap .2s ease; padding: 6px 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; backdrop-filter: blur(6px); }
.pf-post-hero__back:hover { color: #fff; gap: 10px; background: rgba(255,255,255,.15); }
.pf-post-hero__breadcrumb-sep { color: rgba(255,255,255,.3); }
.pf-post-hero__breadcrumb-cat { color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.pf-post-hero__breadcrumb-cat:hover { color: #fff; }

.pf-post-hero__cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pf-post-hero__cat-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; text-decoration: none;
  backdrop-filter: blur(8px); transition: background .2s ease, color .2s ease;
}
.pf-post-hero__cat-badge:hover { background: rgba(255,255,255,.22); color: #fff; }

.pf-post-hero__title {
  font-size: 3rem; font-weight: 900; letter-spacing: -.035em;
  line-height: 1.1; margin: 0 0 22px; color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.pf-post-hero__sub {
  font-size: 1.125rem; color: rgba(255,255,255,.72); line-height: 1.7;
  max-width: 680px; margin: 0 auto 32px;
}

.pf-post-hero__meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 16px;
  padding: 18px 28px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); display: inline-flex; margin-top: 8px;
}
.pf-post-hero__meta-author { display: inline-flex; align-items: center; gap: 9px; }
.pf-post-hero__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); flex-shrink: 0; }
.pf-post-hero__author-name { font-size: .875rem; font-weight: 700; color: #fff; }
.pf-post-hero__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); flex-shrink: 0; }
.pf-post-hero__meta-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.75); }
.pf-post-hero__meta-chip .bi { color: rgba(255,255,255,.5); font-size: .8rem; }

/* Scroll cue */
.pf-post-hero__scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .85rem;
  animation: pf-bounce 2s ease-in-out infinite;
  transition: opacity .4s ease; z-index: 2;
}
@keyframes pf-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ══════════════════════════════════════════════════════════════
   POST BODY
   ══════════════════════════════════════════════════════════════ */
.pf-post-body { padding: 80px 0 72px; background: var(--pf-bg); }


/* ══════════════════════════════════════════════════════════════
   POST CONTENT TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
.pf-post-content { font-size: 1.0625rem; line-height: 1.82; color: var(--pf-text-mid); }
.pf-post-content > * + * { margin-top: 1.3em; }

/* Lead / first paragraph */
.pf-post-content > p:first-of-type {
  font-size: 1.1875rem; line-height: 1.75; color: var(--pf-text);
  font-weight: 450;
}

.pf-post-content h2 {
  font-size: 1.5625rem; font-weight: 800; color: var(--pf-text);
  letter-spacing: -.025em; margin: 2.25em 0 .8em;
  padding-left: 18px;
  border-left: 4px solid var(--pf-teal);
  position: relative;
}
.pf-post-content h3 { font-size: 1.1875rem; font-weight: 700; color: var(--pf-text); letter-spacing: -.01em; margin: 1.9em 0 .65em; }
.pf-post-content h4 { font-size: 1rem; font-weight: 700; color: var(--pf-text-mid); margin: 1.5em 0 .5em; }
.pf-post-content p { margin: 0 0 1.1em; }
.pf-post-content a { color: var(--pf-teal); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10,87,67,.3); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.pf-post-content a:hover { color: var(--pf-teal-dark); text-decoration-color: var(--pf-teal-dark); }
.pf-post-content ul, .pf-post-content ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.pf-post-content li { margin-bottom: .6em; }
.pf-post-content ul li::marker { color: var(--pf-teal); }
.pf-post-content ol li::marker { color: var(--pf-teal); font-weight: 700; }
.pf-post-content blockquote { margin: 2em 0; padding: 24px 28px; border-left: 4px solid var(--pf-teal); background: linear-gradient(135deg, var(--pf-teal-light) 0%, #fff 100%); border-radius: 0 16px 16px 0; font-size: 1.0625rem; font-style: italic; color: var(--pf-text); position: relative; }
.pf-post-content blockquote::before { content: '\201C'; position: absolute; top: -8px; left: 20px; font-size: 5rem; color: var(--pf-teal); opacity: .18; font-style: normal; line-height: 1; }
.pf-post-content blockquote p { margin: 0; }
.pf-post-content blockquote cite { display: block; margin-top: 14px; font-size: .875rem; font-style: normal; color: var(--pf-text-light); font-weight: 600; }
.pf-post-content img { max-width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 40px -14px rgba(10,87,67,.22); display: block; margin: 1.75em auto; }
.pf-post-content figure { margin: 2em 0; }
.pf-post-content figcaption { text-align: center; font-size: .8125rem; color: var(--pf-text-muted); margin-top: 10px; font-style: italic; }
.pf-post-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 1.75em 0; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(10,87,67,.12); }
.pf-post-content thead th { background: linear-gradient(135deg, var(--pf-teal) 0%, var(--pf-teal-dark) 100%); color: #fff; padding: 13px 18px; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.pf-post-content tbody td { padding: 12px 18px; border-bottom: 1px solid var(--pf-border); color: var(--pf-text-mid); }
.pf-post-content tbody tr:last-child td { border-bottom: none; }
.pf-post-content tbody tr:hover { background: var(--pf-teal-light); }
.pf-post-content tbody tr:nth-child(even) { background: var(--pf-bg); }
.pf-post-content tbody tr:nth-child(even):hover { background: var(--pf-teal-light); }
.pf-post-content code { background: var(--pf-bg); color: var(--pf-teal-dark); border: 1px solid var(--pf-border); padding: 2px 7px; border-radius: 5px; font-size: .875em; font-family: 'SFMono-Regular', Consolas, monospace; }
.pf-post-content pre { background: #0F1F1A; color: #D8EFE6; border-radius: 14px; padding: 22px 24px; overflow-x: auto; margin: 1.75em 0; box-shadow: 0 14px 36px -12px rgba(10,87,67,.25); }
.pf-post-content pre code { background: none; border: none; padding: 0; color: inherit; font-size: .9rem; line-height: 1.65; }
.pf-post-content hr { border: none; border-top: 2px dashed var(--pf-border); margin: 2.75em 0; }

/* ── Tags ───────────────────────────────────────────────── */
.pf-post-tags { display: flex; align-items: flex-start; gap: 14px; padding: 24px 0; border-top: 1px solid var(--pf-border); margin-top: 40px; }
.pf-post-tags__icon { width: 36px; height: 36px; background: var(--pf-teal-light); color: var(--pf-teal); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.pf-post-tags__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-post-tag { display: inline-block; background: var(--pf-bg); border: 1.5px solid var(--pf-border); color: var(--pf-text-mid); font-size: .8125rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; text-decoration: none; transition: all .2s ease; }
.pf-post-tag:hover { background: var(--pf-teal-light); border-color: rgba(10,87,67,.25); color: var(--pf-teal-dark); }

/* ── Medical Disclaimer ─────────────────────────────────── */
.pf-post-disclaimer {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, rgba(216,239,230,.6) 0%, #fff 100%);
  border: 1px solid rgba(10,87,67,.15); border-left: 4px solid var(--pf-teal);
  border-radius: 0 14px 14px 0; padding: 18px 20px; margin: 36px 0;
  font-size: .875rem; color: var(--pf-text-mid); line-height: 1.65;
}
.pf-post-disclaimer__icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--pf-teal), var(--pf-teal-mid)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.pf-post-disclaimer p { margin: 0; }
.pf-post-disclaimer strong { color: var(--pf-teal-dark); }

/* ── Author Box ─────────────────────────────────────────── */
.pf-post-author {
  background: #fff; border: 1px solid var(--pf-border);
  border-radius: 20px; margin-top: 44px;
  box-shadow: 0 12px 36px -16px rgba(10,87,67,.18);
  overflow: hidden; position: relative;
}
.pf-post-author__top-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--pf-teal-dark) 0%, var(--pf-teal-mid) 50%, #10b981 100%);
}
.pf-post-author__inner { display: flex; align-items: flex-start; gap: 24px; padding: 28px 28px 30px; }
.pf-post-author__avatar-wrap { position: relative; flex-shrink: 0; }
.pf-post-author__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--pf-teal-light), 0 10px 24px -8px rgba(10,87,67,.3); display: block; }
.pf-post-author__avatar-ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed rgba(10,87,67,.2); pointer-events: none; }
.pf-post-author__body { flex: 1; min-width: 0; padding-top: 4px; }
.pf-post-author__label { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--pf-teal); margin-bottom: 6px; }
.pf-post-author__label .bi { color: #10b981; }
.pf-post-author__name { font-size: 1.1875rem; font-weight: 800; margin: 0 0 9px; color: var(--pf-text); }
.pf-post-author__bio { font-size: .875rem; color: var(--pf-text-light); line-height: 1.65; margin: 0 0 16px; }
.pf-post-author__link { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--pf-teal); text-decoration: none; padding: 7px 16px; border: 1.5px solid rgba(10,87,67,.2); border-radius: 999px; transition: all .2s ease; }
.pf-post-author__link:hover { background: var(--pf-teal); color: #fff; border-color: var(--pf-teal); gap: 10px; }

/* ── Post Navigation ────────────────────────────────────── */
.pf-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.pf-post-nav__item { display: flex; flex-direction: column; gap: 7px; padding: 20px 22px; background: #fff; border: 1.5px solid var(--pf-border); border-radius: 16px; text-decoration: none; transition: all .25s ease; position: relative; overflow: hidden; }
.pf-post-nav__item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--pf-teal-light), transparent); opacity: 0; transition: opacity .25s ease; }
.pf-post-nav__item:hover { border-color: rgba(10,87,67,.25); transform: translateY(-3px); box-shadow: 0 14px 32px -12px rgba(10,87,67,.22); }
.pf-post-nav__item:hover::before { opacity: 1; }
.pf-post-nav__item--next { text-align: right; }
.pf-post-nav__dir { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pf-teal); position: relative; z-index: 1; }
.pf-post-nav__item--next .pf-post-nav__dir { justify-content: flex-end; }
.pf-post-nav__title { font-size: .875rem; font-weight: 700; color: var(--pf-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; position: relative; z-index: 1; }


/* ══════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.pf-post-sidebar { display: flex; flex-direction: column; gap: 16px; }
.pf-post-sidebar::-webkit-scrollbar { width: 4px; }
.pf-post-sidebar::-webkit-scrollbar-track { background: transparent; }
.pf-post-sidebar::-webkit-scrollbar-thumb { background: rgba(10,87,67,.2); border-radius: 4px; }

/* ── Reading Progress Widget ────────────────────────────── */
.pf-post-sidebar-progress {
  background: linear-gradient(135deg, var(--pf-teal) 0%, var(--pf-teal-dark) 100%);
  border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 10px 28px -10px rgba(10,87,67,.45);
  color: #fff;
}
.pf-post-sidebar-progress__head { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; margin-bottom: 12px; }
.pf-post-sidebar-progress__head .bi { opacity: .75; }
.pf-post-sidebar-progress__pct { margin-left: auto; font-size: 1rem; font-weight: 900; letter-spacing: -.02em; }
.pf-post-sidebar-progress__track { height: 6px; background: rgba(255,255,255,.2); border-radius: 999px; overflow: hidden; }
.pf-post-sidebar-progress__fill { height: 100%; width: 0%; background: rgba(255,255,255,.85); border-radius: 999px; transition: width .15s linear; }
.pf-post-sidebar-progress__label { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 10px; }

/* ── TOC ────────────────────────────────────────────────── */
.pf-post-toc { background: #fff; border: 1px solid var(--pf-border); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px -10px rgba(10,87,67,.1); }
.pf-post-toc__head { display: flex; align-items: center; gap: 9px; padding: 14px 18px; background: var(--pf-text); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.pf-post-toc__head .bi { font-size: 1rem; opacity: .8; }
.pf-post-toc__head span { flex: 1; }
.pf-post-toc__toggle { background: rgba(255,255,255,.12); border: none; color: #fff; width: 28px; height: 28px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: .8rem; transition: background .2s ease; flex-shrink: 0; }
.pf-post-toc__toggle:hover { background: rgba(255,255,255,.22); }
.pf-post-toc__body { padding: 10px 8px 12px; }
.pf-post-toc__body--collapsed { display: none; }
.pf-post-toc__placeholder { font-size: .8125rem; color: var(--pf-text-muted); padding: 4px 8px; }
.pf-toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc-h2; }
.pf-toc-item { margin: 1px 0; }
.pf-toc-item--sub { padding-left: 22px; }
.pf-toc-link { display: flex; align-items: flex-start; gap: 9px; padding: 7px 10px; border-radius: 9px; font-size: .8rem; font-weight: 500; color: var(--pf-text-mid); text-decoration: none; line-height: 1.4; transition: background .18s ease, color .18s ease; border-left: 2px solid transparent; }
.pf-toc-link:hover { background: var(--pf-teal-light); color: var(--pf-teal-dark); }
.pf-toc-link--active { background: var(--pf-teal-light) !important; color: var(--pf-teal-dark) !important; font-weight: 700; border-left-color: var(--pf-teal); }
.pf-toc-num { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; background: var(--pf-teal); color: #fff; font-size: .65rem; font-weight: 800; border-radius: 5px; flex-shrink: 0; margin-top: 1px; }
.pf-toc-link--active .pf-toc-num { background: var(--pf-teal-dark); }
.pf-toc-text { flex: 1; }
.pf-toc-item--sub .pf-toc-link { font-size: .775rem; color: var(--pf-text-light); }

/* ── Share ──────────────────────────────────────────────── */
.pf-post-share { background: #fff; border: 1px solid var(--pf-border); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px -8px rgba(10,87,67,.08); }
.pf-post-share__head { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--pf-border); font-size: .8125rem; font-weight: 700; color: var(--pf-text-mid); }
.pf-post-share__head .bi { color: var(--pf-teal); }
.pf-post-share__btns { display: flex; flex-direction: column; padding: 12px; gap: 7px; }
.pf-post-share__btn { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 10px; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid var(--pf-border); background: var(--pf-bg); color: var(--pf-text-mid); transition: all .2s ease; }
.pf-post-share__btn .bi { font-size: 1.05rem; flex-shrink: 0; }
.pf-post-share__btn:hover { transform: translateY(-1px); }
.pf-post-share__btn--copy:hover { background: var(--pf-teal-light); border-color: rgba(10,87,67,.2); color: var(--pf-teal-dark); }
.pf-post-share__btn--success { background: var(--pf-teal) !important; border-color: var(--pf-teal) !important; color: #fff !important; }
.pf-post-share__btn--wa  { color: #065F46; border-color: #BBF7D0; background: #ECFDF5; }
.pf-post-share__btn--wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.pf-post-share__btn--email:hover { background: #EEF2FF; border-color: #C7D2FE; color: #3730A3; }
.pf-post-sidebar__back { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; background: var(--pf-bg); border: 1.5px solid var(--pf-border); border-radius: 12px; font-size: .875rem; font-weight: 600; color: var(--pf-text-mid); text-decoration: none; transition: all .2s ease; }
.pf-post-sidebar__back:hover { background: var(--pf-teal-light); border-color: rgba(10,87,67,.2); color: var(--pf-teal-dark); }

/* Related */
.pf-post-related { background: var(--pf-bg); }


/* ══════════════════════════════════════════════════════════════
   FEATURED IMAGE COVER
   ══════════════════════════════════════════════════════════════ */
.pf-post-cover-wrap {
  margin-top: -32px;
  margin-bottom: -40px;
  position: relative; z-index: 10;
}
.pf-post-cover {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 32px 64px -24px rgba(10,87,67,.35);
  max-height: 540px; background: var(--pf-teal-light);
}
.pf-post-cover__img {
  width: 100%; height: 100%; max-height: 540px;
  object-fit: cover; display: block;
}
.pf-post-cover__shine {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,87,67,.08) 0%, transparent 40%);
  pointer-events: none;
}


/* ══════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════════════════════ */
.pf-back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 1500;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pf-teal), var(--pf-teal-dark));
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 8px 24px -8px rgba(10,87,67,.6);
  opacity: 0; pointer-events: none;
  transform: translateY(12px) scale(.9);
  transition: opacity .3s ease, transform .3s ease;
}
.pf-back-top--visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.pf-back-top:hover { background: linear-gradient(135deg, var(--pf-teal-mid), var(--pf-teal)); box-shadow: 0 14px 32px -8px rgba(10,87,67,.7); transform: translateY(-3px) scale(1.05); }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pf-blog-featured { grid-template-columns: 1fr; }
  .pf-blog-featured__media { min-height: 280px; aspect-ratio: 16/8; }
  .pf-blog-featured__body { padding: 32px 28px; }
  .pf-blog-featured__title { font-size: 1.375rem; }
}
@media (max-width: 992px) {
  .pf-blog-hero { padding: 56px 0 48px; }
  .pf-blog-hero__title { font-size: 2.25rem; }
  .pf-post-hero { padding: 70px 0 56px; }
  .pf-post-hero__title { font-size: 2.25rem; }
  .pf-post-body { padding: 64px 0 56px; }
  .pf-post-cover { border-radius: 16px; max-height: 400px; }
  .pf-post-cover-wrap { margin-top: -24px; margin-bottom: -32px; }
  .pf-post-sidebar { position: static !important; max-height: none !important; }
  .pf-post-nav { grid-template-columns: 1fr; }
  .pf-post-nav__item--next { text-align: left; }
  .pf-post-nav__item--next .pf-post-nav__dir { justify-content: flex-start; }
  .pf-blog-cats { top: 64px; }
  .pf-back-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}
@media (max-width: 768px) {
  .pf-blog-hero { padding: 44px 0 36px; }
  .pf-blog-hero__title { font-size: 1.875rem; }
  .pf-blog-featured__body { padding: 24px 20px; }
  .pf-blog-featured__footer { flex-direction: column; align-items: flex-start; }
  .pf-blog-featured__cta { width: 100%; justify-content: center; }
  .pf-post-hero { padding: 60px 0 48px; }
  .pf-post-hero__title { font-size: 1.875rem; }
  .pf-post-hero__meta { padding: 14px 18px; }
  .pf-post-content { font-size: 1rem; }
  .pf-post-content h2 { font-size: 1.3125rem; }
  .pf-post-author__inner { flex-direction: column; align-items: center; text-align: center; padding: 24px 22px 26px; }
  .pf-post-author__label, .pf-post-author__link { justify-content: center; }
  .pf-post-hero__scroll-cue { display: none; }
}
@media (max-width: 576px) {
  .pf-blog-hero__title { font-size: 1.625rem; }
  .pf-post-hero { padding: 52px 0 42px; }
  .pf-post-hero__title { font-size: 1.625rem; }
  .pf-post-hero__sub { font-size: 1rem; }
  .pf-post-hero__meta { flex-direction: column; gap: 6px; width: 100%; }
  .pf-post-hero__meta-dot { display: none; }
}
