/*!
Theme Name: WPTriage
Theme URI: http://wptriage.com/
Author: Underscores.me
Author URI: http://wptriage.com/
Description: Description
Version: 1.0.5
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wptriage
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

WPTriage is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Site Header & Navigation Menu
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 /* IBM Plex Mono - Regular */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/wptriage/fonts/IBMPlexMono-Regular.woff2') format('woff2');
}

/* IBM Plex Mono - Bold */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/wp-content/themes/wptriage/fonts/IBMPlexMono-Bold.woff2') format('woff2');
}

/* Google Sans Flex - Variable Font (Supports weights 100-1000) */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 100 1000; /* Defines the range of weights supported */
  font-display: swap;
  src: url('/wp-content/themes/wptriage/fonts/Google-Sans-Flex.woff2') format('woff2-variations');
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
  	scroll-behavior: smooth;

}
/* 1. Global Base Layout & Body Copy */
body {
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--brand-navy); /* Or your preferred text color */
}

/* 2. Inherit body font for interactive elements cleanly */
input, select, textarea, button {
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 3. Heading Hierarchy (Technical, Structural Look) */
h1, h2, h4, h5, h6 {
    font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
	word-spacing: -0.2em;
}
h3{
	font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	margin-top: 5px;
    margin-bottom: clamp(2rem, 8vw, 4rem);

}

h2 {
    font-size: 50px;
	margin-bottom: 0px;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0;
}



/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/* --- Design Tokens (Header & Menu) ------------------------- */
:root {
	/* User Identity Colorscheme */
	--brand-red: #FC5C65;     /* The 'Emergency' highlight */
	--brand-darkred: #e55b5b; /*dark red for hover*/
	--brand-navy: #0A1A3C;    /* The 'Trust' base */
	--brand-darknavy: #040f26; /*dark navy for hover*/
	--brand-white: #F9F9F9;   /* For readability */
	--brand-whitetint: #F8FAFC;   /* For contrast and bg */
	--brand-purewhite: #FFFFFF;   /* For contrast and bg */

	/* The Sweet Spot Global Width */
    --max-width: 1440px;

    /* Global inline padding to prevent layout edge-clipping on smaller screens */
    --container-padding: 2rem;

	--header-height: 100px;
	--header-bg: var(--brand-purewhite);
	--header-border: rgba(255, 255, 255, 0.08);
	--header-shadow: 0 1px 0 var(--header-border);

	--nav-link-color: var(--brand-navy);
	--nav-link-hover: var(--brand-red);
	--nav-link-font: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--nav-link-size: 20px;
	--nav-link-weight: 400;
	--nav-link-spacing: 0.01em;

	--brand-color: var(--brand-white);
	--brand-font: 'IBM Plex Mono', 'Courier New', Courier, monospace;
	--brand-size: 1.25rem;
	--brand-weight: 700;

	--accent: var(--brand-red);
	--accent-light: rgba(252, 92, 101, 0.15);

	--dropdown-bg: #11254f;
	--dropdown-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
	--dropdown-radius: 12px;

	--overlay-bg: var(--brand-navy);
	--overlay-panel-bg: #11254f;
	--overlay-panel-width: 340px;
	--overlay-radius: 0 24px 24px 0;

	--mobile-link-color: var(--brand-white);
	--mobile-link-hover: var(--brand-red);
	--mobile-link-size: 1.5rem;
	--mobile-link-weight: 600;

	--transition-fast: 180ms ease;
	--transition-smooth: 320ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--brand-navy);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: var(--brand-navy);
}


dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
	border-left: 4px solid var(--brand-red);
	padding-left: 1em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #11254f;
	color: var(--brand-white);
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #ccc;
	cursor: help;
}

mark,
ins {
	background: var(--brand-red);
	color: var(--brand-white);
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--brand-whitetint);
}

hr {

	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0;
}

ul {
    list-style: none;
    padding-left: 15px;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

ul li svg{
	    position: relative;
    top: 2px;
}
ul li.not-included svg {
    left: 1px;
}
.not-included {
    color: #0a1a3c;
    text-decoration: line-through;
    opacity: 0.65;
}


dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--brand-red);
	text-decoration: none;
}



