:root{--red:#9c151f;--dark:#151515;--gold:#c8a44d;--muted:#6b7280;--line:#e5e7eb;--bg:#f5f5f3}*{box-sizing:border-box}body{margin:0;font-family:Cairo,Tahoma,Arial,sans-serif;background:#fff;color:#171717}a{color:inherit;text-decoration:none}.wrap{width:min(1320px,94%);margin:auto}.top{background:#111;color:#ddd;font-size:13px}.topbar{display:flex;justify-content:space-between;padding:8px 0}.toplinks{display:flex;gap:18px}.brand{background:#fff;border-bottom:1px solid var(--line)}.brandrow{display:flex;align-items:center;gap:18px;padding:22px 0}.logo-placeholder{width:74px;height:74px;border:2px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:#777;font-size:13px}.brandname{font-size:40px;font-weight:800;color:var(--red);line-height:1}.tagline{margin-top:8px;color:#555}.nav{background:var(--red);color:#fff;box-shadow:0 2px 8px #0002}.navrow{display:flex;gap:0;overflow:auto}.nav a{padding:14px 16px;white-space:nowrap;font-weight:700}.nav a:hover{background:#7e0f18}.breaking{background:#fff3f3;border-bottom:1px solid #f1caca}.breakingrow{display:flex;align-items:center;gap:15px;padding:9px 0}.breaking b{background:var(--red);color:#fff;padding:5px 12px;border-radius:3px}.ticker{display:flex;gap:26px;overflow:hidden;white-space:nowrap}.main{padding:28px 0 60px}.ad{display:block;margin:0 0 24px}.ad img{display:block;max-width:100%;margin:auto}.hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:28px}.lead{position:relative;background:#111;color:#fff;min-height:480px;overflow:hidden}.lead img,.ph{width:100%;height:480px;object-fit:cover}.ph{display:grid;place-items:center;background:linear-gradient(135deg,#191919,#4b1116);font-size:48px;font-weight:800}.lead:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#000d)}.leadcopy{position:absolute;z-index:2;right:28px;left:28px;bottom:26px}.kicker{color:#ffd876;font-weight:700}.lead h1{font-size:34px;line-height:1.5;margin:8px 0}.lead p{margin:0;color:#eee}.latest{border-top:4px solid var(--red)}.latest h2{margin:14px 0}.latestitem{padding:16px 0;border-bottom:1px solid var(--line)}.latestitem span{font-size:12px;color:var(--red);font-weight:700}.latestitem h3{font-size:18px;line-height:1.6;margin:4px 0}.latestitem small{color:var(--muted)}.section{margin-top:42px}.sectionhead{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--dark);margin-bottom:18px}.sectionhead h1,.sectionhead h2{margin:0;padding-bottom:10px;border-bottom:5px solid var(--red)}.sectionhead a{color:var(--red);font-weight:700}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{border-bottom:1px solid var(--line);padding-bottom:16px}.card img,.cardph{width:100%;height:190px;object-fit:cover;background:#eee;display:grid;place-items:center;color:#888}.card h3{font-size:18px;line-height:1.6;margin:10px 0 5px}.card p{color:#555;font-size:14px;line-height:1.8}.dark{background:#151515;color:white;padding:26px;margin-inline:-2%;padding-inline:2%}.videoicon{height:160px;background:#292929;display:grid;place-items:center;font-size:45px;color:var(--gold)}.btn,.primary{display:inline-block;background:var(--red);color:#fff;border:0;padding:10px 16px;border-radius:5px;font-family:inherit;cursor:pointer}.article{max-width:900px;margin:auto}.crumb{color:var(--red);font-size:14px}.article h1{font-size:42px;line-height:1.45;margin:18px 0}.meta{color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:14px}.articleimg{width:100%;max-height:570px;object-fit:cover;margin:24px 0}.dek{font-size:20px;line-height:1.9;font-weight:600}.body{font-size:18px;line-height:2.05}.body img{max-width:100%}.listitem{display:grid;grid-template-columns:260px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.listitem img{width:260px;height:160px;object-fit:cover}.listitem h2{margin:0 0 7px}.searchbox{display:flex;gap:10px;margin-bottom:25px}.searchbox input{flex:1}.footer{background:#111;color:#ddd;padding:42px 0 0}.footgrid{display:grid;grid-template-columns:2fr 1fr;gap:30px}.copy{text-align:center;border-top:1px solid #333;padding:15px;margin-top:25px;font-size:13px}
/* admin */.adminbody{background:#f4f5f7}.sidebar{position:fixed;right:0;top:0;bottom:0;width:245px;background:#161616;color:#fff;padding:22px 15px;overflow:auto}.admbrand{font-size:23px;font-weight:800;color:#fff;padding:8px 10px 22px;border-bottom:1px solid #333;margin-bottom:12px}.admbrand small{display:block;font-size:12px;color:#bbb;margin-top:5px}.sidebar>a,.linkbtn{display:block;width:100%;text-align:right;padding:11px 12px;margin:3px 0;border:0;background:transparent;color:#ddd;font-family:inherit;cursor:pointer}.sidebar>a:hover,.linkbtn:hover{background:#292929;color:#fff}.adminmain{margin-right:245px;padding:0 28px 50px}.adminhead{height:75px;display:flex;align-items:center;justify-content:space-between;font-size:24px;font-weight:800}.adminhead span{font-size:14px;font-weight:600;color:#666}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:8px;padding:18px}.stat strong{font-size:29px;display:block;color:var(--red)}.stat span{font-size:13px;color:#666}.panel{background:white;border:1px solid var(--line);border-radius:8px;padding:22px;overflow:auto}.panelhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panelhead h2{margin:0}table{width:100%;border-collapse:collapse}th,td{text-align:right;padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}th{background:#fafafa}.inline{display:inline}button{font-family:inherit}.form label{display:block;font-weight:700;margin-bottom:16px}.form input,.form textarea,.form select,.searchbox input{width:100%;padding:11px 12px;border:1px solid #ccc;border-radius:5px;font-family:inherit;background:#fff}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.check,.checkgroup label{font-weight:500!important}.check input,.checkgroup input{width:auto}.checkgroup{display:flex;align-items:center;gap:22px}.notice{background:#e7f8ed;border:1px solid #9ad7ac;padding:12px 16px;margin-bottom:18px;border-radius:6px}.error{background:#fff0f0;border:1px solid #e7aaaa;padding:12px 16px;margin-bottom:18px;border-radius:6px;color:#87131a}.loginbody{min-height:100vh;background:#151515;display:grid;place-items:center}.loginbox{width:min(420px,92%);background:#fff;padding:35px;border-radius:10px}.loginbox h1{color:var(--red);margin:0}.loginbox p{color:#666}.loginbox label{display:block;margin:15px 0;font-weight:700}.loginbox input[type=email],.loginbox input[type=password]{display:block;width:100%;padding:11px;border:1px solid #ccc;border-radius:5px;margin-top:6px}.loginbox .primary{width:100%;margin:10px 0}
@media(max-width:1000px){.hero{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(3,1fr)}.sidebar{width:200px}.adminmain{margin-right:200px}}@media(max-width:700px){.brandname{font-size:30px}.logo-placeholder{width:58px;height:58px}.hero{display:block}.latest{margin-top:22px}.lead,.lead img,.ph{min-height:360px;height:360px}.lead h1{font-size:25px}.cards{grid-template-columns:1fr}.article h1{font-size:30px}.listitem{grid-template-columns:1fr}.listitem img{width:100%;height:220px}.sidebar{position:static;width:auto}.adminmain{margin:0;padding:0 12px 35px}.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.adminhead{height:60px;font-size:20px}.navrow{width:100%}}/* Update Center */
.update-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.form-stack{display:flex;flex-direction:column;gap:10px}.form-stack input[type=file]{border:1px dashed #bbb;padding:18px;border-radius:10px;background:#fff}.update-warning{margin-top:16px;padding:12px;border-radius:8px;background:#fff7dd;border:1px solid #ead493}.clean-list{margin:0;padding-right:20px;line-height:2}.table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:11px;border-bottom:1px solid #eee;text-align:right;white-space:nowrap}.status{display:inline-block;padding:3px 9px;border-radius:999px;background:#eee}.status-installed{background:#e6f5ea}.status-failed{background:#fde9e7}.status-rolled_back{background:#fff2cf}.btn.danger{background:#8b1e1e;color:#fff}.btn.small{padding:6px 10px;font-size:12px}@media(max-width:900px){.update-grid{grid-template-columns:1fr}}

/* Account & security */
.admin-user-link{display:flex;align-items:flex-end;flex-direction:column;gap:2px;color:#333}.admin-user-link span{font-size:14px;font-weight:700}.admin-user-link small{font-size:11px;color:var(--red)}.muted{color:#6b7280;font-size:13px;line-height:1.8}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.account-status{grid-column:1/-1}.account-status dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0}.account-status dl div{background:#fafafa;border:1px solid var(--line);border-radius:7px;padding:14px}.account-status dt{font-size:12px;color:#6b7280}.account-status dd{margin:5px 0 0;font-weight:800}.security-note{margin-top:16px;background:#fff8df;border:1px solid #ecd99c;padding:12px 14px;border-radius:7px;line-height:1.8}.form input[dir=ltr]{text-align:left}
@media(max-width:900px){.account-grid{grid-template-columns:1fr}.account-status dl{grid-template-columns:1fr}}

/* Site identity settings - v1.1.6 */
.site-logo{width:98px;height:98px;display:flex;align-items:center;justify-content:center;flex:0 0 98px}.site-logo img{max-width:100%;max-height:98px;object-fit:contain;display:block}.site-banner{width:min(1440px,96%);margin:18px auto 6px}.site-banner-shell{background:#fff;border:1px solid #eadbdc;border-radius:14px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.06)}.site-banner-link,.site-banner-image{display:block;width:100%}.site-banner-image{aspect-ratio:1600/420;object-fit:contain;background:#fff}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.settings-form{display:flex;flex-direction:column;gap:22px}.setting-block{border:1px solid var(--line);border-radius:10px;padding:18px;background:#fafafa}.setting-block h3{margin:0 0 5px}.help{color:#666;font-size:13px;margin:0 0 14px}.setting-preview{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0;display:flex;align-items:center;justify-content:center}.logo-preview{min-height:120px}.logo-preview img{max-width:220px;max-height:110px;object-fit:contain}.banner-preview img{width:100%;aspect-ratio:1600/420;object-fit:contain;background:#fff}.settings-side form{margin:10px 0}.settings-note{margin-top:20px;padding:12px;background:#f7f7f7;border:1px solid var(--line);border-radius:8px;font-size:13px;line-height:1.8}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.site-logo{width:70px;height:70px;flex-basis:70px}.site-logo img{max-height:70px}.site-banner{width:min(100%,96%);margin-top:12px}.site-banner-shell{border-radius:10px}.site-banner-image,.banner-preview img{aspect-ratio:16/5}}@media(max-width:640px){.site-banner{width:min(100%,97%);margin-top:10px}.site-banner-image,.banner-preview img{aspect-ratio:16/6}}


/* Modern electronic newspaper homepage - v1.2.2 */
:root{--news-surface:#fff;--news-soft:#f7f8fa;--news-line:#eceff2;--news-text:#171717;--news-muted:#6b7280}
body{background:#fff;color:var(--news-text)}
.main{padding-top:22px}.breaking-pro{background:#fff7f7;border:0;border-bottom:1px solid #f0d9dc}.breaking-pro .breakingrow{min-height:44px}.breaking-pro b{border-radius:5px;padding:6px 12px}.newspaper-ad{border:0;padding:0;margin-bottom:22px}.newspaper-ad img{max-height:280px;object-fit:contain;border-radius:10px}
.editorial-front{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.9fr);gap:26px;padding:0;border:0}.front-main{min-width:0}.front-lead{background:#fff;border:0;border-radius:12px;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.06)}.front-lead-media,.front-lead-media img,.front-placeholder{display:block;width:100%;height:500px}.front-lead-media img{object-fit:cover}.front-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#241013,#4e171c);color:#fff;font-size:46px;font-weight:800}.front-lead-copy{padding:18px 20px 20px}.eyebrow{display:inline-block;color:var(--red);font-size:12px;font-weight:800;margin-bottom:6px}.front-lead h1{font-size:42px;line-height:1.4;margin:0 0 8px;font-weight:800}.front-lead p{font-size:16px;line-height:1.9;color:#60646c;margin:0}.front-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.front-substory{background:#fff;border:1px solid var(--news-line);border-radius:10px;overflow:hidden;padding:0}.front-substory:last-child{border:1px solid var(--news-line);padding:0}.front-sub-media,.front-sub-media img,.thumb-ph{width:100%;height:190px;display:block}.front-sub-media img{object-fit:cover}.thumb-ph{background:#f0f1f3}.front-substory .eyebrow{padding:12px 14px 0;margin:0}.front-substory h2{font-size:20px;line-height:1.6;margin:4px 14px 16px}
.front-rail{background:#fff;border:1px solid var(--news-line);border-radius:12px;padding:18px}.rail-head{border:0;border-bottom:2px solid var(--red);padding-bottom:10px;margin-bottom:4px;font-weight:800;font-size:22px}.rail-story{display:grid;grid-template-columns:32px 1fr;gap:10px;padding:14px 0;border-bottom:1px solid var(--news-line)}.rail-index{font-size:20px;font-weight:800;color:#c7cbd1}.rail-story span{font-size:11px;color:var(--red);font-weight:700}.rail-story h3{font-size:16px;line-height:1.65;margin:2px 0 4px}.rail-story small{color:#90949b}.rail-social{margin-top:16px;background:#f7f8fa;color:#222;padding:14px;border-radius:8px}.rail-social strong{display:block;margin-bottom:10px}.rail-social-links{display:flex;flex-wrap:wrap;gap:7px}.rail-social-links a{border:1px solid #ddd;background:#fff;padding:7px 9px;border-radius:5px;font-size:11px;font-weight:700}
.headline-band{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border:0;margin:24px 0 30px}.headline-band article{padding:15px;background:#f8f9fa;border:1px solid var(--news-line);border-radius:8px}.headline-band article:nth-child(3n){border-left:1px solid var(--news-line)}.headline-band span{font-size:11px;color:var(--red);font-weight:800}.headline-band h3{font-size:16px;line-height:1.65;margin:4px 0}
.editorial-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.editorial-stream{min-width:0}.editorial-sidebar{border:0;padding:0;position:sticky;top:12px}.desk-block{margin-bottom:34px;border:0;background:#fff}.desk-heading{display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid var(--news-line);margin-bottom:16px;padding-bottom:10px}.desk-heading h2{font-size:26px;margin:0;padding:0 12px 0 0;border-right:4px solid var(--red);color:#111}.desk-heading a{font-size:12px;color:var(--red);font-weight:800}.desk-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:20px}.desk-lead{border:0;padding:0;background:#fff}.desk-alt .desk-lead{order:2;border:0;padding:0}.desk-alt .desk-list{order:1}.desk-lead-media,.desk-lead-media img,.desk-ph{display:block;width:100%;height:310px;border-radius:10px}.desk-lead-media img{object-fit:cover}.desk-ph{display:grid;place-items:center;background:#f0f1f3}.desk-lead h3{font-size:25px;line-height:1.5;margin:12px 0 6px}.desk-lead p{font-size:14px;line-height:1.9;color:#60646c;margin:0}.desk-list{display:flex;flex-direction:column;gap:0}.desk-list article{display:grid;grid-template-columns:112px 1fr;gap:12px;padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid var(--news-line)}.desk-list article:last-child{margin-bottom:0}.desk-list img,.tiny-ph{width:112px;height:80px;object-fit:cover;background:#f0f1f3;border-radius:7px}.desk-list h4{font-size:15px;line-height:1.65;margin:0 0 4px}.desk-list small{color:#92969d;font-size:11px}
.side-paper{background:#fff;border:1px solid var(--news-line);border-radius:10px;padding:16px;margin-bottom:20px}.side-paper-title{font-size:20px;font-weight:800;padding:0 0 10px;border:0;border-bottom:2px solid var(--red)}.paper-rank{list-style:none;margin:0;padding:0;counter-reset:paper}.paper-rank li{counter-increment:paper;display:grid;grid-template-columns:30px 1fr;gap:8px;padding:12px 0;border-bottom:1px solid var(--news-line);font-size:14px;line-height:1.6}.paper-rank li:before{content:counter(paper);font-size:20px;font-weight:800;color:#c6c9ce}.archive-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--news-line);font-size:13px}.archive-row b{color:var(--red)}.archive-all{display:inline-block;margin-top:12px;color:var(--red);font-weight:800;font-size:13px}.side-ad img{width:100%;display:block;border-radius:8px}
.video-desk{margin-top:40px;background:#171717;color:#fff;padding:24px;border:0;border-radius:12px}.video-desk-head span{color:#d8b56d;font-size:12px;font-weight:800}.video-desk-head h2{font-size:28px;margin:3px 0 18px}.video-desk-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.video-story-media{position:relative;display:block;overflow:hidden;border-radius:9px}.video-story-media img,.video-placeholder{display:block;width:100%;height:170px;object-fit:cover}.video-featured{grid-row:span 2}.video-featured .video-story-media img,.video-featured .video-placeholder{height:356px}.video-story h3{font-size:16px;line-height:1.65;margin:8px 0}.video-featured h3{font-size:23px}.play-badge{position:absolute;left:14px;bottom:14px;width:44px;height:44px;border-radius:50%;background:var(--red);display:grid;place-items:center}.archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px}.archive-side{align-self:start;position:sticky;top:20px}.empty-box{padding:40px;text-align:center;background:#f7f8fa;border:1px solid var(--news-line);border-radius:10px;color:#666}
@media(max-width:1100px){.editorial-front{grid-template-columns:1fr}.front-rail{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.rail-head,.rail-social{grid-column:1/-1}.editorial-columns{grid-template-columns:1fr}.editorial-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-ad{grid-column:1/-1}.video-desk-grid{grid-template-columns:1fr 1fr}.video-featured{grid-column:1/-1;grid-row:auto}.video-featured .video-story-media img,.video-featured .video-placeholder{height:320px}}
@media(max-width:760px){.main{padding-top:14px}.front-lead-media,.front-lead-media img,.front-placeholder{height:340px}.front-lead h1{font-size:29px}.front-lead p{font-size:14px}.front-subgrid{grid-template-columns:1fr 1fr;gap:12px}.front-sub-media,.front-sub-media img,.thumb-ph{height:135px}.front-substory h2{font-size:16px}.headline-band{grid-template-columns:1fr 1fr}.desk-layout,.desk-alt .desk-layout{grid-template-columns:1fr}.desk-lead,.desk-alt .desk-lead{order:initial}.desk-lead-media,.desk-lead-media img,.desk-ph{height:245px}.desk-lead h3{font-size:22px}.editorial-sidebar{grid-template-columns:1fr}.front-rail{display:block}.video-desk{padding:18px}.video-desk-grid{grid-template-columns:1fr 1fr}.video-featured{grid-column:1/-1}.video-featured .video-story-media img,.video-featured .video-placeholder{height:255px}.video-story-media img,.video-placeholder{height:145px}}
@media(max-width:520px){.front-lead{border-radius:8px}.front-lead-media,.front-lead-media img,.front-placeholder{height:285px}.front-lead h1{font-size:24px;line-height:1.45}.front-lead-copy{padding:15px}.front-subgrid{grid-template-columns:1fr}.front-sub-media,.front-sub-media img,.thumb-ph{height:185px}.headline-band{grid-template-columns:1fr}.desk-list article{grid-template-columns:96px 1fr}.desk-list img,.tiny-ph{width:96px;height:70px}.video-desk-grid{grid-template-columns:1fr}.video-featured{grid-column:auto}.video-featured .video-story-media img,.video-featured .video-placeholder,.video-story-media img,.video-placeholder{height:205px}}


/* Homepage manager + configurable front page - v1.3.0 */
.homepage-manager{display:flex;flex-direction:column;gap:20px}.hm-panel label{display:block;font-weight:700;margin-bottom:14px}.hm-panel input,.hm-panel select{width:100%;padding:10px 11px;border:1px solid #d9dde2;border-radius:7px;background:#fff;font-family:inherit}.hm-slider-selects{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hm-box-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hm-box-card{border:1px solid var(--line);background:#fafbfc;border-radius:10px;padding:16px}.hm-box-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.hm-box-title .check{margin:0}.hm-box-title .check input{width:auto}.hm-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hm-savebar{position:sticky;bottom:0;background:#fff;border:1px solid var(--line);padding:12px 16px;display:flex;gap:10px;z-index:5;border-radius:10px;box-shadow:0 -6px 20px #0000000d}
.news-hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.85fr);gap:24px;margin-bottom:28px}.news-slider{position:relative;min-height:540px;border-radius:12px;overflow:hidden;background:#171717}.news-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease}.news-slide.is-active{opacity:1;pointer-events:auto}.news-slide-media,.news-slide-media img,.news-slide-ph{display:block;width:100%;height:100%}.news-slide-media img{object-fit:cover}.news-slide-ph{display:grid;place-items:center;color:#fff;font-size:48px;font-weight:800;background:linear-gradient(135deg,#241013,#4e171c)}.news-slide:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.9));pointer-events:none}.news-slide-overlay{position:absolute;z-index:2;right:28px;left:28px;bottom:28px;color:#fff}.news-slide-overlay span{color:#ffd66b;font-weight:800;font-size:13px}.news-slide-overlay h1{font-size:38px;line-height:1.4;margin:7px 0}.news-slide-overlay p{margin:0;max-width:850px;color:#eee;line-height:1.8}.slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#0009;color:#fff;font-size:30px;cursor:pointer}.slider-prev{right:14px}.slider-next{left:14px}.slider-dots{position:absolute;z-index:5;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:7px}.slider-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#ffffff88}.slider-dots button.is-active{width:24px;border-radius:99px;background:#fff}.modern-rail{height:540px;overflow:auto}.homepage-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.homepage-boxes{min-width:0}.homepage-sidebar{position:sticky;top:12px}.home-news-box{margin-bottom:30px}.home-box-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--news-line);padding-bottom:9px;margin-bottom:15px}.home-box-head h2{font-size:25px;margin:0;border-right:4px solid var(--red);padding-right:11px}.home-box-head a{color:var(--red);font-size:12px;font-weight:800}.home-news-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:18px}.home-news-media,.home-news-media img,.home-news-media .desk-ph{width:100%;height:300px;display:block;border-radius:10px}.home-news-media img{object-fit:cover}.home-news-lead h3{font-size:24px;line-height:1.5;margin:10px 0 5px}.home-news-lead p{font-size:14px;line-height:1.9;color:#666;margin:0}.home-news-list{display:flex;flex-direction:column}.home-news-list article{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:0 0 11px;margin-bottom:11px;border-bottom:1px solid var(--news-line)}.home-news-list img{width:90px;height:66px;object-fit:cover;border-radius:6px}.home-news-list h4{font-size:14px;line-height:1.55;margin:0}.home-image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.home-image-media,.home-image-media img,.home-image-media .tiny-ph{display:block;width:100%;height:175px}.home-image-media img{object-fit:cover;border-radius:9px}.home-image-grid h3{font-size:16px;line-height:1.55;margin:8px 0}.home-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.home-list-grid article{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--news-line)}.home-list-grid img{width:120px;height:82px;object-fit:cover;border-radius:7px}.home-list-grid span{font-size:11px;color:var(--red);font-weight:700}.home-list-grid h3{font-size:15px;line-height:1.55;margin:2px 0}.home-list-grid small{color:#999}
@media(max-width:1100px){.news-hero-grid{grid-template-columns:1fr}.modern-rail{height:auto}.homepage-layout{grid-template-columns:1fr}.homepage-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:18px}.hm-box-grid,.hm-two-col{grid-template-columns:1fr}.home-image-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.hm-slider-selects{grid-template-columns:1fr}.news-slider{min-height:390px}.news-slide-overlay h1{font-size:27px}.news-slide-overlay p{display:none}.homepage-sidebar{grid-template-columns:1fr}.home-news-layout{grid-template-columns:1fr}.home-image-grid{grid-template-columns:1fr 1fr}.home-list-grid{grid-template-columns:1fr}}
@media(max-width:520px){.news-slider{min-height:315px;border-radius:8px}.news-slide-overlay{right:16px;left:16px;bottom:24px}.news-slide-overlay h1{font-size:22px}.slider-arrow{width:36px;height:36px}.home-image-grid{grid-template-columns:1fr}.home-image-media,.home-image-media img,.home-image-media .tiny-ph{height:205px}.hm-savebar{position:static;flex-direction:column}}


/* Visual polish - v1.3.2 */
:root{--fb:#1877f2;--yt:#ff0033;--wa:#25d366;--tg:#229ed9;--x:#111;--soft-red:#fff5f5;--soft-gold:#fff9e9}
.news-slide-overlay span,.home-list-grid span{display:inline-flex;align-items:center;gap:6px;background:rgba(156,21,31,.92);color:#fff;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:800}
.news-slide-overlay span{background:rgba(200,164,77,.95);color:#181818}
.home-news-box{background:#fff;border:1px solid #eceef1;border-radius:14px;padding:18px;box-shadow:0 10px 28px rgba(17,24,39,.045)}
.home-news-box:nth-child(3n+1){border-top:3px solid var(--red)}
.home-news-box:nth-child(3n+2){border-top:3px solid var(--gold)}
.home-news-box:nth-child(3n){border-top:3px solid #2f6fa7}
.home-box-head{border-bottom:1px solid #edf0f2}
.home-box-head h2{border-right:0;padding-right:0;display:flex;align-items:center;gap:9px}
.home-box-head h2:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px var(--soft-red)}
.home-news-box:nth-child(3n+2) .home-box-head h2:before{background:var(--gold);box-shadow:0 0 0 5px var(--soft-gold)}
.home-news-box:nth-child(3n) .home-box-head h2:before{background:#2f6fa7;box-shadow:0 0 0 5px #edf5fb}
.home-news-media,.home-image-media,.home-list-grid article>a{overflow:hidden}
.home-news-media img,.home-image-media img,.home-list-grid img,.rail-story img{transition:transform .35s ease}
.home-news-media:hover img,.home-image-media:hover img,.home-list-grid article:hover img{transform:scale(1.035)}
.front-rail,.side-paper{box-shadow:0 8px 25px rgba(17,24,39,.04)}
.rail-head,.side-paper-title{display:flex;align-items:center;gap:9px}
.rail-head:before,.side-paper-title:before{content:"";width:7px;height:22px;background:var(--red);border-radius:6px}
.rail-social{background:linear-gradient(145deg,#fafbfc,#f4f6f9);border:1px solid #e7eaee;padding:16px;border-radius:12px}
.rail-social-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.rail-social-head strong{margin:0;display:block}.rail-social-head small{display:block;color:#7b818a;font-size:11px;margin-top:2px}.social-spark{color:var(--red);font-size:11px}
.rail-social-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rail-social-links .social-btn{border:0;color:#fff;min-height:42px;padding:8px 10px;border-radius:9px;display:flex;align-items:center;gap:8px;box-shadow:0 5px 14px rgba(0,0,0,.08);transition:transform .18s ease,box-shadow .18s ease}
.rail-social-links .social-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.12)}
.social-icon{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px}.social-icon svg{width:20px;height:20px;fill:currentColor}.social-label{font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis}
.social-facebook{background:var(--fb)}.social-youtube{background:var(--yt)}.social-whatsapp{background:var(--wa)}.social-telegram{background:var(--tg)}.social-x,.social-twitter{background:var(--x)}
.social-instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d 55%,#fcb045)}
.video-desk{background:radial-gradient(circle at 85% 10%,#35151b 0,#181818 36%,#111 100%);box-shadow:0 16px 40px rgba(0,0,0,.13)}
.video-desk-head{display:flex;align-items:flex-end;justify-content:space-between}.video-desk-head h2{position:relative;padding-right:15px}.video-desk-head h2:before{content:"";position:absolute;right:0;top:5px;bottom:5px;width:4px;border-radius:4px;background:linear-gradient(var(--red),var(--gold))}
.play-badge{background:linear-gradient(135deg,#e11d2e,#a80f1b);box-shadow:0 7px 18px rgba(225,29,46,.35)}
.side-paper:nth-of-type(1){background:linear-gradient(#fff,#fffafa)}.side-paper:nth-of-type(2){background:linear-gradient(#fff,#fffdf7)}
.news-slider{box-shadow:0 14px 35px rgba(0,0,0,.12)}
.slider-arrow{backdrop-filter:blur(5px);background:rgba(0,0,0,.48)}
@media(max-width:760px){.home-news-box{padding:14px}.rail-social-links{grid-template-columns:repeat(3,minmax(0,1fr))}.social-label{display:none}.rail-social-links .social-btn{justify-content:center;padding:8px}.home-box-head h2{font-size:21px}}
@media(max-width:480px){.rail-social-links{grid-template-columns:repeat(3,1fr)}}


/* Full Slider Manager - v1.4.0 */
.slider-manager-form{display:flex;flex-direction:column;gap:20px}.slider-settings-panel select,.slider-settings-panel input,.slider-slides-panel select,.slider-slides-panel input,.slider-slides-panel textarea{width:100%;padding:10px 11px;border:1px solid #d9dde2;border-radius:8px;background:#fff;font-family:inherit}.slider-settings-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.slider-toggle-row{display:flex;gap:18px;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--line)}.slider-toggle-row .check{margin:0}.slider-admin-list{display:flex;flex-direction:column;gap:14px}.slider-admin-card{border:1px solid #e3e7eb;border-radius:12px;background:#fbfcfd;padding:16px}.slider-admin-card.dragging{opacity:.55;border-color:var(--red)}.slider-card-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.slider-card-head strong{margin-left:auto}.slider-card-head .check{margin:0}.slider-drag{width:34px;height:34px;border-radius:8px;background:#171717;color:#fff;display:grid;place-items:center;cursor:grab;font-size:18px}.slider-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.slider-card-grid label{display:block;font-weight:700}.slider-wide{grid-column:1/-1}.slider-upload-block{border:1px dashed #ced4da;border-radius:9px;padding:12px;background:#fff}.slider-thumb{margin-top:10px;display:flex;align-items:center;gap:12px}.slider-thumb img{width:120px;height:70px;object-fit:cover;border-radius:7px;border:1px solid #ddd}.slider-thumb .check{margin:0;font-size:12px}.slider-delete-row{margin-top:12px;border-top:1px solid #eceff2;padding-top:10px}.slider-delete{color:#9b1c23}.slider-delete input{width:auto}.slider-cta{display:inline-flex;margin-top:14px;padding:9px 15px;border-radius:7px;background:var(--red);color:#fff!important;font-size:13px;font-weight:800}.news-slider picture,.news-slider picture img{display:block;width:100%;height:100%}.news-slider .news-slide{transition:opacity var(--slider-transition,650ms) ease,transform var(--slider-transition,650ms) ease}.news-slider.slider-effect-fade .news-slide{opacity:0}.news-slider.slider-effect-fade .news-slide.is-active{opacity:1}.news-slider.slider-effect-slide .news-slide{opacity:0;transform:translateX(6%)}.news-slider.slider-effect-slide .news-slide.is-active{opacity:1;transform:translateX(0)}.news-slider.slider-effect-zoom .news-slide{opacity:0;transform:scale(1.035)}.news-slider.slider-effect-zoom .news-slide.is-active{opacity:1;transform:scale(1)}
@media(max-width:1000px){.slider-settings-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.slider-settings-grid,.slider-card-grid{grid-template-columns:1fr}.slider-wide{grid-column:auto}.slider-toggle-row{display:grid;grid-template-columns:1fr 1fr}.slider-thumb{align-items:flex-start}.slider-thumb img{width:105px;height:64px}}


/* Slider manager UI refinement - v1.4.1 */
.slider-manager-form{gap:24px}
.slider-settings-panel,.slider-slides-panel{padding:24px;border-radius:14px;box-shadow:0 8px 24px rgba(17,24,39,.04)}
.slider-settings-panel .panelhead,.slider-slides-panel .panelhead{margin-bottom:22px;padding-bottom:15px;border-bottom:1px solid #eef1f4}
.slider-settings-panel .panelhead h2,.slider-slides-panel .panelhead h2{font-size:24px;margin:0 0 4px}
.slider-settings-panel .panelhead .btn{background:#18181b;color:#fff;border-radius:9px;padding:10px 14px}
.slider-settings-grid label,.slider-card-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:#24272b;margin:0}
.slider-settings-grid input,.slider-settings-grid select,.slider-card-grid input,.slider-card-grid select,.slider-card-grid textarea{min-height:44px;font-size:14px;line-height:1.5;outline:none;transition:border-color .2s,box-shadow .2s}
.slider-settings-grid textarea,.slider-card-grid textarea{min-height:84px;resize:vertical}
.slider-settings-grid input:focus,.slider-settings-grid select:focus,.slider-card-grid input:focus,.slider-card-grid select:focus,.slider-card-grid textarea:focus{border-color:#a61c27;box-shadow:0 0 0 3px rgba(156,21,31,.08)}
.slider-toggle-row{background:#fafbfc;border:1px solid #eef1f4;border-radius:10px;padding:13px 15px;gap:14px}
.slider-toggle-row .check,.slider-card-head .check{display:flex;align-items:center;gap:7px;font-weight:700;color:#444}
.slider-toggle-row input[type=checkbox],.slider-card-head input[type=checkbox],.slider-delete input[type=checkbox]{width:17px;height:17px;accent-color:var(--red)}
.slider-admin-list{gap:18px}
.slider-admin-card{padding:0;background:#fff;border:1px solid #e4e8ed;border-radius:14px;overflow:hidden;box-shadow:0 7px 20px rgba(17,24,39,.035)}
.slider-card-head{margin:0;padding:14px 18px;background:linear-gradient(180deg,#fbfbfc,#f5f6f8);border-bottom:1px solid #e8ebef}
.slider-card-head strong{font-size:17px;color:#171717}
.slider-drag{background:#202124;box-shadow:0 4px 10px rgba(0,0,0,.12)}
.modern-slider-card-grid{padding:18px;gap:16px 18px}
.slider-upload-block{padding:14px;border:1px dashed #cbd2d9;background:#fafbfc;border-radius:11px}
.upload-label{gap:5px!important}.upload-label span{font-weight:800}.upload-label small{font-size:11px;color:#7d838b;font-weight:600}
.slider-upload-block input[type=file]{padding:8px;background:#fff;border-style:solid;min-height:44px}
.slider-thumb{padding:10px;background:#fff;border:1px solid #e9ecef;border-radius:9px}
.slider-thumb img{width:150px;height:88px;object-fit:cover;border-radius:8px}
.slider-delete-row{margin:0;padding:12px 18px;background:#fff8f8;border-top:1px solid #f5dada}
.slider-delete{display:flex!important;align-items:center;gap:8px;font-weight:700!important;margin:0!important}
.slider-savebar{position:sticky;bottom:12px;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid #e2e6ea;border-radius:12px;padding:14px 16px;box-shadow:0 12px 30px rgba(17,24,39,.12);display:flex;align-items:center;justify-content:space-between;gap:16px}
.slider-savebar>div{display:flex;flex-direction:column;gap:2px}.slider-save-btn{min-width:160px;padding:12px 20px;font-size:15px;font-weight:800;border-radius:9px}
@media(max-width:1100px){.modern-slider-settings{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.slider-settings-panel,.slider-slides-panel{padding:14px}.slider-settings-panel .panelhead,.slider-slides-panel .panelhead{align-items:flex-start;gap:10px;flex-direction:column}.modern-slider-settings,.modern-slider-card-grid{grid-template-columns:1fr}.slider-toggle-row{grid-template-columns:1fr}.slider-card-head{flex-wrap:wrap}.slider-card-head strong{margin-left:0;flex:1}.slider-thumb{align-items:flex-start;flex-direction:column}.slider-thumb img{width:100%;height:160px}.slider-savebar{position:static;flex-direction:column;align-items:stretch}.slider-save-btn{width:100%}}

/* v1.4.2 - homepage news widgets */
.news-widget-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr) minmax(300px,.9fr);gap:18px;margin:0 0 28px}.news-widget-card{background:#fff;border:1px solid #eceef1;border-radius:14px;padding:16px;min-width:0;box-shadow:0 10px 30px rgba(17,24,39,.045)}.news-widget-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;margin-bottom:13px;border-bottom:1px solid #eceef1}.news-widget-head>div{display:flex;align-items:center;gap:9px}.news-widget-head h2{margin:0;font-size:21px}.widget-dot{width:10px;height:10px;border-radius:50%;background:#2f6fa7;box-shadow:0 0 0 5px #edf5fb}.latest-dot{background:var(--gold);box-shadow:0 0 0 5px #fbf5e4}.widget-kicker{font-size:10px;font-weight:800;color:#8b9098;background:#f5f6f8;padding:5px 8px;border-radius:999px}.pictured-news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.pictured-story{min-width:0}.pictured-story.pictured-lead{grid-column:1/-1}.pictured-media{position:relative;display:block;overflow:hidden;border-radius:10px;background:#eee}.pictured-story:not(.pictured-lead) .pictured-media{height:120px}.pictured-story.pictured-lead .pictured-media{height:220px}.pictured-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.pictured-media:hover img{transform:scale(1.035)}.pictured-media span{position:absolute;right:9px;bottom:9px;background:rgba(156,21,31,.92);color:#fff;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800}.pictured-story h3{font-size:14px;line-height:1.6;margin:7px 0}.pictured-lead h3{font-size:19px}.urgent-widget{border-top:3px solid #d91f2a}.urgent-head{border-bottom-color:#f3c9cc}.urgent-pulse{width:11px;height:11px;border-radius:50%;background:#e01926;box-shadow:0 0 0 5px #fdebed}.urgent-news-list article{display:grid;grid-template-columns:48px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid #f0f1f3}.urgent-news-list article:last-child{border-bottom:0}.urgent-time{font-size:11px;color:#d91f2a;font-weight:800}.urgent-news-list h3{font-size:14px;line-height:1.6;margin:0}.latest-news-list article{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #f0f1f3}.latest-news-list article:last-child{border-bottom:0}.latest-thumb,.latest-thumb img{display:block;width:72px;height:56px;border-radius:7px}.latest-thumb img{object-fit:cover}.latest-news-list span{font-size:10px;color:var(--red);font-weight:800}.latest-news-list h3{font-size:13px;line-height:1.55;margin:1px 0 2px}.latest-news-list small{font-size:10px;color:#999}.home-widget-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.home-widget-admin-card{border:1px solid #e3e7eb;border-radius:12px;padding:15px;background:#fafbfc;display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:start}.home-widget-admin-card .widget-admin-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;background:#2f6fa7;font-weight:900}.home-widget-admin-card.urgent .widget-admin-icon{background:#d91f2a}.home-widget-admin-card.latest .widget-admin-icon{background:#b28b2f}.home-widget-admin-card strong{font-size:16px}.home-widget-admin-card p{margin:4px 0 10px;color:#777;font-size:12px;line-height:1.6}.home-widget-admin-card>label{grid-column:1/-1}.home-widget-admin-card .check input{width:auto}@media(max-width:1100px){.news-widget-row{grid-template-columns:1fr 1fr}.pictured-widget{grid-column:1/-1}.home-widget-admin-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.news-widget-row{grid-template-columns:1fr}.pictured-widget{grid-column:auto}.pictured-story.pictured-lead .pictured-media{height:210px}.home-widget-admin-grid{grid-template-columns:1fr}}@media(max-width:520px){.pictured-news-grid{grid-template-columns:1fr}.pictured-story.pictured-lead{grid-column:auto}.pictured-story:not(.pictured-lead) .pictured-media,.pictured-story.pictured-lead .pictured-media{height:205px}.news-widget-card{padding:13px}.news-widget-head h2{font-size:19px}}


/* Article page v1.4.3 */
.news-article-page{max-width:1040px;margin:0 auto}.article-breadcrumb{display:flex;align-items:center;gap:8px;color:#7a7f87;font-size:13px;margin-bottom:22px}.article-breadcrumb a:hover{color:var(--red)}.article-header-modern{max-width:920px;margin:0 auto 24px;text-align:right}.article-category-badge{display:inline-flex;align-items:center;background:#f8e9ea;color:var(--red);font-size:12px;font-weight:800;padding:6px 11px;border-radius:999px}.article-header-modern h1{font-size:42px;line-height:1.4;margin:14px 0 10px;letter-spacing:-.6px}.article-deck{font-size:20px;line-height:1.9;color:#5e636b;margin:0 0 17px}.article-meta-modern{display:flex;flex-wrap:wrap;gap:15px;color:#8b9098;font-size:12px;padding-top:13px;border-top:1px solid #eceef1}.article-hero-image{margin:26px 0 30px}.article-hero-image img{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:14px}.article-body-modern{max-width:860px;margin:0 auto;font-size:19px;line-height:2.1;color:#26292e}.article-body-modern p{margin:0 0 1.35em}.article-body-modern img{max-width:100%;height:auto;border-radius:10px}.article-body-modern h2,.article-body-modern h3{line-height:1.55;margin-top:1.5em}.article-body-modern a{color:var(--red);text-decoration:underline}.related-news-modern{max-width:1040px;margin:50px auto 0;border-top:1px solid #eceef1;padding-top:20px}.related-head{display:flex;align-items:center;margin-bottom:16px}.related-head h2{margin:0;border-right:4px solid var(--red);padding-right:10px;font-size:24px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.related-card{background:#fff;border:1px solid #eceef1;border-radius:12px;overflow:hidden}.related-media{display:block;height:150px;background:#f1f2f4;overflow:hidden}.related-media img{width:100%;height:100%;object-fit:cover}.related-media span{height:100%;display:grid;place-items:center;color:#8c9097;font-weight:800}.related-card>div{padding:12px}.related-card small{color:var(--red);font-weight:800;font-size:10px}.related-card h3{font-size:15px;line-height:1.65;margin:5px 0 0}@media(max-width:760px){.article-header-modern h1{font-size:29px}.article-deck{font-size:17px}.article-meta-modern{gap:8px 12px}.article-hero-image img{border-radius:9px;max-height:420px}.article-body-modern{font-size:17px;line-height:2}.related-grid{grid-template-columns:1fr}.related-card{display:grid;grid-template-columns:120px 1fr}.related-media{height:100%;min-height:100px}}@media(max-width:480px){.article-header-modern h1{font-size:25px}.article-deck{font-size:16px}.article-hero-image{margin-inline:-2%}.article-hero-image img{border-radius:0}.article-body-modern{font-size:16px}.related-card{grid-template-columns:100px 1fr}}


/* 1.4.4 - newspaper name + moving ticker */
.news-ticker{background:#101010;color:#fff;border-top:3px solid var(--red);box-shadow:0 3px 12px rgba(0,0,0,.08)}
.ticker-shell{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;min-height:46px}
.ticker-label{display:flex;align-items:center;gap:8px;background:var(--red);font-weight:800;padding:0 18px;white-space:nowrap}
.ticker-dot{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.14);animation:tickerPulse 1.4s ease-in-out infinite}
.ticker-viewport{overflow:hidden;display:flex;align-items:center;direction:ltr}
.ticker-track{display:flex;align-items:center;width:max-content;animation:tickerMove var(--ticker-duration,35s) linear infinite;will-change:transform}
.ticker-viewport:hover .ticker-track{animation-play-state:paused}
.ticker-item{direction:rtl;display:flex;align-items:center;gap:12px;padding:0 26px;height:46px;white-space:nowrap;border-left:1px solid rgba(255,255,255,.14);font-size:14px;font-weight:700}
.ticker-item:hover{color:#ffd6d9}.ticker-item time{font-size:11px;color:#bdbdbd;font-weight:500}
@keyframes tickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes tickerPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.72)}}
.newspaper-identity-block{border-right:4px solid var(--red)}
.ticker-settings-block{border-right:4px solid #202020}
@media(max-width:700px){.ticker-shell{width:100%;grid-template-columns:auto minmax(0,1fr)}.ticker-label{padding:0 10px;font-size:12px}.ticker-item{height:42px;padding:0 16px;font-size:12px}.news-ticker{border-top-width:2px}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}.ticker-viewport{overflow:auto;direction:rtl}}


/* v1.4.5 - tabbed newspaper sidebar */
.news-tabs-widget{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(17,24,39,.05);margin-bottom:20px}
.news-tabs-head{display:grid;grid-template-columns:repeat(3,1fr);background:#fafafa;border-bottom:1px solid #e5e7eb}
.news-tab{appearance:none;border:0;border-left:1px solid #e5e7eb;background:transparent;padding:17px 8px;font-family:inherit;font-size:16px;font-weight:800;color:#30343a;cursor:pointer;transition:.2s ease}
.news-tab:last-child{border-left:0}.news-tab:hover{background:#fff}.news-tab.is-active{background:#fff;color:#f28c00;box-shadow:inset 0 -3px #f28c00}
.news-tab-panel{display:none;padding:16px 18px 18px}.news-tab-panel.is-active{display:block}
.tab-news-item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;align-items:center;padding:10px 0;border-bottom:1px solid #eef0f2}.tab-news-item:last-child{border-bottom:0}
.tab-news-thumb{width:92px;height:68px;border-radius:12px;overflow:hidden;background:#f0f1f3;display:block}.tab-news-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.tab-news-item:hover .tab-news-thumb img{transform:scale(1.045)}
.tab-news-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,#9c151f,#241115);color:#fff;font-weight:900;font-size:18px}
.tab-news-copy{min-width:0}.tab-news-copy h3{font-size:14px;line-height:1.75;margin:0 0 4px;font-weight:800}.tab-news-copy h3 a:hover{color:var(--red)}.tab-news-copy small{display:block;color:#90949b;font-size:10px;font-weight:600}
.tab-news-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;color:#8a8f96;padding:20px}.tab-news-empty strong{font-size:18px;color:#444}.tab-news-empty span{font-size:12px;line-height:1.8;max-width:230px}
@media(max-width:760px){.news-tabs-widget{border-radius:12px}.news-tab{font-size:14px;padding:14px 6px}.news-tab-panel{padding:12px 14px 14px}.tab-news-item{grid-template-columns:84px minmax(0,1fr);gap:11px}.tab-news-thumb{width:84px;height:64px}.tab-news-copy h3{font-size:13px;line-height:1.65}}

/* v1.4.6 - fixed newspaper sidebar column */
.homepage-layout{grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.homepage-sidebar{width:340px;max-width:100%;justify-self:end;position:sticky;top:12px}
.homepage-sidebar>*{width:100%;min-width:0}
.news-tabs-widget{width:100%;max-width:340px;margin:0 0 20px;overflow:hidden}
.news-tabs-head{width:100%}
.news-tab{min-width:0;white-space:nowrap}
.news-tab-panel{width:100%;min-width:0}
.tab-news-item{width:100%;min-width:0;grid-template-columns:96px minmax(0,1fr)}
.tab-news-thumb{width:96px;height:72px}
.tab-news-copy{width:100%;min-width:0;overflow:hidden}
.tab-news-copy h3{margin:0 0 4px;overflow-wrap:anywhere}
.side-paper,.side-ad{width:100%;max-width:340px}
@media(max-width:1100px){.homepage-layout{grid-template-columns:1fr}.homepage-sidebar{width:100%;max-width:none;position:static;justify-self:stretch;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.news-tabs-widget,.side-paper,.side-ad{max-width:none}.news-tabs-widget{grid-column:1/2}.side-paper{grid-column:2/3}}
@media(max-width:760px){.homepage-sidebar{display:block;width:100%}.news-tabs-widget,.side-paper,.side-ad{width:100%;max-width:none}.tab-news-item{grid-template-columns:88px minmax(0,1fr)}.tab-news-thumb{width:88px;height:66px}}


/* v1.4.7 - balanced top widgets + update deletion */
.news-widget-row-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.news-widget-row-three>.news-widget-card{min-width:0;height:100%}
.popular-widget{border-top:3px solid #6f42c1}
.popular-dot{background:#6f42c1!important;box-shadow:0 0 0 6px rgba(111,66,193,.10)!important}
.popular-news-list article{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #f0f1f3;align-items:start}
.popular-news-list article:last-child{border-bottom:0}.popular-rank{width:28px;height:28px;border-radius:9px;background:#f2edfb;color:#6f42c1;display:grid;place-items:center;font-size:12px;font-weight:900}
.popular-news-list article>div>span{font-size:10px;color:#6f42c1;font-weight:800}.popular-news-list h3{font-size:13px;line-height:1.55;margin:1px 0 2px}.popular-news-list small{font-size:10px;color:#999}
.pictured-widget-wide{margin-top:20px}.pictured-widget-wide .pictured-news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pictured-widget-wide .pictured-story.pictured-lead{grid-column:span 2}
.update-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.btn.delete-update{background:#6f1820;color:#fff}.btn.delete-update:hover{background:#4e1016}.update-current-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#edf7ef;color:#26743a;font-size:11px;font-weight:800}
@media(max-width:1100px){.news-widget-row-three{grid-template-columns:1fr 1fr}.popular-widget{grid-column:1/-1}.pictured-widget-wide .pictured-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.news-widget-row-three{grid-template-columns:1fr}.popular-widget{grid-column:auto}.pictured-widget-wide .pictured-news-grid{grid-template-columns:1fr}.pictured-widget-wide .pictured-story.pictured-lead{grid-column:auto}}


/* Professional newspaper utility widgets - v1.4.9 */
.news-service-strip{background:#f7f8fa;border-bottom:1px solid #e7e9ed}.news-service-grid{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(420px,1.65fr) minmax(230px,.85fr);gap:12px;padding:12px 0}.service-widget{min-width:0;display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e7e9ed;border-radius:12px;padding:13px 15px;box-shadow:0 3px 14px rgba(25,31,45,.035)}.service-icon{width:46px;height:46px;flex:0 0 46px;border-radius:12px;display:grid;place-items:center;font-size:24px}.weather-icon{background:#fff5d9;color:#e19700}.prayer-icon{background:#eef3ff;color:#315bb6}.clock-icon{background:#f1ecff;color:#6b4db4}.service-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.service-kicker{font-size:11px;font-weight:800;color:#7a8290}.service-copy>strong{font-size:24px;line-height:1.2;color:#171a21}.service-copy small{font-size:11px;color:#737b88;white-space:normal}.prayer-copy{flex:1}.prayer-times{display:grid;grid-template-columns:repeat(5,minmax(58px,1fr));gap:5px;margin:3px 0 2px}.prayer-times span{display:flex;flex-direction:column;align-items:center;padding:5px 4px;background:#f7f8fb;border-radius:7px;font-size:10px;color:#6d7480}.prayer-times b{font-size:13px;color:#222733}.service-clock{font-variant-numeric:tabular-nums}.hijri-date{color:#8b6c29!important}
.widget-toggle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.widget-toggle-card{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.widget-toggle-card input{width:auto!important}.widget-toggle-card span{display:flex;flex-direction:column;gap:3px}.widget-toggle-card b{font-size:14px}.widget-toggle-card small{font-size:11px;color:#737b88}.widget-toggle-card.weather{border-top:3px solid #e6a11b}.widget-toggle-card.prayer{border-top:3px solid #315bb6}.widget-toggle-card.clock{border-top:3px solid #6b4db4}.widget-location-grid{align-items:end}
@media(max-width:1000px){.news-service-grid{grid-template-columns:1fr 1fr}.prayer-widget{grid-column:1/-1;order:3}.widget-toggle-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:700px){.news-service-grid{grid-template-columns:1fr;gap:8px;padding:9px 0}.prayer-widget{grid-column:auto;order:initial}.service-widget{border-radius:9px;padding:11px 12px}.service-icon{width:40px;height:40px;flex-basis:40px;font-size:21px}.prayer-times{grid-template-columns:repeat(5,1fr);gap:3px}.prayer-times span{padding:4px 2px;font-size:9px}.prayer-times b{font-size:11px}.widget-toggle-grid{grid-template-columns:1fr}.widget-location-grid{grid-template-columns:1fr}}

/* Al-Ashraf News v1.5.0 — editorial actions, pages, sharing, rating, backups */
.icon-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px}.icon-btn svg,.icon-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.icon-action{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 9px;border:1px solid #e3e6ea;border-radius:8px;background:#fff;color:#222;text-decoration:none;font:inherit;cursor:pointer}.icon-action:hover{border-color:#ba1420;color:#ba1420}.danger-link{color:#a71922}.navico{display:inline-flex;width:22px;justify-content:center}.form-icon{font-size:28px;color:#b41722}.panel-like{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:28px}.static-page h1{font-size:32px;margin:0 0 22px}
.publisher-share{display:flex;align-items:center;gap:4px}.social-mini,.social-share{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;color:#fff!important;font-weight:800;cursor:pointer}.social-mini{width:28px;height:28px;border-radius:7px;font-size:12px}.social-share{width:38px;height:38px;border-radius:10px;font-size:15px}.facebook{background:#1877f2!important}.xshare{background:#050505!important}.whatsapp{background:#25d366!important}.telegram{background:#229ed9!important}.linkedin{background:#0a66c2!important}.copylink{background:#68707a!important}
.article-social-rating{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:24px;padding:18px 0;border-top:1px solid #eceff2;border-bottom:1px solid #eceff2}.share-tools,.article-rating{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tool-label{font-weight:800;color:#20242a;margin-inline-end:3px}.rating-stars{display:flex;direction:ltr;gap:3px}.rating-stars button{border:0;background:transparent;color:#c8cdd3;font-size:28px;line-height:1;cursor:pointer;padding:3px}.rating-stars button:hover,.rating-stars button:focus,.article-rating.rated .rating-stars button{color:#e2ad23}.article-rating small{color:#737b85}
.backup-grid{align-items:start}.backup-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.backup-actions form{margin:0}.is-busy{opacity:.65;cursor:wait}
@media(max-width:760px){.article-social-rating{display:block}.article-rating{margin-top:18px}.publisher-share{margin-top:6px}.panel-like{padding:18px}.static-page h1{font-size:26px}.backup-actions{display:grid;grid-template-columns:1fr}.backup-actions .btn{width:100%}}
.dashboard-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}

/* v1.5.4 - local video and thumbnail upload */
.video-admin-form{gap:18px}.video-source-grid{align-items:end}.video-upload-box,.video-cover-section{border:1px dashed #cfd5dc;border-radius:12px;padding:16px;background:#fafbfc}.video-upload-box small,.video-cover-section>small{display:block;color:#747b85;margin-top:7px;font-size:12px}.video-local-preview{display:block;width:min(100%,720px);max-height:390px;margin-top:14px;border-radius:10px;background:#111}.video-cover-preview-wrap{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-top:14px}.video-cover-preview{width:220px;height:125px;object-fit:cover;border-radius:10px;border:1px solid #dfe3e8;background:#f0f1f3}.remove-cover{display:flex!important;align-items:center;gap:7px;margin:0!important;color:#a51a23;font-weight:800}.remove-cover input{width:auto!important}.video-form-errors{border:1px solid #f1c5c9;background:#fff5f6;color:#9c1822;border-radius:10px;padding:12px 14px;line-height:1.9;font-weight:700}.video-admin-form input[type=file]{padding:9px;background:#fff;border:1px solid #d8dde3;border-radius:8px}
@media(max-width:760px){.video-source-grid,.video-cover-section .grid2{grid-template-columns:1fr}.video-cover-preview{width:100%;height:auto;max-height:240px}}

/* Video manager & professional homepage widget - v1.5.5 */
.video-library-panel{overflow:hidden}.video-library-head{align-items:center;gap:18px}.video-library-head h2{margin:0 0 4px}.video-add-btn{white-space:nowrap}.video-library-alert{margin:14px 0;padding:12px 15px;border-radius:10px;background:#eef8f0;border:1px solid #cde7d1;color:#17652b}.video-library-empty{padding:38px 20px;text-align:center;display:grid;gap:8px;color:#666}.video-library-empty strong{font-size:20px;color:#222}.video-library-table-wrap{overflow-x:auto}.video-library-table{width:100%;border-collapse:collapse}.video-library-table th,.video-library-table td{padding:14px 12px;border-bottom:1px solid #ececec;text-align:right;vertical-align:middle}.video-library-table th{background:#fafafa;font-weight:800}.video-library-item{display:flex;align-items:center;gap:12px;min-width:260px}.video-library-thumb{width:94px;height:58px;border-radius:10px;overflow:hidden;background:#171717;display:grid;place-items:center;color:#fff;text-decoration:none;flex:0 0 auto}.video-library-thumb img{width:100%;height:100%;object-fit:cover}.video-library-thumb span{font-size:23px}.video-library-item>div{display:grid;gap:5px}.video-featured-tag,.video-source-badge,.video-status{display:inline-flex;width:max-content;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.video-featured-tag{background:#fff4d8;color:#9b6500}.video-source-badge{background:#f1f3f5;color:#333}.video-status.is-published{background:#eaf7ee;color:#16733a}.video-status.is-draft{background:#fff1f1;color:#a52121}.video-row-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.video-row-actions form{margin:0}.video-action{border:0;border-radius:8px;padding:8px 11px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center}.video-action.preview{background:#edf4ff;color:#174f95}.video-action.edit{background:#f3f3f3;color:#222}.video-action.delete{background:#fff0f0;color:#b11720}.video-action:hover{filter:brightness(.97)}
.video-widget-admin-card{position:relative}.video-widget-admin-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#b3131b;color:#fff;font-size:17px}.video-widget-switch{margin:12px 0}.video-widget-admin-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.pro-video-widget{border-radius:16px;overflow:hidden}.pro-video-widget .video-desk-head{display:flex;align-items:end;justify-content:space-between;gap:16px}.video-all-link{font-size:13px;font-weight:800;color:#9f111a;text-decoration:none}.pro-video-widget .video-desk-grid{display:grid;grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(0,.75fr));gap:16px}.pro-video-widget .video-story{min-width:0}.pro-video-widget .video-featured{grid-row:span 2}.pro-video-widget .video-story-media{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#111;display:block;position:relative}.pro-video-widget .video-story-media img,.pro-video-widget .video-story-media video{width:100%;height:100%;object-fit:cover;display:block}.pro-video-widget .video-featured .video-story-media{aspect-ratio:16/10}.video-story-copy{padding-top:9px}.video-story-label{font-size:11px;font-weight:900;color:#b3131b}.video-story-copy h3{margin:4px 0 0;line-height:1.5}.video-story-copy h3 a{color:inherit;text-decoration:none}.video-story-copy p{margin:6px 0 0;color:#777;font-size:13px;line-height:1.7}.play-badge{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(179,19,27,.9);color:#fff}.video-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#fff;font-size:38px}
@media(max-width:900px){.pro-video-widget .video-desk-grid{grid-template-columns:1fr 1fr}.pro-video-widget .video-featured{grid-column:1/-1;grid-row:auto}.video-library-table th:nth-child(2),.video-library-table td:nth-child(2){display:none}}
@media(max-width:620px){.video-library-head{align-items:stretch}.video-add-btn{width:100%;text-align:center}.video-library-table thead{display:none}.video-library-table,.video-library-table tbody,.video-library-table tr,.video-library-table td{display:block;width:100%}.video-library-table tr{padding:14px 0;border-bottom:1px solid #eee}.video-library-table td{border:0;padding:7px 0}.video-library-table td:nth-child(2){display:block}.video-row-actions{width:100%}.video-action{flex:1;justify-content:center}.pro-video-widget .video-desk-grid{grid-template-columns:1fr}.pro-video-widget .video-featured{grid-column:auto}.video-story-copy p{display:none}}


/* v1.5.6 - advertisement manager, editorial login guide, article views */
.ad-library-panel{overflow:hidden}.ad-library-head{align-items:center;gap:18px}.ad-library-head h2{margin:0 0 4px}.ad-add-btn{white-space:nowrap}
.ad-library-alert{margin:14px 0;padding:12px 15px;border-radius:10px;background:#eef8f0;border:1px solid #cde7d1;color:#17652b}
.ad-library-empty{padding:38px 20px;text-align:center;display:grid;gap:8px;color:#666}.ad-library-empty strong{font-size:20px;color:#222}
.ad-library-table-wrap{overflow-x:auto}.ad-library-table{width:100%;border-collapse:collapse}.ad-library-table th,.ad-library-table td{padding:14px 12px;border-bottom:1px solid #ececec;text-align:right;vertical-align:middle}.ad-library-table th{background:#fafafa;font-weight:800}
.ad-library-item{display:flex;align-items:center;gap:12px;min-width:280px}.ad-library-thumb{width:112px;height:64px;border-radius:10px;overflow:hidden;background:#f1f2f4;display:grid;place-items:center;color:#9a1b22;text-decoration:none;flex:0 0 auto;font-weight:900}.ad-library-thumb img{width:100%;height:100%;object-fit:cover}.ad-library-item>div{display:grid;gap:5px}.ad-library-item small{color:#77808b;direction:ltr;text-align:left}
.ad-placement-badge,.ad-status{display:inline-flex;width:max-content;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.ad-placement-badge{background:#f1f3f5;color:#333}.ad-status.is-live{background:#eaf7ee;color:#16733a}.ad-status.is-scheduled{background:#fff5d9;color:#8a6200}.ad-status.is-off{background:#fff0f0;color:#a52121}.ad-period{display:block;margin-top:6px;color:#7b8189;font-size:11px;white-space:nowrap}
.ad-row-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.ad-row-actions form{margin:0}.ad-action{border:0;border-radius:8px;padding:8px 11px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center}.ad-action.preview{background:#edf4ff;color:#174f95}.ad-action.edit{background:#f3f3f3;color:#222}.ad-action.delete{background:#fff0f0;color:#b11720}
.ad-admin-form{gap:18px}.ad-upload-box{border:1px dashed #cfd5dc;border-radius:12px;padding:16px;background:#fafbfc}.ad-upload-box small{display:block;color:#747b85;margin-top:7px;font-size:12px}.ad-image-preview-wrap{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-top:14px}.ad-image-preview{width:min(100%,600px);max-height:240px;object-fit:contain;border-radius:10px;border:1px solid #dfe3e8;background:#fff}.remove-ad-image{display:flex!important;align-items:center;gap:7px;color:#a51a23;font-weight:800}.remove-ad-image input{width:auto!important}.ad-active-check{align-self:end;padding-bottom:12px}
.ad-widget-admin-card{position:relative}.ad-widget-switch{margin:12px 0}
.editorial-login-guide{margin-bottom:18px}.editorial-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.editorial-guide-grid>div{border:1px solid #e6e8eb;border-radius:11px;padding:14px;background:#fafbfc;display:grid;gap:6px}.editorial-guide-grid b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#b3131b;color:#fff}.editorial-guide-grid strong{font-size:14px}.editorial-guide-grid span{font-size:12px;color:#646c76;line-height:1.7;word-break:break-word}
.article-admin-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.views-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#f3f5f7;color:#59616b;padding:4px 8px;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:760px){.editorial-guide-grid{grid-template-columns:1fr}.ad-library-table thead{display:none}.ad-library-table,.ad-library-table tbody,.ad-library-table tr,.ad-library-table td{display:block;width:100%}.ad-library-table tr{padding:14px 0;border-bottom:1px solid #eee}.ad-library-table td{border:0;padding:7px 0}.ad-row-actions{width:100%}.ad-action{flex:1;justify-content:center}.ad-library-head{align-items:stretch}.ad-add-btn{width:100%;text-align:center}}


/* v1.5.9 - ticker repair + calendar */
.news-ticker{overflow:hidden}
.ticker-viewport{overflow:hidden!important;position:relative;direction:ltr}
.ticker-track{display:flex!important;flex:none!important;width:max-content!important;min-width:max-content;animation-name:tickerMove!important;animation-duration:var(--ticker-duration,35s)!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important;animation-play-state:running!important}
.ticker-viewport:hover .ticker-track{animation-play-state:paused!important}
@keyframes tickerMove{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}
.widget-toggle-grid{grid-template-columns:repeat(4,1fr)}
.widget-toggle-card.calendar{border-top:3px solid #278b69}
.newspaper-calendar-wrap{padding:0 0 14px}.newspaper-calendar{background:#fff;border:1px solid #e4e7eb;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(25,31,45,.045)}
.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid #eceef1}.calendar-head>div:first-child{display:grid;gap:2px}.calendar-head strong{font-size:20px}.calendar-head small{color:#8b6c29;font-size:12px}.calendar-actions{display:flex;gap:6px;align-items:center}.calendar-actions button{border:1px solid #dfe3e7;background:#fff;border-radius:8px;min-width:40px;height:38px;padding:0 11px;font-family:inherit;cursor:pointer}.calendar-actions button:hover{border-color:var(--red);color:var(--red)}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{text-align:center;padding:9px 4px;background:#f7f8fa;color:#5d6470;font-size:11px;font-weight:800;border-bottom:1px solid #eceef1}.calendar-day{min-height:68px;border:0;border-left:1px solid #f0f1f3;border-bottom:1px solid #f0f1f3;background:#fff;padding:8px 7px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-family:inherit;cursor:default;color:#222}.calendar-day b{font-size:16px}.calendar-day small{font-size:10px;color:#8b6c29}.calendar-day.is-today{background:#fff4f4;box-shadow:inset 0 0 0 2px var(--red);color:var(--red)}.calendar-day.is-empty{background:#fafafa}.calendar-day:nth-child(7n){border-left:0}
@media(max-width:1000px){.widget-toggle-grid{grid-template-columns:1fr 1fr}.calendar-day{min-height:60px}}
@media(max-width:700px){.widget-toggle-grid{grid-template-columns:1fr}.calendar-head{align-items:flex-start;flex-direction:column}.calendar-actions{width:100%;justify-content:space-between}.calendar-weekdays span{font-size:9px}.calendar-day{min-height:52px;padding:6px 4px}.calendar-day b{font-size:14px}.calendar-day small{font-size:8px}}


/* v1.5.10 - compact square calendar widget */
.news-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.prayer-widget{grid-column:auto}
.compact-calendar-widget{width:100%;max-width:310px;min-width:0;justify-self:stretch;background:#fff;border:1px solid #e4e7eb;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px rgba(25,31,45,.035);align-self:start}
.compact-calendar-widget .calendar-head{padding:10px 11px;gap:8px}
.compact-calendar-widget .calendar-head strong{font-size:15px;line-height:1.15}
.compact-calendar-widget .calendar-head small{font-size:9px}
.compact-calendar-widget .calendar-actions{gap:3px}
.compact-calendar-widget .calendar-actions button{min-width:28px;width:28px;height:28px;padding:0;border-radius:7px;font-size:12px}
.compact-calendar-widget .calendar-weekdays span{padding:5px 2px;font-size:9px}
.compact-calendar-widget .calendar-day{min-height:31px;height:31px;padding:2px;align-items:center;justify-content:center;gap:0}
.compact-calendar-widget .calendar-day b{font-size:11px;line-height:1}
.compact-calendar-widget .calendar-day small{display:none}
.compact-calendar-widget .calendar-day.is-today{box-shadow:inset 0 0 0 1.5px var(--red);border-radius:5px}
@media(max-width:1100px){.news-service-grid{grid-template-columns:1fr 1fr}.prayer-widget{grid-column:1/-1}.compact-calendar-widget{max-width:none}}
@media(max-width:700px){.news-service-grid{grid-template-columns:1fr}.compact-calendar-widget{max-width:300px;width:100%;justify-self:center}.compact-calendar-widget .calendar-head{flex-direction:row;align-items:center}.compact-calendar-widget .calendar-actions{width:auto;justify-content:flex-start}.compact-calendar-widget .calendar-day{min-height:32px;height:32px}}


/* v1.5.11 - restore service strip; calendar separate */
.news-service-grid{grid-template-columns:minmax(240px,.9fr) minmax(420px,1.65fr) minmax(230px,.85fr)!important}
.prayer-widget{grid-column:auto!important;order:initial!important}
.prayer-times{grid-template-columns:repeat(5,minmax(58px,1fr))!important}
.compact-calendar-row{display:flex;justify-content:flex-start;padding:10px 0 14px}
.compact-calendar-row .compact-calendar-widget{width:310px;max-width:100%;justify-self:auto}
@media(max-width:1000px){.news-service-grid{grid-template-columns:1fr 1fr!important}.prayer-widget{grid-column:1/-1!important;order:3!important}.compact-calendar-row{justify-content:center}}
@media(max-width:700px){.news-service-grid{grid-template-columns:1fr!important}.prayer-widget{grid-column:auto!important;order:initial!important}.prayer-times{grid-template-columns:repeat(5,1fr)!important}.compact-calendar-row{justify-content:center;padding:8px 0 12px}.compact-calendar-row .compact-calendar-widget{width:min(300px,100%)}}


/* v1.5.12 - pre-footer editorial row placement */
.calendar-staging{display:none!important}
.prefooter-editorial-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;margin:28px 0 8px;direction:rtl}
.prefooter-editorial-slot{min-width:0}
.prefooter-editorial-slot.is-empty{display:none}
.prefooter-editorial-slot>.compact-calendar-widget{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
.prefooter-editorial-slot>.home-news-box{margin:0!important;height:100%}
.prefooter-editorial-slot>.home-news-box .home-box-head h2{font-size:20px}
.prefooter-editorial-slot>.home-news-box .home-news-layout{grid-template-columns:1fr!important}
.prefooter-editorial-slot>.home-news-box .home-news-media,.prefooter-editorial-slot>.home-news-box .home-news-media img,.prefooter-editorial-slot>.home-news-box .home-news-media .desk-ph{height:170px}
.prefooter-editorial-slot>.home-news-box .home-news-list{display:none}
.prefooter-editorial-slot>.home-news-box .home-news-lead h3{font-size:17px;margin:8px 0 0}
.prefooter-editorial-slot>.home-news-box .home-news-lead p{display:none}
.prefooter-editorial-slot>.home-news-box .home-image-grid{grid-template-columns:1fr 1fr;gap:8px}
.prefooter-editorial-slot>.home-news-box .home-image-media,.prefooter-editorial-slot>.home-news-box .home-image-media img,.prefooter-editorial-slot>.home-news-box .home-image-media .tiny-ph{height:105px}
.prefooter-editorial-slot>.home-news-box .home-image-grid h3{font-size:13px}
.prefooter-editorial-slot>.home-news-box .home-list-grid{grid-template-columns:1fr}
.prefooter-editorial-slot>.home-news-box .home-list-grid article:nth-child(n+4){display:none}
.prefooter-editorial-slot>.home-news-box .home-list-grid img{width:82px;height:60px}
@media(max-width:950px){.prefooter-editorial-row{grid-template-columns:1fr 1fr}.prefooter-center{grid-column:auto}.prefooter-left{grid-column:1/-1}}
@media(max-width:650px){.prefooter-editorial-row{grid-template-columns:1fr}.prefooter-left,.prefooter-center,.prefooter-right{grid-column:auto}.prefooter-editorial-slot>.compact-calendar-widget{max-width:310px!important;margin-inline:auto!important}}


/* v1.5.13 - coherent final pre-footer row */
.prefooter-editorial-row{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;margin:24px 0 18px!important}
.prefooter-editorial-slot{display:flex;min-width:0;align-items:stretch}
.prefooter-editorial-slot.is-empty{display:flex!important}
.prefooter-editorial-slot>*{width:100%;margin:0!important}
.prefooter-editorial-slot>.news-tabs-widget{height:100%;min-height:100%;border-radius:14px;overflow:hidden}
.prefooter-editorial-slot>.compact-calendar-widget{height:auto;align-self:stretch;max-width:none!important}
.prefooter-editorial-slot>.home-news-box{height:100%!important;display:flex;flex-direction:column}
.prefooter-editorial-slot>.home-news-box .home-news-layout,.prefooter-editorial-slot>.home-news-box .home-image-grid,.prefooter-editorial-slot>.home-news-box .home-list-grid{flex:1}
@media(max-width:950px){.prefooter-editorial-row{grid-template-columns:1fr 1fr!important}.prefooter-left{grid-column:1/-1!important}.prefooter-editorial-slot>.news-tabs-widget{max-width:none}}
@media(max-width:650px){.prefooter-editorial-row{grid-template-columns:1fr!important}.prefooter-left,.prefooter-center,.prefooter-right{grid-column:auto!important}.prefooter-editorial-slot>.compact-calendar-widget{max-width:310px!important;margin-inline:auto!important}.prefooter-editorial-slot>.news-tabs-widget{max-width:none!important}}

/* v1.5.15 visual widget layout manager */
.widget-layout-manager{border-top:4px solid #9b1119}.widget-layout-legend{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;margin:8px 0 12px;border-radius:10px;background:#f7f8fa;color:#5f6671;font-size:12px}.widget-layout-list{display:grid;gap:9px}.widget-layout-row{display:grid;grid-template-columns:42px minmax(180px,1.5fr) 95px minmax(145px,.8fr) minmax(120px,.65fr) 76px;align-items:center;gap:10px;padding:11px;border:1px solid #e2e5e9;border-radius:11px;background:#fff;transition:border-color .15s,box-shadow .15s}.widget-layout-row:hover{border-color:#c7ccd2}.widget-layout-row.is-dragging{opacity:.55;border-color:#9b1119;box-shadow:0 8px 22px rgba(0,0,0,.08)}.widget-drag-handle{height:42px;display:grid;place-items:center;border-radius:8px;background:#f2f3f5;color:#666;font-size:22px;cursor:grab;user-select:none}.widget-layout-name{display:grid;gap:2px}.widget-layout-name strong{font-size:14px}.widget-layout-name small{color:#949aa3;font-size:10px}.widget-layout-row label{margin:0!important}.widget-layout-row select{min-height:40px!important}.widget-layout-toggle{display:flex!important;align-items:center;gap:7px!important}.widget-layout-toggle input{width:auto!important}.widget-order-buttons{display:flex;gap:5px}.widget-order-buttons button{width:34px;height:34px;border:1px solid #d8dce1;background:#fff;border-radius:7px;cursor:pointer;font-weight:900}.widget-layout-note{margin-top:10px!important}
.managed-widget-zone{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:18px 0;align-items:start}.managed-widget-zone.is-empty{display:none}.managed-zone-sidebar{display:block;margin:0 0 14px}.managed-zone-sidebar.is-empty{display:none}.managed-widget-shell{min-width:0}.managed-widget-shell.span-full{grid-column:span 12}.managed-widget-shell.span-half{grid-column:span 6}.managed-widget-shell.span-third{grid-column:span 4}.managed-zone-sidebar .managed-widget-shell{width:100%;margin:0 0 14px}.managed-widget-shell>*{width:100%;max-width:100%;margin-top:0!important;margin-bottom:0!important;box-sizing:border-box}.managed-origin-empty{display:none!important}
@media(max-width:1050px){.widget-layout-row{grid-template-columns:36px minmax(150px,1fr) 88px minmax(130px,.8fr) minmax(110px,.6fr) 72px}.managed-widget-shell.span-third{grid-column:span 6}}
@media(max-width:760px){.widget-layout-row{grid-template-columns:34px 1fr 72px}.widget-layout-row>label:not(.widget-layout-toggle){grid-column:2/-1}.widget-order-buttons{grid-column:2/-1}.managed-widget-zone{grid-template-columns:1fr;gap:11px}.managed-widget-shell.span-full,.managed-widget-shell.span-half,.managed-widget-shell.span-third{grid-column:1/-1}.widget-layout-legend{display:grid}.managed-zone-sidebar{display:block}}

/* 1.5.24 — imported-news slider polish */
.news-slider{min-height:500px;background:linear-gradient(135deg,#24090d 0%,#120607 58%,#070707 100%)}
.news-slide-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.15),rgba(0,0,0,.05));pointer-events:none}
.news-slide-media picture{position:absolute;inset:0}
.news-slide-media img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.96) contrast(1.02)}
.news-slide-ph{position:absolute;inset:0;background:radial-gradient(circle at 25% 30%,rgba(156,21,31,.32),transparent 38%),linear-gradient(135deg,#2b0b10,#120708 62%,#080808);font-size:0}
.news-slide:after{inset:22% 0 0;background:linear-gradient(transparent 0%,rgba(0,0,0,.45) 34%,rgba(0,0,0,.94) 100%)}
.news-slide-overlay{right:clamp(24px,5vw,72px);left:clamp(24px,5vw,72px);bottom:clamp(24px,5vw,52px);max-width:980px}
.news-slide-overlay h1{font-size:clamp(30px,3.25vw,50px);line-height:1.28;margin:10px 0 8px;letter-spacing:-.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-slide-overlay p{font-size:15px;line-height:1.85;max-width:900px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-slide-overlay .slider-cta{margin-top:16px}
@media(max-width:760px){
  .news-slider{min-height:430px}
  .news-slide-overlay{right:20px;left:20px;bottom:24px}
  .news-slide-overlay h1{font-size:clamp(25px,7vw,34px);line-height:1.35;-webkit-line-clamp:3}
  .news-slide-overlay p{font-size:13px;line-height:1.75;-webkit-line-clamp:2}
  .slider-arrow{width:38px;height:38px;font-size:26px}
}

/* v1.5.26 - balanced three-news widgets */
.news-widget-row-three{align-items:start!important}
.news-widget-row-three>.news-widget-card{height:auto!important;align-self:start!important}
.latest-news-list{width:100%}
.latest-news-list article{grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important;width:100%;direction:rtl;align-items:start}
.latest-news-list article>div{min-width:0;width:100%;text-align:right}
.latest-thumb,.latest-thumb img{width:64px!important;height:54px!important}
.latest-news-list h3{width:100%;max-width:none;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.7!important}
.urgent-widget,.latest-widget,.popular-widget{align-self:start!important}
@media(max-width:1100px){.news-widget-row-three{align-items:start!important}}
@media(max-width:760px){.latest-news-list article{grid-template-columns:68px minmax(0,1fr)!important}.latest-thumb,.latest-thumb img{width:68px!important;height:56px!important}}


/* v1.5.28 - use the center column instead of leaving a blank shaft */
.news-widget-row-three{align-items:start!important}
.news-widget-column{min-width:0;display:flex;flex-direction:column;gap:18px;align-self:start}
.news-widget-column>.news-widget-card{width:100%;height:auto!important;margin:0!important}
.center-widget-stack{align-self:start}
.center-archive-widget{border-top:3px solid #9b1119}
.archive-dot{background:#9b1119;box-shadow:0 0 0 5px #f9e9eb}
.center-archive-list{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.center-archive-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid #eef0f2;color:#34373b;font-size:13px;font-weight:700}
.center-archive-list a:hover{color:var(--red)}
.center-archive-list b{min-width:30px;height:26px;padding:0 7px;border-radius:999px;background:#fff1f2;color:var(--red);display:grid;place-items:center;font-size:11px}
.center-archive-all{display:flex;justify-content:flex-start;margin-top:13px;color:var(--red);font-size:12px;font-weight:900}
.homepage-sidebar .compact-home-archive{display:none!important}
@media(max-width:1100px){.center-widget-stack{gap:14px}.center-archive-list{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.news-widget-column{gap:12px}.center-archive-list{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.center-archive-list{grid-template-columns:1fr}}


/* 1.5.30 - News search */
.header-news-search{display:flex;align-items:center;height:32px;background:#fff;border:1px solid rgba(255,255,255,.3);border-radius:9px;overflow:hidden;min-width:225px}
.header-news-search input{border:0;outline:0;background:transparent;padding:0 10px;width:185px;height:100%;font-family:inherit;font-size:12px;color:#222}
.header-news-search button{width:38px;height:100%;border:0;background:#b5121b;color:#fff;font:700 20px/1 Cairo,cursive;cursor:pointer}
.news-search-page{padding:34px 0 60px}.search-page-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px;border-bottom:1px solid #e9ecef;padding-bottom:18px}.search-eyebrow{display:inline-block;color:#b5121b;font-size:13px;font-weight:800;margin-bottom:5px}.search-page-head h1{margin:0;font-size:30px;line-height:1.35}.search-result-count{background:#f8ecee;color:#a20f17;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:800;white-space:nowrap}
.search-page-form{display:flex;gap:8px;margin:0 0 28px}.search-page-form input{flex:1;min-width:0;height:52px;border:1px solid #dfe3e7;border-radius:12px;padding:0 16px;font:500 15px Cairo,sans-serif}.search-page-form input:focus{outline:none;border-color:#b5121b;box-shadow:0 0 0 4px rgba(181,18,27,.08)}.search-page-form button{border:0;border-radius:12px;padding:0 28px;background:#b5121b;color:#fff;font:800 15px Cairo,sans-serif;cursor:pointer}
.search-results-grid{display:grid;gap:15px}.search-result-card{display:grid;grid-template-columns:210px 1fr;border:1px solid #e7eaed;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 30px rgba(20,24,30,.04)}.search-result-image{min-height:150px;background:#f3f4f5;display:block}.search-result-image img{width:100%;height:100%;object-fit:cover;display:block}.search-result-body{padding:18px 20px;min-width:0}.search-result-meta{display:flex;gap:12px;align-items:center;color:#8a8f95;font-size:12px;margin-bottom:7px}.search-result-meta span{color:#b5121b;font-weight:800}.search-result-body h2{font-size:20px;line-height:1.55;margin:0 0 7px}.search-result-body h2 a{color:#17191c;text-decoration:none}.search-result-body h2 a:hover{color:#b5121b}.search-result-body p{color:#676d75;font-size:13px;line-height:1.9;margin:0}.search-result-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:11px;color:#8a8f95;font-size:12px}.search-result-foot a{color:#b5121b;text-decoration:none;font-weight:800}.search-empty-state{text-align:center;border:1px dashed #d9dde1;border-radius:14px;padding:42px 20px;color:#777;background:#fafafa;font-weight:700}.search-pagination{margin-top:25px}
@media(max-width:900px){.header-news-search{min-width:180px}.header-news-search input{width:140px}.search-result-card{grid-template-columns:165px 1fr}}
@media(max-width:650px){.topbar{align-items:flex-start;gap:8px}.toplinks{flex-wrap:wrap}.header-news-search{order:3;width:100%;min-width:100%}.header-news-search input{width:auto;flex:1}.search-page-head{align-items:flex-start;flex-direction:column}.search-page-head h1{font-size:25px}.search-page-form{flex-direction:column}.search-page-form button{height:48px}.search-result-card{grid-template-columns:1fr}.search-result-image{height:190px}.search-result-body h2{font-size:18px}}


/* v1.5.34 - latest news text flow fix */
.latest-news-list article.has-thumb{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;direction:rtl!important}
.latest-news-list article.no-thumb{display:block!important;width:100%!important}
.latest-news-list .latest-copy{min-width:0!important;width:100%!important;text-align:right!important}
.latest-news-list article.no-thumb .latest-copy{display:block!important;width:100%!important;padding-inline:0!important}
.latest-news-list h3{margin:4px 0 5px!important;font-size:15px!important;line-height:1.75!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
.latest-news-list h3 a{display:block!important;width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
.latest-news-list .latest-thumb,.latest-news-list .latest-thumb img{width:72px!important;height:60px!important;display:block!important;object-fit:cover!important;border-radius:8px!important}
@media(max-width:760px){.latest-news-list article.has-thumb{grid-template-columns:68px minmax(0,1fr)!important}.latest-news-list .latest-thumb,.latest-news-list .latest-thumb img{width:68px!important;height:56px!important}.latest-news-list h3{font-size:14px!important;line-height:1.7!important}}
