:root {
    --bs-primary: #009BD9;
    --bs-primary-rgb: 7, 91, 190;
    --bs-body-bg: #f4f6f8;
    --primary-color: #075bbe;
    --sidebar-width: 300px;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #121212;
    --bs-body-color: #ffffff;
    --bs-tertiary-bg: #1e1e1e;
}

.color-institucional {
    background-color: #67641d !important;
}

body {
    font-family: 'Noto Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
}

@media (min-width: 992px) {
    .sidebar-desktop {
        width: var(--sidebar-width) !important;
        max-width: var(--sidebar-width) !important;
    }

    .main-content {
        margin-left: var(--sidebar-width) !important;
        width: calc(100% - var(--sidebar-width)) !important;
    }
}

.object-fit-cover {
    object-fit: cover;
}

.hover-effect {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-effect:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.ls-1 {
    letter-spacing: 1px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 48px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 3px;
    content: "";
    height: 18px;
    left: 3px;
    position: absolute;
    transition: .4s;
    width: 18px;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--bs-primary);
}

input:checked+.slider:before {
    transform: translateX(23px);
}

.slider .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: white;
}

.slider .bxs-sun {
    left: 6px;
    color: #f39c12;
    opacity: 0;
    transition: opacity 0.3s;
}

.slider .bxs-moon {
    right: 7px;
    opacity: 1;
    transition: opacity 0.3s;
}

input:checked+.slider .bxs-sun {
    opacity: 1;
}

input:checked+.slider .bxs-moon {
    opacity: 0;
}

input[type=range] {
    accent-color: var(--bs-primary);
    height: 4px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

.offcanvas {
    max-width: 85vw;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.article-content ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.contacto a {
    text-decoration: none;
}

.direccion {
    font-size: .7rem;
}

.anduaga {
    font-size: 8px !important;
    text-transform: lowercase;
    word-spacing: -5px;
    letter-spacing: -0.05rem;
}

.anduaga a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    color: #FFF;
}

.anduaga strong {
    font-weight: 600;
}

.btn a {
    text-decoration: none;
}

/* Sticky video archive column for desktop */
@media (min-width: 992px) {
    .video-archive-sticky {
        position: sticky;
        top: 1.5rem;
        align-self: flex-start;
        z-index: 10;
    }

    #video-archive-list {
        max-height: calc(100vh - 180px) !important;
    }
}

/* Keep a fixed height for the list on mobile as well */
@media (max-width: 991.98px) {
    #video-archive-list {
        max-height: 400px;
    }
}


