/* =========================
   BLOG MAZMAS
========================= */

.blog-section{
  background: var(--mazmas-cream);
}

/* Hero */
.blog-hero{
  background:
    radial-gradient(900px 380px at 10% 10%, rgba(255, 190, 80, .18), transparent),
    radial-gradient(900px 380px at 90% 20%, rgba(166, 13, 31, .12), transparent),
    #fffaf2;
}

.blog-hero-img{
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Hace que las columnas de Bootstrap tengan la misma altura */
.row.g-4 > [class*="col-"]{
  display: flex;
}

/* Tarjeta principal */
.post-card{
  width: 100%;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(166, 13, 31, 0.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.post-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.10);
  border-color: rgba(166, 13, 31, 0.22);
}

/* Imagen controlada */
.post-card > img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Cuerpo de tarjeta */
.post-card-body{
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-category{
  color: var(--mazmas-red);
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .65rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.post-card h2{
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--mazmas-brown);
  margin-bottom: .75rem;
  line-height: 1.18;
}

.post-excerpt{
  color: #5f4b3f;
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

/* Botón dentro de tarjeta */
.post-card .btn{
  align-self: flex-start;
  margin-top: auto;
}

/* Texto desplegable */
.story-mini{
  background: rgba(255, 244, 220, .85);
  border-left: 4px solid var(--mazmas-gold);
  border-radius: 1rem;
  padding: 1rem;
  color: #5f4b3f;
  font-size: .92rem;
  line-height: 1.6;
}

.story-mini p{
  margin-bottom: .85rem;
}

.story-mini p:last-child{
  margin-bottom: 0;
}

/* Cuando se abre el texto, evita que quede pegado al botón */
.collapse.mt-3,
.collapsing.mt-3{
  width: 100%;
}

/* CTA final */
.call-strip{
  background: var(--mazmas-red-dark);
  color: #fff;
}

.call-strip h2{
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.call-strip p{
  color: #ffe8b0 !important;
  font-weight: 600;
}

.call-strip .btn-gold{
  color: var(--mazmas-red-dark);
  font-weight: 900;
}

/* Responsive */
@media (max-width: 991.98px){
  .post-card > img{
    height: 230px;
  }

  .blog-hero-img{
    max-height: 340px;
  }
}

@media (max-width: 575.98px){
  .post-card > img{
    height: 220px;
  }

  .post-card-body{
    padding: 1.15rem;
  }

  .post-card h2{
    font-size: 1.15rem;
  }

  .blog-hero-img{
    max-height: 280px;
  }
}