/*
 * "Start een gesprek met de AI-assistent" call-to-action block
 * ([adc_assistant_cta] shortcode).
 *
 * Lives in the page (not in the widget's Shadow DOM), so every selector is
 * prefixed .adc-cta and the button rules are written to out-rank typical
 * theme / Elementor link and button styles (hover colours, underlines, etc.).
 *
 * Layout: stacked (button above the explanation) by default - which is what
 * a phone gets, and what a narrow column beside a headline gets. When the
 * block itself is wide enough (>= 640px) it switches to one row. This uses a
 * container query, so it reacts to the space the block is really given, not
 * to the screen size.
 *
 * Brand: Tandarts-Dentist gold #BE9462, Manrope / Inter.
 */

.adc-cta {
	container-type: inline-size;
	container-name: adc-cta;
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: var(--adc-cta-max, none);
	margin: 0;
	padding: 0;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.adc-cta *,
.adc-cta *::before,
.adc-cta *::after {
	box-sizing: border-box;
}
.adc-cta--right  { margin-left: auto; }
.adc-cta--center { margin-left: auto; margin-right: auto; }

.adc-cta .adc-cta__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	padding: 22px;
	border-radius: 18px;
}

/* ---- dark (for the photo / dark hero) ---- */
.adc-cta--dark .adc-cta__card {
	background: rgba(11, 18, 27, 0.66);
	border: 1px solid rgba(190, 148, 98, 0.6);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.adc-cta--dark .adc-cta__text {
	color: rgba(255, 255, 255, 0.92);
}

/* ---- light (for a white / light section) ---- */
.adc-cta--light .adc-cta__card {
	background: #ffffff;
	border: 1px solid rgba(190, 148, 98, 0.5);
	box-shadow: 0 12px 34px rgba(16, 24, 40, 0.1);
}
.adc-cta--light .adc-cta__text {
	color: #3a4550;
}

/* ---- the button ---- */
.adc-cta a.adc-cta__btn,
.adc-cta a.adc-cta__btn:visited {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	padding: 14px 22px;
	border: 0;
	border-radius: 14px;
	background: #be9462;
	color: #10151c;
	font-family: Manrope, Inter, system-ui, sans-serif;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(190, 148, 98, 0.35);
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	-webkit-tap-highlight-color: transparent;
	animation: adc-cta-pulse 3.2s ease-out 1.2s infinite;
}
.adc-cta a.adc-cta__btn:hover,
.adc-cta a.adc-cta__btn:focus {
	background: #cfa877;
	color: #10151c;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(190, 148, 98, 0.5);
	animation: none;
}
.adc-cta a.adc-cta__btn:active {
	background: #b48651;
	color: #10151c;
	transform: translateY(0);
}
.adc-cta a.adc-cta__btn:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(190, 148, 98, 0.85);
}
.adc-cta--light a.adc-cta__btn:focus-visible {
	outline-color: #10151c;
}

.adc-cta .adc-cta__icon,
.adc-cta .adc-cta__arrow {
	flex: 0 0 auto;
	display: inline-flex;
	width: 26px;
	height: 26px;
}
.adc-cta .adc-cta__arrow {
	width: 22px;
	height: 22px;
	transition: transform 0.18s ease;
}
.adc-cta a.adc-cta__btn:hover .adc-cta__arrow,
.adc-cta a.adc-cta__btn:focus .adc-cta__arrow {
	transform: translateX(3px);
}
.adc-cta .adc-cta__icon svg,
.adc-cta .adc-cta__arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}
.adc-cta .adc-cta__label {
	flex: 0 1 auto;
	min-width: 0;
	text-wrap: balance;
}

/* ---- the explanation ---- */
.adc-cta .adc-cta__text {
	margin: 0;
	padding: 0;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}

/* Wide enough (a full-width row): button and explanation side by side. */
@container adc-cta (min-width: 640px) {
	.adc-cta .adc-cta__card {
		flex-direction: row;
		align-items: center;
		gap: 26px;
		padding: 22px 26px;
	}
	.adc-cta a.adc-cta__btn {
		flex: 0 0 auto;
		max-width: 440px;
	}
	.adc-cta .adc-cta__text {
		flex: 1 1 auto;
		font-size: 16px;
	}
}

/* Very narrow phones */
@container adc-cta (max-width: 320px) {
	.adc-cta .adc-cta__card {
		padding: 16px;
	}
	.adc-cta a.adc-cta__btn {
		font-size: 16px;
		padding: 12px 16px;
	}
}

@keyframes adc-cta-pulse {
	0%   { box-shadow: 0 8px 22px rgba(190, 148, 98, 0.35), 0 0 0 0 rgba(190, 148, 98, 0.55); }
	70%  { box-shadow: 0 8px 22px rgba(190, 148, 98, 0.35), 0 0 0 14px rgba(190, 148, 98, 0); }
	100% { box-shadow: 0 8px 22px rgba(190, 148, 98, 0.35), 0 0 0 0 rgba(190, 148, 98, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.adc-cta a.adc-cta__btn {
		animation: none;
		transition: none;
	}
	.adc-cta .adc-cta__arrow {
		transition: none;
	}
}

/* The assistant's own picture (robot) as the button icon. */
.adc-cta .adc-cta__robot { width: 34px; height: 34px; }
.adc-cta .adc-cta__robot img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
