/* V43 Brand system — scoped, responsive, preserves all V42 behavior */
:root { --yfi-navy:#071b33; --yfi-red:#e31b34; }
.yfi-brand-logo {display:block!important;object-fit:contain!important;object-position:center!important;max-width:100%;border-radius:0!important;flex:none!important;background:transparent!important;filter:none!important}
.yfi-brand-logo--header {width:clamp(62px,7vw,92px)!important;height:clamp(44px,5vw,65px)!important;min-width:0!important;}
.yfi-brand-logo--footer {width:clamp(116px,13vw,170px)!important;height:clamp(76px,8.4vw,114px)!important;margin:0 auto 12px!important;}
.yfi-brand-logo--inline-footer {display:block;margin:0 auto 13px;width:clamp(112px,12vw,158px);height:auto;max-height:100px;object-fit:contain}
.yfi-brand-logo--article-header {width:clamp(57px,8vw,76px);height:49px;flex:0 0 auto;object-fit:contain;vertical-align:middle}
.yfi-brand-logo--about-footer {width:140px;height:auto;max-height:95px;object-fit:contain;display:block;margin:0 auto 12px}
.top .brand.yfi-with-logo {display:inline-flex;align-items:center;gap:9px;min-width:0;white-space:normal;text-decoration:none}
.yfi-brand-logo--contact-footer{width:128px;max-height:82px;height:auto;object-fit:contain;display:block;margin:0 auto 9px}
.yfi-mini-footer{padding:35px 18px;background:#071b33;color:white;text-align:center;font-size:13px;line-height:1.6}
.yfi-mini-footer a{color:white;text-decoration:none}
.yfi-mini-footer strong{display:block;color:white;font-weight:750}
.yfi-mini-footer a:focus-visible{outline:3px solid #e31b34}
/* Watermarks stay independent of photos, and never cover faces on hero images. */
.yfi-photo-frame{display:block;position:relative;isolation:isolate;overflow:hidden;line-height:0}
.yfi-photo-frame>img{display:block;width:100%;height:100%;object-fit:cover}
.yfi-photo-watermark{position:absolute;z-index:2;bottom:clamp(8px,1.6vw,18px);right:clamp(8px,1.6vw,18px);width:clamp(30px,4.3vw,52px);height:clamp(30px,4.3vw,52px);object-fit:contain;opacity:.70;filter:drop-shadow(0 1px 3px #0008);pointer-events:none;user-select:none}
html[dir="rtl"] .yfi-photo-watermark{left:clamp(8px,1.6vw,18px);right:auto}
/* Framed article covers: preserve the existing 16:9 cards and accurate photo crop. */
.card>.yfi-photo-frame{width:100%;aspect-ratio:16/9;}
.card>.yfi-photo-frame>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 36%!important;}
.i18n-latest-card>.yfi-photo-frame{width:100%;aspect-ratio:16/9;align-self:center;}
.i18n-latest-card>.yfi-photo-frame>img{width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;object-fit:cover!important;object-position:center 35%!important;}
/* Standalone photo element whose container becomes a single framed responsive block. */
figure.story-photo .yfi-photo-frame,figure.feature-photo .yfi-photo-frame{width:100%;height:auto;}
figure.story-photo .yfi-photo-frame>img,figure.feature-photo .yfi-photo-frame>img{width:100%;height:auto;}
@media(max-width:760px){
  .yfi-brand-logo--header{width:clamp(52px,16vw,74px)!important;height:49px!important}
  .top .brand.yfi-with-logo{gap:6px;font-size:clamp(13px,3.5vw,17px)}
  .yfi-brand-logo--footer,.yfi-brand-logo--inline-footer{width:124px!important;height:auto!important}
  .i18n-head .i18n-brand .yfi-brand-logo--header {width:58px!important; height:44px!important}
}
/* Shared international strip on all internal pages: deliberately compact. */
.yfi-network-section--compact{padding:29px 0 16px!important;margin:0!important}
.yfi-network-section--compact .yfi-network-header{margin-bottom:9px}
.yfi-network-section--compact .yfi-network-overline{font-size:11px}
.yfi-network-section--compact .yfi-network-header h2{font-size:clamp(21px,2.4vw,29px);margin:5px 0 0;line-height:1.3}
.yfi-network-section--compact .yfi-network-header p{display:none}
.yfi-network-section--compact .yfi-network-card{min-height:103px;width:clamp(190px,19vw,245px);padding:11px 12px;gap:5px}
.yfi-network-section--compact .yfi-network-country{font-size:10px;min-height:23px}
.yfi-network-section--compact .yfi-network-flag{font-size:19px}
.yfi-network-section--compact .yfi-network-org{font-size:13px}
.yfi-network-section--compact .yfi-network-relationship{font-size:10px}
.yfi-network-section--compact .yfi-network-controls{padding-bottom:2px}
@media(max-width:700px){.yfi-network-section--compact{padding:23px 0 14px!important}.yfi-network-section--compact .yfi-network-card{min-height:105px;width:204px}.yfi-network-section--compact .yfi-network-hint{display:none}}
/* Variant for light author profile cards */
.authorbox .yfi-author-logo-light{width:80px!important;height:58px!important;min-width:62px!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;margin-inline-start:auto;align-self:center;background:transparent!important;flex-shrink:0!important}
@media(max-width:540px){.authorbox .yfi-author-logo-light{width:62px!important;height:46px!important;min-width:0!important}}
