/* HMI V9: polish based on pre-launch visual review. Only public frontend changes. */
/* Footer logo uses a true transparent PNG in a contrast-safe light pink colourway. */
.site-footer .footer-logo { width:114px; max-width:114px; padding:0!important; margin:0; border:0; border-radius:0; background:transparent!important; box-shadow:none!important; display:inline-block; }
.site-footer .footer-logo img { width:114px!important; max-width:100%; height:auto; object-fit:contain; background:none!important; display:block; }
.site-footer .footer-top>div:first-child p { font-size:clamp(23px,2.2vw,34px); line-height:1.25; margin-top:16px; max-width:310px; }
/* The Research page now opens at the actual featured research, not a large duplicate hero. */
.reports-section { padding-top:clamp(74px,8vw,118px); }
.reports-section-header { margin-bottom:36px; }
/* The editorial card cover is a branded graphic, with the article title OUTSIDE the cover. */
.hmi-live-editorials .article-card .article-art { position:relative; min-height:0; }
.hmi-editorial-cover .art-center { display:none!important; }
.hmi-editorial-cover .article-cover-graphic { position:absolute;inset:18% 8% 12%;display:grid;place-items:center;overflow:hidden;isolation:isolate; }
.hmi-editorial-cover .article-cover-graphic .orbit { position:absolute;display:block;border:1px solid #f4b6c273;border-radius:50%;width:38%;aspect-ratio:1; }
.hmi-editorial-cover .article-cover-graphic .orbit-mid { width:67%;border-style:dashed;animation:editorial-orbit 35s linear infinite; }
.hmi-editorial-cover .article-cover-graphic .orbit-outer { width:93%;border-color:#f4b6c238; }
.hmi-editorial-cover .article-cover-graphic .orbit-inner { width:27%;background:#f4b6c21a;border-color:#f4b6c2a1; }
.hmi-editorial-cover .article-cover-graphic .orbit-signal { width:14px;height:14px;background:#f4b6c2;border-radius:50%;position:absolute;top:23%;right:25%;box-shadow:0 0 0 9px #f4b6c226; }
.hmi-editorial-cover .article-cover-graphic>span { position:absolute;bottom:12%;left:0;right:0;text-align:center;color:#f4b6c2;font-size:clamp(8px,.7vw,11px);font-weight:700;letter-spacing:.22em; }
.hmi-editorial-cover .article-cover-graphic b { opacity:.55;padding:0 4px; }
.hmi-editorial-cover .art-top,.hmi-editorial-cover .art-bottom { position:relative; z-index:3; }
.hmi-editorial-cover .art-bottom>span:first-child { font-size:8px; }
@keyframes editorial-orbit{to{transform:rotate(360deg)}}
/* Centre consent choices and eliminate overhanging card/iframe content when media is disabled. */
.privacy-overlay,.newsletter-overlay{display:flex!important;align-items:center;justify-content:center;min-height:100dvh;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right));overflow-y:auto;}
.privacy-overlay[hidden],.newsletter-overlay[hidden]{display:none!important;}
.privacy-panel,.newsletter-invite-panel { width:min(100%,590px); max-width:590px; max-height:min(88dvh,740px); margin:auto; overflow:auto; border-radius:12px; box-sizing:border-box; }
.privacy-panel .consent-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;margin-top:25px; }
.privacy-panel .consent-buttons>[hidden] { display:none!important; }
.privacy-panel .consent-buttons>button { width:100%; min-width:0; min-height:48px; margin:0; text-align:center; justify-content:center; white-space:normal; border-radius:3px; }
.privacy-panel .consent-buttons #consent-accept { order:1; }
.privacy-panel .consent-buttons #consent-essential { order:2; }
.privacy-panel .consent-buttons #consent-manage { order:3; grid-column:1/-1; }
.privacy-panel .consent-buttons #consent-save { grid-column:1/-1; }
.privacy-panel small { text-align:center; }
.elfsight-placeholder { position:relative!important;min-height:270px!important;height:auto!important;box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px 26px!important;text-align:center;overflow:hidden!important; }
.elfsight-placeholder>* { position:relative;z-index:1;max-width:100%;margin:0; }
.elfsight-placeholder h3 { font-size:clamp(24px,2.4vw,35px);line-height:1.2;margin:4px 0 0; }
.elfsight-placeholder p { max-width:360px;line-height:1.55; }
.elfsight-placeholder .btn { min-height:44px;align-self:center;max-width:100%; }
#elfsight-slot,#elfsight-flipbook-slot { position:relative; min-width:0; isolation:isolate; }
@media(max-width:680px) { .privacy-panel,.newsletter-invite-panel{padding:28px 23px;max-height:86dvh;} .privacy-panel .consent-buttons { grid-template-columns:1fr; } .privacy-panel .consent-buttons>* {grid-column:1/-1;} .hmi-editorial-cover .article-cover-graphic {inset:20% 10% 14%;} .reports-section{padding-top:52px;} }
@media(prefers-reduced-motion:reduce){.hmi-editorial-cover .article-cover-graphic .orbit-mid{animation:none}}
/* Consistent, branded manage-preferences control instead of browser-default grey. */
.privacy-panel .consent-buttons #consent-manage { background:transparent;border:1px solid #dcb7c3;color:#8c1d40;font-weight:700;text-decoration:none; }
.privacy-panel .consent-buttons #consent-manage:hover { background:#fbe9ee; }
