/* Community Level Styles */
:root {
    --navbar-mobile-logo-max-width: 70px;
    --navbar-logo-max-width: 150px;

    --hero-subheader-font-size: var(--body-base-font-size);
    --hero-header-font-size: var(--header-base-font-size);
}

/* showcase links */
@media only screen and (min-width: 768px) {
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(3),
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(4) {
        display: block;
    }
}

@media only screen and (min-width: 1180px) {
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(5),
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(6),
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(7) {
        display: block;
    }
}

@media only screen and (min-width: 1600px) {
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(7),
    header .navbar #showcase_links.left-to-right .menu-item:nth-child(8) {
        display: block;
    }
}

/* custom button on SS */
.hp-slideshow {
    position: relative;
}

.hp-slideshow::after {
    content: '';
    background: rgba(0,0,0,0.15);
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hp-slideshow.cinemagraph-wrapper:before {
    content: "";
    position: absolute;
    background: #222;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

h1.hero-subheader {
    font-family: var(--fonts-body);
    font-size: calc(var(--hero-subheader-font-size) * 1.1);
    font-weight: var(--body-base-font-weight);
    text-transform: uppercase;
    color: var(--background-1-base-alt);
    letter-spacing: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

h2.hero-header {
    font-family: var(--fonts-header);
    font-size: calc(var(--hero-header-font-size) * 2);
    font-weight: var(--header-base-font-weight);
    text-transform: capitalize;
    letter-spacing: initial;
    color: var(--background-1-base-alt);
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

@media only screen and (min-width: 1024px) {
    h1.hero-subheader {
        font-size: calc(var(--hero-subheader-font-size) * 1.4);
    }
    
    h2.hero-header {
        font-size: calc(var(--hero-header-font-size) * 4);
    }
}

.hero-overlay-info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 3;
    width: 100%;
    padding: 0 5px;
    text-align: center;
}

@media only screen and (max-width: 479px) {
    .hero-overlay-info {
        left: 0;
        transform: translate(0, 0);
        top: 37%;
    }
}

a.hero-btn.button-style-2-petite {
    margin: 20px auto 0;
    padding: 8px 43px;
    background-color: transparent;
    color: var(--background-1-base-alt);
    outline: 1px solid var(--background-1-base-alt);
    outline-offset: 3px;
    border: 1px solid var(--background-1-base-alt);
    position: relative;
    transition: transform ease-in-out 0.3s 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

a.hero-btn.button-style-2-petite:before {
    content: "";
    position: absolute;
    z-index: -10;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-base);
    opacity: 0.6;
    transition: transform ease-in-out 0.3s 0.1s;
    transform: scaleY(0);
}

a.hero-btn.button-style-2-petite:hover:before {
    transform: scaleY(1);
}

#hero_button p {
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

{% block neighborhood_button %}
{% if community.links.application or community.links.application_third_party %}
    <div class="btn-container scroll-reveal">
        {% if community.links.application_third_party %}
            <a href="{{ community.links.application_third_party }}" target="_blank" aria-label="(New Window)" class="neighborhood-button button-style-1">Apply Now</a>
        {% elif community.links.application %}
            <a href="/application/" class="neighborhood-button button-style-1">Apply Now</a>
        {% endif %}
    </div>
{% endif %}
{% endblock neighborhood_button %}

{% block homepage_gallery_section %}{% endblock homepage_gallery_section %}

{% block hp_amenities_btn %}
    <div class="btn-container scroll-reveal">
        <a href="/amenities/" class="button-style-1">See All Amenities and Features</a>
    </div>
{% endblock hp_amenities_btn %}

/* contact */
#contact_us_page_container .lightning-form .form-btn {
    background: var(--primary-base);
    color: var(--primary-base-alt);
}

#contact_us_page_container .lightning-form .form-btn:hover {
    background: var(--primary-hover);
    color: var(--primary-hover-alt);
}