/* ==========================================================================
   Auto-moto škola Mišák – Stylesheet
   ========================================================================== */

/* Local Montserrat variable fonts */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-italic-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-normal-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/Montserrat-100-900-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Design tokens */
:root {
  --color-background: #ffffff;
  --color-1: #e92123;
  --color-2: #363958;
  --color-3: #e8eafd;
  --color-4: #04082e;
  --color-5: #ffffff;
  --gradient-1: linear-gradient(90deg, #e92123 0%, #7c2588 100%);
  --gradient-2: linear-gradient(135deg, #e8eafc4d 0%, #e8eafc1a 100%);
  --shadow-soft: 0px 8px 32px 0px #d1d3e580;
  --shadow-hero: 0px 8px 32px 0px #d1d3e680;
  --section-max-width: 980px;
}

/* Base / Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  font-family: 'Montserrat', -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: var(--color-4);
  background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6, p, figure, dd, ol, ul {
  margin: 0;
}

dd, ol, ul {
  padding: 0;
  list-style: none;
}

a {
  font-family: 'Montserrat', -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5rem;
  text-decoration: none;
  color: var(--color-4);
  cursor: pointer;
  transition: inherit;
}

button {
  color: inherit;
  border-width: 0;
  font: inherit;
  padding: 0;
  cursor: pointer;
  background: initial;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip-path: none;
  background-color: #eee;
  color: #444;
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Container & Typography */
.wrapper {
  width: 100%;
  max-width: var(--section-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

.h-xl,
.h-l,
.h-m,
.h-s,
.h-xs,
.body-s {
  font-family: 'Montserrat', sans-serif;
}

.h-xl {
  font-size: 3rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--color-4);
}

.h-l {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--color-4);
}

.h-m {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 130%;
  color: var(--color-4);
}

.h-s {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.875rem;
  color: var(--color-4);
}

.h-xs {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5rem;
  color: var(--color-4);
}

.body-s {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.text-accent {
  color: var(--color-1);
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
}

.btn svg {
  fill: currentColor;
}

.btn-main {
  border: 2px solid var(--color-4);
  text-decoration: none;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  padding-top: 8px;
  padding-bottom: 8px;
  transition: all 0.3s ease-out;
}

.btn-main:hover {
  background-color: var(--color-4);
  color: var(--color-5);
}

.btn-tert {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  column-gap: 8px;
  transition: all 150ms ease-out;
}

.btn-tert svg {
  height: 24px;
  width: 24px;
  fill: currentColor;
}

.btn-tert:hover {
  color: var(--color-1);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
}

/* Frosted glass on pseudo-element so fixed mobile drawer isn't trapped by backdrop-filter containing block */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #e8eafd80;
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
  z-index: -1;
}

.site-header__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  object-position: center left;
  transition: transform 0.5s;
}

.site-logo-link:hover .site-logo,
.site-logo-link:focus-visible .site-logo {
  transform: scale(0.9);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-drawer,
.nav-content {
  display: flex;
  align-items: center;
}

.nav-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-items li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-items a,
.nav-item {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 3px;
  text-decoration: none;
}

.nav-header {
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 8px 0;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
  z-index: 999;
}

/* Hamburger & Close controls */
.nav-toggle {
  display: none;
  cursor: pointer;
  height: 48px;
  width: 48px;
  position: relative;
  z-index: 103;
  transition: 0.4s cubic-bezier(0, 0, 0, 1);
}

.nav-toggle .line {
  position: absolute;
  left: 8px;
  width: 36px;
  height: 3px;
  background: currentColor;
  transition: all 0.2s cubic-bezier(0, 0, 0, 1) 0s;
}

.nav-toggle .line:nth-child(1) {
  top: 13px;
}

.nav-toggle .line:nth-child(2) {
  top: 23px;
}

.nav-toggle .line:nth-child(3) {
  top: 33px;
}

.nav-toggle.is-active {
  transform: rotate(90deg);
}

.nav-toggle.is-active .line:nth-child(1) {
  transform: rotate(45deg) translate(7.07px, 7.07px);
}

.nav-toggle.is-active .line:nth-child(2) {
  transform: scaleX(0);
}

.nav-toggle.is-active .line:nth-child(3) {
  transform: rotate(-45deg) translate(7.07px, -7.07px);
}

.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-4);
}

