/* =====================================================================
   9xMovies2.0 — main.css
   Design & Developed By: DaudBD.com | https://daudbd.com/
   Colours / sizes marked with var() are controlled from the Customizer.
   ===================================================================== */

:root{
  --bg:#eeeeee;
  --content:#ffffff;
  --heading:#285d19;
  --accent:#a00035;
  --search-btn:#a00000;
  --header-bg:#104667;
  --header-h:68px;
  --logo-w:230px;
  --footer-bg:#211d59;
  --footer-text:#ffffff;
  --cat-c1:#1a0526;
  --cat-c2:#b400b8;
  --cat-text:#ffffff;
  --cat-radius:30px;
  --ann-c1:#123f3f;
  --ann-c2:#157a7a;
  --card-bg:#151515;
  --card-title:#ffffff;
  --card-title-size:16px;
  --card-radius:12px;
  --ratio:2/3;
  --gap:14px;
  --cols-d:6;
  --cols-t:4;
  --cols-s:3;
  --cols-m:2;
  --text:#222222;
  --link-dark:#a00035;
  --link-blue:#163a6b;
  --container:1100px;
  --font:-apple-system,Inter,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;max-width:100%;overflow-x:hidden}
body{margin:0;max-width:100%;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;font-weight:500;line-height:1.6;overflow-x:hidden}
img,video,iframe,svg{max-width:100%}
img{height:auto;vertical-align:middle}
a{color:var(--link-dark);text-decoration:none}
a:hover,a:focus{text-decoration:underline}
h1,h2,h3,h4,h5,h6{font-family:var(--font);line-height:1.3;margin:0 0 .6em}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:1.4em}
button,input,textarea,select{font-family:inherit;font-size:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus,.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;margin:0;padding:10px 16px;clip:auto;background:#fff;color:#000;z-index:100000;box-shadow:0 0 6px rgba(0,0,0,.4)}
:focus-visible{outline:2px solid #ffb400;outline-offset:2px}
.icon{flex:0 0 auto}

/* ---------- Container ---------- */
.container{width:95%;max-width:var(--container,1100px);margin-left:auto;margin-right:auto}
@media (max-width:575px){
  .container{width:100%;padding-left:10px;padding-right:10px}
}

/* ---------- Header ---------- */
.site-header{position:relative;z-index:50;background:var(--header-bg);box-shadow:0 2px 8px rgba(0,0,0,.28)}
.header-inner{display:flex;align-items:center;gap:20px;min-height:var(--header-h);min-width:0}
.header-inner>*{min-width:0}
.site-logo{display:flex;align-items:center;flex:0 1 auto;min-width:0;color:#fff;text-decoration:none}
.site-logo:hover{text-decoration:none}
.site-logo__img{width:auto;max-width:var(--logo-w);max-height:calc(var(--header-h) - 10px);height:auto}
.site-logo__text{font-size:24px;font-weight:700;letter-spacing:.3px;color:#fff}

.primary-nav{flex:1 1 auto;min-width:0}
.primary-menu{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin:0;padding:0;list-style:none}
.primary-menu li{margin:0}
.primary-menu a{display:block;padding:8px 10px;color:#fff;font-size:18px;line-height:1.3;border-radius:4px;white-space:nowrap}
.primary-menu a:hover,.primary-menu .current-menu-item>a{background:rgba(255,255,255,.14);text-decoration:none}

.header-search{display:flex;flex:0 0 auto;margin-left:auto}
.header-search input[type=search]{width:250px;height:42px;padding:0 14px;border:1px solid #fff;border-radius:0;background:#fff;color:#222;font-size:16px;-webkit-appearance:none;appearance:none}
.header-search input[type=search]::placeholder{color:#888}
.header-search button{height:42px;padding:0 16px;border:1px solid var(--search-btn);border-radius:0;background:var(--search-btn);color:#fff;font-size:16px;cursor:pointer;transition:filter .2s}
.header-search button:hover{filter:brightness(1.15)}

.header-toggles{display:none;margin-left:auto;gap:6px}
.header-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.55);border-radius:6px;background:transparent;color:#fff;cursor:pointer}
.header-toggle:hover,.header-toggle[aria-expanded="true"]{background:rgba(255,255,255,.16)}

/* Tablet + mobile header:  [ menu ]   [ logo centred ]   [ search ] */
@media (max-width:991px){
  .header-inner{gap:10px;justify-content:space-between;min-height:76px}
  .header-toggles{display:contents}
  .header-toggle--menu{order:1}
  .site-logo{order:2;flex:1 1 auto;justify-content:center;min-width:0;padding:6px 0}
  .header-toggle--search{order:3}
  .header-toggle{display:inline-flex;flex:0 0 auto;width:55px;height:44px;border:2px solid #fff;border-radius:0}
  .header-toggle--spacer{visibility:hidden;border-color:transparent;pointer-events:none}
  .site-logo__img{width:auto;max-width:min(var(--logo-w),100%);max-height:62px}
  .site-logo__text{font-size:22px;text-align:center}
  .primary-nav,.header-search{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:var(--header-bg);border-top:1px solid rgba(255,255,255,.15);box-shadow:0 8px 16px rgba(0,0,0,.3);z-index:60}
  .primary-nav.is-open{display:block}
  .primary-menu{flex-direction:column;align-items:stretch;gap:0;padding:6px 0}
  .primary-menu a{padding:14px 5%;border-radius:0;border-bottom:1px solid rgba(255,255,255,.1);font-size:18px}
  .header-search.is-open{display:flex;padding:12px 5%}
  .header-search input[type=search]{flex:1 1 auto;width:100%;min-width:0}
}
/* Small desktop: keep logo, menu and search on one row */
@media (min-width:992px) and (max-width:1199px){
  .header-inner{gap:14px}
  .primary-menu a{font-size:16px;padding:8px 8px}
  .header-search input[type=search]{width:180px}
}
/* Very small phones */
@media (max-width:380px){
  .header-inner{gap:6px;min-height:68px}
  .header-toggle{width:46px;height:44px}
  .site-logo__img{max-height:52px}
  .catnav a{font-size:15px;padding:9px 15px}
}

/* ---------- Category pills + announcement ---------- */
.site-top{padding-top:18px}
.catnav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:0 0 18px;padding:0;list-style:none}
.catnav li{margin:0}
.catnav a{display:block;padding:10px 18px;border-radius:var(--cat-radius);background:linear-gradient(45deg,var(--cat-c1),var(--cat-c2));color:var(--cat-text);font-size:16px;line-height:1.3;box-shadow:0 4px 10px rgba(0,0,0,.3);transition:transform .2s,filter .2s,box-shadow .2s}
.catnav a:hover,.catnav a[aria-current]{text-decoration:none;filter:brightness(1.2);transform:translateY(-2px);box-shadow:0 8px 16px rgba(180,0,184,.35)}
@media (max-width:767px){
  .catnav{gap:12px 10px;margin-bottom:16px}
  .catnav a{font-size:16px;padding:10px 18px}
}

.announcement{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 18px;min-height:68px;margin:0 0 20px;padding:12px 18px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:linear-gradient(135deg,var(--ann-c1) 0%,var(--ann-c2) 50%,var(--ann-c1) 100%);color:#fff;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.12)}
.announcement__text{margin:0;font-size:17px;line-height:1.4}
.announcement__btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border:1px solid rgba(255,255,255,.35);border-radius:6px;background:rgba(255,255,255,.12);color:#fff;font-size:15px;font-weight:700;white-space:nowrap;transition:background .2s,transform .2s}
.announcement__btn:hover{background:rgba(255,255,255,.24);text-decoration:none;transform:translateY(-1px)}
@media (max-width:767px){
  .announcement{flex-direction:column;min-height:0;gap:10px;margin-bottom:14px;padding:12px 10px}
  .announcement__text{font-size:14px;font-weight:700}
  .announcement__btn{min-height:38px;font-size:14px}
}

/* ---------- Main wrapper ---------- */
.site-main{padding-top:6px;padding-bottom:10px;min-height:40vh}

/* ---------- Section heading (green bar) ---------- */
.section-heading{margin:0 0 18px}
.section-heading__title{display:flex;align-items:center;gap:10px;margin:0;padding:12px 15px;background:var(--heading);color:#fff;font-size:20px;font-weight:400;line-height:1.35;overflow-wrap:anywhere}
.section-heading__title .icon{width:26px;height:26px}
.section-heading__title a{color:#fff}
@media (max-width:575px){.section-heading__title{font-size:17px;padding:10px 12px}}

/* ---------- Movie grid ---------- */
.daudbd-grid{display:grid;grid-template-columns:repeat(var(--cols-d),minmax(0,1fr));gap:var(--gap);align-items:stretch}
@media (max-width:1024px){.daudbd-grid{grid-template-columns:repeat(var(--cols-t),minmax(0,1fr))}}
@media (max-width:767px){.daudbd-grid{grid-template-columns:repeat(var(--cols-s),minmax(0,1fr))}}
@media (max-width:575px){.daudbd-grid{grid-template-columns:repeat(var(--cols-m),minmax(0,1fr));gap:min(var(--gap),10px)}}

/* ---------- Movie card ---------- */
.movie-card{position:relative;display:flex;flex-direction:column;height:100%;min-width:0;background:var(--card-bg);border:1px solid #dddddd;border-radius:var(--card-radius);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.movie-card__poster{position:relative;display:block;width:100%;aspect-ratio:var(--ratio);overflow:hidden;background:#222}
.movie-card__img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.movie-card__body{display:flex;flex-direction:column;flex:1 1 auto;padding:13px 13px 16px}
.movie-card__title{margin:0;font-size:var(--card-title-size);font-weight:700;line-height:1.5;color:var(--card-title);overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical}
.movie-card__title a{color:var(--card-title)}
.movie-card__title a:hover{text-decoration:none;opacity:.85}
.movie-card__desc{margin:8px 0 0;font-size:13px;line-height:1.45;color:#bdbdbd}
.movie-card__badges{position:absolute;top:8px;left:8px;right:8px;display:flex;flex-wrap:wrap;gap:5px;pointer-events:none}
.movie-card__badge{padding:2px 9px;border-radius:999px;background:rgba(0,0,0,.75);border:1px solid rgba(255,255,255,.28);color:#fff;font-size:11px;font-weight:700;line-height:17px}
.movie-card__badge--quality{background:#222;background:color-mix(in srgb,var(--accent) 55%,#000);border-color:transparent;color:#fff}

.hover-zoom .movie-card:hover .movie-card__img,.hover-both .movie-card:hover .movie-card__img{transform:scale(1.05)}
.hover-lift .movie-card:hover,.hover-both .movie-card:hover{transform:translateY(-4px);box-shadow:0 10px 22px rgba(0,0,0,.35)}
.daudbd-grid--related .movie-card:hover .movie-card__img,.daudbd-grid--mini .movie-card:hover .movie-card__img{transform:scale(1.05)}

@media (max-width:575px){
  .movie-card__title{font-size:min(var(--card-title-size),14px)}
  .movie-card__body{padding:8px}
}

/* ---------- Home grid: inset like the reference (6 cards ~214px) ---------- */

/* ---------- Hover: dark overlay + play icon on the poster ---------- */
.movie-card__poster::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.38);opacity:0;transition:opacity .3s ease;pointer-events:none}
.movie-card__play{position:absolute;top:50%;left:50%;z-index:3;display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:-29px 0 0 -29px;padding-left:3px;border:2px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(0,0,0,.62);color:#fff;opacity:0;transform:scale(.7);transition:opacity .3s ease,transform .3s ease;pointer-events:none}
.movie-card:hover .movie-card__poster::after,.movie-card:focus-within .movie-card__poster::after{opacity:1}
.movie-card:hover .movie-card__play,.movie-card:focus-within .movie-card__play{opacity:1;transform:scale(1)}
.movie-card__badges{z-index:4}
.daudbd-grid--mini .movie-card__play{width:38px;height:38px;margin:-19px 0 0 -19px}
.daudbd-grid--mini .movie-card__play svg{width:18px;height:18px}
@media (hover:none){
  .movie-card__poster::after,.movie-card__play{display:none}
}

/* ---------- Pagination ---------- */
.daudbd-pagination{margin:26px 0 12px;text-align:center}
.daudbd-pagination .nav-links{display:inline-flex;flex-wrap:wrap;justify-content:center}
.daudbd-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:54px;margin-left:-1px;padding:0 18px;background:#fff;border:1px solid #d6d6d6;color:var(--link-dark);font-size:16px;line-height:1}
.daudbd-pagination a.page-numbers:hover{background:#f6e8ee;text-decoration:none}
.daudbd-pagination .page-numbers.current{background:#dddddd;color:var(--link-blue);font-weight:700}
.daudbd-pagination .page-numbers.dots{min-width:48px;color:#5a7fb3;background:#fff}
@media (max-width:575px){
  .daudbd-pagination .page-numbers{min-width:40px;height:44px;padding:0 10px;font-size:14px}
  .daudbd-pagination .page-numbers.dots{min-width:30px}
}

/* ---------- Content boxes ---------- */
.content-box{background:var(--content);padding:25px 22px;color:#333;margin:0 0 22px}
.no-results{text-align:center}
.button-link{display:inline-block;padding:10px 18px;background:var(--accent);color:#fff;border-radius:4px}
.button-link:hover{text-decoration:none;filter:brightness(1.15)}

/* ---------- Single layout ---------- */
.layout{display:grid;gap:30px;align-items:start}
.layout--sidebar-right{grid-template-columns:minmax(0,66fr) minmax(0,32fr)}
.layout--sidebar-left{grid-template-columns:minmax(0,32fr) minmax(0,66fr)}
.layout--sidebar-left .layout__main{order:2}
.layout--sidebar-left .sidebar{order:1}
.layout--full{grid-template-columns:minmax(0,1fr)}
@media (max-width:991px){
  .layout--sidebar-right,.layout--sidebar-left{grid-template-columns:minmax(0,1fr)}
  .layout--sidebar-left .layout__main,.layout--sidebar-left .sidebar{order:0}
}
@media (max-width:575px){.layout{gap:20px}}

.entry-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.meta-pill{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:10px 14px;background:#fff;color:#333;font-size:16px;line-height:1.3;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.meta-pill .icon{width:20px;height:20px}
a.meta-pill:hover{text-decoration:none;background:#f7f7f7}
.meta-pill--date{background:var(--accent);color:#fff}
.meta-pill--title{color:#444}
@media (max-width:575px){.meta-pill{font-size:14px;padding:8px 10px}}

.entry-content{overflow-wrap:break-word;line-height:1.7;padding:30px 25px}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{margin:1.2em 0 .5em;color:#111}
.entry-content h2{font-size:24px}
.entry-content h3{font-size:20px}
.entry-content img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}
.entry-content .entry-thumb{text-align:center;margin-bottom:1.2em}
.entry-content .entry-thumb img{margin:0 auto}
.entry-content figure{margin:0 0 1.2em;max-width:100%}
.entry-content figcaption{font-size:14px;color:#666;text-align:center}
.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object{max-width:100%}
.entry-content .wp-block-embed__wrapper,.entry-content .is-type-video{position:relative}
.entry-content table{width:100%;border-collapse:collapse;margin-bottom:1.2em;display:block;overflow-x:auto}
.entry-content th,.entry-content td{padding:8px 10px;border:1px solid #ddd;text-align:left}
.entry-content a{color:#0b3d91;text-decoration:underline}
.entry-content a.button,.entry-content a.btn,.entry-content .wp-block-button__link{display:inline-block;padding:10px 20px;background:var(--accent);color:#fff;border-radius:4px;text-decoration:none}
.entry-content pre{overflow:auto;padding:12px;background:#f4f4f4}
.page-links{margin:1em 0;font-weight:700}
@media (max-width:575px){.entry-content{padding:18px 12px}}

/* ---------- Related ---------- */
.related{margin:0 0 22px}
.related__box{background:var(--content);padding:25px 22px}
.daudbd-grid--related{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media (max-width:767px){.daudbd-grid--related{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media (max-width:575px){.daudbd-grid--related{grid-template-columns:repeat(2,minmax(0,1fr))}.related__box{padding:14px 10px}}
.daudbd-grid--related .movie-card__title{font-size:15px}

/* ---------- Sidebar ---------- */
.sidebar{min-width:0}
.widget{margin:0 0 20px}
.widget-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:11px 15px;background:var(--heading);color:#fff;font-size:18px;font-weight:400;line-height:1.35}
.widget-title::before{content:"";flex:0 0 22px;width:22px;height:22px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM15 13h4v8h-4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM15 13h4v8h-4z'/%3E%3C/svg%3E") center/contain no-repeat}

.widget_webxhd_ad{background:var(--heading);padding:12px;text-align:center}
.widget-ad img{display:block;max-width:100%;height:auto;margin:0 auto}

.widget-cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin:0;padding:0;list-style:none}
.widget-cat-grid li{margin:0}
.widget-cat-grid a{display:block;height:100%;padding:13px 18px;background:var(--accent);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:16px;line-height:1.35;overflow-wrap:anywhere;transition:filter .2s}
.widget-cat-grid a:hover{filter:brightness(.82);text-decoration:none}

.daudbd-grid--mini{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.daudbd-grid--mini .movie-card{border-radius:min(var(--card-radius),10px)}
.daudbd-grid--mini .movie-card__body{padding:8px}
.daudbd-grid--mini .movie-card__title{font-size:13px;line-height:1.4}
@media (max-width:575px){.daudbd-grid--mini{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Search form (generic) ---------- */
.search-form{display:flex;justify-content:center;gap:0;max-width:480px;margin:0 auto 1em}
.search-form .search-field{flex:1 1 auto;min-width:0;height:44px;padding:0 12px;border:1px solid #bbb;border-radius:0;-webkit-appearance:none;appearance:none}
.search-form .search-submit{height:44px;padding:0 18px;border:0;background:var(--search-btn);color:#fff;cursor:pointer}

/* ---------- Comments ---------- */
.comments__title{font-size:20px}
.comment-list{list-style:none;padding:0}
.comment-list .children{list-style:none;padding-left:20px}
.comment-body{padding:12px 0;border-bottom:1px solid #eee}
.comment-author .avatar{float:left;margin-right:10px;border-radius:50%}
.comment-metadata{font-size:13px;color:#777}
.comment-form label{display:block;margin-bottom:4px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;padding:9px;border:1px solid #bbb}
.comment-form .submit{padding:10px 20px;border:0;background:var(--accent);color:#fff;cursor:pointer}

/* ---------- Footer ---------- */
.site-footer{margin-top:30px;padding:20px 0;background:var(--footer-bg);color:var(--footer-text)}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
.footer-copy{margin:0;color:var(--footer-text);font-size:17px}
.footer-copy a{color:var(--footer-text);text-decoration:underline}
.footer-menu{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;padding:0;list-style:none}
.footer-menu li{margin:0}
.footer-menu a{color:var(--footer-text);font-size:17px}
.footer-menu a:hover{text-decoration:underline}
@media (max-width:767px){
  .footer-inner{flex-direction:column;align-items:flex-start;text-align:left}
  .footer-copy,.footer-menu a{font-size:15px}
}

/* ---------- WordPress core alignment classes ---------- */
.alignleft{float:left;margin:0 1.2em 1em 0}
.alignright{float:right;margin:0 0 1em 1.2em}
.aligncenter{display:block;margin:0 auto 1em}
.wp-caption{max-width:100%}
.sticky,.bypostauthor{display:block}
.gallery-caption{display:block}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* =====================================================================
   DAUDBD — Inter font, 1100px container (header, categories, latest
   movies, content and footer all share --container)
   ===================================================================== */
.container{width:100%;max-width:var(--container);padding-left:12px;padding-right:12px}

/* Movie card: poster fills the card edge to edge, no extra black border */
.movie-card__poster{margin:0;padding:0;border-radius:0}
.movie-card__img{width:100%;height:100%;object-fit:cover}
.movie-card__badges{top:auto;left:auto;right:8px;bottom:8px;justify-content:flex-end}
.movie-card__badge{border-radius:8px;border:0;font-size:13px}
.movie-card__badge:not(.movie-card__badge--quality){display:none}

/* Footer: original row layout + credit line */
.footer-inner{flex-wrap:wrap}
.footer-copy,.footer-menu a{font-size:16px}
.daudbd-credit{flex:0 0 100%;margin:4px 0 0;padding-top:10px;border-top:1px solid rgba(255,255,255,.15);text-align:center;font-size:14px;color:var(--footer-text)}
.daudbd-credit a{color:var(--footer-text);font-weight:700;text-decoration:underline}
.daudbd-credit a:hover{opacity:.8}
@media (max-width:767px){.footer-inner{align-items:center;text-align:center}.footer-menu{justify-content:center}}

/* =====================================================================
   DAUDBD — single movie post (everything centred)
   ===================================================================== */
.entry-content{text-align:center}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content p{text-align:center}
.entry-content h2{font-size:22px;line-height:1.4;margin:.2em 0 .8em}
.entry-content h3{margin:1.6em 0 .7em;padding:10px 14px;background:var(--heading);color:#fff;font-size:18px;font-weight:600}
.entry-content img,.entry-content .aligncenter{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}
.entry-content img[width="300"]{width:300px}
.entry-content center,.entry-content center strong{display:block;text-align:center}

/* movie info box */
.entry-content .fname{display:block;max-width:560px;margin:18px auto;padding:16px 20px;background:#f6f6f6;border:1px solid #ddd;border-radius:10px;color:#222;font-size:15px;line-height:1.9;text-align:center}

/* film story */
.entry-content [data-testid="plot-xl"]{display:block;max-width:760px;margin:0 auto 1em;color:#333;line-height:1.75;text-align:center}

/* download / watch buttons */
.entry-content a.buttn,.buttn{display:inline-block;margin:6px;padding:12px 26px;background:var(--accent);color:#fff;border-radius:8px;font-size:15px;font-weight:600;line-height:1.3;text-align:center;text-decoration:none;box-shadow:0 3px 8px rgba(0,0,0,.25);transition:transform .2s,filter .2s}
.entry-content a.buttn:hover,.buttn:hover{color:#fff;text-decoration:none;filter:brightness(1.15);transform:translateY(-2px)}
.entry-content a.buttn:nth-of-type(2n){background:#1f6feb}

@media (max-width:575px){
  .entry-content h2{font-size:18px}
  .entry-content img[width="300"]{width:min(300px,80%)}
  .entry-content .fname{padding:14px;font-size:14px}
  .entry-content a.buttn,.buttn{display:block;max-width:320px;margin:8px auto}
}

/* =====================================================================
   DAUDBD — Dark colour theme (Customizer > Colours > Colour theme)
   Header / footer / cards / categories use the Customizer colours;
   everything below handles the parts that are not colour options.
   ===================================================================== */
body.theme-dark{--content:#12152a;--surface:#161a2e;--surface-2:#1d2240;--link:#9a8cff;--text:#e8eaf3;--link-dark:var(--link);--link-blue:var(--link);background:var(--bg);color:var(--text)}
.theme-dark .site-header{box-shadow:none;border-bottom:1px solid rgba(255,255,255,.08)}
.theme-dark .header-search input[type=search]{background:var(--surface);color:#fff;border-color:rgba(255,255,255,.18);border-radius:10px 0 0 10px}
.theme-dark .header-search input[type=search]::placeholder{color:#8a90a8}
.theme-dark .header-search button{border-radius:0 10px 10px 0}
.theme-dark .section-heading__title{border-radius:10px}
.theme-dark .movie-card{border-color:rgba(255,255,255,.1)}
.theme-dark .content-box,.theme-dark .related__box{border:1px solid rgba(255,255,255,.08);border-radius:14px;color:#e8eaf3}
.theme-dark .meta-pill{background:var(--surface);color:#fff;border:1px solid rgba(255,255,255,.08);border-radius:8px;box-shadow:none}
.theme-dark a.meta-pill:hover{background:var(--surface-2)}
.theme-dark .meta-pill--date{background:var(--accent)}
.theme-dark .meta-pill--title{color:#cfd3e6}
.theme-dark .entry-content h1,.theme-dark .entry-content h2,.theme-dark .entry-content h4{color:#fff}
.theme-dark .entry-content a:not(.buttn){color:var(--link)}
.theme-dark .entry-content th,.theme-dark .entry-content td{border-color:rgba(255,255,255,.14)}
.theme-dark .entry-content pre{background:var(--surface);color:#e8eaf3}
.theme-dark .entry-content .fname{background:var(--surface);border-color:rgba(255,255,255,.12);color:#fff}
.theme-dark .entry-content [data-testid="plot-xl"]{color:#cfd3e6}
.theme-dark .entry-content [data-testid="plot-xl"] strong{color:#fff}
.theme-dark .widget-cat-grid a{background:var(--surface);border-radius:8px}
.theme-dark .widget-cat-grid a:hover{filter:none;background:var(--accent)}
.theme-dark .daudbd-pagination .nav-links{gap:6px}
.theme-dark .daudbd-pagination .page-numbers{min-width:44px;height:44px;margin:0;padding:0 14px;background:var(--surface);border:1px solid rgba(255,255,255,.08);border-radius:10px;color:#fff}
.theme-dark .daudbd-pagination a.page-numbers:hover{background:var(--accent);color:#fff}
.theme-dark .daudbd-pagination .page-numbers.current{background:var(--accent);border-color:transparent;color:#fff}
.theme-dark .daudbd-pagination .page-numbers.dots{background:transparent;border-color:transparent;color:#8a90a8}
.theme-dark .comment-body{border-bottom-color:rgba(255,255,255,.1)}
.theme-dark .comment-metadata{color:#9aa0b8}
.theme-dark .comment-form input[type=text],.theme-dark .comment-form input[type=email],.theme-dark .comment-form input[type=url],.theme-dark .comment-form textarea{background:var(--surface);border-color:rgba(255,255,255,.15);color:#fff}
.theme-dark .search-form .search-field{background:var(--surface);border-color:rgba(255,255,255,.15);color:#fff}
.theme-dark .site-footer{border-top:1px solid rgba(255,255,255,.08)}
.theme-dark .footer-copy a{color:var(--link);text-decoration:none}
.theme-dark .daudbd-credit{border-top-color:rgba(255,255,255,.1)}

/* ---- Extra colour themes (surface / link colours that are not Customizer options) ---- */
body.theme-gold{--content:#14120c;--surface:#1b1810;--surface-2:#26210f;--link:#f5c542}
body.theme-ocean{--content:#0b1a2a;--surface:#10243a;--surface-2:#16314f;--link:#38bdf8}
body.theme-emerald{--content:#0c1a15;--surface:#11241d;--surface-2:#17332a;--link:#34d399}
body.theme-crimson{--content:#1a0d10;--surface:#231216;--surface-2:#321a20;--link:#ff7a8c}
body.theme-cyan{--content:#09191f;--surface:#0e2630;--surface-2:#133541;--link:#22d3ee}
body.theme-lime{--content:#10170a;--surface:#182211;--surface-2:#222f17;--link:#a3e635}
body.theme-violet{--content:#120b1f;--surface:#1a1030;--surface-2:#251745;--link:#a78bfa}
body.theme-rose{--content:#1a0b14;--surface:#26121e;--surface-2:#361a2b;--link:#f472b6}
body.theme-sunset{--content:#1a0f07;--surface:#25160b;--surface-2:#35200f;--link:#fb923c}
body.theme-midnight{--content:#0e1320;--surface:#141c2e;--surface-2:#1c2740;--link:#7dd3fc}
/* custom colour theme: surfaces derived from the chosen colours */
body.theme-custom.theme-dark{--content:color-mix(in srgb,var(--bg),#fff 5%);--surface:color-mix(in srgb,var(--bg),#fff 9%);--surface-2:color-mix(in srgb,var(--bg),#fff 15%);--link:color-mix(in srgb,var(--accent),#fff 40%)}
body.theme-custom.theme-light{--link-dark:var(--accent);--link-blue:var(--accent)}
/* light accents (cyan / lime / sunset) need dark text on accent-coloured items */
.theme-lime .entry-content a.buttn,.theme-lime .buttn,.theme-lime .meta-pill--date,.theme-lime .daudbd-pagination .page-numbers.current,.theme-lime .daudbd-pagination a.page-numbers:hover,.theme-lime .button-link,.theme-lime .comment-form .submit,.theme-lime .widget-cat-grid a:hover,.theme-cyan .entry-content a.buttn,.theme-cyan .buttn,.theme-cyan .meta-pill--date,.theme-cyan .daudbd-pagination .page-numbers.current,.theme-cyan .daudbd-pagination a.page-numbers:hover,.theme-cyan .button-link,.theme-cyan .comment-form .submit,.theme-cyan .widget-cat-grid a:hover{color:#08121a}
/* sky light */
body.theme-skylight{--link-dark:#0891b2;--link-blue:#0e7490}
.theme-skylight .movie-card,.theme-skylight .content-box,.theme-skylight .related__box{border-radius:14px}
.theme-skylight .entry-content a:not(.buttn){color:#0e7490}
/* gold accent is light: use dark text on accent-coloured items */
.theme-gold .entry-content a.buttn,.theme-gold .buttn,.theme-gold .meta-pill--date,.theme-gold .daudbd-pagination .page-numbers.current,.theme-gold .daudbd-pagination a.page-numbers:hover,.theme-gold .button-link,.theme-gold .comment-form .submit,.theme-gold .widget-cat-grid a:hover{color:#111}
.theme-gold .entry-content a.buttn:nth-of-type(2n){background:#2a2008;color:#f5c542;border:1px solid #b8860b}
/* modern light */
body.theme-modernlight{--link-dark:#4f46e5;--link-blue:#4338ca}
.theme-modernlight .movie-card,.theme-modernlight .content-box,.theme-modernlight .related__box{border-radius:14px}
.theme-modernlight .entry-content a:not(.buttn){color:#4f46e5}

/* =====================================================================
   DAUDBD — Live search dropdown
   ===================================================================== */
@media (min-width:992px){.header-search.has-live-search{position:relative}}
.live-search{position:absolute;top:calc(100% + 6px);right:0;z-index:80;width:min(440px,92vw);max-height:70vh;overflow-y:auto;background:var(--content,#fff);color:var(--text,#222);border:1px solid rgba(128,128,128,.35);border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.35);text-align:left}
.live-search[hidden]{display:none}
.live-search__item{display:flex;align-items:center;gap:12px;padding:8px 12px;color:var(--text,#222);border-bottom:1px solid rgba(128,128,128,.2);text-decoration:none}
.live-search__item:hover,.live-search__item.is-active{background:rgba(128,128,128,.18);text-decoration:none}
.live-search__thumb{flex:0 0 46px;width:46px;height:69px;object-fit:cover;border-radius:6px;background:#222}
.live-search__title{flex:1 1 auto;min-width:0;font-size:14px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.live-search__badge{flex:0 0 auto;padding:2px 8px;border-radius:6px;background:#222;background:color-mix(in srgb,var(--accent) 55%,#000);color:#fff;font-size:12px;font-weight:700}
.live-search__all{display:block;padding:11px 12px;text-align:center;font-weight:700;color:var(--accent);text-decoration:none}
.live-search__all:hover{background:rgba(128,128,128,.18);text-decoration:none}
.live-search__empty{padding:14px 12px;text-align:center;font-size:14px;opacity:.8}
@media (max-width:991px){.live-search{left:0;right:0;width:auto;max-height:60vh;border-radius:0 0 10px 10px}}

/* =====================================================================
   9xMovies2.0 — breadcrumbs, responsive embeds
   Design & Developed By: DaudBD.com | https://daudbd.com/
   ===================================================================== */
.breadcrumbs{margin:0 0 14px;font-size:14px;line-height:1.5;color:#444}
.breadcrumbs__list{display:flex;flex-wrap:wrap;gap:2px 0;margin:0;padding:0;list-style:none}
.breadcrumbs__item{display:inline-flex;align-items:center;min-width:0;margin:0;overflow-wrap:anywhere}
.breadcrumbs__item+.breadcrumbs__item::before{content:"\203A";margin:0 8px;opacity:.6}
.breadcrumbs a{color:var(--link-dark)}
.breadcrumbs [aria-current]{color:inherit;opacity:.85}
.theme-dark .breadcrumbs{color:#cfd3e6}

/* embeds keep their proportions instead of a fixed pixel height on small screens */
.entry-content iframe{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;margin-left:auto;margin-right:auto;border:0}
.entry-content video{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}
.entry-content pre,.entry-content code{overflow-wrap:anywhere}
.entry-content pre{white-space:pre-wrap}

.home-h1{margin:6px 0 14px;font-weight:400;line-height:1.3;overflow-wrap:anywhere}
.home-intro{margin:0 0 18px;padding:10px 14px;border-radius:6px;line-height:1.5}
@media (max-width:575px){.home-h1{font-size:min(28px,7vw)!important}}
