/* ====== Hero Section ====== */
section.section--hero-carousel {
    padding-top: 0;
}

.hero {
    padding: 3rem 1rem;
}

.hero__subtitle {
    font-family: 'Ms Madi', cursive;
    font-size: clamp(2rem, 4vw + 1rem, 6rem);
    color: #CECECE;
    font-weight: normal;
    position: relative;
    left: -2rem;
    line-height: 65%;
    animation-delay: 0.3s;
}

.hero__title {
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: clamp(2rem, 4vw + 1rem, 6rem);
    line-height: 90%;
    color: #ffffff;
    margin-bottom: 0;
    animation-delay: 0.4s;
    animation-duration: 0.1s;
}

.hero__title span.text-highlight {
    display: inline-block;
    padding: 0rem 1rem;
    border-radius: 1.3rem;
    border: 1.5px dashed #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    background-color: rgb(21 21 21 / 67%);
    font-size: 75%;
}

.hero__image {
    display: block;
    width: 100%;
    max-height: auto;
}

.hero__image img {
    width: 100%;
    /* max-height: 35rem; */
    object-fit: cover;
    object-position: top;
}

.hero__text {
    font-size: 1.5rem;
    color: #ffffffe8;
    margin-bottom: 2rem;
    animation-delay: 0.6s;
    line-height: normal;
}

.hero__actions {
    animation-delay: 0.7s;
}

.hero__link {
    font-weight: 500;
    color: #0a2d3e;
    text-decoration: none;
    display: inline-block;
    align-self: center;
    transition: color 0.3s;
    font-size: var(--font-size-medium);
}

.hero__link:hover {
    color: #444;
}

.btn-primary.btn-dark {
    background-color: #252525;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: unset;
}

.carousel-caption.carousel-caption-sub-page {
    align-items: flex-start;
    padding: 1rem 0;
    position: absolute;
    width: 100%;
    height: auto;
    inset: auto 0 0 0;
    background: rgb(11 11 11 / 54%);
    backdrop-filter: blur(21.5px);
    transform: unset;
}

.carousel-caption.carousel-caption-sub-page h3.hero__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.carousel-caption.carousel-caption-sub-page p.hero__text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #ffffff;
    margin-bottom: 0;
}

.custom-accordion .accordion-item {
    border: none !important;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.custom-accordion .accordion-item .accordion-button {
    background: #f2f2f2;
}

.custom-accordion .accordion-item .accordion-button:not(.collapsed) {
    background: #003049;
    color: #ffffff;
    font-weight: 600;
}

.custom-accordion .accordion-item .accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: var(--bs-accordion-inner-border-radius) !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    box-shadow: none !important;
}

.custom-accordion .accordion-body {
    border: 1px solid #e2e2e2;
    border-radius: 0 0 0.5rem 0.5rem;
}

.preview-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    gap: 10px;
    width: 100%;
    height: 15rem;
    background: #FFFFFF;
    border: 1px dashed #8C8A8A;
    border-radius: 0.5rem;
}

.wrap {
    white-space: normal;
}

/* Responsive adjustments */

@media (max-width: 992px) {}

@media (max-width: 768px) {}

@media (max-width: 576px) {
    .carousel-caption {
        display: none;
    }
}