/*
Theme Name: MyTheme
Template: generatepress
Version: 2.0
*/


/* =========================================================
   COLOR VARIABLES
========================================================= */

:root {

    --vl-bg: #0b0f14;
    --vl-bg-secondary: #111720;
    --vl-card: rgba(255,255,255,0.045);
    --vl-card-hover: rgba(255,255,255,0.075);

    --vl-text: #f4f7fb;
    --vl-text-soft: #aeb8c6;
    --vl-border: rgba(255,255,255,0.09);

    --vl-accent: #6c63ff;
    --vl-accent-2: #8b7cff;

    --vl-header: rgba(11,15,20,0.88);
    --vl-footer: #080b10;

    --vl-shadow:
        0 10px 35px rgba(0,0,0,0.28);

    --vl-radius: 14px;
}


/* =========================================================
   LIGHT MODE
========================================================= */

html[data-theme="light"] {

    --vl-bg: #f4f6f9;
    --vl-bg-secondary: #ffffff;
    --vl-card: #ffffff;
    --vl-card-hover: #f8f9fc;

    --vl-text: #171a21;
    --vl-text-soft: #687180;
    --vl-border: rgba(0,0,0,0.09);

    --vl-header: rgba(255,255,255,0.92);
    --vl-footer: #ffffff;

    --vl-shadow:
        0 10px 30px rgba(20,30,50,0.08);
}


/* =========================================================
   GLOBAL
========================================================= */

html {

    background: var(--vl-bg);

}

body.vl-site-body {

    background: var(--vl-bg);

    color: var(--vl-text);

    transition:
        background-color .25s ease,
        color .25s ease;

}


/* =========================================================
   LINKS
========================================================= */

body.vl-site-body a {

    color: inherit;

}


/* =========================================================
   HEADER
========================================================= */

.vl-header {

    position: sticky;

    top: 0;

    z-index: 9999;

    background: var(--vl-header);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid var(--vl-border);

}


