/* /css/style.css */

body {
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'IBM Plex Sans', 'IBM Plex Mono', 'Helvetica Neue', Arial, sans-serif;
}

/* Margin-top pro všechny stránky kromě úvodní */
body:not(.homepage)  {
    margin-top: 5.5em !important;

}


body:not(.homepage) .site-section  {
    margin-top: 7.5em !important;
    /* margin-top: 7.5em !important; */

}


strong {
  font-weight: 800;
  color: #000; /* Černá pro maximální kontrast */
  letter-spacing: 0.02em; /* Mírné rozšíření mezer */
}

/* Externí odkazy */

/* Reset všech pseudo-elementů u odkazů */
a:before {
  content: none;
  display: none;
}

/* SVG ikony KURZ */
.file-icon svg {
  vertical-align: middle;
  width: 24px;
  height: 24px;
}
.bonus-file {
  background-color: #fff7e6;
}

/* Externí odkazy */
a[href^="http"]:before,
a[href^="https"]:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('../images/externi.png');
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 4px;
  vertical-align: -2px;
}

/* Vyloučení - důležité je pořadí! */
a[href*="ocs-470.vsb.cz"]:before,
a[href*="teams.microsoft.com"]:before,
a[href*="ucimesmath4u.vsb.cz"]:before,
a[href*="www.sk-cz.eu"]:before,
a[href^="/"]:before,
a[href^="#"]:before,
a[href^="mailto:"]:before,
a[href^="tel:"]:before,
a.no-external-icon:before {
  content: none !important;
  background: none !important;
  display: none !important;
}

/* Hover efekt */
a[href^="http"]:hover:before,
a[href^="https"]:hover:before {
  opacity: 1;
}

/* ==== MENU ==== */
#menu,
.menu-navbar,
.dekorativni-lista-nav {
  min-height: 85px;
  background-image: url('/images/lista.png');
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto 100%;
  background-color: transparent !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1030;
  display: flex;
  align-items: center;
  font-size: 12px;
  transition: background 0.3s;
}

/* Zarovnání obsahu v containeru */
#mainNav .container {
  min-height: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Logo vlevo - posun nahoru */
#mainNav .navbar-brand {
  margin-bottom: 0;
  margin-top: -5px;
  margin-right: 2rem;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Menu vpravo */
#mainNav .navbar-nav {
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Odkazy v menu */
#mainNav .navbar-nav .nav-link {
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Zvýraznění aktivního odkazu */
.nav-link.active-page {
  color: #fff !important;
}

/* Logo obrázek */
#mainNav .navbar-brand img {
  height: 36px;
  transition: filter 0.3s;
}

/* Skrytí collapse tlačítka na desktopu */
@media (min-width: 992px) {
  #mainNav .navbar-toggler {
    display: none;
  }
}

/* ==== MOBILNÍ ÚPRAVY ==== */
@media (max-width: 991.98px) {
  #menu,
  .menu-navbar,
  .dekorativni-lista-nav {
/*     min-height: 56px;
    background-size: auto 56px; */
    box-shadow: none;
  }
  #mainNav .container {
    min-height: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  /* Burger doprava a výš */
  #mainNav .navbar-toggler {
    margin-left: auto;
    width: 28px;
    height: 20px;
    margin-right: 12px;
    margin-top: -6px; /* ZVEDNI DLE POTŘEBY */
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Zarovnání menu položek doprava pod burger */
  #mainNav .navbar-nav {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-end;
  }
  /* Odkazy v menu */
  #mainNav .navbar-nav .nav-link {
    display: block;
    width: 100%;
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: right;
    font-size: 0.85rem;
    border-bottom: none;
  }
  #mainNav .navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
  }
  #mainNav .navbar-brand {
    margin-right: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
  }
  #mainNav .navbar-collapse {
    background: #003366;
    padding: 1rem 0;
    width: 100%;

    /* Zásadní změna: absolutní pozice pod lištou */
    position: absolute;
    top: 56px; /* přesně pod horní lištou */
    left: 0;
    z-index: 1050;

    /* Odstranění scrollování */
    max-height: none;
    overflow: visible;
  }
}






