/* ===== ESTILOS MÓVILES PARA SECCIONES DE JUrados ===== */
/* Este archivo contiene los estilos móviles aplicados a todas las páginas */

/* Media query para tablets (768px) */
@media (max-width: 768px) {
    .judges-section {
        padding: 3rem 0 !important;
        margin-top: 2rem !important;
        min-height: auto !important;
        overflow: hidden !important;
    }
    
    .judges-container {
        padding: 3rem 1rem !important;
        padding-left: 1rem !important;
        padding-bottom: 4rem !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .judges-title {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-bottom: 1rem !important;
    }
    
    .judges-grid {
        gap: 0rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    #judges-section .judge-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1.5rem 0 2rem 0 !important;
        margin-bottom: 1.5rem !important;
        text-align: left !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    #judges-section .judge-header {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    #judges-section .judge-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        flex: 1 !important;
    }
    
    .judge-image {
        width: 80px !important;
        height: 80px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    
    .judge-name {
        color: var(--unnamed-color-fbf9ef) !important;
        text-align: left !important;
        font: normal normal bold 18px/22px Lato !important;
        letter-spacing: 0px !important;
        color: #FBF9EF !important;
        opacity: 1 !important;
        margin-bottom: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        flex: 1 !important;
    }
    
    .judge-biography {
        color: var(--unnamed-color-fbf9ef) !important;
        text-align: left !important;
        font: normal normal normal 15px/20px Lato !important;
        letter-spacing: -0.15px !important;
        color: #FBF9EF !important;
        opacity: 1 !important;
        margin: 0 !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        margin-top: 0 !important;
    }
    
    #judges-section .judge-card:last-child {
        margin-bottom: 0 !important;
    }
}

/* Media query para móviles pequeños (480px) */
@media (max-width: 480px) {
    .judges-section {
        padding: 2.5rem 0 !important;
        margin-top: 1.5rem !important;
        min-height: auto !important;
        overflow: hidden !important;
    }
    
    .judges-container {
        padding: 2.5rem 1.75rem !important;
        padding-left: 1.75rem !important;
        padding-bottom: 3.5rem !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .judges-title {
        font-size: 16px !important;
        line-height: 20px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .judges-grid {
        gap: 0.75rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    #judges-section .judge-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1.25rem 0 1.75rem 0 !important;
        margin-bottom: 1.25rem !important;
        text-align: left !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    #judges-section .judge-header {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 5.75rem !important;
    }
    
    #judges-section .judge-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        flex: 1 !important;
    }
    
    .judge-image {
        width: 70px !important;
        height: 70px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    .judge-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        flex: 1 !important;
    }
    
    .judge-name {
        color: var(--unnamed-color-fbf9ef) !important;
        text-align: left !important;
        font: normal normal bold 18px/22px Lato !important;
        letter-spacing: 0px !important;
        color: #FBF9EF !important;
        opacity: 1 !important;
        margin-bottom: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        flex: 1 !important;
    }
    
    .judge-biography {
        color: var(--unnamed-color-fbf9ef) !important;
        text-align: left !important;
        font: normal normal normal 15px/20px Lato !important;
        letter-spacing: -0.15px !important;
        color: #FBF9EF !important;
        opacity: 1 !important;
        margin: 0 !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        margin-top: 0 !important;
    }
    
    #judges-section .judge-card:last-child {
        margin-bottom: 0 !important;
    }
}
