.yh-home .xm-carousel{background:#071d3a;overflow:hidden;padding:90px 0 78px}.xm-carousel .yh-heading-row{margin-bottom:26px;align-items:center}.xm-carousel .yh-heading h2{font-size:clamp(36px,4.2vw,58px);font-weight:500;line-height:1.02;letter-spacing:-1.9px}.xm-carousel .yh-kicker{font-size:9px;margin-bottom:18px}.xm-all{color:#adcae9;font-size:12px;display:flex;gap:20px;align-items:center}.xm-tabs{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:30px}.xm-tabs button{background:none;border:0;padding:0 0 4px;color:#849bb8;font-size:14px;min-height:32px;cursor:pointer;white-space:nowrap}.xm-tabs button[aria-selected=true]{color:#fff;font-weight:700}.xm-window{position:relative;touch-action:pan-y;cursor:grab}.xm-window:active{cursor:grabbing}.xm-track{display:flex;gap:24px;transform:translate3d(0,0,0);transition:transform .85s cubic-bezier(.22,.7,.2,1);will-change:transform}.xm-slide{flex:0 0 100%;display:grid;grid-template-columns:minmax(0,.3fr) minmax(0,.7fr);gap:18px;min-width:0;height:460px}.xm-copy{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #5376a025;border-radius:18px;padding:40px 34px;background:linear-gradient(145deg,#0a1d3c,#183e69)}.xm-copy h3{font-size:32px;font-weight:500;letter-spacing:-1px;line-height:1.15;color:white;margin:0 0 25px}.xm-copy p{color:#d4e3f7;font-size:14px;line-height:1.65;max-width:26ch}.xm-copy a{margin-top:auto;display:inline-flex;align-items:center;gap:20px;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.3px;background:#f4f7fa;color:#092747;border-radius:9px;padding:14px 18px;min-height:42px}.xm-copy a:hover{background:#dcecff}.xm-photo{position:relative;border-radius:18px;overflow:hidden;background:#173557}.xm-photo img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;pointer-events:none}.xm-controls{display:flex;align-items:center;gap:22px;margin-top:24px}.xm-arrows{display:flex;gap:9px}.xm-arrows button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:transparent;border:1px solid #6d89ad70;color:#dbeaff;padding:9px;cursor:pointer;transition:background .2s}.xm-arrows button:hover{background:#25558a}.xm-arrows svg{width:17px;height:17px}.xm-progress{width:70px;height:2px;background:#4d71993d;display:block;margin-left:auto}.xm-progress i{height:100%;width:16.666%;background:#8cbdff;display:block;transition:width .5s}.xm-position{color:#91afd0;font-size:10px;letter-spacing:1px}.xm-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1800px){.xm-slide{height:510px}.xm-copy{padding:45px 38px}.xm-copy h3{font-size:37px}.xm-copy p{font-size:16px}}
@media(max-width:1100px){.xm-slide{height:400px;grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.xm-copy{padding:30px 24px}.xm-copy h3{font-size:28px}.xm-copy p{font-size:13px}.xm-tabs{gap:21px}}
@media(max-width:760px){.yh-home .xm-carousel{padding:60px 0 50px}.xm-carousel .yh-heading-row{flex-direction:row;align-items:end;gap:20px}.xm-carousel .yh-heading h2{font-size:38px}.xm-all{font-size:10px;gap:7px;max-width:110px;line-height:1.6}.xm-tabs{gap:11px 20px;margin-bottom:22px}.xm-tabs button{font-size:12px}.xm-track{gap:16px}.xm-slide{height:auto;grid-template-columns:1fr;gap:12px;grid-template-rows:250px 260px}.xm-photo{grid-row:1}.xm-copy{padding:27px;min-height:260px}.xm-copy h3{font-size:28px;margin-bottom:16px}.xm-copy p{max-width:45ch;font-size:14px}.xm-copy a{padding:12px 17px}.xm-photo,.xm-copy{border-radius:14px}.xm-controls{margin-top:22px}.xm-arrows button{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.xm-track,.xm-progress i{transition:none}.xm-track{will-change:auto}}
/* One joined editorial card: the image and copy share a continuous edge. */
.xm-slide{gap:0;border:1px solid #5376a045;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#10294a,#163b63)}
.xm-copy{border:0;border-radius:0;background:transparent;padding:40px 36px}
.xm-photo{border-radius:0;border-left:1px solid #8bb6e530}
.xm-track{transition:transform .38s cubic-bezier(.22,.75,.25,1)}
.xm-progress i{transition:width .3s}
@media(max-width:760px){.xm-slide{gap:0;grid-template-rows:250px 260px;border-radius:16px}.xm-copy{padding:28px;border-radius:0}.xm-photo{border-left:0;border-bottom:1px solid #8bb6e530;border-radius:0}}
@media(prefers-reduced-motion:reduce){.xm-track,.xm-progress i{transition:none}}

/* Trading screen imagery for the homepage market explorer. */
.xm-trading-visual{background:radial-gradient(ellipse at 55% 60%,#244a72 0%,#102d4d 48%,#081c34 100%)}
.xm-trading-visual.xm-visual-device img{object-fit:contain;padding:26px;box-sizing:border-box;filter:drop-shadow(0 20px 22px #0005)}
.xm-trading-visual.xm-visual-phone img{padding:20px;object-position:center}
#yh-panel-metals .xm-photo img{object-position:20% center;transform:scale(1.12)}
@media(max-width:760px){.xm-trading-visual.xm-visual-device img{padding:14px}.xm-trading-visual.xm-visual-phone img{padding:10px}}

.xm-editorial-photo img{object-fit:cover;object-position:center;transform:none!important;padding:0;filter:none}#yh-panel-indices .xm-editorial-photo img{object-position:65% center}

/* Custom editorial market series: consistent screen crops. */
#markets .xm-editorial-photo img{object-position:center;aspect-ratio:3/2}#yh-panel-indices .xm-editorial-photo img{object-position:center}
