.footer-col--blog-nav .footer-blog-cats { margin-top: 0; }
.blog-hero.hero {
  min-height: calc(100svh - var(--nav-h));
  padding: 2.25rem 0 3.25rem;
  background-size: cover;
  background-position: 86% center;
  background-repeat: no-repeat;
}
.blog-hero .hero-inner {
  max-width: 1320px;
  padding-left: 3rem;
  padding-right: 3rem;
  margin: 0 auto;
  text-align: left;
}
.blog-hero .hero-badge {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,229,176,0.25);
  background: rgba(0,229,176,0.05);
  margin-bottom: 1rem;
}
.blog-hero h1 {
  font-size: clamp(1.65rem, 5.5vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  max-width: min(100%, 36ch);
}
.blog-hero h2 {
  font-size: clamp(1.65rem, 5.5vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  max-width: min(100%, 36ch);
  color: #ffffff;
  font-weight: 600;
}
.blog-hero p {
  font-size: clamp(1.15rem, 3.6vw, 1.38rem);
  line-height: 1.72;
  margin-bottom: 2rem;
  max-width: 52ch;
}
.blog-hero.hero h1 {
  text-shadow: 0 0 30px rgba(79, 142, 247, 0.5);
}
@media (min-width: 768px) {
  .blog-hero.hero {
    padding: 2.75rem 0 3.75rem;
    min-height: calc(100svh - var(--nav-h));
    background-position: 78% center;
  }
  .blog-hero h1,
  .blog-hero h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    max-width: min(100%, 40ch);
  }
}
@media (min-width: 1025px) {
  .blog-hero.hero {
    padding: 3rem 0 4rem;
    min-height: calc(100vh - var(--nav-h));
    background-position: center right;
  }
  .blog-hero h1,
  .blog-hero h2 {
    font-size: clamp(2.75rem, 4vw, 4rem);
    max-width: min(100%, 44ch);
  }
}
@media (max-width: 768px) {
  .blog-hero .hero-inner {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  .blog-hero.hero {
    padding: 2.25rem 0 3.25rem !important;
    min-height: calc(100svh - var(--nav-h)) !important;
    background-position: 86% center !important;
  }
  .blog-hero h1,
  .blog-hero h2 {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 1rem !important;
  }
  .blog-hero p {
    font-size: clamp(1.15rem, 3.6vw, 1.38rem) !important;
    line-height: 1.72 !important;
    margin-bottom: 2rem !important;
  }
  .blog-hero .hero-badge {
    font-size: 0.85rem !important;
    padding: 0.4rem 1rem !important;
    margin-bottom: 1rem !important;
  }
}
.section--blog-list {
  background: #edf3fe;
  padding: 80px 0 120px !important;
}
.section--blog-list .section-label { color: #4f8ef7; }
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(79,142,247,0.25);
  background: transparent;
  color: #3a4460;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.filter-btn.active,
.filter-btn:hover {
  background: #4f8ef7;
  border-color: #4f8ef7;
  color: #ffffff;
}
.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.post-card {
  background: #ffffff;
  border: 1px solid rgba(79,142,247,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
  opacity: 0;
  transform: translateY(22px);
  animation: blogCardIn 0.55s ease forwards;
}
@keyframes blogCardIn {
  to { opacity: 1; transform: translateY(0); }
}
.post-card:hover {
  border-color: rgba(79,142,247,0.35);
  box-shadow: 0 8px 30px rgba(79,142,247,0.1);
  transform: translateY(-4px);
}
.post-card--featured {
  grid-column: 1 / -1;
}
.post-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (min-width: 768px) {
  .post-card--featured .post-card-inner {
    flex-direction: row;
    align-items: stretch;
  }
  .post-card--featured .post-card-visual {
    flex: 0 0 42%;
    max-width: 480px;
  }
  .post-card--featured .post-card-body {
    flex: 1;
    padding: 2rem 2rem 1.75rem;
    justify-content: center;
  }
}
.post-card-visual {
  position: relative;
  flex-shrink: 0;
}
.post-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(79,142,247,0.08), rgba(0,229,176,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.post-card--featured .post-img-placeholder {
  min-height: 220px;
  height: 100%;
  aspect-ratio: auto;
}
@media (max-width: 767px) {
  .post-card--featured .post-img-placeholder {
    aspect-ratio: 16/9;
    min-height: 0;
    height: auto;
  }
}
.post-card img.post-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.post-badge-destacado {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.65);
  color: #00e5b0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0,229,176,0.4);
}
.post-card-body {
  padding: 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
  width: fit-content;
}
.post-cat--web { background: rgba(79,142,247,0.1); color: #4f8ef7; }
.post-cat--auto { background: rgba(0,229,176,0.1); color: #00b389; }
.post-cat--reserva { background: rgba(139,92,246,0.1); color: #7c3aed; }
.post-cat--seo { background: rgba(245,158,11,0.1); color: #d97706; }
.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0f1e;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-family: 'Syne', sans-serif;
}
.post-card-excerpt {
  font-size: 1rem;
  color: #3a4460;
  line-height: 1.6;
  flex: 1;
}
.post-card-cta {
  color: #4f8ef7;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
}
.post-card-footer {
  border-top: 1px solid rgba(79,142,247,0.08);
  padding-top: 1rem;
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #8a9bb5;
}
.blog-error {
  text-align: center;
  padding: 4rem 1.5rem;
  color: #3a4460;
  font-size: 1.05rem;
  max-width: 36ch;
  margin: 0 auto;
}
.section--articulo-hero.hero {
  min-height: 0;
  padding: 160px 0 80px;
}
.section--articulo-hero .articulo-hero-inner {
  position: relative;
  z-index: 4;
  max-width: 900px;
}
.section--articulo-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 800px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.articulo-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  color: rgba(240,242,248,0.85);
  font-size: 0.92rem;
}
.section--articulo-body {
  background: #edf3fe;
  padding: 80px 0 100px !important;
}
.articulo-body-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}
#articulo-imagen {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 3rem;
  display: block;
}
#articulo-imagen.post-img-placeholder {
  margin-bottom: 3rem;
}
#articulo-contenido {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2d3748;
}
#articulo-contenido h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a0f1e;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(79,142,247,0.1);
  font-family: 'Syne', sans-serif;
}
#articulo-contenido p { margin-bottom: 1.25rem; }
#articulo-contenido strong { color: #0a0f1e; font-weight: 600; }
#articulo-contenido code {
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.15);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.9em;
  color: #4f8ef7;
}
.articulo-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(79,142,247,0.12);
  align-items: start;
}
.articulo-nav a {
  color: #4f8ef7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
}
.articulo-nav a:hover { color: #2d5a9e; }
.articulo-nav-prev { text-align: left; }
.articulo-nav-next { text-align: right; }
.articulo-nav-center {
  text-align: center;
  white-space: nowrap;
}
.articulo-nav-center a { color: #3a4460; font-weight: 600; }
.articulo-nav-center a:hover { color: #4f8ef7; }
.articulo-nav .is-muted {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 767px) {
  .articulo-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .articulo-nav-prev, .articulo-nav-next { text-align: center; }
}
.section--articulo-related {
  background: #060d1a;
  padding: 80px 0 100px !important;
}
.section--articulo-related h3 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(79,142,247,0.25);
}
.related-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
.post-card--compact .post-card-body { padding: 1rem 1.1rem; }
.post-card--compact .post-card-title { font-size: 0.95rem; }
.post-card--compact .post-card-excerpt {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card--compact .post-img-placeholder { font-size: 2rem; }
.section--blog-cta {
  background: #060d1a;
  padding: 72px 0 90px !important;
  text-align: center;
}
.section--blog-cta h3 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.75rem;
}
.section--blog-cta p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.section--blog-cta .blog-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
