/*
 Theme Name: My Video Child
 Template: twentytwentyfive
 Version: 1.0
*/

.video-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:16px;
}
.video-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,0.08);}
.video-card img{width:100%;height:220px;object-fit:cover;}
.video-card h3{padding:8px;font-size:16px;font-weight:600;}
.player-box iframe{width:100%;height:380px;border:0;border-radius:8px;}
@media(max-width:600px){.player-box iframe{height:220px;}}


/* GLOBAL DARK BACKGROUND */
body,
.wp-site-blocks {
    background: #121212 !important;
    color: #fff !important;
}

/* Fix white areas on some pages */
.wp-block-group,
.wp-block-post-template,
.wp-block-query {
    background: transparent !important;
}


.wp-site-blocks {
    width: 92% !important;
    max-width: 1400px !important;
    margin: auto !important;
}


.wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 25px !important;
}

.wp-block-post-template img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}


/* --- FORCE APPLY SUBMENU STYLES (TT25 Compatible) --- */

header .wp-block-navigation:not(.wp-block-navigation__responsive-container),
.wp-block-group .wp-block-navigation:nth-of-type(2) {
    background: #0a0707 !important;
    border-bottom: 1px solid #eee !important; 
    overflow-x: auto !important;
    white-space: nowrap !important;
}

header .wp-block-navigation:nth-of-type(2) .wp-block-navigation__container,
.wp-block-group .wp-block-navigation:nth-of-type(2) .wp-block-navigation__container {
    display: flex !important;
    gap: 16px !important;
    padding: 0 12px !important;
}

header .wp-block-navigation:nth-of-type(2) a,
.wp-block-group .wp-block-navigation:nth-of-type(2) a {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #111 !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
}

header .wp-block-navigation:nth-of-type(2) a:hover,
header .wp-block-navigation:nth-of-type(2) .wp-block-navigation-item.is-active > a {
    background: #e60073 !important;
    color: #fff !important;
}




/* Ensure header/footer also stay inside 80% */
header.wp-block-template-part,
footer.wp-block-template-part {
    width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
}

/* Make full-width blocks respect container */
.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.wp-block-image.alignfull {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* MOBILE — full width for small screens */
@media (max-width: 768px) {
    body .wp-site-blocks,
    header.wp-block-template-part,
    footer.wp-block-template-part {
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Section headers like Homepage */
.wp-block-heading {
    background: #1f1f1f;
    border-left: 5px solid #e60073;
    padding: 8px 15px;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
}



.video-container {
    width: 80%;
    margin: auto;
    padding: 20px 0;
}

.video-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.video-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 15px;
}

/* Poster + Play Button */
.poster-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
    margin-bottom: 20px;
}

.poster-img {
    width: 100%;
    border-radius: 12px;
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 85px;
    height: 85px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn:before {
    content: "";
    width: 0;
    height: 0;
    border-left: 28px solid white;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 8px;
}


/* Make Columns full width on Homepage */
.home .wp-block-columns {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Make individual columns stretch evenly */
.home .wp-block-column {
    flex-grow: 1 !important;
    flex-basis: 0 !important;
}

/* VIDEO CARD WRAPPER */
.video-card,
.home .wp-block-group {
    position: relative;
    overflow: hidden;
}

/* POSITION HD BADGE ON TOP RIGHT */
.badge-hd {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #0073ff;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 20;
}

/* MAKE IMAGE NICE */
.home .wp-block-post-featured-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}


.single-post .wp-block-post-content {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    color: #fff !important;
}

.single-post h1 {
    color: #fff !important;
    font-size: 28px !important;
}



/* FIX PAGINATION WRAPPER WIDTH */
.wp-block-query-pagination {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 40px 0 !important;
}

/* PAGINATION BUTTONS STYLE */
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: #2b2b2b;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

.wp-block-query-pagination-numbers a:hover {
    background: #444;
}

.wp-block-query-pagination-numbers span.current {
    background: #ff0066 !important;
    color: #fff !important;
}

/* NEXT / PREV BUTTONS */
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
    padding: 10px 14px;
    margin: 0 4px;
    background: #2b2b2b;
    border-radius: 4px;
    color: #fff !important;
}

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
    background: #444;
}


/* FOOTER FIX — CENTERED + MATCH DARK THEME */
footer.wp-block-template-part {
    width: 90% !important;
    max-width: 1300px !important;
    margin: auto !important;
    background: transparent !important;
    padding: 20px 0 !important;
}

/* FOOTER LINK STYLE */
.simple-footer {
    text-align: center;
    font-size: 14px;
}

.simple-footer a {
    color: #ff0066 !important;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 600;
}

.simple-footer a:hover {
    text-decoration: underline;
}

