:root {
  --primary: #183f8c;
  --secondary: #f1b723;
  --dark: #1f2937;
  --black: #000;
  --white: #fff;
  --danger: #d43b34;
}

@font-face {
  font-family: "Gopher-Bold";
  src: url("../fonts/Gopher-Bold.ttf");
}
@font-face {
  font-family: "Gopher-Medium";
  src: url("../fonts/Gopher-Medium.ttf");
}
@font-face {
  font-family: "Gopher-Regular";
  src: url("../fonts/Gopher-Regular.ttf");
}
html {
  scroll-behavior: smooth;
}

body {
  color: #2f3f4e;
  font-family: "Montserrat", sans-serif;
}

.gopher-bold {
  font-family: "Gopher-Bold";
}

.gopher-medium {
  font-family: "Gopher-Medium";
}

.gopher-regular {
  font-family: "Gopher-Regular";
}

.montserrat-ff {
  font-family: "Montserrat", sans-serif;
}

.MHHS {
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 110px);
}
.MHHS .main-title .main-title-first {
  display: block;
  /* 16vw makes the 5-letter word take up roughly 80% of the screen width */
  font-size: 16vw;
  line-height: 1;
}
@media (min-width: 768px) {
  .MHHS .main-title .main-title-first {
    font-size: 140px;
    line-height: 140px;
  }
}
@media (min-width: 1024px) {
  .MHHS .main-title .main-title-first {
    font-size: 160px;
    line-height: 160px;
  }
}
.MHHS .main-title .main-title-second {
  display: block;
  line-height: 0.85;
  /* Scaled proportionally for mobile */
  font-size: 9.5vw;
}
@media (min-width: 768px) {
  .MHHS .main-title .main-title-second {
    font-size: 85px !important;
  }
}
.MHHS .btn-styles {
  font-size: 20px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  padding: 22px 35px;
  border-radius: 5px;
  text-align: center;
}
.MHHS .btn-styles .text {
  min-width: 245px;
}
.MHHS .btn-styles .icon-arrow {
  font-size: 24px;
  padding-top: 5px;
  display: inline-block;
  vertical-align: top;
}
@media (max-width: 640px) {
  .MHHS .btn-styles .icon-arrow {
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  .MHHS .btn-styles {
    padding: 20px 32px;
  }
}
@media (max-width: 640px) {
  .MHHS .btn-styles {
    padding: 20px;
    width: 100%;
    font-size: 16px;
  }
}

.OVHS .img-style {
  height: 90px;
  width: 90px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-inline: auto;
}
@media (max-width: 640px) {
  .OVHS .img-style {
    height: 50px;
    width: 50px;
  }
}
.OVHS .text-style {
  font-size: 16px;
  font-family: "Gopher-Medium";
  font-weight: 500;
  color: var(--primary);
  padding-top: 20px;
}
@media (min-width: 768px) {
  .OVHS .text-style {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .OVHS .text-style {
    font-size: 14px;
  }
}

.WWCS .section-subtitle {
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
  max-width: 1350px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .WWCS .section-subtitle {
    font-size: 16px;
  }
}
.WWCS .item-card {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
}
.WWCS .item-card .item-number {
  font-size: 40px;
  color: var(--secondary);
  font-family: "Gopher-Bold";
  font-weight: 700;
  margin-bottom: 15px;
}
.WWCS .item-card .content {
  display: block;
  min-height: 260px;
}
.WWCS .item-card .content .item-title {
  font-size: 22px;
  color: var(--primary);
  font-family: "Gopher-Bold";
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  min-height: 60px;
}
@media (max-width: 1024px) {
  .WWCS .item-card .content .item-title {
    min-height: auto;
  }
}
.WWCS .item-card .content .item-list {
  list-style: disc;
  padding: 0;
  margin: 0;
  padding-left: 20px;
}
.WWCS .item-card .content .item-list li {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--dark);
  line-height: 1.5;
}
.WWCS .item-card .content .item-text {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--dark);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .WWCS .item-card .content {
    min-height: auto;
  }
}
.WWCS .item-card .item-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--dark);
  font-size: 18px;
  font-weight: 400;
  margin-top: 25px;
  text-decoration: none;
  transition: color 0.3s;
  font-family: "Montserrat", sans-serif;
}
.WWCS .item-card .item-link .inner-text {
  min-width: 51px;
}
.WWCS .item-card .item-link .text-hover {
  display: none;
}
.WWCS .item-card .item-link i {
  margin-left: 8px;
  font-size: 25px;
  color: var(--secondary);
  transition: transform 0.8s cubic-bezier(0.34, 2.5, 0.64, 1);
  transform-style: preserve-3d;
}
.WWCS .item-card .more-content {
  min-height: 260px;
  display: none;
}
.WWCS .item-card .more-content .item-para {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
}
@media (max-width: 768px) {
  .WWCS .item-card .more-content {
    min-height: auto;
  }
}
.WWCS .item-card.is-active .content {
  display: none;
}
.WWCS .item-card.is-active .more-content {
  display: block;
}
.WWCS .item-card.is-active .item-link .text-default {
  display: none;
}
.WWCS .item-card.is-active .item-link .text-hover {
  display: inline;
}
.WWCS .item-card.is-active .item-link i {
  transform: rotateY(180deg);
}
@media (min-width: 1024px) {
  .WWCS .item-card:hover .content {
    display: none;
  }
  .WWCS .item-card:hover .more-content {
    display: block;
  }
  .WWCS .item-card:hover .item-link .text-default {
    display: none;
  }
  .WWCS .item-card:hover .item-link .text-hover {
    display: inline;
  }
  .WWCS .item-card:hover .item-link i {
    transform: rotateY(180deg);
  }
}

