/* --- Fuentes --- */
.page-header-blog h1,
.destination-article h2,
.sidebar-card .card-header h5,
.timeline-day,
.timeline-content h3 {
  font-family: "Montserrat", sans-serif;
}

/* --- Encabezado de Página (Hero) --- */
.page-header-blog {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://placehold.co/1920x1080/8B4513/FFFFFF?text=Itinerario+Perú");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* --- Contenido Principal (Artículo) --- */
.destination-article h2 {
  font-weight: 700;
  color: #2c3e50;
  position: relative;
  padding-bottom: 10px;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.destination-article h2 i {
  color: #8b4513;
}

.destination-article h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #8b4513;
  bottom: 0;
  left: 0;
}

/* --- Diseño Único: TIMELINE de Itinerario --- */
.timeline-itinerary {
  position: relative;
  margin-top: 2rem;
}

/* La línea vertical del timeline */
.timeline-itinerary::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 15px;
  bottom: 0;
  width: 4px;
  background-color: #e9ecef;
  border-radius: 4px;
}

/* Cada item (día) en el timeline */
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 55px;
  /* Espacio para el icono */
}

/* El icono/círculo del día */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 8px;
  /* Centrado en la línea (20px - 12px) */
  top: 5px;
  width: 24px;
  height: 24px;
  background-color: #8b4513;
  border: 4px solid #f8f9fa;
  border-radius: 50%;
  z-index: 10;
}

/* El marcador del día (Días 1-2) */
.timeline-day {
  font-weight: 800;
  font-size: 1.5rem;
  color: #8b4513;
  margin-bottom: 0.25rem;
}

/* El contenido del día */
.timeline-content {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  font-weight: 700;
  color: #34495e;
  font-size: 1.25rem;
}

.timeline-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e0e0e0;
}

/* Estilo para el icono del fin del timeline */
.timeline-item-finish::before {
  content: "\F5D4";
  /* Icono de "sun-fill" o bandera */
  font-family: "Bootstrap-Icons";
  font-size: 1.2rem;
  text-align: center;
  color: white;
  background-color: #198754;
  /* Verde "Fin" */
  left: 8px;
  top: 5px;
  width: 24px;
  height: 24px;
  line-height: 1.2;
}

/* --- *** SOLUCIÓN AL SIDEBAR *** --- */
.sidebar-sticky-wrapper {
  position: sticky;
  top: 80px;
  z-index: 1019;
}

.sidebar-card {
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-card .card-header {
  background-color: #8b4513;
  color: white;
  border-radius: 0.5rem 0.5rem 0 0 !important;
  border: 0;
}

.sidebar-card .card-header h5 {
  font-weight: 700;
  margin-bottom: 0;
}

.sidebar-card .card-header i {
  font-size: 1.5rem;
  vertical-align: middle;
}

.list-styled-check {
  list-style: none;
  padding-left: 0;
}

.list-styled-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.list-styled-check li::before {
  content: "\F639";
  /* ticket */
  font-family: "bootstrap-icons" !important;
  font-size: 1.1rem;
  color: #8b4513;
  position: absolute;
  left: 0;
  top: 0;
}