.vl-header-inner {

    max-width: 1320px;

    margin: auto;

    min-height: 72px;

    padding:
        10px 22px;

    display: flex;

    align-items: center;

    gap: 25px;

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.vl-header-actions {

    margin-left: auto;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

}


/* =========================================================
   HEADER BUTTONS
========================================================= */

.vl-header-actions button {

    width: 40px;

    height: 40px;

    padding: 0;

    border: 1px solid var(--vl-border);

    border-radius: 10px;

    background: var(--vl-card);

    color: var(--vl-text);

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    line-height: 1;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;

}


.vl-header-actions button:hover {

    background: var(--vl-card-hover);

    border-color: var(--vl-accent);

    transform: translateY(-1px);

}


/* =========================================================
   HAMBURGER
========================================================= */

.vl-mobile-menu-toggle {

    display: none !important;

}


.vl-menu-icon {

    display: block;

    font-size: 19px;

    line-height: 1;

    transition:
        transform .25s ease;

}


.vl-mobile-menu-toggle.vl-menu-open
.vl-menu-icon {

    transform: rotate(90deg);

}


/* =========================================================
   MOBILE CATEGORY PANEL
   HIDDEN BY DEFAULT
========================================================= */

.vl-mobile-category-panel {

    display: none;

    width: 100%;

    border-top:
        1px solid var(--vl-border);

    background:
        var(--vl-header);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

}


.vl-mobile-category-panel.vl-category-open {

    display: block;

}


.vl-category-panel-inner {

    max-width: 1320px;

    margin: auto;

    padding:
        20px 22px 24px;

}


/* =========================================================
   CATEGORY HEADING
========================================================= */

.vl-category-panel-heading {

    margin-bottom: 16px;

}


.vl-category-kicker {

    display: block;

    margin-bottom: 3px;

    color: var(--vl-accent-2);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.3px;

}


.vl-category-panel-heading h2 {

    margin: 0;

    color: var(--vl-text);

    font-size: 22px;

    font-weight: 800;

}


/* =========================================================
   CATEGORY GRID
========================================================= */

.vl-category-list {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

}


/* =========================================================
   CATEGORY ITEM
========================================================= */

.vl-category-item {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        12px 13px;

    border:
        1px solid var(--vl-border);

    border-radius: 11px;

    background: var(--vl-card);

    color: var(--vl-text) !important;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;

}


.vl-category-item:hover {

    background: var(--vl-card-hover);

    border-color:
        rgba(108,99,255,.55);

    transform: translateY(-2px);

}


/* =========================================================
   CATEGORY ICON
========================================================= */

.vl-category-icon {

    width: 26px;

    height: 26px;

    flex: 0 0 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background:
        rgba(108,99,255,.13);

    color: var(--vl-accent-2);

    font-size: 13px;

    font-weight: 800;

}


/* =========================================================
   CATEGORY NAME
========================================================= */

.vl-category-name {

    min-width: 0;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   CATEGORY COUNT
========================================================= */

.vl-category-count {

    margin-left: auto;

    flex-shrink: 0;

    padding:
        3px 7px;

    border-radius: 20px;

    background:
        var(--vl-bg-secondary);

    color: var(--vl-text-soft);

    font-size: 10px;

    font-weight: 700;

}


/* =========================================================
   NO CATEGORIES
========================================================= */

.vl-no-categories {

    padding: 20px;

    text-align: center;

    color: var(--vl-text-soft);

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 761px) {

    .vl-mobile-menu-toggle {

        display: none !important;

    }

    .vl-mobile-category-panel {

        display: none !important;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vl-header-actions {

        gap: 5px;

    }


    .vl-header-actions button {

        width: 38px;

        height: 38px;

        font-size: 16px;

    }


    .vl-mobile-menu-toggle {

        display: inline-flex !important;

    }


    .vl-mobile-category-panel {

        position: relative;

    }


    .vl-category-panel-inner {

        padding:
            18px 15px 22px;

    }


    .vl-category-list {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;

    }


    .vl-category-item {

        padding:
            11px 10px;

    }


    .vl-category-icon {

        width: 24px;

        height: 24px;

        flex-basis: 24px;

    }


    .vl-category-name {

        font-size: 12px;

    }


    .vl-category-count {

        display: none;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .vl-site-title {

        max-width: 145px;

        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;

    }


    .vl-header-actions button {

        width: 36px;

        height: 36px;

    }


    .vl-category-list {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   BRAND
========================================================= */

.vl-brand {

    flex-shrink: 0;

}


.vl-brand-link {

    display: flex;

    align-items: center;

    gap: 11px;

    text-decoration: none !important;

}


.vl-site-icon {

    width: 42px;

    height: 42px;

    border-radius: 11px;

    object-fit: cover;

    box-shadow:
        0 4px 16px rgba(0,0,0,.25);

}


.vl-site-title {

    font-size: 21px;

    font-weight: 800;

    letter-spacing: -.3px;

}


/* =========================================================
   NAV
========================================================= */

.vl-main-nav {

    flex: 1;

}


.vl-nav-list {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    align-items: center;

    gap: 6px;

}


.vl-nav-list li {

    list-style: none;

    margin: 0;

}


.vl-nav-list a {

    display: block;

    padding:
        9px 13px;

    border-radius: 9px;

    text-decoration: none !important;

    color: var(--vl-text-soft);

    font-size: 14px;

    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease;

}


.vl-nav-list a:hover {

    color: var(--vl-text);

    background:
        var(--vl-card);

}


/* =========================================================
   MOBILE CATEGORY
========================================================= */

.vl-mobile-category-link {

    display: none !important;

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.vl-header-actions {

    display: flex;

    align-items: center;

    gap: 7px;

}


.vl-header-actions button {

    width: 40px;

    height: 40px;

    border: 1px solid var(--vl-border);

    border-radius: 10px;

    background: var(--vl-card);

    color: var(--vl-text);

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    transition:
        transform .2s ease,
        background .2s ease;

}


.vl-header-actions button:hover {

    transform: translateY(-1px);

    background: var(--vl-card-hover);

}


/* =========================================================
   SEARCH
========================================================= */

.vl-header-search {

    display: none;

    border-top:
        1px solid var(--vl-border);

}


.vl-header-search.vl-search-open {

    display: block;

}


.vl-header-search-inner {

    max-width: 1320px;

    margin: auto;

    padding:
        12px 22px;

}


.vl-header-search form {

    display: flex;

    gap: 8px;

}


.vl-header-search input[type="search"] {

    flex: 1;

    min-width: 0;

    background: var(--vl-card);

    border:
        1px solid var(--vl-border);

    color: var(--vl-text);

    border-radius: 10px;

    padding:
        11px 14px;

}


.vl-header-search input[type="submit"] {

    border: 0;

    border-radius: 10px;

    padding:
        10px 18px;

    background: var(--vl-accent);

    color: white;

    font-weight: 700;

}


/* =========================================================
   HOME
========================================================= */

.vl-home {

    max-width: 1320px;

    margin: auto;

    padding:
        35px 22px 55px;

}


.vl-home-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 32px;

}


.vl-home-main {

    min-width: 0;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.vl-section-heading {

    margin-bottom: 22px;

}


.vl-section-kicker {

    display: block;

    margin-bottom: 4px;

    color: var(--vl-accent-2);

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;

}


.vl-section-heading h1,
.vl-section-heading h2 {

    margin: 0;

    color: var(--vl-text);

    font-size: 25px;

    font-weight: 800;

}


/* =========================================================
   VIDEO GRID
========================================================= */

.vl-video-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

}


/* =========================================================
   VIDEO CARD
========================================================= */

.vl-video-card {

    overflow: hidden;

    margin: 0 !important;

    padding: 0 !important;

    border:
        1px solid var(--vl-border);

    border-radius: var(--vl-radius);

    background: var(--vl-card);

    box-shadow: var(--vl-shadow);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;

}


.vl-video-card:hover {

    transform: translateY(-3px);

    background: var(--vl-card-hover);

}


.vl-thumb {

    display: block;

    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #151a22;

}


.vl-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .35s ease;

}


.vl-video-card:hover .vl-thumb img {

    transform: scale(1.045);

}


/* =========================================================
   CARD CONTENT
========================================================= */

.vl-card-content {

    padding:
        13px 14px 14px;

}


.vl-card-title {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

.vl-card-title a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--vl-text) !important;
    text-decoration: none !important;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    line-clamp: 2;
}

.vl-card-title a:hover {
    color: var(--vl-accent-2) !important;
}



.vl-card-meta {

    margin-top: 9px;

    display: flex;

    justify-content: space-between;

    gap: 10px;

    color: var(--vl-text-soft);

    font-size: 11px;

}


/* =========================================================
   SIDEBAR
========================================================= */

.vl-home-sidebar {

    min-width: 0;

}


.vl-widget {

    margin-bottom: 22px;

    padding: 18px;

    border:
        1px solid var(--vl-border);

    border-radius: var(--vl-radius);

    background: var(--vl-card);

    box-shadow: var(--vl-shadow);

}


.vl-widget-title {

    margin:
        0 0 15px;

    font-size: 17px;

    font-weight: 800;

    color: var(--vl-text);

}


.vl-widget-empty {

    margin: 0;

    color: var(--vl-text-soft);

    font-size: 13px;

}


/* =========================================================
   PAGINATION
========================================================= */

.vl-pagination {

    margin-top: 35px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

}


.vl-pagination .page-numbers {

    min-width: 38px;

    height: 38px;

    padding:
        0 11px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--vl-border);

    border-radius: 9px;

    background: var(--vl-card);

    color: var(--vl-text);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

}


.vl-pagination .page-numbers.current {

    background: var(--vl-accent);

    border-color: var(--vl-accent);

    color: white;

}


/* =========================================================
   EMPTY
========================================================= */

.vl-empty {

    padding: 50px 20px;

    text-align: center;

    border:
        1px solid var(--vl-border);

    border-radius: var(--vl-radius);

    background: var(--vl-card);

}


.vl-empty h2 {

    margin: 0 0 8px;

}


.vl-empty p {

    margin: 0;

    color: var(--vl-text-soft);

}


/* =========================================================
   RECOMMENDED
========================================================= */

.vl-recommended-section {

    margin-top: 40px;

}


.vl-recommended-grid {

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

}


/* =========================================================
   FOOTER
========================================================= */

.vl-footer {

    background: var(--vl-footer);

    border-top:
        1px solid var(--vl-border);

}


.vl-footer-inner {

    max-width: 1320px;

    margin: auto;

    padding:
        45px 22px;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;

}


.vl-footer-title {

    font-size: 22px;

    font-weight: 800;

}


.vl-footer-brand p {

    max-width: 500px;

    color: var(--vl-text-soft);

    font-size: 14px;

    line-height: 1.7;

}


.vl-footer-links h3 {

    margin:
        0 0 13px;

    font-size: 15px;

}


.vl-footer-links a {

    display: block;

    margin-bottom: 8px;

    color: var(--vl-text-soft);

    text-decoration: none;

    font-size: 13px;

}


.vl-footer-links a:hover {

    color: var(--vl-text);

}


.vl-footer-menu {

    list-style: none;

    padding: 0;

    margin: 0;

}


.vl-footer-menu li {

    list-style: none;

    margin: 0 0 8px;

}


.vl-footer-bottom {

    max-width: 1320px;

    margin: auto;

    padding:
        16px 22px;

    border-top:
        1px solid var(--vl-border);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--vl-text-soft);

    font-size: 12px;

}


.vl-footer-powered {

    text-align: right;

}


/* =========================================================
   CHECK ME OUT BUTTON
========================================================= */

.mytheme-check-button {

    display: inline-block;

    margin:
        5px 0;

    padding:
        10px 18px;

    width: 50%;

    background: #28a745;

    color: #fff !important;

    border-radius: 8px;

    text-decoration: none !important;

    font-weight: 700;

    text-align: center;

}


/* =========================================================
   SERIES
========================================================= */

.series-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

}


.series-card {

    overflow: hidden;

    border:
        1px solid var(--vl-border);

    border-radius: 12px;

    background: var(--vl-card);

}


.series-card img {

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    display: block;

}


.series-card h5 {

    margin: 0;

    padding: 12px;

    font-size: 14px;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .vl-home-layout {

        grid-template-columns: 1fr;

    }

    .vl-home-sidebar {

        order: 2;

    }

    .vl-video-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

    .vl-footer-inner {

        grid-template-columns:
            1fr 1fr;

    }

}


@media (max-width: 760px) {

    .vl-header-inner {

        min-height: 64px;

        padding:
            8px 15px;

        gap: 10px;

    }


    .vl-site-icon {

        width: 37px;

        height: 37px;

    }


    .vl-site-title {

        font-size: 18px;

    }


    .vl-main-nav {

        display: none;

        position: absolute;

        left: 0;

        right: 0;

        top: 64px;

        padding: 12px 15px;

        background: var(--vl-header);

        border-bottom:
            1px solid var(--vl-border);

    }


    .vl-main-nav.vl-mobile-open {

        display: block;

    }


    .vl-nav-list {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 3px;

    }


    .vl-nav-list a {

        padding: 12px;

    }


    .vl-mobile-category-link {

        display: list-item !important;

    }


    .vl-mobile-menu-toggle {

        display: inline-flex !important;

    }


    .vl-home {

        padding:
            25px 15px 45px;

    }


    .vl-video-grid {

        gap: 13px;

    }


    .vl-card-content {

        padding:
            10px;

    }


    .vl-card-title {

        font-size: 13px;

    }


    .vl-card-meta {

        font-size: 10px;

    }


    .vl-footer-inner {

        grid-template-columns: 1fr;

        gap: 25px;

        padding:
            35px 15px;

    }


    .vl-footer-bottom {

        padding:
            15px;

        flex-direction: column;

    }


    .vl-footer-powered {

        text-align: left;

    }


    .series-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (min-width: 761px) {

    .vl-mobile-menu-toggle {

        display: none !important;

    }

}


@media (max-width: 520px) {

    .vl-video-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

    }


    .vl-section-heading h1 {

        font-size: 21px;

    }


    .vl-card-title {

        font-size: 12px;

        line-height: 1.35;

    }


    .vl-card-meta {

        display: none;

    }


    .vl-widget {

        padding: 15px;

    }

}


/* =========================================================
   SINGLE POST PAGE
========================================================= */

.vl-single-page {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 22px 50px;
}

.vl-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}


