/* ==========================================================================
 * Theme Settings output (inc/theme-settings.php)
 * Header tagline + buttons, footer contact / social icons / copyright.
 * ======================================================================= */

/* ---------- Header: tagline ---------- */
.raptor-header .raptor-tagline {
	flex: 0 1 auto;
	max-width: 240px;
	margin: 0 0 0 var(--wp--preset--spacing--40, 24px);
	padding-left: var(--wp--preset--spacing--40, 24px);
	border-left: 1px solid var(--wp--preset--color--accent-6);
	font-family: var(--wp--preset--font-family--saira-condensed);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
}

/* ---------- Header: buttons ---------- */
.raptor-header-buttons {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
}

.raptor-header .raptor-header-buttons {
	margin-left: var(--wp--preset--spacing--50, 40px);
}

.raptor-btn {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, padding 0.25s ease;
}

.raptor-btn:hover,
.raptor-btn:focus {
	text-decoration: none;
}

.raptor-header .raptor-btn {
	padding: 12px 22px;
	font-size: 16px;
	line-height: 1.2;
}

.raptor-header.is-scrolled .raptor-btn {
	padding-block: 9px;
}

.raptor-btn.raptor-btn--alternative {
	border: 2px solid var(--wp--preset--color--accent-1);
	background: transparent;
	color: var(--wp--preset--color--contrast);
}

.raptor-header .raptor-btn.raptor-btn--alternative {
	padding: 10px 20px;
}

.raptor-header.is-scrolled .raptor-btn.raptor-btn--alternative {
	padding-block: 7px;
}

.raptor-btn.raptor-btn--alternative:hover,
.raptor-btn.raptor-btn--alternative:focus-visible {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
}

/* Keep the spaced-out menu clear of the extras. */
@media (min-width: 600px) {
	.raptor-header > .raptor-tagline + .wp-block-navigation {
		margin-left: var(--wp--preset--spacing--50, 40px);
	}
}

/* Tagline only where there's room for it next to the full menu. */
@media (max-width: 1199px) {
	.raptor-header .raptor-tagline {
		display: none;
	}
}

/* Tablets: the full menu needs the whole bar. */
@media (min-width: 600px) and (max-width: 959px) {
	.raptor-header .raptor-header-buttons {
		display: none;
	}
}

/* Phones: menu collapses to the toggle — show the first button beside it. */
@media (max-width: 599px) {
	.raptor-header .raptor-header-buttons {
		order: 1;
		margin-left: auto;
		margin-right: 12px;
	}
	.raptor-header .wp-block-navigation {
		order: 2;
	}
	.raptor-header .raptor-btn:not(:first-child) {
		display: none;
	}
	.raptor-header .raptor-btn,
	.raptor-header .raptor-btn.raptor-btn--alternative {
		padding: 8px 14px;
		font-size: 14px;
	}
}

/* ---------- Contact details ---------- */
.raptor-contact-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.raptor-contact-block__details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 32px;
	font-family: var(--wp--preset--font-family--saira-condensed);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-5);
}

.raptor-contact__link {
	color: inherit;
	text-decoration: none;
}

.raptor-contact__link:hover,
.raptor-contact__link:focus-visible {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}

address.raptor-contact {
	font-style: normal;
}

/* ---------- Contact page: column titles (text blocks) ---------- */
.acfsb-section .raptor-col-title {
	margin: 0 0 var(--wp--preset--spacing--50, 40px);
	font-size: clamp(36px, 4vw, 56px);
	line-height: 0.95;
	color: var(--wp--preset--color--contrast);
}

/* ---------- Contact page: info column ([raptor_contact_info]) ---------- */
.raptor-contact-info {
	display: grid;
	gap: var(--wp--preset--spacing--50, 40px);
}

.raptor-contact-info__item {
	padding-top: var(--wp--preset--spacing--30, 16px);
	border-top: 3px solid var(--wp--preset--color--accent-1);
}

.raptor-contact-info .raptor-contact-info__label {
	margin: 0 0 10px;
	font-family: var(--wp--preset--font-family--saira-condensed);
	font-size: var(--wp--preset--font-size--x-small, 13px);
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-1);
}

.raptor-contact-info .raptor-contact {
	display: block;
	font-family: var(--wp--preset--font-family--saira-condensed);
	font-size: var(--wp--preset--font-size--x-large, 26px);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	overflow-wrap: anywhere;
}

.raptor-contact-info .raptor-contact__link {
	color: inherit;
	text-decoration: none;
}

.raptor-contact-info .raptor-contact__link:hover,
.raptor-contact-info .raptor-contact__link:focus-visible {
	color: var(--wp--preset--color--accent-1);
}

.raptor-contact-info .raptor-social {
	justify-content: flex-start;
}

/* ---------- Map ([raptor_map]) ---------- */
.raptor-map {
	position: relative;
	height: var(--raptor-map-h, 480px);
	background: var(--wp--preset--color--accent-3);
}

.raptor-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 600px) {
	.raptor-map {
		height: min(var(--raptor-map-h, 480px), 70vh);
	}
}

/* Full-width map section: add the class raptor-map-section to the section. */
.acfsb-section.raptor-map-section {
	padding-block: 0;
}

.raptor-map-section .acfsb-container {
	max-width: none;
	padding-inline: 0;
}

.raptor-map-section .acfsb-grid {
	gap: 0;
}

/* ---------- Contact form column (box around the Gravity Form) ---------- */
.raptor-contact-form {
	padding: var(--wp--preset--spacing--50, 40px);
	border: 1px solid var(--wp--preset--color--accent-6);
	background: var(--wp--preset--color--accent-3);
}

/* Form styles: assets/css/gravity-forms.css */

/* ---------- Social icons ---------- */
.raptor-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.raptor-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 4px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--accent-6);
	color: var(--wp--preset--color--accent-5);
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.raptor-social__link:hover,
.raptor-social__link:focus-visible {
	background: var(--wp--preset--color--accent-1);
	border-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	text-decoration: none;
}

.raptor-social__icon {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.raptor-social__text {
	font-size: 13px;
	font-weight: 700;
	padding: 0 8px;
}

@media (prefers-reduced-motion: reduce) {
	.raptor-btn,
	.raptor-social__link {
		transition: none;
	}
}
