/* --- Fuentes --- */
.page-header-blog-hub h1,
.category-title,
.featured-post-card .card-title,
.secondary-post-card .card-title {
  font-family: "Montserrat", sans-serif;
}

/* --- Encabezado de Página (Hero) --- */
.page-header-blog-hub {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://placehold.co/1920x1080/4682B4/FFFFFF?text=Blog+Viajero+Peruano");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.page-header-blog-hub h1 {
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* --- Título de Categoría --- */
.category-title {
  font-weight: 700;
  color: #2c3e50;
  position: relative;
  padding-bottom: 10px;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.category-title i {
  color: #0d6efd;
}

.category-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 2px;
  background: #0d6efd;
  bottom: -2px;
  /* Se monta sobre el borde */
  left: 0;
}

/* --- Artículo Destacado (Horizontal) --- */
.featured-post-card {
  border-radius: 0.75rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.featured-post-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.featured-post-card .card-img-container {
  padding: 0;
}

.featured-post-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bordes redondeados solo en el lado de la imagen */
  border-radius: 0.75rem 0 0 0.75rem;
}

.featured-post-card .card-body {
  padding: 2rem;
}

.featured-post-card .card-title {
  font-weight: 800;
  color: #34495e;
  font-size: 1.75rem;
}

.featured-post-card .card-category {
  background-color: #0d6efd;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* --- Artículo Secundario (Vertical) --- */
.secondary-post-card {
  border-radius: 0.75rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.secondary-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.secondary-post-card .card-category {
  background-color: #6c757d;
  /* Gris para secundaria */
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.secondary-post-card .card-title {
  font-weight: 700;
  color: #34495e;
}

.secondary-post-card .card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* --- RESPONSIVE --- */
@media (max-width: 991.98px) {
  .featured-post-card .card-img {
    /* Apila la imagen en mobile */
    border-radius: 0.75rem 0.75rem 0 0;
    max-height: 250px;
    /* Evita que la imagen sea gigante */
  }

  .featured-post-card .card-body {
    padding: 1.5rem;
  }

  .featured-post-card .card-title {
    font-size: 1.5rem;
  }
}
