@media (max-width: 1199.98px) {
    .sidebar {
        width: 220px;
    }
    
    .main-content {
        margin-left: 220px;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .program-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar-header {
        padding: 15px;
    }
    
    .nav {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 15px 15px;
    }
    
    .nav-item {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .nav-item.active::before {
        width: 100%;
        height: 4px;
        top: auto;
        bottom: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .program-container {
        padding: 0 15px 30px;
    }
    
    .activity-row {
        flex-direction: column;
    }
    
    .time-col {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .time-box {
        display: inline-block;
        padding: 6px 15px;
    }
    
    .activity-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .speaker-info {
        margin-top: 15px;
        width: 100%;
        justify-content: flex-end;
    }
    
    /* Modales en móviles */
    .speaker-modal-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }
    
    .modal-info-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    
    .modal-info-table tr {
        border-bottom: none;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .modal-info-table td:first-child {
        font-weight: 700;
        color: var(--famex-blue);
    }
}

@media (max-width: 575.98px) {
    .program-header {
        padding: 2rem 0;
    }
    
    .program-header h1 {
        font-size: 1.8rem;
    }
    
    .speaker-modal-photo {
        width: 120px;
        height: 120px;
    }
}

/* Responsivo para el modal */
@media (max-width: 992px) {
    .conference-details {
        flex-direction: column;
    }
    
    .conference-speaker {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .conference-content {
        padding: 15px;
    }
    
    .speaker-modal-photo {
        width: 120px;
        height: 120px;
    }
}

/* Responsividad */
@media (max-width: 768px) {
    .speaker-modal-photo {
        width: 100px;
        height: 100px;
    }
    
    .modal-info-table td:first-child {
        width: 35%;
    }
}

/*dobles img*/

@media (max-width: 768px) {
    .conference-speakers {
        flex-direction: column;
    }
    
    .conference-speakers .speaker {
        flex-direction: column;
        text-align: center;
    }
    
    .conference-speakers .speaker-details {
        margin-top: 10px;
    }
}

/*mk*/

@media (max-width: 480px) {
            .watermark {
                right: 10px;
                bottom: 10px;
                padding: 3px 8px;
                gap: 4px;
            }
            .watermark-text {
                font-size: 10px; /* Tamaño fijo para móviles muy pequeños */
            }
        }