/* ================================================================================================================================================ */
/* ============================================================ ESTILOS PERSONALIZADOS ============================================================ */
/* ================================================================================================================================================ */






/* ======================== DEFINICIÓN DE COLORES ======================== */
:root {
    --color-principal: #0b1f40;
    --color-secundario: #7a828c;
    --color-terciario: #f0bd0f;

    --color-principal-rgb: rgb(11, 31, 64);
    --color-secundario-rgb: rgb(122, 130, 140);
    --color-terciario-rgb: rgb(240, 189, 15);



    --color-link: #f0bd0f;
    --color-link-hover: #ffcc26;


    --color-add-1: #efd9b9;
    --color-add-2: #dcb73d;
    --color-add-3: #91be48;
    --color-add-4: #405169;
    --color-add-5: #d66e25;
    --color-add-6: #a9b1bb;

}






/* ======================== HEADER AREA ======================== */
.navigation.navigation-2::before {
    background: var(--color-principal);
}

.navigation.navigation-2::after {
    background: var(--color-secundario);
}

.navigation .navbar .navbar-nav .nav-item a {
    color: var(--color-add-6);
}



/* ======================== FOOTER AREA ======================== */
.footer-area.footer-area-2::before {
    background: none; 
}

.footer-area.footer-area-2 {
    background: var(--color-principal);
}

a.link{
    color: var(--color-link);
} 

a.link:hover{
    color: var(--color-link-hover);
} 


.sub-items-area .sub-item{
    height: 100%;
}





/* ======================== SLIDER AREA ======================== */
        .banner-area.banner-area-2 .banner-content .title::before {
            border-top: none;
            border-right: none;
        }


        .banner-slider { position: relative; overflow: hidden; }
        .banner-slider::before { display: none; }

        .banner-slider .banner-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease; z-index: 1; }
        .banner-slider .banner-slide.active { opacity: 1; visibility: visible; z-index: 2; }

        .banner-slider .banner-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #9b9c9e 0%, var(--color-principal) 100%); opacity: .502; z-index: 0; }
        .banner-slider .banner-slide .container { position: relative; width: 100%; z-index: 1; }

        .banner-slider .banner-content { position: relative; transform: translateY(-40px); }
        .banner-slider .banner-content .title { font-size: 72px; line-height: 105px; padding: 0; margin: 0 0 20px; color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .45); }
        .banner-slider .banner-content .title::before, .banner-slider .banner-content .title::after { display: none; }

        .banner-slider .banner-content p { max-width: 850px; margin: 0 auto; padding: 0 20px; color: #fff; font-size: 22px; line-height: 32px; font-weight: 500; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }

        .banner-slider .banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 55px; height: 55px; border: 2px solid var(--color-terciario-rgb); border-radius: 50%; background: var(--color-principal-rgb); color: rgba(240, 189, 15, .95); font-size: 34px; line-height: 45px; cursor: pointer; z-index: 10; transition: .3s; }
        .banner-slider .banner-arrow:hover { background: #f0bd0f; border-color: #f0bd0f; color: #fff; }
        .banner-slider .banner-arrow.prev { left: 30px; }
        .banner-slider .banner-arrow.next { right: 30px; }

       @media only screen and (min-width: 992px) and (max-width: 1200px) {
            .banner-slider .banner-content .title { font-size: 60px; line-height: 76px; }
            .banner-slider .banner-content p { max-width: 760px; font-size: 20px; line-height: 30px; }
        }

        @media only screen and (min-width: 768px) and (max-width: 991px) {
            .banner-slider .banner-content { transform: translateY(-30px); }
            .banner-slider .banner-content .title { font-size: 72px; line-height: 92px; padding: 0; margin: 0 0 20px; color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .45); }
            .banner-slider .banner-content p { max-width: 650px; font-size: 19px; line-height: 29px; }
            .banner-slider .banner-arrow.prev { left: 20px; }
            .banner-slider .banner-arrow.next { right: 20px; }
        }

        @media (max-width: 767px) {
            .banner-slider .banner-content { transform: translateY(-25px); padding: 0 35px; }
            .banner-slider .banner-content .title { font-size: 38px; line-height: 46px; margin-bottom: 15px; }
            .banner-slider .banner-content p { max-width: 100%; padding: 0; font-size: 17px; line-height: 25px; }
            .banner-slider .banner-arrow { width: 42px; height: 42px; font-size: 26px; line-height: 34px; }
            .banner-slider .banner-arrow.prev { left: 10px; }
            .banner-slider .banner-arrow.next { right: 10px; }
        }

        @media only screen and (min-width: 576px) and (max-width: 767px) {
            .banner-slider .banner-content .title { font-size: 44px; line-height: 54px; }
            .banner-slider .banner-content p { font-size: 18px; line-height: 27px; }
        }
