/*
Theme Name: VidPulse
Theme URI: https://xxviu.com
Author: XXVIU.com
Author URI: https://xxviu.com
Description: Blazing-fast, SEO-optimised, ad-monetisation-ready WordPress theme for video, news, magazine, blog, and entertainment sites. Self-hosted Google Sans (no external font requests), preloaded for fast LCP. Dark/light theme toggle, full RTL, accessibility-ready, prefers-reduced-motion honoured. Optional sidebar, Home Category Block with [VIEW ALL] CTA bar, homepage filter tabs (Today/Yesterday/Trending/Popular/Updated + 5 custom), built-in like/dislike, ad-blocker overlay, 9 ad slots, announcement bar, social icons, "Featured Image by URL", "External Links" per-post bar, YouTube facade. JSON-LD schema (Article/VideoObject/BreadcrumbList/WebSite/Organization), Open Graph, Twitter Cards — ALL automatically suppressed when an SEO plugin is active. Fully compatible with Rank Math SEO (registers %sitename% / %currentyear% template variables, defers to RM breadcrumbs/sitemaps/title/description/OG, forwards external featured-image URLs to RM's OG filters). Also compatible with Yoast SEO, AIOSEO, and SEOPress. Translation-ready (text domain: vidpulse). GPL v2+. v3.4.36 — Home Category Block redesign: 6-column grid on desktop (auto-reflows to 5/4/3/2 cols), new 200×356 portrait tile aspect, default 12 posts (6+6 layout, configurable up to 24), and a new optional in-grid ad slot — drop AdSense / iframe / custom HTML at any 1..N cell position and it replaces that one tile while the rest of the grid stays uniform. Carries forward v3.4.32 (Reseller readiness pass: removed auto-defined DISALLOW_FILE_EDIT, added LICENSE + README.md, exposed vp_seo_append_pagination_to_plugin_title filter), v3.4.31 (image zoom-on-hover removed; new full-width [VIEW ALL] bar below Home Category Block; a11y polish), v3.4.30 (HCB UI polish), v3.4.24 (Lighthouse SEO bulletproofing filters), v3.4.21 (Featured Image by URL), v3.4.20 (External Links).
Version: 3.4.121
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vidpulse
Tags: video, news, magazine, blog, entertainment, dark-mode, full-width-template, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support, sticky-post, microformats, editor-style, wide-blocks, responsive-layout, one-column, two-columns, right-sidebar, accessibility-ready, seo-friendly, fast-loading, schema-markup, ad-ready
*/

/* Frontend CSS is loaded from style.min.css by functions.php.
   This import is only a safe fallback if style.css is opened directly. */
@import url('./style.min.css');

/* v3.4.104 - taxonomy index header + compact footer spacing */
.vp-tax-directory-page{padding-top:18px;padding-bottom:0}.vp-tax-directory-head{display:block;text-align:left;margin:0 0 18px;padding:20px 0 18px;border-bottom:1px solid rgba(148,163,184,.22);position:relative}.vp-tax-directory-title{margin:0;font-family:var(--fd);font-size:clamp(1.8rem,4vw,3rem);font-weight:900;line-height:1.05;color:var(--tx);letter-spacing:-.03em;display:flex;align-items:center;gap:12px;text-align:left}.vp-tax-directory-title:before{content:"";display:inline-block;width:5px;height:30px;border-radius:999px;background:linear-gradient(180deg,var(--b),var(--a));box-shadow:0 0 18px rgba(249,115,22,.38)}.vp-tax-directory-desc{max-width:860px;margin:12px 0 0;color:var(--tx2);font-size:.98rem;line-height:1.7;text-align:left}.vp-tax-directory-desc p{margin:0 0 .65rem}.vp-tax-directory-desc p:last-child{margin-bottom:0}.vp-tax-index-wrap .vp-breadcrumbs{display:none!important}.vp-tax-index-wrap .vp-tax-index-grid{margin-top:4px}.vp-tax-index-pagination,.vp-pagination,.vp-pager,.navigation.pagination,.nav-links{margin-bottom:0!important;padding-bottom:0!important}.vp-tax-index-wrap + .vp-footer,.vp-pagination + .vp-footer,.vp-tax-index-pagination + .vp-footer{margin-top:0!important}.vp-footer{margin-top:18px}.vp-tax-directory-page + .vp-footer{margin-top:0!important}.vp-tax-directory-page .vp-tax-index-pagination{margin-top:18px!important;margin-bottom:0!important}.vp-tax-directory-page .vp-tax-index-pagination:after{content:none!important}@media(max-width:768px){.vp-tax-directory-page{padding-top:12px}.vp-tax-directory-head{padding:14px 0 14px;margin-bottom:14px}.vp-tax-directory-title{font-size:1.75rem}.vp-tax-directory-title:before{height:24px}.vp-tax-directory-desc{font-size:.9rem}}


