/* ---------------------------------------
   GERAVITA — SHARED NAV / FOOTER / WA-STICKY
   Single source of truth for both the static
   site (root) and the WordPress blog (/blog/).
   Extracted verbatim from index.html's verified
   CSS — do not hand-edit a second copy anywhere.
   Last synced: 2026-08-28
--------------------------------------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

:root {
  --plum:       #3D1F5C;
  --plum-deep:  #1A0A2E;
  --violet:     #5B4FCF;
  --lavender:   #C4A8E0;
  --lavender-lt:#EDE3F8;
  --gold:       #DBA84A;
  --gold-lt:    #F7EAC8;
  --bloom:      #F8F3FF;
  --ink:        #1A0A2E;
  --ink-mid:    #4A3060;
  --ink-light:  #7B5CA0;
  --white:      #FFFFFF;
}

/* ---------------------------------------
   NAV
--------------------------------------- */
header.wp-block-template-part .wp-block-group,
footer.wp-block-template-part .wp-block-group {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
/* Confirmed via DevTools (screenshot evidence): the wp-block-group
   directly inside <footer class="wp-block-template-part"> carries an
   INLINE style — padding-top/bottom reading from these two preset
   spacing custom properties. The rule above wasn't beating it (inline
   + WP's own late-loaded theme.json CSS can out-order an enqueued
   stylesheet even with !important on both sides). Redefining the
   variables themselves sidesteps that fight entirely — the inline
   padding declaration still "wins" the cascade, it just resolves to
   0 either way. Scoped to footer.wp-block-template-part only. */
footer.wp-block-template-part {
  --wp--preset--spacing--60: 0px !important;
  --wp--preset--spacing--50: 0px !important;
}

/* Root padding-aware alignments (theme.json) — WordPress adds this
   padding to .wp-site-blocks itself, the wrapper around header/main/
   footer. Confirmed via DevTools: this, not main or .footer, was the
   real source of the gap above the footer. Zeroing it here since our
   full-bleed sections already manage their own spacing explicitly. */
.wp-site-blocks {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.nav {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plum);
  border-bottom: 1px solid rgba(196,168,224,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}
.nav-logo-rule {
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin-bottom: 2px;
}
.nav-logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo-wordmark .dot { color: var(--gold); }
.nav-logo-tagline {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--lavender);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none !important;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--plum-deep) !important;
  font-weight: 600 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.9; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--plum-deep);
  padding: 16px 24px;
  gap: 16px;
  border-top: 1px solid rgba(196,168,224,0.15);
}

/* ---------------------------------------
   FOOTER
--------------------------------------- */
.footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%) !important;
  margin-top: 0 !important;
  background: var(--plum-deep);
  padding: 44px 0 28px;
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(91,79,207,0.2) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C4A8E0' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/svg%3E");
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 0.9fr 0.9fr 0.9fr;
  gap: 36px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo .dot { color: var(--gold); }

.footer-tagline {
  font-size: 13px;
  color: var(--lavender);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer-contact-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--lavender);
  margin-bottom: 8px;
  align-items: flex-start;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links li {
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links a {
  font-size: 13px;
  color: var(--lavender);
  transition: color 0.2s;
  text-decoration: none !important;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  padding-right: 160px;
  border-top: 1px solid rgba(196,168,224,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text {
  font-size: 12px;
  color: rgba(196,168,224,0.5);
}
.footer-bottom-reg {
  font-size: 12px;
  color: rgba(196,168,224,0.5);
}

/* ---------------------------------------
   STICKY WHATSAPP
   (not currently on emergency-care-policy.html —
   separate open decision, see nav/footer handover)
--------------------------------------- */
.wa-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #25D366;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-sticky svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }

/* ---------------------------------------
   RESPONSIVE — 900px breakpoint
--------------------------------------- */
@media (max-width: 900px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links      { display: none; }
  .nav-mobile-toggle { display: block; }
}

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

/* ---------------------------------------
   BLOG ARTICLE BODY TYPOGRAPHY
--------------------------------------- */
.entry-content {
  max-width: 680px;
}
.entry-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding-right: 356px;
}
.entry-content .article-sidebar {
  position: absolute;
  top: 0;
  right: 16px;
  width: 300px;
}
@media (max-width: 900px) {
  .entry-content { padding-right: 0; }
  .entry-content .article-sidebar { position: static; width: 100%; margin-top: 40px; }
}
.entry-content p {
  margin-bottom: 20px;
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.75;
}
.entry-content h2 {
  font-size: 24px;
  color: var(--plum);
  margin: 40px 0 14px;
  font-family: 'Playfair Display', serif;
}
.entry-content h3 {
  font-size: 18px;
  color: var(--plum);
  margin: 28px 0 10px;
  font-family: 'Playfair Display', serif;
}
.entry-content li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mid);
}
.entry-content strong {
  color: var(--ink);
  font-weight: 600;
}
.entry-content em {
  color: var(--ink-light);
}
.callout {
  border-radius: 12px;
  padding: 22px 24px;
  margin: 32px 0;
}
.callout-warning {
  background: var(--gold-lt);
  border-left: 4px solid var(--gold);
}
.callout-info {
  background: var(--lavender-lt);
  border-left: 4px solid var(--violet);
}
.callout-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.callout p {
  margin: 0 !important;
  font-size: 15px;
  color: var(--ink-mid);
}