/* ======================== SLIDER AREA ======================== */








/* ==================== MODALES ==================== */
.modal-body img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    margin: 0 auto;
}


.modal-vista-previa .modal-content {
    position: relative;
    border: 4px solid #2b2b2b;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.65);
    overflow: visible;
}

.modal-vista-previa .modal-header {
    position: relative;
    background: #202020;
    color: #fff;
    border-bottom: 0;
    padding: 18px 65px 18px 22px;
}

.modal-vista-previa .modal-title {
    color: #fff;
    margin: 0;
}

.modal-vista-previa .modal-body {
    position: relative;
    padding: 22px;
}

.modal-vista-previa .modal-sin-titulo .modal-body {
    padding-top: 35px;
}

.modal-vista-previa .modal-close-circle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 3px solid #202020;
    border-radius: 50%;
    background: #a8840a;
    color: #fff;
    font-size: 18px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transform: translate(50%, -50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.modal-vista-previa .modal-close-circle:hover {
    background: #f0bd0f;
    color: #fff;
    transform: translate(50%, -50%) scale(1.08);
}

.modal-vista-previa .modal-close-circle:focus {
    outline: none;
}

.modal-backdrop.show {
    opacity: 0.7;
}



/* ==================== ANIMACIÓN DE MODALES ==================== */

.modal-vista-previa.fade {
    transition: opacity 0.3s ease;
}

.modal-vista-previa.fade .modal-dialog {
    transform: translateY(-25px) scale(0.96);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-vista-previa.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-backdrop.fade {
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 0.7;
}







/* ==================== TITULOS ==================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--color-principal);
}

.section-title .title {
    color: var(--color-principal);
}

.mentors-area .section-title .title span {
    color: var(--color-terciario);
}

.play-area .section-title.section-title-2 .title span {
    color: var(--color-terciario);
}

.section-title.section-title-2 .title span {
    color: var(--color-terciario);
}


.access-area .access-content .access-title .title span {
    color: var(--color-terciario);
}

.access-area .access-content .access-mission .title span {
    color: var(--color-add-5);
}

.access-area .access-content .access-vision .title span {
    color: var(--color-add-3);
}




/* ==================== OTROS ==================== */

.mentors-area .single-mentors .mentors-content span {
    color: var(--color-terciario);
}


.testimonials-2-area .section-title .title span {
    color: var(--color-terciario);
}


.testimonials-2-area .single-testimonials .testimonials-content i {
    background: var(--color-secundario);
}

.testimonials-2-area .testimonials-2-active .slick-dots li.slick-active button {
    background: var(--color-terciario);
}




/* ==================== TABLA DOCUMENTOS ==================== */
.documentos-tabla-wrapper {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.tabla-documentos {
    width: 100%;
    margin-bottom: 0;
    background: #fff;
}

.tabla-documentos thead {
    background: #202020;
    color: #fff;
}

.tabla-documentos thead th {
    padding: 16px 18px;
    border: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    vertical-align: middle;
}

.tabla-documentos tbody td {
    padding: 15px 18px;
    border-top: 1px solid #e9e9e9;
    color: #444;
    background: #fff;
    vertical-align: middle;
}

.tabla-documentos tbody tr:hover td {
    background: #f7f7f7;
}

.tabla-documentos tbody td:nth-child(2) {
    font-weight: 500;
}

.btn-descargar-documento {
    min-width: 125px;
    padding: 8px 14px;
    background: #202020;
    border: 2px solid #202020;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-descargar-documento:hover,
.btn-descargar-documento:focus {
    background: #a8840a;
    border-color: #a8840a;
    color: #fff;
}

.input-posicion-documento {
    width: 80px;
    min-width: 80px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-weight: 600;
}

.input-posicion-documento:focus {
    border-color: #a8840a;
    box-shadow: 0 0 0 0.2rem rgba(168, 132, 10, 0.15);
}

.btn-eliminar-documento {
    min-width: 100px;
    border-radius: 6px;
}

.btn-guardar-posiciones {
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .tabla-documentos thead th,
    .tabla-documentos tbody td {
        padding: 12px;
        white-space: nowrap;
    }

    .btn-descargar-documento {
        min-width: auto;
    }
}





/* ==================== FILTROS INFORMATIVOS ==================== */
.filtros-informativos-wrapper {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.filtros-informativos-header {
    padding: 16px 20px;
    background: #202020;
    color: #fff;
}

.filtros-informativos-header h5 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.filtros-informativos-header p {
    margin: 5px 0 0;
    color: #ccc;
    font-size: 14px;
}

.filtros-informativos-body {
    padding: 22px;
    background: #fff;
}

.filtros-informativos-body label {
    margin-bottom: 7px;
    color: #444;
    font-size: 14px;
}

.filtro-informativo-select {
    height: 45px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #444;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filtro-informativo-select:focus {
    border-color: #a8840a;
    box-shadow: 0 0 0 0.2rem rgba(168, 132, 10, 0.15);
}

@media (max-width: 767px) {
    .filtros-informativos-body .form-group {
        margin-bottom: 18px !important;
    }

    .filtros-informativos-body .col-md-4:last-child .form-group {
        margin-bottom: 0 !important;
    }
}




/* ============================= HORARIOS POR CURSO ============================= */

.horarios-cursos-page {
    background: #f7f8fa;
}

.horarios-cursos-page > .container > h4 {
    color: #252525;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}


/* ==================== Administración ==================== */

.horarios-cursos-page .horarios-admin-area {
    margin-bottom: 55px;
}

.horarios-cursos-page .horarios-admin-area > .row {
    margin-left: 0;
    margin-right: 0;
    padding: 22px 25px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.horarios-cursos-page .horarios-admin-area label {
    margin-bottom: 8px;
    color: #333333;
}

.horarios-cursos-page .horarios-admin-area .custom-select {
    display: inline-block;
    width: auto;
    min-width: 110px;
    min-height: 42px;
    border: 1px solid #d8dce2;
    border-radius: 5px;
    background-color: #ffffff;
}


/* ==================== Títulos de enseñanza ==================== */

.horarios-cursos-page > .container > h5 {
    position: relative;
    margin: 35px 0 15px;
    padding: 11px 16px;
    border-left: 4px solid #d6a800;
    border-radius: 0 5px 5px 0;
    background: #ffffff;
    color: #303030;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.05);
}

.horarios-cursos-page > .container > h5:first-of-type {
    margin-top: 0;
}


/* ==================== Tablas ==================== */

.horarios-cursos-page .table-responsive {
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.07);
}

.horarios-cursos-page .table {
    margin-bottom: 0;
    table-layout: fixed;
    background: #ffffff;
}

.horarios-cursos-page .table td {
    height: 78px;
    padding: 0;
    border-color: #e3e6e9;
    vertical-align: middle;
    background: #ffffff;
    transition: background 0.2s ease;
}

.horarios-cursos-page .table td:hover {
    background: #f5f8fb;
}

.horarios-cursos-page .table td:empty {
    background: #fafafa;
}


/* ==================== Elemento horario ==================== */

.horarios-cursos-page .horario-curso-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 78px;
    padding: 12px 15px;
}

.horarios-cursos-page .horario-curso-item > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #dce1e6;
    border-radius: 5px;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.horarios-cursos-page .horario-curso-item > a i {
    color: #d6a800;
    transition: color 0.2s ease;
}

.horarios-cursos-page .horario-curso-item > a:hover {
    border-color: #d6a800;
    background: #fffaf0;
    color: #222222;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.horarios-cursos-page .horario-curso-item > a:hover i {
    color: #b78f00;
}


/* ==================== Eliminar horario ==================== */

.horarios-cursos-page .horario-curso-item .form-eliminar-horario {
    flex-shrink: 0;
    margin: 0;
}

.horarios-cursos-page .horario-curso-item .boton-eliminar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 5px;
}


/* ==================== Sin horarios ==================== */

.horarios-cursos-page .alert-warning {
    padding: 20px;
    border: 0;
    border-left: 4px solid #e0a800;
    border-radius: 5px;
    background: #fff8dd;
    color: #665515;
}


/* ==================== Modal crear horario ==================== */

#modalCrearHorario .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#modalCrearHorario .modal-header {
    border-bottom: 0;
    background: #222f3e;
    color: #ffffff;
}

#modalCrearHorario .modal-title {
    color: #ffffff;
    font-weight: 600;
}

#modalCrearHorario .modal-header .close {
    color: #ffffff;
    opacity: 0.85;
    text-shadow: none;
}

#modalCrearHorario .modal-header .close:hover {
    color: #ffffff;
    opacity: 1;
}

