/* Preserve the complete supplied Al Jazeera portrait cover in the existing
   homepage slot. The other five selected works keep their original layout. */
.home-featured-projects .featured-project-card.featured-project-film{background:#082638}
.home-featured-projects .featured-project-film img{
  object-fit:contain;padding-bottom:86px;box-sizing:border-box;
  transform:none!important;filter:none!important;
}
.home-featured-projects .featured-project-card.featured-project-film::before{
  background:linear-gradient(180deg,transparent 62%,rgba(3,18,30,.7))!important;
}
.featured-project-play{
  position:absolute;z-index:3;top:38%;left:50%;transform:translate(-50%,-50%);
  width:56px;height:56px;display:grid;place-items:center;border-radius:50%;
  background:#f7ad3f;color:#082638;border:2px solid rgba(255,255,255,.9);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
.featured-project-play svg{width:30px;height:30px;fill:currentColor}
.featured-project-duration{
  position:absolute;z-index:3;top:18px;left:18px;right:auto;
  padding:5px 10px;border-radius:999px;background:rgba(3,18,30,.8);
  color:#fff;font-size:12px;font-weight:700;direction:ltr;
}
[dir="rtl"] .featured-project-duration{left:auto;right:18px}
.featured-project-film:focus-visible{outline:3px solid var(--orange);outline-offset:4px}

/* Opted-in original films keep their declared ratio despite the retained
   legacy 800×600 player rule; existing players keep their current sizing. */
html body .project-video video.project-video-native-aspect,
html.dawaer-media-800x600 body .project.inner-page .project-video video.project-video-native-aspect{
  aspect-ratio:var(--project-video-aspect)!important;
  height:auto!important;min-height:0!important;max-height:none!important;
}

/* The language-extension story and its original portrait film. */
.fonts-featured-film{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);
  align-items:center;gap:clamp(28px,4vw,64px);margin-block:36px 48px;
  padding:clamp(22px,3vw,40px);border:1px solid rgba(60,184,180,.3);
  border-radius:24px;background:var(--bg);box-sizing:border-box;
}
.fonts-featured-film-copy{min-width:0}
.fonts-featured-film-copy h3{
  margin:0 0 20px;font-size:clamp(24px,2.7vw,36px);line-height:1.45;
  color:var(--ink);text-wrap:balance;
}
.fonts-featured-film-copy p{margin:0 0 18px;color:var(--muted);font-size:clamp(15px,1.25vw,18px);line-height:1.95}
.fonts-featured-film-copy .home-btn{margin-top:8px;color:var(--ink);border:1px solid var(--line)}
.fonts-featured-film-player{width:100%;min-width:0;margin:0;text-align:center}
.fonts-featured-film-player video{
  display:block;width:100%;height:auto;aspect-ratio:9 / 16;object-fit:contain;
  border-radius:16px;background:#082638;
}
.fonts-featured-film-player figcaption{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.fonts-page .fonts-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){
  .fonts-featured-film{grid-template-columns:1fr;padding:20px;gap:24px}
  .fonts-featured-film-player{width:min(100%,300px);margin-inline:auto}
}
@media(max-width:640px){.fonts-page .fonts-work-grid{grid-template-columns:1fr}}

html body main.fonts-page>section.fonts-work>.fonts-featured-film{width:min(100%,var(--fonts-inner-width))!important;max-width:var(--fonts-inner-width)!important;margin-inline:auto!important}
