/*
 * Equatorial CDR — site-specific styles only.
 * Generic styles belong in the parent (scb-standard/assets/css/base.css).
 */

/* Full-width sections on landing pages sit flush against each other. */
:where(.wp-block-post-content) > .alignfull { margin-block: 0; }

/* Header CTA: compact; stays visible on mobile next to the menu toggle. */
.scb-header__cta .wp-block-button__link {
	padding: 0.6rem 1.1rem;
	font-size: var(--wp--preset--font-size--small);
}

/* Footer: GAR line stays on one line on tablet/desktop; wraps naturally on phones. */
@media (min-width: 782px) {
	.eqcdr-footer__about { white-space: nowrap; }
}
/* On phones the contact block stacks under the logo, so align it left. */
@media (max-width: 781px) {
	.eqcdr-footer__contact { align-items: flex-start !important; }
}

/* Hero: logo mark as a quiet brand graphic until photography is supplied. */
.eqcdr-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.eqcdr-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: max(-6rem, calc((100vw - 1200px) / 2 - 4rem));
	bottom: -12%;
	width: min(46vw, 560px);
	aspect-ratio: 844 / 1211;
	background: url("../logo/mark.svg") no-repeat center / contain;
	opacity: 0.14;
	pointer-events: none;
}
@media (max-width: 781px) {
	.eqcdr-hero::after { width: 70vw; right: -25vw; opacity: 0.08; }
}
/* An editor-set background image replaces the graphic. */
.eqcdr-hero.has-background-image::after,
.eqcdr-hero[style*="background-image"]::after { display: none; }

.eqcdr-hero__facts {
	border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	padding-top: var(--wp--preset--spacing--30);
	column-gap: var(--wp--preset--spacing--40) !important;
	row-gap: 0.5rem !important;
}
.eqcdr-hero__facts > p { margin: 0; }
