/* Check if the module overlays the menu */
{% if module.settings.overlay_below_menu %}
    header {
        position: absolute;
        inset: 0 0 auto 0;
    }

    .ft-logo a img {
        filter: invert(1);
    }

    .ft-menu-container ul.ft-extra-menu li a,
    .ft-menu-container ul.ft-main-menu li a {
        color: #fff;
    }

    .daichi-header-search {
        border: 1px solid #fff;
    }

    .daichi-header-search .daichi-header-search__icon {
        filter: invert(1);
    }

    .ft-toggle-mobile-menu span:first-child,
    .ft-toggle-mobile-menu span:last-child {
        background-color: rgba(var(--ft-theme-rgb-color-2), 1);
    }

    body.ft-mobile-menu .ft-toggle-mobile-menu span:first-child,
    body.ft-mobile-menu .ft-toggle-mobile-menu span:last-child {
        background-color: rgba(var(--ft-theme-rgb-color-2), 1);
    }
{% endif %}

.dsh-facts:empty {
    display: none !important;
}

.daichi-story-hero {
    position: relative;
}

.daichi-story-hero .dsh-image {
    transform: translateY(0);
    position: absolute;
    inset: 0 0 auto 0;
    background-color: rgba(var(--ft-theme-rgb-color-4), 1);
    height: 100vh;
    height: 100svh;
    max-width: 2000px;
    max-height: 1400px;
    margin: 0 auto;
}

.daichi-story-hero .dsh-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}


.daichi-story-hero .dsh-text-container {
    position: absolute;
    inset: auto 0 0 0;
    background-color: rgba(var(--ft-theme-rgb-color-4), 1);
}

.daichi-story-hero .dsh-text {
    transform: translateY(-200px);
    max-width: 948px;
    margin: 0 auto -100px auto;
    padding: 0 3rem;
}

.daichi-story-hero .dsh-text h1 {
    color: #fff;
    font-size: 3.12rem;
    line-height: 4.5rem;
    font-weight: 400;
    margin: 0;
    text-align: center;
    display: block;
    align-items: center;
    height: 200px;
}

.daichi-story-hero .dsh-text h3 {
    padding: 3rem 0;
    line-height: 2.5rem;
    text-align: center;
}

.daichi-story-hero .dsh-byline span {
    display: block;
    text-align: center;
    color: rgba(var(--ft-theme-rgb-color-2), 1);
    font-size: 0.87rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.daichi-story-hero .dsh-facts {
    display: block;
    text-align: center;
    background-color: rgba(var(--ft-theme-rgb-color-1), .3);
    margin: 0 auto;
    max-width: var(--site-min-width);
    padding: 1rem;
    font-size: 1rem;
    font-style: italic;
}

@media only screen and (min-width: 1200px) {

}

@media only screen and (max-width: 1024px) {


    .daichi-story-hero .dsh-text h1 {
        font-size: 2rem;
        line-height: 2.2rem;
        font-weight: 500;
    }

    .daichi-story-hero .dsh-text h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

}


@media only screen and (max-width: 640px) {

    .daichi-story-hero .dsh-text {

        padding: 0 1rem;
    }


    .daichi-story-hero .dsh-text h1 {
    }

    .daichi-story-hero .dsh-text h3 {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
}