/* Red Leaf: make inner pages match the new home page style (v1.1.0). Loaded on every page except the home page. */
body.red-leaf-commercial:not(.home){--rl-red:#c8102e;--rl-ink:#262329;--rl-muted:#635b60;--rl-line:#e5dcdf;background:#fff}

/* Page title (printed by the theme) */
body.page .wp-content-surface{padding-top:64px;padding-bottom:24px;min-height:0}
body.page .wp-content-surface>article>h1{font-family:Arial,Helvetica,sans-serif;font-weight:500;color:var(--rl-ink);letter-spacing:-.025em;line-height:1.08;font-size:clamp(2.2rem,4.6vw,3.5rem);margin:0 0 8px}
body.page .wp-content-surface>article>h1::before{content:"RED LEAF REAL ESTATE";display:block;font-size:.75rem;font-weight:700;letter-spacing:.17em;color:#ad1730;margin-bottom:20px}
body.page .wp-content-surface>article>h1::after{content:"";display:block;width:48px;height:2px;background:var(--rl-red);margin-top:22px}
body.single .wp-content-surface h1{color:var(--rl-ink);font-weight:500;letter-spacing:-.025em}

/* Header button matches the home page */
body.red-leaf-commercial:not(.home) .site-header .button.dark{background:var(--rl-red);border-radius:2px}

/* Hide the old banner band that repeated the page title */
body.page-id-27 .elementor-top-section:first-of-type,
body.page-id-32 .elementor-top-section:first-of-type,
body.page-id-589 .elementor-top-section:first-of-type,
body.page-id-382 .elementor-top-section:first-of-type,
body.page-id-170 .elementor-element-8b0067f,
body.page-id-170 .elementor-element-6337272,
body.page-id-32 .elementor-element-b9d69c9{display:none !important}

/* Elementor content: fonts, colours, sizes */
body:not(.home) .elementor .elementor-heading-title{font-family:Arial,Helvetica,sans-serif !important;color:var(--rl-ink) !important;font-weight:500 !important;letter-spacing:-.015em;line-height:1.15 !important}
body:not(.home) .elementor h2.elementor-heading-title{font-size:clamp(1.6rem,3vw,2.2rem) !important}
body:not(.home) .elementor h3.elementor-heading-title{font-size:1.3rem !important}
body:not(.home) .elementor .elementor-widget-text-editor,
body:not(.home) .elementor .elementor-widget-text-editor p,
body:not(.home) .elementor .elementor-widget-text-editor li,
body:not(.home) .elementor .elementor-widget-text-editor span{font-family:Arial,Helvetica,sans-serif !important;color:var(--rl-muted) !important;font-size:1rem;line-height:1.75}
body:not(.home) .elementor .elementor-widget-text-editor strong{color:var(--rl-ink)}
body:not(.home) .elementor a{color:var(--rl-red)}
body:not(.home) .elementor-section{padding-block:8px}
body:not(.home) .elementor img{box-shadow:none !important;border-radius:2px}
body:not(.home) .elementor-widget-divider .elementor-divider-separator{display:none !important}
body:not(.home) .elementor-widget-divider .elementor-divider{border-top:1px solid var(--rl-line);padding:0 !important;margin:24px 0}
body:not(.home) .elementor-button{background:var(--rl-red) !important;color:#fff !important;border-radius:2px !important;font-family:Arial,Helvetica,sans-serif !important;font-weight:600}
body:not(.home) .elementor-swiper-button,body:not(.home) .swiper-pagination-bullet-active{color:var(--rl-red) !important}

/* Enquiry form (the [redleaf_enquiry_form] shortcode) */
body:not(.home) .rlf-sc-form{font-family:Arial,Helvetica,sans-serif;max-width:720px;gap:14px;margin-top:8px}
body:not(.home) .rlf-sc-form label{color:var(--rl-ink);font-weight:600;font-size:.875rem}
body:not(.home) .rlf-sc-form input,body:not(.home) .rlf-sc-form select,body:not(.home) .rlf-sc-form textarea{border:1px solid #d9cdd2;border-radius:2px;padding:12px;background:#fff;color:var(--rl-ink)}
body:not(.home) .rlf-sc-form input:focus,body:not(.home) .rlf-sc-form select:focus,body:not(.home) .rlf-sc-form textarea:focus{outline:2px solid var(--rl-red);outline-offset:0;border-color:var(--rl-red)}
body:not(.home) .rlf-sc-form button{background:var(--rl-red);border-radius:2px;min-height:50px;padding:14px 24px;font-size:.875rem}
body:not(.home) .rlf-sc-form button:hover{background:#a51028}
body:not(.home) .rlf-sc-form .rlf-check{font-size:.875rem;color:var(--rl-muted);font-weight:400}

/* Footer spacing */
body:not(.home) .site-footer{margin-top:48px;border-top:1px solid var(--rl-line)}
