/* =========================================================
   WELLNEST — Design Tokens
   Display: Fraunces (warm, editorial serif)
   Body:    Manrope (clean, humanist sans)
   Palette: sun-warmed spa neutrals with a single terracotta accent
   Google Fonts are enqueued by functions.php.
   ========================================================= */

:root{
  /* Palette */
  --cream:        #FBF3EA;
  --cream-deep:   #F4E7D8;
  --blush:        #EFDCC9;
  --white:        #FFFFFF;
  --ink:          #2A2018;
  --ink-soft:     #5B4C3F;
  --brown:        #4A3626;
  --brown-deep:   #2F2117;
  --terracotta:   #B36B3E;
  --terracotta-dark:#8F5230;
  --gold:         #C69A63;
  --line:         rgba(42,32,24,0.10);
  --line-soft:    rgba(42,32,24,0.06);

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 20px 45px -25px rgba(47,33,23,0.35);
  --shadow-card: 0 14px 30px -18px rgba(47,33,23,0.28);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:1rem; }

.container{
  width:100%;
  max-width:1220px;
  margin:0 auto;
  padding:0 32px;
}

section{ position:relative; }

/* ---------- Type scale ---------- */
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--brown-deep);
  margin:0;
  font-weight:500;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.6rem,5vw,4.4rem); line-height:1.04; font-weight:400; }
h2{ font-size:clamp(2rem,3.4vw,2.9rem); line-height:1.12; font-weight:400; }
h3{ font-size:1.4rem; font-weight:500; }
h4{ font-size:1.1rem; font-weight:600; }
em, .italic{ font-style:italic; color:var(--terracotta); font-weight:400; }
p{ margin:0; }
.lede{ color:var(--ink-soft); font-size:1.08rem; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--terracotta-dark);
  font-weight:700;
  background:var(--blush);
  padding:7px 16px 7px 12px;
  border-radius:var(--radius-pill);
}
.eyebrow::before{
  content:"";
  width:6px; height:6px; border-radius:50%;
  background:var(--terracotta);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 28px;
  border-radius:var(--radius-pill);
  font-weight:600;
  font-size:0.95rem;
  border:1px solid transparent;
  transition:transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn-primary{
  background:var(--brown-deep);
  color:var(--cream);
  box-shadow:var(--shadow-card);
}
.btn-primary:hover{ background:var(--terracotta-dark); transform:translateY(-2px); }
.btn-outline{
  background:transparent;
  color:var(--brown-deep);
  border-color:var(--line);
}
.btn-outline:hover{ border-color:var(--brown-deep); transform:translateY(-2px); }
.btn-light{
  background:var(--white);
  color:var(--brown-deep);
}
.btn-light:hover{ background:var(--terracotta); color:var(--white); transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:0.85rem; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,243,234,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 32px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display);
  font-size:1.35rem;
  color:var(--brown-deep);
}
.logo-mark{
  width:34px; height:34px; border-radius:50%;
  background:linear-gradient(160deg,var(--gold),var(--terracotta-dark));
  display:flex; align-items:center; justify-content:center;
}
.logo-mark svg{ width:18px; height:18px; }

.nav-links{
  display:flex; align-items:center; gap:38px;
  font-size:0.95rem; font-weight:500;
}
.nav-links a{
  position:relative; padding:4px 0; color:var(--ink-soft);
  transition:color .2s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--brown-deep); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--terracotta);
  border-radius:2px;
}
.header-cta{ display:flex; align-items:center; gap:18px; }

.nav-toggle{
  display:none; background:none; border:none; padding:6px;
}
.nav-toggle span{
  display:block; width:24px; height:2px; background:var(--brown-deep); margin:5px 0; transition:.25s;
}

