/**
 * LandAfrique theme styles.
 *
 * Tokens below are defaults; the Customizer prints overrides inline. All tokens are also
 * available to Elementor custom CSS, e.g. `color: var(--la-accent)`.
 *
 * 1. Tokens & base
 * 2. Header (floating pill)
 * 3. Navigation & mega menu — desktop
 * 4. Navigation — mobile drawer
 * 4b. Inner-page hero
 * 4c. Recent posts band
 * 5. Newsletter band
 * 6. Footer
 * 7. Theme-rendered content (blog, single post, default pages, 404)
 * 7b. Job openings (WP Job Openings / HireZoot)
 * 8. Utilities
 */

/* ------------------------------------------------------------------ *
 * 1. Tokens & base
 * ------------------------------------------------------------------ */

:root {
	--la-accent: #be7e46;
	--la-accent-hover: color-mix(in srgb, var(--la-accent) 86%, #000);
	--la-heading: #1e1e1e;
	--la-text: #4a4a4a;
	--la-surface: #f8f8f8;
	--la-border: #e6e6e6;
	--la-brand-dark: #5a1f0e;
	--la-white: #fff;

	--la-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--la-font-heading: "Playfair Display", Georgia, serif;
	--la-font-label: "Bebas Neue", "Arial Narrow", sans-serif;

	--la-gutter: clamp(16px, 4vw, 40px);
	--la-container: 1200px;
	--la-radius: 8px;

	/* Header geometry. --la-header-space is how far content must start to clear the header. */
	--la-header-max: 1100px;
	--la-header-top: 28px;
	--la-bar-h: 72px;
	--la-header-space: calc(var(--la-header-top) + var(--la-bar-h) + 24px);
	--la-admin-bar: 0px;

	/* Inner-page hero (Customizer → Page Hero). */
	--la-hero-overlay: 0.65;
	--la-hero-min-h: 520px;
}

.admin-bar {
	--la-admin-bar: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--la-admin-bar: 46px;
	}
}

@media (max-width: 1099px) {
	:root {
		--la-header-top: 12px;
		--la-bar-h: 64px;
		--la-header-space: calc(var(--la-header-top) + var(--la-bar-h) + 16px);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--la-white);
	color: var(--la-text);
	font-family: var(--la-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--la-accent);
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

/* Stops over-wide or animated Elementor content from widening the page (and shifting the fixed header). `clip`, unlike `hidden`, keeps position: sticky working inside. */
.la-site-content {
	overflow-x: clip;
}

.la-container {
	width: 100%;
	max-width: calc(var(--la-container) + 2 * var(--la-gutter));
	margin-inline: auto;
	padding-inline: var(--la-gutter);
}

.la-container--narrow {
	--la-container: 780px;
}

.la-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--la-radius);
	background: var(--la-accent);
	color: var(--la-white);
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.la-btn:hover,
.la-btn:focus-visible {
	background: var(--la-accent-hover);
	color: var(--la-white);
}

.la-input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #d0d5dd;
	border-radius: var(--la-radius);
	background: var(--la-white);
	color: var(--la-heading);
	font-size: 16px;
}

.la-input::placeholder {
	color: #8a8a8a;
}

.la-input:focus {
	border-color: var(--la-accent);
	outline: 3px solid color-mix(in srgb, var(--la-accent) 22%, transparent);
	outline-offset: 0;
}

:focus-visible {
	outline: 2px solid var(--la-accent);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ *
 * 2. Header (floating pill)
 * ------------------------------------------------------------------ */

.la-header {
	position: absolute;
	top: var(--la-admin-bar);
	left: 0;
	right: 0;
	z-index: 1000;
	padding: var(--la-header-top) var(--la-gutter) 0;
	pointer-events: none;
	transition: padding-top 0.25s ease;
}

.la-header-sticky .la-header {
	position: fixed;
}

/* The admin bar stops being fixed on small screens, so a fixed header must not reserve room for it. */
@media (max-width: 600px) {
	.admin-bar.la-header-sticky .la-header.is-scrolled {
		top: 0;
	}
}

.la-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--la-header-max);
	min-height: var(--la-bar-h);
	margin: 0 auto;
	padding: 0 20px 0 clamp(20px, 3.5vw, 44px);
	border-radius: 999px;
	background: var(--la-white);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	pointer-events: auto;
	transition: box-shadow 0.25s ease, border-radius 0.25s ease;
}

.la-header-standard .la-header__bar,
.la-header.is-scrolled .la-header__bar {
	box-shadow: 0 12px 32px -8px rgba(16, 24, 40, 0.16), 0 1px 2px rgba(16, 24, 40, 0.04);
}

.la-header-sticky .la-header.is-scrolled {
	padding-top: 12px;
}

.la-header-spacer {
	height: var(--la-header-space);
}

.la-header__setup {
	font-size: 14px;
	font-weight: 500;
}

/* Logo */
.la-logo {
	flex-shrink: 0;
	line-height: 0;
}

