/* Global body style for the slider document */
body.slide-box {
    background: #0a2547;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: auto;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}

/* External container styles (targeted when linked in the parent page) */
#slider {
    background: transparent;
    margin: -100px auto 10px auto;
    max-width: 80%;
    position: relative;
    z-index: 10;
    height: 197px;
    overflow: hidden;
    transition: height 0.3s ease;
}

#slider .row.sin_m {
    background: #0a2547;
    border-radius: 24px;
    margin: 0;
    padding: 0;
    height: 100%;
}

#slider .row.sin_m,
#slider .col-md-12,
#slider object {
    min-height: 0;
    height: 100%;
}

#slider .sin_p {
    background: transparent;
}

#slider .col-md-12,
#slider object {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border: none;
    border-radius: 10px;
}

@media (min-width: 1250px) {
    #slider {
        height: 207px;
    }
}

/* Restore full height when navigation (dots/arrows) is active — class set via JS */
body.has-navigation #slider {
    height: 242px;
}

@media (min-width: 1250px) {
    body.has-navigation #slider {
        height: 257px;
    }
}

/* Mobile vertical stack — override JS inline height */
@media (max-width: 521px) {
    #slider {
        height: 330px !important;
        overflow: visible !important;
    }
}

/* Fix for 955px clipping and equal heights */
@media (max-width: 1100px) and (min-width: 851px) {
    #slider {
        max-width: 90%;
        /* Give more space at intermediate resolutions */
    }
}

.slick-dots li button:focus,
.slick-dots li button:hover,
.slick-slide:focus {
    outline: 0
}

/* Slick Equal Heights Fix */
.slider.cursos .slick-track {
    display: flex !important;
    gap: 30px;
}

.slider.cursos .slick-slide {
    height: auto !important;
    display: flex !important;
}

.slider.cursos .slick-slide>div {
    width: 100%;
    height: 100%;
}


html {
    margin: 0;
    width: 100%;
}

body {
    font-family: 'Josefin Sans', sans-serif;
}

label {
    display: inline;
    padding-bottom: 0
}

.item {
    width: 100%
}

.sin_p {
    padding: 0
}

.sin_m {
    margin: 0
}

.curso {
    color: #fff
}

.curso p {
    font-size: 24px;
    text-align: center
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none
}

.center {
    margin: auto;
    display: table
}

