/* Category widgets inspired by Cairo24; scoped to the child homepage. */
.eg-home-section-band{padding:40px 0 48px;background:var(--eg-band)}
.eg-home-sections{display:flex;flex-direction:column;gap:38px}
.eg-home-section-slot{margin:0!important;padding:0!important;width:100%;min-width:0}
.eg-home-section{margin:0;padding:0;color:var(--eg-text)}
.eg-home-section-heading{display:flex;align-items:center;margin:0 0 18px;padding:0 8px}
.eg-home-section-heading h2{font-family:inherit;font-size:23px;font-weight:800;line-height:1.8;margin:0;padding:0}
.eg-home-section-heading h2 a{display:inline-flex;align-items:center;gap:10px;color:var(--eg-text);text-decoration:none}
.eg-home-section-heading h2 a:before{content:"";display:block;width:4px;height:23px;background:var(--eg-red);border-radius:2px}
.eg-home-section-panel{background:var(--eg-surface);border:1px solid var(--eg-border);border-radius:17px;box-shadow:0 3px 14px rgb(0 0 0 / 3%);padding:28px 28px 0;overflow:hidden}
.eg-section-featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-bottom:26px}
.eg-section-story{min-width:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.eg-section-story-image{display:block;position:relative;overflow:hidden;border-radius:8px;background:var(--eg-band);aspect-ratio:16/9;text-decoration:none}
.eg-section-story-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.eg-section-story a:hover img{transform:scale(1.025)}
.eg-section-noimage{display:flex;align-items:center;justify-content:center;height:100%;width:100%;font-size:34px;font-weight:800;color:var(--eg-muted)}
.eg-section-story-copy{min-width:0}
.eg-section-story h3{font-family:inherit;margin:13px 0 9px;padding:0;font-size:19px;font-weight:700;line-height:1.85;letter-spacing:0}
.eg-section-story h3 a{color:var(--eg-text);text-decoration:none}
.eg-section-story h3 a:hover,.eg-home-section-heading h2 a:hover{color:var(--eg-red)}
.eg-section-story time{display:inline-block;color:var(--eg-red);font-size:11px;font-weight:600;line-height:1.5}
.eg-section-digest{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:24px;padding:24px 0 27px;border-top:1px solid var(--eg-border)}
.eg-section-story--compact{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:13px}
.eg-section-story--compact .eg-section-story-image{flex:0 0 95px;width:95px;aspect-ratio:1;border-radius:6px}
.eg-section-story--compact .eg-section-story-copy{flex:1}
.eg-section-story--compact h3{font-size:14px;line-height:1.9;margin:0 0 9px}
.eg-section-story--compact .eg-section-noimage{font-size:19px;min-height:95px}
.eg-home-section-more{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;margin:0 -28px;padding:10px 20px;border-top:1px solid var(--eg-border);color:var(--eg-muted);background:var(--eg-surface);font-size:13px;font-weight:700;text-decoration:none;transition:color .15s ease,background .15s ease}
.eg-home-section-more span{color:var(--eg-red);font-family:Arial,sans-serif;font-size:23px;line-height:1}
.eg-home-section-more:hover{color:var(--eg-red);background:var(--eg-band)}
.eg-section-featured--single{grid-template-columns:1fr}
.eg-section-featured--single .eg-section-story{display:flex;flex-direction:row-reverse;gap:24px;align-items:center}
.eg-section-featured--single .eg-section-story-image{flex:0 0 42%;max-width:42%}
.eg-section-featured--single .eg-section-story-copy{flex:1}
.eg-section-featured--single h3{font-size:22px;margin-top:0}
.eg-home-section--lead .eg-section-digest{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.eg-home-section--compact .eg-section-digest{border-top:0;padding-top:0}
.eg-home-section a:focus-visible{outline:2px solid var(--eg-red);outline-offset:4px}
@media(max-width:991px){
.eg-home-section-panel{padding:22px 22px 0}
.eg-home-section-more{margin-inline:-22px}
.eg-section-featured{gap:22px}
.eg-section-story h3{font-size:17px}
.eg-section-digest{gap:22px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.eg-section-story--compact h3{font-size:14px}
.eg-section-featured--single h3{font-size:19px}
}
@media(max-width:600px){
.eg-home-section-band{padding:28px 0 34px}
.eg-home-sections{gap:28px}
.eg-home-section-heading{margin-bottom:13px;padding-inline:2px}
.eg-home-section-heading h2{font-size:21px}
.eg-home-section-panel{padding:16px 16px 0;border-radius:13px}
.eg-home-section-more{margin-inline:-16px;min-height:51px;font-size:12px}
.eg-section-featured{grid-template-columns:1fr;gap:22px;margin-bottom:22px}
.eg-section-story h3{font-size:17px;line-height:1.9;margin-top:10px}
.eg-section-digest,.eg-home-section--lead .eg-section-digest{grid-template-columns:1fr;gap:0;padding:0 0 8px}
.eg-section-story--compact{padding:18px 0;gap:13px}
.eg-section-story--compact+.eg-section-story--compact{border-top:1px solid var(--eg-border)}
.eg-section-story--compact h3{font-size:14px;line-height:1.9;margin:0 0 8px}
.eg-section-story--compact .eg-section-story-image{flex-basis:90px;width:90px}
.eg-section-featured--single .eg-section-story{display:block}
.eg-section-featured--single .eg-section-story-image{max-width:100%;width:100%}
.eg-section-featured--single h3{font-size:17px;margin-top:12px}
}
@media(prefers-reduced-motion:reduce){.eg-section-story-image img,.eg-home-section-more{transition:none}}
/* Fill the thumbnail frame even when the source image has another ratio. */
.eg-home-section .eg-section-story-image>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
