/* blog-cards.css — Cards de "Nuestro blog" en el home.
 * Reemplaza la Collection List dinámica de Webflow (que quedó vacía en el
 * export estático) por cards estáticas con los artículos reales. */

.ptb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.ptb-blogcard {
  position: relative;
  display: block;
  aspect-ratio: 41 / 45;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #2c2e3a;
}
.ptb-blogcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.ptb-blogcard:hover .ptb-blogcard__img { transform: scale(1.05); }

.ptb-blogcard__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%);
}

.ptb-blogcard__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
}
.ptb-blogcard__author {
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  opacity: .85;
}
.ptb-blogcard__author strong { font-weight: 600; opacity: 1; }
.ptb-blogcard__title {
  color: #fff;
  font-size: 21px;
  line-height: 1.28;
  margin: 0;
  font-weight: 500;
}

@media screen and (max-width: 991px) {
  .ptb-blog-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
  .ptb-blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .ptb-blogcard { aspect-ratio: 16 / 11; }
}
