/* Estilos dedicados al archivo de categorias */
.uc-category-page {
    background: #ffffff;
    color: #0f172a;
}

.uc-category-news,
.uc-channel-section {
    width: 100%;
}

.uc-category-hero {
    margin-top: 130px;
    position: relative;
    left: calc(50% - (var(--uc-scrollbar-width) / 2));
    width: calc(100vw - var(--uc-scrollbar-width));
    max-width: calc(100vw - var(--uc-scrollbar-width));
    margin-left: calc(-50vw + (var(--uc-scrollbar-width) / 2));
    margin-right: calc(-50vw + (var(--uc-scrollbar-width) / 2));
    box-sizing: border-box;
}

.uc-category-news__wrap {
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

.uc-category-hero__wrap {
    width: 100%;
}

.uc-hero-slider {
    position: relative;
    padding: 18px 0 26px;
}

.uc-hero-slider__track {
    position: relative;
    min-height: 470px;
}

.uc-hero-slide {
    display: none;
    grid-template-columns: 58% 42%;
    background: #ffffff;
    border: 1px solid #e8edf3;
}

.uc-hero-slide.is-active {
    display: grid;
}

.uc-hero-slide__media {
    min-height: 470px;
    background: var(--color-background-dark);
    display: block;
    position: relative;
    overflow: hidden;
}

.uc-hero-slide__media img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.uc-hero-slide__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #f8fafc;
    font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
    text-transform: uppercase;
    line-height: 1.05;
}

.uc-hero-slide__content {
    padding: 48px 15% 38px 6%;
}

.uc-hero-slide__meta {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.uc-hero-slide__category {
    color: var(--color-tertiary);
    font-weight: 700;
}

.uc-hero-slide__date {
    margin-left: 10px;
    color: #475569;
}

.uc-hero-slide__title {
    margin: 12px 0 14px;
    font-size: clamp(1.8rem, 1.2rem + 1.7vw, 2.9rem);
    line-height: 1.04;
    text-transform: uppercase;
}

.uc-hero-slide__title a {
    color: #111827;
    text-decoration: none;
}

.uc-hero-slide__excerpt {
    margin: 0 0 18px;
    line-height: 1.6;
    color: #334155;
}

.uc-hero-slide__button {
    display: inline-block;
    background: var(--color-tertiary);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 700;
}

.uc-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border: 0;
    background: #020617;
    color: #ffffff;
    font-size: 1.35rem;
    cursor: pointer;
}

.uc-slider-arrow--prev {
    left: 15px;
}

.uc-slider-arrow--next {
    right: 30px;
}

.uc-hero-slider__dots,
.uc-video-slider__dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    align-items: center;
}

.uc-slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #1e3a8a;
    background: transparent;
    cursor: pointer;
}

.channel {
    border: 1px solid #ffffff;
}

.uc-slider-dot.channel.is-active {
    background: #ffffff;
}

.uc-slider-dot.is-active {
    background: #1e3a8a;
    width: 20px;
    height: 20px;
}

.uc-category-news {
    padding: 10px 0 42px;
}

.uc-section-title {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(1.4rem, 1.2rem + 0.9vw, 2.15rem);
    text-transform: uppercase;
}

.uc-news-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.uc-news-filters__label {
    font-size: 0.85rem;
    color: #334155;
}

.uc-news-filters select,
.uc-news-filters__clear {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.uc-news-filters__clear {
    color: var(--color-tertiary);
    cursor: pointer;
}

.uc-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.uc-category-card {
    min-width: 0;
}

.uc-category-card__thumb {
    position: relative;
    display: block;
    height: 230px;
    background: #6b7280;
    overflow: hidden;
}

.uc-category-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uc-category-card__thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 0.95;
    text-align: left;
    padding: 1.3rem;
}

.uc-category-card__arrow {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.85);
    color: #1f2937;
    font-size: 1.85rem;
    line-height: 1;
    transition: all .2s linear;
}
span.uc-category-card__arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.uc-category-card__meta {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.uc-category-card__category {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-tertiary);
    font-weight: 700;
}

.uc-category-card__date {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
}

.uc-category-card__title {
    margin: 8px 0 8px;
    font-size: 1.2rem;
    line-height: 1.14;
    text-transform: uppercase;
}

.uc-category-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.uc-category-card__excerpt {
    margin: 0;
    color: #334155;
    line-height: 1.45;
    font-size: 0.9rem;
}

.uc-news-load-more-wrap {
    margin-top: 24px;
    text-align: right;
}

.uc-news-load-more {
    border: 0;
    background: var(--color-tertiary);
    color: #ffffff;
    min-height: 38px;
    padding: 0 18px;
    text-transform: lowercase;
    cursor: pointer;
}

.uc-news-load-more.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.uc-channel-section {
    position: relative;
    left: calc(50% - (var(--uc-scrollbar-width) / 2));
    width: calc(100vw - var(--uc-scrollbar-width));
    max-width: calc(100vw - var(--uc-scrollbar-width));
    margin-left: calc(-50vw + (var(--uc-scrollbar-width) / 2));
    margin-right: calc(-50vw + (var(--uc-scrollbar-width) / 2));
    box-sizing: border-box;
    padding: 36px 8% 44px;
    overflow: hidden;
}

.uc-channel-section__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.72)),
        url('../images/ucaldas-channel-bg.png') center / cover no-repeat;
    filter: grayscale(1);
}

.uc-channel-section__wrap {
    width: 100%;
    position: relative;
    z-index: 2;
}

.uc-section-title--light {
    color: #f8fafc;
}

.uc-video-slider {
    position: relative;
}

.uc-video-slider__track {
    position: relative;
}

.uc-video-slide {
    display: none;
    max-width: 840px;
    margin: 0 auto;
}

.uc-video-slide.is-active {
    display: block;
}

.uc-video-slide__player {
    aspect-ratio: 16 / 9;
    background: #020617;
}

.uc-video-slide__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.uc-video-slide__player>div {
    position: relative;
    width: 100%;
    height: 100%;
}

.uc-video-slide__player>div iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.uc-video-slide__player .fluid-width-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25% !important;
}

.uc-video-slide__player .fluid-width-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.uc-video-slide__title {
    margin: 12px 0 0;
    text-align: center;
    font-size: 1rem;
}

.uc-video-slide__title a {
    color: #e2e8f0;
    text-decoration: none;
}

.uc-category-page__empty {
    color: #334155;
}

.uc-category-page__empty--light {
    color: #e2e8f0;
}

@media (max-width: 1100px) {
    .uc-slider-arrow--prev {
        left: 0;
    }

    .uc-slider-arrow--next {
        right: 0;
    }

    .uc-hero-slide {
        grid-template-columns: 1fr;
    }

    .uc-hero-slide__media {
        min-height: 320px;
    }
}

@media (max-width: 900px) {

    .uc-category-hero__wrap,
    .uc-category-news__wrap {
        width: calc(100% - 32px);
    }

    .uc-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .uc-hero-slide__content {
        padding: 30px 20px;
    }
}

@media (max-width: 620px) {
    .uc-category-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .uc-news-load-more-wrap {
        text-align: center;
    }

    .uc-news-filters {
        gap: 8px;
    }

    .uc-news-filters select,
    .uc-news-filters__clear {
        width: 100%;
    }
}