/* Follow-up: focused dossiers, tighter rhythm, glass feedback, living keffiyeh. */
#main-nav-menu .nav-menu-item>.nav-link.nav-research{background:#172125!important;color:#fff!important;box-shadow:inset 0 -2px transparent;transition:background-color .18s ease,box-shadow .18s ease!important}
#main-nav-menu .nav-menu-item:hover>.nav-link.nav-research,#main-nav-menu .nav-menu-item>.nav-link.nav-research:focus-visible{background:#a91e2c!important;color:#fff!important;box-shadow:inset 0 -2px #e87f89}
#main-nav-menu .nav-link.nav-research::after{content:none!important}#main-nav-menu .nav-link.nav-research svg{color:inherit!important}
#main-nav-menu .nav-link.nav-research[data-current-section=true]{background:#a91e2c!important;box-shadow:inset 0 -2px #e87f89}
#main-global-header::before{--keffiyeh-step:112px;animation:keffiyeh-drift 32s linear infinite}
@keyframes keffiyeh-drift{from{background-position:0 0}to{background-position:var(--keffiyeh-step) 0}}
#topics-bar-section{padding-block:16px!important}#topics-bar-section nav{border-block:0!important}
#topics-bar-section .topic-art-strip{gap:8px!important;padding:10px 0!important}
.topic-art-clean .topic-art-title{font-size:16px;bottom:14px;left:12px;right:12px}
.topic-art-clean .topic-art-image{filter:grayscale(.15)}
/* One separation decision per widget: headings and spacing do the work. */
body[data-page=home] main>section:not(#hero-section):not(#latest-news-grid),body[data-page=home] main>div>section{padding-block:20px!important}
body[data-page=home] #camps-now-section>.container,body[data-page=home] #coverage-24h-section>.container,body[data-page=home] #special-reports-section>.container{border-top:0!important;padding-top:0!important;padding-bottom:0!important}
body[data-page=home] main section>.container>header,body[data-page=home] #refugee-media-section header{border-bottom:0!important;margin-bottom:18px!important;padding-bottom:0!important;gap:12px!important}
body[data-page=home] .home-compact-card>div{gap:12px!important;padding-top:12px!important;padding-bottom:4px!important}
body[data-page=home] .home-compact-card time{font-size:11px!important}
body[data-page=home] .archive-sample{min-width:0}.archive-sample h3{line-height:1.65!important}
body[data-page=home] #camps-now-section .lg\:col-span-7{gap:14px!important}
body[data-page=home] #camps-now-section .lg\:col-span-7>article{height:310px!important;min-height:0!important;border-radius:6px!important;overflow:hidden;position:relative}
body[data-page=home] #camps-now-section .lg\:col-span-7>article>img{width:100%;height:100%;object-fit:cover}
body[data-page=home] #camps-now-section .camp-news-grid{gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body[data-page=home] #camps-now-section .camp-news-grid article{padding:8px!important;gap:10px!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}
body[data-page=home] #camps-now-section .camp-news-grid article>a{width:72px!important;height:72px!important;flex-shrink:0}
body[data-page=home] #camps-now-section .camp-news-grid h4{font-size:14px!important;line-height:1.65!important}
body[data-page=home] #camps-now-section .camp-news-grid time{font-size:10px!important}
body[data-page=home] #camps-map-container{height:360px!important;min-height:360px!important;flex:none!important}
body[data-page=home] .camp-list{gap:6px!important;margin-top:10px!important}.camp-list>*{padding:7px 10px!important;font-size:13px!important;min-height:36px}
main#page-content .shared-crumb-container{padding-top:16px!important;padding-bottom:18px!important}
.tpl-head{border-bottom:0!important;margin-bottom:20px!important;padding-bottom:0!important}.tpl-head p{max-width:780px}
.tpl-section{margin-block:24px!important}.tpl-section h2,.tpl-panel h2{margin-bottom:14px}
.tpl-toolbar{margin-block:16px!important;padding:16px!important}.tpl-tabs{margin-block:16px!important}
.tpl-card{border-bottom:0!important;padding-bottom:8px!important}.tpl-card h3{font-size:18px;line-height:1.65}.tpl-grid{gap:22px!important}
main .page-header{padding-bottom:20px!important;border-bottom:0!important}.files-intro{padding-block:12px 22px!important;gap:28px!important;border-bottom:0!important}.files-directory-section{padding-top:18px!important}
.files-dossier-link{min-height:174px!important}.files-dossier-link h3{margin-top:18px!important}
.media-library-header{margin-bottom:20px!important;padding-bottom:16px!important;border-bottom:0!important}.media-card{border-bottom:0!important;padding-bottom:8px!important}
.editorial-section{border-top:0!important;padding-block:22px!important}.region-hero{gap:24px!important;margin-bottom:22px!important}.region-intro>p{margin-block:12px!important}.region-hero-actions{margin-bottom:14px!important}
.camp-heading{margin-bottom:18px!important}
/* File detail: a cover-led issue page with context alongside its materials. */
.dossier-wrap{padding-bottom:32px!important}.dossier-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.8fr);gap:34px;align-items:center;margin-bottom:26px}
.dossier-hero-copy{min-width:0}.dossier-eyebrow{font-size:12px;font-weight:700;color:#b8202d}.dossier-hero h1{font-size:clamp(30px,3.5vw,46px);font-weight:800;line-height:1.4;margin:8px 0}.dossier-tagline{font-size:20px;line-height:1.65;font-weight:600;color:#263239;margin:0 0 10px}
.dossier-hero [data-file-desc]{font-size:15px;line-height:1.9;color:#5c6673;max-width:690px;margin:0}.dossier-hero-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#64717b;margin-top:14px}.dossier-hero-meta span+span{border-inline-start:1px solid #dce1e5;padding-inline-start:16px}
.dossier-jump{display:flex;align-items:center;gap:12px;margin-top:16px}.dossier-jump a{min-height:42px;display:flex;align-items:center;padding:8px 14px;border-radius:4px;border:1px solid #dce1e5;font-size:13px;font-weight:600;color:#a91e2c;background:#fff}.dossier-jump a:first-child{background:#172125;color:#fff;border-color:#172125}.dossier-jump a:hover{background:#b8202d;border-color:#b8202d;color:#fff!important}
.dossier-art{margin:0;height:280px;position:relative;overflow:hidden;border-radius:6px;background:#172125}.dossier-art img{height:100%;width:100%;object-fit:cover;display:block}.dossier-art::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#101b20d9,transparent 60%)}.dossier-art figcaption{position:absolute;bottom:18px;inset-inline:20px;z-index:1;font-size:18px;font-weight:700;color:#fff}
.dossier-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:start}.dossier-materials{min-width:0}.dossier-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.dossier-section-head h2{font-size:25px;font-weight:700;line-height:1.5}.dossier-section-head>span{font-size:12px;color:#697680}
.dossier-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.dossier-filters button{min-height:40px;padding:6px 12px;font-size:13px;color:#4d5a65;border:1px solid #dce1e5;border-radius:4px;background:#fff;white-space:nowrap}.dossier-filters button:hover{border-color:#b8202d;color:#b8202d}.dossier-filters button[aria-pressed=true]{background:#b8202d;border-color:#b8202d;color:#fff}
.dossier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}.dossier-card{min-width:0}.dossier-card>a{display:block;overflow:hidden;aspect-ratio:16/9;border-radius:5px;background:#f1f2f3}.dossier-card img{height:100%;width:100%;object-fit:cover;display:block;scale:1;transition:scale .24s ease!important}.dossier-card:hover img{scale:1.025}.dossier-card .dossier-kind{font-size:11px;font-weight:700;color:#b8202d;display:block;margin:8px 0 4px}.dossier-card h3{font-size:17px;font-weight:700;line-height:1.7;margin:0;color:#202a30}.dossier-card h3 a:hover{color:#b8202d;text-decoration:underline;text-underline-offset:4px}.dossier-card p{font-size:12px;line-height:1.85;color:#66727c;margin:6px 0 0}
.dossier-more{display:block;min-height:44px;margin:24px auto 0;background:#fff;border:1px solid #dce1e5;color:#a91e2c;padding:8px 22px;border-radius:4px;font-size:14px;font-weight:600}.dossier-more:hover{background:#fff1f2;border-color:#b8202d}
.dossier-context{padding-inline-start:22px;border-inline-start:1px solid #e3e6e8}.dossier-context section+section{margin-top:24px}.dossier-context h2{font-size:18px;font-weight:700;margin:4px 0 12px;line-height:1.6}.dossier-angle{margin:0 0 14px}.dossier-angle h3{font-size:14px;font-weight:700;line-height:1.7;margin:0 0 3px}.dossier-angle p{font-size:12px;line-height:1.85;color:#67727c;margin:0}.dossier-reading a{display:block;font-size:13px;line-height:1.8;margin-bottom:12px;color:#263239}.dossier-reading a:hover{color:#b8202d;text-decoration:underline}.dossier-side-links{display:grid;gap:8px;margin-top:24px}.dossier-side-links a{font-size:13px;font-weight:600;min-height:38px;display:flex;align-items:center;color:#b8202d}
@media(max-width:1023px){#main-global-header::before{--keffiyeh-step:102px}.dossier-layout{gap:24px;grid-template-columns:minmax(0,1fr) 220px}.dossier-hero{gap:24px}.dossier-context{padding-inline-start:18px}}
@media(max-width:991px){body[data-page=home] main>section:not(#hero-section):not(#latest-news-grid),body[data-page=home] main>div>section{padding-block:12px!important}body[data-page=home] #camps-now-section .lg\:col-span-7>article{height:230px!important}body[data-page=home] #camps-now-section .camp-news-grid article{display:flex!important;padding:4px!important;gap:8px!important}body[data-page=home] #camps-now-section .camp-news-grid article>a{width:54px!important;height:66px!important}body[data-page=home] #camps-now-section .camp-news-grid h4{font-size:12px!important}.camp-news-grid article time{display:none!important}body[data-page=home] #camps-map-container{height:280px!important;min-height:280px!important}body[data-page=home] #refugee-media-section .home-compact-card>a:first-child{aspect-ratio:4/3!important}body[data-page=home] main section>.container>header{margin-bottom:14px!important}#topics-bar-section .topic-art-strip{gap:8px!important}#topics-bar-section .topic-art-strip li{flex-basis:138px!important}}
@media(max-width:767px){.dossier-hero{grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:start}.dossier-art{height:210px}.dossier-art figcaption{font-size:14px;bottom:12px;inset-inline:12px}.dossier-layout{grid-template-columns:1fr}.dossier-context{border-inline-start:0;padding-inline-start:0;border-top:1px solid #e3e6e8;padding-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.dossier-context section+section{margin-top:0}.dossier-side-links{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0;gap:12px}.dossier-hero h1{font-size:29px}.dossier-tagline{font-size:16px}.dossier-hero [data-file-desc]{font-size:13px}.dossier-hero-meta{gap:8px}.dossier-jump{gap:6px;flex-wrap:wrap}}
@media(max-width:599px){#main-global-header::before{--keffiyeh-step:96px}.dossier-hero{grid-template-columns:1fr;gap:14px;margin-bottom:22px}.dossier-art{height:155px;grid-row:1}.dossier-art img{object-position:center 40%}.dossier-art figcaption{font-size:20px}.dossier-hero h1{font-size:29px}.dossier-hero [data-file-desc]{font-size:14px}.dossier-hero-meta{margin-top:10px}.dossier-jump{margin-top:12px}.dossier-grid{gap:18px 12px}.dossier-card h3{font-size:14px;line-height:1.75}.dossier-card p{display:none}.dossier-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.dossier-filters button{flex-shrink:0}.dossier-section-head h2{font-size:22px}.dossier-context{gap:18px}.dossier-side-links{grid-template-columns:1fr}.dossier-card>a{aspect-ratio:4/3}}
@media(prefers-reduced-motion:reduce){#main-global-header::before{animation:none!important}.dossier-card img{transition:none!important;scale:1!important}}
@media(max-width:991px){
 body[data-page=home] #camps-now-section [aria-label="تصفية حسب المنطقة"]{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;gap:6px!important;padding-bottom:4px;margin-bottom:10px!important}body[data-page=home] #camps-now-section [aria-label="تصفية حسب المنطقة"] button{flex-shrink:0;padding:6px 12px!important;min-height:40px}
 body[data-page=home] .camp-list{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px!important}body[data-page=home] .camp-list>*{flex-shrink:0;white-space:nowrap}
 body[data-page=home] #camps-now-section .camp-news-grid article>div>div:has(time){display:none!important}
 body[data-page=home] #camps-now-section .camp-news-grid h4{font-size:13px!important;line-height:1.65!important}
 body[data-page=home] #camps-now-section .camp-news-grid article>a{width:48px!important;height:60px!important}
}
body[data-page=home] main>div>section{margin-block:0!important}
#topics-bar-section .topic-art-strip{border-block:0!important}
/* Consistent institutional file hover: fixed card, subtle image zoom, black frame. */
.topic-art-card.topic-art-clean{background:#172125!important;outline:none!important;box-shadow:none!important}
.topic-art-card::before,.files-dossier-link::after{content:""!important;position:absolute;inset:0;width:auto;height:auto;box-sizing:border-box;border:6px solid #050608;border-radius:inherit;z-index:4;pointer-events:none;background:none!important;transform:none!important;animation:none!important;opacity:0;transition:opacity .24s ease!important}
.topic-art-card .topic-art-color{display:none!important}
.topic-art-card .topic-art-image{filter:none!important;transform:scale(1)!important;transition:transform .24s ease!important}
.files-dossier-link .files-cover{filter:none!important;transform:scale(1)!important;transition:transform .24s ease!important}
.files-dossier:hover{border-color:var(--files-rule)!important;box-shadow:none!important}
.topic-art-card:hover,.topic-art-card:focus-visible{border-color:#dce1e5!important;box-shadow:none!important}
@media(hover:hover) and (pointer:fine){
 .topic-art-card:hover::before,.files-dossier-link:hover::after{opacity:1}
 .topic-art-card:hover .topic-art-image,.files-dossier-link:hover .files-cover{transform:scale(1.025)!important}
}
.topic-art-card:focus-visible::before,.files-dossier-link:focus-visible::after{opacity:1}
.topic-art-card:focus-visible,.files-dossier-link:focus-visible{outline:2px solid #b8202d!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){.topic-art-card .topic-art-image,.files-dossier-link .files-cover{transform:none!important;transition:none!important}.topic-art-card::before,.files-dossier-link::after{transition:none!important}}

/* Unified left header utilities: researcher and search share one height and treatment. */
#main-global-header .header-utility-actions{display:flex;align-items:center;gap:8px!important;flex-shrink:0}
#main-global-header .header-research-link,#main-global-header #search-toggle-btn{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;min-height:44px;background:#172125!important;color:#fff!important;border:1px solid #172125;border-radius:5px;box-shadow:none!important;transition:background-color .18s ease,border-color .18s ease!important}
#main-global-header .header-research-link{padding:8px 11px;font-size:13px;font-weight:600;line-height:1.6;white-space:nowrap;text-decoration:none}
#main-global-header #search-toggle-btn{width:44px;min-width:44px;padding:0}
#main-global-header .header-research-link::after{content:none!important}
#main-global-header .header-research-link svg,#main-global-header #search-toggle-btn svg{color:inherit!important;transform:none!important}
#main-global-header .header-research-link:hover,#main-global-header .header-research-link:focus-visible,#main-global-header #search-toggle-btn:hover,#main-global-header #search-toggle-btn:focus-visible,#main-global-header #search-toggle-btn[aria-expanded=true],#main-global-header .header-research-link[data-current-section=true]{background:#a91e2c!important;border-color:#a91e2c!important;color:#fff!important}
#main-global-header .header-research-link:focus-visible,#main-global-header #search-toggle-btn:focus-visible{outline:2px solid #b8202d;outline-offset:3px}
@media(max-width:1023px){#main-global-header .header-research-link{display:none}}

/* Homepage cards respond as one unit, with identical image motion on enter and exit. */
body[data-page=home] main .post img,body[data-page=home] #continuous-coverage-section img{scale:1!important;transform:none!important;rotate:0deg!important;translate:none!important;filter:none!important;transition:scale .24s cubic-bezier(.2,.65,.3,1),filter .24s ease!important}
body[data-page=home] main .post :is(h2,h3,h4) a{transition:color .18s ease!important}
body[data-page=home] main .post>a:has(>img){overflow:hidden}
@media(hover:hover) and (pointer:fine){
 body[data-page=home] main .post:hover img,body[data-page=home] #continuous-coverage-section:hover img{scale:1.025!important;filter:brightness(.97)!important}
 body[data-page=home] main .post:hover :is(h2,h3,h4) a{color:#b8202d!important}
 body[data-page=home] #refugee-media-section .post:hover :is(h2,h3,h4) a{color:#ffb5be!important}
 body[data-page=home] #camps-now-section .post:has(>img):hover :is(h2,h3,h4) a{color:#fff!important;text-decoration:underline;text-underline-offset:5px}
 body[data-page=home] #continuous-coverage-section:hover h2 a{color:#b8202d!important}
 body[data-page=home] main section> .container>header a:hover,body[data-page=home] .topic-art-heading>a:hover{ text-decoration:underline;text-underline-offset:5px}
 body[data-page=home] main [aria-label="تبويبات القسم"] button:not([aria-pressed=true]):hover,body[data-page=home] #camps-now-section [aria-label="تصفية حسب المنطقة"] button:not([aria-pressed=true]):hover{background:#fff1f2!important;color:#a91e2c!important;border-color:#b8202d!important}
}
body[data-page=home] main .post:focus-within :is(h2,h3,h4) a{color:#b8202d!important}
body[data-page=home] #refugee-media-section .post:focus-within :is(h2,h3,h4) a{color:#ffb5be!important}
body[data-page=home] #camps-now-section .post:has(>img):focus-within :is(h2,h3,h4) a{color:#fff!important}
@media(prefers-reduced-motion:reduce){body[data-page=home] main .post img,body[data-page=home] #continuous-coverage-section img,body[data-page=home] main .post:hover img,body[data-page=home] #continuous-coverage-section:hover img{scale:1!important;transition:none!important}}
