/* ==========================================================================
   Container width fix
   Elementor's boxed Container falls back to a hardcoded 1140px
   (--content-width: min(100%, var(--container-max-width, 1140px))) unless
   each container's own "boxed_width" control is explicitly set — the Kit's
   "Content Width" setting is only a UI placeholder, it is NOT applied
   automatically. Overriding the CSS custom property here fixes every boxed
   container site-wide in one place, matching design7.jpg / tokens.css
   (--tpc-content: 1400px).
   ========================================================================== */
:root, .elementor {
	--container-max-width: 1400px;
}

/* ==========================================================================
   Horizontal overflow guard — matches the static site's html{overflow-x:
   hidden}. Without this, any single element that overflows by even a few
   px anywhere on the page (at a given viewport width) creates a page-level
   horizontal scrollbar, visually "cutting off" content at the right edge
   for anyone who doesn't scroll right.
   ========================================================================== */
html{
	overflow-x: hidden;
}

/* ==========================================================================
   Footer link colour — phone / email / privacy links read grey like the
   surrounding text (design7.jpg), brightening to white on hover, instead of
   the default red link colour.
   ========================================================================== */
#colophon .elementor-widget-text-editor a,
.elementor-element-ftr0001 a,
.elementor-element-ftr0013 a {
	color: #7C7C7C;
	transition: color .2s ease;
}
#colophon .elementor-widget-text-editor a:hover,
.elementor-element-ftr0001 a:hover,
.elementor-element-ftr0013 a:hover {
	color: #FFFFFF;
}

/* ==========================================================================
   Global inner-page header (.tpc-pagehead)
   One control point for every inner page's hero band — dark hex-pattern
   background, left-to-right dark overlay for legibility, and the display
   heading / intro typography. Each inner page's top section just carries the
   `tpc-pagehead` CSS class (Advanced > CSS Classes); styling lives here so it
   stays identical across all pages. Matches the original pages.css .tpc-pagehead.
   ========================================================================== */
