/* ======================================================================
   01. Alapok, betűkészletek, közös gombok és akadálymentes segédosztályok
   A betűkészlet helyi: a megjelenés nem függ külső fontszolgáltatástól.
   ====================================================================== */

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-800.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--sl-white);
    color: var(--sl-ink);
    font-family: var(--sl-font);
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, blockquote {
    margin: 0;
}

ul, ol {
    padding: 0;
}

button, input, select {
    font: inherit;
}

button, input {
    color: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

button, a, input {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* A width/height HTML-attribútum csak a betöltési helyet foglalja le.
   A logó nem tölt ki torzítva egy tetszőleges téglalapot. */

.sl-bank-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}

.sl-container {
    width: min(var(--sl-container), calc(100% - 2 * var(--sl-gutter)));
    margin-inline: auto;
}

.sl-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    vertical-align: middle;
}

.sl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 56px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: linear-gradient(105deg, #0866ff, #155aff);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    transition: background var(--sl-transition), box-shadow var(--sl-transition);
}

.sl-button:hover {
    background: var(--sl-blue-hover);
    box-shadow: 0 5px 15px rgb(8 99 255 / 17%);
}

.sl-button .sl-icon {
    width: 20px;
    height: 20px;
}

.sl-button--white {
    background: #fff;
    color: var(--sl-ink);
}

.sl-button--white:hover {
    background: #f3fbff;
    color: var(--sl-blue);
}

.sl-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--sl-blue);
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}

.sl-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sl-text-link .sl-icon {
    width: 19px;
    height: 19px;
}

:is(a, button, input, summary):focus-visible {
    outline: 3px solid var(--sl-focus-color);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.sl-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.sl-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 12px 20px;
    background: #fff;
    transform: translateY(-200%);
}

.sl-skip-link:focus {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }

}
