#bg-desktop, #bg-mobile {
	display: none !important;
}

body {
    background-color: var(--wp--preset--color--very-light-blue) !important; 
    max-width: 100vw;
    overflow-x: hidden;
}

.hero {
    width: 100%;
    position: relative;
    padding-top:150px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
}

.hero .subheading {
    font-size: 19px;
    font-weight: 550;
}

.hero .hero-content {
    max-width: 1400px;
    margin-left: 3rem;
    margin-right: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 30px;
}

.hero .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 50px;
    max-height: 400px;
}

.hero .text-content {
    max-width: 100%;
    padding-bottom: 40px;
}

.hero img,
.hero picture {
    width: 100%;
    height: 100%;   /* Makes the image fill the height of the container */
    object-fit: cover; 
}

.hero svg {
    z-index: -1;
    display: block;  /* Removes any default inline spacing */
    width: 100%;  /* Stretches the SVG to cover the full container width */
    height: 100%;  /* Stretches the SVG to cover the full container height */
    position: absolute;  /* Positions SVG relative to its container */
    top: 0;
    left: 0;
}

.hero svg#bg-mobile {
    display: none;
}


#main-content {
    margin-top: 4rem;
    margin-bottom: 4rem;
    display: flex;
    gap: 30px;
}

main {
    min-width: 0px;
}

main .content {
    padding: 30px 40px;
    background-color: white;
}

aside {
    min-width: 280px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


aside > nav {
    background-color: white;
    overflow: hidden;
}


.wp-block-kadence-tableofcontents .kb-table-of-contents-title,
aside p {
    font-size: 20px !important;
    margin: 12px 24px;
    font-weight: bold !important;
}

aside ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

aside ul li {
    position: relative;
    margin: 0 !important;
}

aside ul li:not(:last-child) {
    border-bottom: 1px solid var(--wp--preset--color--gray);
}

aside ul li a {
    width: 100%;
    display: block;
    padding: 8px 24px;
    color: var(--wp--preset--color--text);
    font-weight: 350;
}

aside ul li a::after {
    content: "";
    position: absolute;
    right: 24px; /* Align the icon to the right of the link */
    top: 50%; /* Center vertically */
    transform: translateY(-50%) rotate(270deg); /* Initial rotation */
    transition: transform 0.3s ease; /* Animation effect */
    width: 16px; /* Width of the icon */
    height: 16px; /* Height of the icon */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 1792 1792" id="chevron"><path fill="%23fff" d="m1683 808-742 741q-19 19-45 19t-45-19L109 808q-19-19-19-45.5t19-45.5l166-165q19-19 45-19t45 19l531 531 531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5z"></path></svg>');
    background-size: cover; /* Ensure the icon covers the area */
    background-repeat: no-repeat; /* No repeating of the icon */
}

aside ul li a:hover::before {
    transform: scaleX(1); /* Scales the pseudo-element to full width on hover */
}
aside ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 90, 0.1); /* Change to your desired color */
    transition: transform 0.2s ease-out; /* Smooth transition for the transform effect */
    transform: scaleX(0);
    transform-origin: left; /* Starts the transform from the left */
}

.wp-block-kadence-tableofcontents {
    border-radius: var(--wp--custom--border-radius-sm);
    box-shadow: var(--wp--custom--box-shadow-xs);
    overflow: hidden;
    position: sticky;
    top: 48px;
}

.wp-block-kadence-tableofcontents ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wp-block-kadence-tableofcontents a {
    text-decoration: none !important;
    padding-right: 44px !important;
}

.wp-block-kadence-tableofcontents .kb-table-of-content-wrap {
    padding: 0 !important;
}


.badges-container {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.badges-container .badge {
    padding: 4px 8px;
    color: var(--wp--preset--color--dark-blue);
    background-color: var(--wp--preset--color--very-light-blue);
    font-weight: 550;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.badges-container .badge img {
    width: 32px;
    height: 32px;
}

.badges-container .badge:hover {
    color: white;
    background-color: var(--wp--preset--color--dark-blue);
}

.hero-content .text-content h1 {
    margin-top: 8px;
    margin-bottom: 12px;
}

.hero-content .text-content p:first-of-type {
    margin: 0;
}

.carousel-slide img {
    width: 100%;
}
.logo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    display: flex;
    align-items: center;
    flex: 0 0 100%;
    max-width: 100%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Set a fixed width for the controls */
    height: 100%; /* Control height spans the entire carousel height */
    cursor: pointer;
    background-color: transparent; /* Ensure background is initially transparent */
    background-repeat: no-repeat;
    background-position: center;
    display: none; /* Initially hidden, shown on hover */
    z-index: 10; /* Ensure arrows are above other content */
    align-items: center;
    justify-content: center;
    display: flex;
    border: 0px;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-control.prev svg {
    transform: rotate(90deg);
    width: 16px;
    height: 16px;
}

.carousel-control.next svg {
    transform: rotate(-90deg);
    width: 16px;
    height: 16px;
}

.logo-carousel:hover .carousel-control {
    display: flex;
}

#available-at {
    background-color: white;
}

#available-at img {
    padding: 12px 50px;
}

#loop-content .cta {
    color: white;
    padding: 24px;
    background-color: var(--wp--preset--color--dark-blue);
    margin-top: 42px;
}

#loop-content .two-column-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    justify-content: center;
}

#loop-content .two-column-layout .column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#loop-content .content-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    margin-top: 48px;
    margin-bottom: 32px;
}

#loop-content .content-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#loop-content .content-video p {
    font-style: italic;
}

#loop-content .cta h2 {
    margin-top: 0;
    padding-top: 0;
}

#loop-content .button-container {
    display: flex;
    gap: 12px;
}

#loop-content .cta .button {
   display: flex;
   gap: 6px;
   padding: 12px 24px; 
   border-radius: var(--wp--custom--border-radius);
   background-color: var(--wp--preset--color--very-light-blue);
   color: var(--wp--preset--color--dark-blue);
   font-weight: 550;
   border: 1px solid var(--wp--preset--color--dark-blue);
   transition: all 0.2s ease-in-out;
}

#loop-content .cta .button svg {
    width: 24px;
    height: 24px;

}

#loop-content .cta .button:hover {
   padding: 12px 24px; 
   border-radius: var(--wp--custom--border-radius);
   background-color: white;
   font-weight: 550;
   border: 1px solid var(--wp--preset--color--very-light-blue);
}

@media (max-width: 767px) {
    .hero {
        width: 100vw;
        height: fit-content;
        padding-top: 0;
    }

    .hero .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        padding-bottom: 48px;
        margin: 0;
		margin-top: var(--wp--custom--header-height);
    }

    .hero .image-container {
        padding: 0;
    }

    .hero .image-container,
    .hero .image-container picture,
    .hero .image-container img {
        width: 100%;
    }

    .hero .image-container img {
        object-fit: cover;
        box-shadow: none;
        border-radius: 0;
        max-height: 260px;
    }

    .hero .text-content {
         white-space: wrap;
         margin-left: 40px;
         margin-right: 40px;
    }

    .hero svg#bg-mobile {
        display: block;
    }

    .hero svg#bg-desktop {
        display: none;
    }

    .hero .badges-container {
        flex-wrap: wrap;
    }

    #main-content {
        display: flex;
        flex-direction: column;
    }

    aside {
        position: static;
        max-width: unset;
    }

    #loop-content .two-column-layout {
        grid-template-columns: unset;
    }

}