.middle-center {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* .fecha2 {
    margin: 3rem 0 0
} */
.info-curso p {
    text-align: left;
    font-size: 21px;
    font-weight: 300
}

.info-curso {
    margin-top: 3%;
    padding-left: 5%
}

.titulo-curso {
    font-size: 16px !important
}

.ncurso {
    font-weight: 600 !important
}

.poliza {
    display: none
}

.bg,
.btn_envivo {
    height: 4rem;
    display: flex
}

.botones a {
    color: #FFF;
    z-index: 250;
    position: relative
}

.botones a,
.btn_pronto_memorias p {
    font-size: 19px
}

.bg,
.btn,
.btn_envivo {
    border-radius: 25px;
    text-align: center;
    font-weight: 300;
    overflow: hidden;
    width: 65%;
    right: 0
}

.btn {
    font-size: 0
}

.btn_inscripcion {
    background: #00aaf8;
    width: 65%;
    float: right
}

.bg {
    position: absolute;
    justify-content: center;
    align-items: center
}

.btn_envivo {
    background: #f74b38;
    padding: .8rem 2rem;
    justify-content: center;
    align-items: center;
    float: right
}

.bg {
    animation: pulse 1.2s ease infinite;
    background: #ff3466
}

.botones .bg,
.botones .btn,
.fecha2 {
    display: none
}

.btn_memorias {
    background: #0eab59;
    width: 65%;
    float: right
}

.btn_pronto_memorias {
    background: 0 0;
    border-radius: 0;
    border: none !important;
    outline: none !important;
    color: #fff;
    width: 32rem;
    float: right
}

.btn_pronto_memorias:hover {
    background: 0 0;
    color: #fff;
    cursor: default
}

.slick-dots {
    display: block;
    width: 100%;
    padding: .5rem;
    margin: 0;
    list-style: none;
    text-align: center
}

.slick-dots li {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer
}

.slick-dots li button {
    display: block;
    width: 13px;
    height: 13px;
    padding: 2px;
    cursor: pointer;
    color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    outline: 0
}

.slick-active button {
    background: #fff !important
}

.slick-envivo {
    border: 1px solid #f74b38 !important
}

.container-text-title {
    width: 100%;
    height: 25px;
    overflow: hidden
}

.title-ncurso {
    height: 42px
}

.title-ncurso p {
    line-height: 20px
}

.n_pad_left {
    padding-left: 0
}

.n_pad_rigth {
    padding-right: 0
}

.botones,
.logo-capacitacion img {
    float: right
}

.btn_pronto_memorias p {
    margin-bottom: 0
}

.ui-dialog-buttonpane,
.ui-dialog-titlebar {
    background: #fff;
    color: #a9a9a9;
    font-size: 12px;
    border: 0;
    padding: 3px;
    margin: 0
}

.ui-button.ui-widget {
    background: #00ABF9;
    border-color: #00ABF9;
    color: #fff;
    font-size: 14px;
    margin-top: 10px
}

.ui-widget-content {
    border: 0;
    color: #fff;
}

.bloq {
    position: fixed;
    z-index: 100;
    min-height: 100%;
    height: auto !important;
    width: 100%;
    background-color: rgba(0, 0, 0, .43)
}

.bloq img {
    display: block;
    margin: auto;
    width: 3%;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 50%;
}

.fechas-curso {
    font-size: 20px;
    font-weight: 600;
    color: #00ABF9
}

.col-lg-btn {
    width: 32.2222%
}

a:focus {
    outline: transparent auto 0
}

@keyframes pulse {
    0% {
        transform: scale(1, 1)
    }

    50% {
        opacity: .4
    }

    100% {
        transform: scale(1.2, 1.3);
        opacity: 0
    }
}

@media (max-width: 1380px) {
    .info-curso p {
        font-size: 19px
    }

    .fechas-curso {
        font-size: 18px
    }

    .botones a,
    .btn_pronto_memorias p {
        font-size: 16px
    }

    .btn_pronto_memorias {
        width: 24rem
    }
}

@media(max-width:1080px) {
    .info-curso p {
        font-size: 18px
    }

    .fechas-curso {
        font-size: 17px
    }

    .botones a,
    .btn_pronto_memorias p {
        font-size: 15px
    }

    .col-lg-btn {
        width: 32%
    }
}

@media (max-width: 991px) {

    .logo-capacitacion,
    .logo-capacitacion img {
        margin: 0 auto;
        width: 85%
    }

    .fecha2 {
        margin: 0
    }

    .titulo-curso {
        font-size: 14px !important
    }

    .info-curso p {
        font-size: 17px
    }

    .fechas-curso {
        font-size: 16px
    }

    .botones a,
    .btn_pronto_memorias p {
        font-size: 14px
    }

    .col-lg-btn {
        width: 31.3333%
    }

    .bg,
    .btn,
    .btn_envivo,
    btn_inscripcion {
        width: 70%
    }

    .btn_pronto_memorias {
        width: 24rem
    }
}

@media(max-width:850px) {

    .bg,
    .btn,
    .btn_envivo,
    btn_inscripcion {
        width: 75%
    }

    .btn_pronto_memorias {
        width: 20rem
    }
}

@media(max-width:790px) {

    .bg,
    .btn,
    .btn_envivo,
    btn_inscripcion {
        width: 80%
    }

    .btn_pronto_memorias {
        width: 20rem
    }
}

@media(max-width:767px) {
    .container {
        padding: 0 45px
    }

    /* .fecha2 {
        margin: 2rem 0 0
    } */
    .poliza {
        margin: 0 auto
    }

    .btn_inscripcion,
    .btn_memorias,
    .btn_pronto_memorias {
        margin-left: auto;
        margin-right: auto;
        overflow: hidden
    }

    .mesDia-curso {
        float: left
    }

    .slick-list,
    .slick-track {
        height: 165px !important
    }

    .curso p {
        font-size: 16px
    }

    .titulo-curso {
        font-size: 17px !important
    }

    .fechas-curso {
        border-right: 0;
        font-size: 17px
    }

    .ncurso {
        font-size: 20px !important;
    }
}

/* MASTER SURGICAL FIX (Elevated) for 1024px and below */
@media (max-width: 1024px) {
    .slider-container-wrapper {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .slider.cursos {
        width: 70% !important;
        padding: 0 50px !important;
        /* Increased for safety */
        margin: 0 !important;
    }

    .slider.cursos .slick-list {
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .item {
        padding: 0 !important;
        width: 100% !important;
    }

    .curso-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* Bring buttons UP to avoid parent clipping */
    .slick-prev.arrows,
    .slick-next.arrows {
        bottom: 45px !important;
        display: flex !important;
    }

    .slick-prev.arrows {
        left: auto !important;
        right: 65px !important;
    }

    .slick-next.arrows {
        left: auto !important;
        right: 15px !important;
    }
}




@media(max-width:680px) {

    /* .fecha2 {
        font-size: 22px!important;
        margin: 1.5rem 0 0
    } */
    .logo-capacitacion,
    .logo-capacitacion img {
        width: 57% !important
    }

    .botones a,
    .btn_pronto_memorias p {
        font-size: 16px
    }

    .curso p {
        font-size: 14px
    }

    .titulo-curso {
        font-size: 15px !important
    }

    .fechas-curso {
        font-size: 15px
    }

    .ncurso {
        font-size: 18px !important
    }

    .bg,
    .btn,
    .btn_envivo,
    .btn_memorias,
    btn_inscripcion {
        width: 40%
    }

    .btn_pronto_memorias {
        width: 21rem
    }
}

@media(max-width:580px) {

    .slick-list,
    .slick-track {
        height: 155px !important
    }
}

@media (max-width: 560px) {

    .bg,
    .btn,
    .btn_envivo,
    .btn_memorias,
    btn_inscripcion {
        width: 45%
    }

    .btn_pronto_memorias {
        width: 21rem
    }
}

@media (min-width: 420px)and (max-width: 510px) {

    .logo-capacitacion,
    .logo-capacitacion img {
        width: 62% !important
    }
}

@media (min-width: 390px)and (max-width: 419px) {

    .logo-capacitacion,
    .logo-capacitacion img {
        width: 63% !important
    }
}

@media (min-width: 370px)and (max-width: 389px) {

    .logo-capacitacion,
    .logo-capacitacion img {
        width: 66% !important
    }
}

@media (min-width: 345px)and (max-width: 369px) {

    .logo-capacitacion,
    .logo-capacitacion img {
        width: 69% !important
    }
}

@media (max-width: 344px) {

    .logo-capacitacion,
    .logo-capacitacion img {
        width: 73% !important
    }
}

@media (max-width: 476px) {
    .container {
        padding: 0 20px
    }

    .btn_pronto_memorias p {
        font-size: 14px !important
    }

    .bg,
    .btn,
    .btn_envivo,
    .btn_memorias,
    btn_inscripcion {
        width: 55%
    }

    .btn_pronto_memorias {
        width: 21rem
    }
}

@media (max-width: 420px) {

    .bg,
    .btn,
    .btn_envivo,
    .btn_memorias,
    btn_inscripcion {
        width: 60%
    }

    .bloq img {
        width: 9%;
    }

    .btn_pronto_memorias {
        width: 21rem
    }
}

@media (max-width: 381px) {

    /* .fecha2 {
        margin: 1rem 0 0
    } */
    .bg,
    .btn,
    .btn_envivo,
    .btn_memorias,
    btn_inscripcion {
        width: 65%
    }

    .botones a,
    .btn_pronto_memorias p {
        font-size: 14px
    }

    .curso p {
        font-size: 12px
    }

    .titulo-curso {
        font-size: 13px !important
    }

    .fechas-curso {
        font-size: 13px;
        padding-top: 5.5%
    }

    .ncurso {
        font-size: 16px !important
    }

    .btn_pronto_memorias {
        width: 21rem
    }
}

/* --- Event Slider Bar --- */
.event-bar {
    background: #0a1b2e;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    position: relative;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-label {
    color: #00aaf8;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-right: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.event-label .separator {
    color: rgba(255, 255, 255, 0.2);
    margin-left: 15px;
    font-weight: 300;
}

.event-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.event-slider-track {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
    gap: 30px;
}

.event-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 6px 18px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 170, 248, 0.4);
    transform: translateY(-2px);
}

.event-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.event-icon.icon-blue {
    background: rgba(49, 157, 229, 0.15);
    color: #319de5;
}

.event-icon.icon-green {
    background: rgba(79, 174, 73, 0.15);
    color: #4FAE49;
}

.event-icon.icon-cyan {
    background: rgba(0, 170, 248, 0.15);
    color: #00aaf8;
}

.event-text {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move by 50% since we duplicated the items */
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.event-slider-container:hover .event-slider-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .event-bar {
        padding: 8px 15px;
    }

    .event-label {
        font-size: 12px;
        margin-right: 10px;
    }

    .event-item {
        padding: 4px 12px;
        font-size: 12px;
    }

    .event-icon {
        width: 24px;
        height: 24px;
    }
}

/* Custom Event Slider Styles */
.slider.cursos {
    padding: 0 40px;
    margin-bottom: 20px;
}

.slick-prev.arrows,
.slick-next.arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s;
}

