/* ==========================================================================
   PostNet Seaville — shared stylesheet
   Used by: index.html, blog/index.html, and every blog post page.
   Edit colors here and they update everywhere.
   ========================================================================== */

:root {
  --red: #e31837;
  --red-dark: #b30f28;
  --navy: #0f1f3d;
  --navy-2: #1a2f5c;
  --teal: #088a98;          /* WCAG AA — passes 4.5:1 on white for normal text */
  --teal-soft: #e6f7f9;
  --sand: #fbecd0;
  --gold: #f0b400;
  --plum: #6b2c91;
  --ink: #1a1a1a;
  --grey: #4a5568;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(15,31,61,.08);
  --shadow-lg: 0 10px 40px rgba(15,31,61,.14);
  --max: 1120px;
  --grad-hero: linear-gradient(135deg, #fffaf0 0%, #e6f7f9 50%, #ffffff 100%);
  --grad-quote: linear-gradient(135deg, #0f1f3d 0%, #1a2f5c 60%, #6b2c91 100%);
  --grad-red: linear-gradient(135deg, #e31837 0%, #ff4d6d 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); }
.brand-mark {
  background: var(--red); color: #fff; padding: 6px 10px; border-radius: 6px;
  font-weight: 800; letter-spacing: .04em; font-size: .95rem;
}
.brand-text { font-size: 1.05rem; }
.brand-text small { display: block; color: var(--grey); font-weight: 500; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
nav.primary a { color: var(--ink); margin-left: 22px; font-weight: 600; font-size: .95rem; }
nav.primary a:hover { color: var(--red); text-decoration: none; }
.cta-call {
  background: var(--red); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; margin-left: 24px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.cta-call:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.cta-call-short { display: none; }
@media (max-width: 880px) {
  .cta-call-full { display: none; }
  .cta-call-short { display: inline; }
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0; margin-left: 8px;
  align-items: center; justify-content: center;
}
.menu-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.menu-toggle .bar {
  display: block; width: 22px; height: 2px; background: var(--navy);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle .bar::before, .menu-toggle .bar::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy);
  transition: transform .2s ease, top .2s ease;
}
.menu-toggle .bar::before { top: -7px; }
.menu-toggle .bar::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  nav.primary {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column; padding: 8px 0;
  }
  nav.primary.open { display: flex; }
  nav.primary a {
    margin: 0; padding: 14px 22px; font-size: 1rem;
    border-bottom: 1px solid var(--line);
    min-height: 44px; display: flex; align-items: center;
  }
  nav.primary a:last-child { border-bottom: 0; }
  .cta-call { margin-left: 0; padding: 10px 14px; font-size: .9rem; }
  .nav { position: relative; }
}

/* Keyboard focus for all interactive elements */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hero */
.hero {
  padding: 70px 0 50px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,183,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -100px; left: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,0,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.eyebrow { color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.hero p.lead { font-size: 1.15rem; color: var(--grey); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: all .15s ease;
}
.btn-primary { background: var(--grad-red); color: #fff; box-shadow: 0 4px 14px rgba(227,24,55,.35); }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(227,24,55,.45); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; text-decoration: none; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 26px;
}
.hero-card h3 { color: var(--navy); margin-bottom: 14px; }
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { font-size: 1.1rem; color: var(--red); flex-shrink: 0; }
.info-row strong { color: var(--navy); display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.info-row span { color: var(--grey); font-size: .95rem; }

/* Section base */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--grey); font-size: 1.05rem; }

/* Services */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .15s ease, box-shadow .15s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--navy);
}
/* Primary services (Printing, Shipping) get PostNet red — others stay navy */
.service-card.primary-service::before { background: var(--red); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .badge {
  display: inline-block; background: rgba(15,31,61,.08); color: var(--navy);
  padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}
.service-card.primary-service .badge { background: rgba(227,24,55,.1); color: var(--red); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--grey); font-size: .95rem; margin: 0; }

/* Why / Local */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .local-grid { grid-template-columns: 1fr; } }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.stat { background: var(--bg-soft); padding: 18px; border-radius: var(--radius); border-left: 4px solid var(--red); }
.stat:nth-child(2) { border-left-color: var(--teal); background: var(--teal-soft); }
.stat:nth-child(3) { border-left-color: var(--gold); background: var(--sand); }
.stat:nth-child(4) { border-left-color: var(--plum); background: #f5edfa; }
.stat .n { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.stat .l { font-size: .85rem; color: var(--grey); }

/* Reviews */
.reviews { background: linear-gradient(180deg, #fff 0%, var(--teal-soft) 100%); }
.review-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.review-stars { color: var(--gold); font-size: 1.8rem; letter-spacing: 2px; text-shadow: 0 1px 0 rgba(0,0,0,.06); }
.review-rating-text { font-weight: 800; color: var(--navy); font-size: 1.3rem; }
.review-rating-text small { color: var(--grey); font-weight: 600; font-size: .85rem; display: block; letter-spacing: .04em; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 36px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; transition: transform .2s ease;
  display: flex; flex-direction: column;
}
.review-card:hover { transform: translateY(-3px); }
.review-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 18px;
  font-size: 4rem; color: var(--teal-soft); font-family: Georgia, serif;
  line-height: 1; pointer-events: none;
}
.review-card .stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 1px; }
.review-card .text { color: var(--ink); font-size: .98rem; line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.review-card .author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
}
.review-card:nth-child(6n+2) .avatar { background: linear-gradient(135deg, var(--teal) 0%, #06b6d4 100%); }
.review-card:nth-child(6n+3) .avatar { background: linear-gradient(135deg, var(--gold) 0%, #ff9500 100%); }
.review-card:nth-child(6n+4) .avatar { background: linear-gradient(135deg, var(--plum) 0%, #9333ea 100%); }
.review-card:nth-child(6n+5) .avatar { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.review-card:nth-child(6n+0) .avatar { background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%); }
.review-card .author .meta { font-size: .9rem; }
.review-card .author .name { font-weight: 700; color: var(--navy); display: block; }
.review-card .author .date { color: var(--grey); font-size: .8rem; }
.google-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; color: var(--grey); font-weight: 600;
}
.google-badge .g-mark {
  display: inline-flex; width: 18px; height: 18px; border-radius: 50%;
  background: conic-gradient(from 0deg, #4285F4 0deg 90deg, #34A853 90deg 180deg, #FBBC05 180deg 270deg, #EA4335 270deg 360deg);
  color: #fff; align-items: center; justify-content: center;
  font-weight: 800; font-size: .7rem;
}

/* Quote form */
.quote { background: var(--grad-quote); color: #fff; }
.quote h2 { color: #fff; }
.quote .section-head p { color: rgba(255,255,255,.8); }
.form-wrap {
  max-width: 720px; margin: 0 auto;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; margin-top: 14px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 1rem; font-family: inherit; color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
textarea { min-height: 110px; resize: vertical; }
.form-actions { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.form-actions .note { color: var(--grey); font-size: .85rem; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-category {
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; color: var(--red);
  margin: 28px 0 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}
.faq-category:first-child { margin-top: 0; }
.faq-category.teal { color: var(--teal); }
.faq-category.gold { color: #a37700; }
.faq-category.navy { color: var(--navy); }
.faq-category.plum { color: var(--plum); }
.faq-category.green { color: #15803d; }
details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 10px; background: #fff;
}
details[open] { background: var(--bg-soft); }
summary {
  font-weight: 700; color: var(--navy); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--red); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--grey); }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.contact-info { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.contact-info h3 { margin-bottom: 16px; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours-table td:first-child { color: var(--navy); font-weight: 600; }
.hours-table td:last-child { color: var(--grey); text-align: right; }

/* Footer */
footer.site { background: var(--navy); color: rgba(255,255,255,.8); padding: 40px 0 24px; font-size: .9rem; }
footer.site a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { padding: 4px 0; }
.disclosure {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; margin-top: 10px;
  font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5;
}

/* Utilities */
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Authorized carriers trust strip */
.trust-strip {
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .trust-row {
  display: flex; align-items: center; justify-content: center; gap: 14px 36px;
  flex-wrap: wrap; text-align: center;
}
.trust-strip .trust-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); flex-basis: 100%; margin-bottom: 4px;
}
.trust-strip .carrier {
  font-weight: 800; font-size: 1rem; letter-spacing: .03em;
  padding: 6px 14px; border-radius: 6px; color: var(--navy);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.trust-strip .carrier.ups   { color: #351c15; background: #fef3c7; border-color: #fde68a; }
.trust-strip .carrier.fedex { color: #4d148c; background: #f3e8ff; border-color: #e9d5ff; }
.trust-strip .carrier.dhl   { color: #d40511; background: #fff7d6; border-color: #ffeb99; }
.trust-strip .carrier.usps  { color: #004b87; background: #e6eef7; border-color: #cddcec; }

/* Storefront photo placeholder (in hero) */
.photo-placeholder {
  margin-top: 22px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 30px 20px;
  text-align: center;
  color: var(--grey);
  font-size: .9rem;
}
.photo-placeholder strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 1rem; }

/* Trustindex wrapper */
.trustindex-wrap {
  min-height: 240px;
  background: #fff; border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 30px 20px; margin-bottom: 30px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--grey);
}
.trustindex-wrap .placeholder-msg { max-width: 520px; }
.trustindex-wrap .placeholder-msg strong { display: block; color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.trustindex-wrap .placeholder-msg code {
  display: inline-block; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 4px; font-size: .85rem; color: var(--red);
}
/* When Trustindex is live, the placeholder hides itself */
.trustindex-wrap[data-live="true"] { border: 0; padding: 0; min-height: 0; background: transparent; }
.trustindex-wrap[data-live="true"] .placeholder-msg { display: none; }

/* ==========================================================================
   BLOG STYLES
   ========================================================================== */

/* Blog index (listing page) */
.blog-hero {
  background: var(--grad-hero);
  padding: 60px 0 40px;
  position: relative; overflow: hidden;
  text-align: center;
}
.blog-hero h1 { max-width: 800px; margin: 0 auto .5em; }
.blog-hero p { color: var(--grey); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.blog-card-img {
  height: 8px;
  background: var(--red);
}
.blog-card:nth-child(6n+2) .blog-card-img { background: var(--teal); }
.blog-card:nth-child(6n+3) .blog-card-img { background: var(--gold); }
.blog-card:nth-child(6n+4) .blog-card-img { background: var(--navy); }
.blog-card:nth-child(6n+5) .blog-card-img { background: var(--plum); }
.blog-card:nth-child(6n+0) .blog-card-img { background: #16a34a; }
.blog-card-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card .cat {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(227,24,55,.1); color: var(--red);
  margin-bottom: 12px; width: fit-content;
}
.blog-card .cat.teal { background: rgba(14,165,183,.12); color: var(--teal); }
.blog-card .cat.gold { background: rgba(240,180,0,.15); color: #a37700; }
.blog-card .cat.navy { background: rgba(15,31,61,.08); color: var(--navy); }
.blog-card .cat.plum { background: rgba(107,44,145,.12); color: var(--plum); }
.blog-card .cat.green { background: rgba(22,163,74,.12); color: #15803d; }
.blog-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card .excerpt { color: var(--grey); font-size: .95rem; flex-grow: 1; margin-bottom: 14px; }
.blog-card .meta { font-size: .8rem; color: var(--grey); border-top: 1px solid var(--line); padding-top: 12px; }
.blog-card .read-more { color: var(--red); font-weight: 700; font-size: .9rem; }

/* Blog post page */
.post-hero {
  background: var(--grad-hero);
  padding: 60px 0 40px;
  position: relative; overflow: hidden;
}
.post-hero::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,183,.18) 0%, transparent 70%);
  pointer-events: none;
}
.post-hero .container { position: relative; z-index: 1; max-width: 800px; }
.breadcrumb {
  font-size: .85rem; color: var(--grey); margin-bottom: 18px;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--red); }
.post-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 20px; font-size: .9rem; color: var(--grey);
}
.post-meta .post-cat {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(227,24,55,.1); color: var(--red);
}
.post-meta .post-cat.teal { background: rgba(14,165,183,.12); color: var(--teal); }
.post-meta .post-cat.gold { background: rgba(240,180,0,.15); color: #a37700; }
.post-meta .post-cat.navy { background: rgba(15,31,61,.08); color: var(--navy); }
.post-meta .post-cat.plum { background: rgba(107,44,145,.12); color: var(--plum); }
.post-meta .post-cat.green { background: rgba(22,163,74,.12); color: #15803d; }

article.post {
  max-width: 760px; margin: 0 auto; padding: 50px 20px;
  font-size: 1.05rem; line-height: 1.7; color: var(--ink);
}
article.post h2 { font-size: 1.6rem; margin-top: 1.8em; margin-bottom: .5em; }
article.post h3 { font-size: 1.2rem; margin-top: 1.6em; margin-bottom: .4em; color: var(--navy); }
article.post p { margin-bottom: 1.1em; color: #2d2d2d; }
article.post ul, article.post ol { margin: 0 0 1.2em; padding-left: 22px; color: #2d2d2d; }
article.post li { margin-bottom: .35em; }
article.post strong { color: var(--navy); }
article.post a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
article.post a:hover { color: var(--red-dark); }
article.post blockquote {
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
  margin: 1.5em 0; padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy); font-style: italic;
}
article.post .callout {
  background: var(--sand); border: 1px solid #f0d68a; border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 18px 22px; margin: 1.5em 0;
}
article.post .callout strong { color: #8b6500; }
article.post .price-box {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin: 1.5em 0;
}
article.post .price-box h3 { margin-top: 0; }
article.post .price-box table { width: 100%; border-collapse: collapse; font-size: .95rem; }
article.post .price-box td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
article.post .price-box td:last-child { text-align: right; font-weight: 700; color: var(--navy); }
article.post .price-box td:last-child:last-of-type { border-bottom: 0; }

/* Inline CTA inside post */
.post-cta {
  background: var(--grad-quote); color: #fff;
  border-radius: 14px; padding: 28px; margin: 2em 0;
  text-align: center;
}
.post-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.post-cta p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.post-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.post-cta .btn-secondary:hover { background: #fff; color: var(--navy); }

/* Related posts */
.related {
  background: var(--bg-soft); padding: 60px 0;
  border-top: 1px solid var(--line);
}
.related h2 { text-align: center; margin-bottom: 30px; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; max-width: 1120px; margin: 0 auto; padding: 0 20px;
}

/* Filter pills (blog index) */
.filter-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 36px;
}
.filter-pill {
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: .85rem; color: var(--grey);
  cursor: pointer; transition: all .15s ease;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
  text-decoration: none;
}
