/**
 * WS-RADIOS - Estilos de Componentes Adicionales
 *
 * @package WS_Radios
 * @version 1.0.0
 */

/* ========================================
   Archivo y Taxonomías
======================================== */
.ws-archive-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ws-border);
}

.ws-archive-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ws-archive-description {
    color: var(--ws-text-muted);
    max-width: 600px;
}

.ws-archive-filtros {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-lg);
}

.ws-filtros-grupo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ws-filtros-grupo label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ws-text-muted);
    white-space: nowrap;
}

.ws-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    background: var(--ws-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.5rem center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
}

.ws-select:hover {
    border-color: var(--ws-primary);
}

.ws-select:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px var(--ws-primary-alpha);
}

.ws-filtros-vista {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.ws-vista-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--ws-text-muted);
    border-radius: var(--ws-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.ws-vista-btn:hover {
    background: var(--ws-hover);
    color: var(--ws-text);
}

.ws-vista-btn.ws-active {
    background: var(--ws-primary);
    color: white;
}

.ws-archive-resultados {
    margin-bottom: 1.5rem;
}

.ws-resultados-count {
    font-size: 0.875rem;
    color: var(--ws-text-muted);
}

/* ========================================
   Taxonomía Header
======================================== */
.ws-taxonomy-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-xl);
    margin-bottom: 2rem;
}

.ws-taxonomy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--ws-primary-alpha);
    border-radius: var(--ws-radius-lg);
    color: var(--ws-primary);
}

.ws-pais-bandera {
    width: 80px;
    height: 80px;
    border-radius: var(--ws-radius-lg);
    overflow: hidden;
}

.ws-pais-bandera img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-taxonomy-info {
    flex: 1;
}

.ws-taxonomy-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ws-text-muted);
    margin-bottom: 0.25rem;
}

.ws-taxonomy-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.ws-taxonomy-description {
    color: var(--ws-text-muted);
    margin: 0 0 0.75rem;
}

.ws-taxonomy-stats {
    display: flex;
    gap: 1.5rem;
}

.ws-taxonomy-stats .ws-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ws-text-muted);
}

/* Regiones del país */
.ws-pais-regiones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-lg);
}

.ws-regiones-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ws-text-muted);
}

.ws-regiones-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ws-region-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--ws-hover);
    border-radius: var(--ws-radius-full);
    font-size: 0.8125rem;
    color: var(--ws-text);
    text-decoration: none;
    transition: all 0.2s;
}

.ws-region-tag:hover {
    background: var(--ws-primary);
    color: white;
}

.ws-region-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ========================================
   Géneros y Países Grid
======================================== */
.ws-generos-grid,
.ws-paises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.ws-genero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-dark) 100%);
    border-radius: var(--ws-radius-lg);
    color: white;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ws-genero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--ws-primary-alpha);
}

.ws-genero-nombre {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ws-genero-count {
    font-size: 0.8125rem;
    opacity: 0.8;
}

.ws-pais-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-lg);
    text-decoration: none;
    transition: all 0.2s;
}

.ws-pais-card:hover {
    background: var(--ws-hover);
    transform: translateX(4px);
}

.ws-pais-card__bandera {
    width: 40px;
    height: 40px;
    border-radius: var(--ws-radius);
    object-fit: cover;
}

.ws-pais-card__nombre {
    flex: 1;
    font-weight: 500;
    color: var(--ws-text);
}

.ws-pais-card__count {
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
}

/* ========================================
   404 Page
======================================== */
.ws-main--404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.ws-404 {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.ws-404__visual {
    position: relative;
    margin-bottom: 2rem;
}

.ws-404__numero {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.ws-404__icono {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--ws-text-muted);
}

.ws-404__titulo {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ws-404__descripcion {
    color: var(--ws-text-muted);
    margin-bottom: 2rem;
}

.ws-404__acciones {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ws-404__busqueda {
    padding-top: 1.5rem;
    border-top: 1px solid var(--ws-border);
}

.ws-404__busqueda p {
    font-size: 0.875rem;
    color: var(--ws-text-muted);
    margin-bottom: 1rem;
}

.ws-404__sugerencias {
    margin-top: 4rem;
}

/* ========================================
   No contenido / Vacío
======================================== */
.ws-no-contenido {
    text-align: center;
    padding: 4rem 2rem;
}

.ws-no-contenido__icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--ws-surface);
    border-radius: 50%;
    color: var(--ws-text-muted);
}

.ws-no-contenido__titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ws-no-contenido__descripcion {
    color: var(--ws-text-muted);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.ws-no-contenido__acciones {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ws-no-contenido__sugerencias {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ws-border);
}

.ws-no-contenido__sugerencias h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ========================================
   Acceso Requerido
======================================== */
.ws-acceso-requerido {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.ws-acceso-requerido__icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--ws-surface);
    border-radius: 50%;
    color: var(--ws-primary);
}

.ws-acceso-requerido h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.ws-acceso-requerido p {
    color: var(--ws-text-muted);
    margin-bottom: 1.5rem;
}

/* ========================================
   Perfil de Usuario
======================================== */
.ws-perfil-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-xl);
    margin-bottom: 2rem;
}