.nav-close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media screen and (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    width: 400px;
    max-width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  }

  .nav-header {
    display: flex;
  }

  .nav-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .nav-items {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
  }

  .nav-items li {
    width: 100%;
  }

  .nav-items a,
  .nav-item {
    width: 100%;
    line-height: 1.5rem;
    padding-bottom: 0;
  }

  .site-nav.is-open .nav-drawer {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav.is-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background-image: var(--gradient-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 540px;
  width: 100%;
}

.hero__image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  right: 0;
  margin-top: auto;
  margin-bottom: auto;
  max-height: 100%;
  width: 60%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center left;
  transition: all 1s ease-out;
}

.hero__container {
  width: 100%;
  max-width: var(--section-max-width);
}

.hero__card {
  background-color: #f3f5fe;
  box-shadow: var(--shadow-hero);
  z-index: 150;
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 20px;
}

.hero__title {
  color: var(--color-4);
  margin-bottom: 16px;
}

.hero__text {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

@media screen and (max-width: 992px) {
  .hero {
    min-height: 380px;
  }

  .hero__image {
    left: 25%;
    width: 85%;
  }

  .hero__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  .h-xl {
    font-size: 2.5rem;
  }

  .hero {
    justify-content: flex-end;
    min-height: 420px;
  }

  .hero__image {
    left: 0;
    position: relative;
    width: 100%;
    aspect-ratio: auto;
  }

  .hero__container {
    position: relative;
    bottom: 30px;
    width: 100%;
  }

  .hero__card {
    max-width: 100%;
  }
}

/* ==========================================================================
   Voucher Section ("Darčeková poukážka")
   ========================================================================== */
.voucher {
  background-color: var(--color-5);
  margin-top: 88px;
  margin-bottom: 88px;
}

.voucher__image {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

.voucher__title {
  margin-top: 48px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Courses Alternating Section
   ========================================================================== */
.courses {
  margin-top: 88px;
  margin-bottom: 88px;
}

.courses__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}

.course-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 1;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.course-image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-grow: 1;
  flex-shrink: 2;
  width: 100%;
  max-width: 540px;
  min-width: 300px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.course-image--top {
  top: 40px;
  right: 20px;
}

.course-image--bottom {
  bottom: 40px;
  left: 20px;
}

.course-text {
  flex-shrink: 1;
  max-width: 380px;
  min-width: 280px;
}

.course-text__title {
  margin-bottom: 8px;
}

@media screen and (max-width: 992px) {
  .course-row--b {
    justify-content: flex-start;
    flex-wrap: wrap-reverse;
  }

  .course-image--top {
    margin-right: 20px;
  }

  .course-row--moto {
    justify-content: flex-end;
    flex-wrap: wrap-reverse;
  }

  .course-text--moto {
    text-align: right;
  }

  .course-image--bottom {
    margin-left: 20px;
  }
}

@media screen and (max-width: 576px) {
  .courses__wrapper {
    align-items: center;
    justify-content: flex-start;
  }

  .course-image {
    min-width: 150px;
    max-width: calc(100% - 20px);
  }

  .course-image--top {
    right: 10px;
    margin-right: 0;
  }

  .course-image--bottom {
    left: 10px;
    margin-left: 0;
  }

  .course-text--b,
  .course-text--moto {
    text-align: center;
  }
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background-image: url('../images/CTA-photo.webp');
  background-color: var(--color-2);
  background-size: cover;
  background-position: 50% 50%;
  margin-bottom: 88px;
}

.cta-banner__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-banner__content {
  max-width: 378px;
}

.cta-banner__title {
  color: var(--color-5);
  margin-bottom: 16px;
}

.cta-banner__btn {
  border-color: var(--color-5);
  color: var(--color-5);
}

.cta-banner__btn:hover {
  background-color: var(--color-5);
  color: var(--color-4);
}

/* ==========================================================================
   Gallery Section ("Naše vozidlá")
   ========================================================================== */
.fleet {
  margin-top: 88px;
  margin-bottom: 88px;
}

.fleet__title {
  margin-bottom: 8px;
}

.fleet__subtitle {
  margin-bottom: 32px;
}

.gallery-masonry {
  display: grid;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  display: flex;
  height: fit-content;
  position: relative;
  margin: 0;
  overflow: hidden;
}

.gallery-card__frame {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}

.gallery-card__link {
  display: flex;
  height: 100%;
  width: 100%;
}

.gallery-card__img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ==========================================================================
   Lightbox Dialog
   ========================================================================== */
.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  color: #ffffff;
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 48px 64px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox__btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 576px) {
  .lightbox__stage {
    padding: 56px 16px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }
}

/* ==========================================================================
   Footer ("Kontakt")
   ========================================================================== */
.site-footer {
  background-image: var(--gradient-1);
}

.site-footer__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 56px;
  padding-bottom: 56px;
}