.domain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 36px;
}
.domain-card {
  background: var(--bloom);
  border: 1px solid rgba(196,168,224,0.25);
  border-radius: 12px;
  padding: 16px 18px;
}
.domain-card-icon {
  width: 36px;
  height: 36px;
  background: var(--plum);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.domain-card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}
.domain-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 5px;
}
.domain-card-body {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.55;
}
@media (max-width: 600px) {
  .domain-grid { grid-template-columns: 1fr; }
}

.trigger-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.trigger-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196,168,224,0.2);
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.trigger-num {
  background: var(--plum);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-cta {
  background: var(--plum);
  padding: 56px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  flex-shrink: 0;
}
.article-cta-inner {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-cta h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--white) !important;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}
.article-cta p {
  color: var(--lavender);
  font-size: 16px;
  margin-bottom: 24px;
}
.btn-wa-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-wa-lg svg { width: 18px; height: 18px; fill: #fff; }
.btn-wa-lg:hover { opacity: 0.9; transform: translateY(-1px); }

.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}
.gap-card {
  background: var(--bloom);
  border: 1px solid rgba(196,168,224,0.25);
  border-radius: 10px;
  padding: 14px 16px;
}
.gap-card-title { font-size: 13px; font-weight: 600; color: var(--plum); margin-bottom: 4px; }
.gap-card-body { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }
@media (max-width: 600px) { .gap-grid { grid-template-columns: 1fr; } }

.transparency-list { list-style: none; margin: 0 0 28px; padding: 0; }
.transparency-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(196,168,224,0.18);
}
.transparency-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 15px;
}
.transparency-text { font-size: 15px; color: var(--ink-mid); line-height: 1.65; }

.key-stat {
  background: var(--plum);
  border-radius: 14px;
  padding: 28px 28px;
  margin: 32px 0;
}
.key-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.key-stat-label { font-size: 15px; color: var(--lavender); line-height: 1.5; }
.symptom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}
.symptom-card {
  background: var(--bloom);
  border: 1px solid rgba(196,168,224,0.25);
  border-radius: 10px;
  padding: 14px 16px;
}
.symptom-card-title { font-size: 13px; font-weight: 600; color: var(--plum); margin-bottom: 4px; }
.symptom-card-body { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }
@media (max-width: 600px) { .symptom-grid { grid-template-columns: 1fr; } }

nav[aria-label="Post navigation"] {
  border-top-color: rgba(196,168,224,0.3) !important;
  gap: 16px;
}
/* Confirmed via DevTools: the arrow <span> and the <a> are SIBLINGS,
   both children of .wp-block-post-navigation-link — that div is the
   real shared container, not the <a> itself. Styling it directly. */
nav[aria-label="Post navigation"] .wp-block-post-navigation-link {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid rgba(196,168,224,0.3);
  border-radius: 10px;
  background: var(--white);
  max-width: 320px;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
nav[aria-label="Post navigation"] .wp-block-post-navigation-link:hover {
  border-color: var(--violet);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,31,92,0.08);
}
nav[aria-label="Post navigation"] a {
  text-decoration: none !important;
  display: block;
}
nav[aria-label="Post navigation"] a .wp-block-post-navigation-link__title,
nav[aria-label="Post navigation"] .wp-block-post-navigation-link__title {
  font-family: 'Playfair Display', serif !important;
  color: var(--plum) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
nav[aria-label="Post navigation"] .wp-block-post-navigation-link__label {
  font-size: 11px !important;
  color: var(--ink-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
nav[aria-label="Post navigation"] .wp-block-post-navigation-link__arrow-previous,
nav[aria-label="Post navigation"] .wp-block-post-navigation-link__arrow-next {
  color: var(--gold) !important;
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  nav[aria-label="Post navigation"] .wp-block-post-navigation-link { max-width: 100%; }
}

main .wp-block-query .wp-block-post-title {
  font-size: 16px !important;
}
main .wp-block-query .wp-block-post-date {
  font-size: 13px !important;
}

/* ---------------------------------------
   ARTICLE HEADER BAND
--------------------------------------- */
.article-header {
  background: var(--plum);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  flex-shrink: 0;
}
.article-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--violet) 50%, var(--gold) 100%);
  z-index: 2;
}
/* Featured-image hero background — only renders anything when the
   post actually has one set (core block emits nothing otherwise, so
   .article-header falls back to solid plum unchanged for every post
   without a photo, no per-post logic needed). Uniform scrim, not a
   directional fade like the blog-index hero — article-header-inner
   is a centered 760px column, not left-aligned in a wide container,
   so a left-to-right gradient wouldn't reliably cover the text zone
   at every viewport width. */
