/* Transparent header overlay */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(56, 56, 56, 0.34);
	height: 57px;
	display: flex;
	align-items: center;
}

/* Override constrained layout — header should be full-width with edge padding */
.site-header.has-global-padding {
	padding-left: 20px;
	padding-right: 20px;
}

/* Override constrained max-width so inner flex fills the full header */
.site-header.wp-block-group-is-layout-constrained > * {
	max-width: 100% !important;
}

/* Site title in header — match prod: Arvo 24px */
.site-header .wp-block-site-title {
	font-size: 24px;
	white-space: nowrap;
	margin: 0;
}

.site-header .wp-block-site-title a {
	color: #ffffff;
	text-decoration: none;
}

/* Nav items line-height to vertically center in 57px header */
.site-header .wp-block-navigation {
	line-height: 57px;
}

/* Nav link colors in header */
.site-header .wp-block-navigation a {
	color: #ffffff !important;
}

.site-header .wp-block-navigation a:hover {
	color: #000000 !important;
}

body.admin-bar .site-header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px !important;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-header__logo {
	font-family: var(--wp--preset--font-family--arvo, 'Arvo', serif);
	font-size: 1.625rem;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__logo:hover {
	color: #5e5e5e;
}

/* Classic nav menu (used by elementor-page.php) */
.site-header__nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.site-header__nav ul li {
	position: relative;
}

.site-header__nav ul li a {
	display: block;
	padding: 0 15px;
	font-family: var(--wp--preset--font-family--poppins, 'Poppins', sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #ffffff;
	text-decoration: none;
	position: relative;
	line-height: 57px;
}

.site-header__nav ul li a::after {
	content: "";
	position: absolute;
	bottom: 15px;
	left: 50%;
	width: 0;
	height: 1px;
	background-color: #ffffff;
	transition: width 0.3s ease, left 0.3s ease;
}

.site-header__nav ul li a:hover::after {
	width: calc(100% - 30px);
	left: 15px;
}

.site-header__nav ul li a:hover {
	color: #000000;
}

.site-header__nav ul li.current-menu-item a,
.site-header__nav ul li.current-menu-parent a {
	color: #ffffff;
}

/* Dropdown submenus */
.site-header__nav ul li ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	min-width: 220px;
	padding: 10px 0;
	flex-direction: column;
	z-index: 200;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.site-header__nav ul li:hover > ul.sub-menu {
	display: flex;
}

.site-header__nav ul li ul.sub-menu li a {
	line-height: 1.4;
	padding: 8px 20px;
	font-size: 0.75rem;
	color: #333333;
}

.site-header__nav ul li ul.sub-menu li a:hover {
	background-color: #f5f5f5;
	color: #1992d4;
}

.site-header__nav ul li ul.sub-menu li a::after {
	display: none;
}

/* Hide underline animation on parent menu items */
.site-header__nav ul li.menu-item-has-children > a::after {
	display: none;
}

/* Dropdown chevron for parent menu items */
.site-header__nav ul li.menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-60%) rotate(45deg);
}

.site-header__nav ul li.menu-item-has-children > a {
	padding-right: 22px;
	margin-right: 10px;
}

/* Navigation menu link underline animation (OceanWP "four" effect) */
.wp-block-navigation .wp-block-navigation-item a {
	position: relative;
	color: #ffffff;
	text-decoration: none;
	padding-bottom: 4px;
}

.wp-block-navigation .wp-block-navigation-item a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 1px;
	background-color: #ffffff;
	transition: width 0.3s ease, left 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item a:hover::after {
	width: 100%;
	left: 0;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
	color: #000000;
}

.wp-block-navigation .wp-block-navigation-item.current-menu-item a {
	color: #ffffff;
}

/* Top bar */
.top-bar {
	background-color: #ff9191;
	padding: 10px 0;
}

.top-bar p {
	color: #890101;
	margin: 0;
	font-size: 0.875rem;
}

/* =========================================================================
   Font Awesome icon-box styling
   Used in wp:group blocks converted from Elementor icon-box widgets.
   Structure: wp:html (icon) → wp:heading → wp:paragraph inside a wp:group.

   TO CHANGE COLOR: add a modifier class to the <i> element, e.g.:
     <i class="fas fa-briefcase icon-box-icon icon-box-icon--white">
   Available modifiers: --blue (default), --white, --yellow, --dark
   ========================================================================= */

/* Works for both inline SVG and <i> FA icon font elements */
.icon-box-icon {
	display: block;
	width: 32px;
	height: 32px;
	/* font-size for icon font fallback */
	font-size: 32px;
	color: #1992d4; /* default: brand blue — SVG uses fill="currentColor" */
	margin-bottom: 12px;
	line-height: 1;
}

svg.icon-box-icon {
	/* SVG needs explicit dimensions; color flows via fill="currentColor" */
	flex-shrink: 0;
}