/* =========================================================
   LEFT POST AREA
========================================================= */

.vl-single-main {
    min-width: 0;
}

.vl-single-post {
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
}


/* FEATURED IMAGE */

.vl-single-featured {
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid var(--vl-border);
    border-radius: 16px;
    background: var(--vl-card);
}

.vl-single-featured img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
}


/* POST HEADER */

.vl-single-header {
    margin-bottom: 24px;
}

.vl-single-title {
    margin: 0 0 12px !important;
    color: var(--vl-text) !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}

.vl-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--vl-text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.vl-meta-item {
    display: inline-flex;
    align-items: center;
}

.vl-meta-separator {
    opacity: .45;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.vl-single-content {
    color: var(--vl-text);
    font-size: 16px;
    line-height: 1.8;
}

.vl-single-content p {
    margin: 0 0 20px;
}

.vl-single-content h2,
.vl-single-content h3,
.vl-single-content h4 {
    color: var(--vl-text);
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 14px;
}

.vl-single-content h2 {
    font-size: 27px;
}

.vl-single-content h3 {
    font-size: 22px;
}

.vl-single-content h4 {
    font-size: 19px;
}

.vl-single-content a {
    color: var(--vl-accent-2);
}

.vl-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.vl-single-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    overflow: hidden;
}