a:hover,
a:focus,
a:active {
	text-decoration: none;
	opacity:0.8;
}

a:focus {
	outline: thin dotted var(--brand-red);
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid var(--brand-red);
	border-radius: 3px;
	background: var(--brand-red);
	color: var(--brand-white);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
	font-weight: 500;
	transition: background var(--transition-fast), border-color var(--transition-fast);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	opacity:0.8;
	color: var(--brand-white);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: #c93b42;
	border-color: #c93b42;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--brand-white);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 3px;
	padding: 5px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--brand-navy);
	border-color: var(--brand-red);
	outline: none;
}

select {
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: #11254f;
	color: var(--brand-white);
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Site Header & Navigation Menu
--------------------------------------------- */

/* --- Header Base --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--header-bg);
	box-shadow: var(--header-shadow);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	gap: 2rem;
}

/* --- Branding --- */
.site-branding {
	flex-shrink: 0;
}

.brand-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1.15;
}

.brand-name {
	font-family: var(--brand-font);
	font-size: var(--brand-size);
	font-weight: var(--brand-weight);
	color: var(--brand-color);
	letter-spacing: -0.02em;
	transition: color var(--transition-fast);
}

.brand-link:hover .brand-name {
	color: var(--accent);
}

.brand-tagline {
	font-family: var(--nav-link-font);
	font-size: 0.72rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 1px;
}

.site-logo a {
	display: block;
	line-height: 0;
}

.site-logo img {
	max-height: 50px;
	width: auto;
}

/* --- Desktop Navigation --- */
.main-navigation {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.nav-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem;
}

.nav-menu li {
	position: relative;
}

.nav-menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0.5rem 0.875rem;
	border-radius: 8px;
	font-size: var(--nav-link-size);
	font-weight: var(--nav-link-weight);
	letter-spacing: var(--nav-link-spacing);
	color: var(--nav-link-color);
	text-decoration: none;
	transition: color var(--transition-fast), background var(--transition-fast);
	white-space: nowrap;
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
	color: var(--brand-red);
}

/* Active indicator dot */
.nav-menu > li.current-menu-item > a::after {
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--brand-white);
	position: absolute;
	bottom: 2px;
	left: 50%;
	transform: translateX(-50%);
}

/* Dropdown arrow for parent items */
.nav-menu .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(0deg) translateY(-2px);
	transition: transform var(--transition-fast);
	margin-left: 2px;
	opacity: 1;
}

.nav-menu .menu-item-has-children:hover > a::after,
.nav-menu .menu-item-has-children:focus-within > a::after {
	    transform: rotate(180deg) translateY(2px);
}

.menu-item-has-children > a {
    position: relative;
    padding-right: 1.5em !important; /* Make precise room for the structural asset */
}

/* Strip out default browser character carets or theme borders */
.menu-item-has-children > a::after {
    content: "" !important;
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: none !important;

    /* Optimized CSS Data URI of your custom icon rotated downwards */
    background-image: 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='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /* Seamless CSS animation transition on hover interaction states */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Senior UX Touch: Soft micro-interaction flip animation on navigation focus/hover */
.menu-item-has-children:hover > a::after,
.menu-item-has-children:focus-within > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* --- Dropdown Sub-menus --- */
.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 27px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 200px;
	background: var(--dropdown-bg);
	border-radius: var(--dropdown-radius);
	box-shadow: var(--dropdown-shadow);
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
}
ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 0;
    width: 100%;
    height: 28px;
    background: transparent;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
	background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px); /* Gives it a modern premium glass feel */
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(10, 26, 60, 0.08);
  border-radius: 8px;
  padding: 12px;
}

.nav-menu .sub-menu a {
	display: block;
    padding: 10px 16px;
    color: #0A1A3C;
    text-decoration: none;
    font-weight: 500;
    border-left: none;
    transition: all 0.2s ease-in-out;
    border-left: 3px solid transparent;
}

.nav-menu .sub-menu a:hover {
	    color: var(--brand-navy);
    border-left-color: var(--brand-red);
    background-color: #fff5f5;
}

/* --- Header Actions --- */
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

/* --- Hamburger Mobile Button --- */
.menu-toggle {
	display: none;    /* hidden on desktop */
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none;
	background: transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: background var(--transition-fast);
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}



.hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 30px;
}

.bar {
	display: block;
	height: 3px;
	width: 100%;
	background: var(--brand-navy);
	border-radius: 2px;
	transform-origin: center;
	transition: transform var(--transition-smooth), opacity var(--transition-smooth), width var(--transition-smooth);
}

.menu-toggle[aria-expanded="true"] .bar-1 {
	transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bar-2 {
	opacity: 0;
	transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .bar-3 {
	transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Overlay --- */
.mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
}

.mobile-overlay[hidden] {
	display: none;
}

.overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 26, 60, 0.7);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity var(--transition-smooth);
}

.mobile-overlay.is-open .overlay-backdrop {
	opacity: 1;
}

.overlay-panel {
	position: relative;
	width: var(--overlay-panel-width);
	max-width: 90vw;
	height: 100%;
	background: var(--overlay-panel-bg);
	border-radius: var(--overlay-radius);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overflow-x: hidden;
	transform: translateX(-100%);
	transition: transform var(--transition-smooth);
	box-shadow: 4px 0 40px rgba(0, 0, 0, 0.4);
}

.mobile-overlay.is-open .overlay-panel {
	transform: translateX(0);
}

.overlay-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--header-border);
	flex-shrink: 0;
}

.overlay-brand {
	font-family: var(--brand-font);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--brand-color);
	letter-spacing: -0.02em;
}

.overlay-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	cursor: pointer;
	color: var(--brand-white);
	transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-spring);
	padding: 0;
}

.overlay-close:hover {
	background: var(--brand-red);
	color: var(--brand-white);
	transform: rotate(90deg);
}

/* --- Mobile Navigation Menu --- */
.mobile-navigation {
	flex: 1;
	padding: 1.25rem 1rem;
}

.mobile-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.mobile-overlay.is-open .mobile-nav-menu > li {
	animation: slideInItem var(--transition-smooth) both;
}

.mobile-overlay.is-open .mobile-nav-menu > li:nth-child(1) { animation-delay: 60ms; }
.mobile-overlay.is-open .mobile-nav-menu > li:nth-child(2) { animation-delay: 90ms; }
.mobile-overlay.is-open .mobile-nav-menu > li:nth-child(3) { animation-delay: 120ms; }
.mobile-overlay.is-open .mobile-nav-menu > li:nth-child(4) { animation-delay: 150ms; }
.mobile-overlay.is-open .mobile-nav-menu > li:nth-child(5) { animation-delay: 180ms; }
.mobile-overlay.is-open .mobile-nav-menu > li:nth-child(6) { animation-delay: 210ms; }

@keyframes slideInItem {
	from { opacity: 0; transform: translateX(-16px); }
	to   { opacity: 1; transform: translateX(0); }
}

.mobile-nav-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 1rem;
	border-radius: 12px;
	font-family: var(--nav-link-font);
	font-size: var(--mobile-link-size);
	font-weight: var(--mobile-link-weight);
	color: var(--mobile-link-color);
	text-decoration: none;
	letter-spacing: -0.02em;
	transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav-menu > li > a:hover,
.mobile-nav-menu > li.current-menu-item > a {
	color: var(--brand-white);
	background: var(--accent);
}

.mobile-dropdown-toggle {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: currentColor;
	border-radius: 6px;
	transition: transform var(--transition-smooth), background var(--transition-fast);
	line-height: 0;
}

.mobile-dropdown-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
}

.mobile-nav-menu .sub-menu {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0 0 0 1rem;
	display: none;
}

.mobile-nav-menu .sub-menu.is-open {
	display: block;
}

