/* Blog — estilo limpio Caribe Activo */
.blog-page,
body.site-chrome-page.blog-page {
  background: #f7fafc;
  color: #0f172a;
  font-family: 'Outfit', system-ui, sans-serif;
}

.blog-page .page-hero {
  background: #fff !important;
  color: #0b2a4a !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}

.blog-page .page-hero h1 {
  color: #0b2a4a;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.blog-page .page-hero p {
  color: #64748b;
  max-width: 40rem;
  margin-inline: auto;
}

.blog-page .section--blog,
.blog-page .section--white {
  background: #f7fafc;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(3.5rem, 8vw, 5rem);
}

.blog-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 960px) {
  .blog-grid-clean { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid-clean { grid-template-columns: 1fr; }
}

.blog-card-clean {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-clean:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.blog-card-clean__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.blog-card-clean__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-clean__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-card-clean__meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0ea5e9;
}

.blog-card-clean__body h3 {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0b2a4a;
}

.blog-card-clean__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.blog-card-clean__cta {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
}

.blog-card-clean__cta:hover {
  text-decoration: underline;
}

/* Modal blog claro */
.blog-modal.open {
  display: flex;
}

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.blog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.blog-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 96vw);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.blog-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 1.35rem;
  cursor: pointer;
}

.blog-modal__img img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.blog-modal__body {
  padding: 1.35rem 1.5rem 1.75rem;
  font-family: 'Outfit', system-ui, sans-serif;
}

.blog-modal__body h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b2a4a;
  margin: 0.35rem 0 0.85rem;
}

.blog-modal__body p {
  color: #475569;
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

.blog-modal .blog-card__date {
  color: #0ea5e9;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
