.vds-detail-page {
    --vds-detail-accent: #58d26a;
    --vds-detail-text: #171717;
    --vds-detail-muted: #6d6d6d;
    --vds-detail-surface: #f6f6f6;
    --vds-detail-radius: 18px;
    color: var(--vds-detail-text);
}

.vds-detail-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.vds-detail-article {
    padding: 48px 0 0;
}

.vds-detail-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--vds-detail-radius);
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(0,0,0,.13);
}

.vds-detail-player,
.vds-detail-fallback-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.vds-detail-fallback-image { object-fit: cover; }

.vds-detail-empty-player {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #fff;
    text-align: center;
}

.vds-detail-header {
    padding-top: 28px;
}

.vds-detail-category,
.vds-related-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--vds-detail-accent);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    border-radius: 999px;
    padding: 8px 14px;
}

.vds-detail-title {
    margin: 14px 0 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.07;
    letter-spacing: -.025em;
}

.vds-detail-description {
    max-width: 850px;
    margin-top: 22px;
    color: var(--vds-detail-muted);
    font-size: 18px;
    line-height: 1.75;
}

.vds-detail-description > *:first-child { margin-top: 0; }
.vds-detail-description > *:last-child { margin-bottom: 0; }

.vds-more-videos {
    margin-top: 56px;
    padding: 48px 0 64px;
    background: var(--vds-detail-surface);
    overflow: hidden;
}

.vds-more-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.vds-more-eyebrow {
    color: var(--vds-detail-accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.vds-more-title {
    margin: 4px 0 0;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.1;
}

.vds-related-navigation {
    display: flex;
    gap: 10px;
}

.vds-related-prev,
.vds-related-next {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
}

.vds-related-prev:disabled,
.vds-related-next:disabled {
    opacity: .35;
    cursor: default;
}

.vds-related-swiper {
    overflow: hidden;
}

.vds-related-card,
.vds-related-card-link {
    height: 100%;
}

.vds-related-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.vds-related-media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    background: #111;
}

.vds-related-media video,
.vds-related-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.vds-related-card-link:hover .vds-related-media video,
.vds-related-card-link:hover .vds-related-media img {
    transform: scale(1.05);
    filter: brightness(.78);
}

.vds-related-category {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    pointer-events: none;
}

.vds-related-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 36px;
    text-shadow: 0 2px 18px rgba(0,0,0,.5);
    pointer-events: none;
}

.vds-related-title {
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .vds-detail-shell {
        width: min(100% - 24px, 1180px);
    }

    .vds-detail-article {
        padding-top: 20px;
    }

    .vds-detail-player-wrap {
        border-radius: 12px;
    }

    .vds-detail-header {
        padding-top: 20px;
    }

    .vds-detail-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .vds-more-videos {
        margin-top: 38px;
        padding: 36px 0 46px;
    }

    .vds-more-heading-row {
        align-items: center;
    }

    .vds-related-prev,
    .vds-related-next {
        width: 38px;
        height: 38px;
    }
}

