*,
*::before,
*::after {
  box-sizing: border-box;
}


.podstranka_cenik{
  background-color: #1c345a;
  padding: 37px 0;
  color: white;
}

.podstranka_cenik h3{
  text-align: center;
  font-size: 30px;
}


/* .podstranka_cenik::after{
  display: none;
} */

@media only screen and (min-width: 576px) {
  #adviser .left {
    flex: 0 1 72%;
    font-size: 16px;
}

  #adviser .left p{
    margin-bottom: 7px;
}

}


#adviser .left ul{
  padding-left: 14px;
}

.podstranka_obsah::after {
  display: none;
}

.podstranka_galerie{
 margin-bottom: 40px;
}

.podstranka_galerie .container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


@media screen and (max-width: 768px) {
    .podstranka_galerie .container{
        grid-template-columns: 1fr ;
        padding: 0 20px;
    }
    .podstranka_obsah {
        padding: 24px 0 !important;
    }
  }

.podstranka_galerie .container img{
    width: 100%;
}

#contact.banner {
  background-color: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#contact.banner > div {
  margin: 0;
}

@media screen and (max-width: 1025px) {
  #contact.banner {
    flex-direction: column;
    gap: 25px;
  }
}

#contact .right {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (min-width: 1200px) {
  #contact .right > div:nth-child(2) {
    width: 446px;
  }
}

@media screen and (max-width: 1200px) {
  #contact .right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
  }

  #contact {
    padding: 75px 20px;
  }
}

@media only screen and (min-width: 576px) {
  #contact .socials {
    padding-left: 0;
    margin-top: 20px;
  }
}

#contact .address {
  padding: 0;
}

/* ROZDELOVNIK */
#consult h2 {
  font-size: 2rem;
}

#consult > .container {
  margin-top: 50px;
  margin-bottom: 70px;
}

#rozdelovnik {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* Modified code: changed from 4 to 2 columns */
  gap: 20px;
  margin: 20px 0;
}

#rozdelovnik a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

#rozdelovnik a:hover {f
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#rozdelovnik h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: white;
  background: #1c345a;
  padding: 9px 30px;
}

#rozdelovnik .vice {
  display: inline-block;
  font-weight: bold;
  font-size: 15px;
  padding: 10px;
  color: #1c345a;
  border: 1px solid #1c345a;
  padding: 4px 20px;
  transition: background-color 0.2s, color 0.2s;
  float: right;
  margin: 20px;
  margin-top: -4px;
  border-radius: 1000px;
}

#rozdelovnik a:hover .vice {
  background-color: #1c345a;
  color: white;
}

.tagy {
  padding: 0px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 16px 0px;
  margin-bottom: 0;
}

.tagy span {
  background-color: #f1f1f1;
  border-radius: 1000px;
  padding: 5px 10px;
  font-size: 15px;
  line-height: 1;
}

@media screen and (max-width: 1200px) {
  #rozdelovnik .vice {
    float: unset;
    margin-top: 20px;
  }

  #rozdelovnik h3 {
    min-height: 58px;
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  #rozdelovnik {
    grid-template-columns: repeat(1, 1fr);
  }

  #consult .container {
    padding: 0 20px;
  }
}

@media only screen and (min-width: 768px) {
  #consult .banner-wrapper {
    margin-bottom: 58px;
  }
}

#consult .banner-wrapper {
  background-color: #1c345a;
}

@media only screen and (min-width: 1200px) {
  #consult {
    padding: 0;
  }

  #rozdelovnik {
    gap: 42px;
  }
}

/* */
/* NAVBAR */
/* Navbar styles */
.navbar {
  overflow: hidden;
}

.navbar .container {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 14px 20px;
}

.nav-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-list li {
  padding: 8px 16px;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400; /* Ensure a default font weight */
  transition: font-weight 0.2s, transform 0.2s; /* Add transition for smooth change */
}

.nav-list li a.active {
  font-weight: 600; /* Ensure a default font weight */
  border-bottom: 1px solid white;
}