.la-logo .custom-logo-link {
	display: inline-block;
}

.la-logo--header .custom-logo {
	width: auto;
	max-height: 40px;
}

.la-logo--footer .custom-logo {
	width: auto;
	max-height: 68px;
}

.la-logo__text {
	display: inline-flex;
	flex-direction: column;
	color: var(--la-brand-dark);
	line-height: 1;
}

.la-logo__wordmark {
	font-size: 24px;
	letter-spacing: -0.02em;
}

.la-logo--footer .la-logo__wordmark {
	font-size: 34px;
}

.la-logo__light {
	font-weight: 400;
}

.la-logo__bold {
	font-weight: 700;
}

.la-logo__tagline {
	margin-top: 4px;
	color: var(--la-accent);
	font-size: 7px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.la-logo--footer .la-logo__tagline {
	font-size: 9px;
}

/* Backdrop behind open mega panels (Customizer → Header → Dim the page). */
.la-header-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(24, 14, 6, 0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.la-mega-open .la-header-backdrop {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

/* ------------------------------------------------------------------ *
 * 3. Navigation & mega menu — desktop
 * ------------------------------------------------------------------ */

.la-nav__list,
.la-mega__grid,
.la-dropdown__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.la-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--la-heading);
	font-family: var(--la-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: capitalize;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.la-nav__link:hover,
.la-nav__item.is-open > .la-nav__link,
.la-nav__trigger.is-current,
.la-nav__item.current-menu-item > .la-nav__link:not(.la-nav__button) {
	color: var(--la-accent);
}

.la-nav__button {
	margin-left: 8px;
	padding: 9px 17px;
	background: var(--la-accent);
	color: var(--la-white);
}

.la-nav__button:hover,
.la-nav__button:focus-visible {
	background: var(--la-accent-hover);
	color: var(--la-white);
}

.la-nav__chevron {
	display: none;
	width: 8px;
	height: 8px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.la-header__toggle {
	display: none;
}

.la-mega__grid--mobile {
	display: none;
}

@media (min-width: 1100px) {
	.la-nav__list {
		display: flex;
		align-items: center;
		gap: 2px;
	}

	/* Panels position against the whole pill, not the item. */
	.la-nav,
	.la-nav__list,
	.la-nav__item {
		position: static;
	}

	.la-nav__item--dropdown {
		position: relative;
	}

	.la-mega,
	.la-dropdown {
		position: absolute;
		top: calc(100% + 12px);
		z-index: 2;
		border-radius: 24px;
		background: var(--la-surface);
		box-shadow: 0 32px 64px -16px rgba(16, 24, 40, 0.28), 0 2px 6px rgba(16, 24, 40, 0.06);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
	}

	.la-mega {
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--la-admin-bar) - var(--la-header-top) - var(--la-bar-h) - 40px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 26px;
	}

	/* Invisible bridge across the gap so the pointer can travel from item to panel. */
	.la-mega::before,
	.la-dropdown::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 16px;
	}

	.la-nav__item.is-open > .la-mega,
	.la-nav__item.is-open > .la-dropdown,
	.no-js .la-nav__item:hover > .la-mega,
	.no-js .la-nav__item:hover > .la-dropdown,
	.no-js .la-nav__item:focus-within > .la-mega,
	.no-js .la-nav__item:focus-within > .la-dropdown {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.la-mega__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
		gap: clamp(24px, 4vw, 56px);
	}

	.la-mega__grid {
		display: grid;
		grid-template-columns: repeat(var(--la-mega-cols, 2), minmax(0, 1fr));
		gap: 8px;
		align-content: start;
	}

	.la-mega__card {
		display: flex;
		flex-direction: column;
		height: 100%;
		min-height: 104px;
		padding: 22px 24px;
		border: 1px solid var(--la-border);
		border-radius: var(--la-radius);
		background: transparent;
		color: var(--la-text);
		transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	}

	a.la-mega__card:hover,
	a.la-mega__card:focus-visible {
		border-color: color-mix(in srgb, var(--la-accent) 45%, var(--la-border));
		background: var(--la-white);
		box-shadow: 0 8px 20px -10px rgba(16, 24, 40, 0.18);
	}

	.la-mega__card-desc {
		display: block;
		margin-top: 6px;
		font-size: 13.5px;
		line-height: 1.55;
	}

	.la-mega__card-logo {
		display: block;
		margin-top: auto;
		padding-top: 12px;
		line-height: 0;
	}

	.la-mega__card-logo img {
		width: auto;
		max-width: 180px;
		max-height: 40px;
		object-fit: contain;
		object-position: left center;
	}

	.la-mega__template {
		margin: -26px;
	}

	.la-mega--template.has-mobile-list .la-mega__grid--mobile {
		display: none;
	}

	.la-dropdown {
		left: 0;
		min-width: 240px;
		padding: 10px;
		border-radius: 16px;
		top: calc(100% + (var(--la-bar-h) - 40px) / 2 + 12px);
	}

	.la-dropdown__link {
		display: block;
		padding: 10px 14px;
		border-radius: var(--la-radius);
		color: var(--la-heading);
		font-size: 15px;
	}

	.la-dropdown__link:hover,
	.la-dropdown__link:focus-visible {
		background: var(--la-white);
		color: var(--la-accent);
	}
}

/* Shared card / intro typography. */
.la-mega__title {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--la-accent);
	font-family: var(--la-font-label);
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.la-mega__arrow {
	font-family: var(--la-font-body);
	font-size: 0.6em;
	transition: transform 0.15s ease;
}

a.la-mega__title:hover .la-mega__arrow {
	transform: translateX(4px);
}

.la-mega__text {
	margin: 0;
	max-width: 36em;
	color: var(--la-text);
	font-size: 15.5px;
	line-height: 1.65;
}

.la-mega__card-title {
	display: block;
	color: var(--la-heading);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

/* Tighten the bar between the breakpoint and wide screens so all items fit. */
@media (min-width: 1100px) and (max-width: 1279px) {
	.la-nav__link {
		padding-inline: 8px;
		font-size: 13px;
	}

	.la-header__bar {
		gap: 12px;
	}
}

/* ------------------------------------------------------------------ *
 * 4. Navigation — mobile drawer
 * ------------------------------------------------------------------ */

@media (max-width: 1099px) {
	.la-header__bar {
		padding: 0 10px 0 22px;
	}

	.la-header.is-nav-open .la-header__bar {
		border-radius: 28px;
	}

	.la-logo--header .custom-logo {
		max-height: 38px;
	}

	.la-header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--la-surface);
		color: var(--la-heading);
		cursor: pointer;
	}

	.la-header__toggle-icon {
		position: relative;
		width: 20px;
		height: 14px;
	}

	.la-header__toggle-icon span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
	}

	.la-header__toggle-icon span:nth-child(1) { top: 0; }
	.la-header__toggle-icon span:nth-child(2) { top: 6px; }
	.la-header__toggle-icon span:nth-child(3) { top: 12px; }

	.la-header__toggle[aria-expanded="true"] .la-header__toggle-icon span:nth-child(1) {
		top: 6px;
		transform: rotate(45deg);
	}

	.la-header__toggle[aria-expanded="true"] .la-header__toggle-icon span:nth-child(2) {
		opacity: 0;
	}

	.la-header__toggle[aria-expanded="true"] .la-header__toggle-icon span:nth-child(3) {
		top: 6px;
		transform: rotate(-45deg);
	}

	.la-nav {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--la-admin-bar) - var(--la-header-space));
		max-height: calc(100dvh - var(--la-admin-bar) - var(--la-header-space));
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 12px 16px;
		border-radius: 24px;
		background: var(--la-white);
		box-shadow: 0 32px 64px -16px rgba(16, 24, 40, 0.3);
	}

	.la-nav.is-open {
		display: block;
		animation: la-drop-in 0.2s ease;
	}

	.la-nav__item {
		border-bottom: 1px solid var(--la-border);
	}

	.la-nav__item--button,
	.la-nav__item:has(+ .la-nav__item--button) {
		border-bottom: 0;
	}

	.la-nav__link {
		display: flex;
		justify-content: space-between;
		width: 100%;
		padding: 16px 8px;
		border-radius: 0;
		font-size: 15px;
		text-align: left;
	}

	.la-nav__chevron {
		display: block;
	}

	.la-nav__item.is-open > .la-nav__trigger .la-nav__chevron {
		margin-top: 3px;
		transform: rotate(-135deg);
	}

	.la-nav__button {
		justify-content: center;
		margin: 12px 0 0;
		padding: 14px 18px;
		border-radius: 999px;
	}

	.la-mega,
	.la-dropdown {
		display: none;
		padding: 0 0 12px;
	}

	.la-nav__item.is-open > .la-mega,
	.la-nav__item.is-open > .la-dropdown {
		display: block;
	}

	/* Intro collapses to an "overview" link (only when the parent has a real URL). */
	.la-mega__text,
	p.la-mega__title {
		display: none;
	}

	.la-mega__intro a.la-mega__title {
		margin: 0 0 4px;
		padding: 8px 8px 4px;
		font-size: 22px;
	}

	.la-mega__grid,
	.la-dropdown__list {
		display: grid;
		gap: 2px;
	}

	.la-mega__card,
	.la-dropdown__link {
		display: block;
		padding: 10px 12px;
		border-radius: var(--la-radius);
		background: var(--la-surface);
		color: var(--la-heading);
	}

	.la-mega__card-title {
		font-size: 15px;
	}

	.la-mega__card-desc {
		display: block;
		margin-top: 2px;
		color: var(--la-text);
		font-size: 13px;
		line-height: 1.45;
	}

	.la-mega__card-logo {
		display: none;
	}

	.la-mega--template.has-mobile-list .la-mega__template {
		display: none;
	}

	.la-mega--template.has-mobile-list .la-mega__grid--mobile {
		display: grid;
	}

	.la-nav-open,
	.la-nav-open body {
		overflow: hidden;
	}
}

