/*
 * /youtube-ads-for-real-estate/ only (page-real-estate-marketing.php, rebuilt 2026-11-20; ops docs/design/2026-11-20-real-estate-page-rebuild).
 * Loaded after css/real_estate_promotion.css and css/landing_pages.css. Two blocks the shared renderers do not have:
 * the "who will see my listing ad" area block (.re-area) and the static agent quote grid (.re-quotes, replacing the
 * Splide carousel). Theme tokens only: #0042FF, #1A1919 / #000, #3B3B3B, #E6E6E6, Founders Grotesk from the theme.
 */

.template-real-estate-page .re-area {
    margin-top: 72px;
}

.template-real-estate-page .re-area .re-area__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 980px;
    margin: 36px auto 0 auto;
    padding: 0 16px;
    text-align: left;
}

.template-real-estate-page .re-area__card {
    border-radius: 14px;
    padding: 26px 26px 22px 26px;
    background: #F4F7FF;
    border: 1px solid #DCE5FF;
}

.template-real-estate-page .re-area__card--no {
    background: #F7F7F7;
    border-color: #E6E6E6;
}

.template-real-estate-page .re-area__card h3 {
    margin: 0 0 14px 0;
    color: #000000;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.template-real-estate-page .re-area__card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.template-real-estate-page .re-area__card li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px 0;
    color: #1A1919;
    font-size: 18px;
    line-height: 1.45;
}

.template-real-estate-page .re-area__card li:last-child {
    margin-bottom: 0;
}

.template-real-estate-page .re-area__card li .lp_icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: #0042FF;
}

.template-real-estate-page .re-area__card--no li .re-x {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: #8A8A8A;
}

.template-real-estate-page .re-area__card p {
    margin: 16px 0 0 0;
    color: #3B3B3B;
    font-size: 16px;
    line-height: 1.5;
}

.template-real-estate-page .re-area__card p a {
    color: #0042FF;
    text-decoration: underline;
}

/* Agent quotes: three cards, verbatim, no carousel script and no Review markup. */
.template-real-estate-page .re-quotes {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 36px auto 0 auto;
    padding: 0 16px;
    text-align: left;
}

.template-real-estate-page .re-quote {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.template-real-estate-page .re-quote__stars {
    width: 111px;
    height: auto;
}

.template-real-estate-page .re-quote blockquote {
    margin: 0;
    color: #1A1919;
    font-size: 19px;
    line-height: 1.5;
}

.template-real-estate-page .re-quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.template-real-estate-page .re-quote figcaption img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.template-real-estate-page .re-quote figcaption strong {
    display: block;
    color: #000000;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.template-real-estate-page .re-quote figcaption span {
    display: block;
    color: #5A5A5A;
    font-size: 15px;
    line-height: 1.35;
}

.template-real-estate-page .re-reviews-foot {
    max-width: 760px;
    margin: 22px auto 0 auto;
    padding: 0 16px;
    text-align: center;
}

.template-real-estate-page .re-reviews-foot .results-vary {
    margin: 0 0 6px 0;
    color: #6B6B6B;
    font-size: 14px;
}

.template-real-estate-page .re-reviews-foot .re-rating {
    margin: 0 0 18px 0;
    color: #1A1919;
    font-size: 17px;
    line-height: 1.5;
}

.template-real-estate-page .re-reviews-foot .google-button-wrap {
    display: flex;
    justify-content: center;
}

.template-real-estate-page .fr-brands {
    margin-top: 72px;
}

@media (max-width: 980px) {
    .template-real-estate-page .re-quotes {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    .template-real-estate-page .re-area {
        margin-top: 24px;
    }

    .template-real-estate-page .re-area .re-area__grid {
        grid-template-columns: 1fr;
        margin-top: 24px;
        gap: 14px;
    }

    .template-real-estate-page .re-area__card {
        padding: 20px 18px 18px 18px;
    }

    .template-real-estate-page .re-area__card li {
        font-size: 17px;
    }

    .template-real-estate-page .re-quotes {
        margin-top: 24px;
        gap: 14px;
    }

    .template-real-estate-page .re-quote {
        padding: 20px 18px;
    }

    .template-real-estate-page .re-quote blockquote {
        font-size: 18px;
    }

    .template-real-estate-page .fr-brands {
        margin-top: 48px;
    }
}

/* The page renders through its _wp_page_template meta since the 2026-11-20 URL move (inc/page-moves.php), so the body
   lost .page-template-default and the 20px gap above the footer that style.css gives it, which the 2026-11-20 rebuild was
   designed with. Same gap. */
.page-template-page-real-estate-marketing .site-footer {
	margin-top: 20px;
}