/* Skrytí lišty na hlavní stránce */
/* body.homepage .decorative-strip { */
  /* display: none; */




/* Úprava odsazení obsahu stránky */
/* body {
  padding-top: 0; /* Reset případného paddingu 
} */

/* První sekce po liště */
.site-section:first-of-type {
  margin-top: 0; /* Lišta už vytváří dostatečný prostor */
}


p {
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 300; /* Light */
}


/* hover efekt */
.hover-effect {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* KONEC hover */

/* ==== SLIDER ==== */
/* .pt-slider {
  padding-top: calc(40px + 5vh); /* menší mezera od topu */
  background: #fff;
} */
#slider .container {
  max-width: 1140px;
}
.split-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 40px 32px 40px 0; /* pravá mezera mezi obrázkem a textem */
}
.split-img img {
  max-width: 220%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.split-text {
  background: #fff;
  color: #13224d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 40px; /* levá mezera mezi textem a obrázkem */
  min-height: 320px;
}

/* ==== SLIDER NADPISY ==== */
.slider-title h3,
.slider-title h2,
h3.slider-title,
h2.slider-title {
  font-weight: 800 !important;
  margin-bottom: 1rem;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
h2.slider-title,
.slider-title h2 {
  text-transform: uppercase;
  font-size: 40px;
}
.slider-title span,
.slider-title .gradient2 {
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.5em;
  color: transparent;
  background: linear-gradient(90deg, #13224d 0%, #2563eb 40%, #00c6fb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
/*   text-shadow: 2px 2px 12px rgba(28,44,99,0.28), 0 2px 4px rgba(0,0,0,0.18); */
}
.slider-title .gradient2 {
  background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%);
}

/* ==== SLIDER TEXT ==== */
.split-text p {
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ==== SLIDER INDIKÁTORY ==== */
.carousel-indicators {
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
}
.carousel-indicators [data-bs-target] {
  background-color: #092068;
  width: 48px;
  height: 5px;
  border-radius: 3px;
  opacity: 0.5;
  margin: 0 6px;
  transition: opacity 0.2s, background 0.2s;
  border: none;
}
.carousel-indicators .active {
  opacity: 1;
  background-color: #092068;
}



/* ==== SLIDER TLAČÍTKA ==== */
.split-text .btn,
.split-text .slider-btn {
  width: auto !important;
  min-width: 0 !important;
  display: inline-block !important;
  white-space: nowrap !important;
  align-self: flex-start !important;
  margin-top: 16px;
  overflow: visible !important;
  text-align: left;
  background: #00dbe6 !important;
  color: #fff !important;
  border: none !important;
  /* border-radius: 3px; */
  /* box-shadow: 0 4px 16px 0 rgba(255, 157, 58, 0.18), 0 1.5px 6px 0 rgba(0,0,0,0.13); */
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  /* border-radius: 0 !important; */
  transition: box-shadow 0.18s, background 0.18s;
  font-weight: 400 !important;
}
.split-text .btn:hover,
.split-text .slider-btn:hover,
.split-text .btn:focus,
.split-text .slider-btn:focus {
  background: #ffb347 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px 0 rgba(255, 157, 58, 0.28), 0 2px 8px 0 rgba(0,0,0,0.18);
  text-decoration: none;
}

/* ==== STRUKTURA SEKCÍ A NADPISŮ ==== */



.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Hlavní nadpis sekce */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  /* Gradient ze slideru */
  background: linear-gradient(90deg, #13224d 0%, #1d3977 50%, #2f4f91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
    line-height: 1.3; /* vyšší řádkování */
  padding-top: 0.2em; /* prostor nad */
  padding-bottom: 0.2em; /* prostor pod */
  /* text-shadow: 2px 2px 12px rgba(28,44,99,0.28), 0 2px 4px rgba(0,0,0,0.18); */
}

.section-title {
  font-size: 3rem !important;
}
.section-title-kurzy {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  /* text-transform: uppercase; */
  background: linear-gradient(90deg, #13224d 0%, #1d3977 50%, #2f4f91 100%);
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  line-height: 1.3;
  padding-top: 0.2em;
  padding-bottom: 0.1em;
  /* text-shadow: 2px 2px 12px rgba(28,44,99,0.28), 0 2px 4px rgba(0,0,0,0.18); */
}

/* Podnadpis sekce */
.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Dekorativní čára */
.section-divider {
  width: 10%;
  height: 4px;
  background: #666; /* Šedá bez gradientu */
  /* NEBO použijte černošedý gradient: */
  /* background: linear-gradient(90deg, #333 0%, #999 50%, #333 100%); */
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  /* Plastický efekt */
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.1),
    0 1px 2px rgba(0,0,0,0.05);
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
}

/* Obsah sekce */
.section-content {
  margin-top: 3rem;
}
.do-bloku {
	text-align: justify;
}

/* Základní padding pro sekce */
.course-offer-section,
.certificates-section,
.target-audience-section {
  padding: 80px 0;
}

.online-meetings-section {
  padding: 80px 0;
}


/* Podnadpisy v obsahu */
 .subsection-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #092068;
  margin-bottom: 1rem;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif; 
}

/* ZIVE VYSILANI */ 

.DivLink {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1
}
	a.noLink{
	text-decoration: none !important;
}
  .course-box {
    position: relative;
    padding-right: 50px; /* Space for the icon */
  }

	.course-box .stream-icon {
	  position: absolute;
	  right: 15px;
	  bottom: 15px;
	  width: auto;
	  height: 20px;
	}
	
	/* Zajistí, že odkaz vyplní celý box a nebude podtržený */
	a.course-box {
	  display: block;
	  text-decoration: none;
	  color: inherit; /* Převezme barvu textu z tříd .text-dark/.text-white */
	  transition: transform 0.2s ease-in-out;
	}

	/* Přidá vizuální efekt při najetí myší */
	a.course-box:hover {
	  transform: scale(1.02);
	  text-decoration: none;
	}

	/* Styl pro ikonu, pokud ji používáte místo textového odznaku */
	.stream-icon {
		position: absolute;
		right: 15px;
		bottom: 15px;
		width: 24px;
		height: 24px;
	}
	
  /* Responsive adjustments */
  @media (max-width: 767px) {
    .course-box {
      padding-right: 65px; /* zvětší prostor pro větší ikonu */
    }
    .course-box .stream-icon {
      right: 10px;
      bottom: 5px;
      /*width: 42px;   Větší ikona na mobilu */
      height: 20px;
    }
    .course-number {
      font-size: 2rem;
      margin-right: .7rem;
    }
    .course-title {
      font-size: 1.06rem;
    }
  }
  
   /* Responsive adjustments for mobile */
  @media (max-width: 575.98px) {
    .course-box {
      padding: 1rem .8rem 1rem 1rem;
      font-size: 1rem;
      min-height: 62px;
    }
    .course-number {
      font-size: 2rem;
      margin-right: .7rem;
    }
    .course-title {
      font-size: 1.06rem;
    }
    .open-icon {
      width: 44px;     /* Ikona je mnohem větší na mobilu */
      height: 44px;
      right: 8px;
    }
  }
/* ZIVE VYSILANI */

/* ====  NOVINKY ==== */
/* Karta bez orámování, jen lehký stín */
.card-custom {
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-custom:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

/* Obrázek nahoře - zaoblený nahoře */
.card-img-top {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  object-fit: cover;
  height: 210px;       /* zvětšená výška */
  width: 100%;
}

/* Tělo karty s flex layoutem */
.card-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Titulek karty */
.card-title a {
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'IBM Plex Sans', 'IBM Plex Mono', 'Helvetica Neue', Arial, sans-serif;
  color: #324f87;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.card-title a:hover {
  color: #ff9d3a;
  text-decoration: underline;
}

/* Text v kartě */
.card-text {
  color: #555;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.4;
  flex-grow: 1;
}

/* Minimalistické tlačítko (linka), bez pozadí */
.btn-detail {
  margin-top: 1rem;
  align-self: flex-end;   /* zarovnání doprava */
  display: inline-block;
  font-weight: 400;
  color: #ffffff;              /* bílý text */
  background-color: #ff9d3a;  /* oranžové pozadí */
  border: none;
  padding: 0.5rem 1.25rem;
/*  border-radius: 0.5rem; */
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 5px rgba(255, 157, 58, 0.4);
}

.btn-detail:hover,
.btn-detail:focus {
  background-color: #e07f2a;  /* tmavší oranžová na hover */
  color: #fff;
  text-decoration: none;
  outline: none;
}
.card-custom .card-img-top {
  border-bottom: 0.5px solid #f0f0f0;
}

.site-section.news {
  margin-bottom: 3em;  /* Přepíše základní hodnotu */
}
/* ==== KONEC NOVINEK ==== */

/* ==== TÝMOVÁ STRÁNKA ==== */
.team-section {
  margin-bottom: 3rem;
}
.team-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #222;
}
.person-donate {
  background: none;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
}
.person-donate img.team-photo,
.team-photo {
  max-width: 210px;
  max-height: 280px;
  border-radius: 18px;
  margin-bottom: 0.8em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.donate-info h2,
.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.1em;
  color: #e17c3a;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  text-align: center;
}
.donate-info h2 a {
  color: #e17c3a;
  text-decoration: none;
  font-weight: 700;
}
.donate-info .time,
.team-role {
  font-size: 0.98em;
  color: #b77c4a;
  opacity: 0.95;
  font-weight: 400;
  margin-bottom: 0.2em;
  display: block;
  text-align: center;
}
.team-row {
  margin-bottom: 0;
}

/* Pro 3 členy na řádku – zarovnání na střed */
.team-row.row-of-3 {
  justify-content: center;
  gap: 2rem; /* nebo libovolně upravit */
}

/* Pro 5 členů – větší mezery mezi členy */
.team-row.row-of-5 {
  justify-content: center;
  gap: 3rem; /* větší mezera než default */
}

.mb-5 {
  margin-bottom: 2.5rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.spacetop {
  margin-top: 3rem !important;
}

/* Menší mezera dole u řádku se 3 položkami */
.team-row-three > .col-md-4,
.team-row-three > .col-12 {
  margin-bottom: 0.5rem !important;
}

/* ==== TYMY A B ==== */
/*     .section-divider {
      width: 80px;
      height: 4px;
      background-color: #3498db;
      margin: 0 auto;
    } */
    
    .team-member {
      margin-bottom: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid #e0e0e0;
    }
    
    .team-member:last-child {
      border-bottom: none;
    }
    
    .profile-image {
      width: 100%;
      max-width: 210px;
    }
    
    .team-member h3 {
      color: #2c3e50;
      font-weight: 600;
      margin-bottom: 10px;
    }
    
    .team-member .lead {
      color: #7f8c8d;
      font-weight: 500;
      margin-bottom: 20px;
    }
    
   
    .ext {
      color: #3498db;
      text-decoration: none;
    }
    
    .ext:hover {
      color: #2980b9;
      text-decoration: underline;
    }
    
    @media (max-width: 768px) {
      .team-member {
        text-align: center;
      }
      
      .profile-image {
        margin-bottom: 30px;
      }
    }
	
/* ==== KONEC TYMY A B ==== */


/* ==== STRÁNKA KURZŮ ==== */
.intro-section {
  padding: 40px 0 60px 0;
/*   margin-top: 60px; */
}

.course-offer-section,
.certificates-section,
.target-audience-section {
  padding: 60px 0;
}

.subsection-title {
  font-size: 1.25rem; /* zmenšeno z 1.5rem */
  font-weight: 700;
  color: #092068;
  margin-bottom: 1rem;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
}

/* Online setkání sekce s parallax efektem */
.online-meetings-section {
  padding: 80px 0;
  position: relative;
  background-color: #ffebd7; /* světlejší odstín #ff9d3a */
  overflow: hidden;
}

/* Parallax background */
.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Zde můžete přidat background obrázek */
  background-image: url('../images/bg_pattern.jpg'); /* upravte cestu */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.1; /* průhlednost pozadí */
  z-index: -1;
}

/* Alternativa bez obrázku - geometrický vzor */
.parallax-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 157, 58, 0.05) 10px,
      rgba(255, 157, 58, 0.05) 20px
    );
  z-index: -1;
}

