/* TBO Careers Theme — site styles.
   Global colors and typography are managed in Elementor Site Settings (same kit as the TBO 2026 site).
   The shared section below is copied from the tbo2026 theme (inc/css/style.css) and was last synced on 2026-11-03;
   keep it in step with tbo2026 when that theme changes. Careers-only rules follow. */

:root {
	--tbo-yellow: #ffc60b;
	--tbo-black: #000000;
	--tbo-white: #ffffff;
}

/* ---------- Header ----------
   The "Apply Now" menu item (class tbo-menu-cta, set on the menu item in
   Appearance → Menus) is the mobile stand-in for the Apply Now button: hidden
   in the desktop nav, a full-width dark bar at the bottom of the mobile menu. */
.elementor-nav-menu--main .elementor-nav-menu > li.tbo-menu-cta {
	display: none;
}
.elementor-nav-menu--dropdown .tbo-menu-cta > a {
	background: var(--e-global-color-primary);
	color: var(--e-global-color-tbowhite);
	padding: 16px 20px;
	margin-top: 8px;
}
.elementor-nav-menu--dropdown .tbo-menu-cta > a:hover,
.elementor-nav-menu--dropdown .tbo-menu-cta > a:focus {
	background: var(--e-global-color-tbomidnight);
	color: var(--e-global-color-tbowhite);
}
/* Sub-items in the mobile menu: indented and teal, like the Figma mobile menu. */
.elementor-nav-menu--dropdown .sub-menu a {
	padding-left: 36px;
	color: var(--e-global-color-primary);
}

/* ---------- Gravity Forms (lead forms in colored bands) ----------
   Placeholders carry the labels; fields are white with a soft radius; the
   submit is the dark pill button. Orbital theme variables where available. */
.gform_wrapper.gform-theme--orbital,
.gform_wrapper {
	--gf-ctrl-btn-font-family: "Poppins", sans-serif;
	--gf-ctrl-btn-font-size: 16px;
	--gf-color-primary: var(--e-global-color-text);
	--gf-ctrl-border-color: #d9dde1;
	--gf-ctrl-radius: 6px;
	--gf-ctrl-bg-color: #fff;
	--gf-ctrl-padding-x: 16px;
	--gf-ctrl-padding-y: 12px;
	--gf-ctrl-btn-bg-color-primary: var(--e-global-color-primary);
	--gf-ctrl-btn-bg-color-hover-primary: var(--e-global-color-tbomidnight);
	--gf-ctrl-btn-color-primary: #fff;
	--gf-ctrl-btn-radius: 50px;
	--gf-ctrl-btn-padding-x: 36px;
	--gf-ctrl-btn-padding-y: 12px;
	--gf-ctrl-btn-font-weight: 500;
	--gf-form-gap-y: 16px;
	--gf-form-gap-x: 20px;
	font-family: "Poppins", sans-serif;
}
.gform_wrapper .gfield:not(.gfield--type-checkbox):not(.gfield--type-radio) > .gfield_label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.gform_wrapper .gfield input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.gform_wrapper .gfield textarea,
.gform_wrapper .gfield select {
	background: #fff;
	border: 1px solid #d9dde1;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--e-global-color-text);
	width: 100%;
}
.gform_wrapper .gfield select {
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356585A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px;
	padding-right: 40px;
}
.gform_wrapper .gfield--type-checkbox {
	background: rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	padding: 12px 16px;
}
.gform_wrapper .gfield--type-checkbox .gfield_label {
	display: none;
}
.gform_wrapper .gfield--type-checkbox .gfield-choice-input + label {
	font-size: 13px;
	line-height: 1.45;
}
.gform_wrapper .gform_footer,
.gform_wrapper .gform-footer {
	justify-content: center;
	display: flex;
}
.gform_wrapper.gform-theme--orbital .gform_footer .gform_button.button,
.gform_wrapper .gform_button,
.gform_wrapper .gform_footer button,
.gform_wrapper .gform_footer input[type="submit"] {
	background: var(--e-global-color-primary);
	color: #fff;
	border: 0;
	border-radius: 50px;
	padding: 12px 36px;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease;
}
.gform_wrapper.gform-theme--orbital .gform_footer .gform_button.button:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_footer button:hover {
	background: var(--e-global-color-tbomidnight);
}
.gform_wrapper .gform_validation_errors {
	border-radius: 8px;
}