/* v1.4 editorial typography, directory and free-access gate */
.vds-detail-page,.vds-category-page,.vds-directory{font-family:Arial,Helvetica,sans-serif;}
.vds-detail-title,.vds-more-title,.vds-category-header h1,.vds-directory-card h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.025em;}
.vds-category-page{padding:44px 0 72px;background:#f4f4f4;color:#111;}
.vds-category-header{padding:10px 0 30px;border-bottom:1px solid #aaa;margin-bottom:28px;}
.vds-category-header h1{font-size:clamp(38px,6vw,68px);margin:0 0 8px;}
.vds-directory-tools{display:flex;gap:12px;align-items:center;margin-bottom:16px;}
.vds-search{height:50px;flex:1;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d2d2d2;border-radius:999px;padding:0 18px;font-size:24px;}
.vds-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:16px;padding:0!important;}
.vds-filter-toggle{display:none;border:1px solid #ccc;background:#fff;border-radius:999px;padding:13px 18px;}
.vds-topic-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;}
.vds-topic-chips button{border:1px solid #c8c8c8;background:#fff;border-radius:999px;padding:9px 15px;cursor:pointer;}
.vds-topic-chips button.is-active{background:#111;color:#fff;border-color:#111;}
.vds-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 12px;}
.vds-directory-card a{color:inherit;text-decoration:none;display:block;}
.vds-directory-media{position:relative;aspect-ratio:16/9;background:#ddd;border-radius:10px;overflow:hidden;}
.vds-directory-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .65s cubic-bezier(.22,.61,.36,1);}
.vds-directory-card:hover img{transform:scale(1.035);}
.vds-directory-media span{position:absolute;right:10px;top:10px;background:#16b9ef;color:#fff;border-radius:6px;padding:7px 11px;font-size:12px;font-weight:700;}
.vds-directory-card h3{font-size:clamp(20px,2.4vw,30px);line-height:1.25;margin:10px 0 0;}
.vds-no-results{padding:30px 0;color:#666;}
.vds-gate{height:100%;min-height:420px;background:#111 center/cover no-repeat;color:#fff;display:grid;place-items:center;padding:28px;}
.vds-gate-inner{width:min(620px,100%);background:rgba(0,0,0,.58);backdrop-filter:blur(8px);padding:28px;border-radius:18px;}
.vds-gate-kicker{text-transform:uppercase;font-size:12px;letter-spacing:.12em;font-weight:700;}.vds-gate h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,4vw,44px);margin:8px 0;}.vds-gate p{color:#eee;}
.vds-subscribe-form{display:grid;gap:12px;margin-top:18px}.vds-name-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vds-subscribe-form label{display:grid;gap:6px;font-size:13px}.vds-subscribe-form input:not([type=checkbox]){width:100%;border:1px solid rgba(255,255,255,.35);border-radius:8px;padding:12px;background:#fff;color:#111}.vds-consent{grid-template-columns:auto 1fr!important;align-items:start}.vds-subscribe-form button{border:0;border-radius:999px;background:#fff;color:#111;font-weight:700;padding:13px 18px;cursor:pointer}.vds-form-error{color:#ffd1d1!important;font-weight:700}
@media(max-width:767px){.vds-category-page{padding-top:24px}.vds-directory-tools{position:sticky;top:0;z-index:20;background:#f4f4f4;padding:8px 0}.vds-filter-toggle{display:block}.vds-topic-chips{display:none;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.vds-topic-chips.is-open{display:flex}.vds-directory-grid{gap:32px 9px}.vds-directory-card h3{font-size:18px;line-height:1.3}.vds-directory-media{border-radius:7px}.vds-name-row{grid-template-columns:1fr}.vds-gate{min-height:520px;padding:14px}.vds-gate-inner{padding:20px}.vds-search{height:46px}}


/* v1.4.1 refinements */
.vds-gate-kicker,
.vds-gate h2,
.vds-gate p { color:#E24A39; }
.vds-gate .vds-subscribe-form label,
.vds-gate .vds-consent span { color:#E24A39; }

.vds-topic-chips button,
.vds-filter-toggle { color:#111 !important; }
.vds-topic-chips button.is-active { background:#111; color:#fff !important; border-color:#111; }

/* General/home directory is intentionally empty until the visitor searches or selects a topic. */
.vds-directory--search:not(.vds-has-query) .vds-directory-grid { display:none; }

/* Category directories already have a category context: search only, no filters. */
.vds-directory--category .vds-directory-grid { display:grid; }

@media(max-width:767px){
  .vds-directory--category .vds-directory-tools{display:block;}
  .vds-directory--category .vds-search{width:100%;}
}
\n\n/* v1.4.2: prevent VDS controls/directories from widening the mobile document. */
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  @supports (overflow: clip) { html, body { overflow-x: clip; } }

  .vds-directory,
  .vds-category-page,
  .vds-detail-page,
  .vds-detail-shell,
  .vds-directory-tools,
  .vds-topic-chips,
  .vds-directory-grid,
  .vds-directory-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .vds-directory { overflow-x: hidden; }
  .vds-directory-tools { min-width: 0; }
  .vds-search { min-width: 0; flex: 1 1 auto; }
  .vds-search input { min-width: 0; max-width: 100%; }
  .vds-filter-toggle { flex: 0 0 auto; white-space: nowrap; }

  .vds-topic-chips {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .vds-topic-chips::-webkit-scrollbar { display: none; }
  .vds-topic-chips button { flex: 0 0 auto; white-space: nowrap; }

  .vds-directory-grid > *,
  .vds-directory-card a,
  .vds-directory-media,
  .vds-directory-media img { min-width: 0; max-width: 100%; }
}

/* v1.4.3: mobile gate + footer subscription + stronger page containment. */
.vds-footer-subscribe-form{width:100%;color:#fff}
.vds-footer-subscribe-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:stretch}
.vds-footer-subscribe-row input{min-width:0;width:100%;height:42px;border:1px solid rgba(255,255,255,.8);background:transparent;color:inherit;padding:0 12px;border-radius:3px;box-sizing:border-box}
.vds-footer-subscribe-row input::placeholder{color:#999}
.vds-footer-subscribe-row button{min-width:120px;border:0;border-radius:3px;padding:0 22px;background:#fff;color:#111;font-weight:700;cursor:pointer}
.vds-footer-consent{display:flex;gap:8px;align-items:flex-start;margin-top:9px;font-size:11px;line-height:1.35;color:inherit;opacity:.82}
.vds-footer-consent input{margin-top:2px}
.vds-footer-subscribe-success{color:inherit}
.vds-detail-player-wrap.is-gated{aspect-ratio:auto;height:auto;min-height:0;background:transparent}
.vds-detail-player-wrap.is-gated .vds-gate{height:auto;min-height:0}

@media(max-width:767px){
  html,body{width:100%;max-width:100vw;overflow-x:hidden!important;overscroll-behavior-x:none}
  @supports(overflow:clip){html,body{overflow-x:clip!important}}
  #page,.site,.elementor,.elementor-page,.elementor-location-header,.elementor-location-footer,.elementor-location-single,.e-con,.e-con-inner{max-width:100vw;min-width:0;box-sizing:border-box}
  .vds-detail-shell{width:calc(100% - 24px)}
  .vds-detail-article{padding-top:24px}
  .vds-detail-player-wrap.is-gated{overflow:visible;border-radius:14px}
  .vds-gate{display:block;padding:12px;border-radius:14px;background-position:center}
  .vds-gate-inner{width:100%;padding:18px 16px;border-radius:14px;box-sizing:border-box}
  .vds-gate h2{font-size:clamp(30px,9vw,42px);line-height:1.05;overflow-wrap:anywhere}
  .vds-gate p{font-size:15px;line-height:1.5}
  .vds-subscribe-form{gap:10px;margin-top:14px}
  .vds-name-row{grid-template-columns:1fr;gap:10px}
  .vds-subscribe-form input:not([type=checkbox]){min-height:44px;box-sizing:border-box}
  .vds-subscribe-form button{width:100%;min-height:44px}
  .vds-footer-subscribe-row{grid-template-columns:1fr;gap:8px}
  .vds-footer-subscribe-row button{min-height:42px}
}

/* v1.4.4: directory/category badges are desktop-only too. */
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .vds-directory-media > span,
  .vds-directory-badge,
  .video-category-badge { display:none !important; visibility:hidden !important; }
}
