/*
Theme Name: Abdaa Stream
Theme URI: https://example.com/
Author: Abdaa
Description: قالب عربي سريع لمنصة الفيديوهات القصيرة والطويلة مع Bunny Stream.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: abdaa-stream
*/
:root{--bg:#000;--panel:#111;--panel-2:#181818;--text:#f7f7f7;--muted:#a5a5a5;--line:#282828;--accent:#e50914;--radius:14px}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,Arial,sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.site-header{border-bottom:1px solid var(--line);background:rgba(5,5,5,.96);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}.header-inner{max-width:1240px;margin:auto;min-height:76px;padding:10px 22px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{flex:0 0 auto}.brand img{display:block;width:auto;height:52px;max-width:205px;object-fit:contain}.site-search{display:flex;align-items:center;flex:1;max-width:360px;background:#151515;border:1px solid #2b2b2b;border-radius:999px;overflow:hidden;transition:border-color .2s,box-shadow .2s}.site-search:focus-within{border-color:#e50914;box-shadow:0 0 0 3px rgba(229,9,20,.16)}.site-search input[type=search]{min-width:0;flex:1;background:transparent;border:0;outline:0;color:#fff;font:inherit;padding:9px 15px}.site-search input::placeholder{color:#777}.site-search button{width:44px;height:42px;border:0;background:transparent;color:#fff;cursor:pointer;font-size:25px;line-height:1}.site-search button:hover{color:#ff3040}.container{width:min(1240px,calc(100% - 32px));margin:auto}.ad-slot{margin:18px auto;min-height:0;text-align:center;overflow:hidden}.ad-slot:empty{display:none}.site-main{padding:12px 0 45px}.page-title{font-size:clamp(23px,3vw,34px);margin:20px 0 24px}.film-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.film-card{min-width:0}.poster-wrap{aspect-ratio:2/3;overflow:hidden;background:var(--panel);border-radius:var(--radius);border:1px solid #222;position:relative;box-shadow:0 8px 25px rgba(0,0,0,.25)}.poster-wrap img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.film-card:hover img{transform:scale(1.04)}.hd-badge{position:absolute;top:10px;right:10px;z-index:2;background:#e50914;color:#fff;border-radius:5px;padding:1px 7px;font-size:12px;font-weight:800;letter-spacing:.4px;box-shadow:0 3px 12px rgba(0,0,0,.45)}.film-card h2{font-size:15px;line-height:1.45;margin:9px 3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inline-ad{grid-column:1/-1;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px;text-align:center;overflow:hidden}.video-box{background:#090909;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);aspect-ratio:16/9}.video-box iframe,.video-box video{display:block;width:100%;height:100%;border:0;background:#000}.film-title{font-size:clamp(24px,4vw,40px);margin:24px 0 8px}.story{color:#d0d0d0;font-size:16px;white-space:pre-line}.share-row{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.share-button{border:1px solid var(--line);background:var(--panel-2);color:#fff;border-radius:9px;padding:9px 15px;cursor:pointer;font:inherit}.share-button:hover{border-color:var(--accent)}.section-title{font-size:22px;margin:28px 0 15px}.site-footer{border-top:1px solid var(--line);color:var(--muted);padding:24px 0;text-align:center;font-size:13px}.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-bottom:8px}.empty-state{text-align:center;color:var(--muted);padding:60px 10px}.pagination{margin:28px 0;text-align:center}.pagination a,.pagination span{display:inline-block;padding:8px 12px;margin:3px;border:1px solid var(--line);border-radius:8px}.pagination .current{background:var(--accent);border-color:var(--accent)}@media(max-width:480px){.header-inner{gap:10px;padding-inline:14px}.brand img{height:42px;max-width:160px}.site-search{max-width:none}.site-search input[type=search]{width:80px;font-size:13px;padding-inline:10px}.site-search button{width:38px}}@media(min-width:700px){.film-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}.header-inner{justify-content:flex-start}.brand img{height:58px}.container{width:min(1240px,calc(100% - 48px))}}@media(min-width:1100px){.film-grid{gap:28px 20px}}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rtl{direction:rtl}

/* Refined carbon theme and share icon controls */
body{background:#090909}.site-main{background:linear-gradient(180deg,#090909 0%,#0b0b0b 72%,#090909 100%)}.site-header{background:rgba(5,5,5,.96)}.film-card h2{color:#f2f2f2}.share-row{align-items:center}.share-button{display:inline-flex;align-items:center;gap:9px;min-height:43px;padding:9px 14px;border-radius:12px;background:#151515;transition:transform .2s,background .2s,border-color .2s,color .2s}.share-button svg{width:20px;height:20px;fill:currentColor}.share-button:hover{transform:translateY(-2px);color:#fff}.share-whatsapp:hover{background:#159447;border-color:#159447}.share-telegram:hover{background:#168dcc;border-color:#168dcc}.share-copy:hover,.share-native:hover{background:#e50914;border-color:#e50914}.share-button[data-share=copy].is-copied{background:#238636;border-color:#238636}.share-button span{font-size:14px}@media(max-width:480px){.share-button{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border-radius:50%}.share-button span{display:none}.share-button svg{width:21px;height:21px}.share-row{gap:9px}}

/* Final vertical logo lockup */
.header-inner{min-height:142px;justify-content:space-between}.brand img{width:128px;height:128px;max-width:none;object-fit:contain}.site-search{max-width:360px}@media(max-width:480px){.header-inner{min-height:108px;padding-block:8px}.brand img{width:92px;height:92px}.site-search{max-width:calc(100% - 106px)}}

/* Original supplied PNG logo: preserve its 16:9 aspect ratio exactly */
.brand img{width:230px;height:130px;max-width:230px;object-fit:contain}.header-inner{min-height:150px}@media(max-width:480px){.brand img{width:170px;height:96px;max-width:170px}.header-inner{min-height:112px}.site-search{max-width:calc(100% - 180px)}}

/* DimaShorts horizontal logo */
.brand img{display:block;width:200px;height:auto;max-width:200px;object-fit:contain}.header-inner{min-height:116px}@media(max-width:480px){.brand img{width:148px;max-width:148px}.header-inner{min-height:96px;padding-block:8px}.site-search{max-width:calc(100% - 160px)}}

/* Default portrait player for short dramas */
.video-box{aspect-ratio:9/16;width:min(100%,560px);margin-inline:auto;background:#000}.video-box iframe,.video-box video{width:100%;height:100%;object-fit:contain}@media(max-width:600px){.video-box{width:100%;max-width:100%;border-radius:12px}}

/* Editorial footer */
.site-footer{background:#070707;border-top:1px solid #242424;text-align:initial;padding:42px 0 20px;color:#aaa}.footer-brand{text-align:center;margin-bottom:30px}.footer-brand strong{font-size:30px;color:#f3f3f3;letter-spacing:-1px}.footer-brand strong span{color:#ed142a}.footer-brand p{margin:4px 0 0;color:#777;font-size:13px}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:760px;margin:0 auto 32px;text-align:center}.footer-grid h3{margin:0 0 12px;color:#f5f5f5;font-size:15px}.footer-grid a{display:block;color:#888;font-size:13px;padding:3px 0;transition:color .2s}.footer-grid a:hover{color:#ed142a}.footer-bottom{border-top:1px solid #1d1d1d;padding-top:16px;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#666}.footer-bottom a{color:#ed142a}@media(max-width:560px){.site-footer{padding-top:32px}.footer-grid{grid-template-columns:1fr 1fr;gap:22px}.footer-grid>div:last-child{grid-column:1/-1}.footer-bottom{flex-direction:column;text-align:center;align-items:center}}

/* Simple three-link footer */
.site-footer{border-top:1px solid #242424;background:#070707;color:#777;padding:24px 0;text-align:center;font-size:13px}.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin-bottom:12px}.footer-links a{color:#bdbdbd;transition:color .2s}.footer-links a:hover{color:#ed142a}

.page-content{max-width:920px;padding-block:18px 50px}.page-content .story h2{color:#f4f4f4;margin-top:28px}.page-content .story ul{padding-inline-start:24px}


/* Deep Drama-inspired system typography; logo remains image-only */
body,.site-search input[type=search],.share-button{font-family:'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.site-search button{font-family:Arial,sans-serif}h1,h2,h3,h4,h5,h6,.page-title,.film-title,.section-title,.film-card h2{font-family:'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-weight:700;line-height:1.45}.story{font-family:'Segoe UI',Roboto,Helvetica,Arial,sans-serif}

/* Film genre badges */
.film-genres{display:flex;flex-wrap:wrap;gap:5px;margin:7px 3px 0;overflow:hidden;max-height:28px}.film-genres span{display:inline-block;background:#1b1b1b;border:1px solid #303030;color:#bdbdbd;border-radius:999px;padding:1px 7px;font-size:11px;line-height:1.7;white-space:nowrap}.film-card:hover .film-genres span{border-color:#e50914;color:#fff}.page-title{margin-bottom:20px}

/* Compact mobile header: reduce vertical whitespace while keeping controls legible */
@media(max-width:480px){.header-inner{min-height:72px;padding-block:4px;gap:10px}.brand img{width:120px;max-width:120px}.site-search{max-width:calc(100% - 130px)}}

/* Equal-width logo and search field on mobile */
@media(max-width:480px){.brand{flex:0 0 calc(50% - 5px)}.brand img{display:block;width:100%;height:auto;max-width:none;object-fit:contain}.site-search{flex:0 0 calc(50% - 5px);max-width:none}}