/* Seznam s vlastními odrážkami */
.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333;
}

.custom-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #ff9d3a;
  border-radius: 50%;
}

/* Karty pro online setkání */
.meeting-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.meeting-card-link {
  text-decoration: none;
  color: inherit;
}

.meeting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.meeting-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.meeting-info {
  padding: 20px;
}

.meeting-info p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Counter sekce */
.certificate-counters {
  background: #092068;
  color: #fff;
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(9, 32, 104, 0.3);
}

.counter-label {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
}

.counter-date {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* novy styl */
/* Counter sekce */
.counters-section {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
}

.counter-box {
/*   background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(9, 32, 104, 0.08); */
  padding: 48px 32px;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 220px;
}

.blue-box {
  background: #092068;
  color: #fff;
}

.orange-box {
  background: #ffa73a;
  color: #fff;
}

.counter-label {
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
  font-weight: 300; /* Montserrat Light */
  font-size: 1.25rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.counter-number {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400; /* běžný Montserrat */
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 14px;
}

.counter-date {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 6px;
}

/* Vertikální a horizontální centrování všeho */
.counters-section .container,
.counters-section .row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counters-section .row {
  width: 100%;
}

/* Zrušení bold stylu pro všechny potomky counter-box */
.counter-box,
.counter-box * {
  font-weight: 300;
}

/* Specifické nastavení pro číslo */
.counter-number {
  font-weight: 400 !important;
}

/* KONEC COUNTERU */

/* Karty regionů */
.region-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 100%;
}

.region-card h3 {
  color: #092068;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
}

.region-card .custom-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 200px;
}