/* Lead form bands (.tbo-form-band, ellib tbo_form_band): white copy, an SMS box darker than the band,
   and a wide orange submit with an arrow. Gold bands (--gold) keep the blue submit (Figma Staffing). */
.tbo-form-band .gform_wrapper .gfield--type-checkbox {
	background: rgba(0, 0, 0, 0.22);
}
.tbo-form-band .gform_wrapper .gfield--type-checkbox label,
.tbo-form-band .gform_wrapper .gfield--type-checkbox a {
	color: #fff;
}
.tbo-form-band .gform_wrapper .gfield--type-checkbox input[type="checkbox"] {
	border-color: #fff;
}
.tbo-form-band .gform_wrapper.gform-theme--orbital .gform_footer .gform_button.button,
.tbo-form-band .gform_wrapper .gform_footer .gform_button {
	background: var(--e-global-color-accent);
	width: min(100%, 440px);
	padding: 14px 36px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.tbo-form-band .gform_wrapper.gform-theme--orbital .gform_footer .gform_button.button:hover,
.tbo-form-band .gform_wrapper .gform_footer .gform_button:hover {
	background: #B97C1A;
}
.tbo-form-band--gold .gform_wrapper.gform-theme--orbital .gform_footer .gform_button.button,
.tbo-form-band--gold .gform_wrapper .gform_footer .gform_button {
	background: var(--e-global-color-primary);
}
.tbo-form-band--gold .gform_wrapper.gform-theme--orbital .gform_footer .gform_button.button:hover,
.tbo-form-band--gold .gform_wrapper .gform_footer .gform_button:hover {
	background: var(--e-global-color-tbomidnight);
}
.tbo-arrow-btn__icon {
	flex: none;
}

/* Unit lockups (ball + TACTICAL + unit name) used as card and band headings. */
.elementor .tbo-lockup {
	display: block;
	height: 46px;
	width: auto;
	max-width: 100%;
}
@media (max-width: 767px) {
	.elementor .tbo-lockup { height: 40px; }
}

/* Side gutter for boxed sections between the tablet breakpoint and the kit content width (1200/1400px),
   where the boxed inner would otherwise touch the viewport edges. */
@media (min-width: 1025px) and (max-width: 1464px) {
	.e-con.e-parent.e-con-boxed {
		padding-inline-start: max(var(--padding-inline-start), 32px);
		padding-inline-end: max(var(--padding-inline-end), 32px);
	}
}
/* .tbo-tight: text widget whose last paragraph carries no bottom margin (footer legal row). */
.tbo-tight p:last-child { margin-bottom: 0; }

/* .tbo-wave: the white Figma "Vector Wave" over the bottom of a hero (Careers hero, as on tbo2026). */
.elementor .e-con.tbo-wave {
	position: relative;
	overflow: hidden;
}
.elementor .e-con.tbo-wave::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	aspect-ratio: 1728 / 172;
	background: url(../images/wave-white.svg) center bottom / 100% 100% no-repeat;
	pointer-events: none;
	z-index: 2;
}
.elementor .e-con.tbo-wave > .e-con {
	z-index: 1;
}

/* Unit-page heroes: the faded ball sits behind the portrait at the Figma ratio (ball 816 : portrait 625, so 730px for the
   560px portrait), centred just right of and above the portrait whatever the viewport width. */