/* ---------- Hero ---------- */
.hero{ padding:20px 32px 0; }
.hero-shell{
  max-width:1220px; margin:0 auto;
  background:var(--brown-deep);
  border-radius:36px;
  overflow:hidden;
  position:relative;
  min-height:560px;
  display:flex; align-items:flex-end;
}
.hero-shell img.hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0.92;
}
.hero-shell::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(20,13,8,0.78) 0%, rgba(20,13,8,0.28) 46%, rgba(20,13,8,0.05) 70%);
}
.hero-content{
  position:relative; z-index:2;
  padding:56px 56px 56px;
  color:var(--white);
  max-width:640px;
}
.hero-content h1{ color:var(--white); margin-bottom:18px; }
.hero-content .lede{ color:rgba(255,255,255,0.82); max-width:460px; margin-bottom:30px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.hero-stats{
  display:flex; align-items:center; gap:22px; flex-wrap:wrap;
}
.hero-stat-num{ font-family:var(--font-display); font-size:1.5rem; }
.hero-stat-label{ font-size:0.8rem; color:rgba(255,255,255,0.72); }
.hero-rating{ display:flex; align-items:center; gap:8px; }
.stars{ color:var(--gold); letter-spacing:2px; }

.hero-badge{
  position:absolute; z-index:3; right:56px; top:56px;
  background:rgba(255,255,255,0.14);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.25);
  border-radius:var(--radius-lg);
  padding:18px 20px;
  max-width:230px;
  color:var(--white);
  font-size:0.85rem;
  display:none;
}

/* ---------- Marquee / logo strip ---------- */
.marquee-wrap{
  padding:44px 32px;
  overflow:hidden;
  border-bottom:1px solid var(--line-soft);
}
.marquee-label{
  text-align:center; font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:26px; font-weight:600;
}
.marquee-track{
  display:flex; align-items:center; gap:74px;
  width:max-content;
  animation:scroll-x 28s linear infinite;
}
@keyframes scroll-x{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
.marquee-track span{
  font-family:var(--font-display); font-size:1.5rem; color:var(--ink-soft); opacity:0.55;
  white-space:nowrap;
}

/* ---------- Section shells ---------- */
.section{ padding:110px 0; }
.section-tight{ padding:70px 0; }
.section-cream-deep{ background:var(--cream-deep); }
.section-blush{ background:var(--blush); }
.section-brown{ background:var(--brown-deep); color:var(--cream); }
.section-brown h2, .section-brown h3{ color:var(--cream); }
.section-white{ background:var(--white); }

.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px;
  margin-bottom:56px; flex-wrap:wrap;
}
.section-head .eyebrow{ margin-bottom:18px; }
.section-head-copy{ max-width:640px; }
.section-head-side{ max-width:340px; color:var(--ink-soft); }
.section-head.centered{ flex-direction:column; text-align:center; align-items:center; }
.section-head.centered .section-head-copy{ max-width:600px; }

/* ---------- Cards: services ---------- */
.service-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.service-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:14px;
  border:1px solid var(--line-soft);
  transition:transform .3s ease, box-shadow .3s ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); }
.service-card.featured{ background:var(--brown-deep); border-color:var(--brown-deep); }
.service-media{
  position:relative; border-radius:var(--radius-md); overflow:hidden; height:230px; margin-bottom:18px;
}
.service-media img{ width:100%; height:100%; object-fit:cover; }
.service-body{ padding:6px 14px 18px; }
.service-card.featured .service-body h3,
.service-card.featured .service-body p{ color:var(--cream); }
.service-body h3{ margin-bottom:6px; }
.service-body p{ color:var(--ink-soft); font-size:0.92rem; margin-bottom:16px; }
.service-card.featured .service-body p{ color:rgba(251,243,234,0.72); }
.service-foot{ display:flex; align-items:center; justify-content:space-between; }
.service-price{ font-family:var(--font-display); font-size:1.3rem; color:var(--terracotta-dark); }
.service-card.featured .service-price{ color:var(--gold); }
.icon-btn{
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--cream-deep); color:var(--brown-deep);
  transition:.25s;
  border:none;
}
.icon-btn:hover{ background:var(--terracotta); color:var(--white); }
.service-card.featured .icon-btn{ background:rgba(251,243,234,0.14); color:var(--cream); }