.vl-single-content th,
.vl-single-content td {
    padding: 10px 12px;
    border: 1px solid var(--vl-border);
}

.vl-single-content ul,
.vl-single-content ol {
    margin-bottom: 20px;
}

.vl-single-content blockquote {
    margin: 25px 0;
    padding: 15px 20px;
    border-left: 4px solid var(--vl-accent);
    border-radius: 0 10px 10px 0;
    background: var(--vl-card);
    color: var(--vl-text-soft);
}


/* WORDPRESS PAGE LINKS */

.vl-page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--vl-border);
}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.vl-single-sidebar {
    min-width: 0;
    position: sticky;
    top: 20px;
}

.vl-single-sidebar .vl-widget {
    margin-bottom: 20px;
}


/* SIDEBAR SEARCH */

.vl-single-sidebar .search-form {
    display: flex;
    gap: 7px;
}

.vl-single-sidebar .search-form label {
    flex: 1;
    min-width: 0;
}

.vl-single-sidebar .search-form input[type="search"] {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--vl-border);
    border-radius: 9px;
    background: var(--vl-bg-secondary);
    color: var(--vl-text);
    outline: none;
}

.vl-single-sidebar .search-form input[type="submit"] {
    min-height: 42px;
    padding: 9px 13px;
    border: 0;
    border-radius: 9px;
    background: var(--vl-accent);
    color: #fff;
    cursor: pointer;
}


