/* --- Fuentes --- */
.page-header-lima h1,
.destination-article h2,
.destination-article h3,
.destination-spot-card .card-title,
.sidebar-card .card-header h5,
.gastronomy-grid h4 {
    font-family: "Montserrat", sans-serif;
}

/* --- Encabezado de Página (Hero) --- */
.page-header-lima {
    /* Imagen de placeholder evocando la Plaza de Armas */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("https://placehold.co/1920x1080/004A9E/FFFFFF?text=Plaza+de+Armas+(Lima)");
    background-size: cover;
    background-position: center 70%;
    background-attachment: fixed;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.page-header-lima h1 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* --- Contenido Principal (Artículo) --- */
.destination-article h2 {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* Estilo para los H3 de sub-sección */
.destination-article h3.h2 {
    font-weight: 700;
    color: #004A9E;
    /* Azul Lima */
    margin-top: 2.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.destination-article h2 i {
    color: #004A9E;
    /* Azul Lima */
}

.destination-article h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: #004A9E;
    bottom: 0;
    left: 0;
}

/* --- Estructura: Tarjeta de Punto Turístico --- */
.destination-spot-card {
    border-radius: 0.75rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.destination-spot-card .card-title {
    font-weight: 700;
    color: #34495e;
}

.destination-spot-card .card-img-top {
    border-bottom: 1px solid #e0e0e0;
}

/* Tabla de Datos Prácticos */
.spot-info-table {
    width: 100%;
    font-size: 0.95rem;
}

.spot-info-table td {
    padding: 0.6rem 0.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.spot-info-table tr:last-child td {
    border-bottom: 0;
}

.spot-info-table i {
    color: #004A9E;
    width: 20px;
    margin-right: 5px;
}

/* Contenedor de Mapa */
.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #ddd;
    height: 350px;
}

.map-container iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
}

/* Parrilla de Gastronomía */
.gastronomy-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gastronomy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gastronomy-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.gastronomy-item h4 {
    font-weight: 700;
    color: #34495e;
}


/* --- *** SOLUCIÓN AL SIDEBAR *** --- */
.sidebar-sticky-wrapper {
    position: sticky;
    top: 80px;
    /* 56px (navbar) + 24px (margen) */
    z-index: 1019;
    /* Menor que el z-index 1020 del navbar */
}

/* Estilos del Sidebar */
.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: #004A9E;
    /* Azul Lima */
    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;
}

/* Tabla de Datos Rápidos (Sidebar) */
.quick-facts-table {
    width: 100%;
}

.quick-facts-table td {
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.quick-facts-table tr:last-child td {
    border-bottom: 0;
}

.quick-facts-table strong {
    color: #333;
}

.quick-facts-table i {
    color: #004A9E;
}

/* Iconos azules */

/* Lista de Consejos (Sidebar) */
.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: "\F26E";
    /* Icono check-circle-fill */
    font-family: "bootstrap-icons" !important;
    font-size: 1.1rem;
    color: #198754;
    position: absolute;
    left: 0;
    top: 0;
}

/* Estilo especial para advertencias */
.list-styled-warning li {
    margin-bottom: 10px;
}

.list-styled-warning li::before {
    content: "\F33A";
    /* Icono exclamation-triangle-fill */
    color: #FFC107;
    /* Amarillo advertencia */
}