/*
Theme Name: CineVerse Authorized
Theme URI: https://spornew.net/
Author: MovieHub Studio
Description: ธีมเว็บข้อมูลหนังและซีรีส์สไตล์แพลตฟอร์มสตรีมมิง รองรับ MovieHub Authorized Catalog
Version: 5.1.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: moviehub-authorized
*/
:root{--bg:#07090e;--panel:#11151e;--panel2:#171c27;--text:#f7f8fb;--muted:#9ca6b7;--accent:#e50914;--accent2:#ff3d47;--line:rgba(255,255,255,.09);--radius:18px;--shadow:0 18px 50px rgba(0,0,0,.35)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.mh-wrap{width:min(1440px,calc(100% - 36px));margin:auto}.mh-header{position:sticky;top:0;z-index:50;background:rgba(7,9,14,.82);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.mh-nav{height:72px;display:flex;align-items:center;gap:26px}.mh-logo{font-size:25px;font-weight:900;letter-spacing:-1px}.mh-logo span{color:var(--accent)}.mh-menu{display:flex;gap:22px;align-items:center;font-weight:650;font-size:14px}.mh-menu a{color:#dce1ea}.mh-menu a:hover{color:#fff}.mh-search{margin-left:auto;display:flex;align-items:center;background:rgba(255,255,255,.07);border:1px solid var(--line);border-radius:999px;overflow:hidden}.mh-search input{width:250px;border:0;background:transparent;color:#fff;padding:11px 15px;outline:0}.mh-search button{border:0;background:var(--accent);color:#fff;padding:11px 16px;cursor:pointer}.mh-hero{min-height:570px;display:flex;align-items:flex-end;position:relative;background-size:cover;background-position:center;border-radius:0 0 30px 30px;overflow:hidden}.mh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,9,14,.96) 0%,rgba(7,9,14,.62) 45%,rgba(7,9,14,.12) 75%),linear-gradient(0deg,var(--bg) 0%,transparent 42%)}.mh-hero-inner{position:relative;z-index:2;padding:100px 0 74px;max-width:720px}.mh-kicker{display:inline-flex;background:var(--accent);padding:6px 11px;border-radius:999px;font-size:12px;font-weight:800}.mh-hero h1{font-size:clamp(42px,6vw,78px);line-height:1.03;margin:16px 0;letter-spacing:-3px}.mh-hero p{font-size:17px;color:#d7dbe4;max-width:620px}.mh-meta{display:flex;flex-wrap:wrap;gap:10px;color:#d5d9e2;font-size:14px;margin:15px 0 22px}.mh-meta span{padding:5px 10px;background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:999px}.mh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:#fff;border-radius:10px;padding:12px 20px;font-weight:800}.mh-btn.alt{background:rgba(255,255,255,.1);border:1px solid var(--line);margin-left:8px}.mh-section{padding:28px 0}.mh-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.mh-section h2{font-size:26px;margin:0;letter-spacing:-.6px}.mh-section small,.mh-muted{color:var(--muted)}.mh-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.mh-card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.22s transform,.22s border-color;box-shadow:0 8px 28px rgba(0,0,0,.18)}.mh-card:hover{transform:translateY(-6px);border-color:rgba(229,9,20,.55)}.mh-poster{aspect-ratio:2/3;background:#171b24;overflow:hidden}.mh-poster img{width:100%;height:100%;object-fit:cover;transition:.3s transform}.mh-card:hover .mh-poster img{transform:scale(1.04)}.mh-card-body{padding:13px}.mh-card h3{font-size:15px;line-height:1.35;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mh-card-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.mh-score{color:#ffd15c;font-weight:800}.mh-badge{position:absolute;top:10px;left:10px;background:var(--accent);font-size:11px;font-weight:850;padding:4px 8px;border-radius:7px}.mh-content{padding:50px 0}.mh-single{display:grid;grid-template-columns:300px 1fr;gap:42px}.mh-single-poster{border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}.mh-single h1{font-size:clamp(34px,5vw,58px);line-height:1.1;margin:0 0 12px}.mh-summary{color:#cbd1dc;font-size:17px}.mh-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0}.mh-data div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px}.mh-data b{display:block;color:var(--muted);font-size:12px}.mh-player{aspect-ratio:16/9;margin-top:28px;background:#000;border-radius:18px;overflow:hidden;border:1px solid var(--line)}.mh-player iframe{width:100%;height:100%;border:0}.mh-footer{margin-top:60px;border-top:1px solid var(--line);padding:38px 0;color:var(--muted)}.mh-pagination{display:flex;justify-content:center;gap:8px;padding:35px 0}.mh-pagination .page-numbers{padding:8px 13px;background:var(--panel);border-radius:8px}.mh-pagination .current{background:var(--accent);color:#fff}.mh-empty{padding:50px;background:var(--panel);border-radius:18px;text-align:center;color:var(--muted)}
@media(max-width:1100px){.mh-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.mh-wrap{width:min(100% - 22px,1440px)}.mh-menu{display:none}.mh-search input{width:145px}.mh-hero{min-height:500px}.mh-hero h1{letter-spacing:-1.5px}.mh-grid{grid-template-columns:repeat(2,1fr);gap:12px}.mh-single{grid-template-columns:1fr}.mh-single-poster{max-width:270px}.mh-data{grid-template-columns:1fr}.mh-btn.alt{margin:8px 0 0}}


/* CineVerse v5.1 branding + professional footer */
.mh-brand{display:flex;align-items:center;min-width:170px}.mh-custom-logo,.mh-footer-logo{display:flex;align-items:center}.mh-custom-logo .custom-logo-link,.mh-footer-logo .custom-logo-link{display:inline-flex;align-items:center}.mh-custom-logo img{display:block;width:auto;max-width:240px;max-height:52px;object-fit:contain}.mh-footer-logo img{display:block;width:auto;max-width:280px;max-height:76px;object-fit:contain}.mh-footer{position:relative;margin-top:72px;padding:0;color:#aeb7c7;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0a0d13 0%,#07090e 100%)}.mh-footer:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(229,9,20,.9),transparent)}.mh-footer-top{display:grid;grid-template-columns:minmax(280px,1.65fr) minmax(150px,.7fr) minmax(180px,.8fr) minmax(260px,1fr);gap:46px;padding:52px 0 42px}.mh-footer-brand p{max-width:530px;margin:18px 0;color:#aeb7c7;font-size:14px;line-height:1.85}.mh-footer-column h3{margin:2px 0 16px;color:#fff;font-size:15px;letter-spacing:.2px}.mh-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:10px}.mh-footer-menu a{color:#aeb7c7;font-size:14px;transition:.2s}.mh-footer-menu a:hover{color:#fff;padding-left:4px}.mh-trust-badges{display:flex;flex-wrap:wrap;gap:8px}.mh-trust-badges span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.035);color:#d4dae4;font-size:11px}.mh-source-box{padding:20px;border:1px solid rgba(229,9,20,.25);border-radius:16px;background:linear-gradient(145deg,rgba(229,9,20,.08),rgba(255,255,255,.025));box-shadow:0 14px 40px rgba(0,0,0,.18)}.mh-source-box p{margin:0 0 14px;color:#b8c0ce;font-size:13px;line-height:1.75}.mh-contact-link{color:#fff;font-weight:700;font-size:13px}.mh-footer-bottom{min-height:66px;border-top:1px solid rgba(255,255,255,.07);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#778297;font-size:12px}.mh-footer-status{display:inline-flex;align-items:center;gap:8px}.mh-footer-status i{width:8px;height:8px;border-radius:50%;background:#35d07f;box-shadow:0 0 0 4px rgba(53,208,127,.12)}
@media(max-width:1100px){.mh-footer-top{grid-template-columns:1.4fr 1fr 1fr}.mh-source-box{grid-column:1/-1}.mh-custom-logo img{max-width:200px}}
@media(max-width:760px){.mh-nav{height:66px;gap:12px}.mh-brand{min-width:0}.mh-custom-logo img{max-width:155px;max-height:44px}.mh-logo{font-size:21px}.mh-footer-top{grid-template-columns:1fr;gap:30px;padding:42px 0 32px}.mh-source-box{grid-column:auto}.mh-footer-bottom{padding:18px 0;align-items:flex-start;flex-direction:column}.mh-footer-logo img{max-width:230px}.mh-search input{width:115px}.mh-search button{padding-left:12px;padding-right:12px}}


/* v5.1.1: render WordPress page content and shortcode pages */
.mh-page{min-height:260px}.mh-page-header{margin:0 0 24px}.mh-page-header h1{margin:0;font-size:clamp(30px,4vw,48px);line-height:1.15}.mh-page-body:after{content:"";display:table;clear:both}.page-webboard .mh-content,.page-new-topic .mh-content{padding-top:34px}