.mobile-nav-menu .sub-menu a {
	display: block;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	font-family: var(--nav-link-font);
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav-menu .sub-menu a:hover {
	color: var(--brand-white);
	background: var(--accent);
}

.mobile-nav-menu > li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Panel Footer Components --- */
.overlay-footer {
	padding: 1.25rem 1.5rem;
	border-top: 1px solid var(--header-border);
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.social-menu {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--brand-white);
	text-decoration: none;
	transition: background var(--transition-fast), color var(--transition-fast);
	font-size: 0.75rem;
}

.social-menu a:hover {
	background: var(--accent);
	color: var(--brand-white);
}

.overlay-search .search-form {
	display: flex;
	gap: 0.5rem;
}

.overlay-search .search-field {
	flex: 1;
	padding: 0.6rem 1rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-family: var(--nav-link-font);
	font-size: 0.875rem;
	color: var(--brand-white);
	outline: none;
	transition: border-color var(--transition-fast);
}

.overlay-search .search-field:focus {
	border-color: var(--accent);
}

.overlay-search .search-submit {
	padding: 0.6rem 1rem;
	background: var(--accent);
	color: var(--brand-white);
	border: none;
	border-radius: 10px;
	font-family: var(--nav-link-font);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity var(--transition-fast);
}

.overlay-search .search-submit:hover {
	opacity: 0.88;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
	.main-navigation {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}
}

@media (max-width: 768px) {

	:root {
        --container-padding: 1rem;
    }
}

/* --- Accessibility & Focus states --- */
.nav-menu a:focus-visible,
.menu-toggle:focus-visible,
.overlay-close:focus-visible,
.mobile-nav-menu a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	padding: 0.5rem 1rem;
	background: var(--accent);
	color: var(--brand-white);
	font-family: var(--nav-link-font);
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 0 0 8px 8px;
	text-decoration: none;
	z-index: 10000;
}

.skip-link:focus {
	top: 0;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--brand-white);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--brand-navy);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   Structural Layout Infrastructure
   ========================================================================== */

/* The reusable inner container that locks content width */
.container {
    max-width: var(--max-width);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    margin-left: auto;
    margin-right: auto;
}

/* Outer structural sections handle colors and vertical spacing */
section {
    width: 100%;
    padding-top: clamp(4rem, 8vw, 8rem);
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

footer.site-footer {
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 2rem;
}


/* ==========================================================================
   1. GLOBAL UTILITIES & BUTTONS (Screen-agnostic / Mobile Baseline)
   ========================================================================== */

div.container {
    width: 100%;
}

.btn a {
    font-size: 1rem;
	font-weight: 500;
    border: 2px solid;
    border-radius: 6px;
    padding: 10px 33px;
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: var(--brand-white);
	display: inline-block;
}
.btn a:hover {
	transition: background-color 0.2s ease-in-out;
	opacity:0.8;
}

.btn.coral a{

	background: var(--brand-red);
    color: var(--brand-whitetint);
    border-color: var(--brand-red);
}
.btn.coral a:hover {
	transition: background-color 0.2s ease-in-out;
	opacity:0.8;
}

.header-cta {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
	    flex-wrap: wrap;
    row-gap: 15px;
}


/* ==========================================================================
   2. FLUID TYPOGRAPHY (Consolidated definitions - no media queries needed)
   ========================================================================== */

.hero-section h1 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Fluid scaling engine: Floor 40px / Ceiling 100px */
    font-size: clamp(4rem, 1.05rem + 5.77vw, 6.25rem);
}

.hero-section h1 span.thin,
.hero-section h1 .thin {
    font-weight: 300;
}

.hero-desc {
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
    letter-spacing: 4.5px;
    /* Fluid sub-scale: Floor 18px / Ceiling 24px */
    font-size: clamp(1.125rem, 0.98rem + 0.58vw, 1.5rem);
}


/* ==========================================================================
   3. MOBILE LAYOUT BASELINE (Default viewports up to 800px)
   ========================================================================== */

/* Hero Section - Mobile Layout */
.hero-section {
    position: relative;
    width: 100%;
    height: 800px; /* Fixed height for mobile display */
    display: flex;
    flex-direction: column; /* Stack layout elements vertically */
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    padding: 3rem 0 5rem 0; /* Deep bottom padding allows elements breathing room */
}

