/* Additional styling for the Italtravel theme */

/* Hero section */
.hero-home {
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.hero-home img,
.hero-home .hero-placeholder {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

/* Section styling */
.home-section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e73be;
  color: #1e73be;
}

/* Grid layout for cards */
.cards-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.travel-card {
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.travel-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.travel-card-content {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.travel-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px;
}

.btn-read {
  display: inline-block;
  background: #a61912;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  align-self: flex-start;
}

.btn-read:hover {
  background: #83150d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .travel-card h3 {
    font-size: 16px;
  }

  .btn-read {
    font-size: 13px;
  }
}


/* -- Estilos para páginas (content-page) -- */

/* Cabecera de la página */
.entry-header {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

/* Título de la página */
.entry-title {
  font-size: 2rem;
  color: #333;
  margin: 0;
  font-weight: 600;
}

/* Contenido principal de la página */
.entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* Ajustes para títulos dentro del contenido */
.entry-content h2 {
  color: #a61912; /* rojo corporativo */
  margin-top: 1.5rem;
}

.entry-content h3 {
  color: #1e73be; /* azul corporativo */
  margin-top: 1.2rem;
}

/* Separación de párrafos */
.entry-content p {
  margin-bottom: 1.2rem;
}

/* Paginación de páginas multiparte */
.page-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.page-links a {
  background: #1e73be;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.page-links a:hover {
  background: #a61912;
}