/* SIDEBAR CATEGORIES */

.vl-sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vl-sidebar-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid var(--vl-border);
    border-radius: 9px;
    background: var(--vl-bg-secondary);
    color: var(--vl-text) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.vl-sidebar-category:hover {
    background: var(--vl-card-hover);
    border-color: var(--vl-accent);
    transform: translateX(2px);
}

.vl-sidebar-category span:last-child {
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 20px;
    background: var(--vl-card);
    color: var(--vl-text-soft);
    text-align: center;
    font-size: 10px;
}


/* =========================================================
   DARK / LIGHT COMPATIBILITY
========================================================= */

.vl-single-content strong,
.vl-single-content b {
    color: var(--vl-text);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .vl-single-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 20px;
    }

    .vl-single-page {
        padding-left: 18px;
        padding-right: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vl-single-page {
        padding: 20px 15px 40px;
    }

    .vl-single-layout {
        display: block;
    }

    .vl-single-sidebar {
        position: static;
        margin-top: 30px;
    }

    .vl-single-featured {
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .vl-single-title {
        font-size: 27px !important;
    }

    .vl-single-content {
        font-size: 15px;
        line-height: 1.75;
    }

}


/* =========================================================
   POPULAR POSTS WIDGET
========================================================= */

.vl-popular-widget {
    width: 100%;
}

.vl-popular-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vl-popular-item {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.vl-popular-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.vl-popular-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: var(--vl-bg-secondary);
    border: 1px solid var(--vl-border);
}

.vl-popular-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.vl-popular-link:hover .vl-popular-thumb img {
    transform: scale(1.05);
}


/* VIEW COUNT */

.vl-popular-views {
    position: absolute;
    left: 6px;
    bottom: 6px;

    display: inline-flex;
    align-items: center;
    gap: 3px;

    padding: 3px 6px;

    border-radius: 6px;

    background: rgba(0, 0, 0, .72);
    color: #fff;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* FALLBACK WHEN POST HAS NO IMAGE */

.vl-popular-no-image {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--vl-text-soft);
    font-size: 20px;
}

.vl-popular-no-image > span:first-child {
    opacity: .5;
}


/* MOBILE */

@media (max-width: 760px) {

    .vl-popular-grid {
        gap: 8px;
    }

    .vl-popular-thumb {
        border-radius: 8px;
    }

}

/* =========================================================
   CATEGORIES LIST WIDGET
   2-COLUMN CARD DESIGN
========================================================= */

.vl-home-sidebar .widget_categories,
.vl-single-sidebar .widget_categories {
    overflow: hidden;
}


/* =========================================================
   CATEGORY LIST
========================================================= */

.vl-home-sidebar .widget_categories ul,
.vl-single-sidebar .widget_categories ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;

    list-style: none;
    margin: 0;
    padding: 0;
}


/* =========================================================
   CATEGORY ITEM
========================================================= */

.vl-home-sidebar .widget_categories li,
.vl-single-sidebar .widget_categories li {
    min-width: 0;
    margin: 0;
    padding: 0;
}


/* =========================================================
   CATEGORY LINK
========================================================= */