.slick-prev.arrows:hover,
.slick-next.arrows:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.slick-prev.arrows svg,
.slick-next.arrows svg {
    width: 18px;
    height: 18px;
}

.slick-prev.arrows {
    left: -10px;
}

.slick-next.arrows {
    right: -10px;
}

.curso-card {
    transition: background 0.3s ease;
}

.curso-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1024px) {
    .slick-prev.arrows {
        left: -5px;
    }

    .slick-next.arrows {
        right: -5px;
    }
}

.slick-active button {
    background: #00aaf8 !important;
    border-color: #00aaf8 !important;
}

.slider-container-wrapper {
    display: flex;
    align-items: center;
    height: 180px;
    max-width: 95%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 0 15px;
}

.slider-header {
    width: 30%;
    color: #00aaf8;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    padding-right: 20px;
}

.slider.cursos {
    width: 70%;
    margin: 0;
    padding: 0 45px !important;
    position: relative;
}

.slick-prev.arrows,
.slick-next.arrows {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background-color: transparent !important;
    border-radius: 50% !important;
    z-index: 1000 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.slick-prev.arrows svg,
.slick-next.arrows svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #fff;
    fill: none;
}

.slick-prev.arrows {
    left: 0px !important;
}

.slick-next.arrows {
    right: 0px !important;
}