.ws-perfil-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--ws-primary);
}

.ws-perfil-info {
    flex: 1;
}

.ws-perfil-nombre {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.ws-perfil-email {
    color: var(--ws-text-muted);
    margin: 0 0 1rem;
}

.ws-perfil-stats {
    display: flex;
    gap: 2rem;
}

.ws-perfil-stat {
    text-align: center;
}

.ws-perfil-stat__numero {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ws-primary);
}

.ws-perfil-stat__label {
    display: block;
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
}

/* Tabs del perfil */
.ws-perfil-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-lg);
    margin-bottom: 2rem;
}

.ws-perfil-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--ws-radius);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ws-text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.ws-perfil-tab:hover {
    background: var(--ws-hover);
    color: var(--ws-text);
}

.ws-perfil-tab.ws-active {
    background: var(--ws-primary);
    color: white;
}

/* Panel del perfil */
.ws-perfil-panel {
    background: var(--ws-surface);
    border-radius: var(--ws-radius-xl);
    padding: 2rem;
}

.ws-perfil-panel h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ws-border);
}

.ws-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ws-border);
}

.ws-panel-header h2 {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Historial */
.ws-historial-lista {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ws-historial-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--ws-radius);
    transition: background 0.2s;
}

.ws-historial-item:hover {
    background: var(--ws-hover);
}

.ws-historial-item__img {
    width: 48px;
    height: 48px;
    border-radius: var(--ws-radius);
    object-fit: cover;
}

.ws-historial-item__info {
    flex: 1;
}

.ws-historial-item__titulo {
    display: block;
    font-weight: 500;
    color: var(--ws-text);
    text-decoration: none;
}

.ws-historial-item__titulo:hover {
    color: var(--ws-primary);
}

.ws-historial-item__meta {
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
}

/* Ajustes */
.ws-ajustes-seccion {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ws-border);
}

.ws-ajustes-seccion:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.ws-ajustes-seccion h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

/* ========================================
   Búsqueda
======================================== */
.ws-search-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ws-border);
}

.ws-search-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ws-search-title span {
    color: var(--ws-primary);
}

.ws-search-stats {
    color: var(--ws-text-muted);
    margin-bottom: 1.5rem;
}

.ws-search-form--large {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.ws-search-form--large .ws-search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border-radius: var(--ws-radius-lg) 0 0 var(--ws-radius-lg);
}

.ws-search-form--large .ws-btn {
    border-radius: 0 var(--ws-radius-lg) var(--ws-radius-lg) 0;
}

.ws-categorias-sugeridas {
    margin-top: 2rem;
}

.ws-categorias-sugeridas h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ws-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.ws-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-full);
    font-size: 0.875rem;
    color: var(--ws-text);
    text-decoration: none;
    transition: all 0.2s;
}

.ws-tag:hover {
    background: var(--ws-primary);
    color: white;
}

/* ========================================
   Comentarios
======================================== */
.ws-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ws-border);
}

.ws-comments__titulo {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ws-comments__lista {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.ws-comment {
    margin-bottom: 1rem;
}

.ws-comment__body {
    padding: 1.25rem;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-lg);
}

.ws-comment__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ws-comment__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.ws-comment__autor {
    display: block;
    font-weight: 600;
}

.ws-comment__autor a {
    color: var(--ws-text);
    text-decoration: none;
}

.ws-comment__fecha {
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
}

.ws-comment__contenido {
    line-height: 1.6;
}

.ws-comment__contenido p {
    margin: 0 0 1rem;
}

.ws-comment__footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ws-border);
}

.ws-comment__responder a,
.ws-comment__editar a {
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
    text-decoration: none;
}

.ws-comment__responder a:hover,
.ws-comment__editar a:hover {
    color: var(--ws-primary);
}

.ws-comment__pendiente {
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--ws-radius);
    font-size: 0.875rem;
    color: #F59E0B;
}

/* Formulario de comentarios */
.ws-comment-form {
    background: var(--ws-surface);
    padding: 1.5rem;
    border-radius: var(--ws-radius-lg);
}