.simple-footer .footer-copy {
    margin-top: 6px;
    color: #ccc;
}

.wp-site-blocks > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* SEARCH BAR WRAPPER */
header .wp-block-search,
.wp-block-search {
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center;
}

/* SEARCH INPUT */
.wp-block-search__input {
    background: #1b1b1b !important;
    border: 1px solid #333 !important;
    padding: 12px 16px !important;
    color: #fff !important;
    font-size: 15px !important;
    border-radius: 4px 0 0 4px !important;
    width: 100% !important;
    outline: none !important;
}

/* PLACEHOLDER COLOR */
.wp-block-search__input::placeholder {
    color: #bbb !important;
}

/* SEARCH BUTTON */
.wp-block-search__button {
    background: #ff0066 !important;
    border: none !important;
    padding: 12px 18px !important;
    color: #fff !important;
    font-size: 17px !important;
    border-radius: 0 4px 4px 0 !important;
    cursor: pointer !important;
    transition: 0.25s ease-in-out !important;
}

/* HOVER EFFECT */
.wp-block-search__button:hover {
    background: #d90059 !important;
}

/* ICON INSIDE BUTTON */
.wp-block-search__button svg {
    fill: #fff !important;
    width: 18px !important;
    height: 18px !important;
}




/* ======================================================
   FULL GRID LIKE 
   ====================================================== */
.home .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 25px !important;
    padding: 0;
    margin: 0;
}

/* ======================================================
   VIDEO CARD CONTAINER
   ====================================================== */
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 0 !important;
}