@keyframes la-drop-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------ *
 * 4b. Inner-page hero (template-parts/page-hero.php)
 * ------------------------------------------------------------------ */

.la-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--la-hero-min-h);
	padding-block: calc(var(--la-header-space) + 32px) clamp(48px, 7vw, 88px);
	overflow: hidden;
	background: #1c1410;
	color: var(--la-white);
	isolation: isolate;
}

.la-hero--no-image {
	background: linear-gradient(135deg, var(--la-brand-dark), #1c1410 70%);
}

.la-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.la-hero__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Darkening layer so white text reads on any photo (Customizer → Page Hero). */
.la-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #120c08;
	opacity: var(--la-hero-overlay);
}

.la-hero__title {
	max-width: 18em;
	margin: 0;
	color: inherit;
	font-family: var(--la-font-heading);
	font-size: clamp(38px, 4.6vw, 64px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.la-hero__title span {
	/* Archive-title prefixes ("Category:") from core. */
	opacity: 0.75;
}

.la-hero__subtitle {
	max-width: 32em;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(16px, 1.45vw, 20px);
	line-height: 1.6;
}

@media (max-width: 767px) {
	.la-hero {
		min-height: min(var(--la-hero-min-h), 440px);
	}
}

.la-main--boxed.la-main--after-hero,
.la-header-overlay .la-main--boxed.la-main--after-hero {
	padding-top: clamp(48px, 6vw, 80px);
}

/* ------------------------------------------------------------------ *
 * 4c. Recent posts band (template-parts/footer/recent-posts.php)
 * ------------------------------------------------------------------ */

.la-recent {
	padding-block: clamp(56px, 7vw, 88px);
	background: var(--la-white);
}

.la-recent__title {
	margin: 0 0 32px;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 600;
	line-height: 1.2;
}

.la-recent__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
}

.la-recent__list {
	display: grid;
	align-content: start;
	gap: 24px;
}

.la-recent__item {
	display: grid;
	grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
	gap: 18px;
}

.la-recent__thumb {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: var(--la-surface);
	aspect-ratio: 16 / 9;
}

.la-recent__feature .la-recent__thumb {
	/* Wide crop, so the featured image lines up with the two stacked cards beside it. */
	margin-bottom: 20px;
	aspect-ratio: 21 / 9;
}

.la-recent__item .la-recent__thumb {
	aspect-ratio: 3 / 2;
	border-radius: 8px;
}

.la-recent__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.la-recent article:hover .la-recent__thumb img {
	transform: scale(1.03);
}

.la-recent__date {
	margin: 0 0 8px;
	color: var(--la-accent);
	font-size: 13px;
	font-weight: 500;
}

.la-recent__heading {
	margin: 0 0 10px;
	font-family: var(--la-font-body);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
}

.la-recent__heading--small {
	font-size: 16.5px;
}

.la-recent__heading a {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	color: var(--la-heading);
}

.la-recent__heading a:hover {
	color: var(--la-accent);
}

.la-recent__arrow {
	flex-shrink: 0;
	line-height: 0;
	transition: transform 0.2s ease;
}

.la-recent__heading a:hover .la-recent__arrow {
	transform: translate(2px, -2px);
}

.la-recent__excerpt {
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.6;
}

.la-recent__item .la-recent__excerpt {
	font-size: 13.5px;
	margin-bottom: 12px;
}

.la-recent__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.la-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.la-recent__tags a,
.la-pills a {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--la-accent) 12%, var(--la-white));
	color: color-mix(in srgb, var(--la-accent) 75%, #000);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
}

