/*
Theme Name: AdvancedWP FSE
Theme URI: https://advancedwp.com/
Author: Twirling Umbrellas Ltd.
Author URI: https://twirlingumbrellas.com/
Description: A lightweight full-site editing theme for AdvancedWP managed WordPress hosting, built from the Umbrellas starter with core blocks and a theme-native client logo rotator.
Version: 1.12.0
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: advancedwp-fse
*/

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

a,
.wp-element-button {
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.awp-site-header {
	position: relative;
	z-index: 20;
	background: #252261;
}

.home .awp-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
}

.awp-header-inner {
	min-height: 100px;
}

.awp-header-logo img {
	display: block;
	width: 242px;
	height: auto;
}

.awp-header-contact {
	gap: 1.5rem;
	font-size: 0.875rem;
	text-transform: uppercase;
}

.awp-header-contact p {
	margin: 0;
}

.awp-header-contact a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.awp-header-contact a:hover {
	color: #fff;
}

.awp-home {
	padding: 0 !important;
}

.awp-home > * {
	margin-block-start: 0 !important;
}

.awp-hero {
	position: relative;
	isolation: isolate;
	height: 755px;
	min-height: 755px;
	overflow: hidden;
	padding: 0 !important;
	background: #252261;
}

.awp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(21, 18, 79, 0.9) 0%,
		rgba(24, 22, 83, 0.76) 32%,
		rgba(27, 25, 88, 0.48) 58%,
		rgba(27, 25, 88, 0.04) 78%
	);
}

.awp-space-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	max-width: none !important;
	height: 755px;
	margin: 0 !important;
}

.awp-space-art img {
	display: block;
	width: 100%;
	min-width: 100%;
	height: 755px;
	object-fit: cover;
	object-position: center center;
	transform-origin: center center;
	animation: awp-scene-float 8s ease-in-out infinite;
}

.awp-hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 755px;
	box-sizing: border-box;
	padding-bottom: 190px;
}

.awp-hero-title {
	width: 960px;
	max-width: min(960px, 100%) !important;
	margin: 0;
	font-size: clamp(3rem, 4.75vw, 3.85rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.045em;
	text-shadow: 0 3px 24px rgba(7, 6, 45, 0.42);
	animation: awp-fade-up 800ms 120ms ease-out both;
}

.awp-hero-subtitle {
	margin-top: 1.35rem;
	font-size: 1.2rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.88) !important;
	text-shadow: 0 2px 16px rgba(7, 6, 45, 0.48);
	animation: awp-fade-up 800ms 300ms ease-out both;
}

.awp-detail-panel {
	position: relative;
	z-index: 10;
	max-width: var(--wp--style--global--wide-size) !important;
	min-height: 270px;
	box-sizing: border-box;
	margin: -131px auto 150px !important;
	padding: 40px !important;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(47, 47, 47, 0.1);
	animation: awp-panel-rise 800ms 420ms ease-out both;
}

.awp-detail-columns {
	width: 100%;
	max-width: none !important;
	min-height: 190px;
	margin: 0 !important;
	gap: 3rem;
}

.awp-detail-panel h2 {
	margin: 0 0 1.25rem;
	font-size: clamp(1.7rem, 2.4vw, 2rem);
}

.awp-detail-panel p {
	margin: 0;
	line-height: 2;
}

.awp-feature-grid {
	gap: 1.1rem 2.3rem;
}

.awp-feature-item {
	gap: 0.9rem;
	min-height: 54px;
}

.awp-feature-item figure,
.awp-feature-item img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	flex: 0 0 36px;
}

.awp-feature-item p {
	font-size: 1.02rem;
	line-height: 1.3;
}

.awp-important-note {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 312px;
	box-sizing: border-box;
	padding: 50px 0;
}

.awp-important-note h2 {
	margin-top: 0;
	font-size: clamp(2rem, 3vw, 2.45rem);
}

.awp-important-note p {
	margin-bottom: 0;
	font-size: 1.08rem !important;
	line-height: 2;
}

.awp-local {
	position: relative;
	min-height: 690px;
	box-sizing: border-box;
	overflow: hidden;
	padding: 178px 0 172px !important;
	background: #f1fbfa;
}

.awp-local::before,
.awp-local::after,
.awp-site-footer::before {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 190px;
	pointer-events: none;
	background-image: var(--awp-wave-bottom, url("assets/images/wave-bottom.svg"));
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: cover;
}

.awp-local::before {
	top: -5px;
	transform: rotate(180deg);
}

.awp-local::after {
	bottom: -5px;
}

.awp-local-columns {
	position: relative;
	z-index: 1;
	min-height: 340px;
	align-items: center !important;
}

.awp-local-item {
	padding: 2.5rem 3.5rem;
}

.awp-local-heading {
	gap: 1.25rem;
	align-items: center;
}

.awp-local-heading h3 {
	margin: 0;
	font-size: 1.45rem;
	line-height: 1.24;
}

.awp-local-icon {
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	flex: 0 0 70px;
	box-sizing: border-box;
	padding: 16px;
	border-radius: 50%;
	background: #b9f7c8;
}

.awp-local-icon.is-global {
	background: #c4d5ff;
}