/* Featured Image */
.video-card .wp-block-post-featured-image img {
    width: 100%;
    height: 200px; /* adjust as needed */
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* ======================================================
   HD BADGE — TOP RIGHT
   ====================================================== */
/* Badges */
.badge-hd, .badge-duration {
    position: absolute;
    z-index: 10;
    background: #000000cc;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.badge-hd {
    top: 8px;
    right: 8px;
    background: #ff0055;
}

.badge-duration {
    bottom: 8px;
    right: 8px;
}

/* ======================================================
   TITLE BELOW CARD
   ====================================================== */
.video-card .wp-block-post-title {
    color: #fff !important;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Remove unwanted spacing */
.wp-block-post-title a {
    text-decoration: none;
    color: #fff !important;
}


.legal-page {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

.legal-page h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page h3 {
  font-size: 17px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  margin-bottom: 10px;
}

.wp-block-group ul,
.wp-block-group li,
.tagcloud ul,
.tagcloud li,
.wp-tag-cloud ul,
.wp-tag-cloud li {
    list-style: none !important;
   
}



/* TAG CLOUD GRID LAYOUT */
.tagcloud,
.wp-tag-cloud,
.wp-block-tag-cloud {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
 
  justify-content: flex-start;
}

/* BEAUTIFUL TAG STYLE */
.tagcloud a,
.wp-tag-cloud a,
.wp-block-tag-cloud a {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px; /* pill shape */
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

/* MULTI-COLOR VARIATIONS */
.tagcloud a:nth-child(1n),
.wp-tag-cloud a:nth-child(1n)  { background: linear-gradient(135deg, #ff6a00, #ee0979); }

.tagcloud a:nth-child(2n),
.wp-tag-cloud a:nth-child(2n)  { background: linear-gradient(135deg, #36d1dc, #5b86e5); }

.tagcloud a:nth-child(3n),
.wp-tag-cloud a:nth-child(3n)  { background: linear-gradient(135deg, #11998e, #38ef7d); }

.tagcloud a:nth-child(4n),
.wp-tag-cloud a:nth-child(4n)  { background: linear-gradient(135deg, #fc4a1a, #f7b733); }

.tagcloud a:nth-child(5n),
.wp-tag-cloud a:nth-child(5n)  { background: linear-gradient(135deg, #ee0979, #ff6a00); }

.tagcloud a:nth-child(6n),
.wp-tag-cloud a:nth-child(6n)  { background: linear-gradient(135deg, #4568dc, #b06ab3); }

.tagcloud a:nth-child(7n),
.wp-tag-cloud a:nth-child(7n)  { background: linear-gradient(135deg, #30cfd0, #330867); }

/* HOVER EFFECT */
.tagcloud a:hover,
.wp-tag-cloud a:hover,
.wp-block-tag-cloud a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  opacity: 0.95;
}



/* ===========================================================
   DARK GLOSSY MENU BAR (LIKE YOUR SCREENSHOT)
   =========================================================== */

.custom-menu-bar,
header .wp-block-navigation {
    background: linear-gradient(to bottom, #2a2a2a, #0f0f0f);
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    display: flex !important;
    justify-content: center;
}

/* MENU LIST (flex items) */
header .wp-block-navigation__container {
    display: flex !important;
    margin: 0;
    padding: 0;
    gap: 0 !important; /* items touching each other */
}

/* NORMAL MENU ITEM */
header .wp-block-navigation a {
    display: block;
    padding: 14px 20px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(to bottom, #3a3a3a, #1c1c1c);
    border-right: 1px solid #000; /* divide items */
    transition: 0.25s ease-in-out;
}

/* Remove last border */
header .wp-block-navigation li:last-child a {
    border-right: none;
}

/* HOVER ITEM */
header .wp-block-navigation a:hover {
    background: linear-gradient(to bottom, #5a5a5a, #2a2a2a);
}

/* ACTIVE MENU ITEM (HOT PINK LIKE SCREENSHOT) */
header .wp-block-navigation .wp-block-navigation-item.is-active > a,
header .wp-block-navigation a[aria-current="page"],
header .wp-block-navigation a[aria-current="true"] {
    background: linear-gradient(to bottom, #ff2b72, #e60063) !important;
    color: #fff !important;
    font-weight: 700;
}

/* OPTIONAL: Make menu full-width bar look cleaner */
header .wp-block-navigation {
    box-shadow: inset 0 -2px 6px rgba(0,0,0,0.7);
}





/* VIDEO WRAPPER */
.single-video-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    background: #121212;
    color: #fff;
}

/* VIDEO PLAYER */
.video-player-box video {
    width: 100%;
    border-radius: 6px;
    background: #000;
}

/* DOWNLOAD BUTTON */
.download-btn-full {
    display: block;
    text-align: center;
    background: #ff0066;
    color: #fff !important;
    padding: 12px 0;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 20px;
    text-decoration: none !important;
}

.download-btn-full:hover {
    background: #d90055;
}

/* MAIN TITLE */
.video-main-title {
    font-size: 28px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ABOUT BOX */
.video-about-box {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.video-about-box strong {
    color: #ff0066;
    font-size: 18px;
}

.video-about-content {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
}

/* TAG PILL BAR */
/* =====================================================
   CLEAN TAG STYLE FOR SINGLE VIDEO PAGE (UNCUTULLU STYLE)
   ===================================================== */

/* MAIN TAG WRAPPER */
.video-tag-bar,
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

/* TAG PILL STYLE */
.video-tags .video-tag,
.video-tag-bar .tag-pill,
.video-tags a {
    background: #2a2a2a !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    display: inline-block !important;
}

/* HOVER EFFECT */
.video-tags a:hover,
.video-tag-bar .tag-pill:hover {
    background: #ff0066 !important;
    color: #fff !important;
}


/* RELATED SECTION */
.related-section {
    max-width: 1100px;
    margin: 20px auto;
    padding: 10px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-header h2 {
    border-left: 5px solid #ff0066;
    padding-left: 10px;
}

.more-btn {
    color: #ff0066;
    text-decoration: none;
    font-weight: 600;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.related-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

.related-title {
    margin-top: 6px;
    font-size: 14px;
}
.related-title a {
    color: #fff !important;
    text-decoration: none;
}
.related-title a:hover {
    text-decoration: underline;   
  }


  /* FULL-WIDTH UNCUTULLU STYLE DOWNLOAD BUTTON */
.download-btn-full {
    display: block;
    width: 100%;
    max-width: 350px; /* adjust: big but not too wide */
    text-align: center;
    background: #ff0066;
    color: #fff !important;
    padding: 14px 0;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 25px auto !important; /* center button */
    box-shadow: 0 3px 12px rgba(255, 0, 102, 0.3);
    transition: 0.25s ease-in-out;
}

/* HOVER */
.download-btn-full:hover {
    background: #d90055;
    box-shadow: 0 5px 16px rgba(255, 0, 102, 0.45);
    transform: translateY(-2px);
}


/* FIX SINGLE PAGE SPACING */
.single-video-layout * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.single-video-layout {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
    background: #121212;
}

/* Space between sections (controlled manually) */
.single-video-layout .video-player-box {
    margin-bottom: 20px !important;
}

.single-video-layout .download-btn-full {
    margin: 20px auto !important;
}

.single-video-layout .video-main-title {
    margin: 20px 0 15px !important;
}

.single-video-layout .video-about-box {
    margin: 15px 0 20px !important; 
}

.single-video-layout .video-tag-bar {
    margin: 10px 0 20px !important;
}


/* FIX AUTO <br> INSERTION ON TAGS */
.video-tag-bar {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
    align-items: center;
    margin: 15px 0 !important;
}

.video-tag-bar a,
.video-tag-bar .tag-pill {
    display: inline-flex !important;
    align-items: center;
    background: #2a2a2a !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    line-height: normal !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