.la-recent__tags a:hover,
.la-pills a:hover {
	background: color-mix(in srgb, var(--la-accent) 22%, var(--la-white));
}

@media (max-width: 900px) {
	.la-recent__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 560px) {
	.la-recent__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.la-recent__item .la-recent__thumb {
		aspect-ratio: 16 / 9;
	}
}

/* ------------------------------------------------------------------ *
 * 5. Newsletter band
 * ------------------------------------------------------------------ */

.la-newsletter {
	padding-block: clamp(64px, 8vw, 104px);
	border-bottom: 1px solid var(--la-border);
	background: var(--la-surface);
	text-align: center;
}

.la-newsletter__title {
	margin: 0 0 12px;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 700;
	line-height: 1.15;
}

.la-newsletter__text {
	max-width: 42em;
	margin: 0 auto 36px;
	font-size: clamp(16px, 1.4vw, 19px);
}

.la-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 504px;
	margin: 0 auto;
}

.la-newsletter__form .la-input {
	flex: 1 1 0;
	min-width: 0;
}

.la-newsletter__form .la-btn {
	flex-shrink: 0;
}

/* Advanced Google reCAPTCHA output inside theme forms: its own row under the fields. */
.la-captcha {
	flex: 0 0 100%;
	text-align: left;
	font-size: 14px;
}