.ws-comment-form .comment-reply-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .ws-archive-filtros {
        flex-direction: column;
        align-items: stretch;
    }

    .ws-filtros-vista {
        margin-left: 0;
        justify-content: center;
    }

    .ws-taxonomy-header {
        flex-direction: column;
        text-align: center;
    }

    .ws-taxonomy-header .ws-btn {
        width: 100%;
    }

    .ws-taxonomy-stats {
        justify-content: center;
    }

    .ws-perfil-header {
        flex-direction: column;
        text-align: center;
    }

    .ws-perfil-stats {
        justify-content: center;
    }

    .ws-perfil-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ws-perfil-tab span:not(.dashicons):not(svg) {
        display: none;
    }

    .ws-404__numero {
        font-size: 5rem;
    }

    .ws-404__acciones {
        flex-direction: column;
    }

    .ws-search-form--large {
        flex-direction: column;
    }

    .ws-search-form--large .ws-search-input {
        border-radius: var(--ws-radius-lg);
        margin-bottom: 0.5rem;
    }

    .ws-search-form--large .ws-btn {
        border-radius: var(--ws-radius-lg);
        width: 100%;
    }
}

/* ========================================
   Modal: Acerca de la Radio
======================================== */
.ws-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ws-modal.ws-modal--active {
    opacity: 1;
    visibility: visible;
}

.ws-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    animation: ws-modal-fade-in 0.3s ease;
}

.ws-modal__container {
    position: relative;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    background: var(--ws-surface);
    border-radius: var(--ws-radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: ws-modal-slide-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    display: flex;
    flex-direction: column;
}

.ws-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.ws-modal__close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.ws-modal__close svg {
    width: 20px;
    height: 20px;
}

.ws-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-dark) 100%);
    color: white;
    flex-shrink: 0;
}

.ws-modal__header-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--ws-radius-lg);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ws-modal__header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-modal__header-info {
    flex: 1;
    min-width: 0;
}

.ws-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: white;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ws-modal__subtitle {
    font-size: 0.9375rem;
    margin: 0;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
}

.ws-modal__body {
    padding: 1.75rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}

.ws-modal__body::-webkit-scrollbar {
    width: 6px;
}

.ws-modal__body::-webkit-scrollbar-track {
    background: var(--ws-hover);
    border-radius: 4px;
}

.ws-modal__body::-webkit-scrollbar-thumb {
    background: var(--ws-primary);
    border-radius: 4px;
}

.ws-modal__section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--ws-text);
    padding-bottom: 0.875rem;
    border-bottom: 3px solid var(--ws-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ws-modal__section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.25rem;
    background: var(--ws-primary);
    border-radius: 2px;
}

.ws-modal__content {
    line-height: 1.7;
    color: var(--ws-text);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ws-modal__content p {
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    line-height: 1.7;
    color: var(--ws-text);
}

.ws-modal__content p:last-child {
    margin-bottom: 0;
}

/* Estilos para contenido WordPress */
.ws-modal__content .ws-prose {
    margin-top: 1rem;
}

.ws-modal__content .ws-prose p {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
}

.ws-modal__content .ws-prose h2,
.ws-modal__content .ws-prose h3,
.ws-modal__content .ws-prose h4 {
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--ws-text);
}

.ws-modal__content .ws-prose h2 {
    font-size: 1.25rem;
}

.ws-modal__content .ws-prose h3 {
    font-size: 1.125rem;
}

.ws-modal__content .ws-prose h4 {
    font-size: 1rem;
}

.ws-modal__content .ws-prose ul,
.ws-modal__content .ws-prose ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.ws-modal__content .ws-prose li {
    margin-bottom: 0.5rem;
}

.ws-modal__content .ws-prose a {
    color: var(--ws-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.ws-modal__content .ws-prose a:hover {
    color: var(--ws-primary-light);
}

.ws-modal__content .ws-prose strong {
    font-weight: 600;
    color: var(--ws-text);
}

.ws-modal__content .ws-prose em {
    font-style: italic;
}

.ws-modal__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
    background: var(--ws-bg-primary);
    border-radius: var(--ws-radius-lg);
    border: 1px solid var(--ws-border);
}

.ws-modal__detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ws-modal__detail-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    color: var(--ws-primary);
}

.ws-modal__detail-item div {
    flex: 1;
}

.ws-modal__detail-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
    color: var(--ws-text);
}

.ws-modal__detail-item span,
.ws-modal__detail-item a {
    font-size: 0.9375rem;
    color: var(--ws-text-muted);
    word-break: break-word;
}

.ws-modal__detail-item a {
    text-decoration: none;
    transition: color 0.2s;
}

