:root {
    --white: #FFF;
    --black: #000;
    --blue: #164194;
    --grey: #EFEFEF;
    --light-blue: #3FB5FF;
    --lightest-blue: #EEF7FF;

    --blue-rgb: 22, 65, 148;


    --blue-variant1: #258FFF;
    --blue-variant2: #4EA4FF;
    --blue-variant3: #68B1FF;
    --blue-variant4: #85C0FF;
    --blue-variant5: #91DAFF;
}

body {
    color: #000;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
}

img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Jost", sans-serif;
}

a {
    color: var(--light-blue);
}

.partners img {
    opacity: 0.8;
    transition: 0.3s;
    max-height: 75px;
}

.partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.carousel-caption {
    bottom: 13% !important;
}

.carousel_links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #292929;
    text-align: right;
    font-family: Jost;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid white;
    background: white;
    transition: background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.carousel_links a i,
.carousel_links a img {
    width: 1.5rem;
    height: auto;
    transition: filter 0.3s ease;
}

.carousel_links img {
    height: 25px;
    width: 30px;
    transition: filter 0.3s ease;
}

.carousel_links a:hover {
    background-color: var(--blue);
    color: white;
    border-color: var(--blue);
}

.carousel_links a:hover i,
.carousel_links a:hover img {
    filter: brightness(0) invert(1);
    /* makes black SVGs appear white */
}


.carousel-caption-text h1 {
    color: var(--white);
    font-family: Jost;
    font-size: 54px;
    font-style: normal;
    font-weight: 600;
    line-height: 64.8px;
}

.carousel-caption-text h2 {
    color: var(--white);
    font-family: Jost;
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 64.8px;
    margin-bottom: 0;
}

.carousel-control-prev {
    width: 9%;
}

.carousel-control-next {
    width: 9%;
}

.carousel .logo-container {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem 2.5rem;
    margin-right: 1rem;
}

.navbar .logo-container img {
    height: 66px;
    margin-right: 8px;
}

.carousel .logo-container img {
    width: 58px;
    height: 104px;
    flex-shrink: 1;
}

.school-legacy {
    background: linear-gradient(90deg,
            var(--white) 0%,
            rgba(255, 255, 255, 0.5) 100%),
        url("/assets/images/vera_caslavska.png") lightgray 50% / cover no-repeat;
    min-height: 514px;
}

.school-legacy h3 {
    color: #121212;
    text-align: center;
    font-family: Jost;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 72px;
    /* 180% */
}

.school-legacy p {
    color: #121212;
    text-align: justify;
    font-family: "Space Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 150% */
}

.contacts .map-container iframe {
    border-radius: 6px;
}

.contacts .map-container {
    height: 100%;
}


.contacts h3 {
    color: var(--blue);
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.contacts p {
    color: var(--black);
    font-family: "Space Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
}

.blue {
    color: var(--blue);
}

.bg-blue {
    background: var(--blue);
}

.bg-light-blue {
    background: var(--light-blue);
}

.blue-bold-text {
    color: var(--blue);
    font-weight: 700;
}

.light-blue {
    color: var(--light-blue);
}

.light-blue-box {
    background: var(--lightest-blue);
    border-radius: 12px;
    padding: 2rem;
}

.light-blue-box:nth-child(1) {
    margin-bottom: 2rem;
}

.badge {
    min-width: 64px;
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    margin-right: 0.5rem;
}

.badge i {
    margin-right: 0.25rem;
}

.badge-blue {
    background: var(--light-blue);
}

.info-box {
    border-radius: 1rem;
    background-color: var(--white);
    padding: 2rem;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.07));
    margin-bottom: 1.5rem;
}

.info-box-newsletter {

}

.info-box ol {
    list-style: auto;
}

.info-box__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.info-box h4 {
    margin-bottom: 0;
    font-size: 32px;
}

.section-main .heading {
    font-size: 40px;
    margin-bottom: 2rem;
}

.section-main__wrapper {
    padding: 0 2rem
}

.section-main__wrapper h1,
h2,
h3 {
    margin-bottom: 2rem;
}