.vl-home-sidebar .widget_categories li a,
.vl-single-sidebar .widget_categories li a {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-width: 0;
    min-height: 43px;

    padding: 7px 8px;

    border: 1px solid var(--vl-border);
    border-radius: 10px;

    background: var(--vl-bg-secondary);

    color: var(--vl-text) !important;
    text-decoration: none !important;

    font-size: 12px;
    font-weight: 650;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* =========================================================
   CATEGORY ICON
========================================================= */

.vl-home-sidebar .widget_categories li a::before,
.vl-single-sidebar .widget_categories li a::before {
    content: "›";

    width: 24px;
    height: 24px;

    margin-right: 7px;

    flex: 0 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: rgba(108, 99, 255, .13);

    color: var(--vl-accent-2);

    font-size: 16px;
    font-weight: 800;

    transition:
        background .2s ease,
        transform .2s ease;
}


/* =========================================================
   CATEGORY TEXT
========================================================= */

.vl-home-sidebar .widget_categories li a,
.vl-single-sidebar .widget_categories li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   CATEGORY COUNT
========================================================= */

.vl-home-sidebar .widget_categories li,
.vl-single-sidebar .widget_categories li {
    position: relative;
}

.vl-home-sidebar .widget_categories li a,
.vl-single-sidebar .widget_categories li a {
    padding-right: 34px;
}

.vl-home-sidebar .widget_categories .count,
.vl-single-sidebar .widget_categories .count {
    position: absolute;

    right: 7px;
    top: 50%;

    transform: translateY(-50%);

    min-width: 21px;

    padding: 2px 4px;

    border: 1px solid var(--vl-border);
    border-radius: 20px;

    background: var(--vl-card);

    color: var(--vl-text-soft);

    text-align: center;

    font-size: 9px;
    line-height: 1.25;
    font-weight: 700;

    pointer-events: none;
}


/* =========================================================
   HOVER
========================================================= */

.vl-home-sidebar .widget_categories li a:hover,
.vl-single-sidebar .widget_categories li a:hover {
    background: var(--vl-card-hover);

    border-color: rgba(108, 99, 255, .55);

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(0, 0, 0, .10);
}


/* =========================================================
   HOVER ICON
========================================================= */

.vl-home-sidebar .widget_categories li a:hover::before,
.vl-single-sidebar .widget_categories li a:hover::before {
    background: rgba(108, 99, 255, .22);

    transform: translateX(2px);
}


/* =========================================================
   HOVER COUNT
========================================================= */

.vl-home-sidebar .widget_categories li a:hover .count,
.vl-single-sidebar .widget_categories li a:hover .count {
    color: var(--vl-text);

    border-color: rgba(108, 99, 255, .35);
}


/* =========================================================
   DROPDOWN SELECT
========================================================= */

.vl-home-sidebar .widget_categories select,
.vl-single-sidebar .widget_categories select {
    width: 100%;

    min-height: 44px;

    padding: 9px 12px;

    border: 1px solid var(--vl-border);
    border-radius: 10px;

    background: var(--vl-bg-secondary);
    color: var(--vl-text);

    font-size: 13px;
    font-weight: 600;

    outline: none;
}

.vl-home-sidebar .widget_categories select:focus,
.vl-single-sidebar .widget_categories select:focus {
    border-color: var(--vl-accent);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .vl-home-sidebar .widget_categories ul,
    .vl-single-sidebar .widget_categories ul {
        gap: 7px;
    }

    .vl-home-sidebar .widget_categories li a,
    .vl-single-sidebar .widget_categories li a {
        font-size: 11px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vl-home-sidebar .widget_categories ul,
    .vl-single-sidebar .widget_categories ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .vl-home-sidebar .widget_categories li a,
    .vl-single-sidebar .widget_categories li a {
        min-height: 42px;
        padding: 7px 8px;

        font-size: 12px;
    }

    .vl-home-sidebar .widget_categories li a::before,
    .vl-single-sidebar .widget_categories li a::before {
        width: 23px;
        height: 23px;

        flex-basis: 23px;

        margin-right: 6px;

        font-size: 15px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .vl-home-sidebar .widget_categories ul,
    .vl-single-sidebar .widget_categories ul {
        gap: 6px;
    }

    .vl-home-sidebar .widget_categories li a,
    .vl-single-sidebar .widget_categories li a {
        min-height: 40px;

        padding-left: 6px;
        padding-right: 6px;

        font-size: 11px;
    }

    .vl-home-sidebar .widget_categories li a::before,
    .vl-single-sidebar .widget_categories li a::before {
        width: 21px;
        height: 21px;

        flex-basis: 21px;

        margin-right: 5px;

        font-size: 14px;
    }

    .vl-home-sidebar .widget_categories .count,
    .vl-single-sidebar .widget_categories .count {
        right: 5px;
        min-width: 19px;
        font-size: 8px;
    }

}

/* =========================================================
   ARCHIVE PAGE
========================================================= */

.vl-archive-page {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 22px 50px;
}

.vl-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}


/* =========================================================
   LEFT ARCHIVE CONTENT
========================================================= */

.vl-archive-main {
    min-width: 0;
}


/* =========================================================
   ARCHIVE HEADER
========================================================= */

.vl-archive-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--vl-border);
}

