/* 1.9.9.62: preserve desktop columns; mobile rooms and documents
   left, pages right. Reuse the 1.9.9.10 footer grouping without new markup. */
body .site-footer .eexit-v19910-footer-links,
body .site-footer .eexit-v19910-link-stack {display:contents}
@media (max-width:760px){
 body .site-footer .foot-grid.eexit-v1998-foot-grid{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:20px!important;align-items:start!important;
 }
 body .site-footer .eexit-v1998-foot-grid>.eexit-v1997-footer-brand{
   grid-column:1/-1!important;min-width:0!important;margin:0!important;
 }
 body .site-footer .eexit-v1998-foot-grid>.eexit-v19910-footer-links{
   grid-column:1/-1!important;display:grid!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   align-items:start!important;column-gap:clamp(12px,3.5vw,24px)!important;
   row-gap:0!important;width:100%!important;min-width:0!important;
 }
 body .site-footer .eexit-v19910-footer-links>.foot-col{
   grid-column:1!important;grid-row:1!important;margin:0!important;
   padding:0!important;min-width:0!important;width:100%!important;
 }
 body .site-footer .eexit-v19910-footer-links>.eexit-v19910-link-stack{
   display:contents!important;
 }
 body .site-footer .eexit-v19910-link-stack>.foot-col{
   display:block!important;min-width:0!important;width:100%!important;
   margin:0!important;padding:0!important;
 }
 body .site-footer .eexit-v19910-link-stack>.foot-col:first-child{
   grid-column:2!important;grid-row:1 / span 2!important;
 }
 body .site-footer .eexit-v19910-link-stack>.foot-col:last-child{
   grid-column:1!important;grid-row:2!important;margin-top:12px!important;
 }
 body .site-footer .eexit-v19910-footer-links .foot-col h5{
   margin:0 0 6px!important;font-size:clamp(.72rem,2.9vw,.85rem)!important;
   line-height:1.35!important;overflow-wrap:break-word!important;word-break:normal!important;
 }
 body .site-footer .eexit-v19910-footer-links .foot-col a,
 body .site-footer .eexit-v19910-footer-links .foot-col button{
   font-size:.84rem!important;line-height:1.45!important;
   margin:0!important;overflow-wrap:break-word!important;
 }
 body .site-footer .foot-bottom{margin-top:12px}
}
@media(max-width:360px){
 body .site-footer .eexit-v1998-foot-grid>.eexit-v19910-footer-links{column-gap:10px!important}
 body .site-footer .eexit-v19910-footer-links .foot-col h5{font-size:.72rem!important;letter-spacing:0!important}
}

/* The optional corner badge is anchored to the entire footer, not the centered .wrap.
   Reserve its area only when present, so copyright never overlaps it. */
body .site-footer{position:relative}
body .site-footer .foot-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
body .site-footer .foot-bottom:has(.eexit-szechenyi-2020){min-height:156px;padding-right:235px}
body .site-footer .eexit-szechenyi-2020{display:block;position:absolute;right:0;bottom:0;width:220px;max-width:46vw;height:auto;max-height:156px;object-fit:contain;object-position:right bottom;margin:0}
@media(max-width:480px){body .site-footer .foot-bottom:has(.eexit-szechenyi-2020){min-height:112px;padding-right:calc(min(160px,42vw) + 12px)}body .site-footer .eexit-szechenyi-2020{width:min(160px,42vw);max-height:120px}}

/* Desktop: reuse the free space in the main footer instead of a second band. */
@media(min-width:1024px){
 body .site-footer > .wrap{position:static}
 body .site-footer .eexit-v1998-foot-grid>.eexit-v1997-footer-brand{padding-bottom:2.35rem}
 body .site-footer .foot-bottom,
 body .site-footer .foot-bottom:has(.eexit-szechenyi-2020){
   min-height:0;margin:0;padding:0;border:0;display:block;
 }
 body .site-footer .foot-bottom>span{position:absolute;bottom:12px;max-width:45%;}
 body .site-footer .eexit-szechenyi-2020{width:clamp(160px,15vw,220px);max-height:135px;}
}
