/* Public navigation, account entry and legal directory. */
.ce-masthead, .ce-site-footer, .ce-shell-sheet {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 400;
    text-align: start;
    color: #020027;
}
.ce-masthead *, .ce-site-footer *, .ce-shell-sheet { box-sizing: border-box; }
header.ce-masthead { position: relative; inset: auto; display: block; margin: 0; padding: 0; border: 0; background: #fff; z-index: auto; }
.ce-masthead__inner, .ce-footer__inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 80px; }
.ce-masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.ce-masthead__brand { display: inline-flex; min-height: 44px; align-items: center; flex-shrink: 0; }
.ce-masthead__brand img, .ce-footer__brand { width: 184px; height: auto; aspect-ratio: 220 / 41; display: block; }
.ce-masthead .ce-masthead__navigation { display: flex; align-items: center; justify-content: start; flex: none; order: 0; gap: 34px; margin: 0; padding: 0; }
.ce-masthead__actions { display: flex; align-items: center; gap: 20px; }
.ce-masthead__navigation a, .ce-masthead .ce-masthead__account .account_entry.hide_767,
.ce-masthead .ce-masthead__account .user_name { display: inline-flex; min-height: 44px; align-items: center; color: #020027; font: 500 14px/22px Inter, system-ui, sans-serif; background: none; border: 0; padding: 0; text-decoration: none; }
.ce-masthead .ce-masthead__account { position: relative; height: auto; min-width: 0; padding: 0; margin: 0; }
.ce-masthead__account .user_menu { z-index: 1010; }
.ce-masthead .ce-masthead__account .show_767 { display: none; }
.ce-masthead .ce-shell-menu { display: none; }
.ce-shell-details { margin: 0; padding: 0; border: 0; }
.ce-shell-details > summary { cursor: pointer; list-style: none; }
.ce-shell-details > summary::-webkit-details-marker { display: none; }
.ce-masthead__language, .ce-masthead__menu { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 0 8px; font-size: 13px; font-weight: 500; line-height: 17px; }
.ce-masthead__caret { font-size: 12px; line-height: 15px; font-weight: 400; }
.ce-shell-flag { display: inline-block; flex: 0 0 auto; width: 24px; height: 18px; border-radius: 2px; background-position: center; background-size: cover; box-shadow: inset 0 0 0 .6px rgba(46, 59, 74, .22); }
.ce-masthead :is(a, summary):hover, .ce-site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ce-masthead :focus-visible, .ce-site-footer :focus-visible, .ce-shell-sheet :focus-visible { outline: 3px solid #4eb5e6; outline-offset: 2px; box-shadow: 0 0 0 2px #0a0639; }

dialog.ce-shell-sheet { position: fixed; inset: 0; margin: auto; width: min(530px, 100%); max-width: 100%; height: max-content; max-height: min(92dvh, 760px); overflow: auto; overscroll-behavior: contain; padding: 22px 24px 24px; border: 1px solid #dbdde0; border-radius: 16px; background: #fff; color: #020027; box-sizing: border-box; }
.ce-shell-details:not([open]) > dialog:not(:modal), .ce-shell-sheet:not([open]):not(:target) { display: none; }
.ce-shell-sheet[open] { display: block; }
.ce-shell-payment:target:not([open]) { display: block; z-index: 1050; }
body:has(.ce-shell-sheet:modal) { overflow: hidden; }
.ce-shell-sheet::backdrop { background: rgba(13,32,48,.54); }
.ce-shell-sheet__heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 18px; }
.ce-shell-sheet__heading h2 { margin: 0; padding: 0; font: 400 38px/44px "Instrument Serif", Georgia, serif; color: #020027; letter-spacing: normal; }
.ce-shell-sheet .ce-shell-close { border: 0; border-radius: 100%; padding: 0; min-width: 44px; height: 44px; cursor: pointer; background: #f7f6f2 url('/resource/img/shell/close.svg') no-repeat center / 20px 20px; }
.ce-shell-languages__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 18px; max-height: min(384px, 66dvh); overflow-y: auto; overscroll-behavior: contain; }
.ce-shell-languages__list a, .ce-shell-menu__links > :is(a,button) { min-height: 48px; text-align: start; font: 400 16px/22px Inter, system-ui, sans-serif; padding: 6px 10px; margin: 0; background: none; border: 0; color: #020027; cursor: pointer; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ce-shell-languages__list a { border-radius: 6px; }
.ce-shell-menu__links > :is(a,button) { width: 100%; }
.ce-shell-menu__links > :is(a,button) + :is(a,button) { border-top: 1px solid #dbdde0; min-height: 49px; }
.ce-shell-languages__list a:not([aria-current])::after, .ce-shell-menu__links > :is(a,button)::after { content: ''; width: 16px; height: 16px; flex-shrink: 0; margin-inline-start: auto; background: url('/resource/img/shell/chevron.svg') no-repeat center / contain; }
[dir="rtl"] .ce-shell-languages__list a::after, [dir="rtl"] .ce-shell-menu__links > :is(a,button)::after { transform: scaleX(-1); }
.ce-shell-check { margin-inline-start: auto; font-weight: 600; }
.ce-shell-languages__list a:hover, .ce-shell-menu__links > :is(a,button):hover { background: #f7f6f2; text-decoration: none; }
.ce-shell-languages__list a:focus-visible, .ce-shell-menu__links > :is(a,button):focus-visible { outline-offset: -3px; }

footer.ce-site-footer { background: #0d2030; color: #fff; padding: 45px 0 20px; margin: 0; }
.ce-footer__inner { display: grid; grid-template-columns: min(24%,300px) repeat(3,min(17%,200px)); justify-content: space-between; align-items: start; row-gap: 23px; }
.ce-site-footer .ce-footer__business { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.ce-footer__registered, .ce-footer__contact, .ce-footer__group { display: flex; flex-direction: column; align-items: start; }
.ce-footer__registered { gap: 3px; }
.ce-footer__registered strong { font-size: 14px; font-weight: 500; line-height: 21px; }
.ce-footer__registered span, .ce-site-footer .ce-footer__copyright { color: #c8ded9; font: 400 12px/18px Inter, system-ui, sans-serif; }
.ce-site-footer .ce-footer__inner a { margin: 0; display: inline-flex; min-height: 44px; align-items: center; color: #fff; font: 400 14px/21px Inter, system-ui, sans-serif; text-decoration: none; }
.ce-site-footer .ce-footer__inner a:hover { text-decoration: underline; }
.ce-site-footer .ce-footer__label { margin: 0; padding: 0; color: #c8ded9; font: 600 10px/16px Inter, system-ui, sans-serif; letter-spacing: 1.45px; text-transform: uppercase; }
.ce-footer__divider { grid-column: 1/-1; height: 1px; background: rgba(200,222,217,.24); }
.ce-footer__legal { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; column-gap: 12px; }
.ce-footer__payment, .ce-footer__privacy, .ce-footer__marks, .ce-footer__marks > span, .ce-footer__stripe, .ce-footer__crypto > span { display: flex; align-items: center; }
.ce-footer__payment { column-gap: 17px; }
.ce-footer__privacy { gap: 19px; }
.ce-site-footer .ce-footer__payment a { font-size: 13px; line-height: 20px; }
.ce-footer__bank { gap: 7px; }
.ce-footer__bank img { margin-inline: 1.5px; }
.ce-footer__cards, .ce-footer__crypto { gap: 8px; }
.ce-footer__marks, .ce-footer__stripe, .ce-footer__crypto > span { gap: 4px; }
.ce-footer__marks > span { width: 49px; height: 28px; border-radius: 4px; background: white; justify-content: center; }
.ce-footer__stripe { color: #c8ded9; font-size: 11px; line-height: 16px; }
dialog.ce-shell-payment { width: min(322px,100%); padding: 21px; border-radius: 14px; border-color: #d7d7d7; font-size: 14px; line-height: 22px; }
.ce-shell-payment .ce-shell-sheet__heading { margin-bottom: 17px; }
.ce-shell-payment .ce-shell-sheet__heading h2 { font-size: 31px; line-height: 36px; }
.ce-shell-payment .ce-shell-close { display: grid; place-items: center; margin: 0; background-image: none; font: 400 24px/28px Inter, system-ui, sans-serif; color: #020027; text-decoration: none; }
.ce-shell-payment p, .ce-shell-payment dl, .ce-shell-payment dd { margin: 0; }
.ce-shell-payment dl { display: grid; gap: 17px; margin-block: 17px; line-height: 21px; }
.ce-shell-payment dt { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.ce-shell-payment .ce-shell-primary { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 6px 12px; border-radius: 6px; background: #0a0639; color: #fff; text-align: center; text-decoration: none; font: 600 14px/21px Inter,system-ui,sans-serif; }
.ce-shell-payment .ce-shell-primary:hover { background: #1f1d3f; }

.ce-masthead .auth_modal .modal-dialog-wrapper { height: auto; min-height: 100%; padding: 8px 0; }
.ce-masthead .auth_modal .modal-dialog { margin: auto; width: min(320px,100%); max-width: 320px; }
.ce-masthead .auth_modal .modal-content { border: 1px solid #d5d7da; border-radius: 16px; background: white; overflow: visible; }
.ce-masthead .auth_modal .modal-body { width: 100%; height: auto; min-height: 0; max-height: none; padding: 18px 20px 20px; color: #020027; font: 400 14px/20px Inter,system-ui,sans-serif; }
.ce-masthead .auth_modal .modal-body > .close { inset: 18px 20px auto auto; z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #f7f6f2 url('/resource/img/shell/close.svg') no-repeat center / 18px 18px; }
[dir="rtl"] .ce-masthead .auth_modal .modal-body > .close { right: auto; left: 20px; }
.ce-masthead .auth_modal .spinner:not(.hide) { min-height: 125px; }
.ce-masthead .auth_modal .form_data:not(.hide) { display: block; height: auto; }
.ce-masthead .auth_modal .form_data_header h3 { display: flex; align-items: center; min-height: 44px; margin: 0 0 12px; padding-inline-end: 52px; color: #020027; font: 400 31px/35px "Instrument Serif",Georgia,serif; text-align: start; }
.ce-masthead .auth_modal .form_item { padding: 8px 12px; margin: 0 0 12px; border: 1px solid #d5d7da; border-radius: 6px; }
.ce-masthead .auth_modal .form_item:focus-within { outline: 2px solid #4eb5e6; outline-offset: 1px; }
.ce-masthead .auth_modal .form_item label { display: block; margin: 0 0 3px; color: #545863; font: 400 12px/16px Inter,system-ui,sans-serif; }
.ce-masthead .auth_modal .form_item input { display: block; height: auto; margin: 0; padding: 0; min-width: 0; border: 0; border-radius: 0; background: transparent; font: 400 15px/22px Inter,system-ui,sans-serif; color: #020027; }
.ce-masthead .auth_modal .form_item input:focus-visible { outline: none; box-shadow: none; }
.ce-masthead .auth_modal .form_item input[type="password"] { padding-inline-end: 30px; }
.ce-masthead .auth_modal .form_item .show_password { inset: auto 0 3px auto; }
.ce-masthead .auth_modal .form_data_header button, .ce-masthead .auth_modal .ce-auth-secondary,
.ce-masthead .auth_modal .form_data_footer a, .ce-masthead .auth_modal .forgot_password a,
.ce-masthead .auth_modal .ce-auth-return button { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 6px; font: 600 14px/20px Inter,system-ui,sans-serif; padding: 8px 10px; margin: 0; cursor: pointer; }
.ce-masthead .auth_modal .form_data_header button { background: #0a0639; color: white; }
.ce-masthead .auth_modal .ce-auth-secondary, .ce-masthead .auth_modal .forgot_password a { border: 1px solid #d5d7da; background: white; color: #020027; text-decoration: none; }
.ce-masthead .auth_modal .ce-auth-secondary, .ce-masthead .auth_modal .forgot_password, .ce-masthead .auth_modal .form_data_footer, .ce-masthead .auth_modal .ce-auth-return { margin-top: 12px; }
.ce-masthead .auth_modal .form_data_footer a, .ce-masthead .auth_modal .ce-auth-return button { background: none; color: #020027; text-decoration: none; }
.ce-masthead .auth_modal .form_data_header .ce-auth-email { margin: 0 0 12px; font: 400 14px/20px Inter,system-ui,sans-serif; text-align: start; overflow-wrap: anywhere; }

/* The private account response can replace the login link after first paint. */
@media (min-width:768px) {
    .ce-masthead .ce-masthead__account[data-src] {
        inline-size: clamp(112px, 10vw, 144px);
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .ce-masthead__account[data-src] .user_name { max-inline-size: 100%; }
    .ce-masthead__account .user_name img { flex: none; }
    .ce-masthead__account .user_name span { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (min-width:768px) and (max-width:1199px) {
    body:has(> .ce-masthead) { margin-top: 0; }
    .ce-masthead__inner, .ce-footer__inner { padding-inline: 40px; }
    .ce-masthead .ce-masthead__navigation { gap: 21px; }
    .ce-footer__inner { grid-template-columns: 29% repeat(3,18.5%); }
    .ce-footer__legal { display: contents; }
    .ce-footer__payment { grid-row: 2; grid-column: 1/-1; }
    .ce-footer__divider { grid-row: 3; }
    .ce-footer__copyright { grid-row: 4; grid-column: 1/3; align-self: center; }
    .ce-footer__privacy { grid-row: 4; grid-column: 3/5; justify-content: end; }
}

@media (max-width:767px) {
    header.ce-masthead { display: block !important; }
    .ce-masthead__inner, .ce-footer__inner { padding-inline: 20px; }
    .ce-masthead__inner { min-height: 64px; gap: 4px; }
    .ce-masthead__brand { min-width: 0; flex-shrink: 1; }
    .ce-masthead__brand img { max-width: 100%; }
    .ce-masthead .ce-masthead__navigation, .ce-masthead .ce-masthead__account, .ce-masthead__caret { display: none; }
    .ce-masthead .ce-shell-menu { display: block; }
    .ce-shell-menu__links > .account_entry.show_767 { display: flex !important; }
    .ce-masthead__actions { gap: 4px; }
    .ce-masthead__language { flex-direction: column; gap: 2px; padding: 0; font-size: 10px; line-height: 12px; }
    .ce-masthead__menu img { width: 20px; height: 10px; }
    dialog.ce-shell-sheet:not(.ce-shell-payment) { width: min(390px,100%); }
    .ce-shell-languages__list { grid-template-columns: minmax(0,1fr); max-height: min(480px,66dvh); }
    footer.ce-site-footer { padding-block: 32px 26px; }
    .ce-footer__inner { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; row-gap: 0; }
    .ce-footer__business { grid-column: 1/-1; border-bottom: 1px solid rgba(200,222,217,.24); padding-bottom: 20px; margin-bottom: 20px; }
    .ce-footer__group { min-width: 0; }
    .ce-footer__group a, .ce-footer__payment a { max-width: 100%; overflow-wrap: anywhere; }
    .ce-footer__agency, .ce-footer__payment { grid-row: 3; margin-top: 20px; }
    .ce-footer__agency { grid-column: 1; }
    .ce-footer__payment { grid-column: 2; align-items: start; flex-direction: column; gap: 0; }
    .ce-site-footer .ce-footer__inner .ce-footer__cards { align-items: start; flex-direction: column; justify-content: center; padding-block: 4px; gap: 4px; }
    .ce-footer__legal { display: contents; }
    .ce-footer__divider { margin-block: 12px; }
    .ce-footer__privacy { grid-column: 1/-1; grid-row: 5; gap: 18px; flex-wrap: wrap; }
    .ce-footer__copyright { grid-column: 1/-1; grid-row: 6; margin-top: 5px; }
}

@media (max-width:359px) {
    dialog.ce-shell-sheet:not(.ce-shell-payment) { padding: 16px 16px 20px; }
}

.ce-shell-language-host { position: relative; }
.ce-shell-language-host [hidden] { display: none !important; }
.ce-shell-languages__list > .ce-language-offer { position: relative; inset: auto; grid-column: 1 / -1; width: auto; }
@media (max-width: 767px) {
    .ce-shell-language-host > .ce-language-offer { display: none; }
    .ce-shell-language-host[data-offered] summary > :not(.ce-language-compact) { display: none; }
    .ce-shell-language-host[data-offered] .ce-language-compact { display: grid; justify-items: center; }
}
