/*
Theme Name: AMG Experience WP Theme
Theme URI: https://core12.com
Author: Core 12
Author URI: https://core12.com
Description: WordPress 7.0 theme base for ACF Pro-managed content with a React and Tailwind CSS frontend.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: amgx-wp
Requires at least: 7.0
Requires PHP: 8.1
*/

:root {
	--amgx-font-sans: "CorpoSTextLight", "Inter", "Helvetica Neue", Arial, sans-serif;
	--amgx-text: #171717;
	--amgx-surface: #ffffff;
}

html {
	margin: 0 !important;
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--amgx-surface);
	color: var(--amgx-text);
	font-family: var(--amgx-font-sans);
	margin: 0;
}

body.blank-page {
	background: #1a1a18;
	color: #ffffff;
}

body.blank-page .wpforms-container {
	margin: 0;
	padding: 24px;
}

.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select,
.wpforms-container label {
	font-family: var(--amgx-font-sans) !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: #ffffff;
	clip: auto !important;
	clip-path: none;
	color: #000000;
	display: block;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	position: fixed;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.amgx-cookie-banner {
	background: #1b1c1a;
	border-top: 2px solid #e4002b;
	bottom: 0;
	box-sizing: border-box;
	color: #ffffff;
	left: 0;
	padding: 24px 32px 26px;
	position: fixed;
	right: 0;
	z-index: 100001;
}

html.amgx-cookie-banner--accepted .amgx-cookie-banner,
.amgx-cookie-banner[hidden] {
	display: none;
}

/* The theme banner is the presentation layer for C12 Compliance's policy UI. */
#c12-consent-banner {
	display: none !important;
}

html.amgx-cookie-banner-active #c12-consent-reopen {
	display: none !important;
}

.amgx-cookie-banner__inner {
	align-items: center;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 auto;
	max-width: 1920px;
}

.amgx-cookie-banner__copy p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	margin: 0;
}

.amgx-cookie-banner__copy p + p {
	margin-top: 2px;
}

.amgx-cookie-banner__actions {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 122px;
}

.amgx-cookie-banner__accept {
	appearance: none;
	background: #e4002b;
	border: 1px solid #e4002b;
	border-radius: 2px;
	color: #ffffff;
	cursor: pointer;
	font: 500 12px/1 var(--amgx-font-sans);
	letter-spacing: 0;
	min-height: 41px;
	padding: 12px 24px;
	text-transform: uppercase;
	width: 122px;
}

.amgx-cookie-banner__accept:focus-visible,
.amgx-cookie-banner__actions a:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.amgx-cookie-banner__accept:hover {
	background: #bb0024;
	border-color: #bb0024;
}

.amgx-cookie-banner__links {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.amgx-cookie-banner__settings,
.amgx-cookie-banner__actions a {
	appearance: none;
	background: transparent;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	font-family: var(--amgx-font-sans);
	font-size: 14px;
	line-height: 1;
	padding: 0;
	text-underline-offset: 3px;
}

.amgx-cookie-banner__settings {
	text-decoration: underline;
}

body.amgx-cookie-banner-embed {
	background: #1b1c1a;
	color: #ffffff;
	margin: 0;
}

body.amgx-cookie-banner-embed .amgx-cookie-banner {
	bottom: auto;
	left: auto;
	position: relative;
	right: auto;
}

@media (max-width: 640px) {
	.amgx-cookie-banner {
		padding: 20px;
	}

	.amgx-cookie-banner__inner {
		align-items: stretch;
		gap: 20px;
		grid-template-columns: 1fr;
	}

	.amgx-cookie-banner__copy p {
		font-size: 14px;
		line-height: 1.5;
	}

	.amgx-cookie-banner__actions {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
	}

	.amgx-cookie-banner__links {
		align-items: flex-start;
		flex-direction: row;
		gap: 20px;
	}
}
