/* Source: youtube.php */
.youtube-overview{color:var(--bs-body-color);background:var(--bs-body-bg)}
.youtube-overview *{box-sizing:border-box}
.youtube-overview a{text-decoration:none;color:inherit}
.youtube-overview .yt-wrap{width:min(1460px,calc(100% - 60px));margin:auto}
.yt-hero{padding:38px 0 24px}
.yt-eyebrow{color:var(--bs-primary);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.yt-hero h1{font-size:38px;margin:7px 0 8px}
.yt-hero p{color:var(--bs-secondary-color);margin:0;max-width:680px;line-height:1.5}
.yt-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-top:1px solid var(--bs-border-color);border-bottom:1px solid var(--bs-border-color)}
.yt-filter-area{flex:1;min-width:0}.yt-filter-label{font-size:10px;font-weight:800;text-transform:uppercase;color:var(--bs-secondary-color);margin:0 0 6px}.yt-filters{display:flex;flex-wrap:wrap;gap:8px}.yt-channel-filters{margin-top:10px}
.yt-filter{cursor:pointer;padding:8px 15px;border:1px solid var(--bs-border-color);border-radius:4px;background:var(--bs-body-bg);font-size:12px;font-weight:700;text-transform:uppercase}
.yt-filter.active{background:var(--bs-primary);border-color:var(--bs-primary);color:#fff}
.yt-search{width:280px;height:38px;border:1px solid var(--bs-border-color);border-radius:5px;padding:0 13px;font-size:13px}
.yt-featured{padding:28px 0;border-bottom:1px solid var(--bs-border-color)}
.yt-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}
.yt-section-head h2{font-size:18px;text-transform:uppercase;margin:0}
.yt-section-head span,.yt-section-head a{font-size:12px;color:var(--bs-secondary-color)}
.yt-featured-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:28px;align-items:center}
.yt-featured-img{position:relative;display:block;aspect-ratio:16/9;border-radius:7px;overflow:hidden;background:#111}
.yt-featured-img img{display:block;width:100%;height:100%;object-fit:cover}
.yt-featured-img:after{content:"▶";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#0008;border:2px solid #fff;color:#fff;font-size:24px}
.yt-featured-copy .tag{display:inline-block;color:var(--bs-primary);font-size:11px;font-weight:800;text-transform:uppercase}
.yt-featured-copy h2{font-size:26px;text-transform:uppercase;line-height:1.2;margin:8px 0}
.yt-meta{color:var(--bs-secondary-color);font-size:12px}
.yt-featured-copy p{font-size:14px;color:var(--bs-secondary-color);line-height:1.6}
.yt-btn{display:inline-block;background:var(--bs-primary);color:#fff!important;padding:11px 18px;border-radius:4px;font-size:12px;font-weight:800;text-transform:uppercase}
.yt-btn:hover{background:var(--bs-primary)}
.yt-all{padding:28px 0 45px}
.yt-video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}
.yt-card{min-width:0}.yt-card[hidden]{display:none!important}
.yt-thumb{position:relative;display:block;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#111}
.yt-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.yt-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#0008;color:#fff;border:1px solid #fff;opacity:0;transition:.2s}
.yt-card:hover .yt-play{opacity:1}
.yt-card h3{font-size:13px;line-height:1.4;text-transform:uppercase;margin:9px 0 4px}
.yt-load{text-align:center;padding-top:34px}
.yt-load a{display:inline-block;background:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-radius:4px;padding:10px 22px;font-weight:700;font-size:12px}
.yt-pagination{display:flex;justify-content:center;gap:7px;margin-top:30px}
.yt-page{min-width:38px;height:38px;padding:0 11px;border:1px solid var(--bs-border-color);border-radius:4px;background:var(--bs-body-bg);color:var(--bs-body-color);font-size:12px;font-weight:800}
.yt-page:hover{border-color:var(--bs-primary);color:var(--bs-primary)}
.yt-page.active{border-color:var(--bs-primary);background:var(--bs-primary);color:#fff}

@media(max-width:1050px){.yt-video-grid{grid-template-columns:repeat(3,1fr)}.yt-featured-grid{grid-template-columns:1.2fr 1fr}}
@media(max-width:760px){.youtube-overview .yt-wrap{width:min(100% - 30px,1460px)}.yt-toolbar{align-items:stretch;flex-direction:column}.yt-search{width:100%}.yt-featured-grid{grid-template-columns:1fr}.yt-video-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.yt-video-grid{grid-template-columns:1fr}.yt-hero h1{font-size:30px}}
body:has(.youtube-overview) .nx-page-head--route,
body:has(.youtube-watch-detail) .nx-page-head--route {
    display: none !important;
}

/* Source: youtube-content.php */
.youtube-page.youtube-widget-container{width:100%!important;max-width:none!important}
.youtube-watch-detail{width:100%;max-width:none;margin:0 auto}
.youtube-watch-detail{color:var(--bs-body-color)}
.youtube-watch-detail *{box-sizing:border-box}.youtube-watch-detail a{text-decoration:none;color:inherit}
.yw-back{padding:10px 0 14px;font-size:13px}.yw-layout{display:grid;grid-template-columns:minmax(0,4.2fr) minmax(260px,1.05fr);gap:26px;width:100%}
.youtube-watch-player{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:#000}.youtube-watch-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.youtube-watch-detail h1{margin:16px 0 10px;font-size:20px;font-weight:800;text-transform:uppercase}.yw-meta{display:flex;justify-content:space-between;gap:15px;padding-bottom:13px;border-bottom:1px solid var(--bs-border-color);font-size:12px;color:var(--bs-secondary-color)}.yw-meta>div{display:flex;gap:14px;flex-wrap:wrap}
.yw-channel{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--bs-border-color)}.yw-avatar{width:46px;height:46px;border-radius:50%;background:var(--bs-secondary-bg)}.yw-channel small{display:block;color:var(--bs-secondary-color);font-size:11px}.yw-sub{margin-left:auto;padding:10px 17px;border-radius:4px;background:var(--bs-primary);color:#fff!important;font-size:11px;font-weight:800;text-transform:uppercase}
.yw-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:24px;padding-top:14px}.yw-desc{padding-right:27px;border-right:1px solid var(--bs-border-color);font-size:12px;line-height:1.55}.yw-chapters{margin-top:12px;padding-top:10px;border-top:1px solid var(--bs-border-color)}.yw-chapters strong{display:block;margin-bottom:7px;font-size:11px}.yw-chapters div{margin:3px 0}.yw-chapters time{display:inline-block;width:50px;color:var(--bs-primary);font-weight:800}
.yw-comments h2,.yw-side h2{margin:0 0 13px;font-size:12px;font-weight:900;text-transform:uppercase}.yw-commentbox{padding:10px 12px;border:1px solid var(--bs-border-color);border-radius:5px;color:var(--bs-secondary-color);font-size:11px}.yw-comment{display:flex;gap:10px;margin-top:15px;font-size:11px}.yw-comment i{width:34px;height:34px;flex:none;border-radius:50%;background:var(--bs-secondary-bg)}.yw-comment p{margin:4px 0 6px;line-height:1.45}
.yw-side{padding-left:24px;border-left:1px solid var(--bs-border-color)}
.yw-next{display:block;margin-bottom:20px}
.yw-thumb{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#111}
.yw-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.yw-next>div{padding-top:8px}
.yw-next strong{display:block;font-size:12px;line-height:1.4;text-transform:uppercase}
.yw-next small{display:block;margin-top:4px;color:var(--bs-secondary-color);font-size:10px}
.yw-cta{display:grid;grid-template-columns:50px 1fr;gap:14px;margin-top:22px;padding:20px;border:1px solid var(--bs-border-color);border-radius:6px;background:var(--bs-tertiary-bg)}.yw-yt{width:48px;height:38px;display:grid;place-items:center;border-radius:9px;background:var(--bs-primary);color:#fff}.yw-cta h3{margin:0 0 6px;font-size:12px}.yw-cta p{margin:0 0 10px;color:var(--bs-secondary-color);font-size:11px}
.yw-related{margin-top:30px;padding-top:18px;border-top:1px solid var(--bs-border-color)}
.yw-related__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.yw-related__head h2{margin:0;font-size:14px;font-weight:900;text-transform:uppercase}
.yw-related__head a{color:var(--bs-primary)!important;font-size:11px;font-weight:800;text-transform:uppercase}
.yw-related__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px}
.yw-related__card{min-width:0}
.yw-related__thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#111}
.yw-related__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.yw-related__card h3{margin:8px 0 4px;font-size:11px;font-weight:800;line-height:1.4;text-transform:uppercase}
.yw-related__card small{display:block;color:var(--bs-secondary-color);font-size:10px}
@media(max-width:1050px){.yw-layout{grid-template-columns:1fr}.yw-side{padding-left:0;border-left:0;border-top:1px solid var(--bs-border-color);padding-top:22px}}@media(max-width:1050px){.yw-related__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.yw-meta{flex-direction:column}.yw-lower{grid-template-columns:1fr}.yw-desc{padding-right:0;border-right:0}.yw-related__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.yw-related__grid{grid-template-columns:1fr}}

body:has(.youtube-overview) .nx-page-head--route,
body:has(.youtube-watch-detail) .nx-page-head--route {
    display: none !important;
}

/* Source: widget_youtube_content.php */
.nx-youtube-widget{
    width:100%;
    color:var(--bs-body-color);
    background:var(--bs-body-bg);
}
.nx-youtube-widget *{box-sizing:border-box}
.nx-youtube-widget__inner{
    width:min(100% - 28px,1180px);
    margin-inline:auto;
}
.nx-youtube-widget__title{
    width:max-content;
    max-width:100%;
    margin:0 0 16px;
    padding-bottom:7px;
    border-bottom:2px solid var(--bs-primary);
    font-size:18px;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
    cursor:pointer;
}
.nx-youtube-widget__latest{
    padding:16px 0 18px;
}
.nx-youtube-widget__latest-grid{
    display:grid;
    grid-template-columns:minmax(0,2.15fr) minmax(230px,.75fr);
    gap:54px;
    align-items:stretch;
}
.nx-youtube-widget__featured{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(250px,.85fr);
    gap:24px;
    align-items:center;
}
.nx-youtube-widget__thumb{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:8px;
    background:#111;
    aspect-ratio:16/9;
}
.nx-youtube-widget__thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.nx-youtube-widget__play{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:grid;
    place-items:center;
    width:72px;
    height:54px;
    border-radius:14px;
    color:var(--bs-body-color);
    background:rgba(255,255,255,.9);
    font-size:25px;
    text-decoration:none;
}
.nx-youtube-widget__copy h3{
    margin:0 0 10px;
    font-size:29px;
    line-height:1.15;
    font-weight:400;
}
.nx-youtube-widget__copy p{
    margin:0 0 16px;
    font-size:15px;
    line-height:1.55;
}
.nx-youtube-widget__quick{
    padding:18px;
    border:1px solid var(--bs-border-color);
    border-radius:5px;
    background:var(--bs-body-bg);
}
.nx-youtube-widget__quick h3{
    margin:0 0 10px;
    font-size:27px;
    font-weight:400;
}
.nx-youtube-widget__quick a{
    display:block;
    padding:10px 0;
    border-bottom:1px solid var(--bs-border-color);
    color:var(--bs-body-color);
    font-size:13px;
    text-decoration:none;
}
.nx-youtube-widget__quick a:last-child{color:var(--bs-primary)}
.nx-youtube-widget__videos{
    padding:14px 0 22px;
    border-top:1px solid var(--bs-border-color);
}
.nx-youtube-widget__head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
}
.nx-youtube-widget__head h2{
    margin:0;
    font-size:18px;
    font-weight:900;
    text-transform:uppercase;
}
.nx-youtube-widget__all{
    color:var(--bs-primary);
    font-size:11px;
    font-weight:900;
    text-decoration:none;
    text-transform:uppercase;
}
.nx-youtube-widget__filters{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:14px 0;
}
.nx-youtube-widget__filter{
    padding:7px 15px;
    border:1px solid var(--bs-border-color);
    border-radius:4px;
    background:var(--bs-body-bg);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}
.nx-youtube-widget__filter.is-active{
    color:#fff;
    border-color:var(--bs-primary);
    background:var(--bs-primary);
}
.nx-youtube-widget__grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}
.nx-youtube-widget__card a{
    color:inherit;
    text-decoration:none;
}
.nx-youtube-widget__card-thumb{
    position:relative;
    overflow:hidden;
    border-radius:4px;
    aspect-ratio:16/9;
    background:#111;
}
.nx-youtube-widget__card-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.nx-youtube-widget__duration{
    position:absolute;
    right:4px;
    bottom:4px;
    padding:2px 4px;
    color:#fff;
    background:rgba(0,0,0,.85);
    font-size:9px;
}
.nx-youtube-widget__card h3{
    margin:7px 0 3px;
    font-size:11px;
    line-height:1.25;
    font-weight:900;
    text-transform:uppercase;
}
.nx-youtube-widget__meta{
    margin:0;
    color:var(--bs-secondary-color);
    font-size:10px;
}
.nx-youtube-widget__empty{
    padding:24px;
    border:1px dashed var(--bs-border-color);
    border-radius:6px;
    color:var(--bs-secondary-color);
    text-align:center;
}
@media(max-width:991.98px){
    .nx-youtube-widget__latest-grid{grid-template-columns:1fr}
    .nx-youtube-widget__featured{grid-template-columns:1fr}
    .nx-youtube-widget__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:575.98px){
    .nx-youtube-widget__inner{width:min(100% - 20px,1180px)}
    .nx-youtube-widget__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .nx-youtube-widget__copy h3{font-size:24px}
}

/* Source: admin\admin_youtube.php */
.cursor-move {
    cursor: grab;
}
.sortable-ghost {
    opacity: 0.5;
}

.youtube-watch-badge {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem .75rem;
    color: var(--bs-light);
    background: rgba(0, 0, 0, .72);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--bs-border-radius-pill);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.youtube-watch-badge:hover,
.youtube-watch-badge:focus {
    color: var(--bs-light);
    background: rgba(0, 0, 0, .82);
}

.youtube-watch-badge__icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
