/* Bootstrap 5 breakpoint adapters retain the original 768/992 px layout. */
@media (min-width: 768px) {
    .col-origin-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
    .col-origin-sm-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-origin-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
}
@media (min-width: 992px) {
    .col-origin-md-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-origin-md-8 { flex: 0 0 auto; width: 66.66666667%; }
}
.row { align-items: flex-start; }
@media (min-width: 992px) {
    header .header-wrapper .right-side { width: 320px; }
}
.input-group { flex-wrap: nowrap; align-items: normal; }
.input-group > .form-control { flex: none; }
/* Existing custom rules used the original grid class names for contact spacing. */
section.kontakt .contact-big-wrapper [class*="col-"] { position: relative; }
.burger { background: transparent; line-height: normal; }
.burger .stick { display: block; }
.small-menu-container .navbar-nav { flex-direction: column; }
.small-menu-container .navbar-nav > li { float: none; }
.small-menu-container .navbar-nav a { line-height: 1.4; }
.swiper-pagination button { padding: 0; border: 0; vertical-align: middle; }
.swiper-pagination button:focus-visible { outline: 2px solid #00395c; outline-offset: 3px; }
.carousel-item { transition: transform .6s ease-in-out; }
#home-counter-swiper .swiper-wrapper { display: flex; gap: 30px; }
#home-counter-swiper .statistic { flex: 0 0 calc((100% - 60px) / 3); width: calc((100% - 60px) / 3); }
@media (max-width: 991px) {
    #home-counter-swiper .statistic { flex-basis: calc((100% - 30px) / 2); width: calc((100% - 30px) / 2); }
}
@media (max-width: 580px) {
    #home-counter-swiper .statistic { flex-basis: 100%; width: 100%; }
}
.skip-link { position: fixed; left: 10px; top: -100px; z-index: 1000; background: #fff; color: #00395c; padding: 10px; font-size: 16px; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible { outline: 2px solid #00aeef; outline-offset: 3px; }
.search-entry { padding: 10px 0; border-bottom: 1px solid #e3f7ff; }
.search-entry h2 { padding-left: 0 !important; }
.image-preview { border: 0; padding: 30px; max-width: 95vw; max-height: 95vh; background: #fff; }
.image-preview::backdrop { background: rgb(0 0 0 / 75%); }
.image-preview img { display: block; max-width: 85vw; max-height: 85vh; object-fit: contain; }
.image-preview-close { position: absolute; top: 0; right: 5px; border: 0; background: transparent; color: #00395c; font-size: 28px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