/* ---------- Feature list (icon rows) ---------- */
.feature-layout{
  display:grid; grid-template-columns:0.95fr 1.05fr; gap:70px; align-items:start;
}
.feature-list{ display:grid; gap:26px; margin-top:10px; }
.feature-row{ display:flex; gap:18px; }
.feature-icon{
  width:48px; height:48px; border-radius:14px; flex-shrink:0;
  background:var(--blush); color:var(--terracotta-dark);
  display:flex; align-items:center; justify-content:center;
}
.feature-icon svg{ width:22px; height:22px; }
.feature-text h4{ margin-bottom:4px; }
.feature-text p{ color:var(--ink-soft); font-size:0.92rem; }
.feature-media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; }
.feature-media img{ width:100%; height:100%; object-fit:cover; min-height:420px; }
.feature-media-tag{
  position:absolute; left:22px; bottom:22px;
  background:var(--white); border-radius:var(--radius-pill);
  padding:10px 18px; font-size:0.85rem; font-weight:600;
  display:flex; align-items:center; gap:8px;
}

/* ---------- Therapists ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.team-card{
  background:var(--white); border-radius:var(--radius-lg);
  overflow:hidden; border:1px solid var(--line-soft);
  transition:transform .3s ease, box-shadow .3s ease;
}
.team-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); }
.team-photo{ height:280px; overflow:hidden; }
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-info{ padding:22px 24px 26px; }
.team-top{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:4px; }
.team-rating{ font-size:0.82rem; color:var(--terracotta-dark); font-weight:700; }
.team-role{ color:var(--ink-soft); font-size:0.85rem; margin-bottom:12px; }
.team-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.team-tags span{
  font-size:0.75rem; padding:6px 12px; border-radius:var(--radius-pill);
  background:var(--cream-deep); color:var(--ink-soft); font-weight:600;
}

/* ---------- Pricing ---------- */
.billing-toggle{
  display:inline-flex; background:var(--cream-deep); padding:6px; border-radius:var(--radius-pill);
  margin:0 auto 50px; gap:4px;
}
.billing-toggle button{
  border:none; background:transparent; padding:10px 24px; border-radius:var(--radius-pill);
  font-weight:600; font-size:0.88rem; color:var(--ink-soft); transition:.25s;
}
.billing-toggle button.active{ background:var(--brown-deep); color:var(--cream); }

.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.price-card{
  background:var(--white); border:1px solid var(--line-soft); border-radius:var(--radius-lg);
  padding:36px 30px; display:flex; flex-direction:column;
}
.price-card.featured{
  background:var(--brown-deep); color:var(--cream); position:relative;
  transform:translateY(-14px);
  box-shadow:var(--shadow-soft);
}
.price-card.featured h3, .price-card.featured .price-amount{ color:var(--cream); }
.price-badge{
  position:absolute; top:-14px; right:30px;
  background:var(--terracotta); color:var(--white);
  font-size:0.72rem; font-weight:700; padding:6px 14px; border-radius:var(--radius-pill);
}
.price-amount{
  font-family:var(--font-display); font-size:2.6rem; color:var(--brown-deep); margin:14px 0 4px;
}
.price-amount span{ font-family:var(--font-body); font-size:0.95rem; font-weight:600; color:var(--ink-soft); }
.price-card.featured .price-amount span{ color:rgba(251,243,234,0.65); }
.price-desc{ color:var(--ink-soft); font-size:0.9rem; margin-bottom:24px; }
.price-card.featured .price-desc{ color:rgba(251,243,234,0.72); }
.price-features{ display:grid; gap:12px; margin:26px 0 30px; flex-grow:1; }
.price-features li{ display:flex; gap:10px; font-size:0.9rem; align-items:flex-start; }
.price-features svg{ width:16px; height:16px; flex-shrink:0; margin-top:3px; color:var(--terracotta); }
.price-card.featured .price-features svg{ color:var(--gold); }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.testi-card{
  background:var(--white); border:1px solid var(--line-soft); border-radius:var(--radius-lg);
  padding:26px; display:flex; flex-direction:column; gap:16px;
}
.testi-card.image-card{ padding:0; overflow:hidden; }
.testi-card.image-card img{ width:100%; height:100%; object-fit:cover; min-height:260px; }
.testi-quote{ font-size:0.92rem; color:var(--ink-soft); }
.quote-mark{ font-family:var(--font-display); font-size:2.4rem; color:var(--terracotta); line-height:0.5; display:block; margin-bottom:6px; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-avatar{ width:40px; height:40px; border-radius:50%; overflow:hidden; flex-shrink:0; }
.testi-avatar img{ width:100%; height:100%; object-fit:cover; }
.testi-name{ font-weight:700; font-size:0.88rem; }
.testi-role{ font-size:0.78rem; color:var(--ink-soft); }

/* ---------- CTA / contact block ---------- */
.cta-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:50px; align-items:start; }
.cta-info{ color:var(--cream); }
.cta-info h2{ color:var(--cream); margin-bottom:16px; }
.cta-info p{ color:rgba(251,243,234,0.75); margin-bottom:30px; }
.cta-contacts{ display:grid; gap:18px; margin-top:36px; }
.cta-contact-row{ display:flex; gap:14px; align-items:center; }
.cta-contact-row .icon-btn{ background:rgba(251,243,234,0.12); color:var(--cream); }
.cta-contact-row div span{ display:block; font-size:0.78rem; color:rgba(251,243,234,0.6); }