.ws-modal__detail-item a:hover {
    color: var(--ws-primary);
}

/* Animaciones del modal */
@keyframes ws-modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes ws-modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   Botón "Acerca de" en Hero
======================================== */
.ws-about-radio-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: var(--ws-radius-lg) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
}

.ws-about-radio-trigger:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
}

.ws-about-radio-trigger svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Sección AdSense Optimizada
======================================== */
.ws-adsense-main-section {
    margin: 2.5rem 0;
    padding: 0;
}

.ws-adsense-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(139, 92, 246, 0.01) 100%);
    border-radius: var(--ws-radius-xl);
    border: 1px solid var(--ws-border);
}

/* Placeholder Base */
.ws-adsense-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--ws-surface) 0%, var(--ws-bg-primary) 100%);
    border: 2px dashed var(--ws-border);
    border-radius: var(--ws-radius-xl);
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ws-adsense-placeholder:hover {
    border-color: var(--ws-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

/* Shimmer Effect */
.ws-adsense-placeholder__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.08) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.ws-adsense-placeholder__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.ws-adsense-placeholder__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-light) 100%);
    border-radius: var(--ws-radius-lg);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.ws-adsense-placeholder__icon svg {
    width: 32px;
    height: 32px;
}

.ws-adsense-placeholder__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ws-adsense-placeholder span,
.ws-adsense-placeholder__text span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ws-text);
    margin-bottom: 0.25rem;
}

.ws-adsense-placeholder p,
.ws-adsense-placeholder__text p {
    font-size: 0.8125rem;
    margin: 0;
    color: var(--ws-text-muted);
    font-weight: 500;
}

/* Variante Main (728x90) */
.ws-adsense-placeholder--main {
    min-width: 100%;
    min-height: 140px;
}

.ws-adsense-placeholder--main .ws-adsense-placeholder__content {
    flex-direction: row;
    gap: 1.5rem;
}

