/*
Theme Name: ANERI Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.4.1757575649
Updated: 2025-09-11 09:27:29

*/

[id] {
  scroll-margin-top: 163px; 
}

/* Zlepšení font loading */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZFhiA.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';  
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/opensans/v43/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVI.woff2') format('woff2');
}

/* Zabránění layout shiftu */
html {
  font-family: Inter, -apple-system, sans-serif;
}

body {
  font-family: Inter, -apple-system, sans-serif;
}

/* Kritické styly pro zabránění shiftu */
.et_pb_section {
  min-height: 100px;
  contain: layout;
}

.et_pb_row {
  min-height: 50px;
}

/* Stabilizace hlavního nadpisu */
.dipi-highlight-text-wrapper {
  min-height: 120px;
  display: block;
}

/* Stabilizace obrázků */
.et_pb_image_wrap {
  display: block;
  position: relative;
}

.et_pb_image_wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* KRITICKÁ OPRAVA - zabránění posunu */
body {
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    overflow-y: scroll; /* Vždy scrollbar */
}

/* Stabilizace hlavních kontejnerů */
#page-container {
    min-height: 100vh;
    padding-top: 80px !important; /* Fixed hodnota */
}

#main-content {
    min-height: calc(100vh - 80px);
}

/* Oprava problematického elementu */
.et_pb_section_0 {
    min-height: 400px; /* Rezervace místa pro první sekci */
}

/* Zabránění posunu při načítání fontů */
.dipi-highlight-text-wrapper {
    min-height: 100px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}