/* Site-wide typography: headings Bebas Neue, all other text Inter (style reference: seoexpertcardiff.com). Loaded last on every page. */
:root{
  --f-ui:"Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-head:"Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --wp--preset--font-family--manrope:var(--f-ui);
}
body,.wp-site-blocks,.editor-styles-wrapper{font-family:var(--f-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:root body p,:root body li,body td,body th,body label,body input,body select,body textarea,body button,body blockquote,body figcaption,body summary{font-family:var(--f-ui)}

/* every heading, everywhere */
:root h1,:root h2,:root h3,:root h4,:root h5,:root h6,
:root .wp-block-heading,:root .wp-block-post-title,:root .wp-block-site-title,:root .wp-block-query-title,
.rz-hero h1,.rz-sec h2,.rz-sec h3,.rz-sec h4,.rz-cta-band h2,.rz-h-hero h1,.rz-sec .rz-h-steps h3,.rz-f-h,
.editor-styles-wrapper h1,.editor-styles-wrapper h2,.editor-styles-wrapper h3,.editor-styles-wrapper h4,.editor-styles-wrapper h5,.editor-styles-wrapper h6{
  font-family:var(--f-head);font-weight:400;letter-spacing:.015em;line-height:1.05;font-synthesis:none
}
:root h1 *,:root h2 *,:root h3 *,:root h4 *,:root h5 *,:root h6 *{font-family:inherit;font-weight:inherit}

/* Bebas Neue is a narrow capitals face, so it needs bigger sizes to read well */
:root h1{font-size:clamp(46px,6vw,76px)}
:root h2{font-size:clamp(34px,4vw,50px)}
:root h3{font-size:clamp(23px,2vw,27px)}
:root h4{font-size:22px}
:root h5,:root h6{font-size:19px}
.rz-hero h1{font-size:clamp(46px,6.4vw,78px);line-height:1}
.rz-h-hero h1{font-size:clamp(50px,7vw,88px);line-height:.98;letter-spacing:.01em}
.rz-sec h2{font-size:clamp(36px,4.2vw,52px);line-height:1.04;margin-bottom:18px}
.rz-sec h3{font-size:clamp(23px,2vw,27px);line-height:1.12;margin-bottom:10px}
.rz-sec .rz-h-steps h3{font-size:24px}
.rz-city h3{font-size:27px}
.rz-areas h3,.rz-near h3{font-size:25px}
.rz-cta-band h2,.rz-cta-band.rz-h-cta h2{font-size:clamp(32px,3.6vw,44px);line-height:1.05}
.rz-footer .rz-f-h{font-size:25px;letter-spacing:.03em}

/* body text: Inter, comfortable size and spacing */
.rz-hero,.rz-sec,.rz-cta-band,.rz-h-hero,.rz-h-strip,.rz-h-stats,.rz-footer,.rz-header{font-family:var(--f-ui)}
.rz-sec p,.rz-hero p,.rz-cta-band p{line-height:1.75}
.rz-sec .rz-card p{line-height:1.7}
.rz-faq summary{font-family:var(--f-ui);font-weight:600}
.entry-content p,.wp-block-post-content p{font-size:17px;line-height:1.75}

/* keep the signature logo script */
:root body .rz-logo .name,:root body .rz-f-brand .name,:root body .rz-h-sign,:root body .rz-h-sign *{font-family:var(--f-sign)}

@media (max-width:640px){
  .rz-h-hero h1{font-size:clamp(44px,12vw,60px)}
  .rz-hero h1{font-size:clamp(42px,11vw,56px)}
  .rz-sec h2{font-size:clamp(32px,9vw,40px)}
}