/* ==========================================================================
   Food Packaging by Savor Brands — global styles
   ========================================================================== */

:root {
  /* Brand colors */
  --color-primary: #12204b;        /* Navy */
  --color-orange: #f4792e;         /* Accent Orange (primary CTA) */
  --color-teal: #1f9aad;           /* Teal (solutions + testimonials) */
  --color-teal-dark: #17869a;
  --color-green: #6f9e3f;          /* Olive green (accents) */
  --color-green-soft: #8bc34a;
  --color-purple: #453f96;         /* Performs band */
  --color-purple-box: #6d35b1;
  --color-yellow: #e7a935;         /* Farmers feature card */

  /* Neutrals */
  --color-bg: #ffffff;
  --color-cream: #f3ebdd;
  --color-cream-soft: #f7f1e6;
  --color-gray: #e9eef1;
  --color-white: #ffffff;
  --color-text: #243047;
  --color-muted: #5b6675;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* UI */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 6px 20px rgba(18, 32, 75, 0.08);
  --shadow-md: 0 12px 34px rgba(18, 32, 75, 0.12);
  --container: 1440px;
  --gutter: 24px;
  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-orange); text-decoration: none; }
a:hover { color: #d8641c; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: -0.01em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.text-orange { color: var(--color-orange); }
.text-green { color: var(--color-green); }
.text-teal { color: var(--color-teal); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  cursor: pointer; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background-color: var(--color-orange); color: #fff; box-shadow: var(--shadow-soft); border: solid; }
.btn-primary:hover { background-color: #db6522; color: #fff; }
.btn-outline { background-color: #fff; color: var(--color-primary); border-color: var(--color-gray); }
.btn-outline:hover { border-color: var(--color-orange); color: var(--color-orange); }
.btn-outline-white { background-color: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-outline-white:hover { background-color: #fff; color: var(--color-orange); }
.btn-navy { background-color: var(--color-primary); color: #fff; }
.btn-navy:hover { background-color: #0b1636; color: #fff; }
.btn-white { background-color: #fff; color: var(--color-primary); }
.btn-white:hover { background-color: var(--color-cream); color: var(--color-primary); }
.btn-arrow::after { content: "\2192"; font-weight: 700; }

/* --------------------------------------------------------------------------
   Header (white bar, text logo lockup)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-gray);
  box-shadow: 0 1px 0 rgba(18, 32, 75, 0.03);
  background: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%);
  border-bottom: solid 2px #05254899;
  -moz-box-shadow: 3px 3px 5px 6px #ccc;
  -webkit-box-shadow: 3px 3px 5px 6px #ccc;
  box-shadow: -1px -6px 15px 1px #5e5e5e;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 61px; height: 61px; object-fit: contain; }
.brand-text { font-family: var(--font-heading); line-height: 1.05; }
.brand-name { display: block; font-weight: 700; font-size: 1.4rem; color: var(--color-primary); letter-spacing: -0.01em; }
.brand-sub { display: block; font-size: 0.66rem; font-weight: 600; color: var(--color-primary); letter-spacing: 0.08em; margin-top: 2px; }
.brand-sub strong { font-weight: 700; color: var(--color-primary); }
.brand-sub em { font-style: normal; font-weight: 700; color: var(--color-orange); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem;
  color: var(--color-primary); border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--color-orange); }
.nav-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--color-gray); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-caret { transform: rotate(225deg) translateY(2px); }
.dropdown a { display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); color: var(--color-text); font-size: 0.92rem; font-weight: 500; }
.dropdown a:hover { background: var(--color-cream-soft); color: var(--color-orange); }
.dropdown.dropdown-wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.header-cta { flex-shrink: 0; margin-left: 8px; }

/* Hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; flex-direction: column; justify-content: center; gap: 5px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; height: 3px; width: 24px; background: var(--color-primary); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-backdrop { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--color-cream) url(/assets/images/HeroDesktopImage.jpg) no-repeat right -100px;
  background-size: inherit;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
}
.hero-content { position: relative; max-width: 54%; padding: 40px 0; }
.hero-content h1 { margin-bottom: 1.1rem; }
.hero-lede { font-size: 1.18rem; color: var(--color-muted); max-width: 40ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img-mobile { display: none; }

/* --------------------------------------------------------------------------
   Trust bar (navy strip)
   -------------------------------------------------------------------------- */
.trust-bar { background: var(--color-primary); border-top: solid 2px white; border-bottom: solid 2px white; }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); flex-wrap: wrap; }
.trust-bar-item { display: flex; align-items: center; gap: 12px; color: #fff; }
.trust-bar-item img { width: 34px; height: 34px; flex-shrink: 0; }
.trust-bar-item strong { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; line-height: 1.2; color: #fff; }

/* --------------------------------------------------------------------------
   Solutions (teal band)
   -------------------------------------------------------------------------- */
.solutions {
  background: #1f9aad;
  color: #fff;
  background: linear-gradient(to bottom, #1f9aad 0%, #00576d 100%);
}
.solutions .section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.solutions .section-head h2 { color: #fff; margin-bottom: 0.75rem; }
.solutions .section-head p { color: rgba(255,255,255,0.9); margin: 0; }
.solutions-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sol-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); border: solid 3px white; }
.sol-card > img { width: 100%; height: 260px; object-fit: cover; }
.sol-card-body { padding: 18px 18px 60px; position: relative; flex: 1; }
.sol-card-body strong { display: block; font-family: var(--font-heading); font-size: 1.02rem; margin-bottom: 6px; color: var(--color-primary); }
.sol-card-body span { font-size: 0.86rem; color: var(--color-muted); }
.sol-arrow { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; background: var(--color-orange); }
/* per-card accent */
.sol-card.accent-orange .sol-card-body strong { color: var(--color-orange); }
.sol-card.accent-orange .sol-arrow { background: var(--color-orange); }
.sol-card.accent-navy .sol-arrow { background: var(--color-primary); }
.sol-card.accent-purple .sol-arrow { background: var(--color-purple-box); }
.sol-card.accent-green .sol-card-body strong { color: var(--color-green); }
.sol-card.accent-green .sol-arrow { background: var(--color-green); }
/* Feature card (Farmers & Producers) */
.sol-card.is-feature { position: relative; color: #fff; min-height: 100%; }
.sol-card.is-feature img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.sol-card.is-feature .sol-feature-overlay { position: relative; margin-top: auto; padding: 18px 18px 60px; background: linear-gradient(to top, rgba(150,101,20,0.92), rgba(150,101,20,0.55) 60%, rgba(150,101,20,0)); }
.sol-card.is-feature strong { display: block; font-family: var(--font-heading); font-size: 1.02rem; margin-bottom: 6px; color: #fff; }
.sol-card.is-feature span { font-size: 0.86rem; color: rgba(255,255,255,0.9); }
.sol-card.is-feature .sol-arrow { background: #fff; color: var(--color-yellow); }

/* --------------------------------------------------------------------------
   Printing + Sustainability split band
   -------------------------------------------------------------------------- */
.band { display: grid; grid-template-columns: 1.7fr 1fr; border-top: solid 2px white; border-bottom: solid 2px #902d01; }
.band-cell { padding: 56px 6% 56px 0; min-height: 440px; display: flex; flex-direction: column; justify-content: center; background-repeat: no-repeat; background-position: right center; background-size: cover; }
.band-print { background-color: var(--color-orange); background-image: url(/assets/images/PremiumPrintingBG-AlignRight.jpg); color: #fff; padding-left: max(calc((100vw - var(--container)) / 2 + var(--gutter)), var(--gutter)); }
.band-print h2 { color: #fff; max-width: 250px; }
.band-print p { color: rgba(255,255,255,0.92); max-width: 300px; }
.band-print .band-list { max-width: 300px; }
.band-sustain { background-color: var(--color-cream); background-image: url(/assets/images/SustainabiltyThatMakesDifferent-AlignRight.jpg); padding-left: 48px; padding-right: max(calc((100vw - var(--container)) / 2 + var(--gutter)), var(--gutter)); }
.band-sustain p { color: var(--color-muted); max-width: 30ch; }
.band-list { margin: 0.5rem 0 1.6rem; }
.band-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; }
.band-list li::before { content: "\2713"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; font-size: 0.78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.band-print .band-list li { color: #fff; }
.band-print .band-list li strong { color: #fff; }
.band-print .band-list li::before { background: #fff; color: var(--color-orange); }
.band-sustain .band-list li { color: var(--color-primary); }
.band-sustain .band-list li::before { background: var(--color-green); color: #fff; }
.band .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Insights (blog cards carousel)
   -------------------------------------------------------------------------- */
.insights { background: var(--color-cream-soft); }
.insights .section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.insights .section-head p { color: var(--color-muted); margin: 0; }
.insights-carousel { display: flex; align-items: center; gap: 18px; }
.insights-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; flex: 1; overflow: hidden; }
.insight-card { background: transparent; }
.insight-card img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin-bottom: 16px; }
.insight-card h3 { font-size: 1.05rem; color: var(--color-primary); }
.insight-card a { color: var(--color-primary); }
.insight-card a:hover { color: var(--color-orange); }
.insights-arrow { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--color-green); color: #fff; font-size: 1.3rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.insights-arrow:hover { background: #5d8834; }

/* --------------------------------------------------------------------------
   Performs (purple band)
   -------------------------------------------------------------------------- */
.performs { background: #31287b; color: #fff; }
.performs .section-head { text-align: center; margin-bottom: 40px; }
.performs .section-head h2 { color: #fff; margin-bottom: 0.5rem; }
.performs .section-head p { color: rgba(255,255,255,0.82); margin: 0; }
.performs-row { display: flex; justify-content: center; margin-bottom: 36px; }
.performs-row img { width: 100%; max-width: 1310px; height: auto; }
.performs .center .btn { margin: 0 auto; }

/* --------------------------------------------------------------------------
   Testimonials (teal band with photo)
   -------------------------------------------------------------------------- */
.clients {
  background: var(--color-teal) url(/assets/images/WhatOurClientsSayBG.jpg) no-repeat right center;
  background-size: cover;
  color: #fff; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
  border-bottom: solid;
}
.clients .container { position: relative; }
.clients-copy { position: relative; max-width: 48%; padding: 8px 0; }
.clients-quote { font-family: var(--font-heading); font-size: 3.4rem; line-height: 0.7; color: rgba(255,255,255,0.5); }
.clients-copy h2 { color: #fff; margin: 0.4rem 0 1rem; }
.clients-copy p { color: rgba(255,255,255,0.94); font-size: 1.05rem; max-width: 44ch; }
.clients-author { font-family: var(--font-heading); font-weight: 600; margin-top: 14px; }
.clients-author span { display: block; font-weight: 400; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.clients-badge { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: 170px; height: 170px; }
.clients-dots { display: flex; gap: 8px; margin-top: 22px; }
.clients-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.clients-dots span.is-active { background: #fff; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  background: #57b3c4 url(/assets/images/ReadytoCreatePackagingBackground.jpg) no-repeat right center;
  background-size: cover;
  min-height: 460px; display: flex; align-items: center; color: #fff;
  border-bottom: solid 3px white;
}
.final-cta-copy { max-width: 52%; }
.final-cta-copy h2 { color: #fff; margin-bottom: 0.5rem; max-width: 18ch; }
.final-cta-copy p { color: rgba(255,255,255,0.95); margin-bottom: 1.4rem; }

/* --------------------------------------------------------------------------
   Footer (navy)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-primary); color: #fff; padding-top: 56px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub, .site-footer .brand-sub strong { color: #fff; }
.site-footer .brand-sub em { color: var(--color-orange); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 32ch; margin-top: 14px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); color: #fff; }
.footer-social a:hover { background: var(--color-orange); color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,0.14); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1244px) {
  .solutions-cards { grid-template-columns: repeat(3, 1fr); }
  .hero {
    background-image: none;
    background-color: #f1e3d6;
    min-height: auto;
    display: block;
  }
  .hero-content { max-width: 100%; padding: 44px 0 0; }
  .hero-lede { max-width: 100%; }
  .hero-img-mobile { display: block; width: 100%; margin-top: 24px; }
}

@media (max-width: 1024px) {
  .band { grid-template-columns: 1fr; }
  .band-cell { padding: 48px var(--gutter); min-height: 0; background-position: center right; }
  .band-print, .band-sustain { padding-left: var(--gutter); padding-right: var(--gutter); }
  .clients-copy { max-width: 60%; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .final-cta-copy { max-width: 70%; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0;
    width: min(360px, 86vw); background: #fff; border-left: 1px solid var(--color-gray);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
    margin-left: 0; transform: translateX(100%); transition: transform 0.28s ease;
    overflow-y: auto; z-index: 110;
  }
  .nav-open .main-nav { transform: translateX(0); }
  .nav-item { border-bottom: 1px solid var(--color-gray); }
  .nav-link { justify-content: space-between; width: 100%; padding: 0.95rem 0.5rem; font-size: 1rem; }
  .nav-caret { transform: rotate(45deg); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: none; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
  .dropdown.dropdown-wide { display: block; min-width: 0; }
  .nav-item.open > .dropdown { max-height: 900px; }
  .nav-item.open .nav-caret { transform: rotate(225deg) translateY(2px); }
  .header-cta { display: none; }
  .main-nav .header-cta { display: block; margin: 14px 0 0; }
  .main-nav .header-cta .btn { width: 100%; justify-content: center; }
  .nav-open .nav-backdrop { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(18,32,75,0.4); z-index: 105; }
  .solutions-cards { grid-template-columns: repeat(2, 1fr); }
  .insights-track { grid-template-columns: 1fr; }
  .insights-track .insight-card:nth-child(n+2) { display: none; }
  .final-cta-copy { max-width: 100%; }
  .final-cta { background-image: none; background-color: var(--color-teal); }
  .clients { background-image: none; background-color: var(--color-teal); min-height: 0; }
  .clients-copy { max-width: 100%; }
  .clients-badge { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .trust-bar .container { justify-content: flex-start; gap: 16px 28px; }
  .trust-bar-item { width: calc(50% - 28px); }
  .solutions-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
/* Post hero banner */
.post-hero { background: var(--color-primary) center / cover no-repeat; color: #fff; padding: 506px 0 72px; }
.post-hero-inner { max-width: 1349px; }
.post-pill { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--color-orange); padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 18px; }
.post-hero h1 { color: #fff; margin-bottom: 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-heading); font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.post-meta span + span::before { content: "\2022"; margin-right: 22px; color: rgba(255,255,255,0.5); }

/* Article body + sidebar layout */
.post-body { padding: 56px 0; background: #f4f6f7; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.post-article { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 44px 48px; border-top: 5px solid var(--color-teal); }
.post-lede { font-size: 1.2rem; line-height: 1.7; color: var(--color-primary); font-weight: 500; margin-bottom: 1.8rem; padding: 16px 20px; background: #e6f4f6; border-left: 4px solid var(--color-teal); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.post-article h2 { margin: 2.4rem 0 1rem; padding-top: 4px; }
.post-article h2::before { content: ""; display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--color-orange); margin-bottom: 16px; }
.post-article h3 { margin: 1.8rem 0 0.75rem; color: var(--color-teal); }
.post-article p { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); margin-bottom: 1.2rem; }
.post-article ul { margin: 0 0 1.4rem; padding-left: 0; list-style: none; }
.post-article ul li { position: relative; padding-left: 28px; margin-bottom: 10px; line-height: 1.7; color: var(--color-text); }
.post-article ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-orange); }
.post-article a { color: var(--color-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.post-article a:hover { color: var(--color-teal-dark); }
.post-article img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin: 2rem 0; }
.post-article blockquote { margin: 2rem 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--color-orange); font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-primary); }
.post-article strong { color: var(--color-primary); }

/* Post sidebar */
.post-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.sidebar-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 22px 24px; border-top: 4px solid var(--color-teal); }
.sidebar-title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-primary); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--color-gray); }
.sidebar-links li { margin-bottom: 4px; }
.sidebar-links a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--color-primary); font-size: 0.94rem; font-weight: 500; transition: background 0.15s ease, color 0.15s ease; }
.sidebar-links a:hover { background: var(--color-cream); color: var(--color-orange); }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tags a { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: #e6f4f6; color: var(--color-teal); font-size: 0.82rem; font-weight: 600; font-family: var(--font-heading); transition: background 0.15s ease, color 0.15s ease; }
.sidebar-tags a:hover { background: var(--color-teal); color: #fff; }
.sidebar-cta { background: var(--color-purple); border-top-color: #322a6e; color: #fff; }
.sidebar-cta h3 { color: #fff; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.9); font-size: 0.92rem; margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* Related */
.related { background: #f4f6f7; }
.related h2 { margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.related-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; color: var(--color-text); }
.related-card img { width: 100%; height: 150px; object-fit: cover; }
.related-card-body { padding: 16px 18px 20px; }
.related-pill { font-family: var(--font-heading); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-teal); }
.related-card h3 { font-size: 1.02rem; margin-top: 6px; }
.related-card:hover h3 { color: var(--color-teal); }
.related-service { justify-content: center; min-height: 120px; }

/* Post final CTA */
.final-cta-post { background: var(--color-teal); color: #fff; text-align: center; padding: 64px 0; }
.final-cta-post h2 { color: #fff; margin-bottom: 10px; }
.final-cta-post p { color: rgba(255,255,255,0.92); margin-bottom: 24px; }

/* Blog home */
.blog-hero { background: var(--color-cream); padding: 64px 0 56px; }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { color: var(--color-muted); font-size: 1.1rem; max-width: 48ch; }

/* Featured latest post */
.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); color: var(--color-text); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.blog-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-featured-media { min-height: 340px; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: 40px 46px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-tag { display: inline-block; align-self: flex-start; font-family: var(--font-heading); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--color-orange); padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.blog-card-pill { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 8px; }
.blog-featured-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.blog-featured-body p { color: var(--color-muted); font-size: 1.02rem; margin-bottom: 16px; max-width: 46ch; }
.blog-featured-more { font-family: var(--font-heading); font-weight: 600; color: var(--color-teal); margin-top: 6px; }
.blog-featured:hover .blog-featured-more { color: var(--color-teal-dark); }

.blog-more-title { margin: 48px 0 24px; padding-bottom: 14px; border-bottom: 2px solid var(--color-gray); }
.blog-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; color: var(--color-text); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.94rem; color: var(--color-muted); margin-bottom: 16px; flex: 1; }
.blog-card-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--color-muted); font-family: var(--font-heading); }

/* Blog responsive */
@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-sidebar { position: static; }
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .blog-cards { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 240px; }
  .blog-featured-body { padding: 28px 26px; }
}
@media (max-width: 640px) {
  .blog-cards { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .post-hero { padding: 64px 0 48px; }
  .post-body { padding: 40px 0; }
  .post-article { padding: 28px 22px; }
}