@media (min-width: 1025px) {
	body .elementor .e-con.tbo-hero--ball::before {
		background-size: 730px auto !important;
		background-position: right calc(max(32px, (100vw - 1400px) / 2) - 108px) top -142px !important;
	}
}
/* Sticky header shrinks a little once the page scrolls (Elementor adds .elementor-sticky--effects past the offset). */
.elementor-location-header .e-con.e-parent {
	transition: padding 0.25s ease;
}
.elementor-location-header .e-con.e-parent img {
	transition: width 0.25s ease, max-height 0.25s ease;
}
@media (min-width: 768px) {
	body .elementor-location-header .e-con.e-parent.elementor-sticky--effects {
		--padding-top: 6px;
		--padding-bottom: 6px;
	}
	body .elementor-location-header .elementor-sticky--effects .elementor-widget-theme-site-logo img,
	body .elementor-location-header .elementor-sticky--effects .elementor-widget-image img {
		width: 150px;
	}
}

/* ---------- Review round 6 (2026-11-02) ----------
   .tbo-fit-head: a copy block (headline + paragraph) no wider than its headline on one line (#73, #84). */
.elementor .e-con.tbo-fit-head {
	width: max-content;
	max-width: 100%;
}
.elementor .e-con.tbo-fit-head > .elementor-widget-text-editor {
	width: 0;
	min-width: 100%;
}
/* Buttons whose label must stay on one line (#74). */
.tbo-nowrap .elementor-button-text { white-space: nowrap; }

/* ---------- Phones: as tbo2026 (Figma Mobile Footer, Mobile Menu 01, 2026-11-02) ---------- */
@media (max-width: 767px) {
	/* No ball graphic behind the hero on phones (Figma Staffing / Tactical U Mobile). */
	.elementor .e-con.tbo-hero--ball::before { opacity: 0 !important; }
	/* Footer links: two columns, read down then across. */
	.tbo-footer-nav .elementor-nav-menu { display: grid !important; grid-auto-flow: column; grid-template-rows: repeat(5, auto); column-gap: 24px; }
	.tbo-footer-nav .elementor-nav-menu > li > a { margin-left: 0 !important; margin-right: 0 !important; }
	/* Mobile menu: a panel under the burger, no dividers. */
	.elementor-nav-menu--stretch .elementor-nav-menu__container.elementor-nav-menu--dropdown { left: auto !important; right: -20px !important; width: 62vw !important; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14); border-radius: 0 0 6px 6px; }
	.elementor-nav-menu__container.elementor-nav-menu--dropdown li { border-bottom-width: 0 !important; }
	.elementor-nav-menu__container.elementor-nav-menu--dropdown .sub-arrow { display: none; } /* no chevrons (Figma Mobile Menu 01); a tap on the parent still opens its sub-items */
	.elementor-widget-nav-menu, .elementor-location-header { overflow: visible; }
	html, body { overflow-x: hidden; }
}

/* =====================================================================
   Careers only (pages built by claude-docs/scripts/careers-lib.php)
   ===================================================================== */

/* Hero photo sits over the white wave, as in the Figma Careers frame, so the hero can stay short (tbo2026 #114). */
.elementor .e-con.tbo-wave > .e-con.tbo-hero-photo-col {
	z-index: 3;
}

/* Role-card lockup tab: as wide as the logo, a pill on the right, straddling the photo and the gradient (Figma, #115). */
.elementor .e-con.tbo-role-tab {
	width: fit-content;
	max-width: 100%;
	margin-bottom: -26px;
	border-radius: 0 999px 999px 0;
}

/* Job-page heroes: the role photo in a rounded frame. */
.tbo-hero-photo--frame img {
	aspect-ratio: 383 / 294;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 43px;
	box-shadow: 0 12px 32px rgba(18, 48, 62, 0.18);
}
@media (max-width: 767px) {
	.tbo-hero-photo--frame img { border-radius: 28px; }
}
/* Phone footer: the careers links (six, with long role names) read as one column instead of tbo2026's two. */
@media (max-width: 767px) {
	.tbo-footer-nav .elementor-nav-menu { grid-auto-flow: row; grid-template-rows: none; }
}
/* Role-card lockups link to the role page; no underline or focus box around the image. */
.tbo-role-lockup a { display: block; line-height: 0; }

