#header {
    padding-top: clamp(
            15px,
            calc(15px + (60 - 15) * (100vw - 992px) / (1920 - 992)),
            60px
    ) !important;
}
#d3slider {
    margin: 0;
    .slick-track {
        @media (max-width: 768px) {
            height: 100vh;
        }
        .slick-slide img {
            height: 100%;
            object-fit: cover;
        }
    }

    .slide {
        position: relative;
        .hero-arrow {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            cursor: pointer;
        }
    }

    .slide-overlay {
        position: absolute;
        top: 46%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 10;
        width: 100%;
        padding: 0 10px;
    }

    .slide-overlay img.header-image-logo {
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .slide-caption {
        background: unset !important;
        position: relative !important;
        margin-top: 10px;
        color: #fff;
        top: clamp(
                15px,
                calc(15px + (65 - 15) * (100vw - 992px) / (1920 - 992)),
                65px
        );
        h1 {
            font-size: clamp(
                    30px,
                    calc(30px + (100 - 30) * (100vw - 395px) / (1920 - 395)),
                    100px
            );
            font-family: 'Stint Ultra Condensed', cursive;
            text-transform: uppercase;
        }
        p {
            font-family: 'Cantata One', serif;
            letter-spacing: 1px;
            filter: drop-shadow(1px 1.732px 0px rgba(32,30,29,0.75));
            font-size: clamp(
                    16px,
                    calc(16px + (24 - 16) * (100vw - 395px) / (1920 - 395)),
                    24px
            );
        }
    }
}
#box-1 {
    background-image: url(../images/home-intro-bg.jpg) !important;
    padding: 65px 0 100px !important;
    background-size: cover !important;
    .box-container {
        border: none !important;
    }
    .sidebar-box__title {
        margin: 0;
        text-transform: uppercase;
        text-align: center;
    }
    .sidebar-box__desc {
        width: 80%;
        margin: 0 auto;
        text-align: center;
        p {
            font-family: 'marydale', sans-serif;
            font-size: 20px;
        }
    }
    .sidebar-box__btn {
        background: #311e0a;
        font-size: 31px;
        line-height: 27px;
        color: #f9f5f1;
        font-weight: 800;
        font-family: "Marydale";
        text-align: center;
        max-width: 266px;
        width: 100%;
        display: flex;
        padding: 15px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        &:hover {
            background: #c15858;
        }
    }
    .row {
        row-gap: 30px;
    }
}

body.home #primary {
    background-image: url(../images/inspired-background-option2.png) !important;
    position: relative;
    top: -25px;
    height: 750px;
    @media (max-width: 992px) {
        height: auto;
    }
}
body.page-id-2 {
    #main {
        background: unset !important;
    }
    .entry-content {
        h1 {
            text-transform: uppercase;
            color: #edeae3 !important;
            font-weight: 400;
            font-size: clamp(
                    30px,
                    calc(30px + (90 - 30) * (100vw - 395px) / (1920 - 395)),
                    90px
            );
            font-family: "Stint Ultra Condensed";

        }
        p {
            color: #edeae3 !important;

        }
    }
}

.btn-transparent {
    color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 32px;

    &:hover {
        color: #c15858;
    }

    &::after {
        content: "";
        display: inline-block;
        width: 65px;
        height: 90px;
        background: url('../images/arrow-r.png') no-repeat center center;
        background-size: contain;
        position: absolute;
        right: -50px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    &:hover::after {
        transform: translateY(-50%) translateX(3px);
    }
}


.ymalso-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 36px 28px;
    justify-items: center;
}
@media (max-width: 992px){
    .ymalso-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
}
@media (max-width: 560px){
    .ymalso-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.ymalso-card{
    --size: 350px;
    width: var(--size);
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 50%;
    background-position: center;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

.ymalso-card__link{
    position:absolute; inset:0;
    display:block;
    border-radius:50%;
    overflow:hidden;
}

.ymalso-card__ring{
    inset:0;
    border-radius:50%;
    box-shadow: inset 0 0 0 8px #fff;
    pointer-events:none;
}
.ymalso-card__ring--red   { box-shadow: inset 0 0 0 8px #c33; }
.ymalso-card__ring--gold  { box-shadow: inset 0 0 0 8px #d7b46a; }
.ymalso-card__ring--blue  { box-shadow: inset 0 0 0 8px #2b6fb3; }

.ymalso-card__content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:18px;
    text-align:center;
    color:#fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    gap: 10px;
}

.ymalso-card__logo{
    display:block;
    width: 70%;
    max-width: 180px;
    line-height:0;
}
.ymalso-card__logo img{
    width:100%; height:auto; display:block;
}

.ymalso-card__title{
    font-family: inherit;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .02em;
    display: none;
}
.ymalso-card__content--text .ymalso-card__title{ display: block; }

.ymalso-card__caption{
    font-size: 14px;
    opacity:.95;
}

.ymalso-card:hover { transform: translateY(-2px); transition: .25s ease; }
.ymalso-card:hover .ymalso-card__ring { box-shadow: inset 0 0 0 10px #fff; }

body.home .home-boxes .box-container {
    display: flex;
    justify-content: center;
}
.home-boxes__wrapper {
    background: url('../images/main-background.jpg') no-repeat center center;
    margin-top: -80px;
    padding-top: 50px;
    padding-bottom: 70px;
    background-size: cover;
}
#box-2 {
    background: unset !important;
    gap: clamp(
            10px,
            calc(10px + (40 - 10) * (100vw - 395px) / (1920 - 395)),
            40px
    );;
    .box-container{
        border: none !important;
        width: unset;
    }
}
.custom-collage__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(346px, 1fr));
}

.custom-collage__item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 !important;
}

.custom-collage__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ftr-enews {
    background-image: url('../images/map.jpg') !important;
    background-position: unset !important;
}
