/*
Theme Name: MovieFlix Dark Red
Theme URI: https://example.com/
Author: MovieFlix
Description: Responsive dark red movie theme with embed URL, iframe and MP4 playback.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: movieflix-dark-red
*/
:root{--bg:#09090b;--panel:#141417;--red:#e50914;--text:#f5f5f7;--muted:#aaa;--border:#2b2b30}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#ff3844}img{max-width:100%;height:auto}.container{max-width:1440px;margin:auto;padding:0 24px}.site-header{position:sticky;top:0;z-index:50;background:#09090bef;border-bottom:1px solid #521014;backdrop-filter:blur(12px)}.header-inner{display:flex;align-items:center;gap:28px;min-height:76px}.brand{font-weight:900;font-size:29px;letter-spacing:-1px;white-space:nowrap}.brand span{color:var(--red)}.nav{display:flex;align-items:center;gap:22px;flex:1}.nav ul{display:flex;gap:20px;list-style:none;padding:0;margin:0}.nav a{font-weight:650;font-size:14px}.search-form{display:flex;border:1px solid #45454b;border-radius:9px;overflow:hidden;max-width:320px;width:100%}.search-form input{background:transparent;color:#fff;padding:12px;border:0;min-width:0;flex:1;outline:0}.search-form button,.btn{border:0;background:var(--red);color:white;padding:12px 19px;border-radius:7px;cursor:pointer;font-weight:750}.search-form button{border-radius:0}.hero{min-height:360px;display:flex;align-items:center;position:relative;background:radial-gradient(ellipse at 82% 20%,#891018 0%,#21090c 35%,#09090b 75%);border-bottom:1px solid var(--border);overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08080a 12%,transparent 100%);pointer-events:none}.hero-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:35px;padding-top:38px;padding-bottom:38px}.hero-copy{max-width:650px;z-index:1}.hero h1{font-size:clamp(32px,4vw,56px);line-height:1.12;margin:14px 0}.hero p{color:#c8c8cb;max-width:570px}.hero-image{width:32%;max-height:310px;object-fit:cover;aspect-ratio:16/10;border-radius:16px;box-shadow:0 20px 90px #0009}.pill{background:#b80d17;color:white;font-weight:750;font-size:12px;padding:5px 10px;border-radius:5px}.section{padding-top:35px;padding-bottom:12px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.section-title h2{font-size:25px;margin:0}.section-title a{font-size:14px;color:#ff3642}.movie-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.movie-card{background:var(--panel);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s;border:1px solid #202024}.movie-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px #0009}.poster{position:relative;aspect-ratio:16/10;background:linear-gradient(130deg,#401115,#17171c);overflow:hidden}.poster img{display:block;width:100%;height:100%;object-fit:cover}.poster .pill{position:absolute;top:9px;left:9px}.movie-meta{padding:12px}.movie-meta h3{font-size:15px;line-height:1.35;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.movie-meta small{color:#aaa}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;padding-top:34px}.player{position:relative;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}.player iframe,.player video{position:absolute;inset:0;width:100%;height:100%;border:0}.article-title{font-size:clamp(24px,3vw,36px);line-height:1.25;margin:20px 0 10px}.article-info{color:#a7a7ae;font-size:14px}.article-body{padding:20px 0;overflow-wrap:anywhere}.article-body img{border-radius:10px}.sidebar{background:#111114;border:1px solid var(--border);border-radius:12px;padding:18px;align-self:start}.sidebar h3{margin-top:0}.sidebar ul{padding-left:20px}.pagination{display:flex;gap:10px;justify-content:center;margin:35px 0}.pagination .page-numbers{padding:8px 13px;background:#202024;border-radius:6px}.pagination .current{background:var(--red)}.site-footer{border-top:1px solid var(--border);color:#999;margin-top:55px;padding:32px 0}.notice{padding:30px;background:#17171a;border-radius:10px}.comments-area{margin-top:28px}.comments-area textarea,.comments-area input{background:#19191d;color:#fff;border:1px solid #45454b;padding:10px;max-width:100%;border-radius:6px}.comments-area .submit{background:var(--red);border:0;color:#fff;padding:10px 18px;border-radius:6px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:1200px){.movie-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.nav{gap:10px}.nav ul{gap:12px}}@media(max-width:850px){.header-inner{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}.nav{order:3;width:100%;overflow-x:auto}.nav ul{white-space:nowrap}.search-form{margin-left:auto;max-width:240px}.movie-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-layout{grid-template-columns:1fr}.hero-image{width:38%}}@media(max-width:550px){.container{padding-left:14px;padding-right:14px}.brand{font-size:23px}.search-form{max-width:170px}.search-form input{width:80px;padding:9px}.search-form button{padding:9px}.hero{min-height:280px}.hero-inner{min-height:280px}.hero-image{display:none}.hero h1{font-size:32px}.movie-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.movie-meta{padding:9px}.movie-meta h3{font-size:14px}.section-title h2{font-size:21px}.section{padding-top:24px}}

.brand{display:inline-flex;align-items:center;gap:9px}.brand-icon{width:38px;height:38px;object-fit:contain;flex-shrink:0}@media(max-width:550px){.brand-icon{width:30px;height:30px}}
/* MovieFlix 1.0.3: mobile menu */
.movieflix-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:42px;height:42px;flex-shrink:0;border:1px solid #503034;border-radius:9px;background:#1b1114;color:#fff;cursor:pointer}
.movieflix-menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:#fff;transition:transform .2s,opacity .2s}
.movieflix-menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
.movieflix-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.movieflix-menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
@media(max-width:850px){
 .header-inner{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}
 .brand{flex:1 1 auto;min-width:0;font-size:clamp(18px,4vw,24px);overflow:hidden;text-overflow:ellipsis}
 .movieflix-menu-toggle{display:flex;order:2}
 .header-inner>.search-form{order:3;flex:1 1 100%;max-width:none;width:100%;margin:0}
 .header-inner>.search-form input{width:auto;min-width:0}
 .header-inner>.nav{display:none;order:4;flex:1 1 100%;width:100%;max-width:100%;overflow:visible;padding:6px 0 10px;border-top:1px solid #362026}
 .header-inner>.nav.is-open{display:block}
 .header-inner>.nav ul{display:flex;flex-direction:column;gap:0;white-space:normal;list-style:none;margin:0;padding:0}
 .header-inner>.nav li{margin:0;min-width:0}
 .header-inner>.nav a{display:block;padding:11px 12px;border-radius:7px;overflow-wrap:anywhere}
 .header-inner>.nav a:hover,.header-inner>.nav .current-menu-item>a{background:#2b1218;color:#ff4b56}
}