.la-captcha--recaptchav3 {
	display: none;
}

.la-captcha .g-recaptcha {
	min-height: 70px;
}

.la-captcha--builtin input.input {
	width: 64px;
	min-height: 36px;
	margin-left: 8px;
	padding: 0 8px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
}

.la-captcha--builtin br {
	display: none;
}

.la-newsletter__note {
	max-width: 504px;
	margin: 8px auto 0;
	font-size: 14px;
	text-align: left;
}

.la-newsletter__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.la-newsletter__status {
	max-width: 504px;
	margin: 16px auto 0;
	padding: 10px 14px;
	border-radius: var(--la-radius);
	background: #fdecec;
	color: #8a1f11;
	font-size: 15px;
}

.la-newsletter__status.is-success {
	background: #eaf6ec;
	color: #1c5e2a;
}

.la-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 560px) {
	.la-newsletter__form {
		flex-direction: column;
	}

	.la-newsletter__form .la-input {
		flex: 0 0 auto;
	}
}

/* ------------------------------------------------------------------ *
 * 6. Footer
 * ------------------------------------------------------------------ */

.la-footer {
	padding-top: clamp(56px, 6vw, 72px);
	background: var(--la-surface);
	color: var(--la-text);
	font-size: 14.5px;
}

.la-footer a {
	color: inherit;
	transition: color 0.15s ease;
}

.la-footer a:hover,
.la-footer a:focus-visible {
	color: var(--la-accent);
}

.la-footer .la-logo__text {
	color: var(--la-brand-dark);
}

.la-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 56px;
}

.la-footer__tagline {
	margin: 32px 0 20px;
}

.la-footer__address {
	margin: 0 0 20px;
	font-style: normal;
}

.la-footer__contact {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.la-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 56px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.la-footer-col__title {
	margin: 0 0 20px;
	color: var(--la-heading);
	font-family: var(--la-font-body);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.la-footer-col__links {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.4;
}

.la-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: clamp(48px, 6vw, 64px);
	padding-block: 28px 36px;
	border-top: 1px solid #d5d5d5;
}

.la-footer__copyright {
	margin: 0;
}

.la-footer__legal-list,
.la-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.la-social {
	gap: 16px;
	margin-left: auto;
}

.la-social a {
	display: block;
	color: var(--la-heading);
	line-height: 0;
}

.la-social svg {
	width: 26px;
	height: 26px;
}

@media (max-width: 1023px) {
	.la-footer__main {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

@media (max-width: 720px) {
	.la-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.la-footer__bottom {
		flex-direction: column-reverse;
		align-items: flex-start;
	}

	.la-social {
		margin-left: 0;
	}
}

/* ------------------------------------------------------------------ *
 * 7. Theme-rendered content (blog, single post, default pages, 404)
 * ------------------------------------------------------------------ */

/* Always clear the header here, even when it floats — these layouts have no hero behind it. */
.la-main--boxed {
	padding-block: 48px 96px;
}

.la-header-overlay .la-main--boxed {
	padding-top: calc(var(--la-header-space) + 48px);
}

.la-page-header {
	margin-bottom: 48px;
}

.la-page-header__title,
.la-entry__title {
	margin: 0;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(34px, 4.6vw, 60px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.la-page-header__desc {
	max-width: 42em;
	margin-top: 16px;
	font-size: 18px;
}

.la-entry__header {
	margin-bottom: 40px;
}

.la-entry__meta {
	margin: 16px 0 0;
	font-size: 14px;
}

.la-entry__meta a {
	color: inherit;
}

.la-entry__sep {
	margin-inline: 8px;
}

.la-entry__thumb {
	margin: 0 0 40px;
	border-radius: 16px;
	overflow: hidden;
}

.la-entry__thumb img {
	display: block;
	width: 100%;
}

.la-prose {
	font-size: 17px;
	line-height: 1.75;
}

.la-prose > * {
	margin-block: 0 1.25em;
}

.la-prose h2,
.la-prose h3,
.la-prose h4 {
	margin-top: 1.8em;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	line-height: 1.25;
}

.la-prose h2 { font-size: 1.8em; }
.la-prose h3 { font-size: 1.4em; }
.la-prose h4 { font-size: 1.15em; font-family: var(--la-font-body); }

.la-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.la-prose blockquote {
	margin-inline: 0;
	padding-left: 24px;
	border-left: 3px solid var(--la-accent);
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: 1.25em;
}

.la-prose img {
	border-radius: var(--la-radius);
}

.la-prose .alignwide {
	margin-inline: calc(-1 * min(120px, (100vw - 780px) / 2));
}

.la-prose .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.la-prose .aligncenter {
	margin-inline: auto;
}

.la-prose .alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.la-prose .alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.la-prose table {
	width: 100%;
	border-collapse: collapse;
}

.la-prose th,
.la-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--la-border);
	text-align: left;
}

.wp-caption-text,
.wp-element-caption {
	margin-top: 8px;
	font-size: 14px;
	text-align: center;
}

/* Single post */
.la-article {
	padding-bottom: clamp(64px, 8vw, 104px);
}

.la-article__header {
	padding-block: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 36px);
}

.la-article__title {
	margin: 18px 0 0;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.la-article__standfirst {
	max-width: 34em;
	margin: 20px 0 0;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.6;
}

.la-article__byline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 32px;
}

.la-article__avatar {
	border-radius: 50%;
}

.la-article__author {
	margin: 0;
	color: var(--la-heading);
	font-size: 15px;
	font-weight: 500;
}

.la-article__author a {
	color: inherit;
}

.la-article__dates {
	margin: 2px 0 0;
	font-size: 14px;
}

.la-article__media {
	margin: 0 0 clamp(32px, 4vw, 56px);
}

.la-article__media img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
	border-radius: 16px;
}

.la-article__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--la-border);
}

