/**
 * FOA Layout Styles
 *
 * Split-screen layouts, navigation effects, and service point styling.
 *
 * @package foa-theme
 */

/* Split-screen right column: scrollable viewport height */
.foa-right-content {
	height: 100vh;
	overflow-y: auto;
}

/* Front page clickable area over background */
.foa-front-link {
	width: 300px;
	height: 300px;
	display: block;
}

/* Orange accent divider */
.foa-orange-divider {
	background-color: #F78E1E;
	width: 30px;
	height: 10px;
}

/* Navigation top spacing */
.foa-navi {
	margin-top: 34px !important;
}

/* Nav orange underline animation */
.wp-block-navigation-item__content::after {
	transition: all ease-in-out 0.2s;
	background: #F78E1E;
	content: "";
	display: block;
	height: 5px;
	width: 100%;
}

.wp-block-navigation-item__content:hover::after {
	width: 0;
}

/* Service point location link */
.foa-location-link {
	border: 3px solid #FFF;
	border-radius: 30px;
	text-decoration: none;
	padding: 9px 15px;
	display: inline-block;
}

.foa-location-link:hover {
	color: #000;
	background-color: #FFF;
}

/* Service points list — grouped by region */
.foa-sp-list {
	margin-top: 30px;
}

.foa-sp-region {
	margin-bottom: 40px;
}

.foa-sp-region-title {
	margin-bottom: 20px;
}

.foa-sp-region-items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
	gap: 24px;
}

.foa-sp-card {
	padding: 16px;
	border: none;
}

.foa-sp-card-title {
	margin-top: 0;
	margin-bottom: 12px;
}

.foa-sp-card-details {
	font-size: 0.9em;
}

.foa-sp-card-details > div {
	margin-bottom: 6px;
}

.foa-sp-card-address {
	line-height: 1.6;
}

.foa-sp-card-map {
	margin-top: 12px;
}
