/*
Theme Name: Invoice Generation Tool
Theme URI: https://invoicegenerationtool.com
Author: Invoice Generation Tool
Description: SaaS/utility theme for InvoiceGenerationTool.com — a free, no-signup invoice generator plus templates, calculators, and industry guides. Teal/orange design system. Main menu editable under Appearance > Menus ("Primary Menu"); footer columns under Appearance > Widgets.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: invoicegenerationtool
*/

/* This stylesheet is the theme's required style.css (WordPress reads the header
   above for theme metadata). It also contains all compiled CSS, enqueued via
   functions.php using get_stylesheet_uri(). */


:root{
  --ink:#0f2027;
  --ink-soft:#42545c;
  --gray:#647178;
  --line:#e1e8ea;
  --line-strong:#c7d2d5;
  --paper:#ffffff;
  --paper-tint:#f5f8f9;
  --brand:#0f766e;
  --brand-dark:#0c5c56;
  --brand-tint:#e6f5f3;
  --accent:#f97316;
  --accent-dark:#dc5f0a;
  --accent-tint:#fef0e5;
  --navy:#0b2530;
  --success:#15803d;
  --danger:#dc2626;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper); color:var(--ink);
  font-family:'Inter',sans-serif; overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
::selection{ background:var(--brand); color:#fff; }
button{ font-family:inherit; cursor:pointer; }
.display{ font-family:'Sora',sans-serif; font-weight:700; letter-spacing:-0.01em; line-height:1.12; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--brand); outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ============ NAV ============ */
.nav{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:13px clamp(20px,4vw,56px);
  background:rgba(255,255,255,0.97); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-logo{ display:flex; align-items:center; gap:9px; }
.nav-mark{
  width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,var(--brand),#059669);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:'Sora',sans-serif; font-weight:700; font-size:14px;
}
.nav-word{ font-family:'Sora',sans-serif; font-weight:700; font-size:17px; }
.nav-word span{ color:var(--brand); }
.nav-links{ display:flex; gap:22px; align-items:center; font-size:13.5px; font-weight:700; }
.nav-links li{ list-style:none; }
.nav-links a{ opacity:0.75; }
.nav-links a:hover{ opacity:1; }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--brand); color:#fff;
  padding:10px 18px; border-radius:9px;
  font-size:13px; font-weight:700;
}
.nav-cta:hover{ background:var(--brand-dark); }
.nav-mobile-hide{ display:flex; }
@media(max-width:960px){ .nav-mobile-hide{ display:none; } }

/* ============ BUTTONS ============ */
.btn-primary{
  display:inline-flex; align-items:center; gap:9px;
  background:var(--brand); color:#fff; font-weight:700; font-size:14.5px;
  padding:13px 22px; border-radius:9px; border:none;
}
.btn-primary:hover{ background:var(--brand-dark); }
.btn-accent{
  display:inline-flex; align-items:center; gap:9px;
  background:var(--accent); color:#fff; font-weight:700; font-size:14.5px;
  padding:13px 22px; border-radius:9px; border:none;
}
.btn-accent:hover{ background:var(--accent-dark); }
.btn-outline{
  display:inline-flex; align-items:center; gap:9px;
  background:transparent; color:var(--ink); font-weight:700; font-size:14.5px;
  padding:13px 22px; border-radius:9px; border:1.5px solid var(--line-strong);
}
.btn-outline:hover{ border-color:var(--brand); }
.btn-sm{ padding:9px 15px; font-size:12.5px; }
.btn-ghost{ background:transparent; border:none; color:var(--brand); font-weight:700; font-size:13px; display:inline-flex; align-items:center; gap:6px; }
.btn-ghost:hover{ color:var(--brand-dark); }

/* ============ HERO ============ */
.hero{
  position:relative; overflow:hidden;
  padding:52px clamp(20px,4vw,56px) 40px;
  background:linear-gradient(180deg, var(--brand-tint) 0%, #ffffff 75%);
}
.hero-orb{ position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; opacity:0.4; }
.hero-orb.o1{ width:440px; height:440px; background:radial-gradient(circle, rgba(15,118,110,.25), transparent 70%); top:-120px; right:0; }
.hero-orb.o2{ width:340px; height:340px; background:radial-gradient(circle, rgba(249,115,22,.2), transparent 70%); bottom:-100px; left:0; }
.hero-inner{ position:relative; z-index:1; max-width:820px; margin:0 auto; text-align:center; }
.hero h1{ font-size:clamp(28px,4.2vw,46px); margin:14px 0 14px; color:var(--ink); }
.hero h1 .accent{ color:var(--brand); }
.hero p{ font-size:15.5px; line-height:1.7; color:var(--ink-soft); max-width:620px; margin:0 auto 22px; }
.pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:800; color:var(--brand-dark);
  background:var(--brand-tint); border:1px solid #c3e6e1;
  padding:7px 15px; border-radius:999px;
}
.pill .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); }
.trust-row{ display:flex; justify-content:center; gap:22px; flex-wrap:wrap; margin-top:18px; font-size:12px; color:var(--gray); font-weight:600; }
.trust-row span{ display:inline-flex; align-items:center; gap:6px; }

