/* wp-content/plugins/ceca-widgets/widgets/contact-cta/contact-cta.css */
/* Contact CTA (Figma 225:1643, foot of the frame): 1440×650 #C65A93 band —
   746×526 map inset 62px, so the band height falls out of the map plus its
   padding. Text column (max 526) is centred against the map; heading 40/55
   Bold, address 20/30, 40px-high black pill button (radius 300). */

.ceca-contact-cta {
	--ceca-cta-map-w: 746px;
	--ceca-cta-map-h: 526px;
	--ceca-cta-btn-bg: #000000;
	--ceca-cta-btn-color: #ffffff;
	--ceca-cta-btn-bg-hover: #411024;
	--ceca-cta-btn-color-hover: #ffffff;

	background: #c65a93;
}

/* Break out of the boxed container to the viewport edges, then re-centre the
   content on the site grid — same formula as the header bars. */
.ceca-contact-cta--full {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.ceca-contact-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ceca-cta-map-w);
	gap: 24px;
	align-items: center;
	max-width: var(--ceca-site-width, 1440px);
	margin: 0 auto;
	padding: 62px var(--ceca-gutter, 72px);
}

.ceca-contact-cta--map-left .ceca-contact-cta__inner {
	grid-template-columns: var(--ceca-cta-map-w) minmax(0, 1fr);
}

.ceca-contact-cta--map-left .ceca-contact-cta__text {
	order: 2;
}

.ceca-contact-cta--map-left .ceca-contact-cta__map {
	order: 1;
}

.ceca-contact-cta--no-map .ceca-contact-cta__inner {
	grid-template-columns: minmax(0, 1fr);
}

.ceca-contact-cta__text {
	max-width: 526px;
}

.ceca-contact-cta .ceca-contact-cta__heading {
	margin: 0;
	font-size: 40px;
	line-height: 55px;
	font-weight: 700;
	color: #1a1a1a;
}

.ceca-contact-cta .ceca-contact-cta__address {
	margin: 10px 0 0;
	font-size: 20px;
	line-height: 30px;
	color: #1a1a1a;
}

.ceca-contact-cta__address p {
	margin: 0;
}

.ceca-contact-cta__address p + p {
	margin-top: 30px;
}

.ceca-contact-cta__address a {
	color: inherit;
	text-decoration: underline;
	text-underline-position: from-font;
}

/* Double specificity + explicit states so Elementor kit link/button globals
   cannot repaint the pill. */
.ceca-contact-cta a.ceca-contact-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 20px;
	padding: 5px 28px;
	background: var(--ceca-cta-btn-bg);
	border-radius: 300px;
	font-size: 18px;
	line-height: 30px;
	color: var(--ceca-cta-btn-color);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ceca-contact-cta a.ceca-contact-cta__button:hover,
.ceca-contact-cta a.ceca-contact-cta__button:focus {
	background: var(--ceca-cta-btn-bg-hover);
	color: var(--ceca-cta-btn-color-hover);
}

.ceca-contact-cta__map {
	display: block;
	height: var(--ceca-cta-map-h);
	background: #e8e8e8;
	overflow: hidden;
}

.ceca-contact-cta__map-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ceca-contact-cta__map-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 1024px) {
	.ceca-contact-cta__inner,
	.ceca-contact-cta--map-left .ceca-contact-cta__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	/* Stacked, the map always follows the address. */
	.ceca-contact-cta--map-left .ceca-contact-cta__text,
	.ceca-contact-cta--map-left .ceca-contact-cta__map {
		order: 0;
	}

	.ceca-contact-cta__text {
		max-width: none;
	}

	.ceca-contact-cta {
		--ceca-cta-map-h: 360px;
	}

	.ceca-contact-cta .ceca-contact-cta__heading {
		font-size: 32px;
		line-height: 42px;
	}
}

/* Below desktop the instance's band padding / map height (set in Elementor
   for the desktop layout, applied to every device) must not win: gutters
   follow the site gutter. Elementor's per-instance rules (.elementor-N .elementor-element.elementor-element-ID …) outrank
   any class chain, so these overrides are !important — deliberately. */
@media (max-width: 1024px) {
	.ceca-contact-cta.ceca-contact-cta .ceca-contact-cta__inner {
		padding-inline: var(--ceca-gutter, 32px) !important;
	}
}

/* Mobile (Figma 2372:13138, 440 frame): text 45px down, 20px gutters —
   heading 30, address 20/30 as one block 15px under it, button 20px
   under that — then the map FULL-BLEED, 440×447, 39px below the button
   and closing the band (user, 2026-10-02). */
@media (max-width: 767px) {
	.ceca-contact-cta.ceca-contact-cta .ceca-contact-cta__inner {
		gap: 39px !important;
		padding: 45px 0 0 !important;
	}

	.ceca-contact-cta.ceca-contact-cta--no-map .ceca-contact-cta__inner {
		padding-bottom: 45px !important;
	}

	.ceca-contact-cta.ceca-contact-cta .ceca-contact-cta__text {
		max-width: none !important;
		padding-inline: var(--ceca-gutter, 20px) !important;
	}

	.ceca-contact-cta.ceca-contact-cta .ceca-contact-cta__heading {
		font-size: 30px !important;
		line-height: 30px !important;
	}

	.ceca-contact-cta.ceca-contact-cta .ceca-contact-cta__address {
		margin-top: 15px !important;
		font-size: 20px !important;
		line-height: 30px !important;
	}

	.ceca-contact-cta .ceca-contact-cta__address p + p {
		margin-top: 0 !important;
	}

	.ceca-contact-cta.ceca-contact-cta a.ceca-contact-cta__button {
		margin-top: 20px !important;
	}

	.ceca-contact-cta.ceca-contact-cta .ceca-contact-cta__map {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 440 / 447 !important;
	}
}
