/*
Theme Name: Jayden & Kauri — Harcourts Whangarei
Theme URI: https://www.harcourtswhangarei.co.nz
Author: Built for Team Jayden & Kauri
Description: Custom real estate agent theme for Jayden King & Kauri Oxborough, Harcourts Whangarei. Includes a landing-page homepage and a fully editable Journal (blog) powered by standard WordPress posts.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jaydenkauri
*/

:root{
  --ink:#0B2036;
  --ink-2:#123049;
  --brand:#0EA5D4;
  --brand-deep:#0A7CA3;
  --timber:#A9744A;
  --paper:#F7F6F1;
  --paper-alt:#EBF4F8;
  --charcoal:#23303A;
  --line:rgba(11,32,54,0.12);
  --white:#FFFFFF;
  --shadow:0 20px 50px -20px rgba(11,32,54,0.35);
  --radius:2px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  background:var(--paper);
  color:var(--charcoal);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Fraunces',serif;
  font-weight:600;
  color:var(--ink);
  margin:0;
  letter-spacing:-0.01em;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.mono{font-family:'IBM Plex Mono',monospace;}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px;}
.wrap-narrow{max-width:900px;margin:0 auto;padding:0 28px;}
section{position:relative;}
.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--brand-deep);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  font-weight:500;
}
.eyebrow::before{
  content:"";
  width:22px;height:1px;background:var(--brand-deep);
  display:inline-block;
}
.screen-reader-text{position:absolute;left:-9999px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 28px;
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:15px;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:focus-visible{outline:2px solid var(--brand); outline-offset:3px;}
.btn-primary{background:var(--brand); color:var(--ink);}
.btn-primary:hover{background:#12BEE8; transform:translateY(-2px);}
.btn-ghost{background:transparent; color:var(--white); border-color:rgba(255,255,255,0.4);}
.btn-ghost:hover{border-color:#fff; transform:translateY(-2px);}
.btn-dark{background:var(--ink); color:var(--white);}
.btn-dark:hover{background:var(--ink-2); transform:translateY(-2px);}

/* ---------- Tide divider ---------- */
.tide{display:block; width:100%; height:34px; line-height:0;}
.tide svg{width:100%;height:100%;}

/* ---------- Nav ---------- */
header.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:20px 0;
  transition:background .35s ease, padding .35s ease, box-shadow .35s ease;
}
header.site-header.solid{
  background:rgba(11,32,54,0.94);
  backdrop-filter:blur(8px);
  padding:14px 0;
  box-shadow:0 8px 30px -12px rgba(0,0,0,0.4);
}
nav.main-nav{display:flex; align-items:center; justify-content:space-between; gap:20px;}
.brand{display:flex; flex-direction:column; line-height:1.05;}
.brand-name{font-family:'Fraunces',serif; font-weight:600; font-size:20px; color:#fff;}
.brand-sub{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.14em; color:var(--brand); text-transform:uppercase; margin-top:3px;}
.nav-links{display:flex; align-items:center; gap:32px; list-style:none; margin:0; padding:0;}
.nav-links a{
  color:rgba(255,255,255,0.82);
  font-size:14.5px;
  font-weight:500;
  position:relative;
  padding:4px 0;
}
.nav-links a::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--brand);
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.nav-links a:hover::after{transform:scaleX(1);}
.nav-cta{display:flex;align-items:center;gap:18px;}
.nav-phone{color:#fff;font-family:'Inter',sans-serif;font-weight:600;font-size:12.5px;display:flex;align-items:center;gap:6px;}
.nav-phone .phone-lines{display:flex;flex-direction:column;line-height:1.35;gap:1px;}
.nav-phone a{white-space:nowrap;}
.nav-toggle{display:none;background:none;border:none;color:#fff;font-size:26px;cursor:pointer;}

@media (max-width:940px){
  .nav-links,.nav-phone{display:none;}
  .nav-toggle{display:block;}
}

/* Blog-context header (not transparent hero underneath) */
.no-hero header.site-header{background:var(--ink); position:relative; padding:18px 0;}

/* ---------- Hero ---------- */
.hero{
  min-height:100vh;
  display:flex; align-items:center;
  background:linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #0d2740 100%);
  color:#fff;
  padding:150px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(14,165,212,0.18), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(169,116,74,0.12), transparent 40%);
  pointer-events:none;
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:64px; align-items:center; position:relative; z-index:2;
}
.hero h1{
  font-size:clamp(38px,5.2vw,64px);
  line-height:1.04;
  color:#fff;
  font-weight:600;
}
.hero h1 em{font-style:italic; color:var(--brand); font-weight:500;}
.hero p.lede{
  font-size:18px; line-height:1.65; color:rgba(255,255,255,0.78);
  max-width:520px; margin:26px 0 36px;
}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}
.hero-photo{position:relative;}
.hero-photo-frame{
  position:relative; border-radius:3px; overflow:hidden; box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,0.12);
}
.hero-photo-frame img{width:100%; height:560px; object-fit:cover; object-position:50% 20%;}
.hero-tag{
  position:absolute; left:-18px; bottom:-18px;
  background:var(--brand); color:var(--ink);
  padding:16px 20px; border-radius:3px;
  font-family:'Inter',sans-serif; font-weight:700; font-size:13px; letter-spacing:.01em;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.5);
  max-width:220px;
}
.hero-tag strong{display:block;font-family:'Fraunces',serif;font-size:16px;font-weight:600;margin-bottom:2px;letter-spacing:0;}