.la-share {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.la-share__label {
	color: var(--la-heading);
	font-size: 14px;
	font-weight: 500;
}

.la-share__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.la-share__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--la-border);
	border-radius: 50%;
	color: var(--la-heading);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.la-share__list a:hover {
	border-color: var(--la-accent);
	background: var(--la-accent);
	color: var(--la-white);
}

.la-author {
	display: flex;
	gap: 18px;
	margin-top: 40px;
	padding: 24px;
	border-radius: 14px;
	background: var(--la-surface);
}

.la-author__avatar {
	flex-shrink: 0;
	border-radius: 50%;
}

.la-author__name {
	margin: 0 0 6px;
	color: var(--la-heading);
	font-size: 16px;
	font-weight: 600;
}

.la-author__name a {
	color: inherit;
}

.la-author__bio {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
}

.la-post-nav__label {
	display: block;
	margin-bottom: 4px;
	color: var(--la-accent);
	font-size: 13px;
	font-weight: 500;
}

.la-post-nav__title {
	display: block;
	max-width: 22em;
	font-size: 16px;
	line-height: 1.4;
}

.la-post-nav .nav-next {
	margin-left: auto;
	text-align: right;
}

/* Related posts */
.la-related {
	padding-block: clamp(56px, 7vw, 88px);
	background: var(--la-surface);
}

.la-related__title {
	margin: 0 0 36px;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 600;
}

.la-related .la-card__thumb {
	background: var(--la-white);
}

@media (max-width: 600px) {
	.la-article__footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.la-share {
		margin-left: 0;
	}

	.la-post-nav .nav-links {
		flex-direction: column;
		gap: 20px;
	}

	.la-post-nav .nav-next {
		margin-left: 0;
		text-align: left;
	}
}

/* Masonry journal. Columns preserve a top-to-bottom reading and keyboard order. */
.la-blog {
	background: color-mix(in srgb, var(--la-accent) 4%, var(--la-white));
}

