/* Oregon Veteran Hub theme chrome — colors match the FlutterFlow app. */

:root {
	--ovh-navy: #1B365D;
	--ovh-navy-deep: #08284F;
	--ovh-gold: #D4AF37;
	--ovh-crimson: #B12235;
	--ovh-forest: #2D6A4F;
	--ovh-surface: #F1F4F8;
	--ovh-white: #ffffff;
	--ovh-ink: #1C2433;
	--ovh-muted: #5B6475;
	--ovh-line: #d8dee8;
	--ovh-radius: 12px;
	--ovh-header-h: 76px;
	--ovh-sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body.ovh-site,
.ovh-site {
	font-family: var(--ovh-sans);
	color: var(--ovh-ink);
	background: var(--ovh-white);
	margin: 0;
}

.ovh-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--ovh-gold);
	color: var(--ovh-navy-deep);
	padding: 8px 14px;
	z-index: 1000;
}

.ovh-skip:focus {
	left: 12px;
	top: 12px;
}

/* ----- Header ----- */

.ovh-header {
	background: var(--ovh-navy);
	color: var(--ovh-white);
	border-bottom: 3px solid var(--ovh-gold);
	position: sticky;
	top: 0;
	z-index: 200;
}

.ovh-header-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--ovh-header-h);
}

.ovh-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ovh-white);
	text-decoration: none;
	min-width: 0;
}

.ovh-brand:hover,
.ovh-brand:focus {
	color: var(--ovh-white);
}

.ovh-badge {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	display: block;
}

.ovh-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}

.ovh-brand-name {
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.ovh-brand-tag {
	color: var(--ovh-gold);
	font-size: 0.82rem;
	font-weight: 600;
	margin-top: 3px;
}

.ovh-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	width: 44px;
	height: 44px;
	padding: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.ovh-nav-toggle-bars,
.ovh-nav-toggle-bars::before,
.ovh-nav-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ovh-white);
	position: relative;
	content: "";
}

.ovh-nav-toggle-bars::before {
	position: absolute;
	top: -6px;
}

.ovh-nav-toggle-bars::after {
	position: absolute;
	top: 6px;
}

.ovh-nav .ovh-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 2px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.ovh-nav .ovh-menu a {
	color: var(--ovh-white);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 8px 11px;
	border-radius: 8px;
	display: block;
}

.ovh-nav .ovh-menu a:hover,
.ovh-nav .ovh-menu a:focus {
	background: rgba(255, 255, 255, 0.12);
	color: var(--ovh-white);
}

.ovh-nav .ovh-menu .current-menu-item > a,
.ovh-nav .ovh-menu .current_page_item > a {
	background: var(--ovh-gold);
	color: var(--ovh-navy-deep);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ----- Hero ----- */

.ovh-hero {
	margin: 0;
	background: var(--ovh-navy-deep);
	line-height: 0;
}

.ovh-hero-image {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ----- Content shell ----- */

.ovh-main {
	max-width: 760px;
	margin: 0 auto;
	padding: 28px 20px 64px;
}

.ovh-main-wide {
	max-width: 1160px;
}

body.home .ovh-page-title,
body.home .wp-block-post-title,
.home .ovh-page-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.ovh-page-title,
.wp-block-post-title {
	color: var(--ovh-navy);
	font-size: 2rem;
	margin: 0 0 0.6em;
}

.ovh-main > h1:first-child,
.ovh-main .wp-block-post-title {
	margin-top: 0;
}

.ovh-main h2 {
	color: var(--ovh-navy);
	font-size: 1.4rem;
	margin: 1.6em 0 0.5em;
	padding-left: 10px;
	border-left: 4px solid var(--ovh-gold);
}

.ovh-main h3 {
	color: var(--ovh-navy);
	font-size: 1.15rem;
	margin: 1.3em 0 0.4em;
}

.ovh-main a {
	color: var(--ovh-navy);
}

.ovh-main a:hover {
	color: var(--ovh-crimson);
}

.ovh-lead {
	font-size: 1.15rem;
	color: var(--ovh-muted);
	margin: 0 0 1.2em;
}

/* Feature tiles on Home */

.ovh-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 1.5em 0 2em;
}

.ovh-tile {
	display: block;
	background: var(--ovh-surface);
	border-radius: var(--ovh-radius);
	padding: 18px 18px 16px;
	text-decoration: none;
	color: var(--ovh-ink);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	border: 1px solid transparent;
}

.ovh-tile:hover,
.ovh-tile:focus {
	border-color: var(--ovh-gold);
	color: var(--ovh-ink);
}

.ovh-tile h3 {
	margin: 0 0 6px;
	padding: 0;
	border: 0;
	color: var(--ovh-navy);
	font-size: 1.1rem;
}

.ovh-tile p {
	margin: 0;
	color: var(--ovh-muted);
	font-size: 0.95rem;
}

.ovh-tile-help {
	background: var(--ovh-crimson);
	color: var(--ovh-white);
}

.ovh-tile-help h3,
.ovh-tile-help p,
.ovh-tile-help:hover,
.ovh-tile-help:focus {
	color: var(--ovh-white);
}

.ovh-tile-navy {
	background: var(--ovh-navy);
	color: var(--ovh-white);
}

.ovh-tile-navy h3,
.ovh-tile-navy p,
.ovh-tile-navy:hover,
.ovh-tile-navy:focus {
	color: var(--ovh-white);
}

/* Callout boxes */

.ovh-note {
	background: #fff8e1;
	border: 1px solid #f0dc9a;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 1.2em 0;
}

.ovh-crisis-box {
	background: var(--ovh-navy-deep);
	color: var(--ovh-white);
	border-left: 5px solid var(--ovh-gold);
	border-radius: 10px;
	padding: 18px 18px 16px;
	margin: 0 0 1.6em;
}

.ovh-crisis-box a {
	color: var(--ovh-gold);
}

.ovh-crisis-box a:hover {
	color: var(--ovh-white);
}

.ovh-crisis-box h2 {
	color: var(--ovh-white);
	border: 0;
	padding: 0;
	margin: 0 0 0.4em;
	font-size: 1.25rem;
}

/* ----- Footer ----- */

.ovh-footer {
	background: var(--ovh-navy-deep);
	color: #d7dee8;
	margin-top: 0;
	border-top: 3px solid var(--ovh-gold);
}

.ovh-footer-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 32px 20px 28px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px 40px;
}

