/**
 * Estilos para Contenido SEO Automático de Taxonomías
 *
 * Estilos para las secciones de contenido generado automáticamente
 * en las páginas de taxonomía (localidad, provincia).
 *
 * @package Xacobeos
 * @since 2.1.0
 */

/* ========================================
   INTRODUCCIÓN SEO
   ======================================== */
.taxonomy-intro {
    background: #f8f9fa;
    border-left: 4px solid var(--camino-yellow, #FFD700);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.taxonomy-intro p {
    margin: 0 0 0.75rem 0;
}

.taxonomy-intro p:last-child {
    margin-bottom: 0;
}

.taxonomy-intro strong {
    color: var(--camino-blue, #1E4A8C);
    font-weight: 600;
}

/* ========================================
   CAJA DE ESTADÍSTICAS
   ======================================== */
.taxonomy-stats-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.taxonomy-stats-box .stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--camino-blue, #1E4A8C);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--camino-yellow, #FFD700);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--camino-blue, #1E4A8C);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-type {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #333;
}

.stat-services {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* ========================================
   SECCIÓN FAQ
   ======================================== */
.taxonomy-faq-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.taxonomy-faq-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--camino-blue, #1E4A8C);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--camino-yellow, #FFD700);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.faq-answer {
    color: #555;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* ========================================
   KEYWORDS POR TIPOS DE ALOJAMIENTO (SEO)
   ======================================== */
.accommodation-types-keywords {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.accommodation-types-keywords h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--camino-blue, #1E4A8C);
    margin: 0 0 2rem 0;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--camino-yellow, #FFD700);
}

.type-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.type-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.type-card:hover {
    border-color: var(--camino-yellow, #FFD700);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.type-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.type-card .type-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.type-keyword-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--camino-blue, #1E4A8C);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.type-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.type-count {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.type-count strong {
    color: var(--camino-blue, #1E4A8C);
    font-size: 1.5rem;
    font-weight: 700;
}

.type-price {
    margin: 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.type-price .price-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-price .price-amount {
    font-size: 1.75rem;
    color: var(--camino-blue, #1E4A8C);
    font-weight: 700;
    margin: 0 0.25rem;
}

.type-price .price-period {
    font-size: 0.9rem;
    color: #777;
}

/* ========================================
   ENLACES INTERNOS
   ======================================== */
.taxonomy-internal-links {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.taxonomy-internal-links h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--camino-blue, #1E4A8C);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.internal-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.internal-link-card:hover {
    border-color: var(--camino-yellow, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--camino-blue, #1E4A8C);
    text-decoration: none;
}

.internal-link-card .link-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.internal-link-card .link-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .taxonomy-stats-box,
    .taxonomy-faq-section,
    .taxonomy-internal-links,
    .accommodation-types-keywords {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .internal-links-grid {
        grid-template-columns: 1fr;
    }
    
    .type-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .taxonomy-intro {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .faq-question {
        font-size: 1.05rem;
    }
    
    .accommodation-types-keywords h2 {
        font-size: 1.5rem;
    }
    
    .type-keyword-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .taxonomy-stats-box .stats-title,
    .taxonomy-faq-section h2,
    .taxonomy-internal-links h2,
    .accommodation-types-keywords h2 {
        font-size: 1.25rem;
    }
    
    .type-card .type-icon {
        font-size: 2rem;
    }
    
    .type-price .price-amount {
        font-size: 1.5rem;
    }
}