.site-footer__title {
  color: var(--color-5);
  margin-bottom: 8px;
}

.site-footer__subtitle {
  color: var(--color-5);
  margin-bottom: 16px;
}

.contact-list {
  color: var(--color-5);
}

.contact-list li {
  display: flex;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  break-inside: avoid;
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.contact-list__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-list a {
  color: var(--color-5);
  font-size: 1rem;
  line-height: 1.25rem;
}


/* ==========================================================================
   Kurzy Page ("kurzy.html")
   ========================================================================== */
.courses-page {
  background-image: var(--gradient-2);
}

.courses-page__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.courses-page__intro {
  text-align: center;
  margin-bottom: 16px;
  max-width: 620px;
}

.course-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-around;
  gap: 20px;
  width: 100%;
}

.course-card {
  background-image: var(--gradient-2);
  border: 0.5px solid var(--color-5);
  box-shadow: var(--shadow-soft);
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: calc(33% - 24px);
  padding: 30px 20px;
}

.course-card--full {
  flex-basis: 100%;
}

.course-card--moto {
  padding-top: 54px;
}

.course-card__title {
  margin-bottom: 24px;
}

.course-card__price {
  margin-bottom: 4px;
}

.course-card__subprice {
  margin-top: 16px;
}

.course-card__subtitle {
  margin-bottom: 12px;
}

.course-bullets {
  list-style-type: disc;
  list-style-position: inside;
}

.course-bullets li {
  padding-top: 8px;
  padding-bottom: 8px;
}

.course-border {
  border-top: 0.5px solid var(--color-5);
  padding-top: 24px;
}

.course-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.course-other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.courses-extra {
  margin-top: 64px;
  max-width: 620px;
  width: 100%;
}

.courses-extra__title {
  margin-bottom: 24px;
}

.courses-extra__group-title {
  margin-top: 24px;
}

.courses-extra__fee {
  margin-top: 8px;
}

.courses-extra__info-title {
  margin-top: 48px;
  margin-bottom: 24px;
}

.courses-extra__info-text {
  text-align: left;
  margin-bottom: 16px;
  max-width: 620px;
}

.courses-extra__info-text p + p {
  margin-top: 1.5rem;
}

/* WYSIWYG content inside Kurzy ACF cards & sections */
.course-card--main h2,
.course-card--main h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.875rem;
  color: var(--color-4);
  margin-bottom: 24px;
}

.course-card--main p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-bottom: 4px;
}

.course-card--main ul,
.course-subgrid .course-border ul,
.course-other-grid .course-border ul {
  list-style-type: disc;
  list-style-position: inside;
}

.course-card--main li,
.course-subgrid .course-border li,
.course-other-grid .course-border li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  padding-top: 8px;
  padding-bottom: 8px;
}

.course-subgrid .course-border h3,
.course-subgrid .course-border h4,
.course-other-grid .course-border h3,
.course-other-grid .course-border h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5rem;
  color: var(--color-4);
  margin-bottom: 12px;
}