.botones .bg {
    display: none !important;
}



/* --- NEW SLIDER REDESIGN --- */

/* Left container text */
.slider-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    gap: 30px;
}

.slider-info {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding-left: 60px;
    /* Increased from 20px to push it inward */
}

.tag-capacitacion {
    color: #6a7c92;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.title-eventos {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 10px 0;
    white-space: nowrap;
}

.desc-eventos {
    color: #8c9eb5;
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 0 0;
}

.link-todos {
    color: #38bdf8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.link-todos:hover {
    color: #7dd3fc;
    text-decoration: none;
}

.slider.cursos {
    flex: 0 0 70% !important;
    width: 70% !important;
    margin: 0;
    padding: 0 55px !important;
    /* Balanced padding for centering */
    position: relative;
    box-sizing: border-box;
}

.slider.cursos .slick-list {
    overflow: hidden !important;
    padding: 15px 0 !important;
}

.slider.cursos .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.slider.cursos .slick-slide {
    height: auto !important;
    display: flex !important;
    outline: none !important;
}

/* Static Grid fallback for when itemCount <= 2 */
.slider.cursos.static-grid {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 30px;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.slider.cursos.static-grid .item {
    flex: 0 0 calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
}

/* Keep cards side by side between 769px and 1024px */
@media (max-width: 1024px) {
    .slider.cursos.static-grid {
        gap: 20px;
    }
    .slider.cursos.static-grid .item {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
    }
}


/* Card Styling */
.item {
    padding: 10px 15px;
    box-sizing: border-box;
    height: 100%;
    display: flex !important;
    flex-direction: column;
}

.curso-card {
    background-color: #0a2547;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 12px;
    padding: 20px;
    min-height: 140px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 1000px !important;
    margin: 0 auto;
}

.curso-card:hover {
    transform: translateY(-2px);
    background-color: #0a2547;
    border-color: rgba(56, 189, 248, 0.4);
}

.curso-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.curso-icon-calendar {
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fechas-curso {
    color: #38bdf8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.tag-tipo {
    display: none !important;
}

.badge-tag {
    background-color: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
}

/* When the original script tries to update titulo-curso, it will target .badge-tag as well */
.badge-tag.titulo-curso {
    font-size: 7px !important;
    text-align: center !important;
    text-transform: uppercase;
    color: #fff !important;
    background-color: #3b82f6;
    display: inline-block;
    max-width: none;
    padding: 4px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.title-ncurso {
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    height: auto !important;
}

.ncurso {
    color: #fff;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Button Reset & Layout */
.botones {
    display: flex;
    justify-content: flex-start;
    float: none;
    width: 100%;
}

.botones>div {
    float: none !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    position: static !important;
    height: auto !important;
}

.botones .bg {
    display: none !important;
}

.link_btn_curso {
    display: inline-block !important;
    background-color: #213c5e;
    color: #fff !important;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.3s;
}

.link_btn_curso:hover {
    background-color: #2e5180;
    color: #fff !important;
}

/* Bottom Right Arrows & Dots */
.slick-dots {
    bottom: -30px;
    text-align: left;
    left: 10px;
    width: auto;
}

.slick-dots li {
    margin: 0 4px;
    width: auto;
    height: auto;
}

.slick-dots li button {
    width: 20px;
    height: 6px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
}

.slick-dots li.slick-active button {
    background-color: #38bdf8 !important;
    width: 30px;
}

.slick-prev.arrows,
.slick-next.arrows {
    top: auto !important;
    bottom: -40px !important;
    transform: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-color: transparent !important;
}

.slick-prev.arrows:hover,
.slick-next.arrows:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.slick-prev.arrows {
    left: auto !important;
    right: 90px !important;
    /* Increased from 50px to push it inward */
}

.slick-next.arrows {
    left: auto !important;
    right: 50px !important;
    /* Increased from 10px to push it inward */
}

@media (max-width: 1561px) {

    #slider .row.sin_m,
    #slider .col-md-12,
    #slider object {
        min-height: 0 !important;
        height: 100% !important;
    }
}

@media (max-width: 1279px) {

    #slider .row.sin_m,
    #slider .col-md-12,
    #slider object {
        min-height: 0 !important;
        height: 100% !important;
    }
}

@media (max-width: 852px) {

    #slider .row.sin_m,
    #slider .col-md-12,
    #slider object {
        min-height: 0 !important;
        height: 100% !important;
    }
}

@media (max-width: 1249px) {
    .slider-container-wrapper {
        gap: 15px;
        padding: 5px 10px;
    }

    .slider-info {
        width: 30%;
        padding-left: 15px;
    }

    .slider.cursos {
        width: 70%;
        padding: 0 40px !important;
    }

    .title-eventos {
        font-size: 22px;
        white-space: normal;
        margin-bottom: 5px;
    }

    .desc-eventos {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .curso-card {
        min-height: 140px;
    }

    .curso-card-header {
        margin-bottom: 8px;
    }

    .title-ncurso {
        margin-bottom: 10px;
    }

    .ncurso {
        font-size: 15px !important;
    }

    .link_btn_curso {
        padding: 4px 12px;
        font-size: 12px !important;
    }
}

@media (max-width: 850px) {
    .title-eventos {
        font-size: 20px;
    }

    .desc-eventos {
        display: none;
    }

    .slider-info {
        width: 28%;
        padding-left: 20px;
    }

    .slider.cursos {
        width: 72%;
        padding: 0 40px !important;
    }
}

@media (max-width: 531px) {

    #slider .row.sin_m,
    #slider .col-md-12,
    #slider object {
        min-height: 0 !important;
        height: 100% !important;
    }

    .slider.cursos .slick-list {
        padding: 0 !important;
    }

    .ncurso {
        font-size: 11px !important;
    }

    .link_btn_curso {
        padding: 4px 12px;
        font-size: 11px !important;
    }
}

/* Vertical stack triggers at Mobile L (425px) */
@media (max-width: 425px) {
    .slider-container-wrapper {
        flex-direction: column;
        height: auto;
        padding: 20px 10px;
        gap: 15px;
    }

    .slider-info {
        width: 100%;
        padding-left: 0;
        text-align: center;
        align-items: center;
    }

    .desc-eventos {
        display: block;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .title-eventos {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .slider.cursos {
        width: 100%;
        padding: 0 30px !important;
    }

    .slick-dots {
        text-align: center;
        width: 100%;
        left: 0;
        bottom: -20px;
    }

    .slick-prev.arrows,
    .slick-next.arrows {
        display: flex !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }

    .slick-prev.arrows {
        left: 0px !important;
        margin-left: 0 !important;
        right: auto !important;
    }

    .slick-next.arrows {
        left: auto !important;
        margin-left: 0 !important;
        right: 0px !important;
    }
}

@media (min-width: 1250px) {
    .slider-container-wrapper {
        height: 205px;
    }

    .slider-info {
        gap: 10px;
    }

    .title-eventos {
        font-size: 32px;
    }

    .desc-eventos {
        font-size: 14px;
    }

    .curso-card {
        min-height: 155px;
        padding: 20px;
    }

    .ncurso {
        font-size: 18px !important;
    }
}