.calendar-info-box {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.staff_member-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.staff-bio-wrapper h3, .staff-bio-wrapper h2 {
    font-size: 16px;
    margin-bottom: 0;
}

/* Animation */

.staff_member-item img {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
  }
  
  .staff_member-item:hover > img {
    border: 2px solid var(--light-blue);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  /* Modal */
  
  .custom-staff-modal {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: var(--lightest-blue);
  }
  
  .custom-staff-modal .modal-header {
    border-bottom: none;
  }
  
  .staff-photo-wrapper {
    background-color: var(--lightest-blue);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .staff-photo {
    max-width: 180px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 4px solid var(--light-blue);
  }
  
  .staff-name {
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 28px;
    margin: 1rem 0 0.25rem;
    color: var(--blue);
    text-align: center;
  }
  
  .staff-role {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--blue-variant2);
    margin: 0;
    text-align: center;
  }
  
  .staff-bio-wrapper {
    background-color: var(--lightest-blue);
    padding: 1rem 2rem 2rem 2rem;
    border-radius: 1rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--black);
    position: relative;
  }
  
  .staff-bio-wrapper::before {
    content: "“";
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 64px;
    color: var(--blue-variant2);
    opacity: 0.3;
    line-height: 1;
    pointer-events: none;
  }
  
  .staff-bio-wrapper p {
    margin: 0;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
  }
  
  
  

.staff_member-item h5 {
    font-style: normal;
    font-weight: 600;
}

.btn-grey {
    border-radius: 1rem;
    background: var(--grey);
    padding-left: 2rem;
    padding-right: 2rem;
}

.btn-blue {
    border-radius: 1rem;
    background: var(--blue);
    color: white;
    padding-left: 2rem;
    padding-right: 2rem;
}

.btn-light-blue {
    border-radius: 1rem;
    background: var(--light-blue);
    color: white;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-box {
    display: flex;
    align-items: start;
    padding: 2rem;
}


.navbar {
    padding: 0;
    background: transparent;
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.14));


}

.navbar-wrapper-bg {
    padding: 0.5rem 0;
    background-color: white;
    margin: 0;
    width: 100%;
}

.navbar-wrapper {
    display: flex;
}

.navbar-nav {
    align-items: flex-end;
}

*:focus-visible {
    outline: none;
}


.navbar-wrapper .navbar-nav .nav-link {
    border-bottom: 2px solid transparent;
    margin-right: 3rem;
    color: #121212;
    text-align: start;
    font-family: Jost;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.navbar-info {
    background-color: rgba(var(--blue-rgb), 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    color: white;
    text-align: center;
    padding: 0.5rem;
}

.dropdown-item {
    color: white;
    padding: 10px 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.2);
    /* subtle hover */
    color: white;
}


.nav-link.dropdown-toggle::after {
    display: none !important;
}

.nav-item--variant .dropdown-menu {
    color: #1e2125;
    background-color: var(--blue);
}

.nav-item--variant1 .dropdown-menu {
    color: #1e2125;
    background-color: var(--blue-variant1);
}

.nav-item--variant2 .dropdown-menu {
    color: #1e2125;
    background-color: var(--blue-variant2);
}

.nav-item--variant3 .dropdown-menu {
    color: #1e2125;
    background-color: var(--blue-variant3);
}

.nav-item--variant4 .dropdown-menu {
    color: #1e2125;
    background-color: var(--blue-variant4);
}

.nav-item--variant5 .dropdown-menu {
    color: #1e2125;
    background-color: var(--blue-variant5);
}

.li-blue a {
    color: var(--light-blue) !important;
}

.a-blue {
    color: var(--light-blue) !important;
}

.nav-item .dropdown-menu {
    min-width: 100%;
    border-radius: 0 !important;
    padding: 0;
    background-color: var(--blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    width: 100%;
    background-color: transparent;
    display: block;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    background-color: var(--blue);
}


/* Optional: Rotate arrow on open (add JavaScript if needed) */
.rotate-icon {
    transition: transform 0.3s ease;
}

.dropdown .rotate-icon {
    transform: rotate(90deg);
    /* rotate when dropdown is open */
}

.show .rotate-icon {
    transform: rotate(270deg);
    /* rotate when dropdown is open */
}

.nav-link--highlight {
    border-bottom: 2px solid var(--light-blue) !important;
}

.sidebar {
    font-family: Jost;
    margin-right: 2rem;
}

.sidebar-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
}

.sidebar-dropdown-dashed {
    border-style: dashed;
}


.sidebar-dropdown .rotate-icon {
    font-size: 14px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    transform: rotate(90deg);
}

/* Initially hide children */
.sidebar-children {
    display: none;
    padding-left: 1rem;
    margin-left: 0 !important;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
}

/* Show children when dropdown is toggled open */
.sidebar-dropdown.active+.sidebar-children {
    display: block;
}

.sidebar-dropdown.active .rotate-icon {
    transform: rotate(270deg);
}

.sidebar-children a {
    font-size: 16px;
    font-weight: 500;
    color: black;
    text-decoration: none;
    display: block;
    margin: 0.25rem 0;
}

.sidebar h4 {
    width: fit-content;
    color: #121212;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-bottom: 2px solid var(--light-blue);
}

.sidebar a {
    text-decoration: none;
    display: block;
    margin: 0.25rem 0;
    font-weight: 500;
    color: #000;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* === Nested Dropdown Support === */

.dropdown-submenu {
    position: relative;
}

/* Base: hide by default */
.dropdown-submenu>.dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
    z-index: 1050;
    min-width: 200px;
    background-color: var(--blue);
    /* Optional: match theme */
}

/* Desktop hover: show submenu */
@media (hover: hover) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

/* JS toggle (mobile): show when .show is added */
.dropdown-submenu>.dropdown-menu.show {
    display: block;
}


.home-container {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    margin-right: 3rem;
    height: 100%;

}

.home-container img {
    height: 20px;
    margin-bottom: 3px;
}

.link-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.link-container a {
    color: white;
}

@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 690px;
    }
}