/* KONEC KURZY */

/* ==== STRÁNKA O PROJEKTU ==== */
.intro-section {
  padding: 40px 0 40px 0;
  /* margin-top: 60px; */
}

.needs-section,
.conclusion-section {
  padding: 40px 0;
}

.counters-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/* Counter boxy - specifické pro O projektu */
.counter-box {
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-5px);
}

.blue-box {
  background: #092068;
}

.orange-box {
  background: #ff9d3a;
}

/* Specifické selektory pro counter na stránce O projektu */
.counter-box .counter-label {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter-box .counter-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, sans-serif;
}

.conclusion-section .conclusion-img {
  max-height: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
@media (min-width: 768px) {
  .conclusion-section .row {
    min-height: 420px; /* nebo podle potřeby */
  }
}



/* Upravený CSS pro stránku Kurzy - přidejte specifičnost */
.certificate-counter .counter-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}



/* KONEC PROJEKTU */

/* ==== BAREVNÉ SEZNAMY ==== */
/* Základní styly pro barevné seznamy */
ul.color, ul.color-right {
  list-style: none;
  min-width: 250px;
  list-style-position: outside;
  padding-left: 1.5em;
  text-indent: -1.2em;
  font-size: inherit; /* nebo např. 16px */  
}

ul.color li, ul.color-right li {
  font-family: 'IBM Plex Sans', 'IBM Plex Mono', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 300; /* Light */	
  display: block;
  clear: left;
  vertical-align: middle;
  line-height: 1.5rem;
  padding-left: 5px;
  margin-bottom: 12px; /* Přidáno: mezera mezi li */
  
}