/* Background image mobile behavior */
.hero-bg-img {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-size: contain; /* Preserved from your mobile definition */
    z-index: -1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Why Us Section - Mobile Layout */
section.why {
    background: #fff;
}

.container.why-us {
    display: flex;
    flex-direction: column-reverse; /* Stack sections in reverse order on mobile */
    column-gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.why-text {
    max-width: 635px;
}

.why-text ul li {
    margin-bottom: 20px;
}
.why-text h3 {
    margin-bottom: 1rem;
}



/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works {
    background: var(--brand-navy);
}

.how-it-works h2 {
    text-align: center;
	color: var(--brand-purewhite);
}

.how-it-works h3 {
    text-align: center;
	color: var(--brand-purewhite);
}

/* Timeline Layout Container */
.wp-agency-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
}

/* Individual Timeline Item */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* The Number Badge */
.timeline-badge {
    min-width: 40px;
    height: 40px;
    background-color: var(--brand-red);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 0 0 6px #ffffff;
}

/* Text Content Container */
.timeline-content {
    padding-left: 20px;
    padding-top: 5px;
}

.timeline-content h4 {
    margin: 0 0 10px 0;
    color: var(--brand-purewhite);
    font-size: 1.25rem;
}

.timeline-content p {
    margin: 0;
    color: var(--brand-purewhite);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Vertical line for Mobile view */
.wp-agency-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--brand-purewhite);
    z-index: 1;
}



/* ==========================================================================
   Core Services Section
   ========================================================================== */



/* Section Base Breathing Room */
.services-section {
  padding: 100px 0;
  background-color: #fafbfe; /* Very subtle off-white to make cards pop */
}

/* Base Responsive Grid Structure */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

/* Premium Diagnostic Card Styling */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: 0 4px 6px rgba(15, 29, 58, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #0f1d3a;
  box-shadow: 0 12px 24px rgba(15, 29, 58, 0.06);
}

/* Card Internal Meta Row Layout */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Dashboard Micro-Tags */
.service-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #f0f4f8;
  color: #4a5568;
}

