.scaffolding-page-navi ul {
    list-style: none;
    text-align: center;
    margin: 2em 0 0.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.scaffolding-page-navi ul:empty {
    display: none;
    margin: 0;
}

.scaffolding-page-navi ul li {
    display: inline-block;
    margin: 0;
}

.scaffolding-page-navi ul li:empty {
    display: none;
    margin: 0;
}

.scaffolding-page-navi ul li a,
.scaffolding-page-navi ul li span {
    display: block;
    margin-left: 0.25em;
    margin-right: 0.25em;
    margin-bottom: 0.5em;
    text-align: center;
}

.scaffolding-page-navi ul li a,
.scaffolding-page-navi ul li span:not(.dots) {
    border: 1px solid #34495e;
    min-width: 3em;
    padding: 0.675em;
}

.scaffolding-page-navi ul li a {
    color: #34495e;
    transition: all 0.25s ease-in-out;
}

.scaffolding-page-navi ul li a:hover,
.scaffolding-page-navi ul li a:focus {
    color: #3498db;
    text-decoration: none;
}

.scaffolding-page-navi ul li span.dots {
    padding: 0.675em 0.35em;
}

.scaffolding-page-navi ul li span.current {
    background-color: #34495e;
    color: #fff;
}

.wp-prev-next .prev-link {
    float: left;
}

.wp-prev-next .next-link {
    float: right;
}

@media (max-width: 767.98px) {
    .scaffolding-page-navi a.next,
    .scaffolding-page-navi a.prev {
        display: none;
    }
}

@media (min-width: 576px) {
    .scaffolding-page-navi ul li a,
    .scaffolding-page-navi ul li span:not(.dots) {
        padding: 0.5em 1.25em;
    }

    .scaffolding-page-navi ul li span.dots {
        padding: 0.5em;
    }

    .scaffolding-page-navi ul li a.next,
    .scaffolding-page-navi ul li a.prev {
        display: block;
    }
}

body.sticky-footer {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body.sticky-footer #container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.sticky-footer .banner-wrap {
    flex-shrink: 0;
}

body.sticky-footer #content {
    flex-grow: 1;
}

/* Back to top */
#back-top {
    margin: 0;
    bottom: 25px;
    right: 30px;
    position: fixed;
    z-index: 9999;
}

#back-top a {
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: block;
    font-size: 1.675em;
    height: 1.675em;
    width: 1.675em;
    text-align: center;
    text-decoration: none;
    border-radius: 500px;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

#back-top a:hover,
#back-top a:focus {
    background-color: #000;
    transform: translateY(-3px);
}

#back-top .fas {
    line-height: 1.675em;
}

/* =========================
   FOOTER – ÁLTALÁNOS STÍLUSOK
========================= */

.site-footer {
    position: relative;
    clear: both;
    background: #ffffff;
    color: #4c6177;
    font-size: 0.875em;
    padding: 64px 0 24px;
    border-top: 1px solid #e6edf3;
    overflow: hidden;
}

.site-footer img {
    max-width: 100%;
    height: auto;
}

.site-footer a {
    text-decoration: none;
}

.site-footer .footer-main {
    row-gap: 32px;
    margin-bottom: 40px;
}

.site-footer .footer-col {
    margin-bottom: 8px;
}

.site-footer .footer-title {
    margin: 0 0 18px;
    color: #112f57;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer .footer-logo {
    max-width: 120px;
    margin-bottom: 18px;
}

.site-footer .footer-brand-text,
.site-footer .footer-newsletter-text,
.site-footer .footer-bottom-copy p {
    margin: 0;
    color: #53677d;
    font-size: 0.98rem;
    line-height: 1.75;
}

.site-footer .footer-newsletter-text {
    margin-bottom: 18px;
}