#modalCrearHorario .modal-body {
    padding: 25px;
}

#modalCrearHorario .modal-body label {
    color: #333333;
}

#modalCrearHorario .custom-select,
#modalCrearHorario .form-control {
    min-height: 43px;
    border: 1px solid #d8dce2;
    border-radius: 5px;
}

#modalCrearHorario .custom-select:focus,
#modalCrearHorario .form-control:focus {
    border-color: #d6a800;
    box-shadow: 0 0 0 0.15rem rgba(214, 168, 0, 0.15);
}

#modalCrearHorario .modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e6e6e6;
    background: #f8f9fa;
}


/* ==================== GLightbox ==================== */

.goverlay {
    background: rgba(0, 0, 0, 0.92) !important;
}

.glightbox-clean .gslide-media {
    box-shadow: none !important;
}

.glightbox-clean .gslide-image img {
    width: auto !important;
    height: auto !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}

.glightbox-clean .gclose {
    top: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
}


/* ==================== Responsive ==================== */

@media (max-width: 767px) {
    .horarios-cursos-page > .container > h4 {
        font-size: 23px;
    }

    .horarios-cursos-page .horarios-admin-area > .row {
        padding: 18px;
    }

    .horarios-cursos-page .table {
        table-layout: auto;
    }

    .horarios-cursos-page .table td {
        min-width: 190px;
    }

    .horarios-cursos-page .horario-curso-item {
        padding: 10px;
    }

    .horarios-cursos-page .horario-curso-item > a {
        padding: 7px 10px;
        font-size: 14px;
    }
}




