.buscador-recurso-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1169px;
    margin: 0px auto 20px auto;
    padding: 0 20px;
    margin-top: 45px;
}

.buscador-recurso {
    flex: 1 1 0px;
    position: relative;
}

.buscador-recurso input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(204, 204, 204, 1);
    cursor: pointer;
}

.icono-borrar,
.icono-buscar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
}

.icono-borrar {
    right: 50px;
    font-size: 24px;
}

.icono-buscar {
    right: 10px;
    background: linear-gradient(to right, rgba(8, 159, 228, 1), rgba(34, 74, 162, 1));
    color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 16px;
}

.dropdown-resultados {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(204, 204, 204, 1);
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.dropdown-resultados li {
    padding: 10px;
}

.dropdown-resultados li:hover {
    background-color: rgba(240, 240, 240, 1);
}

#ordenar-recursos {
    height: 46px;
    font-size: 16px;
}

.ordenar-recursos {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ordenar-label {
    font-size: 16px;
    color: rgba(64, 64, 64, 1);
}

.ordenar-recursos select.form-select {
    height: 40px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid rgba(204, 204, 204, 1);
    cursor: pointer;
}

input:disabled,
select:disabled {
    background-color: rgba(245, 245, 245, 1);
    cursor: default !important;
    opacity: 0.6;
}

button:disabled {
    cursor: default !important;
    opacity: 0.6;
}

@media (max-width: 1439px) and (min-width: 1240px) {
    .buscador-recurso-wrapper {
        max-width: 873px;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .buscador-recurso-wrapper {
        max-width: 746px;
    }

    .buscador-recurso {
        flex: 1 1 0px;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .buscador-recurso-wrapper {
        flex-direction: column;
        align-items: stretch;
        max-width: 746px;
    }

    .buscador-recurso {
        flex: 1 1 45px;
    }
}

@media (max-width: 749px) and (min-width: 600px) {
    .buscador-recurso-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .buscador-recurso {
        flex: 1 1 45px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .buscador-recurso-wrapper {
        flex-direction: column;
        align-items: stretch;
        max-width: 746px;
    }

    .buscador-recurso {
        flex: 0 0 0;
    }
}



#videos_empresas {
    margin-top: 30px;
}

.container-video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.container-video {
    margin: 20px auto 20px auto;
    max-width: 1128px;
    width: 100%;
}

.btn-contenedor {
    margin-top: 165px;
}

.btn-regresar-video {
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(34, 74, 162, 1);
    border-radius: 6px;
    border-bottom: 2px solid rgba(34, 74, 162, 1);
    padding-bottom: 12px;
    text-decoration-line: none;
    width: 139px;
}

.btn-regresar-video i {
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-regresar-video:hover {
    border-bottom-color: rgba(34, 74, 162, 0.5);
    color: rgba(34, 74, 162, 0.5);
}

.titulo-empresas h4 {
    color: rgba(35, 94, 173, 1);
    font-weight: bold;
    font-size: 32px;
    text-align: left;
    margin: 32px auto 20px auto;
    max-width: 1128px;
    margin-top: 40px;
}

.cantidad-videos-empresas {
    color: rgba(35, 94, 173, 1);
    font-weight: 600;
    font-size: 32px;
}

.video-todos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-todos-wrapper iframe {
    width: 472px;
    height: 296px;
    border: none;
    margin-top: 25px;
}

.video-todos-card {
    box-shadow: 0 4px 12px rgba(145, 145, 145, 0.3);
    flex: 0 0 auto;
    width: 520px;
    height: 466px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    margin: 10px 10px 10px 10px;
}

.video-todos-card:hover {
    transform: translateY(-5px);
}

.video-todos-card-body {
    padding: 20px 25px 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-todos-title {
    font-size: 20px;
    font-weight: 600;
    color: rgba(88, 88, 90, 1);
    text-align: left;
}

.video-todos-tag {
    width: fit-content;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px 9px 18px;
}

.video-todos-container {
    display: contents;
}

@media (max-width: 1439px) and (min-width: 1240px) {
    .container-video {
        max-width: 840px;
    }

    .titulo-empresas h4 {
        max-width: 840px;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .btn-contenedor {
        margin-left: 70px;
    }

    .titulo-empresas h4 {
        max-width: 711px;
    }

    .video-todos-container {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .btn-contenedor {
        margin-left: 25px;
    }

    .titulo-empresas h4 {
        padding: 0px 20px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .titulo-empresas h4 {
        padding: 0px 20px;
    }

    .cantidad-videos-empresas {
        font-size: 24px;
    }

    .video-todos-card {
        width: 320px;
        height: 100%;
    }

    .video-todos-wrapper iframe {
        width: 280px;
        height: 170px;
    }

    .video-todos-title {
        font-size: 16px;
    }
}









.pag-video-empresa-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.pag-video-empresa {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
    position: relative;
}

.pag-video-empresa .numeros-video-empresa {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding-left: 0 ! important;
}

.pag-item-video-empresa {
    display: inline;
}

.pag-link-video-empresa {
    color: rgba(34, 74, 162, 1);
    padding: 12px 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pag-link-video-empresa:hover {
    color: rgba(34, 74, 162, 0.5);
}

.pag-link-video-empresa i {
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pag-item-video-empresa.active .pag-link-video-empresa {
    background-color: rgba(238, 238, 238, 1);
    color: rgba(34, 74, 162, 1);
    border-color: rgba(238, 238, 238, 1);
    display: flex;
    justify-content: center;
}

.pag-item-video-empresa.disabled .pag-link-video-empresa {
    color: rgba(204, 204, 204, 1);
    pointer-events: none;
    background-color: none;
    display: flex;
    justify-content: center;
    background-color: transparent;
    border-bottom: 2px solid rgba(204, 204, 204, 1);
}

.pag-item-video-empresa.puntos .pag-link-video-empresa {
    border-bottom: none !important;
}

.nav-btn-video-empresa .pag-link-video-empresa {
    border-bottom: 2px solid rgba(34, 74, 162, 1);
    justify-content: center;
    transition: border-color 0.3s ease;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.nav-btn-video-empresa .pag-link-video-empresa:hover {
    border-bottom: 2px solid rgba(34, 74, 162, 0.5);
}

@media (max-width: 1239px) {
    .pag-link-video-empresa .text-nav-video-empresa {
        display: none;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .pag-video-empresa {
        width: 65%;
    }
}