/* v3.4.105 - Mobile single-post style for OTT / Models / Series directory cards */
@media (max-width: 768px){
  .vp-tax-directory-page{padding-top:10px !important;}
  .vp-tax-directory-page .vp-tax-directory-head{margin-bottom:12px !important;padding:12px 0 12px !important;}
  .vp-tax-directory-page .vp-tax-index-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .vp-tax-directory-page .vp-tax-index-card{
    width:100% !important;
    border-radius:14px !important;
    overflow:hidden !important;
    box-shadow:0 12px 28px rgba(0,0,0,.22) !important;
  }
  .vp-tax-directory-page .vp-tax-index-card__thumb{
    aspect-ratio:16/9 !important;
    min-height:0 !important;
  }
  .vp-tax-directory-page .vp-tax-index-card__body{
    min-height:54px !important;
    padding:14px 15px !important;
  }
  .vp-tax-directory-page .vp-tax-index-card__title{
    font-size:1.05rem !important;
    line-height:1.25 !important;
  }
  .vp-tax-directory-page .vp-tax-index-card__title a{
    white-space:normal !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
  }
}
@media (max-width: 420px){
  .vp-tax-directory-page .vp-tax-index-grid{gap:14px !important;}
  .vp-tax-directory-page .vp-tax-index-card__body{padding:12px 13px !important;}
  .vp-tax-directory-page .vp-tax-index-card__title{font-size:1rem !important;}
}

