/* ─────────────────────────────────────────────
   Blog CADACADEMY — Stylesheet
   ───────────────────────────────────────────── */

/* VARIABILI */
:root {
  --color-primary:    #1a1a2e;
  --color-secondary:  #0f3460;
  --color-accent:     #e63946;
  --color-accent-2:   #457b9d;
  --color-bg:         #f8f9fa;
  --color-surface:    #ffffff;
  --color-border:     #e2e8f0;
  --color-text:       #1a202c;
  --color-muted:      #718096;
  --color-lumion:     #2563eb;
  --color-cadacademy: #e63946;
  --color-tutorial:   #059669;
  --color-news:       #7c3aed;

  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --radius:    0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);

  --max-width:  1200px;
  --content-width: 780px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); background: var(--color-bg); color: var(--color-text); line-height: 1.65; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* CONTAINER */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ─── HEADER ─── */
.site-header {
  background: #ffffff;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1.5rem;
}

/* Logo */
.site-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 38px; width: auto;
  display: inline-block;
  /* nessun filtro: il logo è visibile su sfondo bianco */
}
.logo-img--footer {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.logo-text-fallback {
  display: none;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -.5px;
}
.logo-cad     { color: var(--color-primary); }
.logo-academy { color: var(--color-accent); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  color: var(--color-primary); text-decoration: none;
  padding: .38rem .8rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.site-nav a:hover { color: var(--color-accent); background: #fff0f0; }

.nav-site-link {
  color: var(--color-muted) !important;
  font-size: .82rem !important;
}
.nav-site-link:hover { color: var(--color-primary) !important; background: var(--color-bg) !important; }

/* CTA button in nav */
.btn-header-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: .4rem 1.1rem !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  margin-left: .25rem;
  transition: background .15s !important;
}
.btn-header-cta:hover { background: #c62828 !important; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-primary); border-radius: 2px; transition: .2s;
}

/* ─── BLOG HERO ─── */
.blog-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, #16213e 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(230,57,70,.18) 0%, transparent 55%);
  pointer-events: none;
}
/* layout: testo sinistra, immagine destra */
.blog-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 1;
}
.blog-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.blog-hero__image {
  display: flex; align-items: center; justify-content: center;
}
.blog-hero__image img {
  width: 100%; max-width: 480px; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
/* fallback decorativo se non c'è immagine */
.blog-hero__image-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; opacity: .5;
}
.blog-hero__eyebrow {
  display: inline-block;
  background: rgba(230,57,70,.2);
  border: 1px solid rgba(230,57,70,.4);
  color: #ff8a93;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .3rem .9rem; border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.blog-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: .9rem;
  color: #fff;
  text-align: left;
}
.blog-hero p {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.65;
  text-align: left;
}
.blog-hero__ctas {
  display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--color-accent);
  color: #fff; text-decoration: none;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  transition: background .15s, transform .15s;
  display: inline-block;
}
.btn-hero-primary:hover { background: #c62828; transform: translateY(-1px); }
.btn-hero-secondary {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; text-decoration: none;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: background .15s, border-color .15s;
  display: inline-block;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

.accent { color: var(--color-accent); }

/* ─── BRAND BAR ─── */
.brand-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.brand-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.brand-bar-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--color-muted);
  flex-shrink: 0;
}
.brand-bar-logos {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.brand-bar-logos img {
  height: 52px; width: auto; filter: grayscale(20%);
  opacity: .85; transition: opacity .2s, filter .2s;
}
.brand-bar-logos img:hover { opacity: 1; filter: grayscale(0%); }

/* ─── MAIN ─── */
.main-content { padding: 3rem 0 5rem; min-height: 70vh; }

.page-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
.page-header h1 { font-size: 2rem; font-weight: 800; margin-top: .5rem; }
.back-link { color: var(--color-muted); text-decoration: none; font-size: .875rem; }
.back-link:hover { color: var(--color-accent); }

/* ─── FILTRO SOFTWARE ─── */
.sw-filter {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.sw-pill {
  padding: .35rem 1rem; border-radius: 2rem;
  background: var(--color-bg); border: 1.5px solid var(--color-border);
  font-size: .82rem; font-weight: 600; text-decoration: none;
  color: var(--color-muted); transition: all .15s;
}
.sw-pill:hover  { border-color: var(--color-accent); color: var(--color-accent); background: #fff0f0; }
.sw-pill.active { border-color: var(--color-accent); color: var(--color-accent); background: #fff0f0; font-weight: 700; }

/* Software tag inline nelle card e nell'header articolo */
.sw-tag {
  display: inline-block; padding: .2rem .7rem;
  border-radius: 2rem; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: #fff;
}
.sw-tag--lumion    { background: #2563eb; }
.sw-tag--archicad  { background: #0d9488; }
.sw-tag--revit     { background: #7c3aed; }
.sw-tag--sketchup  { background: #d97706; }
.sw-tag--bricscad  { background: #0369a1; }
.sw-tag--autocad   { background: #dc2626; }

/* sw-tag nella featured card */
.post-card--featured .sw-tag {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}

/* ─── POST GRID ─── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.posts-grid--small { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ─── POST CARD ─── */
.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Thumbnail */
.post-card__thumb {
  display: block; overflow: hidden;
  aspect-ratio: 16/9; background: var(--color-bg);
  position: relative;
}
.post-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

/* Body (padding) */
.post-card__body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex; flex-direction: column; gap: .6rem; flex: 1;
}

/* Featured card */
.post-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  position: relative; overflow: hidden;
}
.post-card--featured::after {
  content: '';
  position: absolute; top: 0; right: 40%; bottom: 0; left: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  z-index: 1;
  pointer-events: none;
}
.post-card--featured .post-card__thumb {
  flex: 1; aspect-ratio: auto; min-height: 280px;
  order: 2;
}
.post-card--featured .post-card__body {
  flex: 0 0 55%; padding: 2rem 2rem 1.75rem;
  position: relative; z-index: 2;
  justify-content: center;
  order: 1;
}
.post-card--featured .post-card__title { font-size: 1.5rem; }
.post-card--featured .post-card__title a { color: #fff !important; }
.post-card--featured .post-card__excerpt { color: rgba(255,255,255,.75); font-size: 1rem; }
.post-card--featured .post-card__meta time { color: rgba(255,255,255,.55); }
.post-card--featured .post-author { color: rgba(255,255,255,.55); }
.post-card--featured .read-more { color: #ff8a93; }

/* Featured badge (sopra l'immagine) */
.post-card__thumb .featured-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 3;
}
.featured-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(230,57,70,.9);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .7rem; border-radius: 2rem;
  backdrop-filter: blur(4px);
}

.post-card__meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.post-card__meta time { font-size: .78rem; color: var(--color-muted); }

.post-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.post-card__title a { text-decoration: none; color: var(--color-text); }
.post-card__title a:hover { color: var(--color-accent); }

.post-card__excerpt { color: var(--color-muted); font-size: .875rem; line-height: 1.6; flex: 1; }

.post-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .5rem; }
.post-author { font-size: .78rem; color: var(--color-muted); }
.read-more { text-decoration: none; font-size: .875rem; font-weight: 600; color: var(--color-accent); }
.read-more:hover { text-decoration: underline; }

/* ─── HERO IMMAGINE ARTICOLO ─── */
.single-post__hero-img {
  width: 100%; max-height: 480px; overflow: hidden;
  margin-bottom: 2rem;
  background: var(--color-primary);
}
.single-post__hero-img img {
  width: 100%; height: 100%; max-height: 480px;
  object-fit: cover; display: block;
}

/* ─── CATEGORY BADGES (usati in footer e breadcrumb) ─── */
.cat-badge {
  display: inline-block; padding: .2rem .65rem;
  border-radius: 2rem; font-size: .72rem; font-weight: 700;
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; background: var(--color-muted);
}

/* ─── PAGINAZIONE ─── */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.page-link {
  padding: .6rem 1.4rem; border-radius: var(--radius);
  background: var(--color-surface); border: 1.5px solid var(--color-border);
  text-decoration: none; font-weight: 600; font-size: .9rem;
  color: var(--color-text); transition: all .15s;
}
.page-link:hover { border-color: var(--color-accent); color: var(--color-accent); }
.page-info { color: var(--color-muted); font-size: .875rem; }

/* ─── SINGOLO ARTICOLO ─── */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .8rem; color: var(--color-muted); margin-bottom: 2rem;
}
.breadcrumb a { text-decoration: none; color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

.single-post { max-width: var(--content-width); margin: 0 auto; }

.single-post__header { margin-bottom: 2.5rem; }
.post-meta-top  { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.single-post__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2;
  margin-bottom: 1rem;
}
.post-meta-bottom { display: flex; align-items: center; gap: .5rem; color: var(--color-muted); font-size: .875rem; }
.divider { color: var(--color-border); }
.single-post__excerpt {
  font-size: 1.15rem; color: var(--color-muted); line-height: 1.7;
  border-left: 3px solid var(--color-accent); padding-left: 1rem;
  margin-top: 1.25rem;
}

.tag {
  display: inline-block; padding: .15rem .6rem;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: 2rem; font-size: .72rem; color: var(--color-muted);
}

/* ─── PROSE (corpo articolo) ─── */
.prose { font-size: 1.05rem; line-height: 1.8; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--color-primary); }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .75rem; }
.prose p  { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose li { margin-bottom: .4rem; }
.prose a  { color: var(--color-accent-2); text-decoration: underline; }
.prose a:hover { color: var(--color-accent); }
.prose strong { font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: #fff5f5; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-muted); font-style: italic;
}
.prose code {
  background: #f1f5f9; border-radius: .25rem;
  padding: .15rem .4rem; font-size: .88em; font-family: 'Courier New', monospace;
}
.prose pre { background: var(--color-primary); color: #e2e8f0; border-radius: var(--radius); padding: 1.5rem; overflow-x: auto; margin: 1.5rem 0; }
.prose pre code { background: none; padding: 0; font-size: .9rem; }

/* ─── SOURCE BOX ─── */
.source-box {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin: 2rem 0; padding: 1rem 1.25rem;
  background: #f0f9ff; border: 1px solid #bae6fd;
  border-radius: var(--radius); font-size: .875rem;
}
.source-box span { color: var(--color-muted); }
.source-box a { color: var(--color-accent-2); word-break: break-all; }

/* ─── SINGLE POST FOOTER ─── */
.single-post__footer {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.btn-back, .btn-cat, .btn-primary {
  padding: .65rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: all .15s;
}
.btn-back {
  background: var(--color-surface); border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn-back:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-cat {
  background: var(--color-accent); color: #fff; border: 1.5px solid transparent;
}
.btn-cat:hover { background: #c62828; }
.btn-primary {
  background: var(--color-accent); color: #fff; display: inline-block;
}
.btn-primary:hover { background: #c62828; }

/* ─── RELATED POSTS ─── */
.related-posts { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--color-border); }
.related-posts h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.75rem; }

/* ─── EMPTY STATE / NOT FOUND ─── */
.empty-state, .not-found {
  text-align: center; padding: 4rem 1rem; color: var(--color-muted);
}
.not-found h1 { font-size: 2rem; margin-bottom: 1rem; color: var(--color-text); }
.not-found p  { margin-bottom: 1.5rem; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--color-primary); color: rgba(255,255,255,.7);
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-logo { text-decoration: none; display: inline-flex; align-items: center; }
.footer-brand p { font-size: .875rem; line-height: 1.6; max-width: 280px; color: rgba(255,255,255,.6); }
.footer-links h4 {
  color: #fff; font-size: .8rem; font-weight: 700;
  margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .08em;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }

/* Social links */
.footer-social { display: flex; gap: .5rem; margin-top: .25rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .9rem; font-weight: 700;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--color-accent); color: #fff; }

/* Partner logos bar */
.footer-brands {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
}
.footer-brands-inner {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.footer-brands-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35);
  white-space: nowrap; flex-shrink: 0;
}
.footer-brands-logos {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; flex: 1;
}
.footer-brands-logos img {
  height: 24px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .35; transition: opacity .2s;
}
.footer-brands-logos img:hover { opacity: .65; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer-legal { display: flex; align-items: center; gap: .5rem; }
.footer-legal a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .blog-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-hero__image { display: none; } /* nasconde immagine su tablet/mobile */
}

@media (max-width: 768px) {
  .post-card--featured {
    flex-direction: column !important;
    grid-column: auto;
  }
  .post-card--featured::after { display: none; }
  .post-card--featured .post-card__thumb { flex: none; min-height: 200px; order: 1; aspect-ratio: 16/9; }
  .post-card--featured .post-card__body  { flex: none; order: 2; padding: 1.25rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; align-items: stretch;
    padding: .75rem 1rem 1rem; gap: .25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .65rem 1rem; color: var(--color-primary); }
  .btn-header-cta { margin-left: 0 !important; margin-top: .5rem; }

  .post-card--featured {
    flex-direction: column;
    grid-column: auto;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: auto; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .brand-bar-inner { gap: 1.25rem; flex-direction: column; align-items: flex-start; }
  .brand-bar-logos { gap: 1rem; }
  .brand-bar-logos img { height: 38px; }
  .footer-brands-logos { gap: 1.25rem; }
}

@media (max-width: 500px) {
  .blog-hero { padding: 3rem 0 2.5rem; }
  .main-content { padding: 2rem 0 4rem; }
  .blog-hero__ctas { flex-direction: column; align-items: flex-start; }
}