.course-other-grid .course-border h3,
.course-other-grid .course-border h4 {
  margin-bottom: 0;
}

.course-subgrid .course-border p,
.course-other-grid .course-border p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-top: 16px;
}

.courses-extra__wysiwyg h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--color-4);
  margin-bottom: 24px;
}

.courses-extra__wysiwyg h2 ~ h2 {
  margin-top: 48px;
}

.courses-extra__wysiwyg h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5rem;
  color: var(--color-4);
  margin-top: 24px;
}

.courses-extra__wysiwyg h2 + h3 {
  margin-top: 0;
}

.courses-extra__wysiwyg h3 ~ p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-top: 8px;
}

.courses-extra__wysiwyg h2 ~ h2 ~ p {
  font-size: 1.125rem;
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.courses-extra__wysiwyg h2 ~ h2 + p {
  margin-top: 0;
}

.installments__wysiwyg h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 130%;
  color: var(--color-4);
  margin-bottom: 8px;
}

.installments__wysiwyg p {
  margin-bottom: 32px;
}

.installments__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 88px;
  padding-bottom: 88px;
}

.installments__content {
  max-width: 620px;
}

.installments__title {
  margin-bottom: 8px;
}

.installments__text {
  margin-bottom: 32px;
}

@media screen and (max-width: 992px) {
  .course-subgrid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .course-card {
    flex-basis: 100%;
  }

  .course-other-grid {
    grid-template-columns: 1fr;
  }

  .installments__wrapper {
    flex-wrap: wrap-reverse;
    justify-content: center;
  }

  .installments__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .installments__icon {
    margin-bottom: 32px;
  }
}

/* ==========================================================================
   Tlačivá Page ("tlaciva.html")
   ========================================================================== */
.forms-section {
  background-image: var(--gradient-2);
}

.forms-section__wrapper {
  padding-top: 80px;
  padding-bottom: 80px;
}

.forms-section__title {
  margin-bottom: 24px;
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.forms-grid__heading {
  margin-bottom: 16px;
}

.forms-step {
  margin-bottom: 8px;
}

.download-card {
  border: 0.5px solid var(--color-5);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px;
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
}

.download-card:hover > *,
.download-card:hover > * svg {
  color: var(--color-1);
}

.download-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s;
}

.download-card:hover .download-card__icon,
.download-card__icon:hover {
  transform: scale(1.1);
}

.download-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media screen and (max-width: 576px) {
  .forms-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Kontakt Page ("kontakt.html")
   ========================================================================== */
.contact-grid {
  margin-top: 80px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-info__title {
  color: var(--color-4);
  margin-bottom: 16px;
}

.contact-list--dark,
.contact-list--dark a {
  color: var(--color-4);
}

.contact-list--dark li:hover a {
  color: var(--color-1);
}

.contact-photo {
  width: 100%;
  max-width: 540px;
  min-width: 300px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.map-section {
  position: relative;
}

.map-section::before {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: #e8eafc66;
  z-index: 400;
  mix-blend-mode: color;
}

.map-section__wrapper {
  height: 386px;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 576px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    min-width: 150px;
  }
}


/* ==========================================================================
   WordPress Theme Additions (Admin Bar & Hero ACF WYSIWYG)
   ========================================================================== */
.admin-bar .site-header {
  top: 32px;
}

.admin-bar .nav-drawer {
  padding-top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .nav-drawer {
    padding-top: 46px;
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }

  .admin-bar .nav-drawer {
    padding-top: 0;
  }
}

.hero__wysiwyg h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--color-4);
  margin-bottom: 16px;
}

.hero__wysiwyg h2,
.hero__wysiwyg h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 120%;
  color: var(--color-4);
  margin-bottom: 16px;
}

.hero__wysiwyg p {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-bottom: 16px;
}

@media screen and (max-width: 576px) {
  .hero__wysiwyg h1 {
    font-size: 2.5rem;
  }
}