/* Variante Hero (300x250) */
.ws-adsense-placeholder--hero {
    width: 300px;
    min-height: 250px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.ws-adsense-placeholder--hero:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.ws-adsense-placeholder--hero .ws-adsense-placeholder__icon {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ws-adsense-placeholder--hero span {
    color: rgba(255, 255, 255, 0.9);
}

.ws-adsense-placeholder--hero p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Responsive: Modal & AdSense
======================================== */
@media (max-width: 768px) {
    .ws-modal {
        padding: 0.5rem;
    }

    .ws-modal__container {
        max-height: 92vh;
        max-width: 100%;
        border-radius: var(--ws-radius-lg);
    }

    .ws-modal__header {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }

    .ws-modal__header-img {
        width: 64px;
        height: 64px;
    }

    .ws-modal__title {
        font-size: 1.125rem;
        line-height: 1.3;
    }

    .ws-modal__subtitle {
        font-size: 0.875rem;
    }

    .ws-modal__body {
        padding: 1.25rem;
    }

    .ws-modal__section-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .ws-modal__section-title::before {
        height: 1.125rem;
    }

    .ws-modal__content {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .ws-modal__content p {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }

    .ws-modal__details {
        padding: 1rem;
        margin-top: 1.25rem;
        gap: 0.875rem;
    }

    .ws-modal__detail-item {
        gap: 0.75rem;
    }

    .ws-modal__detail-item svg {
        width: 18px;
        height: 18px;
    }

    .ws-modal__detail-item strong {
        font-size: 0.75rem;
    }

    .ws-modal__detail-item span,
    .ws-modal__detail-item a {
        font-size: 0.875rem;
    }

    .ws-modal__close {
        width: 36px;
        height: 36px;
        top: 0.75rem;
        right: 0.75rem;
    }

    .ws-modal__close svg {
        width: 18px;
        height: 18px;
    }

    .ws-about-radio-trigger span {
        display: none;
    }

    .ws-about-radio-trigger {
        padding: 0.75rem !important;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .ws-adsense-main-section {
        margin: 1.5rem 0;
    }

    .ws-adsense-main-wrapper {
        padding: 1.5rem 1rem;
    }

    .ws-adsense-placeholder {
        padding: 1.5rem 1rem;
        min-width: auto;
        width: 100%;
    }

    .ws-adsense-placeholder--main .ws-adsense-placeholder__content {
        flex-direction: column;
        gap: 1rem;
    }

    .ws-adsense-placeholder__icon {
        width: 56px;
        height: 56px;
    }

    .ws-adsense-placeholder__icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .ws-modal {
        padding: 0.25rem;
    }

    .ws-modal__container {
        max-height: 95vh;
        border-radius: var(--ws-radius);
    }

    .ws-modal__header {
        padding: 1rem;
    }

    .ws-modal__header-img {
        width: 56px;
        height: 56px;
    }

    .ws-modal__title {
        font-size: 1rem;
    }

    .ws-modal__body {
        padding: 1rem;
    }

    .ws-modal__section-title {
        font-size: 1rem;
    }

    .ws-modal__section-title::before {
        height: 1rem;
        width: 3px;
    }

    .ws-modal__content p {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    .ws-modal__details {
        padding: 0.875rem;
    }
}

/* ========================================
   Menú Desktop Moderno en Header
======================================== */
.ws-header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1.5rem;
}

.ws-header__nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ws-text);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: var(--ws-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.ws-header__nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ws-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px 2px 0 0;
}

.ws-header__nav-item:hover {
    background: var(--ws-hover);
    color: var(--ws-primary);
    transform: translateY(-2px);
}

.ws-header__nav-item:hover::before {
    width: 80%;
    left: 10%;
}

.ws-header__nav-item.ws-active {
    color: var(--ws-primary);
    background: var(--ws-primary-alpha);
    font-weight: 600;
}

.ws-header__nav-item.ws-active::before {
    width: 80%;
    left: 10%;
}

.ws-header__nav-item svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ws-header__nav-item:hover svg {
    transform: scale(1.1);
}

.ws-header__nav-item.ws-has-dropdown[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Dropdown Container */
.ws-header__nav-dropdown {
    position: relative;
}

.ws-header__dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 280px;
    padding: 0.5rem;
    background: var(--ws-bg-primary);
    backdrop-filter: blur(12px);
    border: 2px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s;
    z-index: 100;
}

.ws-header__nav-dropdown.ws-active .ws-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: dropdown-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dropdown-slide-in {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Items */
.ws-header__dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: var(--ws-radius);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-10px);
    animation: dropdown-item-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ws-header__dropdown-item:nth-child(1) { animation-delay: 0.05s; }
.ws-header__dropdown-item:nth-child(2) { animation-delay: 0.1s; }
.ws-header__dropdown-item:nth-child(3) { animation-delay: 0.15s; }
.ws-header__dropdown-item:nth-child(4) { animation-delay: 0.2s; }
.ws-header__dropdown-item:nth-child(5) { animation-delay: 0.25s; }
.ws-header__dropdown-item:nth-child(6) { animation-delay: 0.3s; }
.ws-header__dropdown-item:nth-child(7) { animation-delay: 0.35s; }
.ws-header__dropdown-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes dropdown-item-fade-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ws-header__dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ws-primary);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.ws-header__dropdown-item:hover {
    background: var(--ws-hover);
    padding-left: 1.25rem;
    transform: translateX(4px);
}

.ws-header__dropdown-item:hover::before {
    transform: scaleY(1);
}

.ws-header__dropdown-item svg {
    flex-shrink: 0;
    color: var(--ws-text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ws-header__dropdown-item:hover svg {
    color: var(--ws-primary);
    transform: scale(1.1) rotate(5deg);
}

.ws-header__dropdown-item div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ws-header__dropdown-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ws-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.ws-header__dropdown-item:hover .ws-header__dropdown-title {
    color: var(--ws-primary);
}

.ws-header__dropdown-desc {
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
    transition: color 0.3s ease;
}

.ws-header__dropdown-item:hover .ws-header__dropdown-desc {
    color: var(--ws-text);
}

.ws-header__dropdown-divider {
    height: 1px;
    background: var(--ws-border);
    margin: 0.5rem 0;
    opacity: 0;
    transform: scaleX(0);
    animation: divider-expand 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}

@keyframes divider-expand {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Featured Item */
.ws-header__dropdown-item--featured {
    background: var(--ws-primary-alpha);
    border: 1px solid var(--ws-border);
    margin-top: 0.25rem;
    position: relative;
    overflow: hidden;
}

.ws-header__dropdown-item--featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.ws-header__dropdown-item--featured:hover {
    background: var(--ws-hover);
    border-color: var(--ws-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    transform: translateX(4px) translateY(-2px);
}

.ws-header__dropdown-item--featured:hover::after {
    left: 100%;
}

.ws-header__dropdown-item--featured .ws-header__dropdown-title {
    color: var(--ws-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.ws-header__dropdown-item--featured svg {
    color: var(--ws-primary);
    position: relative;
    z-index: 1;
}

.ws-header__dropdown-item--featured:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

/* Ocultar en mobile */
@media (max-width: 1024px) {
    .ws-header__nav {
        display: none;
    }
}

