.si-videoteca-publico, .si-videoteca-publico * {
    box-sizing: border-box;
}

.si-videoteca-publico {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    color: #1d2c42;
    font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.si-videoteca-publico button, .si-videoteca-publico input, .si-videoteca-publico select {
    font: inherit;
}

.si-videoteca-publico a {
    color: inherit;
}

.si-videoteca-container {
    width: min(1340px, calc(100% - 48px));
    margin: auto;
}

.si-videoteca-intro {
    padding: 48px 0 34px;
}

.si-videoteca-kicker {
    display: block;
    color: #2a629e;
    letter-spacing: .12em;
    font-size: 11px;
    font-weight: 750;
}

.si-videoteca-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 9px 0 11px;
}

.si-videoteca-intro h1 {
    color: #142541;
    margin: 0;
    font-size: clamp(28px, 3vw, 39px);
    letter-spacing: -.025em;
    line-height: 1.12;
}

.si-videoteca-publico .si-videoteca-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 17px;
    border: 1px solid #b8cbe1;
    border-radius: 4px;
    color: #174b82;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.si-videoteca-publico .si-videoteca-return:hover {
    background: #f1f6fc;
    border-color: #2a629e;
}

.si-videoteca-publico .si-videoteca-return:focus-visible {
    outline: 3px solid #2a629e;
    outline-offset: 3px;
}

.si-videoteca-intro p {
    margin: 0;
    color: #56677e;
    font-size: 16px;
    max-width: 680px;
}

.si-videoteca-searchbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 240px;
    gap: 14px;
    background: #fff;
    border: 1px solid #dce3ed;
    padding: 17px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.si-videoteca-searchbar label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #4a5e79;
    font-size: 12px;
    font-weight: 700;
}

.si-videoteca-searchbar input, .si-videoteca-searchbar select {
    min-height: 43px;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 9px 12px;
    color: #1d2c42;
    background: #fff;
    outline: 0;
    font-weight: 400;
}

.si-videoteca-searchbar input:focus, .si-videoteca-searchbar select:focus {
    border-color: #2b64ad;
    box-shadow: 0 0 0 3px rgba(43,100,173,.12);
}

.si-videoteca-layout {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    align-items: start;
    gap: 27px;
    padding-bottom: 65px;
}

.si-videoteca-sidebar {
    background: #fff;
    border: 1px solid #dce3ed;
    border-radius: 6px;
    padding: 14px 0 16px;
}

.si-videoteca-sidebar-title {
    color: #7890ac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    padding: 3px 18px 13px;
}

.si-videoteca-brand-button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    padding: 10px 16px 10px 15px;
    text-align: left;
    color: #425673;
    cursor: pointer;
    font-weight: 600;
}

.si-videoteca-brand-button:hover {
    background: #f6f9fc;
}

.si-videoteca-brand-button.activo {
    background: #edf3fb;
    color: #17467a;
    border-left-color: #2866b2;
}

.si-videoteca-brand-button span {
    font-size: 11px;
    color: #8090a5;
}

.si-videoteca-sidebar-help {
    border-top: 1px solid #e7ebf0;
    margin: 13px 17px 0;
    padding-top: 13px;
    color: #718098;
    font-size: 12px;
}

.si-videoteca-content {
    min-width: 0;
}

.si-videoteca-contenthead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #d8e0ea;
    padding: 1px 0 14px;
    margin-bottom: 17px;
}

.si-videoteca-contenthead h2 {
    margin: 4px 0 0;
    font-size: 22px;
    line-height: 1.2;
    color: #172d4c;
}

.si-videoteca-contenthead > span {
    color: #667991;
    font-size: 12px;
    white-space: nowrap;
}

.si-videoteca-modelbar {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    margin-bottom: 21px;
}

.si-videoteca-modelbar:empty {
    display: none;
}

.si-videoteca-modelbar button {
    border: 1px solid #cad5e2;
    border-radius: 4px;
    background: #fff;
    padding: 6px 11px;
    color: #436182;
    white-space: nowrap;
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
}

.si-videoteca-modelbar button:hover {
    border-color: #7b9ec8;
}

.si-videoteca-modelbar button.activo {
    color: #fff;
    border-color: #245991;
    background: #245991;
}

.si-videoteca-brand-section {
    margin-bottom: 35px;
}

.si-videoteca-sectionhead {
    display: flex;
    gap: 11px;
    align-items: center;
    margin: 0 0 14px;
}

.si-videoteca-sectionhead span {
    font-size: 10px;
    color: #6f87a6;
    font-weight: 800;
    letter-spacing: .08em;
}

.si-videoteca-sectionhead h3 {
    margin: 0;
    color: #173357;
    font-size: 18px;
}

.si-videoteca-model-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.si-videoteca-modelhead {
    display: flex;
    align-items: baseline;
    gap: 10px;
    grid-column: 1 / -1;
}

.si-videoteca-modelhead h4 {
    color: #2d425f;
    font-size: 15px;
    margin: 0;
}

.si-videoteca-modelhead span {
    color: #7c8da2;
    font-size: 11px;
}

.si-videoteca-playlist-section {
    min-width: 0;
}

.si-videoteca-playlist-section:not([data-explicit-playlist="1"]) {
    grid-column: 1 / -1;
}

.si-videoteca-playlist-section[data-explicit-playlist="1"] .si-videoteca-grid {
    display: block;
}