.site-footer .footer-mail {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    color: #0f4574;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer .footer-mail:hover,
.site-footer .footer-mail:focus {
    color: #6ec1e4;
    transform: translateX(4px);
}

/* =========================
   FOOTER – MENÜ
========================= */

.site-footer .footer-nav-wrap ul,
.site-footer .footer-nav-wrap ol,
.site-footer .footer-nav-wrap .menu,
.site-footer .footer-nav-wrap .sub-menu,
.site-footer ul.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-nav-wrap li,
.site-footer .footer-nav-wrap .menu-item,
.site-footer ul.footer-menu li {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    list-style: none;
}

.site-footer .footer-nav-wrap li::before,
.site-footer .footer-nav-wrap .menu-item::before,
.site-footer ul.footer-menu li::before {
    display: none !important;
}

.site-footer .footer-nav-wrap a,
.site-footer ul.footer-menu li a {
    position: relative;
    display: inline-block;
    color: #435971;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer .footer-nav-wrap a::after,
.site-footer ul.footer-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0e2f5a 0%, #6ec1e4 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.site-footer .footer-nav-wrap a:hover,
.site-footer .footer-nav-wrap a:focus,
.site-footer ul.footer-menu li a:hover,
.site-footer ul.footer-menu li a:focus {
    color: #0e2f5a;
    transform: translateX(4px);
}

.site-footer .footer-nav-wrap a:hover::after,
.site-footer .footer-nav-wrap a:focus::after,
.site-footer ul.footer-menu li a:hover::after,
.site-footer ul.footer-menu li a:focus::after {
    transform: scaleX(1);
}

/* =========================
   FOOTER – SITE BUTTON KAPCSOLÁS
========================= */

.site-footer .site-button {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.site-footer .site-button--dark.social-link {
    background: #140606;
    color: #ffffff !important;
    border-radius: 50%;
}

.site-footer .site-button--light.footer-submit-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    min-height: 52px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    border: 1px solid #b9d6e6 !important;
    background: linear-gradient(135deg, #ffffff 0%, #eef7fc 100%) !important;
    color: #0e2f5a !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 26px rgba(14, 47, 90, 0.12) !important;
}

.site-footer .site-button--light.footer-submit-button:hover,
.site-footer .site-button--light.footer-submit-button:focus {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #dff1fa 100%) !important;
    border-color: #6ec1e4 !important;
    color: #0e2f5a !important;
    box-shadow: 0 18px 34px rgba(14, 47, 90, 0.18) !important;
}

.site-footer .site-button--light.footer-submit-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(110, 193, 228, 0.18), 0 18px 34px rgba(14, 47, 90, 0.18) !important;
}

/* =========================
   FOOTER – SOCIAL
========================= */

.site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-social li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.site-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #140606;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(20, 6, 6, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.site-footer .social-link i {
    font-size: 1.28rem;
    line-height: 1;
    transition: transform 0.22s ease;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus {
    transform: translateY(-3px) scale(1.04);
    background: #0e2f5a;
    color: #ffffff;
    border-color: #6ec1e4;
    box-shadow: 0 14px 26px rgba(14, 47, 90, 0.22);
}

.site-footer .social-link:hover i,
.site-footer .social-link:focus i {
    transform: scale(1.08);
}

.site-footer .social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(110, 193, 228, 0.18), 0 14px 26px rgba(14, 47, 90, 0.22);
}

/* =========================
   FOOTER – ALSÓ SÁV
========================= */

.site-footer .footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #dbe6ef;
    row-gap: 18px;
}

.site-footer .footer-bottom-copy p {
    color: #6a7b8d;
    font-size: 0.92rem;
}

.site-footer .footer-bottom-payments {
    text-align: right;
}

.site-footer .footer-payments {
    max-width: 240px;
    opacity: 0.95;
}

/* =========================
   FOOTER 
========================= */

@media (max-width: 991.98px) {
    .site-footer {
        padding: 56px 0 24px;
    }

    .site-footer .footer-title {
        margin-bottom: 14px;
    }

    .site-footer .footer-bottom-payments {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 48px 0 20px;
    }

    .site-footer .footer-main {
        row-gap: 24px;
        margin-bottom: 30px;
    }

    .site-footer .footer-logo {
        max-width: 100px;
    }

    .site-footer .footer-social {
        gap: 12px;
    }

    .site-footer .social-link {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

    .site-footer .social-link i {
        font-size: 1.12rem;
    }

    .site-footer .footer-bottom-copy,
    .site-footer .footer-bottom-payments {
        text-align: center;
    }

    .site-footer .footer-payments {
        max-width: 220px;
    }
}