/* ---------- Job pages ---------- */
/* Responsibilities / Qualifications cards: white, soft shadow, unit colour on the left edge. */
body .elementor .e-con.tbo-info-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/* Benefit tiles in the "Why Join Our Team?" band. */
body .elementor .e-con.tbo-benefit {
	background: #fff;
	border-radius: 16px;
}
.tbo-benefit p {
	margin-bottom: 0.7em;
}
.tbo-benefit p:last-child {
	margin-bottom: 0;
}

/* Application form band (.tbo-apply-band): Career Application (form 5) on a unit gradient. Unlike the short lead
   forms, labels stay visible (white) because of the skills checklist and resume upload; the name, email and location
   fields keep their placeholders and visually hidden labels, as on tbo2026. */
.tbo-apply-band .gform_wrapper {
	--gf-color-in-ctrl-light: #fff;
}
.tbo-apply-band .gform_wrapper .gfield--type-checkbox .gfield_label,
.tbo-apply-band .gform_wrapper .gfield--type-fileupload .gfield_label {
	display: block;
	position: static;
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
}
.tbo-apply-band .gform_wrapper .gfield_required {
	color: #fff;
}
/* The skills question (a fieldset legend) sits inside its tinted box: a floated legend joins the fieldset's
   content instead of straddling its top edge (#116, #117). */
.tbo-apply-band .gform_wrapper .gfield--type-checkbox > .gfield_label {
	float: left;
	width: 100%;
	padding: 0;
}
.tbo-apply-band .gform_wrapper .gfield--type-checkbox > .ginput_container {
	clear: both;
}
.tbo-apply-band .gform_wrapper .gfield--type-checkbox {
	padding: 16px 20px;
}
/* Skills checkboxes flow down three columns (not a row grid), so every option has the same gap below it
   whether its label takes one line or two; the box lines up with the label's first line (client feedback #120). */
.tbo-apply-band .gform_wrapper .gfield--type-checkbox .gfield_checkbox {
	display: block;
	column-count: 3;
	column-gap: 20px;
}
@media (max-width: 1024px) {
	.tbo-apply-band .gform_wrapper .gfield--type-checkbox .gfield_checkbox { column-count: 2; }
}
@media (max-width: 600px) {
	.tbo-apply-band .gform_wrapper .gfield--type-checkbox .gfield_checkbox { column-count: 1; }
}
.tbo-apply-band .gform_wrapper .gfield--type-checkbox .gchoice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 10px;
	break-inside: avoid;
}
.tbo-apply-band .gform_wrapper .gfield--type-checkbox .gfield-choice-input + label {
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
}
.tbo-apply-band .gform_wrapper .gfield--type-checkbox input[type="checkbox"] {
	flex: none;
	margin: 1px 0 0;
	border-color: #fff;
}
.tbo-apply-band .gform_wrapper .gfield--type-fileupload {
	background: rgba(0, 0, 0, 0.22);
	border-radius: 8px;
	padding: 16px 20px;
}
.tbo-apply-band .gform_wrapper .gfield--type-fileupload input[type="file"] {
	background: #fff;
	color: var(--e-global-color-text);
}
.tbo-apply-band .gform_wrapper .gfield--type-fileupload .gform_fileupload_rules,
.tbo-apply-band .gform_wrapper .gfield--type-fileupload .gfield_description {
	color: rgba(255, 255, 255, 0.85);
}
.tbo-apply-band .gform_wrapper .gfield_validation_message,
.tbo-apply-band .gform_wrapper .validation_message {
	background: #fff;
	border-radius: 6px;
	padding: 6px 10px;
}
.tbo-apply-band .gform_confirmation_message {
	color: #fff;
}
/* Anchor target (#apply) clears the sticky header. */
.tbo-apply-band {
	scroll-margin-top: 90px;
}
#open-positions {
	scroll-margin-top: 90px;
}
.tbo-apply-band .gform_wrapper .gform_required_legend,
.tbo-apply-band .gform_wrapper .gform_required_legend .gfield_required {
	color: #fff;
}