.form-card{
  background:var(--cream); border-radius:var(--radius-lg); padding:36px;
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:0.82rem; font-weight:700; color:var(--brown-deep); }
.form-field input, .form-field select, .form-field textarea{
  border:1px solid var(--line); background:var(--white); border-radius:var(--radius-sm);
  padding:13px 16px; color:var(--ink); outline:none; transition:border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--terracotta); }
.form-field textarea{ resize:vertical; min-height:100px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--brown-deep); color:rgba(251,243,234,0.75); padding-top:80px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:60px; border-bottom:1px solid rgba(251,243,234,0.12); }
.footer-brand .logo{ color:var(--cream); margin-bottom:16px; }
.footer-brand p{ font-size:0.9rem; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(251,243,234,0.2);
  display:flex; align-items:center; justify-content:center; transition:.25s;
}
.footer-social a:hover{ background:var(--terracotta); border-color:var(--terracotta); }
.footer-social svg{ width:16px; height:16px; }
.footer-col h4{ color:var(--cream); margin-bottom:20px; font-size:0.95rem; }
.footer-col ul{ display:grid; gap:12px; font-size:0.9rem; }
.footer-col a:hover{ color:var(--cream); }
.footer-contact li{ display:flex; gap:10px; font-size:0.9rem; align-items:flex-start; margin-bottom:14px; }
.footer-contact svg{ width:16px; height:16px; margin-top:3px; flex-shrink:0; color:var(--gold); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:26px 0; font-size:0.82rem; color:rgba(251,243,234,0.55); flex-wrap:wrap; gap:12px;
}
.footer-bottom a{ margin-left:22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding:64px 0 70px;
  text-align:center;
}
.page-hero .eyebrow{ margin-bottom:20px; }
.page-hero p{ max-width:560px; margin:18px auto 0; color:var(--ink-soft); }
.breadcrumb{ display:flex; justify-content:center; gap:8px; font-size:0.85rem; color:var(--ink-soft); margin-top:18px; }
.breadcrumb .sep{ opacity:0.5; }

/* ---------- Misc reusable ---------- */
.divider-dot{ width:5px; height:5px; border-radius:50%; background:var(--terracotta); display:inline-block; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat-num{ font-family:var(--font-display); font-size:2.6rem; color:var(--brown-deep); }
.stat-label{ color:var(--ink-soft); font-size:0.88rem; margin-top:6px; }

.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.value-card{ background:var(--white); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:32px 28px; }
.value-card .feature-icon{ margin-bottom:18px; }
.value-card h4{ margin-bottom:10px; }
.value-card p{ color:var(--ink-soft); font-size:0.92rem; }

.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:170px; gap:16px; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; border-radius:var(--radius-md); }
.gallery-grid .tall{ grid-row:span 2; }

.faq-list{ max-width:760px; margin:0 auto; display:grid; gap:14px; }
.faq-item{ background:var(--white); border:1px solid var(--line-soft); border-radius:var(--radius-md); padding:22px 26px; }
.faq-item summary{ cursor:pointer; font-weight:600; display:flex; justify-content:space-between; align-items:center; list-style:none; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; color:var(--terracotta); }
.faq-item[open] summary::after{ content:"−"; }
.faq-item p{ margin-top:14px; color:var(--ink-soft); font-size:0.92rem; }

.map-card{ border-radius:var(--radius-lg); overflow:hidden; height:100%; min-height:320px; }
.map-card iframe{ width:100%; height:100%; border:0; filter:sepia(18%) saturate(85%); }

