/* HMPI — doporučené vložení; nahradí současné <i class="bi bi-app">. */
.boxes {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px;}
.boxes a.box {box-sizing:border-box;margin:0;min-height:103px;padding:18px 20px;display:flex;align-items:center;gap:20px;text-align:left;border-color:#F49819;}
.boxes .hmpi-icon {display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain;}
.boxes a.box h4 {margin:0;line-height:1.25;overflow-wrap:break-word;}
/* Výška je minimální: při zalomení textu se box může zvětšit. */
.boxes a.box {text-decoration:none;border-width:1px;border-style:solid;border-radius:5px;background-color:rgba(0,0,0,0);}

.boxes a.box:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Header / footer logo (HM Profi Invest). The header sits transparent on the dark hero
   until the page is scrolled, then turns white: show the white-lettering variant first and
   the full-colour one on the white header. */
.header .logo img {height:32px;width:auto;max-height:none;max-width:100%;margin-right:0;}
.header .logo img.logo-dark {display:none;}
.scrolled .header .logo img.logo-light {display:none;}
.scrolled .header .logo img.logo-dark {display:block;}
.footer .footer-about .logo img {height:40px;width:auto;max-height:none;max-width:100%;margin-right:0;}
@media (max-width: 575.98px) {
  .header .logo img {height:26px;}
  .footer .footer-about .logo img {height:34px;}
}

/* Footer background: stadium photo (was assets/img/footer-bg.jpg). The theme's .footer:before
   already lays an 80% dark overlay on top, which keeps the white footer text readable. */
.footer {background-image:url("../assets/img/footer-bg-stadion.jpg");background-position:center 45%;background-repeat:no-repeat;background-size:cover;}

/* Clients carousel (StreamField block "clients"; Swiper is started by .init-swiper in assets/js/main.js). */
.clients .swiper {padding:10px 0 40px;}
.clients .swiper-wrapper {height:auto;}
.clients .swiper-slide {display:flex;align-items:center;justify-content:center;height:auto;}
.clients .client-logo {display:flex;align-items:center;justify-content:center;width:100%;height:90px;}
.clients .client-logo img {max-height:90px;width:auto;max-width:100%;object-fit:contain;filter:grayscale(1);opacity:.7;transition:.3s;}
.clients .client-logo:hover img {filter:none;opacity:1;transform:scale(1.08);}
.clients .swiper-pagination {bottom:0;}
.clients .swiper-pagination-bullet {background-color:#F49819;opacity:.35;}
.clients .swiper-pagination-bullet-active {opacity:1;}