.awp-local-icon img {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.awp-local-item:first-child .awp-local-icon {
	animation: awp-icon-float 5.5s ease-in-out infinite;
}

.awp-local-item:last-child .awp-local-icon {
	animation: awp-icon-float 5.5s 900ms ease-in-out infinite;
}

.awp-local-item > p {
	margin-top: 2rem;
	font-size: 0.95rem;
	line-height: 1.8;
}

.awp-partners {
	min-height: 583px;
	box-sizing: border-box;
	padding: 50px 0;
	background: #fff;
}

.awp-partners-columns {
	min-height: 483px;
	margin: 0 auto;
}

.awp-partner-copy {
	padding-left: 1.5rem;
}

.awp-partner-copy h2 {
	margin-top: 0;
	font-size: clamp(2rem, 3vw, 2.7rem);
}

.awp-partner-copy p {
	font-size: 1.12rem !important;
	line-height: 2;
}

@keyframes awp-scene-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1.006);
	}

	50% {
		transform: translate3d(0, -7px, 0) scale(1.012);
	}
}

@keyframes awp-fade-up {
	from {
		opacity: 0;
		transform: translate3d(0, 22px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes awp-panel-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes awp-icon-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-7px);
	}
}

@supports (animation-timeline: view()) {
	.awp-important-note > *,
	.awp-local-item,
	.awp-client-rotator,
	.awp-partner-copy,
	.awp-footer-contact {
		animation: awp-fade-up linear both;
		animation-timeline: view();
		animation-range: entry 0% cover 28%;
	}
}

.awp-site-footer {
	position: relative;
	min-height: 534px;
	box-sizing: border-box;
	overflow: hidden;
	padding: 185px 0 42px !important;
	background: #eef3f7;
}

.awp-site-footer::before {
	top: -5px;
	transform: rotate(180deg);
}

.awp-footer-contact {
	position: relative;
	z-index: 1;
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.awp-footer-contact h2,
.awp-footer-contact p {
	margin-top: 0;
}

.awp-footer-contact p {
	font-size: 1.1rem !important;
}

.awp-footer-legal {
	position: relative;
	z-index: 1;
	margin-top: 1.5rem;
}

.awp-footer-legal p {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.5;
	opacity: 0.68;
}

@media (max-width: 980px) {
	.awp-space-art img {
		width: 1450px;
		min-width: 1450px;
		max-width: none;
		object-position: 55% center;
	}

	.awp-detail-panel {
		width: calc(100% - 3rem);
		padding: 2rem !important;
	}

	.awp-detail-columns {
		gap: 2rem;
	}

	.awp-local-item {
		padding: 2rem 1rem;
	}

	.awp-local-columns {
		gap: 2rem !important;
	}
}

@media (max-width: 760px) {
	.admin-bar.home .awp-site-header {
		top: 46px;
	}

	.home .awp-site-header {
		position: absolute;
	}

	.awp-header-inner {
		min-height: 82px;
	}

	.awp-header-logo img {
		width: min(205px, 55vw);
	}

	.awp-header-contact {
		gap: 0.75rem;
		font-size: 0.7rem;
	}

	.awp-header-contact p:first-child {
		display: none;
	}

	.awp-hero,
	.awp-space-art,
	.awp-space-art img,
	.awp-hero-content {
		height: 600px;
		min-height: 600px;
	}

	.awp-space-art img {
		position: absolute;
		right: -35px;
		bottom: 0;
		left: auto;
		width: 620px;
		min-width: 620px;
		height: 600px;
		object-fit: contain;
		object-position: center bottom;
	}

	.awp-hero::after {
		background: linear-gradient(
			90deg,
			rgba(21, 18, 79, 0.94) 0%,
			rgba(24, 22, 83, 0.72) 70%,
			rgba(27, 25, 88, 0.38) 100%
		);
	}

	.awp-hero-content {
		padding-right: 1.25rem;
		padding-bottom: 120px;
		padding-left: 1.25rem;
	}

	.awp-hero-title {
		max-width: 520px;
		font-size: clamp(2.45rem, 11vw, 3.4rem);
	}

	.awp-hero-subtitle {
		max-width: 400px;
		font-size: 1rem;
	}

	.awp-detail-panel {
		min-height: auto;
		margin-top: -70px !important;
		margin-bottom: 70px !important;
	}

	.awp-detail-columns {
		min-height: auto;
		flex-direction: column;
	}

	.awp-detail-columns > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.awp-feature-grid {
		grid-template-columns: 1fr !important;
	}

	.awp-important-note {
		min-height: auto;
		padding: 55px 1rem 90px;
	}

	.awp-local {
		min-height: auto;
		padding: 150px 0 !important;
	}

	.awp-local-columns {
		min-height: auto;
		flex-direction: column;
	}

	.awp-local-columns > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.awp-local-item {
		padding: 2rem 0;
	}

	.awp-partners {
		min-height: auto;
		padding: 70px 0 90px;
	}

	.awp-partners-columns {
		min-height: auto;
		gap: 3rem;
		flex-direction: column;
	}

	.awp-partners-columns > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.awp-partner-copy {
		padding-left: 0;
		text-align: center;
	}

	.awp-site-footer {
		min-height: 500px;
		padding-top: 160px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