.vl-archive-header .vl-section-kicker {
    display: block;
    margin-bottom: 4px;

    color: var(--vl-accent-2);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.vl-archive-header h1 {
    margin: 0 !important;

    color: var(--vl-text) !important;

    font-size: clamp(26px, 3vw, 36px) !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.vl-archive-description {
    max-width: 760px;

    margin-top: 10px;

    color: var(--vl-text-soft);

    font-size: 14px;
    line-height: 1.7;
}

.vl-archive-description p {
    margin: 0;
}


/* =========================================================
   ARCHIVE POST GRID
========================================================= */

.vl-archive-main .vl-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================================
   ARCHIVE CARD
========================================================= */

.vl-archive-main .vl-video-card {
    min-width: 0;
    overflow: hidden;

    margin: 0;
    padding: 0;

    border: 1px solid var(--vl-border);
    border-radius: 13px;

    background: var(--vl-card);

    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.vl-archive-main .vl-video-card:hover {
    transform: translateY(-3px);

    border-color: rgba(108, 99, 255, .45);

    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.vl-archive-main .vl-thumb {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--vl-bg-secondary);
}

.vl-archive-main .vl-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.vl-archive-main .vl-video-card:hover .vl-thumb img {
    transform: scale(1.04);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.vl-archive-main .vl-card-content {
    padding: 11px 12px 12px;
}

.vl-archive-main .vl-card-title {
    margin: 0 !important;

    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
}

.vl-archive-main .vl-card-title a {
    display: -webkit-box;

    overflow: hidden;

    color: var(--vl-text) !important;

    text-decoration: none !important;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vl-archive-main .vl-card-title a:hover {
    color: var(--vl-accent-2) !important;
}


/* =========================================================
   CARD META
========================================================= */

.vl-archive-main .vl-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-top: 8px;

    color: var(--vl-text-soft);

    font-size: 10px;
    line-height: 1.3;
}


/* =========================================================
   ARCHIVE SIDEBAR
========================================================= */

.vl-archive-sidebar {
    min-width: 0;

    position: sticky;
    top: 20px;
}

.vl-archive-sidebar .vl-widget {
    margin-bottom: 20px;
}


/* =========================================================
   SIDEBAR SEARCH
========================================================= */

.vl-archive-sidebar .search-form {
    display: flex;
    gap: 7px;
}

.vl-archive-sidebar .search-form label {
    flex: 1;
    min-width: 0;
}

.vl-archive-sidebar .search-form input[type="search"] {
    width: 100%;
    min-height: 42px;

    padding: 9px 12px;

    border: 1px solid var(--vl-border);
    border-radius: 9px;

    background: var(--vl-bg-secondary);
    color: var(--vl-text);

    outline: none;
}

.vl-archive-sidebar .search-form input[type="submit"] {
    min-height: 42px;

    padding: 9px 13px;

    border: 0;
    border-radius: 9px;

    background: var(--vl-accent);
    color: #fff;

    cursor: pointer;
}


/* =========================================================
   PAGINATION
========================================================= */

.vl-archive-main .vl-pagination {
    margin-top: 28px;
}

.vl-archive-main .vl-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;
}

.vl-archive-main .vl-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    border: 1px solid var(--vl-border);
    border-radius: 9px;

    background: var(--vl-card);

    color: var(--vl-text);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.vl-archive-main .vl-pagination .page-numbers:hover {
    background: var(--vl-card-hover);
    border-color: var(--vl-accent);

    transform: translateY(-1px);
}

.vl-archive-main .vl-pagination .page-numbers.current {
    background: var(--vl-accent);
    border-color: var(--vl-accent);
    color: #fff;
}


/* =========================================================
   EMPTY ARCHIVE
========================================================= */

.vl-archive-main .vl-empty {
    padding: 50px 20px;

    border: 1px solid var(--vl-border);
    border-radius: 14px;

    background: var(--vl-card);

    text-align: center;
}

.vl-archive-main .vl-empty h2 {
    margin: 0 0 8px;

    color: var(--vl-text);
}

.vl-archive-main .vl-empty p {
    margin: 0;

    color: var(--vl-text-soft);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1050px) {

    .vl-archive-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 20px;
    }

    .vl-archive-main .vl-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vl-archive-page {
        padding: 20px 15px 40px;
    }

    .vl-archive-layout {
        display: block;
    }

    .vl-archive-sidebar {
        position: static;

        margin-top: 30px;
    }

    .vl-archive-header {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .vl-archive-header h1 {
        font-size: 27px !important;
    }

    .vl-archive-main .vl-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .vl-archive-main .vl-card-content {
        padding: 9px 9px 10px;
    }

    .vl-archive-main .vl-card-title {
        font-size: 12px !important;
    }

    .vl-archive-main .vl-card-meta {
        font-size: 9px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .vl-archive-main .vl-video-grid {
        gap: 8px;
    }

    .vl-archive-main .vl-card-title {
        font-size: 11px !important;
    }

}


/* =========================================================
   RECOMMENDED VIDEOS
   Single Post Page
========================================================= */

.vl-recommended-section {
    width: 100%;
    margin-top: 38px;
    padding-top: 28px;

    border-top: 1px solid var(--vl-border);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.vl-recommended-section .vl-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 0 18px;
    padding: 0;
}

.vl-recommended-section .vl-section-heading h2 {
    position: relative;

    margin: 0 !important;
    padding-left: 13px;

    color: var(--vl-text) !important;

    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}


/* ACCENT LINE */

.vl-recommended-section .vl-section-heading h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 2px;
    bottom: 2px;

    width: 4px;

    border-radius: 10px;

    background: var(--vl-accent);
}


/* =========================================================
   RECOMMENDED GRID
========================================================= */

.vl-recommended-section .vl-recommended-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin: 0;
}


/* =========================================================
   RECOMMENDED CARD
========================================================= */

.vl-recommended-section .vl-video-card {
    min-width: 0;
    overflow: hidden;

    margin: 0;
    padding: 0;

    border: 1px solid var(--vl-border);
    border-radius: 12px;

    background: var(--vl-card);

    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* CARD HOVER */

.vl-recommended-section .vl-video-card:hover {
    transform: translateY(-3px);

    border-color: rgba(108, 99, 255, .50);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .10);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.vl-recommended-section .vl-thumb {
    display: block;

    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--vl-bg-secondary);
}


/* IMAGE */

.vl-recommended-section .vl-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}


/* IMAGE HOVER */

.vl-recommended-section .vl-video-card:hover .vl-thumb img {
    transform: scale(1.045);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.vl-recommended-section .vl-card-content {
    padding: 10px 11px 12px;
}


/* TITLE */

.vl-recommended-section .vl-card-content h3 {
    margin: 0 !important;

    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}


/* TITLE LINK */

.vl-recommended-section .vl-card-content h3 a {
    display: -webkit-box;

    overflow: hidden;

    color: var(--vl-text) !important;

    text-decoration: none !important;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* TITLE HOVER */

.vl-recommended-section .vl-card-content h3 a:hover {
    color: var(--vl-accent-2) !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .vl-recommended-section .vl-recommended-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 13px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vl-recommended-section {
        margin-top: 30px;
        padding-top: 23px;
    }


    .vl-recommended-section .vl-section-heading {
        margin-bottom: 14px;
    }


    .vl-recommended-section .vl-section-heading h2 {
        font-size: 19px !important;
    }


    .vl-recommended-section .vl-recommended-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .vl-recommended-section .vl-video-card {
        border-radius: 10px;
    }


    .vl-recommended-section .vl-card-content {
        padding: 8px 9px 10px;
    }


    .vl-recommended-section .vl-card-content h3 {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .vl-recommended-section .vl-recommended-grid {
        gap: 8px;
    }


    .vl-recommended-section .vl-card-content {
        padding: 7px 8px 9px;
    }


    .vl-recommended-section .vl-card-content h3 {
        font-size: 10px !important;
    }

}





/* =========================================================
   NORMAL WORDPRESS PAGES
========================================================= */

.vl-page {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 22px 50px;
}

.vl-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.vl-page-main {
    min-width: 0;
}

.vl-page-post {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.vl-page-header {
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--vl-border);
}

.vl-page-title {
    margin: 0 !important;
    color: var(--vl-text) !important;
    font-size: clamp(28px, 3vw, 40px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.5px;
}

.vl-page-content {
    color: var(--vl-text);
    font-size: 16px;
    line-height: 1.8;
}

.vl-page-content p {
    margin: 0 0 20px;
}

.vl-page-content h2,
.vl-page-content h3,
.vl-page-content h4 {
    color: var(--vl-text) !important;
}

.vl-page-content a {
    color: var(--vl-accent-2);
}

.vl-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.vl-page-sidebar {
    min-width: 0;
    position: sticky;
    top: 20px;
}


/* =========================================================
   PAGE LINKS
========================================================= */

.vl-page-links {
    margin-top: 25px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .vl-page-layout {
        grid-template-columns: 1fr;
    }

    .vl-page-sidebar {
        position: static;
        margin-top: 30px;
    }

}


@media (max-width: 760px) {

    .vl-page {
        padding: 24px 14px 40px;
    }

    .vl-page-title {
        font-size: 28px !important;
    }

    .vl-page-content {
        font-size: 15px;
        line-height: 1.75;
    }

}





