/* ==========================================================================
   SEO additions (Oct 2026)
   - lets page titles be real <h1> tags without changing how they look
   - styles for the FAQ block on location.php
========================================================================== */

/* h1 page titles look exactly like the old h2.section-title */
h1.section-title {
    font-weight: 400;
    letter-spacing: .04em;
}

/* Contact page: the intro heading is now an h2 but keeps its old h1 look */
#contact-container .contact-wrap h2.contact-lead {
    padding: 20px 0 5px;
    font-size: 2rem;
    line-height: 1.1em;
    text-transform: uppercase;
    text-align: left;
    color: #434343;
}

/* Resident portal: page heading is an h1 that keeps the old h3 look */
#resident-portal h1.portal-title {
    font-size: 1.5em;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding: 140px 0 80px;
    font-family: barlow, serif;
    letter-spacing: .08em;
}

/* Screen-reader-only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Location FAQ ---------- */
#location-faq {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 70px;
    clear: both;
}

#location-faq .faq-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
    color: #333;
    opacity: 1;
}

#location-faq .faq-list {
    background: #fff;
    -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .18);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .18);
}

#location-faq .faq-item {
    border-bottom: 1px solid #e3e3e3;
}

#location-faq .faq-item:last-child {
    border-bottom: none;
}

#location-faq .faq-item summary {
    position: relative;
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 22px 70px 22px 30px;
    -webkit-transition: background 200ms ease-in-out;
    transition: background 200ms ease-in-out;
}

#location-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

#location-faq .faq-item summary:hover,
#location-faq .faq-item summary:focus {
    background: #f6f6f6;
}

#location-faq .faq-item summary:focus-visible {
    outline: 2px solid #183d4e;
    outline-offset: -2px;
}

#location-faq .faq-item h3 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.35em;
    letter-spacing: .04em;
    text-transform: none;
    font-family: barlow, sans-serif;
    color: #183d4e;
}

/* plus / minus indicator */
#location-faq .faq-item summary:before,
#location-faq .faq-item summary:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 30px;
    width: 18px;
    height: 2px;
    margin-top: -1px;
    background: #183d4e;
    -webkit-transition: transform 250ms ease-in-out;
    transition: transform 250ms ease-in-out;
}

#location-faq .faq-item summary:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

#location-faq .faq-item[open] summary:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

#location-faq .faq-answer {
    padding: 0 70px 24px 30px;
}

#location-faq .faq-answer p {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6em;
    color: #333;
}

#location-faq .faq-answer p:last-child {
    margin-bottom: 0;
}

#location-faq .faq-answer a {
    color: #183d4e;
    text-decoration: underline;
}

#location-faq .faq-answer a:hover {
    color: #434343;
}

#location-faq .faq-cta {
    text-align: center;
    margin: 35px 0 0;
}

#location-faq .faq-cta a {
    display: inline-block;
    padding: 14px 38px;
    background: #183d4e;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    -webkit-transition: background 200ms ease-in-out;
    transition: background 200ms ease-in-out;
}

#location-faq .faq-cta a:hover,
#location-faq .faq-cta a:focus {
    background: #434343;
}

@media (max-width: 710px) {
    #location-faq {
        width: 94%;
        margin-bottom: 45px;
    }

    #location-faq .faq-item summary {
        padding: 18px 52px 18px 18px;
    }

    #location-faq .faq-item summary:before,
    #location-faq .faq-item summary:after {
        right: 18px;
    }

    #location-faq .faq-item h3 {
        font-size: 1.05rem;
    }

    #location-faq .faq-answer {
        padding: 0 18px 20px;
    }

    #location-faq .faq-answer p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Heading-order fixes: headings moved up a level keep their previous look
========================================================================== */

/* an h2 (or h4) that should look like the site's h3 */
h2.as-h3,
h4.as-h3 {
    font-size: 1.5em;
    padding: 20px 0;
    font-family: barlow, serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1em;
    letter-spacing: .08em;
    color: #434343;
}

/* home + amenities promo rows */
#home-promo .inner-text-box h2.as-h3 {
    padding-bottom: 10px;
    padding-top: 2%;
    margin-bottom: 0;
    font-size: 2rem;
    line-height: 1.1em;
    font-family: barlow, georgia, serif;
    text-transform: capitalize;
    text-align: inherit;
}

#home-promo .promo-row h2.as-h3 {
    opacity: 0;
    transform: translateY(30%);
    -webkit-transition: all 1000ms ease-in-out;
    transition: all 1000ms ease-in-out;
}

#home-promo .promo-row h2.as-h3.active,
#amenities #home-promo .promo-row h2.as-h3 {
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 720px) {
    #home-promo .inner-text-box h2.as-h3 {
        text-align: center;
    }
}

/* virtual tour */
#virtual-tour h2.as-h3 {
    font-size: 3rem;
    text-transform: uppercase;
    padding-bottom: 30px;
}

#virtual-tour .section-intro h2.as-h3 {
    font-size: 1.5rem;
    padding-bottom: 0;
    margin-bottom: 15px;
}

#virtual-tour .section-intro p + p {
    margin-top: 15px;
}

@media only screen and (max-width: 721px) {
    #virtual-tour h2.as-h3 {
        padding-top: 30px;
        font-size: 1.8rem;
    }
}

/* neighborhood intro + resident portal tiles */
.section-intro h2.as-h3,
#resident-portal .service h2.as-h3 {
    text-align: center;
}

/* privacy policy: the in-page title is now an h2 that keeps the h1 look */
h2.as-h1 {
    font-size: 2em;
    padding: 20px 0;
}

.policy-updated {
    text-align: center;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 20px 0;
    margin: 0;
    color: #434343;
}

/* ==========================================================================
   Longer, keyword-led H1s + supporting copy
========================================================================== */

h1.section-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 1.15em;
}

@media only screen and (max-width: 720px) {
    h1.section-title {
        font-size: 1.7rem;
    }
}

.seo-intro {
    max-width: 860px;
    width: 90%;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 1.15rem;
    color: #333;
}

.seo-copy {
    text-align: left;
    clear: both;
}

.seo-copy h2 {
    text-align: center;
    padding-top: 0;
    padding-bottom: 25px;
}

.seo-copy h3 {
    font-size: 1.2rem;
    padding: 15px 0 8px;
    font-family: barlow, sans-serif;
    color: #183d4e;
}

.seo-copy p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.seo-copy a,
.seo-intro a,
#virtual-tour p a {
    color: #183d4e;
    text-decoration: underline;
}

@media only screen and (max-width: 720px) {
    .seo-copy.white-container {
        padding: 30px 20px;
        width: 94%;
    }

    .seo-copy p,
    .seo-intro {
        font-size: 1rem;
    }
}

/* hotspot cards: card titles are h3/h4 now, same look as before */
.hotspot .inner-info h3.as-h2 {
    font-size: 1.75em;
    font-weight: 300;
    font-family: barlow, 'Gotham Light', "Lora", georgia, serif;
    text-transform: none;
    padding-top: 0;
    padding-bottom: 15px;
    line-height: 1em;
    color: #fff;
}

.hotspot .inner-info h4.as-h3 {
    font-size: 1rem;
    padding-top: 0;
    padding-bottom: 15px;
    color: #fff;
}

@media only screen and (max-width: 720px) {
    .white-container.text-center h2.as-h3 {
        text-align: center;
        line-height: 1.2em;
    }
}