ul.color li:last-child,
ul.color-right li:last-child {
  margin-bottom: 0; /* Poslední li bez mezery */
}

/* Barevné odrážky */
ul.color li span, ul.color-right li span {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 6px;

  /* margin-right: 6px;
  border-radius: 50%;  přidáno pro zakulacení  */
}

/* Pravé zarovnání */
ul.color-right {
  text-align: right;
}

ul.color-right li {
  background-position: 100% .4em;
  padding-right: .6em;
}

ul.color-right li span {
  width: 6px;
  height: 6px;
}

/* Definice barev - optimalizováno pomocí CSS proměnných */
:root {
  --color-1: #ff0000;
  --color-2: #008000;
  --color-3: #0000ff;
  --color-4: #f7ca44;
  --color-5: #00ffff;
  --color-6: #ffa500;
  --color-7: #808080;
  --color-8: #000000;
  --color-9: #0000ff;
  --color-10: #214a6e;
  --color-11: #ff6a6a;
  --color-12: #ffdd91;
  --color-13: #7d9186;
  --color-14: #f3e7e9;
}

/* Aplikace barev - optimalizováno pomocí cyklu */
ul.color li:nth-child(1) span, ul.color-right li:nth-child(1) span { background: var(--color-1); }
ul.color li:nth-child(2) span, ul.color-right li:nth-child(2) span { background: var(--color-2); }
ul.color li:nth-child(3) span, ul.color-right li:nth-child(3) span { background: var(--color-3); }
ul.color li:nth-child(4) span, ul.color-right li:nth-child(4) span { background: var(--color-4); }
ul.color li:nth-child(5) span, ul.color-right li:nth-child(5) span { background: var(--color-5); }
ul.color li:nth-child(6) span, ul.color-right li:nth-child(6) span { background: var(--color-6); }
ul.color li:nth-child(7) span, ul.color-right li:nth-child(7) span { background: var(--color-7); }
ul.color li:nth-child(8) span, ul.color-right li:nth-child(8) span { background: var(--color-8); }
ul.color li:nth-child(9) span, ul.color-right li:nth-child(9) span { background: var(--color-9); }
ul.color li:nth-child(10) span, ul.color-right li:nth-child(10) span { background: var(--color-10); }
ul.color li:nth-child(11) span, ul.color-right li:nth-child(11) span { background: var(--color-11); }
ul.color li:nth-child(12) span, ul.color-right li:nth-child(12) span { background: var(--color-12); }
ul.color li:nth-child(13) span, ul.color-right li:nth-child(13) span { background: var(--color-13); }
ul.color li:nth-child(14) span, ul.color-right li:nth-child(14) span { background: var(--color-14); }