/* ==================== ESTILOS LISTAS DE ÚTILES ==================== */

.listas-utiles-page {
    background: #f7f8fa;
}

.listas-utiles-page > .container > h4 {
    color: #252525;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}

.listas-utiles-page .row.mt-5 {
    background: #ffffff;
    padding: 22px 25px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.listas-utiles-page .custom-select {
    min-height: 42px;
    border: 1px solid #d8dce2;
    border-radius: 5px;
    background-color: #ffffff;
}

.listas-utiles-page .alert-info {
    background: #eef6ff;
    border: 1px solid #cfe4fa;
    border-left: 4px solid #3878b8;
    color: #35516d;
    border-radius: 6px;
    padding: 16px 20px;
}

.listas-utiles-page .card {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.08);
}

.listas-utiles-page .card-header {
    padding: 18px 25px;
    border: 0;
    background: #222f3e;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.listas-utiles-page .card-body {
    padding: 30px;
}

.listas-utiles-page .card-body > h5 {
    position: relative;
    margin: 10px 0 15px;
    padding: 10px 15px;
    border-left: 4px solid #d6a800;
    background: #f5f5f5;
    color: #303030;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0 5px 5px 0;
}

.listas-utiles-page .table-responsive {
    border-radius: 7px;
    overflow: hidden;
}

.listas-utiles-page .table {
    margin-bottom: 0;
    table-layout: fixed;
    background: #ffffff;
}

.listas-utiles-page .table td {
    padding: 0;
    height: 72px;
    border-color: #e3e6e9;
    vertical-align: middle;
    background: #ffffff;
    transition: background 0.2s ease;
}

.listas-utiles-page .table td:hover {
    background: #f5f8fb;
}

.listas-utiles-page .table td > .d-flex {
    width: 100%;
    min-height: 72px;
    padding: 12px 15px;
}

.listas-utiles-page .table td a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 16px;
    border: 1px solid #dce1e6;
    border-radius: 5px;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.listas-utiles-page .table td a::before {
    content: "\f15c";
    margin-right: 8px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #d6a800;
}

.listas-utiles-page .table td a:hover {
    border-color: #d6a800;
    background: #fffaf0;
    color: #222222;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.listas-utiles-page .form-eliminar-utiles {
    flex-shrink: 0;
}

.listas-utiles-page .form-eliminar-utiles .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.listas-utiles-page .card-body > br {
    display: none;
}

.listas-utiles-page .card-body > h5:not(:first-child) {
    margin-top: 35px;
}

.listas-utiles-page .alert-warning {
    margin: 0;
    padding: 20px;
    border: 0;
    border-left: 4px solid #e0a800;
    border-radius: 5px;
}

#modalCrearUtiles .modal-content {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#modalCrearUtiles .modal-header {
    background: #222f3e;
    color: #ffffff;
    border-bottom: 0;
}

