/*
Theme Name: rportal Base
Theme URI: https://portal.elevaterealtyseo.com
Author: rportal
Description: Parent block theme for rportal realtor sites. Each design is a child theme (rportal-<design>) that sets colours, fonts and the header. Brand, contact and legal lines come from rportal through the rportal bridge plugin.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: rportal-base
*/

/* Small additions on top of theme.json (shared by every design). */
.rp-brand { display: inline-flex; flex-direction: column; text-decoration: none; color: inherit; line-height: 1.1; }
.rp-brand__name { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; }
.rp-brand__title { font-size: .78rem; opacity: .7; margin-top: .2rem; }
.rp-brand__logo { height: 44px; width: auto; display: block; }
.rp-phone { font-weight: 600; text-decoration: none; padding: .55rem 1rem; border-radius: var(--wp--custom--radius, 8px); border: 1px solid currentColor; white-space: nowrap; }
.rp-header .wp-block-navigation a { text-decoration: none; }
.rp-header--bar { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); }
.rp-header--bar a { color: inherit; }
.rp-header--center .rp-brand { align-items: center; text-align: center; }
.rp-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.rp-cta { padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.rp-cta .wp-block-buttons { justify-content: center; }
.rp-cta .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.rp-hero .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size); }
.rp-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; max-width: 16ch; }
.wp-block-media-text__media img { border-radius: var(--wp--custom--radius, 8px); }
.rp-contact { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-block: 1.5rem; }
.rp-contact a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius, 8px); text-decoration: none; background: var(--wp--preset--color--surface); }
.rp-contact span { display: block; font-size: .8rem; color: var(--wp--preset--color--muted); }
.rp-form { position: relative; display: grid; gap: .75rem; max-width: 680px; }
.rp-form__row { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rp-form input, .rp-form textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius, 8px); background: var(--wp--preset--color--surface); font: inherit; color: var(--wp--preset--color--contrast); box-sizing: border-box; }
.rp-form__check { display: flex; gap: .6rem; font-size: .85rem; color: var(--wp--preset--color--muted); }
.rp-form__check input { width: auto; }
.rp-form__fine { font-size: .75rem; color: var(--wp--preset--color--muted); margin: 0; }
.rp-form__msg { color: #9f1239; font-size: .9rem; }
.rp-form__done { padding: 1.2rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius, 8px); }
.rp-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.rp-footer__top .rp-contact { min-width: 280px; margin: 0; }
.rp-footer__top .rp-contact a { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.rp-footer__top .rp-contact span { color: inherit; opacity: .7; }
.rp-footer__name { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; margin: 0 0 .4rem; }
.rp-footer__legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: .75rem; opacity: .75; }
.rp-footer__legal p { margin: .3rem 0; }
.rp-footer a { color: inherit; }
