/* Additive rules for functionality added during the WordPress conversion.
   Everything else lives in styles.css / hero-global.css, copied verbatim
   from the approved static design — this file only covers new behaviour
   (real form validation states, the honeypot field, 404 page, blog cards)
   that didn't exist as CSS in the original. */

/* Honeypot anti-spam field: present in the DOM (so bots fill it) but
   invisible and unreachable for real visitors. Do NOT use display:none —
   some bots specifically skip fields hidden that way. */
.ll-hp-field {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Contact form validation states */
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
	border-color: rgba(255, 110, 110, .55) !important;
}
.field-error-message {
	color: #ff9b9b;
	font-size: 12px;
	margin-top: 4px;
}
.form-error-banner {
	border: 1px solid rgba(255, 110, 110, .35);
	border-radius: 10px;
	padding: 14px 18px;
	background: rgba(255, 110, 110, .08);
	color: #ffb3b3;
	font-size: 14px;
	margin-bottom: 14px;
}

/* Blog listing (index of real WP posts) — kept close to the static
   "feature card + list" layout but laid out for an arbitrary number of
   posts rather than a fixed five. */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 28px 110px;
}
.blog-grid-card {
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
	display: flex;
	flex-direction: column;
	transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.blog-grid-card:hover {
	border-color: rgba(216,247,176,.3);
	transform: translateY(-3px);
}
.blog-grid-thumb {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}
.blog-grid-body {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.blog-grid-date {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}
.blog-grid-title {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.25;
	margin: 0 0 10px;
	color: var(--text);
}
.blog-grid-title a { color: inherit; }
.blog-grid-title a:hover { color: var(--accent); }
.blog-grid-excerpt {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.65;
	margin: 0;
	flex: 1;
}
.blog-grid-readmore {
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
}
@media (max-width: 980px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.blog-grid { grid-template-columns: 1fr; padding: 0 20px 90px; }
}

/* Single blog post body (uses the_content — real WordPress blocks/HTML) */
.blog-post-body {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 28px 120px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.75;
}
.blog-post-body h2, .blog-post-body h3 {
	color: var(--text);
	letter-spacing: -0.03em;
	margin: 40px 0 14px;
}
.blog-post-body p { margin: 0 0 18px; }
.blog-post-body img { max-width: 100%; border-radius: var(--radius-lg); }
.blog-post-meta {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 28px;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.blog-post-hero {
	max-width: 980px;
	margin: 0 auto 40px;
	padding: 0 28px;
}
.blog-post-hero img {
	width: 100%;
	border-radius: var(--radius-lg);
	display: block;
}

/* 404 page reuses the "coming soon" card from the static design's 404.html */