/* Opakování barev pro další položky */
ul.color li:nth-child(15) span, ul.color-right li:nth-child(15) span { background: var(--color-2); }
ul.color li:nth-child(16) span, ul.color-right li:nth-child(16) span { background: var(--color-4); }
ul.color li:nth-child(17) span, ul.color-right li:nth-child(17) span { background: var(--color-1); }
ul.color li:nth-child(18) span, ul.color-right li:nth-child(18) span { background: var(--color-3); }
ul.color li:nth-child(19) span, ul.color-right li:nth-child(19) span { background: var(--color-12); }
ul.color li:nth-child(20) span, ul.color-right li:nth-child(20) span { background: var(--color-13); }
ul.color li:nth-child(21) span, ul.color-right li:nth-child(21) span { background: var(--color-14); }

/* Specifické styly pro region karty */
.region-card ul.color {
  margin-left: auto;
  margin-right: auto;
  max-width: 200px;
  text-align: left;
}


/* KONEC UL LI STYLU */

/* ==== PATIČKA ==== */
.footer-math4u {
  background: #404040;
  color: #fff;
  padding: 32px 0;
  font-size: 1rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-left, .footer-right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding-right: 32px;
}
.footer-right {
  align-items: flex-start;
  text-align: left;
  padding-right: 0;
  padding-left: 32px;
}
.footer-divider {
  width: 2px;
  min-height: 120px;
  background: #fff;
  opacity: 0.35;
  margin: 0 24px;
}
.footer-logo {
  max-width: 60%;
  height: auto;
  margin-bottom: 0;
}
.footer-copyright {
  font-weight: 700;
  margin-bottom: 0.5em;
  font-size: 1.08em;
}
.footer-license {
  font-size: 0.98em;
  opacity: 0.85;
  line-height: 1.5;
}
.footer-left, .footer-right {
  justify-content: center;
}
.footer-left { align-items: flex-end; text-align: right; }
.footer-right { align-items: flex-start; text-align: left; }


/* ==== RESPONSIVITA ==== */