.nav-list li {
  transition: font-weight 0.2s, transform 0.2s; /* Add transition for smooth change */
}

.nav-list li:hover {
  transform: scale(1.1); /* Slightly scale up the text to avoid shifting */
  font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
  z-index: 99;
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute; /* Added position absolute */
  top: 20px; /* Adjust as needed */
  right: 20px; /* Adjust as needed */
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 3px 0;
  transition: 0.4s;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
  .index #header .right {
    display: none;
  }

  .index #header .left h1 {
    margin-top: 21px;
  }

  #adviser .right {
    display: none;
  }

  #adviser .left {
    flex: 0 1 100%;
  }
}

@media screen and (max-width: 993px) {
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100vh; /* Full height */
    position: fixed; /* Fixed position */
    top: 0;
    left: 0;
    background-color: #6a0e49; /* Same background color as navbar */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    z-index: 98; /* Ensure it is below the menu toggle */
  }

  .nav-list.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .index #header .right {
    display: none;
  }

  .index #header .left h1 {
    margin-top: 0;
  }
}

@media screen and (min-width: 993px) {
  .navbar .container {
    justify-content: start;
    padding: 0;
    padding-top: 20px;
  }

  .index #header .right .ravypa .bg-image-holder {
    top: -71px;
  }

  .nav-list {
    margin-left: -10px;
  }
}

.index #header .right .ravypa .bg-image-holder {
  width: 90%;
  right: 0;
  left: unset;
}

/* PODSTRANKY */
.podstranka_obsah {
  padding: 27px 0;
}

@media only screen and (min-width: 992px) {
  .podstranka_obsah h2 {
    font-size: 2em;
    max-width: 600px;
  }
}

@media only screen and (max-width: 992px) {
  .podstranka_obsah h2 {
    font-size: 1.5em;
  }
}

.rozdelovnik > h3 {
  text-align: center;
  color: #1c345a;
  font-size: 20px;
  max-width: 509px;
  margin: 0 auto;
  margin-bottom: 24px;
}

body.podstranka .tagy {
  margin: 0;
  padding: 0;
  gap: 7px;
}

body.podstranka .tagy span {
  background-color: #f1f1f14a;
}

body.podstranka #header .motto {
  padding: 15px 0;
}

.podstranka_obsah .podnadpis {
  line-height: 1.5;
  display: block;
  font-size: 22px;
  margin-bottom: 20px;
}

@media only screen and (max-width: 992px) {
  .podstranka_obsah .podnadpis {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1200px) {
  .index #header .title {
    padding-bottom: 0;
  }

  #adviser .right {
    display: flex;
    align-items: center;
    justify-content: end;
  }

  #adviser .right img {
    width: 90%;
    height: 590px;
    border-radius: 20px;
    object-fit: cover;
  }

  .container.rozdelovnik {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media only screen and (min-width: 768px) {
  .podstranka #header .left {
    align-items: center;
    display: flex;
  }

  .podstranka #header .left h1 {
    margin-top: 23px;
  }
}

@media only screen and (min-width: 768px) {
  .podstranka.workshopy #header .left h1 {
    margin-top: 23px;
    margin-bottom: 20px;
    font-size: 47px;
  }
}

.podstranka.onemocneni #adviser::after {
  display: none;
}

@media only screen and (max-width: 768px) {
  .podstranka #adviser {
    padding: 60px 30px;
  }

  section::after {
    display: none;
  }
}


.nav-list.active {
  z-index: 99;
}

@media only screen and (max-width: 768px) {
  .navbar {
    min-height: 55px;
    margin-bottom: 20px;
  }

  .menu-toggle {
    top: 15px;
    right: 15px;
  }

  .nav-list li {
    padding: 15px 16px;
  }

  .nav-list li a {
    font-size: 22px;
  }
}


#adviser::after{
display: none;
}

.certifikace {
      /* background-color: #1c345a;
      color: white; */
      padding: 40px 20px;
}

.certifikace strong{
    max-width: 760px;
    display: block;
}