.la-blog__intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.la-blog__eyebrow {
	margin: 0 0 12px;
	color: var(--la-brand-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.la-blog__heading {
	margin: 0;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(30px, 3.5vw, 46px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.la-blog__count {
	flex-shrink: 0;
	margin: 0 0 3px;
	font-size: 13px;
}

.la-blog__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--la-border);
}

.la-blog__topics a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 20px;
	border: 1px solid var(--la-border);
	border-radius: 999px;
	background: var(--la-white);
	color: var(--la-text);
	font-size: 13px;
	font-weight: 500;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.la-blog__topics a[aria-current],
.la-blog__topics a:hover {
	border-color: var(--la-brand-dark);
	background: var(--la-brand-dark);
	color: var(--la-white);
}

.la-masonry {
	columns: 3;
	column-gap: 28px;
}

.la-story {
	display: inline-block;
	width: 100%;
	margin: 0 0 28px;
	border: 1px solid var(--la-border);
	border-radius: 16px;
	background: var(--la-white);
	vertical-align: top;
	break-inside: avoid;
	overflow-wrap: anywhere;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.la-story:hover,
.la-story:focus-within {
	border-color: color-mix(in srgb, var(--la-accent) 55%, var(--la-border));
	box-shadow: 0 12px 32px rgb(30 30 30 / 7%);
}

.la-story__image {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 15px 15px 0 0;
	background: var(--la-surface);
	overflow: hidden;
}

.la-story:nth-child(3n + 2) .la-story__image {
	aspect-ratio: 1 / 1;
}

.la-story:nth-child(3n) .la-story__image {
	aspect-ratio: 16 / 10;
}

.la-story__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.la-story:hover .la-story__image img {
	transform: scale(1.035);
}

.la-story__body {
	padding: clamp(22px, 2.4vw, 30px);
}

.la-story__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.la-story__categories a {
	color: var(--la-brand-dark);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.la-story__categories a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.la-story__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
	font-size: 12px;
}

.la-story__title {
	margin: 0 0 14px;
	font-family: var(--la-font-heading);
	font-size: clamp(23px, 2.1vw, 28px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.la-story__title a {
	color: var(--la-heading);
}

.la-story__title a:hover {
	color: var(--la-brand-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.la-story__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
}

.la-story__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--la-border);
	color: var(--la-heading);
	font-size: 12px;
	font-weight: 600;
}

.la-story__arrow {
	display: grid;
	width: 32px;
	height: 32px;
	border: 1px solid var(--la-border);
	border-radius: 50%;
	place-items: center;
	color: var(--la-brand-dark);
	font-size: 18px;
}

.la-story__more:hover .la-story__arrow {
	border-color: var(--la-brand-dark);
	background: var(--la-brand-dark);
	color: var(--la-white);
}

.la-blog .la-pagination .nav-links {
	justify-content: center;
}

.la-blog__empty {
	padding-block: 64px;
	text-align: center;
}

@media (max-width: 1023px) {
	.la-masonry {
		columns: 2;
		column-gap: 24px;
	}
}

@media (max-width: 639px) {
	.la-masonry {
		columns: 1;
	}

	.la-blog__intro {
		align-items: start;
		flex-direction: column;
		gap: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.la-story,
	.la-story__image img,
	.la-blog__topics a {
		transition: none;
	}

	.la-story:hover .la-story__image img {
		transform: none;
	}
}

/* Post grid */
.la-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 40px 32px;
}

.la-card {
	display: flex;
	flex-direction: column;
}

.la-card__thumb {
	display: block;
	margin-bottom: 20px;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--la-surface);
}

.la-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.la-card:hover .la-card__thumb img {
	transform: scale(1.03);
}

.la-card__title {
	margin: 8px 0 10px;
	font-family: var(--la-font-heading);
	font-size: 24px;
	line-height: 1.25;
}

.la-card__title a {
	color: var(--la-heading);
}

.la-card__title a:hover {
	color: var(--la-accent);
}

.la-card .la-entry__meta {
	margin: 0;
}

.la-card__excerpt p {
	/* Keep card heights even when excerpts run long. */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.la-pagination {
	margin-top: 64px;
}

.la-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.la-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--la-border);
	border-radius: 999px;
	color: var(--la-heading);
}

.la-pagination .page-numbers.current,
.la-pagination a.page-numbers:hover {
	border-color: var(--la-accent);
	background: var(--la-accent);
	color: var(--la-white);
}

.la-post-nav {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--la-border);
}

.la-post-nav .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 32px;
}

.la-post-nav a {
	color: var(--la-heading);
	font-weight: 500;
}

.la-404 {
	text-align: center;
}

.la-404 .search-form {
	display: flex;
	justify-content: center;
	gap: 12px;
	max-width: 480px;
	margin: 32px auto 0;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #d0d5dd;
	border-radius: var(--la-radius);
}

.search-form .search-submit {
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--la-radius);
	background: var(--la-accent);
	color: var(--la-white);
	font-weight: 600;
	cursor: pointer;
}

/* Comments */
.la-comments {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--la-border);
}

.la-comments .comment-list {
	padding: 0;
	list-style: none;
}

.la-comments .children {
	list-style: none;
}

.la-comments .comment-body {
	margin-bottom: 24px;
}

.la-comments textarea,
.la-comments input[type="text"],
.la-comments input[type="email"],
.la-comments input[type="url"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d0d5dd;
	border-radius: var(--la-radius);
}

.la-comments .submit {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--la-radius);
	background: var(--la-accent);
	color: var(--la-white);
	font-weight: 600;
	cursor: pointer;
}

/* ------------------------------------------------------------------ *
 * 7b. Job openings (WP Job Openings / HireZoot)
 * ------------------------------------------------------------------ */

/* Listing, from the [awsmjobs] shortcode on the Careers page. */
.awsm-job-listings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 16px;
	margin: 0;
}

.awsm-job-listing-item {
	width: auto;
	padding: 0;
}

.awsm-job-item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 26px 28px;
	border: 1px solid var(--la-border);
	border-radius: 12px;
	background: var(--la-white);
	color: var(--la-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.awsm-job-item:hover,
.awsm-job-item:focus-visible {
	border-color: color-mix(in srgb, var(--la-accent) 45%, var(--la-border));
	box-shadow: 0 12px 28px -16px rgba(16, 24, 40, 0.28);
	transform: translateY(-2px);
}

.awsm-job-post-title {
	margin: 0;
	color: var(--la-heading);
	font-family: var(--la-font-body);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
}

.awsm-job-specification-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.awsm-job-specification-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--la-accent) 12%, var(--la-white));
	color: color-mix(in srgb, var(--la-accent) 75%, #000);
	font-size: 12.5px;
	font-weight: 500;
}

.awsm-job-more-container {
	margin-top: auto;
}

.awsm-job-more {
	color: var(--la-accent);
	font-size: 14px;
	font-weight: 500;
}

.awsm-filter-wrap,
.awsm-job-search-wrap {
	margin-bottom: 24px;
}