/* ---------- TABLETY A MENŠÍ (max-width: 991px) ---------- */
@media (max-width: 991px) {

  /* Rozestupy u split sekcí */
  .split-img { padding: 24px 0 12px 0; }
  .split-text { padding: 12px 0 24px 0; }

  /* Obrázek ve split sekci */
  .split-img img { max-height: 200px; max-width: 100%; }

  /* Odsazení slideru odshora */
  .pt-slider { padding-top: calc(40px + 2vh);}

  /* Medailonky týmů a osoby pro donate sekci – menší fotky */
  .person-donate img.team-photo,
  .team-photo { width: 117px; height: auto; }

  /* Menší nadpis v donate info */
  .donate-info h2 { font-size: 1rem; }

  /* Patka (footer) – sloupce pod sebou, centrování */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-divider {
    width: 80%;
    height: 2px;
    min-height: unset;
    margin: 24px 0;
  }
  .footer-left, .footer-right {
    align-items: center !important;
    text-align: center !important;
    padding: 0;
  }

  /* Dekorativní lišta pod menu – menší odsazení a výška */
  .decorative-strip {
    margin-top: 58px;
    height: 50px;
  }

  /* Nadpisy a obsah sekcí – menší fonty, menší mezery */
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-content { margin-top: 2.5rem; }
  .section-divider { width: 15%; }

  /* Counter boxy v sekci O projektu */
  .counter-box {
    padding: 40px 30px;
  }
  .counter-box .counter-number {
    font-size: 3.5rem;
  }
  .certificate-counter .counter-number {
    font-size: 4rem;
  }
}

/* ---------- MOBILNÍ TELEFONY (max-width: 767px) ---------- */
@media (max-width: 767px) {

  /* Nadpis týmu menší */
  .team-title { font-size: 1.2rem; }

  /* Medailonky týmů a osoby pro donate sekci – ještě menší fotky */
  .person-donate img.team-photo,
  .team-photo { width: 90px; height: auto; }

  /* Menší nadpis v donate info */
  .donate-info h2 { font-size: 0.98rem; }

  /* Větší mezera pod sekcí týmů */
  .team-section { margin-bottom: 2rem; }

  /* Split sekce – menší padding a zarovnání obrázku */
  .split-img {
    padding: 12px 12px 12px 12px !important;
  }
  .split-img img {
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block;
  }
  .split-text {
    padding: 12px 12px 24px 12px !important;
  }

  /* Nadpisy a obsah sekcí – ještě menší fonty, menší mezery */
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.95rem; }
  .section-header { margin-bottom: 2rem; }
  .section-content { margin-top: 2rem; }
  .section-divider { width: 20%; }

  /* Padding sekcí s nabídkou, certifikáty atd. */
  .course-offer-section,
  .certificates-section,
  .target-audience-section,
  .online-meetings-section {
    padding: 60px 0;
  }

  /* Úvodní sekce – menší spodní mezera */
  .intro-section {
    padding: 60px 0 30px 0;
  }

  /* Další sekce – menší padding */
  .needs-section,
  .portal-offers-section,
  .conclusion-section {
    padding: 30px 0;
  }

  /* Counter sekce – menší padding */
  .counters-section {
    padding: 40px 0;
  }

  /* Counter box – menší padding a mezera pod boxem */
  .counter-box {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  .counter-box .counter-label {
    font-size: 1.1rem;
  }
  .counter-box .counter-number {
    font-size: 3rem;
  }
  .certificate-counter .counter-number {
    font-size: 3rem;
    font-weight: 400; /* místo 800 */
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'IBM Plex Sans', 'IBM Plex Mono', Arial, sans-serif; /* místo Montserrat */
  }
}

/* ========== Školitelé ========== 
ul.color {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
ul.color li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}
ul.color li span {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.7em;
  height: 0.7em;
  background: #1e88e5; 
  border-radius: 50%;
  display: inline-block;
}*/

/* --- Oddělovač pod datem --- 
.section-divider {
  border-bottom: 2px solid #e5e5e5;
  margin: 1.5rem 0 1.5rem 0;
}*/

/* --- Galerie --- 
.galerie .row.g-2 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.galerie .col-6 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.galerie img {
  border: 2px solid #f0f0f0;
  transition: border-color 0.2s;
}
.galerie img:hover {
  border-color: #1e88e5;
}*/

/* --- Bonusové soubory --- */
.bonus-file {
  opacity: 0.7;
  filter: grayscale(0.6);
}
.bonus-file-locked {
  cursor: not-allowed;
  text-decoration: line-through;
}



/* ========== RESPONSIVITA  ========== */