.si-videoteca-playlist-sectionhead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.si-videoteca-playlist-sectionhead h5 {
    margin: 0;
    color: #1d3555;
    font-size: 14px;
}

.si-videoteca-playlist-sectionhead span {
    color: #7c8da2;
    font-size: 11px;
}

.si-videoteca-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.si-videoteca-playlist-section[data-explicit-playlist="1"] .si-videoteca-card:not(:first-child) {
    display: none;
}

.si-videoteca-card {
    overflow: hidden;
    border: 1px solid #dce3ed;
    border-radius: 6px;
    background: #fff;
}

.si-videoteca-thumb-link {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e6eaf0;
}

.si-videoteca-thumb-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.si-videoteca-play {
    display: grid;
    place-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(18,38,65,.9);
    color: #fff;
    font-size: 18px;
    padding-left: 3px;
}

.si-videoteca-thumb-link:hover .si-videoteca-play {
    background: #255f9e;
}

.si-videoteca-cardbody {
    padding: 16px;
}

.si-videoteca-tag {
    display: inline-block;
    color: #245e9b;
    background: #e9f1fa;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.si-videoteca-cardbody h5 {
    margin: 8px 0 5px;
    color: #1f3654;
    font-size: 16px;
    line-height: 1.3;
}

.si-videoteca-cardbody p {
    color: #66768d;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.si-videoteca-cardbody > a {
    color: #215b99;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.si-videoteca-playlist-section[data-explicit-playlist="1"] .si-videoteca-cardbody > a {
    display: block;
    text-align: center;
}

.si-videoteca-cardbody > a:hover {
    text-decoration: underline;
}

.si-videoteca-empty {
    border: 1px solid #dce3ed;
    border-radius: 5px;
    padding: 30px;
    background: #fff;
    color: #5e7088;
    margin-bottom: 55px;
}

.si-videoteca-empty[hidden], .si-videoteca-brand-section[hidden], .si-videoteca-model-section[hidden], .si-videoteca-playlist-section[hidden], .si-videoteca-card[hidden] {
    display: none;
}

.si-videoteca-footer {
    border-top: 1px solid #dce3ed;
    background: #fff;
    color: #8492a5;
    font-size: 12px;
    padding: 18px 0;
}

.si-videoteca-player[hidden] {
    display: none;
}

.si-videoteca-player {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 22px;
}

.si-videoteca-player-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8,20,38,.82);
}

.si-videoteca-player-panel {
    position: relative;
    width: min(900px, 100%);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.si-videoteca-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 17px;
}

.si-videoteca-player-head h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.si-videoteca-player-head button {
    border: 0;
    background: transparent;
    color: #415a79;
    font-weight: 700;
    cursor: pointer;
}

.si-videoteca-player-frame {
    aspect-ratio: 16/9;
    background: #101d2f;
}

.si-videoteca-player-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.si-videoteca-playlist[hidden] {
    display: none;
}

.si-videoteca-playlist {
    padding: 15px 18px 18px;
}

.si-videoteca-playlist-head,
.si-videoteca-playlist-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.si-videoteca-playlist-head strong {
    color: #263e5d;
    font-size: 13px;
}

.si-videoteca-playlist-head span {
    color: #788ba3;
    font-size: 12px;
    white-space: nowrap;
}

.si-videoteca-playlist ol {
    max-height: 145px;
    overflow-y: auto;
    list-style: none;
    margin: 10px 0;
    padding: 0;
    border-top: 1px solid #e1e8f0;
}

.si-videoteca-playlist li {
    border-bottom: 1px solid #e1e8f0;
}

.si-videoteca-playlist li button {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    background: transparent;
    color: #31516f;
    text-align: left;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.si-videoteca-playlist li button.activo {
    background: #eaf2fb;
    color: #174f8d;
    font-weight: 700;
}

.si-videoteca-playlist-controls button {
    border: 1px solid #b9cce2;
    border-radius: 4px;
    padding: 7px 10px;
    background: #fff;
    color: #245e9b;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.si-videoteca-playlist-controls button:disabled {
    opacity: .45;
    cursor: default;
}

@media (max-width: 1100px) {
    .si-videoteca-model-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .si-videoteca-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .si-videoteca-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .si-videoteca-model-section {
        grid-template-columns: 1fr;
    }
    .si-videoteca-container {
        width: min(100% - 28px, 1220px);
    }
    .si-videoteca-intro {
        padding: 34px 0 25px;
    }
    .si-videoteca-intro p {
        font-size: 14px;
    }
    .si-videoteca-searchbar {
        grid-template-columns: 1fr;
        padding: 13px;
    }
    .si-videoteca-layout {
        display: block;
    }
    .si-videoteca-sidebar {
        margin-bottom: 22px;
        padding: 10px 0;
    }
    .si-videoteca-sidebar-title, .si-videoteca-sidebar-help {
        display: none;
    }
    .si-videoteca-brand-button {
        display: inline-flex;
        width: auto;
        border-left: 0;
        border-bottom: 2px solid transparent;
        padding: 9px 11px;
    }
    .si-videoteca-brand-button.activo {
        border-bottom-color: #2866b2;
    }
    .si-videoteca-sidebar {
        display: flex;
        overflow-x: auto;
    }
    .si-videoteca-brand-button span {
        margin-left: 8px;
    }
    .si-videoteca-grid {
        grid-template-columns: 1fr;
    }
    .si-videoteca-contenthead {
        align-items: flex-start;
    }
    .si-videoteca-player {
        padding: 8px;
    }
}
