/* MARVETO v0.5.4: locale-resilient layout and FX accessibility */
.showcase,.showcase *,.hero-visual,.hero-visual *{box-sizing:border-box}
.hero-visual .showcase{transform:none!important;overflow:visible!important;padding:clamp(19px,3.3vw,30px)!important;min-width:0}
.hero-visual .showcase-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;min-width:0}
.hero-visual .showcase-chip{max-width:100%!important;overflow-wrap:anywhere;white-space:normal!important;font-size:clamp(10px,1vw,13px)!important}
.hero-visual .showcase-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px!important}
.hero-visual .showcase-footer span{max-width:100%!important;overflow-wrap:anywhere}
.hero-visual .showcase-footer strong{white-space:nowrap;min-width:0}
.hero-visual .showcase-offer{display:flex;align-items:center;gap:8px;justify-content:space-between;min-width:0}
.hero-visual .showcase-offer>span{min-width:0;overflow-wrap:anywhere}
.hero-visual .showcase-offer>strong{flex-shrink:0;white-space:nowrap}
.hero-visual .mini-sticker{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;max-width:100%!important;margin:12px auto 0!important;width:max-content!important;box-shadow:0 10px 30px #03132244!important}
.hero-visual .mini-sticker>div{min-width:0;overflow-wrap:anywhere}
/* Keep navigation and buttons readable even on narrow translations. */
.future-cta a,.category-tile,.nav-cta,.btn,.card-cta{overflow-wrap:break-word;white-space:normal;min-height:44px}
.showcase-head,.market-line,.future-inner,.feature,.offer-card,.nav-row{min-width:0}
/* Theme-aligned ad placements remain completely hidden until an approved provider is connected. */
.advertising-placement[hidden],.marveto-ad-slot[hidden]{display:none!important}
/* Currency converter: compact, no extraneous ad-like box. */
.marveto-fx{max-width:1100px;margin:25px auto 32px;padding:clamp(18px,3vw,30px);background:var(--mv-surface,#eff5f7);border:1px solid var(--mv-stroke,#c8d6e1);border-radius:23px;color:var(--mv-text,#18364a);box-shadow:0 12px 38px #0001}
.marveto-fx .fx-head{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:20px}
.marveto-fx h2{font-size:clamp(20px,3vw,28px)!important;color:var(--mv-text,#1c3444)!important;line-height:1.2;margin:0 0 6px}
.marveto-fx p{margin:0;color:var(--mv-muted,#567084)!important;font-size:14px;line-height:1.5}
.fx-exchange-icon{font-size:30px;font-weight:700;color:#148c70}
.fx-grid{display:grid;grid-template-columns:minmax(100px,1.2fr) repeat(2,minmax(100px,.7fr)) minmax(130px,1.15fr);gap:12px;align-items:stretch}
.fx-grid label,.fx-output{display:flex;flex-direction:column;gap:7px;min-width:0}
.fx-grid label>span,.fx-output>span{font-size:13px;font-weight:750;color:var(--mv-muted,#526a7a)}
.fx-grid input,.fx-grid select{font:inherit;min-height:48px;min-width:0;width:100%;padding:8px 12px;border-radius:12px;border:1px solid var(--mv-stroke,#bbd0da);background:var(--mv-panel,#fff);color:var(--mv-text,#152d3e);outline-offset:2px}
.fx-output{padding:8px 14px;border-radius:12px;background:#dff5ed;justify-content:center}
.fx-output strong{font-size:clamp(18px,2.6vw,24px);color:#075c43!important;white-space:nowrap}
.fx-source{margin-top:16px!important;font-weight:700;font-size:12px!important}
.fx-disclaimer{margin-top:3px!important;font-size:12px!important}
html[data-theme="dark"] .marveto-fx{background:#21394a!important;border-color:#4e7182!important}
html[data-theme="dark"] .fx-output{background:#214b43!important}
html[data-theme="dark"] .fx-output strong{color:#a0f8cf!important}
html[data-theme="dark"] .fx-grid input,html[data-theme="dark"] .fx-grid select{background:#102837;color:#f5fbfe;border-color:#7395a4}
html[data-theme="dark"] .marveto-fx p,html[data-theme="dark"] .fx-grid span{color:#d4e4ed!important}
/* Ad slot and its future labels, no visible blank placements in demo. */
.marveto-ad-slot{max-width:1100px;margin:20px auto;padding:16px;border-radius:15px;border:1px solid var(--mv-stroke);text-align:center}
/* Secondary legal/info pages long translated text */
.article h2,.article h3{overflow-wrap:break-word;hyphens:auto;line-height:1.25}
.article p,.article li{overflow-wrap:break-word;line-height:1.7}
.info-lang-nav a{overflow-wrap:break-word}
@media(max-width:800px){.fx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-visual .mini-sticker{margin:12px 0!important}}
@media(max-width:420px){.fx-grid{grid-template-columns:1fr 1fr}.fx-grid label:first-child,.fx-output{grid-column:1/-1}.hero-visual .showcase-footer{grid-template-columns:1fr}.hero-visual .showcase-footer strong{justify-self:end}.hero-visual .showcase{padding:17px!important}.hero-visual .showcase-offer{flex-wrap:wrap}.hero-visual .showcase-offer>strong{margin-left:auto}}