/* ============ SECTIONS ============ */
.section{ padding:72px clamp(20px,4vw,56px); border-bottom:1px solid var(--line); }
.section-tint{ background:var(--paper-tint); }
.sec-head{ max-width:720px; margin-bottom:38px; }
.sec-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.sec-head h2{ font-size:clamp(25px,3.4vw,36px); }
.sec-head h2 .accent{ color:var(--brand); }
.sec-head p{ margin-top:12px; color:var(--gray); font-size:15px; line-height:1.7; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-size:12px; font-weight:800;
  color:var(--brand-dark); letter-spacing:0.05em; text-transform:uppercase; margin-bottom:14px;
}
.eyebrow::before{ content:''; width:20px; height:3px; background:var(--accent); border-radius:2px; }

/* ============ FEATURE / CARD GRID ============ */
.feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media(max-width:960px){ .feat-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .feat-grid{ grid-template-columns:1fr; } }
.feat-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
@media(max-width:1080px){ .feat-grid.cols-4{ grid-template-columns:1fr 1fr; } }
.feat-card{ background:var(--paper); border:1px solid var(--line); border-radius:13px; padding:22px 20px; transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.feat-card:hover{ transform:translateY(-3px); border-color:var(--brand); box-shadow:0 18px 36px -22px rgba(15,32,39,.18); }
.feat-icon{ width:40px; height:40px; border-radius:10px; background:var(--brand-tint); color:var(--brand-dark); display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.feat-icon svg{ width:19px; height:19px; }
.feat-icon.accent-icon{ background:var(--accent-tint); color:var(--accent-dark); }
.feat-card h4{ font-family:'Sora',sans-serif; font-weight:700; font-size:14.5px; margin-bottom:6px; }
.feat-card p{ color:var(--gray); font-size:12.8px; line-height:1.6; }

/* ============ THE INVOICE GENERATOR ============ */
.gen-wrap{ max-width:1200px; margin:0 auto; }
.gen-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:26px; align-items:start; }
@media(max-width:960px){ .gen-grid{ grid-template-columns:1fr; } }
.gen-panel{ background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:24px; }
.gen-section-title{ font-family:'Sora',sans-serif; font-weight:700; font-size:14px; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.gen-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
@media(max-width:480px){ .gen-row{ grid-template-columns:1fr; } }
.gen-field label{ display:block; font-size:11.5px; font-weight:700; color:var(--ink-soft); margin-bottom:5px; }
.gen-field input, .gen-field select, .gen-field textarea{
  width:100%; padding:10px 12px; font-size:13.5px; font-family:'Inter',sans-serif; color:var(--ink);
  background:var(--paper-tint); border:1px solid var(--line-strong); border-radius:8px;
}
.gen-field textarea{ resize:vertical; min-height:60px; }
.gen-field{ margin-bottom:12px; }
.gen-logo-upload{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.gen-logo-preview{ width:56px; height:56px; border-radius:10px; background:var(--paper-tint); border:1.5px dashed var(--line-strong); display:flex; align-items:center; justify-content:center; overflow:hidden; flex:0 0 auto; }
.gen-logo-preview img{ width:100%; height:100%; object-fit:contain; }

.line-items-table{ width:100%; border-collapse:collapse; margin-bottom:12px; }
.line-items-table th{ text-align:left; font-size:10.5px; font-weight:800; text-transform:uppercase; color:var(--gray); padding:6px 8px; border-bottom:1px solid var(--line); }
.line-items-table td{ padding:6px 8px; vertical-align:top; }
.line-items-table input{ width:100%; padding:8px 9px; font-size:13px; border:1px solid var(--line-strong); border-radius:6px; background:var(--paper-tint); }
.li-remove{ background:none; border:none; color:var(--danger); font-size:18px; line-height:1; padding:4px; }
.li-desc-col{ width:34%; } .li-qty-col{ width:12%; } .li-price-col{ width:16%; } .li-tax-col{ width:14%; } .li-total-col{ width:16%; } .li-remove-col{ width:24px; }
.li-line-total{ font-size:13px; font-weight:700; color:var(--ink); padding-top:9px; display:block; }

.gen-totals{ margin-left:auto; max-width:320px; margin-top:16px; }
.gen-totals .gt-row{ display:flex; justify-content:space-between; padding:7px 0; font-size:13.5px; color:var(--ink-soft); }
.gen-totals .gt-row.grand{ border-top:2px solid var(--ink); margin-top:6px; padding-top:12px; font-family:'Sora',sans-serif; font-weight:700; font-size:18px; color:var(--ink); }
.gen-totals .gt-row input{ width:80px; text-align:right; padding:4px 6px; font-size:12.5px; border:1px solid var(--line-strong); border-radius:6px; }

/* Live running totals shown directly in the editor panel — visible
   confirmation (right next to the fields being edited) that tax,
   discount, and shipping are actually being calculated, not just in
   the separate preview panel. */
.gen-live-totals{ background:var(--paper-tint); border:1px solid var(--line); border-radius:10px; padding:14px 16px; margin-top:16px; }
.gen-live-totals .glt-row{ display:flex; justify-content:space-between; padding:5px 0; font-size:13px; color:var(--ink-soft); }
.gen-live-totals .glt-row.grand{ border-top:1.5px solid var(--line-strong); margin-top:6px; padding-top:10px; font-family:'Sora',sans-serif; font-weight:700; font-size:16px; color:var(--brand-dark); }

/* Live preview panel (sticky) */
.gen-preview-wrap{ position:sticky; top:80px; }
.invoice-preview{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:32px; box-shadow:0 20px 50px -30px rgba(15,32,39,.25); font-size:12px; color:#111; min-height:400px; }
.ip-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:24px; }
.ip-logo{ max-height:48px; max-width:140px; margin-bottom:8px; }
.ip-doctitle{ font-family:'Sora',sans-serif; font-weight:800; font-size:26px; text-align:right; color:var(--brand); text-transform:uppercase; letter-spacing:.02em; }
.ip-meta{ text-align:right; font-size:11px; color:#555; margin-top:6px; line-height:1.6; }
.ip-parties{ display:flex; justify-content:space-between; gap:20px; margin-bottom:22px; padding-bottom:18px; border-bottom:2px solid #eee; }
.ip-parties h6{ font-size:9.5px; text-transform:uppercase; letter-spacing:.05em; color:#888; margin-bottom:6px; font-weight:700; }
.ip-parties p{ font-size:12px; line-height:1.55; color:#222; white-space:pre-line; }
.ip-table{ width:100%; border-collapse:collapse; margin-bottom:18px; }
.ip-table th{ text-align:left; font-size:9.5px; text-transform:uppercase; letter-spacing:.04em; color:#888; padding:6px 4px; border-bottom:1.5px solid #ddd; }
.ip-table td{ padding:8px 4px; font-size:12px; border-bottom:1px solid #f0f0f0; }
.ip-table td.num{ text-align:right; }
.ip-totals{ margin-left:auto; max-width:220px; }
.ip-totals .row{ display:flex; justify-content:space-between; padding:4px 0; font-size:12px; color:#333; }
.ip-totals .row.grand{ border-top:2px solid #222; margin-top:6px; padding-top:8px; font-weight:800; font-size:15px; color:var(--brand); }
.ip-notes{ margin-top:22px; padding-top:16px; border-top:1px solid #eee; font-size:11px; color:#666; white-space:pre-line; }
.gen-actions{ display:flex; gap:10px; margin-top:16px; }
.gen-actions .btn-primary, .gen-actions .btn-outline{ flex:1; justify-content:center; }

/* Print styles: reliable native browser PDF export */
/* Print / PDF export: everything is hidden except a dedicated print-only
   container that JS injects as a direct child of <body> right before
   printing (see #igt-print-trigger in generator.js). Using a true
   body-level element — rather than trying to isolate the live preview
   in place with visibility/position tricks — avoids the invoice being
   positioned relative to a sticky/positioned ancestor deep in the page,
   which is what caused several blank pages before the content in
   earlier testing. */
#igt-print-area{ display:none; }
@media print{
  body > *:not(#igt-print-area){ display:none !important; }
  #igt-print-area{ display:block !important; position:static !important; }
  #igt-print-area .invoice-preview{ box-shadow:none; border:none; }
}

/* ============ TEMPLATE GALLERY ============ */
.template-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:1080px){ .template-grid{ grid-template-columns:1fr 1fr 1fr; } }
@media(max-width:760px){ .template-grid{ grid-template-columns:1fr 1fr; } }
.template-card{ background:var(--paper); border:1px solid var(--line); border-radius:12px; overflow:hidden; transition:transform .2s ease, border-color .2s ease; cursor:pointer; }
.template-card:hover{ transform:translateY(-3px); border-color:var(--brand); }
.template-card .tpl-thumb{ aspect-ratio:3/4; background:var(--paper-tint); display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
.template-card .tpl-thumb .tpl-bar{ position:absolute; top:0; left:0; right:0; height:8px; }
.template-card .tpl-label{ padding:10px 12px; font-size:12.5px; font-weight:700; text-align:center; }

/* ============ COMPARISON TABLE ============ */
.compare-table-wrap{ overflow-x:auto; }
.compare-table{ width:100%; border-collapse:collapse; min-width:640px; background:var(--paper); border-radius:14px; overflow:hidden; border:1px solid var(--line); }
.compare-table th, .compare-table td{ padding:13px 16px; text-align:left; font-size:13px; border-bottom:1px solid var(--line); }
.compare-table th{ background:var(--paper-tint); font-family:'Sora',sans-serif; font-weight:700; color:var(--ink); font-size:11.5px; text-transform:uppercase; }
.compare-table td.yes{ color:var(--success); font-weight:700; }
.compare-table td.no{ color:var(--gray); }
.compare-table tr:last-child td{ border-bottom:none; }

/* ============ PRICING ============ */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1000px; margin:0 auto; }
@media(max-width:900px){ .pricing-grid{ grid-template-columns:1fr; max-width:420px; } }
.price-card{ background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:28px 24px; position:relative; }
.price-card.featured{ border-color:var(--brand); box-shadow:0 30px 60px -30px rgba(15,118,110,.3); }
.price-badge{ position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--brand); color:#fff; font-size:10.5px; font-weight:700; padding:5px 14px; border-radius:999px; text-transform:uppercase; }
.price-card h4{ font-family:'Sora',sans-serif; font-weight:700; font-size:16px; margin-bottom:5px; }
.price-card .price-sub{ font-size:12px; color:var(--gray); margin-bottom:16px; }
.price-card .price-num{ font-family:'Sora',sans-serif; font-weight:700; font-size:34px; color:var(--ink); }
.price-card .price-num span{ font-size:13px; font-weight:600; color:var(--gray); }
.price-card ul{ list-style:none; margin:20px 0; display:flex; flex-direction:column; gap:10px; }
.price-card li{ display:flex; gap:8px; align-items:flex-start; font-size:13px; color:var(--ink-soft); }
.price-card li svg{ width:15px; height:15px; color:var(--success); flex:0 0 auto; margin-top:1px; }
.price-card .btn-primary, .price-card .btn-outline{ width:100%; justify-content:center; }

/* ============ CALCULATOR ============ */
.calc-box{ background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:26px; max-width:600px; margin:0 auto; }
.calc-field{ margin-bottom:14px; }
.calc-field label{ display:block; font-size:12.5px; font-weight:700; color:var(--ink-soft); margin-bottom:6px; }
.calc-field input, .calc-field select{ width:100%; padding:11px 13px; font-size:14px; background:var(--paper-tint); border:1px solid var(--line-strong); border-radius:8px; }
.calc-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:480px){ .calc-row{ grid-template-columns:1fr; } }
.calc-result{ background:var(--brand-tint); border:1px solid #c3e6e1; border-radius:12px; padding:18px; margin-top:16px; }
.calc-result .cr-label{ font-size:11.5px; font-weight:700; color:var(--brand-dark); text-transform:uppercase; margin-bottom:5px; }
.calc-result .cr-value{ font-family:'Sora',sans-serif; font-weight:700; font-size:28px; color:var(--ink); }
.calc-btn{ width:100%; justify-content:center; margin-top:4px; }

/* ============ FAQ ============ */
.faq-list{ max-width:780px; display:flex; flex-direction:column; gap:11px; }
.faq-item{ background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:4px 20px; }
.faq-item:hover{ border-color:var(--brand); }
.faq-item summary{ cursor:pointer; list-style:none; padding:16px 0; font-family:'Sora',sans-serif; font-size:14.5px; font-weight:700; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:14px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:20px; color:var(--brand); flex:0 0 auto; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ padding-bottom:16px; margin:0; font-size:13.3px; line-height:1.7; color:var(--gray); }

/* ============ PAGE HERO (template/format/industry/compare pages) ============ */
.page-hero{ padding:44px clamp(20px,4vw,56px) 36px; background:linear-gradient(180deg, var(--brand-tint) 0%, #ffffff 100%); }
.page-hero .breadcrumb{ font-size:12px; color:var(--gray); margin-bottom:12px; }
.page-hero .breadcrumb a{ color:var(--brand); }
.page-hero h1{ font-size:clamp(25px,3.4vw,38px); margin:12px 0 12px; color:var(--ink); max-width:820px; }
.page-hero p{ font-size:14.5px; line-height:1.7; color:var(--ink-soft); max-width:640px; }

/* ============ MID-PAGE CTA ============ */
.mid-cta{ background:var(--navy); color:#fff; padding:44px clamp(20px,4vw,56px); text-align:center; }
.mid-cta h3{ font-family:'Sora',sans-serif; font-weight:700; font-size:clamp(19px,2.6vw,26px); margin-bottom:10px; }
.mid-cta p{ color:#a8bec0; font-size:13.5px; margin-bottom:20px; }
.mid-cta .hero-ctas{ justify-content:center; margin:0; display:flex; gap:12px; flex-wrap:wrap; }
.mid-cta .btn-outline{ border-color:rgba(255,255,255,0.3); color:#fff; }
.mid-cta .btn-outline:hover{ background:rgba(255,255,255,0.06); border-color:#fff; }

/* ============ CTA BAND ============ */
.cta-band{ padding:64px clamp(20px,4vw,56px); text-align:center; background:linear-gradient(135deg,var(--brand),#075048); color:#fff; }
.cta-band .eyebrow{ justify-content:center; color:#a7ede4; }
.cta-band .eyebrow::before{ background:#a7ede4; }
.cta-band h2{ font-size:clamp(24px,3.6vw,36px); max-width:700px; margin:0 auto; color:#fff; }
.cta-band p{ margin:14px auto 0; max-width:460px; color:#c9ece7; font-size:14px; }
.cta-band .hero-ctas{ justify-content:center; margin-top:24px; display:flex; gap:12px; flex-wrap:wrap; }
.cta-band .btn-outline{ border-color:rgba(255,255,255,0.35); color:#fff; }
.cta-band .btn-outline:hover{ background:rgba(255,255,255,0.1); border-color:#fff; }

/* ============ FOOTER ============ */
footer{ background:var(--navy); color:#a3b9bb; padding:52px clamp(20px,4vw,56px) 24px; }
.foot-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:28px; max-width:1320px; margin:0 auto 36px; }
@media(max-width:900px){ .foot-top{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .foot-top{ grid-template-columns:1fr; } }
.foot-brand p{ font-size:12.5px; line-height:1.7; color:#7f9799; margin:12px 0; max-width:260px; }
.foot-col h5{ font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:#fff; margin-bottom:12px; }
.foot-col{ display:flex; flex-direction:column; gap:8px; }
.foot-col a{ font-size:12.5px; color:#8fa5a7; }
.foot-col a:hover{ color:#fff; }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; max-width:1320px; margin:0 auto; padding-top:20px; border-top:1px solid rgba(255,255,255,0.08); font-size:11.5px; color:#6f8688; }
.foot-bottom .legal{ display:flex; gap:14px; flex-wrap:wrap; }
.foot-bottom .legal a{ color:#6f8688; }
.foot-bottom .legal a:hover{ color:#fff; }

/* ============ BLOG ============ */
.post-hero{ background:var(--navy); color:#fff; padding:48px clamp(20px,4vw,56px) 40px; text-align:center; }
.post-hero .bc-tag{ display:inline-block; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#7fd8cb; background:rgba(15,118,110,0.25); padding:5px 14px; border-radius:999px; margin-bottom:14px; }
.post-hero h1{ font-family:'Sora',sans-serif; font-weight:700; font-size:clamp(24px,3.6vw,36px); max-width:820px; margin:0 auto 12px; }
.post-hero .post-meta{ font-size:12px; color:#a8bec0; }
.post-body{ max-width:740px; margin:0 auto; padding:48px clamp(20px,4vw,56px); }
.post-body h2{ font-family:'Sora',sans-serif; font-weight:700; font-size:22px; margin:30px 0 12px; color:var(--ink); }
.post-body h2:first-child{ margin-top:0; }
.post-body h3{ font-family:'Sora',sans-serif; font-weight:700; font-size:16.5px; margin:22px 0 10px; color:var(--ink); }
.post-body p{ font-size:14.5px; line-height:1.85; color:var(--ink-soft); margin-bottom:15px; }
.post-body ul, .post-body ol{ margin:0 0 16px 22px; }
.post-body li{ font-size:14.5px; line-height:1.8; color:var(--ink-soft); margin-bottom:7px; }
.post-body strong{ color:var(--ink); }
.post-body .post-cta{ background:var(--brand-tint); border:1px solid #c3e6e1; border-radius:14px; padding:24px; margin:28px 0; text-align:center; }
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1320px; margin:0 auto; }
@media(max-width:900px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .blog-grid{ grid-template-columns:1fr; } }
.blog-card{ background:var(--paper); border:1px solid var(--line); border-radius:13px; overflow:hidden; }
.blog-card:hover{ transform:translateY(-3px); box-shadow:0 18px 36px -22px rgba(15,32,39,.18); }
.blog-card .bc-tag{ display:inline-block; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--brand-dark); background:var(--brand-tint); padding:4px 10px; border-radius:999px; margin:18px 18px 0; }
.blog-card h3{ font-family:'Sora',sans-serif; font-weight:700; font-size:15.5px; margin:12px 18px 8px; }
.blog-card p{ color:var(--gray); font-size:12.5px; margin:0 18px 18px; }

/* ============ SCROLL REVEAL ============ */
[data-reveal]{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s cubic-bezier(.16,.8,.24,1); }
[data-reveal].is-visible{ opacity:1; transform:translate(0,0); }
.elementor-editor-active [data-reveal],
.elementor-edit-mode [data-reveal]{ opacity:1 !important; transform:none !important; }