/* ---------- Animations ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .service-grid, .team-grid, .pricing-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; row-gap:44px; }
  .feature-layout{ grid-template-columns:1fr; }
  .feature-media img{ min-height:320px; }
  .cta-grid{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .price-card.featured{ transform:none; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  .nav-links{
    position:fixed; inset:76px 20px auto 20px; z-index:90;
    background:var(--white); border-radius:var(--radius-lg);
    flex-direction:column; align-items:flex-start; padding:24px;
    box-shadow:var(--shadow-soft); gap:18px;
    transform:translateY(-12px); opacity:0; pointer-events:none; transition:.25s;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-toggle{ display:block; }
  .header-cta .btn-outline{ display:none; }
  .hero-content{ padding:40px 26px; max-width:100%; }
  .hero-badge{ display:none; }
  .stat-row{ grid-template-columns:repeat(2,1fr); gap:30px; }
}
@media (max-width:640px){
  .container{ padding:0 20px; }
  .header-inner{ padding:16px 20px; }
  .hero{ padding:14px 14px 0; }
  .hero-shell{ border-radius:24px; min-height:auto; }
  .service-grid, .team-grid, .pricing-grid, .testi-grid, .value-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .footer-bottom a{ margin-left:0; margin-right:18px; }
  .section{ padding:70px 0; }
  .gallery-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:130px; }
  .section-head{ margin-bottom:38px; }
}

/* =========================================================
   WordPress helpers
   ========================================================= */

/* Custom logo sizing */
.custom-logo{ width:auto; max-height:44px; height:auto; }

/* Elementor / classic page content (when a page has real content) */
.page-content{ padding:90px 32px; }
.page-content > .alignfull{ margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); max-width:100vw; }
.page-content > .alignwide{ max-width:1220px; margin-left:auto; margin-right:auto; }
.page-content h1,.page-content h2,.page-content h3,.page-content h4{ margin:1.4em 0 0.5em; }
.page-content p{ margin-bottom:1.2em; }
.page-content img{ border-radius:var(--radius-md); }
.page-content a{ color:var(--terracotta-dark); text-decoration:underline; }
.page-content a:hover{ color:var(--terracotta); }

/* Block editor alignment within a container */
.aligncenter{ display:block; margin-left:auto; margin-right:auto; }
.alignleft{ float:left; margin:0.5em 1.5em 0.5em 0; }
.alignright{ float:right; margin:0.5em 0 0.5em 1.5em; }

/* Blog cards */
.blog-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.blog-card .team-photo img{ transition:transform .3s ease; }
.blog-card:hover .team-photo img{ transform:scale(1.04); }

/* Pagination */
.pagination ul{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.pagination li{ list-style:none; }
.pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 14px;
  border-radius:var(--radius-pill); border:1px solid var(--line);
  font-weight:600; font-size:0.9rem; color:var(--brown-deep); transition:.25s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover{ background:var(--brown-deep); color:var(--cream); border-color:var(--brown-deep); }

/* Search form */
.search-form{ display:flex; gap:10px; }
.search-form .form-field{ flex:1; }
.search-field{ width:100%; }

/* Comments */
.comment-list{ list-style:none; }
.comment-list .comment-body{
  background:var(--white); border:1px solid var(--line-soft);
  border-radius:var(--radius-md); padding:20px 24px;
}
.comment-list .avatar{ border-radius:50%; margin-right:14px; }
.comment-list .comment-metadata{ font-size:0.8rem; color:var(--ink-soft); }
.comment-list .reply a{ color:var(--terracotta-dark); font-weight:600; font-size:0.85rem; }
.comment-respond{ margin-top:34px; }
.comment-form label{ display:block; font-size:0.82rem; font-weight:700; color:var(--brown-deep); margin:12px 0 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width:100%; border:1px solid var(--line); background:var(--white);
  border-radius:var(--radius-sm); padding:13px 16px; color:var(--ink); outline:none;
}
.comment-form input:focus, .comment-form textarea:focus{ border-color:var(--terracotta); }
.comment-form .submit{ margin-top:14px; }

@media (max-width:1080px){
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .blog-grid{ grid-template-columns:1fr; }
  .page-content{ padding:60px 20px; }
}

