/* Index page shell modernization. */

.home-shell {
    --shell-max: 1080px;
    --content-max: 880px;
    --space-1: 0.75rem;
}

.home-shell * {
    box-sizing: border-box;
}

.home-shell img {
    max-width: 100%;
    height: auto;
}

.home-shell {
    min-width: 0;
    margin: 0;
    padding-top: clamp(24px, 4vw, 48px);
}

.home-shell #page {
    width: min(100%, var(--shell-max));
    min-height: 0;
    margin: 0 auto;
    padding: 0 1rem 48px;
}

.home-shell #index-main-column {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none !important;
}

.home-shell #site-header {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 300;
}

.home-shell #site-header-logo {
    width: min(400px, 90vw);
    margin: 0 auto;
    aspect-ratio: 423 / 250;
    overflow: hidden;
}

.home-shell #site-header-logo-image {
    width: 100%;
    display: block;
    margin: 0;
    transform: translateY(-25%);
}

.home-shell #site-header-nav-row {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 320;
    overflow: visible;
}

.home-shell #u20066,
.home-shell #u20362,
.home-shell #u20345,
.home-shell #u20365,
.home-shell #u2957 {
    display: none;
}

.home-shell .tb-nav {
    width: 100%;
    max-width: 640px;
    margin: var(--space-1) auto 0;
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.home-shell .tb-nav-list,
.home-shell .tb-subnav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-shell .tb-nav-list {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}

.home-shell .tb-nav-item {
    position: relative;
    padding-bottom: 8px;
}

.home-shell .tb-nav-link {
    display: block;
    padding: 0.5rem 0.85rem;
    line-height: 1.18;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: lowercase;
    font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
    color: #000;
    text-decoration: none;
}

.home-shell .tb-nav-link:hover,
.home-shell .tb-nav-link-active {
    color: #005cac;
}

.home-shell .tb-subnav {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 170px;
    background-color: #f7f7f7;
    border: 1px solid #ececec;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.home-shell .tb-has-subnav:hover > .tb-subnav,
.home-shell .tb-has-subnav:focus-within > .tb-subnav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.home-shell .tb-subnav-link {
    display: block;
    padding: 0.45rem 0.65rem;
    text-align: center;
    font-size: 11px;
    font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
    color: #000;
    text-decoration: none;
    background-color: #f7f7f7;
}

.home-shell .tb-subnav-link:hover {
    color: #005cac;
}

.home-shell #home-gallery {
    width: min(100%, 1085px);
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, 257px);
    justify-content: center;
    gap: 0;
}

.home-shell .home-gallery-item {
    display: block;
    width: 257px;
    max-width: 100%;
}

.home-shell .home-gallery-image {
    display: block;
    width: 257px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-shell .home-gallery-image-framed {
    border: 5px solid #fff;
}

.home-shell #site-footer-wrap,
.home-shell #site-footer,
.home-shell #site-footer-social,
.home-shell #site-footer-copyright {
    float: none !important;
}

.home-shell #site-footer-wrap {
    width: 100%;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-shell #site-footer-leaves {
    width: max-content;
    margin: 0 auto;
    position: static;
    display: block;
    clear: both;
}

.home-shell #site-footer-leaves-image {
    display: block;
    margin: 0 auto;
}

.home-shell #site-footer {
    width: min(100%, var(--content-max));
    margin: 0.5rem auto 0;
    padding: 0.5rem 0 1rem;
    text-align: center;
}

.home-shell #site-footer-copyright,
.home-shell #site-footer-copyright-text {
    font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.18;
    letter-spacing: 1px;
    color: #7f7f7f;
    text-align: center;
}

.home-shell #site-footer-empty-row,
.home-shell #site-footer-hook {
    width: 100%;
    margin-left: 0;
    left: 0;
    min-height: 0;
}

.home-shell #site-footer-social {
    margin: 0.25rem auto 0;
    width: 170px;
    min-height: 70px;
    position: relative;
    display: block;
}

.home-shell #social-instagram-bg,
.home-shell #social-facebook-bg,
.home-shell #social-pinterest-bg,
.home-shell #social-instagram-icon,
.home-shell #social-pinterest-icon,
.home-shell #social-facebook-icon {
    float: none !important;
    margin: 0 !important;
    margin-right: 0 !important;
    position: absolute;
}

.home-shell #social-instagram-bg {
    left: 0;
    top: 1px;
}

.home-shell #social-facebook-bg {
    left: 53px;
    top: 0;
}

.home-shell #social-pinterest-bg {
    left: 105px;
    top: 0;
}

.home-shell #social-instagram-icon {
    left: 12px;
    top: 20px;
}

.home-shell #social-pinterest-icon {
    left: 118px;
    top: 20px;
}

.home-shell #social-facebook-icon {
    left: 62px;
    top: 17px;
}

@media (max-width: 640px) {
    .home-shell #page {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .home-shell .tb-nav-list {
        display: block;
        border-top: 1px solid #e8e8e8;
        border-bottom: 1px solid #e8e8e8;
    }

    .home-shell .tb-nav-item {
        width: 100%;
        padding-bottom: 0;
        border-bottom: 1px solid #efefef;
    }

    .home-shell .tb-nav-item:last-child {
        border-bottom: 0;
    }

    .home-shell .tb-nav-link {
        min-height: 46px;
        padding: 0.72rem 0.95rem;
        display: flex;
        align-items: center;
        font-size: 13px;
        letter-spacing: 0.7px;
        text-transform: lowercase;
    }

    .home-shell .tb-subnav {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        min-width: 0;
        border: 0;
        border-top: 1px solid #e9e9e9;
        background-color: #fafafa;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .home-shell .tb-nav-item.is-open > .tb-subnav {
        display: block;
    }

    .home-shell .tb-has-subnav:hover > .tb-subnav,
    .home-shell .tb-has-subnav:focus-within > .tb-subnav {
        transform: none;
    }

    .home-shell .tb-subnav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 0.65rem 0.95rem 0.65rem 1.35rem;
        font-size: 12px;
        background-color: #fafafa;
    }

    .home-shell .tb-subnav-link:hover,
    .home-shell .tb-subnav-link:active,
    .home-shell .tb-subnav-link:focus-visible,
    .home-shell .tb-nav-link:active,
    .home-shell .tb-nav-link:focus-visible {
        background-color: #f1f5f8;
    }

    .home-shell #home-gallery {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .home-shell .home-gallery-item {
        width: 100%;
    }

    .home-shell .home-gallery-image {
        width: min(100%, 257px);
        margin: 0 auto;
    }
}