.article-header .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.article-header .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,10,46,0.62);
  z-index: 1;
  pointer-events: none;
}
.article-header-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lavender);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: var(--lavender); }
.article-breadcrumb a:hover { color: var(--white); }
.article-breadcrumb-sep { opacity: 0.5; }
.article-category {
  display: inline-block;
  background: var(--gold);
  color: var(--plum-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.article-header h1,
.article-header .wp-block-post-title {
  font-size: clamp(26px, 3.5vw, 42px);
  color: var(--white) !important;
  margin-bottom: 20px;
  text-align: left !important;
  font-family: 'Playfair Display', serif;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-meta-author { font-size: 14px; color: var(--lavender); }
.article-meta-sep { color: rgba(196,168,224,0.4); }
.article-meta-date, .article-meta-read {
  font-size: 13px;
  color: rgba(196,168,224,0.7);
}

/* ---------------------------------------
   ARTICLE LAYOUT — two-column: body + sidebar
--------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  padding: 60px 0 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.article-sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: var(--bloom);
  border: 1px solid rgba(196,168,224,0.3);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 14px;
}
.sidebar-toc { list-style: none; }
.sidebar-toc li { margin-bottom: 10px; }
.sidebar-toc a {
  font-size: 13px;
  color: var(--ink-mid);
  transition: color 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sidebar-toc a:hover { color: var(--plum); }
.sidebar-toc-num {
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}
.sidebar-wa {
  background: var(--plum);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
}
.sidebar-wa-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.sidebar-wa-text {
  font-size: 13px;
  color: var(--lavender);
  line-height: 1.6;
  margin-bottom: 16px;
}
.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 8px;
  transition: opacity 0.2s;
  width: 100%;
  justify-content: center;
}
.btn-wa-sm svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
.btn-wa-sm:hover { opacity: 0.9; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-sidebar { position: static; margin-top: 40px; }
}

/* ---------------------------------------
   SINGLE POST SPACING OVERRIDES
--------------------------------------- */
.article-header { margin: 0 !important; }
main.wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
main.wp-block-group > * + * {
  margin-top: 0 !important;
}
main.wp-block-group > .wp-block-group.alignfull {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
main .wp-block-group:has(> .wp-block-post-terms) {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.wp-block-group:has(> nav[aria-label="Post navigation"]) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}
.wp-block-comments {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}
main > .wp-block-group.alignwide:last-of-type {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* ---------------------------------------
   COMMENTS SECTION
--------------------------------------- */
.wp-block-comments {
  background: var(--white);
  border: 1px solid rgba(196,168,224,0.3);
  border-radius: 14px;
  padding: 36px 40px !important;
}
.wp-block-comments h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 22px !important;
  color: var(--plum) !important;
  margin-bottom: 4px !important;
}
.wp-block-comments h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 16px !important;
  color: var(--plum) !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}
.comment-respond {
  margin-top: 8px !important;
}
.comment-respond p.logged-in-as,
.comment-notes {
  font-size: 13px !important;
  color: var(--ink-light) !important;
  margin-bottom: 16px !important;
}
.comment-respond p.logged-in-as a,
.comment-notes a {
  color: var(--violet) !important;
}
.comment-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 6px;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  max-width: 100%;
  min-height: 110px;
  font-size: 14px !important;
  font-family: 'DM Sans', sans-serif;
  padding: 12px 14px;
  border: 1px solid rgba(196,168,224,0.4);
  border-radius: 8px;
  background: var(--bloom);
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(91,79,207,0.12);
  background: var(--white);
}
.comment-form .form-submit input,
.comment-form #submit,
.comment-form input[type="submit"] {
  background: var(--gold) !important;
  color: var(--plum-deep) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 11px 26px !important;
  border-radius: 8px !important;
  border: none !important;
  width: auto !important;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.comment-form .form-submit input:hover,
.comment-form #submit:hover,
.comment-form input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Individual comment items (once any exist) */
.wp-block-comments .wp-block-avatar img {
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.wp-block-comments .wp-block-comment-author-name {
  font-weight: 700 !important;
  color: var(--plum) !important;
  font-size: 14px !important;
}
.wp-block-comments .wp-block-comment-date {
  font-size: 12px !important;
  color: var(--ink-light) !important;
}
.wp-block-comments .wp-block-comment-content p {
  font-size: 14px !important;
  color: var(--ink-mid) !important;
  line-height: 1.65 !important;
  margin: 8px 0 !important;
}
.wp-block-comments .wp-block-comment-edit-link a,
.wp-block-comments .wp-block-comment-reply-link a {
  font-size: 12px !important;
  color: var(--violet) !important;
  font-weight: 600 !important;
}

@media (max-width: 600px) {
  .wp-block-comments { padding: 24px 22px !important; }
}

/* ---------------------------------------
   BLOG INDEX — hero band, card grid, author
   strip, CTA strip. Used on the WordPress
   Home/front-page template (/blog/). Card
   thumbs are CSS-only abstract art (dot +
   gradient), NOT per-article hand SVG like
   the old static blog.html — that doesn't
   scale to future posts.
--------------------------------------- */

.page-header {
  background: var(--plum);
  background-image:
    linear-gradient(to right, rgba(26,10,46,0.68) 0%, rgba(26,10,46,0.48) 50%, rgba(26,10,46,0.30) 100%),
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(91,79,207,0.25) 0%, transparent 65%),
    url("https://www.geravita.in/blog/wp-content/uploads/2026/08/blog-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  flex-shrink: 0 !important;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--violet) 50%, var(--gold) 100%);
  z-index: 2;
}
.page-header-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white) !important;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}
.page-header h1 em { color: var(--lavender); font-style: italic; }
.page-header-sub {
  font-size: 17px;
  color: var(--lavender);
  max-width: 560px;
  line-height: 1.65;
}

.blog-section { padding: 72px 0 96px; background: var(--bloom); }

ul.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.blog-grid > li { list-style: none; margin: 0; padding: 0; }

.blog-card {
  background: var(--white);
  border: 1px solid rgba(196,168,224,0.3);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(61,31,92,0.10); transform: translateY(-2px); }

.blog-card-thumb {
  background: var(--plum);
  background-image:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(91,79,207,0.55) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C4A8E0' fill-opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/svg%3E");
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 0 20px 18px;
  position: relative;
  overflow: hidden;
}
/* Featured image (only renders if the post has one set — core block
   emits nothing at all otherwise, so the gradient above shows through
   unchanged for posts without a photo). */
.blog-card-thumb .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.blog-card-thumb .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,46,0.6) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.blog-card-category {
  background: var(--gold);
  color: var(--plum-deep) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none !important;
  position: relative;
  z-index: 2;
}
.blog-card-category a { color: var(--plum-deep) !important; text-decoration: none !important; }

.blog-card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title,
.blog-card-title a {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--plum) !important;
  margin-bottom: 10px;
  line-height: 1.3;
  text-decoration: none !important;
}
.blog-card-excerpt { font-size: 13px; color: var(--ink-mid); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.blog-card-excerpt p { margin: 0 !important; font-size: 13px !important; color: var(--ink-mid) !important; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blog-card-author { font-size: 12px; color: var(--ink-light); margin: 0 !important; }
.blog-card-author strong { color: var(--ink-mid); font-weight: 600; }
.blog-card-read,
.blog-card-read a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px !important; font-weight: 600; color: var(--violet) !important;
  transition: gap 0.2s;
  text-decoration: none !important;
}
.blog-card:hover .blog-card-read { gap: 8px; }

.author-strip {
  background: var(--white);
  padding: 52px 0;
  border-top: 1px solid rgba(196,168,224,0.2);
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}
.author-inner { display: flex; align-items: center; gap: 28px; max-width: 680px; margin: 0 auto; }
.author-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); flex-shrink: 0; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.author-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 800; color: var(--plum); margin-bottom: 3px; }
.author-title { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.author-bio { font-size: 14px; color: var(--ink-mid); line-height: 1.6; margin: 0; }

.cta-strip {
  background: var(--plum);
  padding: 48px 0;
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.cta-strip h3 { font-size: clamp(20px, 2.5vw, 26px); color: var(--white) !important; font-family: 'Playfair Display', serif; margin: 0; }
.cta-strip h3 em { color: var(--gold); font-style: italic; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff !important; font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 8px; transition: opacity 0.2s, transform 0.15s; flex-shrink: 0; text-decoration: none !important; }
.btn-wa:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-wa svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

.wp-block-query-pagination {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
  justify-content: center;
  gap: 16px;
}
.wp-block-query-pagination a,
.wp-block-query-pagination span {
  font-size: 14px;
  color: var(--plum) !important;
  font-weight: 600;
}

@media (max-width: 900px) {
  ul.blog-grid { grid-template-columns: 1fr 1fr; }
  .author-inner { flex-direction: column; align-items: flex-start; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  ul.blog-grid { grid-template-columns: 1fr; }
}
