/* WeeklyPress 21 — Jomhour Daily, a genuine two-column newspaper homepage.
   Intentionally scoped to jdp- classes: preserves legacy editorials and inner pages. */
body:has(.jdp-home){background:#f2f3f6!important;color:#17202e;overflow-x:clip}
.jdp-shell{width:min(calc(100% - 42px),1510px);margin-inline:auto}
.jdp-header{position:relative;z-index:95;background:linear-gradient(105deg,#141c2b 0%,#202b3c 67%,#531f2a 100%);color:#fff;box-shadow:0 9px 30px rgba(10,15,26,.12)}
.jdp-header__row{min-height:102px;padding-block:16px;display:flex;align-items:center;gap:clamp(15px,2.5vw,40px);justify-content:space-between}
.jdp-header__brand{display:flex;align-items:center;gap:15px;min-width:0;flex:0 1 auto}
.jdp-header__logo{display:grid;place-items:center;min-width:103px;width:clamp(102px,10vw,162px);height:69px;border-radius:12px;background:#c00f24;color:#fff;overflow:hidden;box-shadow:0 9px 25px rgba(0,0,0,.16)}
.jdp-header__logo strong{font-size:clamp(23px,2.2vw,34px);font-weight:950;line-height:1.2;white-space:nowrap}
.jdp-header__logo-image{width:100%;height:100%;object-fit:contain;padding:4px}
.jdp-header__identity{min-width:0;display:flex;flex-direction:column;gap:6px}
.jdp-header__identity>strong{font-size:clamp(19px,1.55vw,27px);line-height:1.55;font-weight:900;white-space:normal}
.jdp-header__issue-no{white-space:nowrap}
.jdp-header__identity small{font-size:11px;color:#bfc7d5;font-weight:500}
.jdp-header__separator{opacity:.6;padding-inline:5px}
.jdp-header__search{flex:1 1 210px;min-width:120px;max-width:320px;height:47px;display:flex;align-items:center;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(255,255,255,.055);transition:border-color .2s}
.jdp-header__search:focus-within{border-color:rgba(255,255,255,.6)}
.jdp-header__search input{width:100%;height:100%;min-width:0;background:transparent;border:0!important;box-shadow:none!important;color:#fff;outline:0;padding:0 15px;font-size:13px}
.jdp-header__search input::placeholder{color:#b1bacb}
.jdp-header__search button{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border:0;color:#fff;background:transparent;cursor:pointer}
.jdp-header__search .wpn-icon{width:20px;height:20px}
.jdp-header__actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.jdp-btn{min-height:47px;display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid rgba(255,255,255,.24);border-radius:12px;padding:9px 15px;font-size:12px;font-weight:800;white-space:nowrap;transition:transform .18s ease,background .18s ease}
.jdp-btn:hover{transform:translateY(-2px)}
.jdp-btn .wpn-icon{height:18px;width:18px}
.jdp-btn--ghost{color:#fff;background:rgba(255,255,255,.04)}
.jdp-btn--accent{border-color:#cf152b;color:#fff;background:linear-gradient(130deg,#e52131,#b50019);box-shadow:0 8px 20px rgba(188,0,30,.18)}
.jdp-header__menu{position:relative;flex:0 0 auto}
.jdp-header__menu>summary{display:grid;place-items:center;list-style:none;cursor:pointer;height:47px;width:43px;border:1px solid rgba(255,255,255,.22);border-radius:12px}
.jdp-header__menu>summary::-webkit-details-marker{display:none}
.jdp-header__menu>div{position:absolute;top:calc(100% + 13px);left:0;width:225px;padding:10px;border:1px solid #e7eaf0;border-radius:14px;background:#fff;color:#1c2636;box-shadow:0 20px 42px rgba(0,0,0,.19)}
.jdp-header__menu>div>a,.jdp-header__menu-links a{display:block;padding:9px 11px;border-radius:8px;font-size:12px;font-weight:700}
.jdp-header__menu>div>a:hover,.jdp-header__menu-links a:hover{color:#bd1830;background:#fff1f3}
.jdp-header__menu-links{padding:0;margin:7px 0 0;list-style:none;border-top:1px solid #edf0f3}
.jdp-header__menu-links li{margin:0}
.jdp-home{padding:clamp(17px,2.6vw,32px) 0 clamp(25px,3vw,40px)}
.jdp-main-layout{display:grid;direction:rtl;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;gap:clamp(16px,2.1vw,30px)}
.jdp-main-layout>section{min-width:0}
.jdp-section-heading,.jdp-cover-section__heading{min-height:65px;margin-bottom:13px;display:flex;align-items:center;justify-content:space-between;gap:13px}
.jdp-section-heading>div{display:flex;align-items:center;gap:10px}
.jdp-red-line{width:5px;height:24px;border-radius:9px;background:#c8102e}
.jdp-section-heading h1{margin:0;font-size:clamp(20px,1.8vw,28px);font-weight:950;line-height:1.45;color:#131c2b}
.jdp-section-heading>a{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:750;white-space:nowrap;color:#b3142d}
.jdp-section-heading>a .wpn-icon{width:14px;height:14px}
.jdp-news__list{display:grid;gap:11px}
.jdp-news-card{display:grid;grid-template-columns:112px minmax(0,1fr);direction:rtl;gap:15px;align-items:center;min-height:133px;padding:12px;border:1px solid #e3e6ec;border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(19,27,41,.028);transition:box-shadow .2s ease,border-color .2s ease}
.jdp-news-card:hover{border-color:#d5dce5;box-shadow:0 11px 28px rgba(18,26,42,.09)}
.jdp-news-card__media{display:grid;place-items:center;aspect-ratio:1.15;overflow:hidden;max-height:103px;border-radius:11px;background:#eff2f6;color:#a3afbf;font-size:12px}
.jdp-news-card__media img{height:100%;width:100%;object-fit:cover;transition:transform .25s ease}
.jdp-news-card:hover .jdp-news-card__media img{transform:scale(1.035)}
.jdp-news-card__body{min-width:0}
.jdp-news-card__meta{display:flex;gap:9px;justify-content:space-between;align-items:center;margin-bottom:6px;flex-wrap:wrap}
.jdp-news-card__meta time{color:#8a94a4;font-size:10px;line-height:1.7}
.jdp-news-card__category{font-size:10px;font-weight:750;color:#b3152a;background:#fbecee;padding:1px 8px;border-radius:20px}
.jdp-news-card h2{margin:0;color:#101827;font-size:clamp(14px,1.12vw,18px);font-weight:850;line-height:1.65;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jdp-news-card h2 a:hover{color:#bd122a}
.jdp-news-card p{font-size:11.5px;color:#667184;line-height:1.75;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jdp-news__empty{padding:30px 24px;background:#fff;border:1px dashed #d4dce7;border-radius:14px;color:#303d50;line-height:1.95}
.jdp-news__empty p{color:#69798b;font-size:12px}.jdp-news__empty a{font-size:12px;color:#b5142b;text-decoration:underline}
.jdp-cover-section__heading{align-items:center}
.jdp-cover-section__heading>div{min-width:0}
.jdp-cover-section__label{display:inline-flex;align-items:center;gap:7px;color:#b4112b;font-weight:750;font-size:11px}
.jdp-cover-section__label i{width:7px;height:7px;border-radius:50%;background:#20b86c;box-shadow:0 0 0 4px rgba(32,184,108,.11)}
.jdp-cover-section__heading h2{margin:2px 0 0;color:#1c2637;font-size:clamp(15px,1.3vw,20px);font-weight:850;line-height:1.65;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.jdp-cover-section__info{display:flex;gap:9px;color:#8190a4;font-size:10px}
.jdp-cover-section__view{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;color:#b5142f;font-weight:800;font-size:11px;white-space:nowrap}
.jdp-cover-section__view .wpn-icon{width:14px;height:14px}
.jdp-cover-frame{min-height:420px;display:flex;justify-content:center;align-items:flex-start;padding:clamp(12px,1.4vw,21px);border:1px solid #e0e4ea;border-radius:16px;background:linear-gradient(145deg,#fff,#fbfcfd);box-shadow:0 4px 16px rgba(14,21,33,.045);overflow:hidden}
.jdp-cover-frame__link{display:block;width:min(100%,var(--jdp-cover-max));line-height:0;box-shadow:0 10px 30px rgba(18,27,42,.15);border:1px solid #e3e7ed;background:white;transition:transform .2s ease,box-shadow .2s ease}
.jdp-cover-frame__link:hover{transform:translateY(-2px);box-shadow:0 13px 31px rgba(18,27,42,.18)}
.jdp-cover-frame__image{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
.jdp-cover-frame__pdf{position:relative;width:min(100%,var(--jdp-cover-max));aspect-ratio:.72;background:#f8f9fb;overflow:hidden;box-shadow:0 10px 30px rgba(18,27,42,.15)}
.jdp-cover-frame__pdf iframe{display:block;width:100%;height:100%;border:0;background:white;pointer-events:none;overflow:hidden}
.jdp-cover-frame__pdf-link{position:absolute;inset:0;z-index:2;cursor:pointer}
.jdp-cover-frame__missing{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:420px;width:100%;gap:12px;color:#667487}
.jdp-cover-frame__missing>span{display:grid;place-items:center;width:66px;height:66px;background:#f3f5f9;border-radius:18px;color:#b71935;font-size:38px}
.jdp-cover-frame__missing strong{font-size:16px;color:#263246}
.jdp-cover-frame__missing p{font-size:12px;max-width:320px;margin:0;line-height:2}
.jdp-cover-frame__missing a{background:#c5132c;color:white;padding:9px 15px;border-radius:9px;font-size:11px;font-weight:750}
.jdp-cover-section__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8894a5;margin:11px 4px 0;font-size:11px}
.jdp-cover-section__bottom a{color:#ad152a;font-size:11px;font-weight:800;display:flex;align-items:center;gap:4px}
.jdp-cover-section__bottom .wpn-icon{width:14px;height:14px}
.jdp-footer{padding:20px 0;background:#e9ecf1;color:#718094;border-top:1px solid #e1e5ec;font-size:11px}
.jdp-footer__inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.jdp-footer nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.jdp-footer a:hover{color:#b30d24}
@media(max-width:1160px){.jdp-header__row{gap:15px}.jdp-header__identity>strong{font-size:19px}.jdp-header__logo{width:105px;height:61px}.jdp-header__search{max-width:220px}.jdp-btn{padding-inline:11px}.jdp-main-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.jdp-news-card{grid-template-columns:95px minmax(0,1fr);gap:10px;min-height:120px;padding:10px}.jdp-news-card__media{max-height:100px}.jdp-news-card p{font-size:11px}}
@media(max-width:880px){.jdp-shell{width:min(calc(100% - 30px),720px)}.jdp-header__row{flex-wrap:wrap;min-height:80px}.jdp-header__brand{flex:1 1 auto}.jdp-header__search{order:3;max-width:none;flex-basis:100%;height:42px}.jdp-header__actions{margin-right:auto}.jdp-header__identity>strong{font-size:18px}.jdp-main-layout{grid-template-columns:minmax(0,1fr)}.jdp-cover-section{order:1}.jdp-news{order:2}.jdp-cover-frame{min-height:0}.jdp-news-card{grid-template-columns:110px minmax(0,1fr);min-height:121px}.jdp-news-card__media{max-height:100px}.jdp-section-heading{margin-top:20px}}
@media(max-width:560px){.jdp-shell{width:calc(100% - 22px)}.jdp-header__row{padding-block:11px;gap:10px}.jdp-header__brand{gap:9px}.jdp-header__logo{min-width:65px;width:70px;height:49px;border-radius:8px}.jdp-header__logo strong{font-size:20px}.jdp-header__identity>strong{font-size:14px}.jdp-header__identity small{font-size:9px}.jdp-header__actions{gap:5px}.jdp-btn{min-height:36px;padding:7px 8px;border-radius:9px;font-size:10px}.jdp-btn .wpn-icon{width:15px;height:15px}.jdp-btn--ghost{display:none}.jdp-header__menu>summary{width:36px;height:36px;border-radius:9px}.jdp-header__search{height:40px}.jdp-home{padding-top:15px}.jdp-section-heading,.jdp-cover-section__heading{gap:7px;min-height:52px}.jdp-cover-section__view{font-size:10px}.jdp-cover-section__heading h2{font-size:15px}.jdp-cover-frame{padding:9px;border-radius:13px}.jdp-news-card{grid-template-columns:88px minmax(0,1fr);padding:9px;gap:10px;min-height:112px}.jdp-news-card__media{max-height:90px}.jdp-news-card h2{font-size:13px;line-height:1.65}.jdp-news-card__meta{margin-bottom:3px}.jdp-news-card p{font-size:10px;-webkit-line-clamp:2;line-height:1.7}.jdp-section-heading h1{font-size:20px}.jdp-footer__inner{flex-direction:column;align-items:flex-start;gap:11px}.jdp-footer nav{gap:14px}}
@media(prefers-reduced-motion:reduce){.jdp-btn,.jdp-news-card,.jdp-news-card__media img,.jdp-cover-frame__link{transition:none!important}}
@media print{.jdp-header,.jdp-footer{display:none!important}.jdp-home{padding:0}.jdp-main-layout{display:block}.jdp-news{display:none}.jdp-cover-frame{box-shadow:none;border:0}.jdp-cover-frame__link{box-shadow:none}}
