/* Animated home page hero: the 3D globe (markup in index.tpl, script hero-sepa.js). */
/* Desktop: 780 px high like the old hero. The IBAN checker bar below is pulled up 330 px over it, so the visible part
   is the top 470 px (text and picture) plus the bar; the picture also shows through the bar. */
.hero-sepa { position: relative; overflow: hidden; height: 800px; padding-bottom: 0; background: #06204f; }
.hero-sepa-stage { position: absolute; left: 0; right: 0; top: 0; bottom: 182px; z-index: 0; pointer-events: none; }
.hero-sepa-stage canvas { position: absolute; display: block; }
.hero-sepa-content { position: relative; z-index: 2; height: 470px; padding-top: 52px; }
.hero-sepa-content .iban { position: relative; }
.hero-sepa .list-about p { max-width: 560px; }

/* legend and the "last transfer" chip */
/* They sit at the right of the IBAN checker bar; the checker form is kept compact at the left (desktop only). */
.hero-sepa-ui { display: none; }
@media (min-width: 992px) {
    .indexchecker.has-hero-ui > .container { position: relative; }
    .indexchecker.has-hero-ui form.row { width: 54%; flex-wrap: nowrap; }
    /* (owner 2026-11-26) the words "IBAN Checker" are not shown; the label stays in the page for screen readers */
    .indexchecker.has-hero-ui form.row > div:nth-child(1) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .indexchecker.has-hero-ui form.row > div:nth-child(2) { flex: 1 1 0; width: auto; min-width: 0; }
    .indexchecker.has-hero-ui form.row > div:nth-child(3) { flex: 0 0 auto; width: auto; }
    .indexchecker.has-hero-ui .checkerlabel label { white-space: nowrap; }
    .hero-sepa-ui { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-family: inherit; pointer-events: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .indexchecker.has-hero-ui form.row { width: 58%; }
    .hero-sepa-legend small { display: none; }
}
.hero-sepa-legend { display: flex; gap: 18px; margin: 0; padding: 9px 14px; list-style: none; border-radius: 999px; background: rgba(4, 22, 60, .62); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 13px; line-height: 1.2; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-sepa-legend li { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 600; white-space: nowrap; }
.hero-sepa-legend small { font-size: 12px; font-weight: 400; opacity: .78; }
.hero-sepa-legend i { width: 22px; height: 4px; border-radius: 2px; }
.hero-sepa-legend .is-inst i { background: linear-gradient(90deg, rgba(53, 224, 255, 0), #35e0ff); box-shadow: 0 0 8px #35e0ff; }
.hero-sepa-legend .is-sct i { width: 14px; background: #ffc24a; }
/* fixed height, also while it is empty or hidden, so the legend below never moves */
.hero-sepa-chip { display: flex; align-items: center; box-sizing: border-box; height: 34px; padding: 0 14px; border-radius: 8px; background: rgba(255, 255, 255, .96); color: #15416e; font-size: 13px; line-height: 1.3; box-shadow: 0 6px 22px rgba(0, 0, 0, .28); white-space: nowrap; transition: opacity .2s, transform .2s; }
/* always shown; when a new transfer is written into it, it dips for a moment */
.hero-sepa-chip.is-new { opacity: .55; transform: translateY(2px); }
.hero-sepa-chip b { margin-right: 5px; }
.hero-sepa-chip b { font-weight: 700; color: #00377c; }
.hero-sepa-chip em { font-style: normal; font-weight: 700; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.hero-sepa-chip em.is-inst { background: #d9f7ff; color: #00657f; }
.hero-sepa-chip em.is-sct { background: #fff1d1; color: #7a4d00; }

/* ---- the globe (dark) ---- */
.hero-sepa-b { background: radial-gradient(120% 140% at 78% 60%, #0d3d94 0%, #072457 45%, #041535 100%); }
.hero-sepa-b .hero-sepa-content:before { content: ""; position: absolute; z-index: -1; left: -40vw; top: 0; bottom: 0; width: calc(40vw + 62%); background: linear-gradient(90deg, rgba(4, 21, 53, .88) 0%, rgba(4, 21, 53, .72) 62%, rgba(4, 21, 53, 0) 100%); pointer-events: none; }

@media (max-width: 991.98px) {
    .hero-sepa-content { padding-top: 34px; }
    .hero-sepa-stage { opacity: .5; }
    .hero-sepa-b .hero-sepa-content:before { display: none; }
}
@media (max-width: 767.98px) {
    .hero-sepa { height: auto; }
    .hero-sepa-stage { bottom: 0; }
    .hero-sepa-content { height: auto; padding-bottom: 10px; }
}
/* Explore button on the dark hero: white with dark blue text on hover and keyboard focus, like "Validate IBAN" in the
   bar below (owner 2026-11-26). */
body .hero-sepa-b a.button:is(:hover, :focus-visible) { background-color: #fff !important; color: #00257e !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .3) !important; }
