/* Agent profile additions: custom bio paragraphs, testimonials, social links, uploaded logo. */
.coast-about-copy > p{white-space:pre-line}
.ec-about-signoff .ec-about-specialties{flex-basis:100%}
.ec-brand-logo.ec-custom-logo{height:45px;width:auto;max-width:260px;object-fit:contain}
.ec-testimonials{max-width:1200px;margin:0 auto;padding:clamp(48px,8vw,96px) clamp(16px,5vw,48px)}
.ec-testimonials h2{margin:0 0 32px}
.ec-testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.ec-testimonials figure{margin:0;padding:24px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:12px}
.ec-testimonials blockquote{margin:0 0 16px;line-height:1.6;white-space:pre-line}
.ec-testimonials figcaption{opacity:.72;font-size:.9em}
.ec-social-links{list-style:none;display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0 0;padding:0}
.ec-social-links a{color:inherit}
.footer-license{opacity:.72;font-size:.9em}
/* Social icons in the footer */
.ec-social-links{gap:10px;align-items:center}
.ec-social-links a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--ec-choice,currentColor);border:1px solid var(--ec-choice,currentColor);border-radius:50%;opacity:.9;transition:opacity .2s,transform .2s}
.ec-social-links a:hover,.ec-social-links a:focus-visible{opacity:1;transform:translateY(-1px)}
.ec-social-links .ec-social-icon{width:20px;height:20px;display:block}
.ec-social-links .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
/* Bottom-right of the footer, level with the copyright line */
.site-footer .footer-notes{position:relative;max-width:none}
.site-footer .footer-notes>.ec-social-links{position:absolute;top:0;right:0;margin:0}
.site-footer .footer-notes>p{max-width:1100px;padding-right:300px;box-sizing:border-box}
@media(max-width:760px){.site-footer .footer-notes>.ec-social-links{position:static;margin:0 0 16px}.site-footer .footer-notes>p{padding-right:0}}
/* keep footer social icons clear of the floating chat buttons (fixed, right 16px, 48px wide) */
@media (min-width:761px){.site-footer .footer-notes>.ec-social-links{right:max(0px,calc(80px - var(--ec-header-gutter,40px)))}}
/* Full site width, aligned with the other homepage sections; up to four cards per row, no lone card */
.ec-testimonials{max-width:1600px;margin-left:auto;margin-right:auto;box-sizing:border-box;padding-top:clamp(16px,2vw,32px);padding-bottom:clamp(40px,5vw,64px);padding-left:var(--ec-header-gutter,clamp(16px,4vw,40px));padding-right:var(--ec-header-gutter,clamp(16px,4vw,40px))}
.ec-testimonials .ec-testimonials-grid{gap:20px}
@media(min-width:761px){.ec-testimonials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.ec-testimonials-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ec-testimonials-grid:has(>figure:nth-child(2):last-child),.ec-testimonials-grid:has(>figure:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){.ec-testimonials-grid,.ec-testimonials-grid:has(>figure:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.ec-testimonials-grid:has(>figure:nth-child(3):last-child),.ec-testimonials-grid:has(>figure:nth-child(5):last-child),.ec-testimonials-grid:has(>figure:nth-child(6):last-child),.ec-testimonials-grid:has(>figure:nth-child(9):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
.ec-testimonials-grid:has(>figure:only-child){grid-template-columns:minmax(0,720px)}
/* What clients say: continues the Meet Edith section in the same editorial style as the stats (ink rule, thin dividers, primary-colour accents) instead of separate rounded cards. */
.ec-testimonials{--ec-quote:var(--ec-choice,var(--bronze));padding-top:0}
html:not([data-ec-accent]) .ec-testimonials{--ec-quote:#79550f}
html[data-ec-appearance=dark]:not([data-ec-accent]) .ec-testimonials{--ec-quote:#d7b77c}
.ec-testimonials h2{display:flex;align-items:center;gap:16px;margin:0;padding:0 0 18px;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--ec-quote)}

.ec-testimonials .ec-testimonials-grid{gap:0;border-top:1px solid var(--ink)}
.ec-testimonials figure{position:relative;margin:0;padding:28px 28px 8px 0;border:0;border-radius:0}
.ec-testimonials figure::before{content:"\201C";display:block;height:40px;margin:0 0 6px;font:500 64px/1 Georgia,'Times New Roman',serif;color:var(--ec-quote)}
.ec-testimonials blockquote{margin:0 0 16px;font-size:clamp(16px,1.25vw,19px);line-height:1.6;color:var(--ink)}
.ec-testimonials figcaption{opacity:1;font-size:13px;color:var(--stone);letter-spacing:.02em}
@media(min-width:761px){.ec-testimonials figure+figure{padding-left:28px;border-left:1px solid var(--line)}}
@media(max-width:760px){.ec-testimonials figure{padding-right:0;border-bottom:1px solid var(--line)}.ec-testimonials figure:last-child{border-bottom:0}}
