.site-footer {

    color: rgba(255, 255, 255, 0.85) !important;
    padding: 45px 0 0 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 900 !important;
    background-image: linear-gradient(to top, #651d30, #9b2242);
}

.site-footer .container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 950 !important;
}

.site-footer__top {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: relative !important;
    z-index: 1000 !important;
}

.site-footer .block,
.site-footer .region,
.site-footer .views-element-container,
.site-footer__top > .region,
.site-footer__top div:not(.contextual):not(.contextual-links-wrapper),
.site-footer__top section {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.site-footer .block,
.site-footer .region,
.site-footer .views-element-container,
.site-footer__top > .region,
.contextual-region {
    transform: none !important;
    transition: none !important;
}

.site-footer .block:hover,
.site-footer .region:hover,
.site-footer .views-element-container:hover,
.site-footer__top > .region:hover,
.contextual-region:hover {
    transform: none !important;
    outline: none !important;
}

div.contextual,
.contextual {
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

div.contextual *,
.contextual * {
    box-sizing: content-box !important;
}

div.contextual a,
.contextual a,
.contextual-links a {
    position: static !important;
    z-index: auto !important;
    display: block !important;
    white-space: normal !important;
    width: auto !important;
    line-height: normal !important;
}

.site-footer .row::before,
.site-footer .row::after,
.site-footer__top::before,
.site-footer__top::after {
    display: none !important;
    content: none !important;
}

.site-footer__top .row,
.site-footer__top .view-content {
    display: block !important;
    width: 100% !important;
}

.site-footer__top > .region-footer-first {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
}

.site-footer__top > .region-footer-second {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
}

.site-footer__top > .region-footer-third {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
}

.site-footer__top > .region-footer-fourth {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: right !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
}

.site-footer__top > .region-footer-first *:not(.contextual):not(.contextual *),
.site-footer__top > .region-footer-second *:not(.contextual):not(.contextual *),
.site-footer__top > .region-footer-third *:not(.contextual):not(.contextual *) {
    text-align: left !important;
}

[id*="1367logo"] {
    margin-bottom: 12px !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

[id*="1367logo"] img {
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    max-height: 70px !important;
    display: block !important;
    margin-left: auto !important;
    object-fit: contain !important;
   
}

[id*="ptelogin"] {
    margin-top: 10px !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
    clear: both !important;
}

[id*="ptelogin"] a,
a[href*="login"]:not(.contextual a),
a[href*="logout"]:not(.contextual a) {
    display: inline-block !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    line-height: 1.7 !important;
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-align: right !important;
    margin-left: auto !important;
}

[id*="ptelogin"] a:hover,
a[href*="login"]:hover,
a[href*="logout"]:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.site-footer h2,
.site-footer h5,
.site-footer .block-title,
.site-footer .block h2 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.02rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    margin: 0 0 16px 0 !important;
    padding: 0 0 6px 0 !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.95) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.site-footer a:not(.contextual a):not(.contextual-links a),
.site-footer__top a:not(.contextual a):not(.contextual-links a) {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.site-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

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

.site-footer li {
    margin-bottom: 8px !important;
    white-space: nowrap !important;
}

[id*="elerhetosegeink"],
[id*="elerhetosegeink"] .content,
[id*="elerhetosegeink"] p,
[id*="elerhetosegeink"] .field,
[id*="elerhetosegeink"] .field__item,
[id*="elerhetosegeink"] span,
[id*="elerhetosegeink"] a {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

[id*="elerhetosegeink"] p span {
    color: rgba(255, 255, 255, 0.9) !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: left !important;
}

.site-footer__bottom {
    margin-top: 30px !important;
    padding: 16px 0 20px 0 !important;
    border-top: none !important;
    text-align: center !important;
    position: relative !important;
    z-index: 5 !important;
    clear: both !important;
}

.site-footer__bottom p,
.site-footer__bottom div,
.site-footer__bottom .field__item {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.82rem !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    border: none !important;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline !important;
}

.site-footer__bottom a:hover {
    color: #ffffff !important;
}

@media (max-width: 992px) {
    .site-footer__top {
        flex-wrap: wrap !important;
        gap: 30px 20px !important;
    }

    .site-footer__top > .region-footer-first,
    .site-footer__top > .region-footer-second {
        flex: 0 0 calc(50% - 10px) !important;
    }

    .site-footer__top > .region-footer-third,
    .site-footer__top > .region-footer-fourth {
        flex: 0 0 calc(50% - 10px) !important;
    }
}

@media (max-width: 576px) {
    .site-footer__top {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .site-footer__top > .region-footer-first,
    .site-footer__top > .region-footer-second,
    .site-footer__top > .region-footer-third,
    .site-footer__top > .region-footer-fourth {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}