.ovh-crisis {
	grid-column: 1 / -1;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(212, 175, 55, 0.45);
	border-radius: 12px;
	padding: 16px 18px;
}

.ovh-crisis-title,
.ovh-app-cta-title {
	color: var(--ovh-white);
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.ovh-crisis p,
.ovh-app-cta p {
	margin: 0 0 8px;
}

.ovh-crisis-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
}

.ovh-crisis-link {
	color: var(--ovh-gold);
	font-weight: 700;
	text-decoration: underline;
}

.ovh-crisis-link:hover,
.ovh-footer a:hover {
	color: var(--ovh-white);
}

.ovh-crisis-sep {
	color: rgba(255, 255, 255, 0.4);
}

.ovh-store-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.ovh-store-badge {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	padding: 10px 14px;
	color: var(--ovh-white);
	font-weight: 700;
	font-size: 0.92rem;
	background: rgba(255, 255, 255, 0.04);
}

.ovh-footer a {
	color: #e8edf4;
}

.ovh-footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 10px;
	padding: 0;
}

.ovh-copyright,
.ovh-footer-contact {
	margin: 0 0 6px;
	font-size: 0.92rem;
}

/* ----- Shortcode cards (also used if plugin CSS loads later) ----- */

.ovh-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin: 1em 0 2em;
}

.ovh-card {
	background: var(--ovh-surface);
	border-radius: var(--ovh-radius);
	padding: 16px 18px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ovh-card h3 {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	font-size: 1.15rem;
}

.ovh-card-meta {
	color: var(--ovh-ink);
	margin: 0 0 2px;
}

.ovh-badge-text {
	color: var(--ovh-gold);
	font-weight: 700;
	margin: 8px 0 0;
}

.ovh-discount {
	color: var(--ovh-forest);
	margin: 2px 0 0;
}

.ovh-muted,
.ovh-rating,
.ovh-empty {
	color: var(--ovh-muted);
}

.ovh-empty {
	background: var(--ovh-surface);
	border-radius: var(--ovh-radius);
	padding: 28px 18px;
	text-align: center;
}

.ovh-event-date {
	color: var(--ovh-crimson);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	margin: 0 0 6px;
}

/* ----- 404 ----- */

.ovh-404 {
	text-align: center;
	padding: 40px 20px 80px;
}

/* ----- Mobile ----- */

@media (max-width: 800px) {
	.ovh-nav-toggle {
		display: inline-flex;
	}

	.ovh-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--ovh-navy-deep);
		border-bottom: 3px solid var(--ovh-gold);
		padding: 8px 16px 16px;
	}

	.ovh-header {
		position: sticky;
	}

	.ovh-header-inner {
		position: relative;
	}

	.ovh-nav.is-open {
		display: block;
	}

	.ovh-nav .ovh-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.ovh-nav .ovh-menu a {
		padding: 12px 12px;
	}

	.ovh-brand-name {
		font-size: 1rem;
		white-space: normal;
	}

	.ovh-tiles {
		grid-template-columns: 1fr;
	}

	.ovh-footer-inner {
		grid-template-columns: 1fr;
	}

	.ovh-hero-image {
		max-height: 240px;
	}
}

@media (max-width: 480px) {
	.ovh-badge {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}

	.ovh-header-inner {
		padding: 8px 12px;
	}

	.ovh-main {
		padding: 20px 16px 48px;
	}
}

@media (min-width: 900px) {
	.ovh-cards.ovh-cards-2 {
		grid-template-columns: 1fr 1fr;
	}
}
