/* Fluidní velikost loga + stabilní layout */
a[data-testid="linkWebsiteLogo"] {
  display: inline-flex;
  align-items: center;
  max-height: 100%;
}
a[data-testid="linkWebsiteLogo"] img {
  display: block;
  height: auto !important;
  width: auto;
  max-height: clamp(2rem, 6vw, 4rem) !important;
  object-fit: contain;
}
.header-logo,
.site-header .header-inner,
#header .header-inner {
  align-items: center !important;
}
.header-logo {
  overflow: hidden;
}

/* Decentní, responzivní mezera mezi header-bottom a content-wrapper */
.header-bottom + .content-wrapper,
.header-bottom + .container .content-wrapper,
#header + .content-wrapper {
  margin-top: clamp(8px, 1.2vw, 16px);
}

/* Header nad obsahem + fix propadávání na mobilu */
@media (max-width: 767px) {
  .header-top,
  #header,
  .site-header {
  
    z-index: 1000;
    overflow: visible !important;
  }
  .content-wrapper,
  .aside-indented,
  .container.content {
 
    z-index: 1;
  }
  .site-header.is-sticky,
  .site-header.sticky,
  #header.sticky,
  #header.is-fixed {
 
    top: 0;
    z-index: 1000;
  }


}

.top-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 420px; /
  overflow: hidden;
}

.top-banner .half {
  position: relative;
}

.top-banner .half img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; 
}

/* Responsivní úprava – na mobil stacked */
@media (max-width: 768px) {
  .top-banner {
    grid-template-columns: 1fr;
    height: 560px; 
  }
}

.buddy-hp-star-white {
    color: white !important; 
    margin: 0 0.5rem; 
    font-size: 1.2rem; 
}



/* Odkaz uvnitř hl-red */
.hl-red a {
    color: #e60000 !important; 
    text-decoration: underline; 
}




 

  .sb-footer-wrap {
    width: 100vw;
    margin: 0;
    padding: 0;
  }

  .sb-footer {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 5vw, 48px);
    padding: clamp(16px, 3vw, 48px);
    align-items: start;
    line-height: 1.6;
    box-sizing: border-box;
  }

  .sb-footer__col {
    text-align: left;
  }

  .sb-footer__title {
    font-weight: bold;
    font-size: clamp(14px, 1.3vw, 16px);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    color: #000;
  }

  .sb-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sb-footer__list li {
    margin: 0.5rem 0;
    font-size: clamp(15px, 1.1vw, 16px);
    font-weight: normal;
    color: #333;
  }

  .sb-footer a {
    color: inherit;
    text-decoration: none;
  }
  .sb-footer a:hover {
    text-decoration: underline;
  }

  /* Ikony plateb – zvětšeno cca o 25 % */
  .sb-footer__payments {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .pay-icon {
    height: 32px; 
    width: auto;
    display: block;
    background: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
  }



  @media (min-width: 900px) {
    .pay-icon {
      height: 38px;
    }
    .pay-icon--gpay {
      height: 48px;
    }
  }

  @media (max-width: 900px) {
    .sb-footer {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 600px) {
    .sb-footer {
      grid-template-columns: 1fr;
    }
  }






/* 1. Řádek pro bannery */
.custom-banner-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important; 
    justify-content: center !important; 
    gap: 10px !important;       
    margin-top: 30px !important; 
    width: 100% !important;
    max-width: 100% !important;
}

/* 2. Jednotlivý banner */
.custom-banner-row > * {
    flex: 1 1 0 !important; 
    width: auto !important;
    min-width: 0 !important; 
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* 3. Vzhled obrázků a videa - NA CELOU ŠÍŘKU */
.custom-banner-row img,
.custom-banner-row video {
    width: 100% !important;      
    height: 100% !important;     
    object-fit: cover !important; 
    border-radius: 12px !important;
    display: block !important;
    max-width: none !important; 
}

/* 4. MOBIL */


@media (max-width: 768px) {
    .custom-banner-row {
        flex-direction: column !important;
        gap: 0px !important; 
    }
    
  
    .custom-banner-row .banner-wrapper,
    .custom-banner-row span, 
    .custom-banner-row a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        
    
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        
      
        line-height: 0 !important;
        font-size: 0 !important;
    }

   
    .custom-banner-row .banner-wrapper:first-child {
        margin-bottom: 5px !important; 
    }
    
  
    .moved-homepage-content {
        max-width: 100% !important;
    }
}




.homepage-latest-contribution-full-width {
    display: none !important;
}


@media only screen and (max-width: 767px) {
    #dklab_instagram_widget_heading {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        
        margin-top: 0 !important;
        padding-top: 0 !important;
        font-size: 16px !important;
    }

    #dklab_instagram_widget_heading .logo {
        display: inline-block !important;
        flex-shrink: 0 !important; 
        width: 24px !important;    
        height: 24px !important;  
        margin-right: 1px !important;
        margin-bottom: 0 !important;
    }

    #dklab_instagram_widget_heading a {
        white-space: nowrap !important;
        font-size: inherit !important;
        line-height: 1 !important;
        display: inline-block !important;
    }
}


#dklab_instagram_widget_heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}