/*
Theme Name:           XXXAV.CO Premium UI System
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Unified premium pink responsive UI for XXXAV.CO with legacy feature compatibility
Version: 4.6.0
Requires at least:    5.0.0
Requires PHP:         5.6.20
WC requires at least: 4.4.0
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/


/* TH789 v1.5.1 final polish */
.th789-single-details{margin:16px 0 22px;}
.th789-single-details[open]{margin-bottom:26px;}
.th789-single-content{margin-top:0;padding:20px 22px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);}
.th789-single-sidebar .th789-video-grid.th789-video-grid-trending{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.th789-single-sidebar .th789-video-grid-trending .th789-video-thumb{aspect-ratio:16/10!important;}
.th789-single-sidebar .th789-video-grid-trending .th789-video-play{width:28px!important;height:28px!important;font-size:11px!important;right:8px!important;bottom:8px!important;background:rgba(0,0,0,.42)!important;}
.th789-single-sidebar .th789-video-grid-trending .th789-video-body{padding:9px 9px 12px!important;}
.th789-single-sidebar .th789-video-grid-trending .th789-video-body h3{font-size:12px!important;line-height:1.45!important;min-height:2.8em!important;}
@media (max-width: 980px){
  .th789-single-content{padding:16px 16px 18px;}
}
@media (max-width: 767px){
  .th789-single-content{padding:14px 14px 16px;}
}


/* TH789 v1.9.0 performance final */
.th789-video-stage{margin-bottom:18px!important}
.th789-video-player{position:relative!important;display:block!important;aspect-ratio:16/9!important;min-height:0!important;overflow:hidden!important;background:#0d0f13!important;border-radius:20px!important}
.th789-video-player .th789-video-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important}
.th789-video-player .th789-video-media > *{margin:0!important;padding:0!important;max-width:none!important}
.th789-video-player iframe,
.th789-video-player video,
.th789-video-player embed,
.th789-video-player object,
.th789-video-player .wp-video,
.th789-video-player .wp-video-shortcode,
.th789-video-player .wp-video-shortcode-wrap,
.th789-video-player .mejs-container,
.th789-video-player .mejs-mediaelement,
.th789-video-player .mejs__container,
.th789-video-player .mejs__mediaelement,
.th789-video-player .fluid-width-video-wrapper{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;max-height:100%!important;border:0!important;background:#0d0f13!important;
}
.th789-video-player .fluid-width-video-wrapper{padding:0!important}
.th789-video-player .fluid-width-video-wrapper iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.th789-video-player video,.th789-video-player .wp-video-shortcode{object-fit:contain!important}
.th789-video-empty-player .th789-video-empty-inner{position:absolute!important;inset:0!important;min-height:0!important;height:100%!important}
@media (max-width:767px){
  .th789-video-player{border-radius:16px!important}
  .th789-video-stage{margin-bottom:14px!important}
}


/* TH789 v2.0 theme cleanup */
.th789-theme-compat .th789-floating-sidebar,.th789-theme-compat .th789-line-side,.th789-theme-compat .th789-promo-side{display:none!important;}
.th789-theme-compat .th789-video-card img,.th789-theme-compat .th789-trending-card img{image-rendering:auto;}


/* TH789 v2.0.1 mobile header + card ratio fix */
@media (max-width: 849px){
  #wide-nav,.header-bottom{display:none!important;}
  #masthead,.header-main{min-height:64px!important;}
  .header-main .header-inner{min-height:64px!important;padding-top:8px!important;padding-bottom:8px!important;align-items:center!important;}
  #logo img,.header .logo img,.header_logo,.header-logo{max-height:42px!important;width:auto!important;}
  .mobile-nav,.mobile-nav>li,.header-nav-main,.header-nav-main>li{align-items:center!important;}
  .th789-theme-content,.th789-single-shell{padding-top:8px!important;}
}
@media (max-width: 767px){
  .th789-video-grid .th789-video-card,.th789-video-grid-trending .th789-video-card{overflow:visible!important;}
  .th789-video-thumb,.th789-video-grid-trending .th789-video-thumb,.th789-recommend-thumb,.th789-single-related-thumb{aspect-ratio:16/9!important;border-radius:16px!important;}
  .th789-video-play{top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;}
  .th789-video-grid .th789-video-play{width:34px!important;height:34px!important;font-size:11px!important;}
}


/* TH789 v2.3.0 compat */
body.th789-single-post-active, body.th789-video-archive-active { padding-bottom: 62px; }
@media (max-width:768px){ body.th789-single-post-active, body.th789-video-archive-active { padding-bottom: 58px; } }


/* TH789 v2.5.0 featured strip polish */
.th789-featured-strip-wrap{max-width:100%;}
.th789-featured-strip-wrap .th789-featured-strip-head{margin-bottom:8px;}
.th789-featured-strip-wrap .th789-featured-strip-viewport{box-sizing:border-box;}
.th789-featured-strip-wrap .th789-featured-nav-btn{box-sizing:border-box;}
@media (max-width:767px){.th789-featured-strip-wrap{margin-top:8px;}}


/* TH789 v2.6.0 theme final polish */
.th789-theme-content .row.align-center{max-width:1360px;margin:0 auto!important}
.th789-theme-content .large-12.col{max-width:1360px;flex:0 0 100%}
.header-wrapper,.header-bg-container,#masthead,.header-main,.wide-nav,.header-bottom{background:#0f1116!important}
#logo img,.header .logo img{filter:drop-shadow(0 0 12px rgba(255,200,90,.18))}
.header-nav-main>li>a,.nav-top-link,.header-nav .menu-item>a,.nav>li>a,.header-nav a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:7px 16px!important;margin:0 4px!important;
  border-radius:999px!important;
  color:#2d1f05!important;
  text-shadow:0 1px 0 rgba(255,255,255,.32)!important;
  background:linear-gradient(145deg,#fff4ba 0%,#f5da73 10%,#d6ad39 28%,#9f760f 48%,#f2d56a 74%,#fff1a6 100%)!important;
  border:1px solid rgba(191,142,14,.92)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62), inset 0 -2px 6px rgba(71,46,0,.34), 0 8px 18px rgba(0,0,0,.24)!important;
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease!important;
}
.header-nav-main>li>a:hover,.nav-top-link:hover,.header-nav .menu-item>a:hover,.nav>li>a:hover,.header-nav a:hover{filter:brightness(1.03)!important;transform:translateY(-1px)!important}
.header-nav-main>li.active>a,.header-nav-main>li.current-menu-item>a,.header-nav-main>li.current_page_item>a{background:linear-gradient(145deg,#fff7c8 0%,#ffd95a 14%,#d8aa2e 34%,#a46f0d 54%,#f4d86f 80%,#fff4ba 100%)!important}
.header-nav-main.nav-spacing-large>li{margin:0 2px!important}
.header-nav-main{gap:6px!important;display:flex;flex-wrap:wrap;align-items:center}
.th789-featured-strip-wrap,.th789-theme-header-block,.th789-category-menu-wrap,.th789-trending-wrap,.th789-video-grid-wrap{max-width:1360px;margin-left:auto!important;margin-right:auto!important}
@media (max-width: 849px){
  .header-nav-main>li>a,.nav-top-link,.header-nav .menu-item>a,.nav>li>a,.header-nav a{padding:6px 12px!important;min-height:32px;font-size:13px!important}
}


/* TH789 v2.6.3 menu active polish + search ui */
.header-nav-main>li>a,.nav-top-link,.header-nav .menu-item>a,.nav>li>a,.header-nav a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:7px 16px!important;margin:0 4px!important;
  border-radius:999px!important;
  color:#f2d98a!important;
  text-shadow:none!important;
  background:linear-gradient(180deg,#171a20 0%,#111419 100%)!important;
  border:1px solid rgba(203,161,53,.92)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 5px rgba(0,0,0,.35), 0 6px 14px rgba(0,0,0,.18)!important;
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease, color .18s ease!important;
}
.header-nav-main>li>a:hover,.nav-top-link:hover,.header-nav .menu-item>a:hover,.nav>li>a:hover,.header-nav a:hover{
  color:#fff3bb!important;
  border-color:rgba(233,197,92,.98)!important;
  filter:none!important;transform:translateY(-1px)!important;
}
.header-nav-main>li.active>a,
.header-nav-main>li.current-menu-item>a,
.header-nav-main>li.current_page_item>a,
.header-nav-main>li.current-menu-parent>a,
.header-nav-main>li.current-page-parent>a,
.header-nav-main>li.current-menu-ancestor>a,
.header-nav-main>li.current-page-ancestor>a,
.header-nav-main>li.current-menu-object-category>a,
.header-nav .current-menu-item>a,
.header-nav .current-menu-parent>a,
.header-nav .current-menu-ancestor>a,
.nav>li.current-menu-item>a,
.nav>li.current-menu-parent>a,
.nav>li.current-menu-ancestor>a,
.current-menu-item>.nav-top-link,
.current-menu-parent>.nav-top-link,
.current-menu-ancestor>.nav-top-link{
  color:#2d1f05!important;
  text-shadow:0 1px 0 rgba(255,255,255,.32)!important;
  background:linear-gradient(145deg,#fff7c8 0%,#ffd95a 14%,#d8aa2e 34%,#a46f0d 54%,#f4d86f 80%,#fff4ba 100%)!important;
  border:1px solid rgba(191,142,14,.96)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62), inset 0 -2px 6px rgba(71,46,0,.34), 0 8px 18px rgba(0,0,0,.24)!important;
}
.th789-search-shell{max-width:1360px;margin:0 auto;padding:16px 16px 28px;}
.th789-search-shell .th789-theme-header-block{margin-bottom:18px;}
.th789-search-shell .th789-video-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
@media (max-width: 1200px){.th789-search-shell .th789-video-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width: 900px){.th789-search-shell .th789-video-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width: 767px){.th789-search-shell .th789-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.th789-search-shell{padding:12px 12px 20px;}}


/* TH789 v2.6.4 header menu final state fix */
.header .header-nav-main.nav > li.menu-item:not(.active):not(.current-menu-item):not(.current_page_item):not(.current-menu-parent):not(.current-page-parent):not(.current-menu-ancestor):not(.current-page-ancestor):not(.current-menu-object-category) > a,
.header .header-bottom-nav.nav > li.menu-item:not(.active):not(.current-menu-item):not(.current_page_item):not(.current-menu-parent):not(.current-page-parent):not(.current-menu-ancestor):not(.current-page-ancestor):not(.current-menu-object-category) > a,
.header .header-nav > li.menu-item:not(.active):not(.current-menu-item):not(.current_page_item):not(.current-menu-parent):not(.current-page-parent):not(.current-menu-ancestor):not(.current-page-ancestor):not(.current-menu-object-category) > a{
  color:#f2d98a!important;
  text-shadow:none!important;
  background:linear-gradient(180deg,#171a20 0%,#111419 100%)!important;
  border:1px solid rgba(203,161,53,.92)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 5px rgba(0,0,0,.35), 0 6px 14px rgba(0,0,0,.18)!important;
}
.header .header-nav-main.nav > li.menu-item.active > a,
.header .header-nav-main.nav > li.menu-item.current-menu-item > a,
.header .header-nav-main.nav > li.menu-item.current_page_item > a,
.header .header-nav-main.nav > li.menu-item.current-menu-parent > a,
.header .header-nav-main.nav > li.menu-item.current-page-parent > a,
.header .header-nav-main.nav > li.menu-item.current-menu-ancestor > a,
.header .header-nav-main.nav > li.menu-item.current-page-ancestor > a,
.header .header-nav-main.nav > li.menu-item.current-menu-object-category > a,
.header .header-bottom-nav.nav > li.menu-item.active > a,
.header .header-bottom-nav.nav > li.menu-item.current-menu-item > a,
.header .header-bottom-nav.nav > li.menu-item.current_page_item > a,
.header .header-bottom-nav.nav > li.menu-item.current-menu-parent > a,
.header .header-bottom-nav.nav > li.menu-item.current-page-parent > a,
.header .header-bottom-nav.nav > li.menu-item.current-menu-ancestor > a,
.header .header-bottom-nav.nav > li.menu-item.current-page-ancestor > a,
.header .header-bottom-nav.nav > li.menu-item.current-menu-object-category > a,
.header .header-nav > li.menu-item.active > a,
.header .header-nav > li.menu-item.current-menu-item > a,
.header .header-nav > li.menu-item.current_page_item > a,
.header .header-nav > li.menu-item.current-menu-parent > a,
.header .header-nav > li.menu-item.current-page-parent > a,
.header .header-nav > li.menu-item.current-menu-ancestor > a,
.header .header-nav > li.menu-item.current-page-ancestor > a,
.header .header-nav > li.menu-item.current-menu-object-category > a{
  color:#2d1f05!important;
  text-shadow:0 1px 0 rgba(255,255,255,.32)!important;
  background:linear-gradient(145deg,#fff7c8 0%,#ffd95a 14%,#d8aa2e 34%,#a46f0d 54%,#f4d86f 80%,#fff4ba 100%)!important;
  border:1px solid rgba(191,142,14,.96)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62), inset 0 -2px 6px rgba(71,46,0,.34), 0 8px 18px rgba(0,0,0,.24)!important;
}

/* TH789 v2.6.5 search dark background final fix */
body.search,
body.search-results,
body.search-no-results{background:#0b0e14!important;color:#f5f1df!important;}
body.search #wrapper,
body.search #main,
body.search #content,
body.search .page-wrapper,
body.search .th789-theme-content,
body.search .th789-search-shell{background:transparent!important;}
body.search .th789-theme-header-block,
body.search .th789-video-grid-wrap,
body.search .th789-category-menu-wrap{max-width:1360px;margin-left:auto!important;margin-right:auto!important;}
body.search .th789-theme-header-block,
body.search .th789-video-grid-wrap,
body.search .th789-category-menu-wrap,
body.search .th789-pagination{position:relative;z-index:2;}
body.search .th789-search-shell .th789-theme-header-block,
body.search .th789-search-shell .th789-video-grid-wrap,
body.search .th789-search-shell .th789-category-menu-wrap{background:transparent!important;}
body.search .th789-search-shell .th789-theme-header-block>div{background:linear-gradient(180deg,rgba(25,28,35,.96),rgba(19,22,28,.96))!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:24px!important;box-shadow:0 14px 32px rgba(0,0,0,.22)!important;padding:26px 28px!important;}
body.search .th789-video-grid-wrap .th789-video-grid-head h2{color:#fff!important;}
body.search .th789-pagination a,
body.search .th789-pagination span{background:linear-gradient(180deg,#171a20 0%,#111419 100%)!important;border:1px solid rgba(203,161,53,.65)!important;color:#f2d98a!important;border-radius:999px!important;padding:7px 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:40px;}
body.search .th789-pagination .current{color:#2d1f05!important;background:linear-gradient(145deg,#fff7c8 0%,#ffd95a 14%,#d8aa2e 34%,#a46f0d 54%,#f4d86f 80%,#fff4ba 100%)!important;border-color:rgba(191,142,14,.96)!important;}
body.search footer, body.search #footer, body.search .footer-wrapper{background:#0b0e14!important;color:#bdb39a!important;}
body.search .th789-empty-search,
body.search .th789-search-empty{background:linear-gradient(180deg,rgba(25,28,35,.96),rgba(19,22,28,.96))!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:22px!important;padding:22px!important;color:#fff!important;max-width:420px;}
@media (max-width: 767px){
  body.search .th789-search-shell .th789-theme-header-block>div{padding:20px 18px!important;border-radius:20px!important;}
}


/* XXXAV.CO v3.1.0 — header/background coordinated with plugin color settings */
body.th789-theme-compat .header-wrapper,
body.th789-theme-compat .header-bg-container,
body.th789-theme-compat #masthead,
body.th789-theme-compat .header-main,
body.th789-theme-compat .wide-nav,
body.th789-theme-compat .header-bottom{background:var(--xxxav-header-bg,#ffc458)!important;}
body.th789-theme-compat .header-nav-main>li>a,
body.th789-theme-compat .nav-top-link,
body.th789-theme-compat .header-nav .menu-item>a,
body.th789-theme-compat .nav>li>a{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--xxxav-text,#242424)!important;text-shadow:none!important;border-radius:5px!important;}
body.th789-theme-compat .header-nav-main>li.current-menu-item>a,
body.th789-theme-compat .header-nav-main>li>a:hover{background:var(--th789-primary,#ef3b24)!important;color:#fff!important;}


/* XXXAV.CO v3.2.0 SEO content and taxonomy layout */
.xxxav-topic-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px}.xxxav-topic-links a{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid var(--xxxav-card-border,#ef5d51);color:var(--xxxav-text,#242424);font-size:13px;font-weight:700;text-decoration:none}.xxxav-topic-links a:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,0,0,.08)}
.xxxav-home-copy{max-width:1080px;margin:34px auto 12px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.xxxav-home-copy section,.xxxav-archive-intro,.xxxav-faq{background:rgba(255,255,255,.78);border:1px solid rgba(239,93,81,.28);border-radius:16px;padding:22px}.xxxav-home-copy h2,.xxxav-archive-intro h2,.xxxav-faq h2{font-size:22px;line-height:1.35;margin:0 0 10px}.xxxav-home-copy p,.xxxav-archive-intro p,.xxxav-faq p{line-height:1.8;margin:0}.xxxav-faq{max-width:1080px;margin:18px auto 30px}.xxxav-faq details{border-top:1px solid rgba(0,0,0,.09);padding:12px 0}.xxxav-faq details:first-of-type{border-top:0}.xxxav-faq summary{cursor:pointer;font-weight:700}.xxxav-faq details p{padding-top:8px}
@media(max-width:767px){.xxxav-home-copy{grid-template-columns:1fr;gap:12px;margin-top:24px}.xxxav-home-copy section,.xxxav-archive-intro,.xxxav-faq{padding:17px}.xxxav-home-copy h2,.xxxav-archive-intro h2,.xxxav-faq h2{font-size:19px}.xxxav-topic-links{gap:6px}.xxxav-topic-links a{font-size:12px;padding:6px 10px}}


/* XXXAV.CO v3.2.1 — Premium Pink palette only
   Palette: Hot Pink #ff2f92 / Blush #fff0f7 / Deep Plum #4a1230 */
:root{
  --xxxav-pink:#ff2f92;
  --xxxav-blush:#fff0f7;
  --xxxav-plum:#4a1230;
}
body.th789-theme-compat{
  background:var(--xxxav-blush)!important;
  color:var(--xxxav-plum)!important;
  font-family:"Noto Sans Thai","Leelawadee UI",Tahoma,Arial,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.th789-theme-compat #wrapper,
body.th789-theme-compat #main,
body.th789-theme-compat #content{background:var(--xxxav-blush)!important;}
body.th789-theme-compat .header-wrapper,
body.th789-theme-compat .header-bg-container,
body.th789-theme-compat #masthead,
body.th789-theme-compat .header-main,
body.th789-theme-compat .wide-nav,
body.th789-theme-compat .header-bottom{
  background:linear-gradient(135deg,var(--xxxav-plum),var(--xxxav-pink))!important;
  border:0!important;
  box-shadow:0 10px 32px rgba(74,18,48,.24),0 0 24px rgba(255,47,146,.20)!important;
}
body.th789-theme-compat .header-main .header-inner{min-height:72px!important;}
body.th789-theme-compat #logo img,
body.th789-theme-compat .header .logo img{filter:drop-shadow(0 4px 12px rgba(255,240,247,.36))!important;}
body.th789-theme-compat .header-nav-main>li>a,
body.th789-theme-compat .nav-top-link,
body.th789-theme-compat .header-nav .menu-item>a,
body.th789-theme-compat .nav>li>a{
  color:var(--xxxav-blush)!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  border-radius:999px!important;
  padding-left:15px!important;
  padding-right:15px!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
}
body.th789-theme-compat .header-nav-main>li.current-menu-item>a,
body.th789-theme-compat .header-nav-main>li.current_page_item>a,
body.th789-theme-compat .header-nav-main>li>a:hover,
body.th789-theme-compat .nav>li>a:hover{
  background:var(--xxxav-blush)!important;
  color:var(--xxxav-plum)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 6px 20px rgba(255,240,247,.34),0 0 0 2px rgba(255,240,247,.28)!important;
}
body.th789-theme-compat .nav-dropdown,
body.th789-theme-compat .sub-menu{
  background:var(--xxxav-blush)!important;
  border:1px solid var(--xxxav-pink)!important;
  border-radius:18px!important;
  box-shadow:0 18px 42px rgba(74,18,48,.24)!important;
  overflow:hidden;
}
body.th789-theme-compat .nav-dropdown a,
body.th789-theme-compat .sub-menu a{color:var(--xxxav-plum)!important;font-weight:700!important;}
body.th789-theme-compat .nav-dropdown a:hover,
body.th789-theme-compat .sub-menu a:hover{background:var(--xxxav-pink)!important;color:var(--xxxav-blush)!important;}
body.th789-theme-compat h1,
body.th789-theme-compat h2,
body.th789-theme-compat h3,
body.th789-theme-compat h4{color:var(--xxxav-plum)!important;font-weight:900!important;letter-spacing:-.015em;}
body.th789-theme-compat .button,
body.th789-theme-compat button,
body.th789-theme-compat input[type="submit"],
body.th789-theme-compat .th789-btn,
body.th789-theme-compat .th789-pagination .current{
  background:linear-gradient(135deg,var(--xxxav-pink),var(--xxxav-plum))!important;
  color:var(--xxxav-blush)!important;
  border:0!important;
  border-radius:999px!important;
  font-weight:900!important;
  box-shadow:0 8px 24px rgba(255,47,146,.30)!important;
}
body.th789-theme-compat .button:hover,
body.th789-theme-compat button:hover,
body.th789-theme-compat input[type="submit"]:hover,
body.th789-theme-compat .th789-btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(255,47,146,.40)!important;}
body.th789-theme-compat .th789-video-card,
body.th789-theme-compat .th789-trending-card,
body.th789-theme-compat .xxxav-home-copy section,
body.th789-theme-compat .xxxav-archive-intro,
body.th789-theme-compat .xxxav-faq{
  background:var(--xxxav-blush)!important;
  border:1px solid var(--xxxav-pink)!important;
  box-shadow:0 9px 24px rgba(74,18,48,.10)!important;
}
body.th789-theme-compat .th789-video-card:hover,
body.th789-theme-compat .th789-trending-card:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(255,47,146,.22)!important;}
body.th789-theme-compat .th789-video-card h3,
body.th789-theme-compat .th789-video-card a,
body.th789-theme-compat .th789-video-body h3{color:var(--xxxav-plum)!important;}
body.th789-theme-compat .xxxav-topic-links a{
  background:var(--xxxav-blush)!important;
  border-color:var(--xxxav-pink)!important;
  color:var(--xxxav-plum)!important;
  box-shadow:0 5px 15px rgba(74,18,48,.08)!important;
}
body.th789-theme-compat .xxxav-topic-links a:hover{background:var(--xxxav-pink)!important;color:var(--xxxav-blush)!important;box-shadow:0 8px 22px rgba(255,47,146,.28)!important;}
body.th789-theme-compat input[type="search"],
body.th789-theme-compat input[type="text"],
body.th789-theme-compat select,
body.th789-theme-compat textarea{
  background:var(--xxxav-blush)!important;
  color:var(--xxxav-plum)!important;
  border:1px solid var(--xxxav-pink)!important;
  border-radius:999px!important;
  box-shadow:0 5px 16px rgba(74,18,48,.08)!important;
}
body.th789-theme-compat footer,
body.th789-theme-compat #footer,
body.th789-theme-compat .footer-wrapper{background:var(--xxxav-plum)!important;color:var(--xxxav-blush)!important;}
body.th789-theme-compat footer a,
body.th789-theme-compat #footer a{color:var(--xxxav-blush)!important;}
@media(max-width:849px){
  body.th789-theme-compat .header-main .header-inner{min-height:64px!important;padding:8px 12px!important;}
  body.th789-theme-compat .mobile-sidebar-levels-2 .nav-slide{background:var(--xxxav-blush)!important;}
  body.th789-theme-compat .mobile-sidebar .nav>li>a,
  body.th789-theme-compat .off-canvas .nav>li>a{color:var(--xxxav-plum)!important;border-bottom:1px solid rgba(255,47,146,.24)!important;border-radius:0!important;}
  body.th789-theme-compat .mobile-sidebar .nav>li>a:hover,
  body.th789-theme-compat .off-canvas .nav>li>a:hover{background:var(--xxxav-pink)!important;color:var(--xxxav-blush)!important;}
}
@media(max-width:767px){
  body.th789-theme-compat h1{font-size:clamp(25px,7vw,34px)!important;line-height:1.22!important;}
  body.th789-theme-compat h2{font-size:clamp(20px,5.8vw,27px)!important;}
  body.th789-theme-compat .th789-video-card,
  body.th789-theme-compat .th789-trending-card{border-radius:15px!important;overflow:hidden!important;}
  body.th789-theme-compat .xxxav-topic-links a{min-height:32px;padding:6px 10px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.th789-theme-compat *,body.th789-theme-compat *:before,body.th789-theme-compat *:after{transition:none!important;animation:none!important;}
}

/* XXXAV.CO v3.3.0 final palette fallback */
:root{--xxxav-pink:#ff2f92;--xxxav-blush:#fff0f7;--xxxav-plum:#4a1230}
body.th789-theme-compat{background:var(--xxxav-blush)!important;color:var(--xxxav-plum)!important}
body.th789-theme-compat .header-wrapper,body.th789-theme-compat #masthead,body.th789-theme-compat .header-main,body.th789-theme-compat .wide-nav{background:linear-gradient(135deg,var(--xxxav-plum),var(--xxxav-pink))!important}
body.th789-theme-compat footer,body.th789-theme-compat #footer{background:var(--xxxav-plum)!important;color:var(--xxxav-blush)!important}


/* ================================================================
   XXXAV.CO Premium UI System 4.0.0 — FINAL UNIFIED VISUAL LAYER
   Scope: visual presentation only. No template, query, player, SEO,
   shortcode, taxonomy or stored-content behavior is changed.
   Palette: Electric Pink / Deep Berry / Pearl White.
   ================================================================ */
:root{
 --xui-primary:#ff147f;
 --xui-primary-2:#ff4aa2;
 --xui-deep:#6f0b46;
 --xui-deep-2:#3f0628;
 --xui-bg:#fff5fa;
 --xui-surface:#ffffff;
 --xui-surface-soft:#ffe5f1;
 --xui-text:#4b1232;
 --xui-muted:#89556f;
 --xui-border:rgba(255,20,127,.30);
 --xui-shadow:0 10px 30px rgba(111,11,70,.12);
 --xui-shadow-strong:0 16px 40px rgba(255,20,127,.22);
 --xui-radius:18px;
 --xui-gradient:linear-gradient(135deg,#6f0b46 0%,#ff147f 58%,#ff4aa2 100%);
 --xui-gradient-soft:linear-gradient(145deg,#ffffff 0%,#fff5fa 100%);
 --th789-primary:#ff147f;
 --xxxav-page-bg:#fff5fa;
 --xxxav-header-bg:#6f0b46;
 --xxxav-card-bg:#ffffff;
 --xxxav-card-border:#ff147f;
 --xxxav-text:#4b1232;
}
html{background:var(--xui-bg)!important}
body.th789-theme-compat,body.th789-single-post-active{
 background:var(--xui-bg)!important;color:var(--xui-text)!important;
 font-family:"Leelawadee UI","Noto Sans Thai",Tahoma,Arial,sans-serif!important;
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body.th789-theme-compat #wrapper,body.th789-theme-compat #main,body.th789-theme-compat #content,
body.th789-single-post-active #wrapper,body.th789-single-post-active #main,body.th789-single-post-active #content,
body.th789-theme-compat .page-wrapper,body.th789-single-post-active .page-wrapper{background:var(--xui-bg)!important;color:var(--xui-text)!important}

/* Global text, links and icons */
body.th789-theme-compat :where(h1,h2,h3,h4,h5,h6),body.th789-single-post-active :where(h1,h2,h3,h4,h5,h6){color:var(--xui-text)!important;text-shadow:none!important}
body.th789-theme-compat :where(p,li,dt,dd,label,small),body.th789-single-post-active :where(p,li,dt,dd,label,small){color:inherit}
body.th789-theme-compat a:not(.button):not([class*=btn]),body.th789-single-post-active a:not(.button):not([class*=btn]){color:var(--xui-deep)!important}
body.th789-theme-compat :where(i,.icon,.fa,.fas,.far,.fab,svg),body.th789-single-post-active :where(i,.icon,.fa,.fas,.far,.fab,svg){color:currentColor}
body.th789-theme-compat svg:not([style*="fill"]),body.th789-single-post-active svg:not([style*="fill"]){fill:currentColor}

/* Header, menu, dropdown, mobile drawer, search */
body.th789-theme-compat :where(.header-wrapper,.header-bg-container,#masthead,.header-main,.wide-nav,.header-bottom),
body.th789-single-post-active :where(.header-wrapper,.header-bg-container,#masthead,.header-main,.wide-nav,.header-bottom){background:var(--xui-gradient)!important;border:0!important;box-shadow:0 10px 30px rgba(111,11,70,.25)!important}
body.th789-theme-compat :where(.header-nav-main>li>a,.nav-top-link,.header-nav .menu-item>a,.nav>li>a,.header-button a),
body.th789-single-post-active :where(.header-nav-main>li>a,.nav-top-link,.header-nav .menu-item>a,.nav>li>a,.header-button a){color:#fff!important;background:transparent!important;border:0!important;box-shadow:none!important;text-shadow:none!important;font-weight:800!important;border-radius:999px!important}
body.th789-theme-compat :where(.header-nav-main>li.current-menu-item>a,.header-nav-main>li.current_page_item>a,.header-nav-main>li>a:hover,.nav>li>a:hover),
body.th789-single-post-active :where(.header-nav-main>li.current-menu-item>a,.header-nav-main>li.current_page_item>a,.header-nav-main>li>a:hover,.nav>li>a:hover){background:#fff!important;color:var(--xui-deep)!important;box-shadow:0 8px 24px rgba(255,255,255,.30)!important;transform:translateY(-1px)}
body.th789-theme-compat :where(.nav-dropdown,.sub-menu,.mobile-sidebar,.off-canvas .sidebar-menu,.mfp-content),
body.th789-single-post-active :where(.nav-dropdown,.sub-menu,.mobile-sidebar,.off-canvas .sidebar-menu,.mfp-content){background:#fff!important;color:var(--xui-text)!important;border-color:var(--xui-border)!important;box-shadow:var(--xui-shadow-strong)!important}
body.th789-theme-compat :where(.nav-dropdown a,.sub-menu a,.mobile-sidebar a,.off-canvas .sidebar-menu a),
body.th789-single-post-active :where(.nav-dropdown a,.sub-menu a,.mobile-sidebar a,.off-canvas .sidebar-menu a){color:var(--xui-text)!important;background:transparent!important}
body.th789-theme-compat :where(.nav-dropdown a:hover,.sub-menu a:hover,.mobile-sidebar a:hover,.off-canvas .sidebar-menu a:hover),
body.th789-single-post-active :where(.nav-dropdown a:hover,.sub-menu a:hover,.mobile-sidebar a:hover,.off-canvas .sidebar-menu a:hover){background:var(--xui-surface-soft)!important;color:var(--xui-primary)!important}

/* Unified controls and every legacy CTA class, including former gold/blue buttons */
body.th789-theme-compat :where(.button,button,input[type=button],input[type=submit],input[type=reset],[role=button],.th789-btn,.th789-gold-btn,.th789-share-facebook,.th789-single-watch-btn,.th789-single-cta,.th789-preroll-skip,.th789-bottom-dock a,.th789-floating-sidebar a),
body.th789-single-post-active :where(.button,button,input[type=button],input[type=submit],input[type=reset],[role=button],.th789-btn,.th789-gold-btn,.th789-share-facebook,.th789-single-watch-btn,.th789-single-cta,.th789-preroll-skip,.th789-bottom-dock a,.th789-floating-sidebar a){background:var(--xui-gradient)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:999px!important;box-shadow:0 9px 24px rgba(255,20,127,.28)!important;text-shadow:none!important;font-weight:800!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
body.th789-theme-compat :where(.button,button,input[type=button],input[type=submit],input[type=reset],[role=button],.th789-btn,.th789-gold-btn,.th789-share-facebook,.th789-single-watch-btn,.th789-single-cta,.th789-preroll-skip):hover,
body.th789-single-post-active :where(.button,button,input[type=button],input[type=submit],input[type=reset],[role=button],.th789-btn,.th789-gold-btn,.th789-share-facebook,.th789-single-watch-btn,.th789-single-cta,.th789-preroll-skip):hover{filter:saturate(1.12) brightness(1.05)!important;transform:translateY(-2px)!important;box-shadow:0 14px 32px rgba(255,20,127,.36)!important}
body.th789-theme-compat :where(input,select,textarea),body.th789-single-post-active :where(input,select,textarea){background:#fff!important;color:var(--xui-text)!important;border:1px solid var(--xui-border)!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(111,11,70,.07)!important}
body.th789-theme-compat :where(input,select,textarea):focus,body.th789-single-post-active :where(input,select,textarea):focus{border-color:var(--xui-primary)!important;box-shadow:0 0 0 3px rgba(255,20,127,.16)!important;outline:0!important}

/* White premium surfaces: clears every legacy charcoal/gray content panel */
body.th789-theme-compat :where(.th789-featured-strip-wrap,.th789-featured-strip,.th789-story-ticker,.th789-recommend-slider,.th789-recommend-wrap,.th789-category-menu,.th789-home-tags,.th789-trending-wrap,.th789-news-wrap,.th789-video-section,.th789-video-grid-wrap,.th789-home-intro,.xxxav-home-copy section,.xxxav-faq,.xxxav-archive-intro,.widget,.sidebar-inner),
body.th789-single-post-active :where(.th789-single-head,.th789-single-head-main,.th789-single-shell,.th789-single-main,.th789-single-sidebar,.th789-single-info-card,.th789-single-content,.th789-single-content-minimal,.th789-single-related,.th789-single-details,.th789-single-tax-row,.th789-single-breadcrumbs,.widget,.sidebar-inner){background:var(--xui-gradient-soft)!important;color:var(--xui-text)!important;border:1px solid var(--xui-border)!important;border-radius:var(--xui-radius)!important;box-shadow:var(--xui-shadow)!important;text-shadow:none!important}
body.th789-theme-compat :where(.th789-featured-strip-wrap,.th789-featured-strip,.th789-story-ticker,.th789-recommend-slider,.th789-recommend-wrap,.th789-category-menu,.th789-home-tags,.th789-trending-wrap,.th789-news-wrap,.th789-video-section,.th789-video-grid-wrap,.th789-home-intro,.xxxav-home-copy section,.xxxav-faq,.xxxav-archive-intro,.widget,.sidebar-inner) *,
body.th789-single-post-active :where(.th789-single-head,.th789-single-head-main,.th789-single-shell,.th789-single-main,.th789-single-sidebar,.th789-single-info-card,.th789-single-content,.th789-single-content-minimal,.th789-single-related,.th789-single-details,.th789-single-tax-row,.th789-single-breadcrumbs,.widget,.sidebar-inner) *{text-shadow:none!important}

/* Cards */
body.th789-theme-compat :where(.th789-video-card,.th789-trending-card,.th789-news-card,.th789-recommend-card,.post-item .col-inner),
body.th789-single-post-active :where(.th789-video-card,.th789-trending-card,.th789-news-card,.th789-recommend-card,.th789-single-related-card){background:#fff!important;color:var(--xui-text)!important;border:1px solid var(--xui-border)!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(111,11,70,.09)!important;overflow:hidden}
body.th789-theme-compat :where(.th789-video-body,.th789-news-body,.th789-recommend-body),body.th789-single-post-active :where(.th789-video-body,.th789-news-body,.th789-recommend-body,.th789-single-related-body){background:#fff!important;color:var(--xui-text)!important}
body.th789-theme-compat :where(.th789-video-card,.th789-trending-card,.th789-news-card,.th789-recommend-card):hover,
body.th789-single-post-active :where(.th789-video-card,.th789-trending-card,.th789-news-card,.th789-recommend-card,.th789-single-related-card):hover{transform:translateY(-4px)!important;border-color:var(--xui-primary)!important;box-shadow:var(--xui-shadow-strong)!important}

/* Taxonomies, tags, badges, breadcrumb and pagination */
body.th789-theme-compat :where(.th789-category-pill,.th789-home-tag,.xxxav-topic-links a,.th789-video-cat,.th789-recommend-cat,.th789-provider-badge,.th789-trending-badge,.badge,.tag-cloud-link),
body.th789-single-post-active :where(.th789-category-pill,.th789-home-tag,.xxxav-topic-links a,.th789-video-cat,.th789-recommend-cat,.th789-provider-badge,.th789-trending-badge,.th789-single-cats a,.th789-single-tags a,.badge,.tag-cloud-link){background:#fff!important;color:var(--xui-deep)!important;border:1px solid var(--xui-primary)!important;border-radius:999px!important;box-shadow:0 5px 14px rgba(111,11,70,.08)!important;text-shadow:none!important}
body.th789-theme-compat :where(.th789-category-pill,.th789-home-tag,.xxxav-topic-links a,.tag-cloud-link):hover,
body.th789-single-post-active :where(.th789-category-pill,.th789-home-tag,.xxxav-topic-links a,.th789-single-cats a,.th789-single-tags a,.tag-cloud-link):hover{background:var(--xui-gradient)!important;color:#fff!important;border-color:transparent!important}
body.th789-theme-compat :where(.th789-pagination a,.th789-pagination span,.page-numbers),body.th789-single-post-active :where(.th789-pagination a,.th789-pagination span,.page-numbers){background:#fff!important;color:var(--xui-deep)!important;border:1px solid var(--xui-border)!important;border-radius:999px!important;box-shadow:0 5px 14px rgba(111,11,70,.07)!important}
body.th789-theme-compat :where(.th789-pagination .current,.page-numbers.current,.th789-pagination a:hover,.page-numbers:hover),body.th789-single-post-active :where(.th789-pagination .current,.page-numbers.current,.th789-pagination a:hover,.page-numbers:hover){background:var(--xui-gradient)!important;color:#fff!important;border-color:transparent!important}

/* Player stays deep for viewing contrast; all controls use the same pink system */
body.th789-single-post-active :where(.th789-video-stage,.th789-video-player,.th789-video-embed,.th789-preroll-stage),body.th789-theme-compat :where(.th789-video-stage,.th789-video-player,.th789-video-embed,.th789-preroll-stage){background:linear-gradient(145deg,var(--xui-deep-2),var(--xui-deep))!important;border:1px solid rgba(255,20,127,.55)!important;border-radius:18px!important;box-shadow:0 12px 32px rgba(63,6,40,.22)!important;overflow:hidden}
body.th789-theme-compat :where(.th789-video-play,.th789-featured-strip-play,.th789-preroll-play),body.th789-single-post-active :where(.th789-video-play,.th789-featured-strip-play,.th789-preroll-play){background:var(--xui-gradient)!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 7px 22px rgba(255,20,127,.40)!important}
body.th789-single-post-active :where(.th789-preroll-topbar,.th789-preroll-progress,.th789-preroll-label){background:var(--xui-deep)!important;color:#fff!important;border-color:rgba(255,20,127,.55)!important}
body.th789-single-post-active .th789-preroll-progress:before{background:var(--xui-primary)!important}

/* Floating age notice, ticker and docks — remove black/gold/red remnants */
:where(.th789-age-topbar,.th789-story-ticker-bar,.th789-ticker-wrap,.th789-age-side,.th789-floating-sidebar,.th789-bottom-dock){background:var(--xui-gradient)!important;color:#fff!important;border-color:rgba(255,255,255,.34)!important;box-shadow:0 10px 28px rgba(111,11,70,.28)!important;text-shadow:none!important}
:where(.th789-age-topbar,.th789-story-ticker-bar,.th789-ticker-wrap,.th789-age-side,.th789-floating-sidebar,.th789-bottom-dock) *{color:#fff!important;text-shadow:none!important}
:where(.th789-age-topbar__dot,.th789-age-side__mark,.th789-blink-icon){background:#fff!important;color:var(--xui-primary)!important;box-shadow:0 0 14px rgba(255,255,255,.72)!important}
.th789-bottom-dock-wrap{background:#fff!important;border:1px solid var(--xui-border)!important;box-shadow:0 -8px 26px rgba(111,11,70,.14)!important}

/* Footer: no legacy gray */
body.th789-theme-compat :where(footer,#footer,.footer-wrapper,.absolute-footer),body.th789-single-post-active :where(footer,#footer,.footer-wrapper,.absolute-footer){background:var(--xui-gradient)!important;color:#fff!important;border-top:1px solid rgba(255,255,255,.24)!important}
body.th789-theme-compat :where(footer,#footer,.footer-wrapper,.absolute-footer) *,body.th789-single-post-active :where(footer,#footer,.footer-wrapper,.absolute-footer) *{color:#fff!important}

/* Tables, notices, details and empty states */
body.th789-theme-compat :where(table,thead,tbody,tr,td,th,.message-container,.alert,.th789-video-empty,.th789-news-empty,.th789-media-placeholder),
body.th789-single-post-active :where(table,thead,tbody,tr,td,th,.message-container,.alert,.th789-video-empty,.th789-news-empty,.th789-media-placeholder,.th789-side-placeholder){border-color:var(--xui-border)!important}
body.th789-theme-compat :where(.message-container,.alert,.th789-video-empty,.th789-news-empty,.th789-media-placeholder),body.th789-single-post-active :where(.message-container,.alert,.th789-video-empty,.th789-news-empty,.th789-media-placeholder,.th789-side-placeholder){background:#fff!important;color:var(--xui-text)!important;border-radius:16px!important}

/* Responsive consistency */
@media(max-width:849px){
 body.th789-theme-compat .header-main .header-inner,body.th789-single-post-active .header-main .header-inner{min-height:62px!important;padding:7px 10px!important}
 body.th789-theme-compat :where(.mobile-sidebar,.off-canvas .sidebar-menu),body.th789-single-post-active :where(.mobile-sidebar,.off-canvas .sidebar-menu){border-radius:0!important}
}
@media(max-width:767px){
 body.th789-theme-compat :where(.th789-featured-strip-wrap,.th789-featured-strip,.th789-recommend-slider,.th789-category-menu,.th789-home-tags,.xxxav-home-copy section,.xxxav-faq),
 body.th789-single-post-active :where(.th789-single-head,.th789-single-main,.th789-single-sidebar,.th789-single-info-card,.th789-single-content){border-radius:14px!important}
 body.th789-theme-compat :where(.button,button,.th789-btn,.th789-gold-btn),body.th789-single-post-active :where(.button,button,.th789-btn,.th789-gold-btn){min-height:42px}
}
@media(prefers-reduced-motion:reduce){body.th789-theme-compat *,body.th789-single-post-active *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* XXXAV.CO Theme v4.0.2 — final contrast bridge for Flatsome + plugin */
:root{--xui-primary:#ff1684;--xui-deep:#68103f;--xui-deep-2:#321126;--xui-bg:#fff6fa;--xui-card:#fff;--xui-text:#321126;--xui-border:#ff9bc6;--xui-gradient:linear-gradient(135deg,#68103f 0%,#c51f72 52%,#ff1684 100%)}
body{background:var(--xui-bg)!important;color:var(--xui-text)!important}
.header-main,.header-wrapper,.header-bg-color{background:var(--xui-gradient)!important}
.header-main :where(a,button,i,svg,.icon){color:#fff!important;fill:currentColor!important}
.nav-dropdown,.mobile-sidebar,.off-canvas .sidebar-menu{background:#fff!important;color:var(--xui-text)!important;border-color:var(--xui-border)!important}
.nav-dropdown a,.mobile-sidebar a,.off-canvas .sidebar-menu a{color:var(--xui-text)!important}
.nav-dropdown a:hover,.mobile-sidebar a:hover,.off-canvas .sidebar-menu a:hover{background:#ffeaf3!important;color:var(--xui-deep)!important}
/* Prevent inherited white/transparent text on white plugin cards */
body :where(.th789-single-info-card,.th789-single-meta-card,.th789-video-grid-wrap,.th789-category-menu,.th789-home-tags,.xxxav-home-copy section,.xxxav-faq) :where(h1,h2,h3,h4,h5,h6,p,span,li,dt,dd,strong,a:not(.button)){color:var(--xui-text)!important;opacity:1!important}
/* Keep titles visible when plugin places them over dark containers */
body :where(.th789-single-hero,.th789-video-stage,.th789-featured-strip-viewport,.th789-featured-strip) :where(h1,h2,h3,h4,h5,h6,p,span,strong,a:not(.button)){color:#fff!important;opacity:1!important}
/* Remove remaining legacy gold/blue component skins by class */
:where(.is-gold,.gold,.button.gold,.th789-gold-btn,.th789-share-facebook,.social-button.facebook,.button.facebook){background:var(--xui-gradient)!important;color:#fff!important;border-color:rgba(255,255,255,.5)!important}
/* Accessible focus */
:where(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(255,22,132,.38)!important;outline-offset:2px!important}


/* XXXAV.CO v4.0.2 — canonical taxonomy bridge */
body.th789-theme-compat .th789-category-menu-wrap:empty,
body.th789-theme-compat .th789-home-tags:empty{display:none!important}
body.th789-theme-compat .th789-category-menu{contain:layout style}
body.th789-theme-compat .th789-category-pill small{color:inherit!important;opacity:.72!important}


/* XXXAV.CO v4.1.0 — Unified taxonomy navigation (theme owns presentation) */
body.th789-theme-compat .xxxav-unified-taxonomy{max-width:1360px;margin:16px auto 22px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.th789-theme-compat .xxxav-unified-taxonomy__title{margin:0 0 11px!important;color:var(--xui-deep,#5d0b3b)!important;font-size:clamp(21px,2vw,30px)!important;line-height:1.2!important;font-weight:800!important}
body.th789-theme-compat .xxxav-unified-taxonomy__list{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;margin:0!important;padding:14px!important;background:linear-gradient(145deg,#fff,#fff5fa)!important;border:1px solid var(--xui-primary,#ff1683)!important;border-radius:22px!important;box-shadow:0 10px 26px rgba(93,11,59,.08)!important;list-style:none!important}
body.th789-theme-compat .xxxav-unified-taxonomy__item{margin:0!important;padding:0!important;list-style:none!important}
body.th789-theme-compat .xxxav-unified-taxonomy__link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:9px 17px!important;border:1px solid var(--xui-primary,#ff1683)!important;border-radius:999px!important;background:#fff!important;color:var(--xui-deep,#5d0b3b)!important;font-size:14px!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:0 5px 14px rgba(93,11,59,.07)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease!important}
body.th789-theme-compat .xxxav-unified-taxonomy__link:hover,body.th789-theme-compat .xxxav-unified-taxonomy__link:focus-visible,body.th789-theme-compat .xxxav-unified-taxonomy__link.is-active{background:linear-gradient(135deg,var(--xui-primary,#ff1683),var(--xui-deep,#5d0b3b))!important;color:#fff!important;border-color:transparent!important;transform:translateY(-1px)!important;box-shadow:0 9px 22px rgba(255,22,131,.24)!important;outline:0!important}
body.th789-theme-compat .xxxav-topic-links,body.th789-theme-compat .th789-category-menu-wrap{display:none!important}
@media(max-width:767px){body.th789-theme-compat .xxxav-unified-taxonomy{margin:12px auto 18px!important}body.th789-theme-compat .xxxav-unified-taxonomy__list{flex-wrap:nowrap!important;overflow-x:auto!important;padding:11px!important;border-radius:17px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}body.th789-theme-compat .xxxav-unified-taxonomy__list::-webkit-scrollbar{display:none!important}body.th789-theme-compat .xxxav-unified-taxonomy__link{min-height:40px!important;padding:8px 15px!important;font-size:13px!important}}


/* =====================================================================
   XXXAV.CO Theme v4.2.0 — Single Page Premium Detail Polish
   Final visual layer. Keeps templates, positions, queries and controls intact.
   ===================================================================== */
:root{
  --x42-pink:#ff167f;
  --x42-pink-2:#ff4aa2;
  --x42-berry:#650d40;
  --x42-ink:#351126;
  --x42-bg:#fff7fb;
  --x42-card:#ffffff;
  --x42-soft:#ffeaf3;
  --x42-line:rgba(255,22,127,.32);
  --x42-shadow:0 14px 36px rgba(101,13,64,.12);
  --x42-shadow-soft:0 8px 24px rgba(101,13,64,.09);
  --x42-gradient:linear-gradient(135deg,#650d40 0%,#c91f73 55%,#ff167f 100%);
}
body.th789-single-post-active{background:var(--x42-bg)!important;color:var(--x42-ink)!important}
body.th789-single-post-active .th789-single-shell{max-width:1360px!important;margin-inline:auto!important;padding-inline:16px!important}

/* Featured strip: compact and visually connected to the page */
body.th789-single-post-active .th789-featured-strip-wrap{margin:12px auto 24px!important}
body.th789-single-post-active .th789-featured-strip-head h2{color:var(--x42-berry)!important;font-size:clamp(20px,2vw,28px)!important;margin:0 0 10px!important}
body.th789-single-post-active .th789-featured-strip-viewport{background:linear-gradient(145deg,#fff,#fff4f9)!important;border:1px solid var(--x42-line)!important;box-shadow:var(--x42-shadow-soft)!important;border-radius:20px!important;padding:12px!important}

/* Hero: remove the heavy black block while retaining the exact structure */
body.th789-single-post-active .th789-single-hero{
  background:linear-gradient(145deg,#fff 0%,#fff5fa 100%)!important;
  border:1px solid var(--x42-line)!important;
  box-shadow:var(--x42-shadow)!important;
  border-radius:24px!important;
  padding:18px 20px 20px!important;
  margin:0 0 24px!important;
  overflow:hidden!important;
}
body.th789-single-post-active .th789-single-breadcrumbs{
  display:flex!important;align-items:center!important;gap:8px!important;
  background:var(--x42-soft)!important;border:1px solid rgba(255,22,127,.20)!important;
  border-radius:999px!important;padding:8px 12px!important;margin-bottom:12px!important;
  color:var(--x42-berry)!important;font-size:13px!important;font-weight:700!important;
}
body.th789-single-post-active .th789-single-breadcrumbs *{color:var(--x42-berry)!important}
body.th789-single-post-active .th789-single-head-grid,
body.th789-single-post-active .th789-single-head-main{display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.th789-single-post-active .th789-single-title{color:var(--x42-ink)!important;font-size:clamp(25px,3vw,40px)!important;line-height:1.25!important;margin:12px 0 16px!important;letter-spacing:-.02em!important}

/* Category row over the player: one clean row, no nested panel look */
body.th789-single-post-active .th789-single-tax-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.th789-single-post-active .th789-single-tax-row a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:34px!important;padding:7px 13px!important;border-radius:999px!important;
  background:#fff!important;border:1px solid var(--x42-line)!important;color:var(--x42-berry)!important;
  font-size:12px!important;font-weight:800!important;line-height:1.15!important;text-decoration:none!important;
  box-shadow:0 4px 12px rgba(101,13,64,.06)!important;
}
body.th789-single-post-active .th789-single-tax-row a:hover,
body.th789-single-post-active .th789-single-tax-row a:focus-visible{background:var(--x42-gradient)!important;color:#fff!important;border-color:transparent!important;transform:translateY(-1px)!important}
body.th789-single-post-active .th789-single-cats{margin-bottom:10px!important}
body.th789-single-post-active .th789-single-tags{margin:12px 0 4px!important;padding:12px!important;background:#fff!important;border:1px solid var(--x42-line)!important;border-radius:18px!important}

/* Actions */
body.th789-single-post-active .th789-single-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important}
body.th789-single-post-active :where(.th789-share-facebook,.th789-single-cta){display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:10px 17px!important;border-radius:999px!important;background:var(--x42-gradient)!important;color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(255,22,127,.24)!important;font-weight:800!important;text-decoration:none!important}
body.th789-single-post-active :where(.th789-share-facebook,.th789-single-cta) *{color:#fff!important}

/* Main grid and player */
body.th789-single-post-active .th789-single-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:22px!important;align-items:start!important}
body.th789-single-post-active :where(.th789-single-main,.th789-single-sidebar){min-width:0!important}
body.th789-single-post-active .th789-video-stage{background:#160914!important;border:2px solid var(--x42-pink)!important;border-radius:22px!important;box-shadow:0 16px 38px rgba(53,17,38,.18)!important;margin-bottom:14px!important}
body.th789-single-post-active .th789-video-player{background:#160914!important;border-radius:20px!important}
body.th789-single-post-active .th789-single-minimal-meta{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:0 0 12px!important;padding:10px 13px!important;background:#fff!important;border:1px solid var(--x42-line)!important;border-radius:14px!important;color:var(--x42-berry)!important;font-size:13px!important}
body.th789-single-post-active .th789-single-minimal-meta *{color:inherit!important}

/* Sidebar cards: readable and compact */
body.th789-single-post-active .th789-single-sidebar{display:grid!important;gap:16px!important;position:sticky!important;top:88px!important}
body.th789-single-post-active :where(.th789-single-info-card,.th789-actor-card,.th789-single-sidebar .th789-trending-wrap){background:#fff!important;border:1px solid var(--x42-line)!important;border-radius:20px!important;box-shadow:var(--x42-shadow-soft)!important;padding:16px!important;color:var(--x42-ink)!important}
body.th789-single-post-active :where(.th789-single-info-card,.th789-actor-card,.th789-single-sidebar .th789-trending-wrap) :where(h2,h3,h4,strong,span,p,a,li){color:var(--x42-ink)!important;opacity:1!important}
body.th789-single-post-active .th789-single-info-card h3{font-size:19px!important;color:var(--x42-berry)!important;margin:0 0 12px!important}
body.th789-single-post-active .th789-single-info-card ul{margin:0!important;padding:0!important;list-style:none!important}
body.th789-single-post-active .th789-single-info-card li{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:10px!important;padding:10px 0!important;border-bottom:1px solid rgba(255,22,127,.13)!important;align-items:start!important}
body.th789-single-post-active .th789-single-info-card li:last-child{border-bottom:0!important;padding-bottom:0!important}
body.th789-single-post-active .th789-single-info-card li>span{color:#8b5470!important;font-size:12px!important;font-weight:700!important}
body.th789-single-post-active .th789-single-info-card li>strong{overflow-wrap:anywhere!important;font-size:13px!important;line-height:1.5!important}
body.th789-single-post-active .th789-inline-term{color:var(--x42-berry)!important;text-decoration:underline!important;text-decoration-color:rgba(255,22,127,.35)!important}

/* Details and recommendation sections: remove oversized empty-looking panels */
body.th789-single-post-active .th789-single-details{margin:16px 0!important;background:#fff!important;border:1px solid var(--x42-line)!important;border-radius:18px!important;box-shadow:var(--x42-shadow-soft)!important;overflow:hidden!important}
body.th789-single-post-active .th789-single-details summary{padding:13px 16px!important;color:var(--x42-berry)!important;font-weight:800!important;cursor:pointer!important;background:var(--x42-soft)!important}
body.th789-single-post-active .th789-single-content{background:#fff!important;color:var(--x42-ink)!important;border:0!important;border-radius:0!important}
body.th789-single-post-active :where(.th789-recommend-slider,.th789-single-related){margin:16px 0!important;padding:16px!important;background:#fff!important;border:1px solid var(--x42-line)!important;border-radius:20px!important;box-shadow:var(--x42-shadow-soft)!important;min-height:0!important}
body.th789-single-post-active :where(.th789-recommend-head h2,.th789-single-related>h2){color:var(--x42-berry)!important;font-size:20px!important;margin:0 0 14px!important}
body.th789-single-post-active .th789-recommend-track{gap:14px!important;min-height:0!important;padding-bottom:2px!important}
body.th789-single-post-active :where(.th789-recommend-card,.th789-single-related-card){background:#fff!important;border:1px solid var(--x42-line)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(101,13,64,.08)!important}
body.th789-single-post-active :where(.th789-recommend-body,.th789-single-related-body){padding:10px!important}
body.th789-single-post-active :where(.th789-recommend-body h3,.th789-single-related-body h3,.th789-recommend-body a,.th789-single-related-body a){color:var(--x42-ink)!important;line-height:1.45!important}
body.th789-single-post-active .th789-recommend-nav button{background:#fff!important;color:var(--x42-berry)!important;border:1px solid var(--x42-pink)!important;box-shadow:0 5px 14px rgba(101,13,64,.08)!important}
body.th789-single-post-active .th789-recommend-nav button:hover{background:var(--x42-gradient)!important;color:#fff!important}

/* Empty banner containers must not create blank vertical blocks */
body.th789-single-post-active :where(.th789-single-banner,.th789-video-banner,.th789-ad-slot,.th789-banner-slot):empty{display:none!important;margin:0!important;padding:0!important;border:0!important;min-height:0!important}

/* Below-the-fold rendering optimization without changing behavior */
body.th789-single-post-active :where(.th789-single-details,.th789-recommend-slider,.th789-single-related){content-visibility:auto;contain-intrinsic-size:1px 460px}

@media(max-width:1023px){
 body.th789-single-post-active .th789-single-layout{grid-template-columns:minmax(0,1fr)!important}
 body.th789-single-post-active .th789-single-sidebar{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.th789-single-post-active .th789-single-sidebar .th789-trending-wrap{grid-column:1/-1!important}
}
@media(max-width:767px){
 body.th789-single-post-active .th789-single-shell{padding-inline:10px!important}
 body.th789-single-post-active .th789-single-hero{padding:13px!important;border-radius:18px!important;margin-bottom:16px!important}
 body.th789-single-post-active .th789-single-title{font-size:clamp(23px,7vw,31px)!important}
 body.th789-single-post-active .th789-single-tax-row{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important;padding-bottom:3px!important}
 body.th789-single-post-active .th789-single-tax-row::-webkit-scrollbar{display:none!important}
 body.th789-single-post-active .th789-single-tax-row a{white-space:nowrap!important;flex:0 0 auto!important}
 body.th789-single-post-active .th789-single-actions>a{flex:1 1 auto!important;justify-content:center!important}
 body.th789-single-post-active .th789-single-sidebar{grid-template-columns:1fr!important}
 body.th789-single-post-active .th789-video-stage{border-radius:16px!important}
 body.th789-single-post-active :where(.th789-recommend-slider,.th789-single-related){padding:13px!important;border-radius:17px!important}
}

/* v4.3.1 — mobile recommendation navigation geometry fix.
 * Keeps desktop presentation unchanged and prevents long Thai headings from
 * shrinking the previous/next controls on narrow screens. */
@media (max-width:767px){
  body.th789-single-post-active .th789-recommend-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:10px!important;
    min-width:0!important;
    padding-right:0!important;
  }
  body.th789-single-post-active .th789-recommend-head h2{
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font-size:clamp(18px,5.7vw,22px)!important;
    line-height:1.22!important;
    overflow-wrap:anywhere!important;
  }
  body.th789-single-post-active .th789-recommend-nav{
    width:auto!important;
    min-width:0!important;
    min-height:46px!important;
    flex:0 0 auto!important;
    align-self:center!important;
    padding:4px!important;
    gap:5px!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
  body.th789-single-post-active .th789-recommend-nav .th789-slider-arrow{
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    aspect-ratio:1/1!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
    box-sizing:border-box!important;
    line-height:1!important;
  }
}
@media (max-width:374px){
  body.th789-single-post-active .th789-recommend-head{column-gap:7px!important}
  body.th789-single-post-active .th789-recommend-head h2{font-size:17px!important}
  body.th789-single-post-active .th789-recommend-nav{min-height:42px!important;padding:3px!important;gap:4px!important}
  body.th789-single-post-active .th789-recommend-nav .th789-slider-arrow{
    flex-basis:34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
  }
}