/* v3.4.106 - Single post taxonomy meta line: grouped bold text, no repeated MODEL chips */
.vp-single-meta .vp-vt-chip{display:none!important}
.vp-single-meta .vp-meta-taxgroups{display:inline-flex;align-items:center;gap:.35rem;flex-wrap:wrap;min-width:0;vertical-align:middle}
.vp-single-meta .vp-vt-line{display:inline-flex;align-items:center;gap:.28rem;flex-wrap:wrap;font-family:var(--fd);font-weight:900;font-size:.78rem;line-height:1.35;letter-spacing:.015em;text-transform:uppercase;color:var(--tx);background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.vp-single-meta .vp-vt-line__pre{color:#facc15;font-weight:950}
.vp-single-meta .vp-vt-line__sep{color:var(--tx2);font-weight:900;margin:0 .08rem}
.vp-single-meta .vp-vt-line__term{color:#fff;font-weight:900;text-decoration:none;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
.vp-single-meta .vp-vt-line__term:hover{color:var(--a)}
.vp-single-meta .vp-vt-line--ott .vp-vt-line__term{color:#60a5fa}
.vp-single-meta .vp-vt-line__comma,.vp-single-meta .vp-vt-line__dash,.vp-single-meta .vp-vt-line__bracket{color:var(--tx2);font-weight:800}
@media(max-width:768px){.vp-single-meta{gap:.35rem}.vp-single-meta .vp-meta-taxgroups{width:100%;margin-top:.25rem}.vp-single-meta .vp-vt-line{font-size:.74rem}.vp-single-meta .vp-vt-line__dash{width:100%;height:0;overflow:hidden}}

/* v3.4.112 - Single meta taxonomy compact wrap fix */
.vp-single-header .vp-single-meta,
.vp-single-meta{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:.15rem 0!important;
  margin-top:.45rem!important;
  border-radius:0!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:.36rem!important;
  overflow:visible!important;
}
.vp-single-meta::before{display:none!important}
.vp-single-meta .vp-meta-taxgroups{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:.34rem!important;
  min-width:0!important;
  max-width:100%!important;
}
.vp-single-meta .vp-vt-line{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:.26rem!important;
  max-width:100%!important;
  min-width:0!important;
  font-size:.78rem!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.vp-single-meta .vp-vt-line__val{
  display:inline-block!important;
  min-width:0!important;
  max-width:min(560px,70vw)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  vertical-align:bottom!important;
}
.vp-single-meta .vp-vt-line__pre{color:#facc15!important;font-weight:950!important}
.vp-single-meta .vp-vt-line__sep,.vp-single-meta .vp-vt-line__bracket,.vp-single-meta .vp-vt-line__comma,.vp-single-meta .vp-vt-line__dash{color:var(--tx2)!important;font-weight:900!important}
.vp-single-meta .vp-vt-line__term{color:#fff!important;font-weight:900!important;text-decoration:none!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.vp-single-meta .vp-vt-line--ott .vp-vt-line__term{color:#60a5fa!important}
.vp-single-meta .vp-vt-line__more{color:#fb923c!important;font-weight:950!important}
@media(max-width:768px){
  .vp-single-header .vp-single-meta,.vp-single-meta{gap:.28rem!important;align-items:flex-start!important}
  .vp-single-meta .vp-meta-taxgroups{width:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.18rem!important;margin-top:.15rem!important}
  .vp-single-meta .vp-vt-line{font-size:.72rem!important;width:100%!important;max-width:100%!important}
  .vp-single-meta .vp-vt-line__val{max-width:calc(100vw - 120px)!important}
  .vp-single-meta .vp-vt-line__dash{display:none!important}
}

/* v3.4.113 Before More OTT/MODELS/SERIES neon bar */
.vp-before-more-tax{width:100%;box-sizing:border-box;margin:16px auto 18px;padding:10px 12px;border:1px solid rgba(164,35,59,.9);border-radius:0;background:linear-gradient(135deg,rgba(42,17,30,.92),rgba(18,15,23,.96));box-shadow:0 0 0 1px rgba(255,255,255,.035) inset,0 0 18px rgba(164,35,59,.32);display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;text-align:center;color:#fff;overflow:hidden}.vp-before-more-tax__item{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;padding:6px 10px;border-radius:0;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);font-size:13px;font-weight:800;line-height:1.35;text-transform:uppercase;letter-spacing:.25px}.vp-before-more-tax__item strong{color:#ffd400;font-weight:900}.vp-before-more-tax__item b{color:#fff;opacity:.85}.vp-before-more-tax__item--ott a{color:#66a4ff}.vp-before-more-tax__item--model a{color:#ffeff2}.vp-before-more-tax__item--series a{color:#ff8b36}.vp-before-more-tax__item a{font-weight:900;text-decoration:none}.vp-before-more-tax__item a:hover{text-decoration:underline}.vp-before-more-tax__item em{font-style:normal;color:rgba(255,255,255,.75)}@media(max-width:640px){.vp-before-more-tax{padding:9px 8px;margin:12px auto 14px;border-radius:0;gap:6px}.vp-before-more-tax__item{width:100%;padding:7px 8px;font-size:12px;flex-wrap:wrap}.vp-before-more-tax__item span{overflow-wrap:anywhere}}


/* v3.4.114 - remove title-area taxonomy tags + square Before More box */
.vp-single-meta .vp-meta-taxgroups,.vp-single-meta .vp-vt-line,.vp-single-meta .vp-vt-chip{display:none!important}
.vp-before-more-tax{border-radius:0!important}
.vp-before-more-tax__item{border-radius:0!important}
@media(max-width:640px){.vp-before-more-tax{border-radius:0!important}.vp-before-more-tax__item{border-radius:0!important}}


/* === v3.4.116 — LATEST VIDEOS bar visible on all templates === */
.vp-latest-videos-bar-wrap{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}
.vp-latest-videos-bar-wrap .vp-home-bar{margin:0 0 14px!important}
.vp-home-bar--always{display:flex!important;visibility:visible!important}
@media(max-width:768px){
  .vp-latest-videos-bar-wrap{padding-left:10px!important;padding-right:10px!important}
  .vp-home-bar--always{overflow:hidden!important}
  .vp-home-bar--always .vp-home-bar__tabs{overflow-x:auto!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important}
  .vp-home-bar--always .vp-home-bar__tabs::-webkit-scrollbar{display:none!important}
  .vp-home-bar--always .vp-home-tab{flex:0 0 auto!important;white-space:nowrap!important}
}

/* === v3.4.117 — Remove empty space under Latest Videos + clean taxonomy header === */
.vp-latest-videos-bar-wrap{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
.vp-latest-videos-bar-wrap .vp-home-bar,
.vp-home-bar--always{
  margin-bottom:0!important;
  padding-bottom:10px!important;
}
.vp-tax-directory-page{
  padding-top:0!important;
  margin-top:0!important;
}
.vp-tax-directory-page .vp-breadcrumbs,
.vp-tax-directory-page + .vp-breadcrumbs,
body .vp-breadcrumbs:has(a[href*="/ott/"]),
body .vp-breadcrumbs:has(a[href*="/models/"]),
body .vp-breadcrumbs:has(a[href*="/series/"]){
  display:none!important;
}
.vp-tax-directory-head{
  margin-top:0!important;
  margin-bottom:14px!important;
  padding:10px 0 14px!important;
  text-align:left!important;
}
.vp-tax-directory-title{
  justify-content:flex-start!important;
  text-align:left!important;
  margin:0!important;
}
.vp-tax-directory-desc{
  margin:8px 0 0!important;
  max-width:980px!important;
  text-align:left!important;
  line-height:1.55!important;
}
@media(max-width:768px){
  .vp-latest-videos-bar-wrap .vp-home-bar,
  .vp-home-bar--always{padding-bottom:8px!important;}
  .vp-tax-directory-head{padding:8px 0 12px!important;margin-bottom:12px!important;}
  .vp-tax-directory-desc{font-size:.9rem!important;line-height:1.5!important;}
}

/* v3.4.118 Lighthouse accessibility polish */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #ff8a1f!important;outline-offset:3px!important;box-shadow:0 0 0 4px rgba(249,115,22,.25)!important}
.vp-footer a,.vp-util a,.vp-card__meta,.vp-muted{color:#d8dfef}
.vp-home-tab,.vp-nav a,.vp-btn,button,input[type=submit]{min-height:32px}
.vp-card__title a,.vp-footer a,.vp-util a{text-decoration-thickness:2px;text-underline-offset:3px}
.vp-card__title a:hover,.vp-footer a:hover,.vp-util a:hover{text-decoration:underline}
.vp-site img{content-visibility:auto}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}
@media (max-width:768px){.vp-home-tab,.vp-nav a,button,input[type=submit]{min-height:34px}.vp-card__title{font-size:.95rem;line-height:1.25}}

/* === v3.4.119 — Tax index header padding zero === */
body.page-slug-ott .vp-latest-videos-bar-wrap,body.page-slug-models .vp-latest-videos-bar-wrap,body.page-slug-series .vp-latest-videos-bar-wrap,.vp-tax-directory-page{padding-top:0!important;margin-top:0!important}.vp-latest-videos-bar-wrap .vp-home-bar,.vp-home-bar--always{margin-bottom:0!important;padding-bottom:0!important}.vp-tax-directory-head{padding-top:0!important;padding-bottom:10px!important;margin-top:0!important;margin-bottom:10px!important}.vp-tax-directory-title{margin-top:0!important;padding-top:0!important}.vp-tax-directory-title:before{margin-top:0!important}@media(max-width:768px){.vp-latest-videos-bar-wrap .vp-home-bar,.vp-home-bar--always{padding-bottom:0!important;margin-bottom:0!important}.vp-tax-directory-head{padding-top:0!important;padding-bottom:8px!important;margin-bottom:8px!important}}
body .vp-latest-videos-bar-wrap,body .vp-latest-videos-bar-wrap.vp-wrap{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;min-height:0!important}body .vp-latest-videos-bar-wrap .vp-home-bar,body .vp-home-bar--always{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;min-height:0!important}body .vp-latest-videos-bar-wrap+.vp-tax-directory-page,body .vp-tax-index-wrap.vp-tax-directory-page{padding-top:0!important;margin-top:-46px!important}body .vp-tax-directory-page .vp-tax-directory-head{padding-top:0!important;padding-bottom:8px!important;margin-top:0!important;margin-bottom:8px!important;min-height:0!important}body .vp-tax-directory-page .vp-tax-directory-title{margin:0!important;padding:0!important;line-height:1!important}body .vp-tax-directory-page .vp-tax-directory-desc{margin-top:6px!important}@media(max-width:768px){body .vp-latest-videos-bar-wrap+.vp-tax-directory-page,body .vp-tax-index-wrap.vp-tax-directory-page{margin-top:-34px!important}body .vp-tax-directory-page .vp-tax-directory-head{padding-bottom:6px!important;margin-bottom:6px!important}}

/* v3.4.121 - hard remove Latest Videos to taxonomy title gap */
body .vp-latest-videos-bar-wrap{margin-bottom:0!important;padding-bottom:0!important;line-height:1!important}body .vp-latest-videos-bar-wrap .vp-home-bar,body .vp-home-bar--always{margin-bottom:0!important;padding-bottom:0!important}body .vp-latest-videos-bar-wrap+.vp-tax-gapless{margin-top:-64px!important;padding-top:0!important}body .vp-tax-gapless .vp-tax-directory-head{margin-top:0!important;padding-top:0!important;margin-bottom:10px!important;padding-bottom:10px!important;min-height:0!important}body .vp-tax-gapless .vp-tax-directory-title{margin:0!important;padding:0!important;line-height:1.02!important}body .vp-tax-gapless .vp-tax-directory-title:before{margin-top:0!important}@media(max-width:768px){body .vp-latest-videos-bar-wrap+.vp-tax-gapless{margin-top:-46px!important}body .vp-tax-gapless .vp-tax-directory-head{margin-bottom:8px!important;padding-bottom:8px!important}}
