/*
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: https://wpastra.com/about/
Description: Astra child theme customized for VEDey.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
    --vedey-bg: #070707;
    --vedey-surface: #111111;
    --vedey-surface-2: #181818;
    --vedey-red: #e50914;
    --vedey-red-dark: #9f060d;
    --vedey-white: #ffffff;
    --vedey-muted: #a7a7a7;
    --vedey-border: rgba(255,255,255,.08);
}

body {
    background: var(--vedey-bg);
    color: var(--vedey-white);
}

body.home,
body.home .site {
    background: var(--vedey-bg);
}

body.home .site-content,
body.home .ast-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.home .site-content {
    margin: 0;
}

.vedey-home {
    background: var(--vedey-bg);
    color: var(--vedey-white);
    overflow: hidden;
}

.vedey-container {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}

.vedey-hero {
    min-height: 650px;
    display: flex;
    align-items: flex-end;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 76% 35%, rgba(229,9,20,.34), transparent 28%),
        radial-gradient(circle at 62% 15%, rgba(255,255,255,.08), transparent 24%),
        linear-gradient(90deg, #050505 0%, rgba(5,5,5,.92) 30%, rgba(5,5,5,.38) 67%, #050505 100%),
        linear-gradient(180deg, #191919 0%, #080808 100%);
}

.vedey-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg, #070707 0%, transparent 30%),
        linear-gradient(90deg, transparent 55%, rgba(229,9,20,.08) 100%);
}

.vedey-hero-inner {
    padding: 110px 0 82px;
    max-width: 720px;
}

.vedey-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.vedey-kicker:before {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--vedey-red);
    border-radius: 3px;
}

.vedey-hero h1 {
    color: #fff;
    font-size: clamp(44px, 6vw, 82px);
    line-height: .95;
    letter-spacing: -.045em;
    margin: 0 0 22px;
}

.vedey-hero h1 span {
    color: var(--vedey-red);
}

.vedey-hero-copy {
    color: #c8c8c8;
    font-size: 17px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 0 28px;
}

.vedey-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.vedey-meta span {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
    padding: 7px 11px;
    border-radius: 5px;
    color: #ddd;
    font-size: 12px;
    font-weight: 700;
}

.vedey-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vedey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.vedey-btn:hover {
    transform: translateY(-2px);
}

.vedey-btn-primary {
    background: var(--vedey-red);
    color: #fff !important;
}

.vedey-btn-primary:hover {
    background: #ff1824;
}

.vedey-btn-secondary {
    color: #fff !important;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
}

.vedey-section {
    padding: 34px 0 0;
}

.vedey-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 17px;
}

.vedey-section-title {
    margin: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.vedey-section-title:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--vedey-red);
    vertical-align: -3px;
    margin-right: 10px;
    border-radius: 4px;
}

.vedey-view-all {
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}

.vedey-view-all:hover {
    color: #fff !important;
}

.vedey-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.vedey-card {
    min-width: 0;
}

.vedey-poster {
    aspect-ratio: 2 / 3;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 70% 20%, rgba(229,9,20,.55), transparent 26%),
        linear-gradient(145deg, #242424, #080808 68%);
    border: 1px solid var(--vedey-border);
    box-shadow: 0 9px 28px rgba(0,0,0,.25);
}

.vedey-poster:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.88) 100%);
}

.vedey-poster--two {
    background: radial-gradient(circle at 30% 20%, rgba(170,170,170,.25), transparent 24%), linear-gradient(145deg, #4c1114, #080808 72%);
}

.vedey-poster--three {
    background: radial-gradient(circle at 70% 40%, rgba(229,9,20,.42), transparent 30%), linear-gradient(145deg, #171717, #51080d 70%);
}

.vedey-poster--four {
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.13), transparent 26%), linear-gradient(145deg, #292929, #090909 75%);
}

.vedey-poster--five {
    background: radial-gradient(circle at 30% 65%, rgba(229,9,20,.34), transparent 25%), linear-gradient(145deg, #0e1720, #070707 75%);
}

.vedey-poster--six {
    background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.12), transparent 20%), linear-gradient(145deg, #2d0e0e, #070707 70%);
}

.vedey-poster-content {
    position: absolute;
    inset: auto 13px 14px;
    z-index: 2;
}

.vedey-poster-content strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1.08;
}

.vedey-poster-content small {
    display: block;
    color: #aaa;
    margin-top: 5px;
    font-size: 11px;
}

.vedey-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    padding: 5px 7px;
    border-radius: 4px;
    background: var(--vedey-red);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.vedey-card-title {
    margin: 9px 0 0;
    color: #eee;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.vedey-card-meta {
    margin-top: 4px;
    color: #777;
    font-size: 11px;
}

.vedey-year-link {
    color: #e50914 !important;
    text-decoration: none;
}

.vedey-year-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.vedey-ad-space {
    margin-top: 38px;
    min-height: 90px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f4f4f;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vedey-home-bottom {
    padding-bottom: 80px;
}

@media (max-width: 1100px) {
    .vedey-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vedey-hero { min-height: 590px; }
}

@media (max-width: 700px) {
    .vedey-container { width: min(100% - 28px, 1400px); }
    .vedey-hero { min-height: 600px; }
    .vedey-hero-inner { padding: 100px 0 58px; }
    .vedey-hero-copy { font-size: 15px; }
    .vedey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .vedey-section { padding-top: 28px; }
    .vedey-section-title { font-size: 21px; }
    .vedey-section-header { margin-bottom: 13px; }
    .vedey-ad-space { min-height: 70px; }
}

@media (max-width: 420px) {
    .vedey-hero h1 { font-size: 43px; }
    .vedey-btn { width: 100%; }
}


/* VEDey full-width homepage override */
body.home,
body.home #page,
body.home .site,
body.home .site-content,
body.home .content-area,
body.home .ast-container,
body.home .ast-row,
body.home .entry-content {
    width: 100%;
    max-width: none !important;
}

