/* ===============================================================
   Estilos para Páginas de Taxonomías - Tipo Acceso y Tipo Entorno
   =============================================================== */

/* --- Header de Página de Taxonomía --- */
.archive-header {
    background-color: #f8f9fa;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.archive-header .page-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #495057;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.archive-header .page-title strong {
    font-weight: 700;
    color: #0073a8;
}

.archive-header .archive-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Secciones Principales --- */
.playas-section {
    margin: 3rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: #2c3e50;
    text-align: left;
    border-bottom: 3px solid #0073a8;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* --- Grid de Playas en Taxonomías --- */
.playas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* --- Paginación --- */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-numbers:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.page-numbers.current {
    background: #0073a8;
    border-color: #0073a8;
    color: #fff;
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 600;
}

/* --- Fallback de "No hay resultados" --- */
.no-results-fallback {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-top: 2rem;
    text-align: center;
}

.fallback-message {
    font-size: 1.2rem;
    color: #856404;
    margin-bottom: 2rem;
}

.fallback-message strong {
    color: #533c02;
}

/* --- Mapa de Playas en Taxonomías --- */
.mapa-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.mapa-section .section-title {
    margin-bottom: 2rem;
}

#map {
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .archive-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .archive-header .page-title {
        font-size: 1.5rem;
    }
    
    .playas-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .archive-header {
        padding: 1rem;
        text-align: left;
    }
    
    .archive-header .page-title {
        font-size: 1.25rem;
    }
    
    .archive-header .archive-description {
        font-size: 1rem;
    }
    
    .playas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .page-numbers {
        padding: 8px 12px;
        margin: 0 2px;
        font-size: 0.9rem;
    }
}

/* --- Breadcrumbs para Taxonomías --- */
.taxonomy-breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.taxonomy-breadcrumbs a {
    color: #0073a8;
    text-decoration: none;
}

.taxonomy-breadcrumbs a:hover {
    text-decoration: underline;
}

.taxonomy-breadcrumbs .separator {
    margin: 0 8px;
    color: #adb5bd;
}

/* --- Estilos específicos para diferentes taxonomías --- */

/* Tipo de Acceso */
.tax-tipo_acceso .archive-header {
    border-left: 4px solid #28a745;
}

.tax-tipo_acceso .section-title {
    border-bottom-color: #28a745;
}

.tax-tipo_acceso .page-numbers.current {
    background: #28a745;
    border-color: #28a745;
}

/* Tipo de Entorno */
.tax-tipo_entorno .archive-header {
    border-left: 4px solid #17a2b8;
}

.tax-tipo_entorno .section-title {
    border-bottom-color: #17a2b8;
}

.tax-tipo_entorno .page-numbers.current {
    background: #17a2b8;
    border-color: #17a2b8;
}

/* --- Container Principal --- */
.main-content-container {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.container {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
} 