/* --- Globální styl obsahu stránek --- */

/* Hlavní textové bloky */
.content-text-wide {
  max-width: 900px;         /* aby text nebyl moc roztáhlý */
  margin: 0 auto;           /* centrování */
  font-size: 1.1rem;        /* príjemnejší citelnost */
  line-height: 1.7;
}

/* Nadpisy */
.content-text-wide h1,
.content-text-wide h2,
.content-text-wide h3 {
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* Odkazy v textu */
.content-text-wide a {
  color: #2c3e9f;           /* firemní/modrá barva */
  text-decoration: none;
  font-weight: 500;
}
.content-text-wide a:hover {
  text-decoration: underline;
}

/* Obrázky obecne */
.content-text-wide img {
  border-radius: 8px;       /* lehce zaoblené rohy */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);  /* decentní stín */
}

/* Cards pro fotky */
.content-text-wide .card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Vzdálenosti mezi sekcemi */
.content-text-wide .row {
  margin-bottom: 2rem;
}

  .navbar-separator {
    border-left: 1px solid #ccc; /* tenká šedá linka */
    height: 24px; /* výška linky */
    margin: 0 12px; /* mezery vlevo/vpravo */
  }

  .lang-switch a {
    font-size: 0.9rem; /* menší písmo */
    color: #666 !important; /* jemná šedá */
    padding-left: 6px;
    padding-right: 6px;
  }

  .lang-switch a:hover {
    color: #000 !important; /* ztmavení pri hoveru */
  }
  
  .btn-register {
    background-color: #2e2b5e;
    color: white;
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
  }
  .btn-register:hover {
    background-color: #25234a; /* o neco tmavší odstín pri hoveru */
    color: white;
  }
  
  hr.border-custom {
    border-top: 3px solid #2e2b5e !important;
    opacity: 1; /* Bootstrap snižuje pruhlednost na 0.25 */
  }
  
    .heading-main {
    color: #2e2b5e;
  }
  
    /* Zarovnání do bloku */
  .text-justify {
    text-align: justify;
  }

  /* Stejná výška textu pro všechny karty */
  .fixed-text-height {
    min-height: 80px; /* mužeš upravit podle potreby */
  }

  /* Zajištení, že odkaz neovlivní vzhled karty */
  .card {
    transition: transform 0.2s ease-in-out;
  }
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

.lang-switch img,
.lang-switch .fi {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  display: inline-block;
}

/* Aktivní hlavní sekce v menu */
.navbar .nav-link.active {
  font-weight: bold;
  color: #2e2b5e !important; /* stejná barva jako tlacítko */
}

/* Aktivní stránka v dropdownu */
.dropdown-menu .dropdown-item.active {
  font-weight: bold;
  background-color: #2e2b5e; /* podbarvení jako tlacítko */
  color: #fff !important;    /* text bílý pro kontrast */
}

:root {
  --brand-color: #2e2b5e; /* barva tlacítka "Inscriu-te" */
}

.navbar .nav-link.active-section {
  font-weight: bold;
  color: var(--brand-color) !important;
}

.dropdown-menu .dropdown-item.active-item,
.dropdown-menu .dropdown-item.active-item:hover {
  background-color: var(--brand-color) !important;
  color: #fff !important;
}

/* Aktivní sekce */
.navbar .nav-link.active-section {
  font-weight: bold;
  color: #2e2b5e !important;
}

/* Aktivní položka v dropdownu */
.dropdown-item.active-item,
.dropdown-item.active-item:focus,
.dropdown-item.active-item:hover {
  background-color: #2e2b5e;
  color: #fff !important;
}


/* Zarovnání šipky */
.navbar-nav .nav-item.dropdown {
  display: flex;
  align-items: center;
}

.navbar-nav .dropdown-toggle-split {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  margin-left: -4px;
}

/* Dropdown na hover */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* drží ho prímo pod sekcí */
  }
}

/* Aby dropdown nezacínal uprostred */
.navbar .dropdown-menu {
  top: 100%;   /* hned pod sekcí */
  left: 0;     /* zarovnání vlevo pod textem */
  margin-top: 0;
}

/* Když je použita trída dropdown-menu-end, zarovnej doprava */
.navbar .dropdown-menu.dropdown-menu-end {
  left: auto;
  right: 0;
}

/* TIMELINE PRO LECTORAT */

.timeline {
  position: relative;
  padding-left: 20px;
  margin: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  width: 2px;
  height: 100%;
  background: #2e2b5e;
}

.timeline li {
  position: relative;
  margin-bottom: 30px;
  list-style: none;
}

.timeline-badge {
  position: absolute;
  left: -5px;
  top: 0;
  background: #2e2b5e;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

.timeline-panel {
  margin-left: 60px;
  padding: 10px 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}


.hero-wrap { position: relative; }

/* cip musí být nad vrstvami karuselu (indikátory, obrázek) */
.santoral-chip {
  z-index: 1030;           /* výš než carousel overlay/indikátory */
  pointer-events: none;    /* at neprekáží klikum na šipky */
}
.santoral-chip .badge {
  font-size: 1rem;     /* výchozí ~0.75rem, zvedneme */
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
}