/* Flavor colors for specific tags to guide the eyes */
.tag-one-time { background: #ffebeb; color: #e56b55; }
.tag-security { background: #fff5eb; color: #dd6b20; }
.tag-retainer { background: #ebf8ff; color: #2b6cb0; }

.sla-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #a0aec0;
}

/* Card Typography Fixes */
.service-card h4 {
  font-size: 20px;
  color: #0f1d3a;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

/* --- Media Queries for Asymmetrical Desktop 3-2 Grid Alignment --- */
/* --- Media Queries for Perfect 3-2 Alignment --- */
@media (min-width: 768px) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This ensures the bottom row centers perfectly */
    gap: 30px;
  }

  .service-card {
    /* On tablets, let them split 50/50 minus the gap */
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (min-width: 1024px) {
  /* Row 1: The first 3 cards take up exactly 1/3 of the row space */
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }

  /* Row 2: The bottom 2 cards take up exactly half the width of the row above them */
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    flex: 0 1 calc(33.333% - 20px);
    /* By matching the 1/3 row width from above, they perfectly line up under cards 1 and 3 */
    /* If you want them slightly wider to fill the whitespace, use: calc(50% - 15px) instead */
    min-width: calc(33.333% - 20px);
  }
}
/* ==========================================================================
   Proactive Plans Section
   ========================================================================== */
   hr.heartbeat-divider {
		border: none;
		height: 40px;
		width: 120px;
		margin: 20px auto;
		background-repeat: no-repeat;
		background-position: center;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20120%2040' width='120' height='40' fill='none' stroke='%23ff6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 0 20 L 42 20 L 46 23 L 50 15 L 54 20 L 57 20 L 60 5 L 63 35 L 66 17 L 70 22 L 74 20 L 120 20' /%3E%3C/svg%3E");
	}
	hr.heartbeat-divider.navy-svg {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20120%2040' width='120' height='40' fill='none' stroke='%230A1A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 0 20 L 42 20 L 46 23 L 50 15 L 54 20 L 57 20 L 60 5 L 63 35 L 66 17 L 70 22 L 74 20 L 120 20' /%3E%3C/svg%3E");
	}

   .proactive-plans h2 {
    	text-align: center;

	}
	.proactive-plans h3 {
    	text-align: center;
	}
	.proactive-plans h4 {
		text-align: center;
		font-size: 2rem;
		margin-bottom:0px;
	}
	.proactive-plan {
		border: 2px solid;
		border-radius: 15px;
		padding: 40px 15px;
		border-color: var(--brand-navy);
		margin-bottom: 2rem;
		position: relative;
	}
	.price-block {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	p.notif {
		font-size: 11px;
		line-height: 1.3;
		font-style: italic;
		margin-top: 20px;
		text-align: center;
	}
	.price {
		font-size: 5rem;
		font-weight: 700;
		margin: 0;
	}
	.price-suffix {
		font-weight: 700;
	}
	.currency {
		font-size: 30px;
		margin: 0;
		font-weight: 700;
		line-height: 1;
	}
	.mthly {
		font-size: 25px;
		margin: 0;
		line-height: 1;
	}
	.proactive-plan ul li {
		margin-bottom: 20px;
		font-weight: 500;
	}
	.plan-note {
		text-align: center;
		font-weight: 500;
		opacity: 0.8;
	}
	section.proactive-plans .btn {
		text-align: center;
	}

	.proactive-plan:has(.premium-ribbon) {
		border: 2px solid var(--brand-navy);
		padding-top: 50px !important;
		border: none;
		box-shadow: 0 0 0 2px var(--brand-navy);
		border-radius: 15px;
		padding: 40px 15px;
		margin-bottom: 2rem;
	}


	.premium-ribbon {
		position: absolute;
		top: -1px;
		left: -1px;
		width: calc(100% + 2px);
		background-color: var(--brand-navy);
		text-align: center;
		padding: 6px 0;
		border-radius: 15px 15px 0 0;
	}


	.premium-ribbon span {
		color: var(--brand-purewhite);
		font-family: var(--brand-font);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		display: block;
	}

	section.proactive-plans {
		background: var(--brand-purewhite);
	}
	.non.premium-ribbon {
		background: var(--brand-purewhite);
    	border: 1px solid var(--brand-navy);
    	border-bottom: 0px;
	}
	.proactive-plan.premium-health {
   	 	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	}
	.proactive-plan.premium-health .premium-ribbon {
		background-color: var(--brand-red);
	}
	/* ==========================================================================
   Onetime Services Section
   ========================================================================== */

   .onetime-services h2 {
    	text-align: center;
		color: var(--brand-purewhite);

	}
	.onetime-services h3 {
    	text-align: center;
		color: var(--brand-purewhite);
	}
	.onetime-services h4 {
		text-align: center;
		font-size: 2rem;
		margin-bottom:0px;
		color: var(--brand-purewhite);
	}
	.onetime-service {
		border: 2px solid;
		border-radius: 15px;
		padding: 40px 15px;
		border-color: var(--brand-purewhite);
		margin-bottom: 2rem;
		position: relative;
	}
	.onetime-service ul li {
		margin-bottom: 20px;
		font-weight: 500;
	}
	.plan-note {
		text-align: center;
		font-weight: 500;
		opacity: 0.8;
	}
	hr.modern-divider {
		background-color: var(--brand-purewhite);
		border: 0;
		height: 2px;
		margin-bottom: 1.5em;
		margin-top: 1.5em;
		width: 60px;
	}
	section.onetime-services .btn {
		text-align: center;
	}

	.onetime-service:has(.premium-ribbon) {
		border: 2px solid var(--brand-purewhite);
		padding-top: 50px !important;
		border: none;
		box-shadow: 0 0 0 2px var(--brand-purewhite);
		border-radius: 15px;
		padding: 40px 15px;
		margin-bottom: 2rem;
	}


	.onetime-service .premium-ribbon {
		position: absolute;
		top: -1px;
		left: -1px;
		width: calc(100% + 2px);
		background-color: var(--brand-red);
		text-align: center;
		padding: 6px 0;
		border-radius: 15px 15px 0 0;
		border: 1px solid var(--brand-purewhite);
		border-bottom: none;
	}



	section.onetime-services {
		background: var(--brand-navy);
		color: var(--brand-purewhite);
	}

	.onetime-service ul {
    height: 300px;
}
/* ==========================================================================
   Custom Section
   ========================================================================== */
/* Section Container Styling */
.custom-patch-section {
    background-color: var(--brand-whitetint); /* Clean, light clinical background */
    color: var(--brand-navy); /* Deep navy text for rich contrast */
}

.custom-patch-section .container {
    width: 100%;
    margin: 0 auto;
}

/* Copy Styling Column */
.patch-copy-column {
    flex: 1;
}

.patch-copy-column .medical-tag {
    color: var(--brand-red); /* Your signature accent coral brand color */
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}


/* Form Styling Column */
.patch-form-column {
    flex: 1;
    background: var(--brand-purewhite);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 29, 58, 0.05); /* Soft, non-aggressive elevation shadow */
}

.triage-intake-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #0f1d3a;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #0f1d3a;
    transition: border-color 0.2s ease-in-out;
	width: 100%;
}

