/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

#carousel-home .cover {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

footer .footer_bg .background-image {
    background-position: center bottom;
}

/* Parallax contact section above footer */
.ht_contact_parallax {
    height: 70vh;
    min-height: 420px;
}

@media (max-width: 991.98px) {
    .ht_contact_parallax {
        height: auto;
        min-height: 0;
        padding: 60px 0;
    }
}

.ht_contact_parallax .wrapper {
    align-items: center;
}

.ht_contact_form_wrapper {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.ht_contact_form_wrapper .form-control,
.ht_contact_form_wrapper textarea.form-control {
    background-color: #faf8f5;
    border-color: #e1d9cc;
}

.ht_contact_form_wrapper .form-control:focus,
.ht_contact_form_wrapper textarea.form-control:focus {
    border-color: #978667;
}

/* Minimal bottom footer bar */
footer.ht_min_footer {
    background-color: #000;
    padding: 18px 0;
    color: #fff;
}

footer.ht_min_footer a {
    color: #fff;
    font-size: 0.85rem;
}

footer.ht_min_footer a:hover {
    color: #ebd7b2;
}

.ht_footer_logo_text {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.ht_footer_brand i {
    font-size: 1.1rem;
}

.ht_footer_links {
    font-size: 0.85rem;
}

.ht_footer_meta small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.ht_gallery_section {
    border-top: 1px solid #e6e0d7;
    padding-top: 40px;
    margin-bottom: 40px;
}

.ht_gallery_section+.container.margin_120_95 {
    margin-top: 40px;
}

.ht_gallery_words span {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.02;
    font-weight: 400;
}

.ht_gallery_intro small {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ht_gallery_intro h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.ht_gallery_intro p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.ht_gallery_images .ht_gallery_item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.ht_gallery_img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ht_gallery_item:hover .ht_gallery_img {
    transform: scale(1.03);
}

@media (max-width: 767.98px) {
    .ht_gallery_words span {
        font-size: 2rem;
    }

    .ht_gallery_img {
        height: 320px;
    }
}

/* Gallery carousel nav arrows */
.ht_gallery_carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
}

.ht_gallery_carousel .owl-nav.disabled {
    display: flex !important;
}

.ht_gallery_carousel .owl-nav button.owl-prev,
.ht_gallery_carousel .owl-nav button.owl-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0;
    margin: 0;
    pointer-events: auto;
}

.ht_gallery_carousel .owl-nav button.owl-prev:hover,
.ht_gallery_carousel .owl-nav button.owl-next:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ht_gallery_carousel .owl-nav i {
    line-height: 1;
}

/* News & Events cards: consistent image height */
.home .box_contents figure,
.isotope-wrapper .box_contents figure {
    overflow: hidden;
}

.home .box_contents figure img,
.isotope-wrapper .box_contents figure img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

@media (max-width: 767.98px) {

    .home .box_contents figure img,
    .isotope-wrapper .box_contents figure img {
        height: 220px;
    }
}