body.home .site-content,
body.home .content-area,
body.home .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.home .ast-container {
    display: block;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.home .entry-header,
body.home .ast-page-builder-template .entry-header {
    display: none;
}

body.home .site-main {
    margin: 0 !important;
}

.vedey-hero {
    width: 100%;
}

.vedey-home .vedey-container {
    box-sizing: border-box;
}

.vedey-poster-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.vedey-poster:has(.vedey-poster-image) {
    background: #111;
}

.vedey-empty {
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: 7px;
    padding: 28px;
    color: #888;
    font-size: 13px;
}

.vedey-empty strong {
    color: #ccc;
}

.vedey-card a {
    text-decoration: none !important;
}

.vedey-movie-detail {
    display: grid;
    grid-template-columns: minmax(220px, 330px) 1fr;
    gap: 42px;
    padding-top: 70px;
    max-width: 1050px;
    margin: 0 auto;
}

.vedey-detail-poster {
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #151515;
}

.vedey-detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vedey-detail-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--vedey-red);
    font-size: 44px;
    font-weight: 900;
}

.vedey-detail-copy h1 {
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    margin: 0 0 22px;
}

.vedey-detail-description {
    color: #aaa;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 28px;
}

.vedey-no-video {
    color: #888;
}

@media (max-width: 700px) {
    .vedey-movie-detail {
        grid-template-columns: 1fr;
        padding-top: 38px;
    }

    .vedey-detail-poster {
        max-width: 280px;
    }
}

.vedey-show-heading {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 40px;
    padding-top: 70px;
    max-width: 1050px;
    margin: 0 auto;
}

.vedey-episodes {
    max-width: 1050px;
    margin: 0 auto;
    padding-top: 50px;
}

.vedey-season {
    margin-bottom: 34px;
}

.vedey-season h3 {
    color: #fff;
    font-size: 21px;
    margin: 0 0 12px;
}

.vedey-episode-list {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    overflow: hidden;
    background: #0d0d0d;
}

.vedey-episode {
    display: grid;
    grid-template-columns: 54px 1fr 44px;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 9px 14px;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .18s ease;
}