.tpc-pagehead {
	position: relative;
	background-color: #000;
	background-image: url("/wp-content/uploads/2026/10/hex-bg.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}
.tpc-pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #000 0, rgba(0,0,0,.82) 45%, rgba(0,0,0,.35) 100%);
	z-index: 0;
	pointer-events: none;
}
.tpc-pagehead > .e-con-inner,
.tpc-pagehead > .elementor-widget-wrap {
	position: relative;
	z-index: 1;
}
.tpc-pagehead .tpc-crumbs,
.tpc-pagehead .tpc-crumbs p {
	font-family: "Inter", sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #bbb !important;
	margin: 0 0 10px !important;
}
.tpc-pagehead .tpc-crumbs a { color: #bbb; }
.tpc-pagehead .tpc-crumbs a:hover { color: #fff; }
.tpc-pagehead .elementor-heading-title {
	font-family: "Inter", sans-serif !important;
	font-size: 88px !important;
	font-weight: 700 !important;
	line-height: .98 !important;
	letter-spacing: -.005em !important;
	text-transform: uppercase !important;
	color: #fff !important;
	max-width: 1000px;
}
.tpc-pagehead .elementor-widget-text-editor:not(.tpc-crumbs) {
	max-width: 720px;
}
.tpc-pagehead .elementor-widget-text-editor:not(.tpc-crumbs),
.tpc-pagehead .elementor-widget-text-editor:not(.tpc-crumbs) p {
	color: #eee !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 18px !important;
	line-height: 1.7 !important;
	font-weight: 500 !important;
}
@media (max-width: 1024px) {
	.tpc-pagehead .elementor-heading-title { font-size: 64px !important; }
}
@media (max-width: 767px) {
	.tpc-pagehead .elementor-heading-title { font-size: 40px !important; }
	.tpc-pagehead .elementor-widget-text-editor,
	.tpc-pagehead .elementor-widget-text-editor p { font-size: 16px !important; }
}

/* ==========================================================================
   Home "About Us" section background — stacked red/cyan on tablet & mobile
   Desktop keeps Elementor's own 90deg gradient (cyan left 55% / red right
   55%). Elementor's gradient-angle control isn't responsive in this build
   (no per-breakpoint CSS is emitted for it), so the stacked order below is
   forced explicitly: red sits behind/above the "About Us" title, cyan sits
   behind the stats at the bottom.
   ========================================================================== */
@media (max-width: 1024px) {
	[data-id="5c10762"]:not(.elementor-motion-effects-element-type-background) {
		background-image: linear-gradient(180deg, #DD292C 0%, #DD292C 55%, #21C0DE 55%, #21C0DE 100%) !important;
	}
}

/* "About Us" soldier photo: desktop keeps Elementor's absolute bleed-off
   treatment (.elementor-absolute isn't a responsive class in this build).
   Tablet/mobile: pull it back into normal flow and centre it, matching the
   original static design's mobile .tpc-about__soldier. Without this it sits
   on top of the stacked text now that the section is a single column. */
@media (max-width: 1024px) {
	[data-id="6c41a90"] {
		position: relative !important;
		inset: auto !important;
		text-align: center;
	}
	[data-id="6c41a90"] img { margin-inline: auto; }
}

/* ==========================================================================
   Contact form (Contact Form 7, /contact/) — field spacing & submit button
   The form markup pasted into CF7 carries the original static site's
   `.tpc-form__row` wrapper classes (two-field rows: name/organisation,
   email/phone), but CF7 generates its own `.wpcf7-form-control-wrap` /
   `<p>` structure rather than the static site's `.tpc-field` markup, so
   none of widgets.css's `.tpc-form` spacing ever applied — every field
   rendered touching the next with no gap, and the submit input kept CF7's
   unstyled default (plain outline) instead of the site's solid red button
   (matches tokens.css --tpc-red / widgets.css .tpc-btn--red).
   ========================================================================== */
.wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.wpcf7-form > p,
.wpcf7-form > div.tpc-form__row { margin: 0; }
.tpc-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.tpc-form__row > p { margin: 0; display: contents; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form-control-wrap + br { display: none; }
.wpcf7-form .wpcf7-form-control-wrap + .wpcf7-form-control-wrap { margin-top: 20px; }
.tpc-form__row .wpcf7-form-control-wrap + .wpcf7-form-control-wrap { margin-top: 0; }
.wpcf7-form input.wpcf7-form-control,
.wpcf7-form select.wpcf7-form-control,
.wpcf7-form textarea.wpcf7-form-control {
	width: 100%;
	min-height: 54px;
	padding: 14px 16px;
	font-size: 16px;
	color: var(--tpc-ink, #282828);
	background: #fff;
	border: 1px solid #bdbdbd;
	border-radius: 0;
	box-sizing: border-box;
}
.wpcf7-form textarea.wpcf7-form-control { min-height: 160px; resize: vertical; }
.wpcf7-form input.wpcf7-form-control:focus,
.wpcf7-form select.wpcf7-form-control:focus,
.wpcf7-form textarea.wpcf7-form-control:focus {
	outline: 3px solid var(--tpc-cyan, #27C2E0);
	outline-offset: 0;
	border-color: var(--tpc-cyan-text, #0B7F94);
}
.wpcf7-form input.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 61px;
	min-width: 220px;
	width: auto;
	padding: 0 32px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
	background: var(--tpc-red, #DD292C);
	border: 1px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition: background-color .2s ease;
}
.wpcf7-form input.wpcf7-submit:hover,
.wpcf7-form input.wpcf7-submit:focus {
	background: var(--tpc-red-dark, #B91F22);
}
@media (max-width: 767px) {
	.tpc-form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Nav menu dropdown arrow icon — Header Footer Elementor's menu walker
   (inc/widgets-manager/widgets/navigation-menu/menu-walker.php) outputs
   `<i class="fa"></i>` for every submenu toggle and sets its glyph via
   `.sub-arrow i:before { content: '\f107'; }` (frontend.css), but never
   assigns that `<i>` a font-family. Elementor only bundles Font Awesome 5
   (no legacy FA4 `.fa` base class defines one either), so the browser had
   no font containing codepoint \f107 and rendered it as raw mojibake
   instead of the chevron. Elementor's own solid.css already loads
   'Font Awesome 5 Free' at weight 900 (the correct face for \f107) — it
   just needs to be pointed at this element.
   ========================================================================== */
.hfe-nav-menu .sub-arrow i {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-style: normal;
}

/* Force linear timing on the wrapper handling the transition */
selector .owl-stage {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

.item.elementor-animation-float {
	border:none;
}