/* =========================
   BLOG LIMAS
   ========================= */

/* ===== HERO BLOG ===== */

.page-hero{
  position: relative;
  min-height: 42vh;
  display: grid;
  place-items: center;
  padding-top: 90px;
  overflow: hidden;
}

.page-hero__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.25)),
    url("../images/blog/blog-hero.png") center center / cover no-repeat;
  z-index: 1;
}
.page-hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding-inline: 18px;
}

.page-hero__title{
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 64px);
  margin: 0;
}

.page-hero__subtitle{
  margin-top: 10px;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.8vw, 24px);
}

/* ===== LISTADO BLOG ===== */

.blog-empty{
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  text-align: center;
}

.blog-card{
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0,0,0,.12);
}

.blog-card__image-wrap{
  display: block;
  height: 240px;
  overflow: hidden;
  background: var(--soft-bg);
}

.blog-card__image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.blog-card:hover .blog-card__image{
  transform: scale(1.04);
}

.blog-card__body{
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-card__title{
  font-family: "League Spartan", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 14px;
}

.blog-card__title a{
  color: var(--text-dark);
  text-decoration: none;
}

.blog-card__title a:hover{
  color: var(--verde-hoja);
}

.blog-card__excerpt{
  line-height: 1.7;
  color: #1d2b3a;
  margin-bottom: 22px;
}

/* ===== ARTÍCULO ===== */

.blog-article{
  max-width: 920px;
  background: #fff;
  border-radius: 32px;
  padding: clamp(22px, 4vw, 48px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.blog-article__content{
  font-size: 1.08rem;
  line-height: 1.85;
  color: #1d2b3a;
}

.blog-article__content img{
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 28px auto 42px auto;
}

.blog-article__content iframe{
  max-width: 100%;
}

.blog-article__content h2,
.blog-article__content h3,
.blog-article__content h4{
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.blog-article__content p{
  margin-bottom: 1.25rem;
}

.blog-article__content a{
  color: var(--verde-hoja);
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px){
  .page-hero{
    min-height: 38vh;
    padding-top: 82px;
  }

  .blog-card__image-wrap{
    height: 210px;
  }

  .blog-card__title{
    font-size: 24px;
  }
}