.stat-row{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  margin-top:64px; position:relative; z-index:2;
  border-top:1px solid rgba(255,255,255,0.14);
  padding-top:32px;
}
.stat-row div{padding-right:24px; border-right:1px solid rgba(255,255,255,0.12);}
.stat-row div:last-child{border-right:none;}
.stat-num{font-family:'IBM Plex Mono',monospace; font-size:clamp(22px,2.6vw,30px); color:var(--brand); font-weight:500;}
.stat-label{font-size:12.5px; color:rgba(255,255,255,0.65); margin-top:6px; line-height:1.4;}

@media (max-width:940px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-photo{order:-1;}
  .hero-photo-frame img{height:340px;}
  .stat-row{grid-template-columns:repeat(2,1fr); row-gap:24px;}
  .stat-row div{border-right:none; border-bottom:1px solid rgba(255,255,255,0.12); padding-bottom:20px;}
}

/* ---------- Trust bar ---------- */
.trust{background:var(--white); border-bottom:1px solid var(--line); padding:26px 0;}
.trust .wrap{display:flex; flex-wrap:wrap; gap:34px; align-items:center; justify-content:space-between;}
.trust-item{display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--ink); font-weight:600;}
.trust-dot{width:6px;height:6px;border-radius:50%;background:var(--timber);flex-shrink:0;}