/* ---------- MOBILNÍ MENU A DEKORATIVNÍ LIŠTA (max-width: 768px) ---------- */
@media (max-width: 768px) {
	
  .decorative-strip {
    margin-top: 56px; /* Menší odsazení pro mobilní menu */
    height: 30px;     /* Menší výška na mobilu */
  }
}

/* ---------- MOBILNÍ SLIDER – POSUN INDIKÁTORŮ (max-width: 767.98px) ---------- */
@media (max-width: 767.98px) {
	
  h2.slider-title {
    font-size: 1.8rem !important;
    line-height: 1.2;
  }	
  h3.slider-title{
    font-size: 1.3rem !important;
    line-height: 1.2;
  }	
  .carousel-indicators {
    margin-top: 5rem; /* Posun indikátorů níž, aby nebyly u tlačítka */
  }
  .split-text .btn,
  .split-text .slider-btn {
    margin-bottom: 3rem;
  }
}



/* ---------- RESPONSIVITA PRO EXTERNÍ ODKAZY (příklad, není v media query) ---------- */
/* 
width: 10px;
height: 10px;
background-size: 10px 10px;
margin-right: 3px;
*/

/* ---------- RESPONSIVITA PRO TEXT (max-width: 576px) ---------- */
@media (max-width: 576px) {
  p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Menu – menší font a padding odkazů */
  .menu-navbar .navbar-nav .nav-link {
    font-size: 14px;
    padding: 0.5rem 1rem;
  }

  /* Logo v menu – různé výšky podle breakpointů */
  .menu-navbar .navbar-brand img {
    height: 28px;
  }
  .menu-navbar .navbar-brand img {
    height: 32px;
  }
  .menu-navbar .navbar-brand img {
    height: 24px;
  }

  /* Menu – ještě menší font */
  .menu-navbar .navbar-nav .nav-link {
    font-size: 13px;
  }
}

/* ---------- RESPONSIVITA PRO COUNTER ---------- */
@media (max-width: 767px) {
  .counter-section .row,
  .counter-section .container,
  .counter-section {
    justify-content: center !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .counter-section .col-md-6 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    margin: 0 auto;
  }
  .certificate-counter {
    margin: 0 auto !important;
    text-align: center !important;
  }
}
/* ---------- RESPONSIVITA PRO SLIDER ---------- */
@media (max-width: 1024px) {
  /* 1) Obrázek omezen na width & height a menší padding */
  .split-img img {
    max-width: 100% !important;
    /* max-height: 180px !important; */
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
  }
  .split-img {
    padding: 12px 0 12px 0 !important;
  }
  .split-text {
    padding: 12px 0 24px 0 !important;
  }

  /* 2) Menší odsazení slideru odshora a zdola */
  .pt-slider {
    padding-top: 4em !important;
    padding-bottom: 0 !important;
  }

  /* 3) Slider-řádek převést na sloupcový režim (obrázek nahoře, text pod ním) */
  .carousel-item .row {
    flex-direction: column !important;
    margin: 0 !important;
  }
  .split-img, .split-text {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 4) Menší písmo v textové části slideru */
  .slider-title {
    font-size: 1.4rem !important;
  }
  .split-text p {
    font-size: 1.1rem !important;
  }

  /* 5) Přizpůsobení indikátorů slideru (volitelné) */
  .carousel-indicators {
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* Úprava pro přesně 768px pokud je potřeba doladit */
@media (max-width: 768px) {
  .split-img img {
    max-height: 65% !important;
  }
  .slider-title {
    font-size: 1.6rem !important;
  }
  .split-text p {
    font-size: 1rem !important;
  }
}

/* ===== Post detail – GALERIE (JS masonry) ===== */
.post-gallery{
  max-width: 960px;           /* podobné .col-md-10 */
  margin: 0 auto 2rem;
}

/* Kontejner pro absolutní skládání (můžeš mít víc galerií na stránce) */
.post-gallery-masonry{
  position: relative;
}

/* Položka – pozici řídí JS přes transform */
.post-gallery-item{
  position: absolute;
  will-change: transform, width;
  transition: transform .25s ease;
}

/* Vzhled náhledů */
.post-gallery-link{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.post-gallery-photo{
  display: block;
  width: 100%;
  height: auto;
}