.vedey-episode:last-child {
    border-bottom: 0;
}

.vedey-episode:hover {
    background: #171717;
}

.vedey-episode-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #181818;
    color: #999;
    font-weight: 800;
}

.vedey-episode-info strong {
    display: block;
    color: #eee;
    font-size: 14px;
}

.vedey-episode-info small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 11px;
}

.vedey-episode-play {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vedey-red);
    color: #fff;
    font-size: 11px;
}

.vedey-back {
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 13px;
}

.vedey-back:hover {
    color: #fff !important;
}

.vedey-watch-top {
    padding-top: 35px;
}

.vedey-episode-heading {
    padding: 50px 0 25px;
    max-width: 1050px;
    margin: 0 auto;
}

.vedey-episode-heading h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    margin: 0 0 20px;
}

.vedey-episode-player {
    min-height: 170px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #0d0d0d;
    display: grid;
    place-items: center;
    max-width: 1050px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .vedey-show-heading {
        grid-template-columns: 1fr;
        padding-top: 38px;
    }

    .vedey-episodes {
        padding-top: 35px;
    }

    .vedey-detail-poster {
        max-width: 260px;
    }

    .vedey-episode {
        grid-template-columns: 44px 1fr 38px;
        padding: 8px 10px;
    }

    .vedey-episode-number {
        width: 36px;
        height: 36px;
    }
}