.CHPS .section-subtitle {
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
  max-width: 1350px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .CHPS .section-subtitle {
    font-size: 16px;
  }
}
.CHPS .candidate-card {
  display: block;
  background-color: var(--primary);
  text-decoration: none;
  margin-inline: 10px;
}
@media (max-width: 640px) {
  .CHPS .candidate-card {
    margin-inline: 0px;
  }
}
.CHPS .candidate-card .img-wrapper {
  width: 100%;
  overflow: hidden;
}
.CHPS .candidate-card .img-wrapper img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.5s ease;
  display: block;
}
.CHPS .candidate-card .content {
  padding: 20px 25px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.CHPS .candidate-card .content .name {
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 5px 0;
  line-height: 25px;
}
@media (max-width: 1280px) {
  .CHPS .candidate-card .content .name {
    font-size: 17px;
    line-height: 22px;
  }
}
.CHPS .candidate-card .content .role {
  color: var(--secondary);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.CHPS .candidate-card .content .arrow {
  color: var(--white);
  font-size: 16px;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

@media (min-width: 1536px) {
  .FOJS .container {
    max-width: 1250px;
  }
}

@media (min-width: 1536px) {
  .CSHP .container {
    max-width: 1250px;
  }
}
.CSHP .section-subtitle {
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
}
@media (max-width: 768px) {
  .CSHP .section-subtitle {
    font-size: 16px;
  }
}
.CSHP .text-style {
  font-size: 17px;
  color: var(--dark);
  line-height: 1.5;
}
.CSHP .btn-styles {
  font-size: 20px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  padding: 22px 35px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
}
.CSHP .contact-item {
  text-align: center;
}
@media (max-width: 1024px) {
  .CSHP .contact-item {
    text-align: start;
    display: flex;
    align-items: center;
  }
}
.CSHP .contact-item .icon {
  color: var(--primary);
  font-size: 25px;
  margin-bottom: 14px;
}
@media (max-width: 1024px) {
  .CSHP .contact-item .icon {
    margin-bottom: 0px;
    margin-right: 10px;
  }
}
@media (min-width: 768px) {
  .CSHP .contact-item .icon {
    font-size: 30px;
  }
}
.CSHP .contact-item .icon.fa-instagram {
  font-size: 30px;
}
@media (min-width: 768px) {
  .CSHP .contact-item .icon.fa-instagram {
    font-size: 35px;
  }
}
.CSHP .contact-item .link {
  font-size: 16px;
  color: var(--dark);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: color 0.15s ease-in-out;
  text-decoration: none;
}
@media (min-width: 768px) {
  .CSHP .contact-item .link {
    font-size: 20px;
  }
}
.CSHP .contact-item .link:hover {
  color: var(--primary);
}

footer .footer-link {
  color: var(--primary);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  transition: opacity 0.3s ease;
  text-decoration: none;
}
@media (min-width: 1280px) {
  footer .footer-link {
    font-size: 20px;
  }
}
footer .footer-link:hover {
  opacity: 0.8;
}
footer .footer-link.social {
  display: flex;
  align-items: center;
  gap: 25px;
}
footer .footer-link.social i {
  font-size: 15px;
}

/* ============================================================
   FIX: program cards must not "jump" on hover/expand.
   Stack .content and .more-content in the SAME grid cell so the
   card height is always max(content, more-content) and never
   changes when toggling. Toggle visibility/opacity, not display.
   ============================================================ */
.WWCS .item-card > div:first-child {
  display: grid;
  grid-template-columns: 1fr;
}
.WWCS .item-card > div:first-child > .item-number {
  grid-row: 1;
  grid-column: 1;
}
.WWCS .item-card > div:first-child > .content,
.WWCS .item-card > div:first-child > .more-content {
  grid-row: 2;
  grid-column: 1;
  transition: opacity 0.25s ease;
}
.WWCS .item-card .content {
  display: block !important;
  visibility: visible;
  opacity: 1;
}
.WWCS .item-card .more-content {
  display: block !important;
  visibility: hidden;
  opacity: 0;
}
.WWCS .item-card.is-active .content {
  visibility: hidden;
  opacity: 0;
}
.WWCS .item-card.is-active .more-content {
  visibility: visible;
  opacity: 1;
}
@media (min-width: 1024px) {
  .WWCS .item-card:hover .content {
    visibility: hidden;
    opacity: 0;
  }
  .WWCS .item-card:hover .more-content {
    visibility: visible;
    opacity: 1;
  }
}

/* ============================================================
   "Naše hodnoty" — value icons rendered via CSS mask so the icon
   AND its label can be tinted together. Default color stays the
   original (#003e8a icon / --primary label); highlight = #ffa900,
   with a slow, smooth fade. Respects prefers-reduced-motion.
   ============================================================ */
.OVHS .value-icon {
  display: block;
  height: 90px;
  width: 90px;
  margin-inline: auto;
  background-color: #003e8a;
  -webkit-mask: var(--val-icon) center / contain no-repeat;
          mask: var(--val-icon) center / contain no-repeat;
  transition: background-color 1.3s ease;
}
@media (max-width: 640px) {
  .OVHS .value-icon {
    height: 50px;
    width: 50px;
  }
}
.OVHS .value-item .text-style {
  transition: color 1.3s ease;
}
.OVHS .value-item.is-highlight .value-icon {
  background-color: #ffa900;
}
.OVHS .value-item.is-highlight .text-style {
  color: #ffa900;
}
@media (prefers-reduced-motion: reduce) {
  .OVHS .value-icon,
  .OVHS .value-item .text-style {
    transition: none;
  }
}
/*# sourceMappingURL=custom-styles.css.map */