#modalCrearUtiles .modal-header .close {
    color: #ffffff;
    opacity: 0.85;
    text-shadow: none;
}

#modalCrearUtiles .modal-header .close:hover {
    opacity: 1;
}

#modalCrearUtiles .modal-body {
    padding: 25px;
}

#modalCrearUtiles .modal-footer {
    padding: 15px 25px;
    background: #f8f9fa;
}

@media (max-width: 767px) {
    .listas-utiles-page .card-body {
        padding: 20px 15px;
    }

    .listas-utiles-page .row.mt-5 {
        padding: 18px;
    }

    .listas-utiles-page .table {
        table-layout: auto;
    }

    .listas-utiles-page .table td {
        min-width: 190px;
    }

    .listas-utiles-page .table td > .d-flex {
        padding: 10px;
    }

    .listas-utiles-page .table td a {
        font-size: 14px;
        padding: 7px 10px;
    }
}




/* ==================== SECCIÓN TALLERES ==================== */
.course-section {
    background: #f5fbff;
}


/* ==================== COLUMNAS ==================== */
.course-section .taller-col {
    display: flex;
    align-items: stretch;
    margin-bottom: 35px;
}


/* ==================== TARJETA ==================== */
.course-section .single-courses {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-section .single-courses:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}


/* ==================== IMAGEN ==================== */
.course-section .courses-thumb {
    position: relative;
    width: 100%;
    /* aspect-ratio: 4 / 3; */
    flex-shrink: 0;
    overflow: hidden;
}

.course-section .courses-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}



.offer-thumb img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.offer-thumb img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

@media (max-width: 575px) {
    .offer-thumb img {
        max-width: none;
        width: 100%;
        height: auto;
    }
}

/* ==================== CONTENIDO ==================== */
.course-section .courses-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.course-section .title {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
}

.course-section .courses-description {
    margin-bottom: 20px;
}

.course-section .courses-description p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}


/* ==================== PROFESOR Y HORARIO ==================== */
.course-section .courses-info {
    margin-top: auto;
    padding-top: 5px;
}

.course-section .courses-info .row {
    display: flex;
    flex-wrap: wrap;
}

.course-section .course-info-column {
    display: flex;
    margin-bottom: 10px;
}

.course-section .course-info-item {
    width: 100%;
    min-height: 105px;
    padding: 15px;
    background: #f7f9fa;
    border: 1px solid #e2e6e9;
    border-radius: 8px;
}

.course-section .course-info-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #333;
}

.course-section .course-info-title i {
    margin-right: 8px;
    font-size: 18px;
}

.course-section .course-info-item p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.course-section .btn-info {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.course-section .btn-info:hover,
.course-section .btn-info:focus {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #fff;
}


/* ==================== ADMINISTRACIÓN ==================== */
.course-section .taller-administracion {
    margin-top: 15px;
    padding-top: 18px;
    border-top: 1px solid #e4e4e4;
}

.course-section .input-posicion-taller {
    max-width: 90px;
}


/* ==================== RESPONSIVE ==================== */
@media (min-width: 768px) and (max-width: 991px) {
    .course-section .courses-thumb {
        aspect-ratio: 1 / 1;
    }

    .course-section .course-info-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .course-section .taller-col {
        margin-bottom: 30px;
    }

    .course-section .courses-thumb {
        aspect-ratio: 4 / 3;
    }

    .course-section .courses-content {
        padding: 18px;
    }

    .course-section .course-info-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .course-section .course-info-item {
        min-height: auto;
    }
}