/* VEDey direct movie/TV embed pages */
.vedey-player-page{min-height:100vh;background:#070707;color:#fff;padding:40px 20px 70px}
.vedey-player-wrap{width:min(1100px,100%);margin:0 auto}
.vedey-player-heading{margin-bottom:18px}
.vedey-player-heading h1{margin:8px 0 4px;color:#fff;font-size:clamp(24px,3vw,38px)}
.vedey-back{color:#e50914;text-decoration:none;font-weight:700}
.vedey-player-meta{color:#aaa;font-size:14px}
.vedey-embed-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border:1px solid #222;border-radius:8px;overflow:hidden;box-shadow:0 15px 50px rgba(0,0,0,.45)}
.vedey-embed-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.vedey-player-error{padding:40px;background:#111;border:1px solid #292929;border-radius:8px}
.vedey-player-error h2{margin-top:0;color:#fff}
.vedey-player-error p{color:#bbb}

/* VEDey dedicated movie / TV player pages */
body.single-vedey_movie, body.single-vedey_episode {
  background:#070707 !important;
}
body.single-vedey_movie #page, body.single-vedey_episode #page,
body.single-vedey_movie .site-content, body.single-vedey_episode .site-content,
body.single-vedey_movie .content-area, body.single-vedey_episode .content-area,
body.single-vedey_movie .site-main, body.single-vedey_episode .site-main {
  background:#070707 !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
.vedey-player-page {
  min-height:100vh;
  background:#070707;
  color:#fff;
  padding:42px 24px 70px;
}
.vedey-player-wrap {
  width:min(92vw, 1200px);
  margin:0 auto;
}
.vedey-player-title {
  margin:0 0 22px;
  color:#fff;
  font-size:clamp(22px,3vw,34px);
  font-weight:700;
  line-height:1.2;
}
.vedey-embed-shell {
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  background:#000;
  border:1px solid #252525;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 12px 45px rgba(0,0,0,.55);
}
.vedey-embed-shell iframe {
  position:absolute;
  inset:0;
  display:block;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  border:0 !important;
}
@media (max-width:700px){
  .vedey-player-page{padding:24px 12px 45px}
  .vedey-player-wrap{width:100%}
  .vedey-player-title{margin-bottom:14px}
  .vedey-embed-shell{border-radius:4px}
}

/* Featured movie hero with the movie's actual poster/artwork */
.vedey-hero-featured {
    min-height: 680px;
    overflow: hidden;
    background: #070707;
}

.vedey-hero-featured .vedey-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.035);
    filter: saturate(.92);
}

.vedey-hero-featured .vedey-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.90) 28%, rgba(5,5,5,.55) 55%, rgba(5,5,5,.22) 78%, rgba(5,5,5,.48) 100%),
        linear-gradient(0deg, #070707 0%, rgba(7,7,7,.20) 32%, rgba(7,7,7,.10) 70%, rgba(7,7,7,.42) 100%);
}

.vedey-hero-featured .vedey-hero-inner {
    position: relative;
    z-index: 2;
    padding: 125px 0 92px;
    max-width: 680px;
}

.vedey-hero-featured h1 {
    max-width: 680px;
    text-shadow: 0 3px 22px rgba(0,0,0,.65);
}

.vedey-hero-featured .vedey-hero-copy {
    text-shadow: 0 2px 12px rgba(0,0,0,.65);
}

@media (max-width: 700px) {
    .vedey-hero-featured {
        min-height: 600px;
    }

    .vedey-hero-featured .vedey-hero-backdrop {
        background-position: center top;
    }

    .vedey-hero-featured .vedey-hero-overlay {
        background:
            linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.55)),
            linear-gradient(0deg, #070707 3%, rgba(7,7,7,.18) 65%, rgba(7,7,7,.55) 100%);
    }

    .vedey-hero-featured .vedey-hero-inner {
        padding: 100px 0 60px;
    }
}

/* VEDey genre archives and dynamic Genres menu */
body.tax-vedey_genre,
body.tax-vedey_genre #page,
body.tax-vedey_genre .site-content,
body.tax-vedey_genre .content-area,
body.tax-vedey_genre .site-main {
    background: #070707 !important;
    color: #fff;
}

.vedey-archive-page {
    min-height: 100vh;
    background: #070707;
    color: #fff;
    padding: 55px 20px 80px;
}

.vedey-archive-header {
    margin: 0 0 32px;
}

.vedey-archive-header h1 {
    margin: 5px 0 8px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
}

.vedey-archive-header p {
    margin: 0;
    max-width: 700px;
    color: #aaa;
}

.vedey-genre-grid {
    margin-bottom: 40px;
}

.vedey-pagination {
    margin-top: 35px;
}

.vedey-pagination ul {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vedey-pagination a,
.vedey-pagination span {
    display: inline-block;
    padding: 9px 13px;
    border: 1px solid #292929;
    border-radius: 5px;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.vedey-pagination .current {
    background: #e50914;
    border-color: #e50914;
}

/* Dynamic Genres dropdown in the existing Astra primary menu */
.vedey-dynamic-genres-menu > a {
    cursor: pointer;
}

.vedey-dynamic-genres-menu .sub-menu {
    min-width: 190px;
}

.vedey-dynamic-genres-menu .sub-menu a:hover,
.vedey-dynamic-genres-menu .sub-menu .current-menu-item > a {
    color: #e50914 !important;
}

@media (max-width: 700px) {
    .vedey-archive-page {
        padding: 35px 12px 55px;
    }
}

.vedey-genre-link {
    color: #bbb;
    text-decoration: none;
}
.vedey-genre-link:hover {
    color: #e50914;
}

/* Standalone VEDey menu: separate from Astra's primary menu. */
.vedey-standalone-nav {
    width: 100%;
    background: #070707;
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
    position: relative;
    z-index: 20;
}

.vedey-standalone-nav-inner {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}

.vedey-standalone-menu,
.vedey-standalone-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vedey-standalone-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vedey-standalone-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.vedey-menu-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex: 0 1 340px;
    min-width: 220px;
    height: 38px;
    border: 1px solid #292929;
    border-radius: 5px;
    overflow: hidden;
    background: #111;
}

.vedey-menu-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #111 !important;
    color: #fff !important;
    padding: 0 12px;
    font-size: 13px;
}

.vedey-menu-search input::placeholder {
    color: #888;
}

.vedey-menu-search button {
    width: 42px;
    height: 100%;
    border: 0;
    border-left: 1px solid #292929;
    border-radius: 0;
    background: #e50914;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.vedey-menu-search button:hover {
    background: #b80710;
}

.vedey-standalone-menu > li {
    position: relative;
}

.vedey-standalone-menu a {
    display: block;
    padding: 14px 15px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
}

.vedey-standalone-menu a:hover,
.vedey-standalone-menu .current-menu-item > a,
.vedey-standalone-menu .current-menu-ancestor > a {
    color: #fff !important;
    background: #151515;
}

.vedey-standalone-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #101010;
    border: 1px solid #262626;
    box-shadow: 0 14px 30px rgba(0,0,0,.5);
}

.vedey-standalone-menu li:hover > .sub-menu,
.vedey-standalone-menu li:focus-within > .sub-menu {
    display: block;
}

.vedey-standalone-menu .sub-menu a {
    padding: 11px 14px;
    border-bottom: 1px solid #1e1e1e;
}

.vedey-meta-link {
    display: inline-flex;
    align-items: center;
    color: #ddd !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
    padding: 7px 11px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.vedey-meta-link:hover {
    color: #fff !important;
    background: rgba(229,9,20,.18);
    border-color: rgba(229,9,20,.55);
}

@media (max-width: 700px) {
    .vedey-standalone-nav-inner {
        width: calc(100% - 20px);
        flex-wrap: wrap;
        padding: 7px 0 9px;
    }
    .vedey-standalone-menu {
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }
    .vedey-menu-search {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }
}

/* Homepage click fix: the hero must never capture clicks intended for the standalone menu. */
body.home .site-header {
    position: relative;
    z-index: 10000;
}

body.home .vedey-standalone-nav {
    position: relative;
    z-index: 10001;
    pointer-events: auto !important;
}

body.home .vedey-standalone-nav a,
body.home .vedey-standalone-nav button {
    pointer-events: auto !important;
}

body.home .vedey-hero {
    pointer-events: none;
}

body.home .vedey-hero-inner,
body.home .vedey-hero-inner a,
body.home .vedey-hero-inner button {
    pointer-events: auto;
}


/* Homepage structural menu fix: the menu lives inside the homepage content, directly before the hero. */
body.home .vedey-home > .vedey-standalone-nav {
    position: relative;
    z-index: 100;
    width: 100%;
    clear: both;
}

body.home .vedey-home > .vedey-standalone-nav .vedey-standalone-nav-inner {
    position: relative;
    z-index: 101;
}

body.home .vedey-home > .vedey-hero {
    position: relative;
    z-index: 1;
}

/* VidSrc Back to Top button */
#ast-scroll-top,
.ast-scroll-top {
    background-color: #e50914 !important;
    color: #ffffff !important;
    border-color: #e50914 !important;
}

#ast-scroll-top:hover,
.ast-scroll-top:hover {
    background-color: #ffffff !important;
    color: #e50914 !important;
    border-color: #ffffff !important;
}

#ast-scroll-top svg,
.ast-scroll-top svg {
    fill: currentColor !important;
}

/* VidSrc editable bottom advertisement area */
.vidsrc-bottom-ad {
    width: 100%;
    margin: 28px auto 10px;
    padding: 12px 0;
    text-align: center;
    overflow: hidden;
}

.vidsrc-bottom-ad iframe,
.vidsrc-bottom-ad img,
.vidsrc-bottom-ad video {
    max-width: 100%;
}

/* ===== VidSrc Genres landing page: full black + two poster panels ===== */
body.page-template-page-genres,
body.page-template-page-genres #page,
body.page-template-page-genres #content,
body.page-template-page-genres .site-content,
body.page-template-page-genres .content-area,
body.page-template-page-genres .site-main,
body.page-template-page-genres .ast-container {
    background: #050505 !important;
}

body.page-template-page-genres .entry-header,
body.page-template-page-genres .page-title {
    display: none !important;
}

body.page-template-page-genres .site-content {
    padding: 0 !important;
}

body.page-template-page-genres .ast-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.vidsrc-genres-page {
    min-height: 760px;
    box-sizing: border-box;
    padding: 52px 20px 82px;
    background: #050505;
    color: #fff;
}

.vidsrc-genres-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.vidsrc-genres-header {
    text-align: center;
    margin: 0 auto 38px;
}

.vidsrc-genres-kicker {
    color: #e50914;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.vidsrc-genres-header h1 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1;
    font-weight: 900;
}

.vidsrc-genres-header p {
    margin: 12px 0 0;
    color: #888;
    font-size: 14px;
}

.vidsrc-genre-posters {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 370px));
    justify-content: center;
    gap: 46px;
}

.vidsrc-genre-poster {
    position: relative;
    min-height: 620px;
    aspect-ratio: 0.64;
    box-sizing: border-box;
    padding: 24px 23px 20px;
    overflow: hidden;
    border: 1px solid #343434;
    border-radius: 3px;
    background:
        radial-gradient(circle at 50% 15%, rgba(229,9,20,.10), transparent 34%),
        linear-gradient(180deg, #181818 0%, #0d0d0d 42%, #080808 100%);
    box-shadow: 0 22px 55px rgba(0,0,0,.58), inset 0 0 0 1px rgba(255,255,255,.025);
    display: flex;
    flex-direction: column;
}

.vidsrc-genre-poster::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(229,9,20,.16);
    pointer-events: none;
}

.vidsrc-poster-brand {
    position: relative;
    z-index: 1;
    color: #e50914;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.vidsrc-genre-poster-top {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #303030;
}

.vidsrc-genre-poster-kicker {
    display: block;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 6px;
}

.vidsrc-genre-poster h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
}