/* ---------- Section basics ---------- */
.section{padding:110px 0;}
.section-alt{background:var(--paper-alt);}
.section-dark{background:var(--ink); color:rgba(255,255,255,0.85);}
.section-dark h2, .section-dark h3{color:#fff;}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,3.6vw,42px); line-height:1.12;}
.section-head p{font-size:16.5px; line-height:1.7; color:#4b5a66; margin-top:16px;}
.section-dark .section-head p{color:rgba(255,255,255,0.68);}

/* ---------- About / team ---------- */
.team-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:start;}
.team-photo{border-radius:3px; overflow:hidden; box-shadow:var(--shadow);}
.team-photo img{width:100%; height:520px; object-fit:cover;}
.team-photo-cap{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:#5a6a75; margin-top:14px; letter-spacing:.02em;}
.agent-card{display:grid; grid-template-columns:auto 1fr; gap:18px; padding-bottom:30px; margin-bottom:30px; border-bottom:1px solid var(--line);}
.agent-card:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}
.agent-badge{
  width:44px;height:44px;border-radius:50%; background:var(--ink); color:var(--brand);
  display:flex;align-items:center;justify-content:center;
  font-family:'Fraunces',serif; font-weight:600; font-size:16px; flex-shrink:0;
}
.agent-card h3{font-size:22px;margin-bottom:6px;}
.agent-role{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--brand-deep); letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; display:block;}
.agent-card p{font-size:15px; line-height:1.7; color:#3d4c57; margin:0 0 12px;}
.agent-contact{display:flex; gap:18px; flex-wrap:wrap; font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--ink);}
.agent-contact a{border-bottom:1px solid var(--brand); padding-bottom:1px;}
.about-summary{font-size:17px; line-height:1.75; color:#33424d; margin-bottom:40px;}
.about-summary strong{color:var(--ink);}

/* ---------- Marketing / why list ---------- */
.marketing-band{
  position:relative; margin:80px 0; border-radius:3px; overflow:hidden;
  min-height:420px; display:flex; align-items:flex-end; box-shadow:var(--shadow);
}
.marketing-band img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.marketing-band::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(11,32,54,0.92) 0%, rgba(11,32,54,0.55) 45%, rgba(11,32,54,0.05) 80%);
}
.marketing-band-content{position:relative; z-index:2; padding:48px; color:#fff; max-width:640px;}
.marketing-band-content .eyebrow{color:var(--brand);}
.marketing-band-content .eyebrow::before{background:var(--brand);}
.marketing-band-content p{font-size:17px;line-height:1.7;color:rgba(255,255,255,0.85);}

.metric-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-bottom:70px;}
.metric-cell{background:var(--white); padding:30px 24px;}
.metric-num{font-family:'IBM Plex Mono',monospace; font-size:34px; color:var(--brand-deep); font-weight:500;}
.metric-label{font-size:13px; color:#5a6a75; margin-top:8px; line-height:1.4;}

.method-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.method-card{background:var(--white); border:1px solid var(--line); padding:26px 22px; border-radius:3px;}
.method-card h4{font-size:17px; margin-bottom:12px;}
.method-card ul{margin:0; padding-left:18px; font-size:13.5px; line-height:1.65; color:#4b5a66;}
.method-card li{margin-bottom:4px;}

.portal-row{display:flex; gap:48px; align-items:center; flex-wrap:wrap; margin-top:20px;}
.portal-row span{font-family:'IBM Plex Mono',monospace; font-size:13px; letter-spacing:.05em; color:var(--ink); border-bottom:2px solid var(--brand); padding-bottom:4px;}

@media (max-width:940px){
  .team-grid{grid-template-columns:1fr;}
  .team-photo img{height:360px;}
  .metric-grid{grid-template-columns:repeat(2,1fr);}
  .method-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .metric-grid,.method-grid{grid-template-columns:1fr;}
}

/* ---------- Recent sales ---------- */
.sales-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
.sale-card{background:var(--white); padding:34px 28px; position:relative; min-height:190px; display:flex; flex-direction:column; justify-content:space-between;}
.sale-badge{
  position:absolute; top:0; right:0; background:var(--ink); color:var(--brand);
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:.1em; padding:6px 12px;
}
.sale-addr{font-family:'Fraunces',serif; font-weight:600; font-size:19px; color:var(--ink); line-height:1.25; margin-top:14px;}
.sale-suburb{font-size:13px; color:#5a6a75; margin-top:4px;}
.sale-meta{display:flex; justify-content:space-between; align-items:flex-end; margin-top:20px;}
.sale-price{font-family:'IBM Plex Mono',monospace; font-size:16px; color:var(--brand-deep); font-weight:500;}
.sale-date{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:#8a97a1;}
.sale-card.empty{display:flex;align-items:center;justify-content:center; background:var(--paper-alt);}
.sale-card.empty span{font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--brand-deep);text-align:center;}
@media (max-width:940px){.sales-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.sales-grid{grid-template-columns:1fr;}}

/* ---------- Testimonials ---------- */
.testi-strip{display:flex; gap:24px; overflow-x:auto; padding-bottom:16px; scroll-snap-type:x mandatory; -ms-overflow-style:none; scrollbar-width:none;}
.testi-strip::-webkit-scrollbar{display:none;}
.testi-card{
  scroll-snap-align:start; flex:0 0 min(420px,86vw);
  background:var(--white); border:1px solid var(--line); border-radius:3px;
  padding:32px 28px; display:flex; flex-direction:column; justify-content:space-between;
}
.testi-quote{font-family:'Fraunces',serif; font-size:17px; line-height:1.55; color:var(--ink); font-style:italic; font-weight:400;}
.testi-quote::before{content:"\201C"; color:var(--brand); font-size:30px; line-height:0; vertical-align:-8px; margin-right:2px; font-style:normal;}
.testi-attrib{margin-top:22px; font-family:'IBM Plex Mono',monospace; font-size:12px; color:#5a6a75; border-top:1px solid var(--line); padding-top:14px;}
.testi-attrib strong{color:var(--ink); display:block; font-family:'Inter',sans-serif; font-size:13.5px; margin-bottom:2px;}
.testi-nav{display:flex; gap:10px; margin-top:26px;}
.testi-nav button{
  width:38px;height:38px;border-radius:50%; border:1px solid var(--line); background:var(--white);
  cursor:pointer; font-size:16px; color:var(--ink); display:flex;align-items:center;justify-content:center;
  transition:background .2s ease, color .2s ease;
}
.testi-nav button:hover{background:var(--ink); color:#fff;}

/* ---------- Community ---------- */
.community{position:relative; overflow:hidden; color:#fff;}
.community img.bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.community::after{content:""; position:absolute; inset:0; background:linear-gradient(100deg, rgba(11,32,54,0.94) 30%, rgba(11,32,54,0.65) 100%);}
.community-inner{position:relative; z-index:2;}
.community .section-head p{color:rgba(255,255,255,0.72);}
.community h2, .community .section-head h2{color:#fff;}
.chip-cloud{display:flex; flex-wrap:wrap; gap:12px; margin-top:10px;}
.chip{border:1px solid rgba(255,255,255,0.3); padding:10px 18px; border-radius:30px; font-size:13.5px; color:rgba(255,255,255,0.9);}

/* ---------- Journal teaser (front page) ---------- */
.journal-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.journal-card{display:block; background:var(--white); border:1px solid var(--line); border-radius:3px; padding:28px 26px; transition:transform .25s ease, box-shadow .25s ease;}
.journal-card:hover{transform:translateY(-4px); box-shadow:var(--shadow);}
.journal-tag{font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--timber);}
.journal-card h3{font-size:18px; line-height:1.35; margin:14px 0 18px; color:var(--ink);}
.journal-read{font-size:12px; color:var(--brand-deep); border-bottom:1px solid var(--brand); padding-bottom:2px;}
@media (max-width:940px){.journal-grid{grid-template-columns:1fr;}}

/* ---------- Appraisal form ---------- */
.appraisal{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:flex-start;}
.faq-item{border-bottom:1px solid var(--line); padding:20px 0;}
.faq-item summary{
  cursor:pointer; font-family:'Fraunces',serif; font-weight:600; font-size:16.5px; color:var(--ink);
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--brand-deep); flex-shrink:0;}
.faq-item[open] summary::after{content:"\2212";}
.faq-item p{font-size:14.5px; line-height:1.7; color:#4b5a66; margin:14px 0 0;}

.form-card{background:var(--white); border:1px solid var(--line); border-radius:3px; padding:40px; box-shadow:var(--shadow);}
.form-card h3{font-size:24px; margin-bottom:8px;}
.form-card .sub{font-size:14.5px; color:#5a6a75; margin-bottom:28px;}
.field{margin-bottom:20px;}
.field label{display:block; font-size:12.5px; font-family:'IBM Plex Mono',monospace; letter-spacing:.05em; text-transform:uppercase; color:#5a6a75; margin-bottom:8px;}
.field input, .field textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:2px;
  font-family:'Inter',sans-serif; font-size:14.5px; color:var(--ink); background:var(--paper-alt);
  transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus{outline:none; border-color:var(--brand); background:#fff;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.form-note{font-size:12px; color:#8a97a1; margin-top:16px; line-height:1.6;}
.form-success{text-align:center; padding:40px 10px;}
.form-success .mono{color:var(--brand-deep); font-size:13px; letter-spacing:.08em;}
.form-success h3{margin:14px 0 10px;}
.form-success p{color:#4b5a66; font-size:15px; line-height:1.6;}
.form-error{background:#FBEAEA;border:1px solid #E4A3A3;color:#8A2B2B;padding:14px 16px;border-radius:2px;font-size:13.5px;margin-bottom:20px;}

@media (max-width:940px){
  .appraisal{grid-template-columns:1fr;}
  .form-card{padding:28px;}
  .field-row{grid-template-columns:1fr;}
}

/* ---------- Footer ---------- */
footer.site-footer{background:var(--ink); color:rgba(255,255,255,0.65); padding:70px 0 30px;}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:50px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,0.12);}
.footer-brand .brand-name{color:#fff; font-size:22px;}
.footer-brand p{font-size:13.5px; line-height:1.7; margin-top:16px; max-width:280px; color:rgba(255,255,255,0.55);}
.footer-col h5{font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand); margin-bottom:18px;}
.footer-col a, .footer-col p{display:block; font-size:13.5px; margin-bottom:10px; color:rgba(255,255,255,0.68); line-height:1.5;}
.footer-col a:hover{color:#fff;}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:12px; color:rgba(255,255,255,0.4); flex-wrap:wrap; gap:12px;}
.footer-bottom a{color:rgba(255,255,255,0.55);}

@media (max-width:940px){.footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}

/* reveal animation */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
.skip-link{position:absolute; left:-999px; top:0; background:var(--brand); color:var(--ink); padding:10px 16px; z-index:1000;}
.skip-link:focus{left:12px; top:12px;}

/* ================================================================
   JOURNAL (blog) — listing + single post
   ================================================================ */
.blog-hero{background:linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, #0d2740 100%); color:#fff; padding:170px 0 70px;}
.blog-hero h1{color:#fff; font-size:clamp(32px,4.6vw,52px); line-height:1.08; max-width:720px;}
.blog-hero p{font-size:17px; line-height:1.7; color:rgba(255,255,255,0.75); max-width:560px; margin-top:20px;}

.post-list{padding:70px 0 100px;}
.post-card{display:grid; grid-template-columns:140px 1fr; gap:28px; padding:34px 0; border-bottom:1px solid var(--line); align-items:start;}
.post-card:first-child{padding-top:0;}
.post-date{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--brand-deep); padding-top:6px;}
.post-tag{display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--timber); margin-bottom:10px;}
.post-card h2{font-size:24px; line-height:1.25; margin-bottom:10px;}
.post-card h2 a:hover{color:var(--brand-deep);}
.post-card p{font-size:15px; line-height:1.65; color:#4b5a66; margin:0 0 12px;}
.post-readmore{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--ink); border-bottom:1px solid var(--brand); padding-bottom:2px;}
@media (max-width:640px){ .post-card{grid-template-columns:1fr;} .post-date{padding-top:0;} }

article.post{padding:170px 0 40px;}
.post-header{max-width:900px;margin:0 auto 44px;padding:0 28px;}
.post-header .post-tag{margin-bottom:16px;}
.post-header h1{font-size:clamp(28px,4vw,44px); line-height:1.14; margin-bottom:18px;}
.post-meta{display:flex; gap:16px; align-items:center; font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:#5a6a75; flex-wrap:wrap;}
.post-featured{max-width:900px;margin:0 auto 44px;padding:0 28px;}
.post-featured img{border-radius:3px;width:100%;height:380px;object-fit:cover;}
.post-body{font-size:17px; line-height:1.8; color:#2c3a44;}
.post-body h2{font-size:26px; margin:44px 0 16px; line-height:1.25;}
.post-body h3{font-size:20px; margin:32px 0 12px;}
.post-body p{margin:0 0 22px;}
.post-body ul, .post-body ol{margin:0 0 22px; padding-left:22px;}
.post-body li{margin-bottom:8px;}
.post-body strong{color:var(--ink);}
.post-body a{color:var(--brand-deep); border-bottom:1px solid var(--brand);}
.post-body table{width:100%;border-collapse:collapse;margin:20px 0 36px;}
.post-body table td, .post-body table th{padding:12px 8px;border-bottom:1px solid var(--line);text-align:left;}
.post-body blockquote{
  border-left:3px solid var(--brand); background:var(--paper-alt); padding:24px 28px; margin:36px 0;
  font-family:'Fraunces',serif; font-style:italic; font-size:19px; line-height:1.55; color:var(--ink);
}
.cta-block{
  background:var(--ink); color:#fff; border-radius:3px; padding:40px 36px; margin:48px 0 20px;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
}
.cta-block h3{color:#fff; font-size:22px; margin-bottom:8px;}
.cta-block p{color:rgba(255,255,255,0.7); font-size:14.5px; margin:0; max-width:380px;}
.author-box{display:flex; gap:18px; align-items:center; margin:50px 0 0; padding:26px; background:var(--paper-alt); border-radius:3px;}
.author-badge{width:52px; height:52px; border-radius:50%; background:var(--ink); color:var(--brand); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; font-size:18px; flex-shrink:0;}
.author-box h4{font-size:16px; margin-bottom:4px;}
.author-box p{font-size:13.5px; color:#5a6a75; margin:0; line-height:1.5;}
.related{padding:20px 0 90px;}
.related h3{font-size:20px; margin-bottom:24px;}
.related-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
.related-card{border:1px solid var(--line); padding:24px; border-radius:3px; background:#fff;}
.related-card h4{font-size:16px; line-height:1.35; margin-bottom:0;}
@media (max-width:640px){ .related-grid{grid-template-columns:1fr;} }