@media (min-width: 768px) {

    .container,
    .container-sm,
    .container-md {
        max-width: 920px;
    }
}

@media (min-width: 992px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: 1230px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1460px;
        /
    }
}

@media (min-width: 1400px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1690px;
    }
}

/* Calendar */

/* Container-scoped styling */
.calendar {
    /* optionally set font and layout defaults here */
}

.calendar .bg-light-blue {
    background-color: var(--light-blue) !important;
}

.calendar .badge-blue {
    background-color: var(--light-blue) !important;
}

/* Typography and spacing */
.calendar .text-sm {
    font-size: 0.875rem;
}

.calendar .text-xl {
    font-size: 1.25rem;
}

.calendar .font-medium {
    font-weight: 500;
}

.calendar .font-semibold {
    font-weight: 600;
}

.calendar .font-bold {
    font-weight: 700;
}

.calendar .text-center {
    text-align: center;
}

.calendar .text-left {
    text-align: left;
}

.calendar .text-white {
    color: #fff;
}

.calendar .mb-0 {
    margin-bottom: 0;
}

.calendar .mb-2 {
    margin-bottom: 0.5rem;
}

.calendar .mb-3 {
    margin-bottom: 0.75rem;
}

.calendar .mb-4 {
    margin-bottom: 1rem;
}

.calendar .mb-6 {
    margin-bottom: 1.5rem;
}

.calendar .mt-2 {
    margin-top: 0.5rem;
}

.calendar .my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Layout */
.calendar .max-w-md {
    max-width: 28rem;
}

.calendar .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.calendar .flex {
    display: flex;
}

.calendar .items-center {
    align-items: center;
}

.calendar .justify-center {
    justify-content: center;
}

.calendar .justify-between {
    justify-content: space-between;
}

.calendar .space-x-2>*+* {
    margin-left: 0.5rem;
}

.calendar .space-y-3>*+* {
    margin-top: 0.75rem;
}

/* Grid layout */
.calendar .grid {
    display: grid;
}

.calendar .grid-cols-7 {
    grid-template-columns: repeat(7, 1fr);
}

.calendar .gap-2 {
    gap: 0.5rem;
}

/* Sizing */
.calendar .w-8 {
    width: 2rem;
}

.calendar .h-8 {
    height: 2rem;
}

/* Borders and shapes */
.calendar .rounded-full {
    border-radius: 9999px;
}

.calendar .border {
    border-width: 1px;
    border-style: solid;
}

.calendar .border-black {
    border-color: black;
}

/* Custom colors */
.calendar .bg-light-blue {
    background-color: #3b82f6;
}

/* blue-500 */
.calendar .badge-blue {
    background-color: #3b82f6;
}

/* Reusable elements */
.calendar .badge {
    display: inline-block;
    padding: 0.25em 0.5em;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1;
}

.calendar .calendar-info-box {
    display: flex;
    align-items: center;
}

/* Responsivity */