.vidsrc-tag-cloud {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    display: flex;
    align-content: center;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px 15px;
    padding: 28px 3px;
    overflow: hidden;
}

.vidsrc-tag-cloud a {
    color: #ddd !important;
    text-decoration: none !important;
    line-height: 1.05;
    font-weight: 800;
    transition: color .15s ease, transform .15s ease;
}

.vidsrc-tag-cloud a:hover,
.vidsrc-tag-cloud a:focus {
    color: #e50914 !important;
    transform: translateY(-1px);
}

.vidsrc-genre-poster-footer {
    position: relative;
    z-index: 1;
    padding-top: 15px;
    border-top: 1px solid #303030;
    color: #666;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 9px;
    font-weight: 900;
}

/* Genres is one ordinary menu link: no submenu can be displayed. */
.vedey-standalone-menu > li.menu-item-has-children > .sub-menu,
.vedey-standalone-menu .menu-item-has-children > .sub-menu {
    display: none !important;
}

@media (max-width: 760px) {
    .vidsrc-genres-page {
        padding: 32px 14px 55px;
    }

    .vidsrc-genre-posters {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .vidsrc-genre-poster {
        width: min(100%, 370px);
        margin: 0 auto;
        min-height: 0;
        aspect-ratio: 0.68;
    }
}

/* VidSrc Genres landing page — dedicated black poster layout. */
body.page-template-page-genres,
body.page-template-page-genres #page,
body.page-template-page-genres #content,
body.page-template-page-genres .site-content,
body.page-template-page-genres .content-area,
body.page-template-page-genres .site-main,
body.page-template-page-genres .ast-container { background:#050505 !important; }
body.page-template-page-genres .entry-header,
body.page-template-page-genres .page-title { display:none !important; }
body.page-template-page-genres .site-content { padding:0 !important; }
body.page-template-page-genres .ast-container { max-width:none !important; padding-left:0 !important; padding-right:0 !important; }
.vidsrc-genres-page { min-height:760px; box-sizing:border-box; padding:50px 20px 80px; background:#050505; color:#fff; }
.vidsrc-genres-container { width:min(1120px,100%); margin:0 auto; }
.vidsrc-genres-header { text-align:center; margin:0 auto 38px; }
.vidsrc-genres-kicker { color:#e50914; text-transform:uppercase; letter-spacing:2.5px; font-size:11px; font-weight:900; margin-bottom:8px; }
.vidsrc-genres-header h1 { margin:0; color:#fff !important; font-size:clamp(34px,5vw,52px); line-height:1; font-weight:900; }
.vidsrc-genres-header p { margin:12px 0 0; color:#888; font-size:14px; }
.vidsrc-genre-posters { display:grid; grid-template-columns:repeat(2,minmax(300px,370px)); justify-content:center; gap:46px; }
.vidsrc-genre-poster { position:relative; min-height:620px; aspect-ratio:.64; box-sizing:border-box; padding:24px 23px 20px; overflow:hidden; border:1px solid #343434; border-radius:3px; background:radial-gradient(circle at 50% 15%,rgba(229,9,20,.10),transparent 34%),linear-gradient(180deg,#181818 0%,#0d0d0d 42%,#080808 100%); box-shadow:0 22px 55px rgba(0,0,0,.58),inset 0 0 0 1px rgba(255,255,255,.025); display:flex; flex-direction:column; }
.vidsrc-genre-poster::after { content:''; position:absolute; inset:8px; border:1px solid rgba(229,9,20,.16); pointer-events:none; }
.vidsrc-poster-brand { position:relative; z-index:1; color:#e50914; text-align:center; font-size:11px; font-weight:900; letter-spacing:4px; margin-bottom:30px; }
.vidsrc-genre-poster-top { position:relative; z-index:1; text-align:center; padding-bottom:18px; border-bottom:1px solid #303030; }
.vidsrc-genre-poster-kicker { display:block; color:#aaa; text-transform:uppercase; letter-spacing:2px; font-size:10px; font-weight:900; margin-bottom:6px; }
.vidsrc-genre-poster h2 { margin:0 !important; color:#fff !important; font-size:25px; line-height:1.1; font-weight:900; }
.vidsrc-tag-cloud { position:relative; z-index:1; flex:1; min-height:0; display:flex; align-content:center; align-items:baseline; justify-content:center; flex-wrap:wrap; gap:9px 15px; padding:28px 3px; overflow:hidden; }
.vidsrc-tag-cloud a { color:#ddd !important; text-decoration:none !important; line-height:1.05; font-weight:800; transition:color .15s ease,transform .15s ease; }
.vidsrc-tag-cloud a:hover,.vidsrc-tag-cloud a:focus { color:#e50914 !important; transform:translateY(-1px); }
.vidsrc-genre-poster-footer { position:relative; z-index:1; padding-top:15px; border-top:1px solid #303030; color:#666; text-align:center; text-transform:uppercase; letter-spacing:2px; font-size:9px; font-weight:900; }
/* Even if stale menu child items exist, never display a Genres submenu. */
.vedey-standalone-menu > li.menu-item-has-children > .sub-menu,.vedey-standalone-menu .menu-item-has-children > .sub-menu { display:none !important; }
@media(max-width:760px){ .vidsrc-genres-page{padding:32px 14px 55px;} .vidsrc-genre-posters{grid-template-columns:minmax(0,1fr);gap:24px;} .vidsrc-genre-poster{width:min(100%,370px);margin:0 auto;min-height:0;aspect-ratio:.68;} }


/* Genres page final responsive + card click fixes */
.vedey-card-link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}
.vedey-card-link:hover .vedey-card-title {
    color: #fff;
}
body.page-template-page-genres #content > .ast-container,
body.page-template-page-genres .site-content > .ast-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}
body.page-template-page-genres .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.vidsrc-genre-posters {
    width: min(786px, 100%);
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: repeat(2, minmax(0, 370px));
}
@media (max-width: 760px) {
    body.page-template-page-genres #content,
    body.page-template-page-genres .site-content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #050505 !important;
    }
    body.page-template-page-genres #page {
        background: #050505 !important;
    }
    .vidsrc-genres-page {
        width: 100% !important;
        min-height: 100vh;
        padding: 32px 14px 55px !important;
        box-sizing: border-box;
    }
    .vidsrc-genres-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .vidsrc-genre-posters {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        margin: 0 auto !important;
    }
    .vidsrc-genre-poster {
        width: min(100%, 370px) !important;
        margin: 0 auto !important;
        min-height: 560px !important;
        aspect-ratio: .68 !important;
    }
}