.awsm-filter-items {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.awsm-filter-item select,
.awsm-job-search-wrap input[type="text"],
.awsm-job-search-wrap input[type="search"] {
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--la-border);
	border-radius: var(--la-radius);
	background: var(--la-white);
	color: var(--la-heading);
	font-size: 15px;
}

.awsm-load-more-btn,
.awsm-jobs-pagination a {
	border-radius: 999px;
	background: var(--la-accent);
	color: var(--la-white);
	font-weight: 600;
}

/* Single job page. */
.la-job__header {
	padding-block: clamp(40px, 5vw, 64px) clamp(20px, 2.5vw, 28px);
}

.la-job__back {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--la-text);
	font-size: 14px;
	font-weight: 500;
}

.la-job__back:hover {
	color: var(--la-accent);
}

.la-job__title {
	margin: 0;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 600;
	line-height: 1.15;
	text-wrap: balance;
}

.la-job__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
	align-items: start;
	gap: clamp(32px, 4vw, 56px);
	padding-bottom: clamp(64px, 8vw, 96px);
}

.la-job__main .awsm-job-entry-content {
	font-size: 17px;
	line-height: 1.75;
}

.la-job__main h2,
.la-job__main h3 {
	margin: 1.8em 0 0.6em;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: 1.4em;
	line-height: 1.25;
}

.la-job__main ul,
.la-job__main ol {
	padding-left: 1.2em;
}

.la-job__main li {
	margin-bottom: 8px;
}

.awsm-job-specifications-container {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--la-border);
}

.la-job__main .awsm-job-specification-item {
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--la-text);
	font-size: 15px;
	font-weight: 400;
}

.la-job__main .awsm-job-specifications-row .awsm-job-specification-wrapper {
	flex-direction: column;
	gap: 10px;
}

.la-job__main .awsm-job-specification-label strong {
	color: var(--la-heading);
	font-weight: 500;
}

/* Sticky application card. */
.la-job__aside {
	position: sticky;
	top: calc(var(--la-header-space) + 16px);
}

.la-job__apply,
.la-job__apply .awsm-job-form-inner {
	border-radius: 16px;
	background: var(--la-surface);
}

.la-job__apply .awsm-job-form-inner {
	padding: 28px;
}

.la-job__apply h2 {
	margin: 0 0 20px;
	color: var(--la-heading);
	font-family: var(--la-font-heading);
	font-size: 22px;
	font-weight: 600;
}

.awsm-job-form-group {
	margin-bottom: 16px;
}

.awsm-job-form-group label {
	display: block;
	margin-bottom: 6px;
	color: var(--la-heading);
	font-size: 14px;
	font-weight: 500;
}

.awsm-job-form-group input[type="text"],
.awsm-job-form-group input[type="email"],
.awsm-job-form-group input[type="tel"],
.awsm-job-form-group input[type="url"],
.awsm-job-form-group input[type="number"],
.awsm-job-form-group input[type="date"],
.awsm-job-form-group select,
.awsm-job-form-group textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid #d0d5dd;
	border-radius: var(--la-radius);
	background: var(--la-white);
	color: var(--la-heading);
	font-size: 15px;
}

.awsm-job-form-group textarea {
	min-height: 120px;
}

.awsm-job-form-group input:focus,
.awsm-job-form-group select:focus,
.awsm-job-form-group textarea:focus {
	border-color: var(--la-accent);
	outline: 3px solid color-mix(in srgb, var(--la-accent) 22%, transparent);
}

.awsm-application-form input[type="submit"],
.awsm-application-form button[type="submit"] {
	width: 100%;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--la-radius);
	background: var(--la-accent);
	color: var(--la-white);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.awsm-application-form input[type="submit"]:hover,
.awsm-application-form button[type="submit"]:hover {
	background: var(--la-accent-hover);
}

.awsm-job-form-error,
.awsm-error {
	color: #8a1f11;
	font-size: 14px;
}

@media (max-width: 900px) {
	.la-job__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.la-job__aside {
		position: static;
	}
}

/* ------------------------------------------------------------------ *
 * 8. Utilities
 * ------------------------------------------------------------------ */

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

.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	border-radius: var(--la-radius);
	background: var(--la-white);
	color: var(--la-heading);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}


/* ================================================
   TEAM SECTION
   ================================================ */

.team-info-bar {
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.tib-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  min-height: 60px;
}
.tib-left {
  display: flex;
  flex-direction: column;
}

.tib-name {
  display: flex;          /* THIS is the key fix */
  align-items: center;    /* vertical alignment */
  gap: 6px;
}

.tib-row {
  display: flex;
  align-items: center;    /* change from flex-start → center */
  justify-content: space-between;
}

/* .tib-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #111111;
  line-height: 1.3;
} */

.tib-role {
  display: block;
  font-size: 11.5px;
  color: #444444;
  font-weight: 400;
  margin-top: 2px;
}

.tib-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #333333;
  line-height: 1;
}

.tib-li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.tib-li:hover {
  background: #ffffff;
}

.team-card {
  transition:
    transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.35s ease !important;
}

.team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
}
