/* Full-width homepage with the classic KolorTube Filters + Categories rail. */
body.home .nav-container,
body.blog .nav-container,
body.home #content > .hero .container,
body.blog #content > .hero .container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(16px, 2vw, 32px);
}

.wpst-home-shell {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: clamp(18px, 2vw, 30px);
    padding: 24px clamp(16px, 2vw, 32px) 40px;
    margin: 0 auto;
}

.wpst-home-menu { min-width: 0; width: 100%; }

.wpst-home-menu__inner {
    position: sticky;
    top: 20px;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border: 0;
    border-radius: 4px;
    color: rgba(255,255,255,.82);
}

.wpst-home-menu .widget {
    width: 100%;
    margin: 0;
    padding: 18px 16px;
    color: rgba(255,255,255,.82) !important;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.wpst-home-menu .widget + .widget {
    border-top: 1px solid rgba(255,255,255,.10);
}

.wpst-home-menu .widget-title {
    margin: 0 0 12px;
    padding: 0;
    color: #fff !important;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.005rem;
    text-transform: none;
    border: 0;
}

.wpst-home-menu .wpst-tag-filter-widget,
.wpst-home-menu #wpst-video-filters-container,
.wpst-home-menu #wpst-video-categories-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.wpst-home-menu #wpst-video-filters,
.wpst-home-menu #wpst-video-categories {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.wpst-home-menu #wpst-video-filters li,
.wpst-home-menu #wpst-video-categories li {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.wpst-home-menu #wpst-video-filters a,
.wpst-home-menu #wpst-video-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    color: rgba(255,255,255,.82) !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    border: 0;
    border-radius: 3px;
    transition: color .18s ease, background-color .18s ease;
}

.wpst-home-menu #wpst-video-filters a:hover,
.wpst-home-menu #wpst-video-categories a:hover,
.wpst-home-menu #wpst-video-filters a.selected,
.wpst-home-menu #wpst-video-filters a.active,
.wpst-home-menu #wpst-video-categories .current-cat > a {
    color: #fff !important;
    background: rgba(196,0,0,.18);
}

.wpst-home-menu #wpst-video-filters a.selected,
.wpst-home-menu #wpst-video-filters a.active {
    box-shadow: inset 3px 0 0 #c40000;
}

.wpst-home-menu #wpst-video-categories .see-all-tax {
    margin-top: 7px;
    color: #fff !important;
    font-weight: 700;
    background: rgba(196,0,0,.16);
}

.wpst-home-menu #wpst-video-categories .see-all-tax i {
    margin-left: 8px;
    font-size: 11px;
}

.wpst-home-shell .video-loop {
    width: 100%;
    min-width: 0;
    flex: none !important;
}

.wpst-home-shell .video-loop > .row,
.wpst-home-shell .video-loop > .row > .col-12,
.wpst-home-shell .video-loop .row.no-gutters { width: 100%; }

@media (min-width: 1600px) {
    .wpst-home-shell { grid-template-columns: 230px minmax(0, 1fr); }
    .wpst-home-shell .video-loop .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
}

@media (max-width: 1199.98px) {
    .wpst-home-shell { grid-template-columns: 205px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 991.98px) {
    .wpst-home-shell { display: block; padding: 14px 12px 30px; }
    .wpst-home-menu { margin-bottom: 16px; }
    .wpst-home-menu__inner {
        position: static;
        max-height: none;
        overflow: hidden;
        padding: 0;
    }
    .wpst-home-menu .widget { padding: 12px; }
    .wpst-home-menu .widget-title { font-size: 14px; margin-bottom: 8px; }
    .wpst-home-menu #wpst-video-filters,
    .wpst-home-menu #wpst-video-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        overflow: visible;
        padding-bottom: 0;
    }
    .wpst-home-menu #wpst-video-filters li,
    .wpst-home-menu #wpst-video-categories li { flex: 0 1 auto; width: auto; }
    .wpst-home-menu #wpst-video-filters a,
    .wpst-home-menu #wpst-video-categories a {
        width: auto;
        min-height: 38px;
        padding: 8px 11px;
        white-space: nowrap;
        background: rgba(255,255,255,.08);
    }
    .wpst-home-menu #wpst-video-categories .see-all-tax { margin-top: 0; }
}

@media (max-width: 575.98px) {
    .wpst-home-shell { padding-inline: 8px; }
    .wpst-home-menu .widget { padding: 11px 10px; }
    .wpst-home-shell .video-loop .row { margin-inline: -4px; }
    .wpst-home-shell .video-loop .row > [class*="col-"] { padding-inline: 4px; }
}
