/*
 * Marketing page content only — region cards, the advertise grid, the blog.
 * The .lu-header--public nav rules that used to sit at the top of this file
 * moved to lu-design-system.css, which is where the rest of the public header
 * lives. They were split across two files with two separate enqueue guards,
 * and /directory/ ended up with half a header when only one guard was widened
 * to cover it. One file, one guard.
 */

/* Regions hub — region cards */

.lu-region-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--lu-space-6);
}

/* Same rounded, hairline-bordered panel as .lu-features-box. */
.lu-region-card {
	display: flex;
	flex-direction: column;
	gap: var(--lu-space-3);
	position: relative;
	padding: var(--lu-space-6);
	border: 1.5px solid var(--lu-color-rough);
	border-radius: var(--lu-radius-lg);
	background: var(--lu-color-white);
	text-decoration: none;
	color: var(--lu-color-graphite);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.lu-region-card .lu-tag {
	align-self: flex-start;
}

.lu-region-card p {
	margin: 0;
	line-height: 1.3;
}

.lu-region-card--live:hover {
	transform: translateY(-3px);
	border-color: var(--lu-color-electric-turf);
}

.lu-region-card--soon {
	border-style: dashed;
	background: transparent;
}

/* Arrow mark on the live cards, matching the button arrow. */
.lu-region-card-arrow {
	width: 20px;
	height: 20px;
	margin-top: auto;
	-webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjI1NzQgMTMuMTY3TC02Ljg3NTY4ZS0wNSAxMy4xNjdMLTYuODU4ODJlLTA1IDEwLjE2NzVIMTguMjU3NEwxMC4yMTEzIDIuMTIxMzJMMTIuMzMyNiAtOS4wMTI0NmUtMDhMMjMuOTk5OCAxMS42NjczTDEyLjMzMjYgMjMuMzM0NUwxMC4yMTEzIDIxLjIxMzJMMTguMjU3NCAxMy4xNjdaIiBmaWxsPSIjMDMyRTFDIi8+Cjwvc3ZnPgo=");
	        mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjI1NzQgMTMuMTY3TC02Ljg3NTY4ZS0wNSAxMy4xNjdMLTYuODU4ODJlLTA1IDEwLjE2NzVIMTguMjU3NEwxMC4yMTEzIDIuMTIxMzJMMTIuMzMyNiAtOS4wMTI0NmUtMDhMMjMuOTk5OCAxMS42NjczTDEyLjMzMjYgMjMuMzM0NUwxMC4yMTEzIDIxLjIxMzJMMTguMjU3NCAxMy4xNjdaIiBmaWxsPSIjMDMyRTFDIi8+Cjwvc3ZnPgo=");
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-position: center;
	        mask-position: center;
	-webkit-mask-size: contain;
	        mask-size: contain;
	background-color: var(--lu-color-deep-forest);
	transition: transform 0.2s ease;
}

.lu-region-card--live:hover .lu-region-card-arrow {
	transform: translateX(6px);
}

/* Advertise page — three-column pricing grid variant */

.lu-pricing-grid--three {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Advertise enquiry form — Gravity Forms on a marketing page */

.lu-section .gform_wrapper {
	background: var(--lu-color-white);
	border-radius: var(--lu-radius-sm);
	padding: var(--lu-space-8);
	max-width: 640px;
	margin: 0 auto;
}

.lu-section .gform_wrapper .gfield_label,
.lu-section .gform_wrapper .gform-field-label {
	font-family: var(--lu-font-body);
	font-weight: 600;
	color: var(--lu-color-graphite);
}

.lu-section .gform_wrapper input[type="text"],
.lu-section .gform_wrapper input[type="email"],
.lu-section .gform_wrapper input[type="tel"],
.lu-section .gform_wrapper textarea,
.lu-section .gform_wrapper select {
	border: 1px solid var(--lu-color-border, #D6D9DD) !important;
	border-radius: 6px !important;
	font-family: var(--lu-font-body) !important;
}

.lu-section .gform_wrapper .gform_footer input[type="submit"],
.lu-section .gform_wrapper .gform_button {
	background: var(--lu-color-deep-forest) !important;
	color: var(--lu-color-white) !important;
	border: none !important;
	border-radius: 6px !important;
	font-family: var(--lu-font-body) !important;
	font-weight: 600 !important;
	padding: 12px 24px !important;
	cursor: pointer;
}

.lu-section .gform_wrapper .gform_footer input[type="submit"]:hover,
.lu-section .gform_wrapper .gform_button:hover {
	background: #0e3f1d !important;
}

.lu-section .gform_wrapper .gchoice label::before {
	content: none !important;
}

.lu-section .gform_wrapper .gfield-choice-input[type="checkbox"] {
	appearance: auto !important;
	-webkit-appearance: auto !important;
	width: 18px !important;
	height: 18px !important;
}

/* Public blog — post grid + single article */

.lu-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--lu-space-6);
	align-items: start;
}

/* Matches the homepage's .lu-post-card. */
.lu-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--lu-color-white);
	border-radius: var(--lu-radius-lg);
	overflow: hidden;
	border: none;
	transition: transform 0.2s ease;
}

.lu-blog-card:hover {
	transform: translateY(-3px);
}

.lu-blog-card-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.lu-blog-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lu-blog-card-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--lu-color-green-tint);
}

.lu-blog-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: var(--lu-space-6);
}

.lu-blog-card-date {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--lu-color-caddy);
	margin-bottom: var(--lu-space-2);
}

.lu-blog-card-body p {
	color: var(--lu-color-caddy);
	line-height: 1.4;
}

.lu-blog-card-link {
	margin-top: auto;
	font-weight: 600;
	color: var(--lu-color-deep-forest);
}

.lu-blog-pagination {
	margin-top: var(--lu-space-16);
	text-align: center;
}

.lu-blog-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 4px;
	border-radius: var(--lu-radius-sm);
	text-decoration: none;
	color: var(--lu-color-graphite);
}

.lu-blog-pagination .page-numbers.current {
	background: var(--lu-color-deep-forest);
	color: var(--lu-color-white);
}

.lu-blog-single-thumb img {
	width: 100%;
	height: auto;
	border-radius: var(--lu-radius-sm);
	margin-bottom: var(--lu-space-8);
}

.lu-blog-single-content {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.lu-blog-single-content p {
	margin-bottom: var(--lu-space-4);
}