/* Color modifiers — apply to the <i> element via Additional CSS class or directly */
.icon-box-icon--blue   { color: #1992d4; }
.icon-box-icon--white  { color: #ffffff; }
.icon-box-icon--yellow { color: #f9dc5c; }
.icon-box-icon--dark   { color: #333333; }

/* Auto-inherit white on dark/colored section backgrounds if no modifier is set */
.wp-block-group[class*="is-style-section-hero"] .icon-box-icon:not([class*="icon-box-icon--"]),
.wp-block-group[class*="is-style-section-blue"] .icon-box-icon:not([class*="icon-box-icon--"]),
.wp-block-group[class*="is-style-section-dark"] .icon-box-icon:not([class*="icon-box-icon--"]),
.wp-block-group[class*="is-style-section-red"]  .icon-box-icon:not([class*="icon-box-icon--"]) {
	color: #ffffff;
}

/* =========================================================================
   Section block styles (wp:group with is-style-section-*)
   Applied by the Elementor migrator and available in the block editor.
   ========================================================================= */

/* Shared: white text for all dark/colored sections */
.wp-block-group[class*="is-style-section-hero"],
.wp-block-group[class*="is-style-section-blue"],
.wp-block-group[class*="is-style-section-dark"],
.wp-block-group[class*="is-style-section-red"] {
	color: #ffffff;
}

.wp-block-group[class*="is-style-section-hero"] h1,
.wp-block-group[class*="is-style-section-hero"] h2,
.wp-block-group[class*="is-style-section-hero"] h3,
.wp-block-group[class*="is-style-section-hero"] h4,
.wp-block-group[class*="is-style-section-hero"] p,
.wp-block-group[class*="is-style-section-blue"] h1,
.wp-block-group[class*="is-style-section-blue"] h2,
.wp-block-group[class*="is-style-section-blue"] h3,
.wp-block-group[class*="is-style-section-blue"] h4,
.wp-block-group[class*="is-style-section-blue"] p,
.wp-block-group[class*="is-style-section-dark"] h1,
.wp-block-group[class*="is-style-section-dark"] h2,
.wp-block-group[class*="is-style-section-dark"] h3,
.wp-block-group[class*="is-style-section-dark"] h4,
.wp-block-group[class*="is-style-section-dark"] p,
.wp-block-group[class*="is-style-section-red"] h1,
.wp-block-group[class*="is-style-section-red"] h2,
.wp-block-group[class*="is-style-section-red"] h3,
.wp-block-group[class*="is-style-section-red"] h4,
.wp-block-group[class*="is-style-section-red"] p {
	color: #ffffff;
}

/* Hero — background image with strong blue overlay matching production (80% opacity) */
.wp-block-group.is-style-section-hero {
	background: linear-gradient(rgba(25, 146, 212, 0.80), rgba(25, 146, 212, 0.80)),
		url('/wp-content/uploads/2019/12/lacoegainbgvideo.jpg') center/cover no-repeat;
	padding-top: 220px;
	padding-bottom: 120px;
	position: relative;
}

/* Hero H1 — Arvo 34px to match production */
.wp-block-group.is-style-section-hero h1 {
	font-family: var(--wp--preset--font-family--arvo, 'Arvo', serif);
	font-size: 34px;
	text-transform: capitalize;
}

/* Hero H3 "A Job. A Better Job. A Career." — Arvo 79px to match production */
.wp-block-group.is-style-section-hero h3 {
	font-family: var(--wp--preset--font-family--arvo, 'Arvo', serif);
	font-size: 79px;
	text-transform: capitalize;
	line-height: 1.2;
}

/* Hero subheading (H2 used as tagline) — Open Sans, normal weight */
.wp-block-group.is-style-section-hero h2 {
	font-family: var(--wp--preset--font-family--open-sans, 'Open Sans', sans-serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero buttons — yellow with shadow to match production */
.wp-block-group.is-style-section-hero .wp-block-button__link {
	background-color: #f9dc5c;
	color: #54595f;
	font-family: var(--wp--preset--font-family--arvo, 'Arvo', serif);
	font-size: 21px;
	font-weight: 400;
	border-radius: 0;
	box-shadow: 5px 4px 8px -1px rgba(0, 0, 0, 0.5);
	padding: 12px 30px;
}

.wp-block-group.is-style-section-hero .wp-block-button__link:hover {
	background-color: #f7d23e;
	color: #54595f;
}

/* Hero container — narrower than default */
.wp-block-group.is-style-section-hero > .wp-block-group,
.wp-block-group.is-style-section-hero > .wp-block-heading,
.wp-block-group.is-style-section-hero > .wp-block-spacer,
.wp-block-group.is-style-section-hero > .wp-block-columns {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 781px) {
	.wp-block-group.is-style-section-hero {
		padding-top: 120px;
		padding-bottom: 60px;
	}

	.wp-block-group.is-style-section-hero h3 {
		font-size: 36px;
	}

	.wp-block-group.is-style-section-hero h2 {
		font-size: 16px;
	}
}

/* "Who We Are" and similar unstyled top-level content sections */
.wp-site-blocks > .wp-block-post-content > .wp-block-group:not([class*="is-style-section-"]):not(.site-header):not(.site-footer) {
	padding-top: 60px;
	padding-bottom: 60px;
}

.wp-block-group:not([class*="is-style-section-"]) > h4 {
	font-size: 29px;
	color: #0c0c0c;
	font-family: var(--wp--preset--font-family--poppins);
	margin-bottom: 20px;
}

/* wp:html blocks used for body text (from Elementor migration) */
.wp-block-group:not([class*="is-style-section-"]) > .wp-block-html {
	font-family: var(--wp--preset--font-family--open-sans, 'Open Sans', sans-serif);
	font-size: 16px;
	color: #686868;
	text-align: center;
	line-height: 1.8;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================================
   Success Stories — card grid layout matching Elementor Pro Posts widget
   ========================================================================= */
.wp-block-latest-posts.wp-block-latest-posts__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
	list-style: none;
	padding: 0;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
	background: #ffffff;
	border-radius: 4px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.wp-block-latest-posts.wp-block-latest-posts__list li:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wp-block-latest-posts__post-title {
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 18px;
	font-weight: 600;
	color: #333333;
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
}

.wp-block-latest-posts__post-title:hover {
	color: #1992d4;
}

.wp-block-latest-posts__post-date {
	font-size: 13px;
	color: #999999;
}

/* Success Stories post excerpts */
.wp-block-latest-posts__post-excerpt {
	font-size: 14px;
	color: #686868;
	line-height: 1.6;
	margin-top: 10px;
}

/* "Read More" link after excerpt */
.wp-block-latest-posts__post-excerpt > a {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #1992d4;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

@media (max-width: 781px) {
	.wp-block-latest-posts.wp-block-latest-posts__list {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   General buttons — non-hero default style
   Buttons in white/light sections should be primary blue
   ========================================================================= */
.wp-block-group:not([class*="is-style-section-"]) .wp-block-button__link {
	background-color: #1992d4;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
	padding: 12px 28px;
	text-decoration: none;
}

.wp-block-group:not([class*="is-style-section-"]) .wp-block-button__link:hover {
	background-color: #0d6eab;
	color: #ffffff;
}

/* Blue — standard padding */
.wp-block-group.is-style-section-blue {
	background-color: #1992d4;
	padding-top: 70px;
	padding-bottom: 70px;
}

/* Programs & Services cards — white cards with rounded corners */
.wp-block-group.is-style-section-blue .wp-block-column {
	background: #ffffff;
	border-radius: 32px;
	padding: 0 0 30px;
	text-align: center;
	overflow: hidden;
}

.wp-block-group.is-style-section-blue .wp-block-column .wp-block-image {
	margin-bottom: 20px;
}

.wp-block-group.is-style-section-blue .wp-block-column .wp-block-image img {
	border-radius: 0;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.wp-block-group.is-style-section-blue .wp-block-column h3 {
	color: #333333;
	font-size: 20px;
	padding: 0 20px;
}

.wp-block-group.is-style-section-blue .wp-block-column p {
	color: #686868;
	font-size: 14px;
	padding: 0 20px;
}

.wp-block-group.is-style-section-blue .wp-block-column .wp-block-separator {
	border-color: #e0e0e0;
	margin: 10px 20px;
	width: auto;
}

.wp-block-group.is-style-section-blue .wp-block-column .wp-block-button__link {
	background-color: #1992d4;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 24px;
	box-shadow: none;
}

.wp-block-group.is-style-section-blue .wp-block-column .wp-block-button__link:hover {
	background-color: #0d6eab;
	color: #ffffff;
}

/* Section title in blue section — keep white */
.wp-block-group.is-style-section-blue > .wp-block-heading {
	margin-bottom: 40px;
}

/* Mid blue */
.wp-block-group.is-style-section-blue-mid {
	background-color: #127fbf;
	color: #ffffff;
	padding-top: 70px;
	padding-bottom: 70px;
}

.wp-block-group.is-style-section-blue-mid h1,
.wp-block-group.is-style-section-blue-mid h2,
.wp-block-group.is-style-section-blue-mid h3,
.wp-block-group.is-style-section-blue-mid p {
	color: #ffffff;
}

/* Light gray */
.wp-block-group.is-style-section-light {
	background-color: #f8f8f8;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* White */
.wp-block-group.is-style-section-white {
	background-color: #ffffff;
	padding-top: 70px;
	padding-bottom: 70px;
}

/* Yellow */
.wp-block-group.is-style-section-yellow {
	background-color: #f9dc5c;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* Dark navy */
.wp-block-group.is-style-section-dark {
	background-color: #003049;
	padding-top: 120px;
	padding-bottom: 120px;
}

/* Red */
.wp-block-group.is-style-section-red {
	background-color: #ab0e4a;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* Footer */
.site-footer {
	background-color: #333333;
}

.site-footer h2 {
	color: #ffffff;
	font-family: var(--wp--preset--font-family--poppins);
}

.site-footer p {
	color: #9f9f9f;
	font-family: var(--wp--preset--font-family--roboto);
	font-weight: 300;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.site-footer a {
	color: #707070;
	text-decoration: none;
}

.site-footer a:hover {
	color: #b7b7b7;
}

.footer-copyright {
	color: #707070;
	font-size: 0.875rem;
}
