/*
 * Block-built pages (block editor for Pages, 2026-10-19). Loaded on the front end only where the
 * content has blocks (inc/ays-block-editor.php), and in the block editor as an editor style.
 * Core Columns stack below 782px (WordPress default).
 */

/* Separator: same 1px #ddd rule as the theme's <hr> */
.wp-block-separator.is-style-wide{border:0;border-top:1px solid #ddd;background:none;height:0;width:100%;max-width:none;margin:2em 0;opacity:1}

/* Columns: theme-like gap and no stray bottom margin on the last paragraph */
.wp-block-columns{gap:2em 4%;margin-bottom:1.5em}
.wp-block-column>:last-child{margin-bottom:0}
.wp-block-column>:first-child{margin-top:0}

/* ---- Contact ---- */
/* Formidable spacing (same values the Customizer CSS applies to the old .contact-flex-wrapper) */
.ays-contact-top form{margin-top:0}
.ays-contact-top .frm_fields_container,.ays-contact-top div#frm_field_15_container,.ays-contact-top form div{margin-bottom:0}
.ays-contact-top fieldset{margin-bottom:0 !important;padding-bottom:0 !important}
.ays-contact-sidebar .ays-contact-social{gap:16px 24px;margin:0 0 16px;padding:0}
.ays-contact-sidebar .ays-contact-social .wp-social-link{font-size:52px}
.ays-contact-sidebar .ays-contact-social .wp-social-link a{padding:0}
.ays-contact-sidebar .wp-block-html,.ays-contact-sidebar>i.contact-icon{display:block}
.ays-contact-sidebar i.contact-icon{font-size:60px;line-height:1;display:block;margin:0 0 8px}
.ays-contact-sidebar .ays-press-contact{margin:0 0 1em;line-height:1.5em}
.ays-contact-offices p{margin:0 0 1.5em}

/* ---- Locations ---- */
.ays-location{margin:0}
.ays-location h2{margin:21px 0 0.6em}
.ays-location iframe{display:block;width:600px;max-width:100%;height:450px;border:0}
.ays-location p{margin:0 0 1.2em}

/* ---- Careers ---- */
.ays-careers .wp-block-column>p{margin-top:0;margin-bottom:1.6em}
.ays-careers .wp-block-image{margin:0}
.ays-careers .wp-block-image img{height:auto;max-width:100%}

@media (max-width:781px){
	.ays-location iframe{width:100%;height:auto;aspect-ratio:4/3}
	.ays-contact-sidebar .ays-contact-social{margin-top:1em}
}