@media (max-width: 1699px) {
    .section-main__start {
        display: none;
    }
    .col-section-main__end {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .carousel_links a {
        font-size: 16px;
    }

    .carousel-caption-text h1 {
        font-size: 44px;
    }

    .carousel-caption-text h2 {
        font-size: 32px;

    }
}

@media (max-width: 1549px) {
    .section-main .heading {
        font-size: 35px;
    }

    .school-legacy p {
        margin: 0 3rem;
    }
}

@media (max-width: 1350px) {
    .navbar-wrapper .navbar-nav .nav-link {
        font-size: 18px;
        margin-right: 2rem;
    }
    .carousel-caption-text h1 {
        font-size: 34px;
    }

    .carousel-caption-text h2 {
        font-size: 28px;
    }
}

.hamburger-logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1200px) {
    .hamburger-logo-container {
        width: 100%;
    }
    .section-main__end {
        margin-top: 1rem;
        padding: 0 2rem;
    }

    .col-section-main__end {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-section-main__end--component

    .navbar-wrapper {
        flex-direction: column;
    }

    .navbar-nav {
        align-items: flex-start;
    }
    .section-main__wrapper {
        margin-right: 0;
    }
    .carousel_links {
        display: none;
    }
    .carousel-caption {
        left: 0;
        margin-left: 2rem;
    }
    .carousel-control-prev {
        display: none;
    }
    .carousel-control-next {
        display: none;
    }
}

@media (min-width: 1200px) {
    #navbarNav {
        display: flex !important;
    }
}

@media (max-width: 1199.98px) {
    #navbarNav {
        display: none;
    }

    #navbarNav.show {
        display: flex !important;
        flex-direction: column;
    }
}


@media (min-width: 1200px) {
    .navbar-expand-xl {
        flex-wrap: wrap;
    }
}

.info-box__top  .datum-container {
    display: flex;
    align-items: center;
    padding-left: 3rem;
}

@media (max-width: 768px) {
    .newsletter-container {
        margin-top: 1rem;
    }
}


@media (max-width: 720px) { 
    .info-box__top { 
        display: unset;
    }
    .info-box__top .datum-container{ 
        margin: 0.5rem 0;
        padding-left: 0;
    }
    .carousel-caption-text h1 {
        font-size: 28px;
        line-height: normal;
    }

    .carousel-caption-text h2 {
        font-size: 24px;
        line-height: normal;
    }

    .carousel .logo-container {
        padding: 0.5rem 1.25rem;
    }
    .carousel .logo-container img {
        width: 100%;
        height: 66px;
    }
}

@media (max-width: 600px) {
    .carousel-caption-text h1 {
        font-size: 22px;
        line-height: normal;
    }
    .carousel-caption-text h2 {
        font-size: 18px;
        line-height: normal;
    }
}

@media (max-width: 450px) {
    .carousel .logo-container  {

        display: none;
    }
    .calendar-body {
        display: none;
    }
    .calendar-body-hr {
        display: none;
    }
    .cf-turnstile {
        transform: scale(0.8);   
        transform-origin: 0 0;
      }
}

@media (max-width: 370px) {
    .cf-turnstile {
        transform: scale(0.7);   
        transform-origin: 0 0;
      }
}

@media (max-width: 350px) {
    .cf-turnstile {
        transform: scale(0.6);   
        transform-origin: 0 0;
      }
}

#navbarNav {
    visibility: visible !important;
}

#navbarNav .nav-item {
    width: 100%;
}

#navbarNav .nav-item-home {
    padding: 1rem 0;
}

.staff_member-item-image {
    width: 120px; height: 120px; object-fit: cover; object-position: top;
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .staff_member-item-image {
        width: 100px; height: 100px;
    }
  }

@media (max-width: 1200px) {
    .navbar-collapse {
        position: fixed;                /* <-- this is the key */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
      
        background: white;
        z-index: 1050;
        padding: 100px 1rem 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: transform 0.3s ease-in-out;
        height: 100vh;
      
      }

      .navbar-collapse .navbar-nav {
        height: 100%;
      }
      
  
    body.menu-open {
      overflow: hidden;
    }
  
    body.menu-open .hamburger-logo-container {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: white;
      z-index: 1060;
      padding: 8px 12px;
      border-bottom: 1px solid #ccc;
    }
  }
  
  
  body.no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
  }
  
  .carousel-inner, .carousel-item, .carousel-item img {
    min-height: 300px;
  }
  .carousel-item img {
    object-fit: cover;
  }

  .section-main__wrapper ol, .section-main__wrapper ul, .section-main__wrapper menu{
    list-style: inherit;
  }
  