/* Focused UI Inputs */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f1d3a; /* Dark navy border match on active selection */
}

/* Form Action Trigger */
.form-submit-btn {
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 10px;
	padding: 16px 20px !important;
}

.form-submit-btn:hover {
    background-color: #e55b5b; /* Slightly darker shade on interaction state */
}

.custom-patch-section h3 {
    margin-bottom: 0;
}

/* Mobile Responsive Breakpoint */
@media (max-width: 768px) {
    .custom-patch-section .section-container {
        flex-direction: column;
        gap: 40px;
    }

    .patch-form-column {
        padding: 24px;
        width: 100%;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
   .site-footer .container{
		display: flex;
		flex-direction: column;
		align-items: center;
		font-weight: 500;
	}
	.modern-divider.long-divider{
		    opacity: 35%;
			    background-color: var(--brand-navy);
				width:100%;
	}

/* ==========================================================================
   TOS and Privacy Policy Section
   ========================================================================== */
	.page-id-49 .container, .page-id-64 .container{
		padding-top: clamp(2rem, 8vw, 3rem);
		padding-bottom: clamp(2rem, 8vw, 3rem);
		    max-width: 800px;
	}
	.page-id-49 h1, .page-id-64 h1{
		font-size:50px;
	}
	.page-id-49 h2, .page-id-64 h2{
		font-size:20px;
	}
	.page-id-49 h3.wp-block-heading, .page-id-64 h3.wp-block-heading {
		margin-bottom: 0;
		margin-top: 3rem;
	}
/* ==========================================================================
   CF7
   ========================================================================== */
   fieldset.hidden-fields-container {
    display: none;
}
.wpcf7 .screen-reader-response {
    display: none;
}
.custom-patch-section .wpcf7  {
    color: var(--brand-red);
}
form.wpcf7-form[data-status="sent"] {
    color: green;
}
/* ==========================================================================
   4. DESKTOP MEDIA QUERY LAYER (Viewports 801px and wider)
   ========================================================================== */
   /**
 * UI Diagnostic: Custom Navigation Dropdown Chevron
 * Optimized Data-URI SVG injection to eliminate HTTP overhead
 */
@media only screen and (min-width: 769px) {

    /* Hero Layout Overrides */
    .hero-section {
        flex-direction: row; /* Return structural containers to horizontal flow */
        justify-content: space-between;
        align-items: center;
        height: 85vh; /* Transition to dynamic viewport metric */
        min-height: 80vh;
        padding: 4rem 0;
    }
	.header-cta {
        padding-top: 40px;
        justify-content: flex-start;
        column-gap: 20px;
    }

    .hero-bg-img {
        background-size: auto; /* Reset mobile contain behavior for desktop layout */
    }

    /* Why Us Layout Overrides */
    .container.why-us {
        flex-direction: row; /* Returns columns to inline row sequence */
    }

	/*How It Works Layout Overrides*/
	.wp-agency-timeline {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Switch line from vertical to horizontal */
    .wp-agency-timeline::before {
        left: 0;
        right: 0;
        top: 20px;
        width: 100%;
        height: 2px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        margin-bottom: 0;
        padding: 0 20px;
    }

    .timeline-badge {
        margin-bottom: 20px;
    }

    .timeline-content {
        padding-left: 0;
        padding-top: 0;
    }

	/*Proactive Plans*/
	.proactive-plan {
		width: 500px;
	}
	.proactive-plans-block {
		display: flex;
		column-gap: 50px;
		justify-content: center;
	}
	.proactive-plan ul {
    	height: 260px;
	}


	/*Onetime Services Plans*/
	.onetime-services-block {
		display: flex;
		column-gap: 50px;
		justify-content: center;
	}
	.onetime-service {
    	width: 300px;
	}


	/*Custom Service*/
	.custom-patch-section .container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
}


}