/*!
Theme Name: adait
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: adait
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.

adait 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
	- Navigation
	- 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.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* 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 {
	margin: 0.67em 0;
	font-size: clamp(1.8em, 3vw, 2.5em);
	font-weight: 800;
	line-height: 1;
	color: var(--text-color, #333);
	text-align: center;
}

/* 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;
	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;
	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: border-box;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	font-size: 1rem;
	line-height: 1.5;
}

body {
	font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	color: var(--text-color, #333333);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--heading-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	font-weight: var(--heading-font-weight, 700);
	color: var(--headings-color, #222222);
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	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 #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

li {
	margin:0.5em 0
}

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(--primary-color)
}

a:visited {
	color: var(--primary-color)
}

a:hover,
a:focus,
a:active {
	color: var(--primary-color);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	font-family: var(--button-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	font-weight: var(--button-font-weight, 500);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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 {
	border-color: #aaa #bbb #bbb;
}

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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Content Width and Layout
--------------------------------------------- */
.site {
	max-width: 100%;
	overflow-x: hidden;
}

.site-main {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	/* padding: 0 1rem; */
}

.content-area {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	padding: 0 1rem;
}

/* Full width sections for backgrounds */
.full-width-section {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.full-width-section .section-content {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	padding: 0 1rem;
}

/* Block Editor Alignments */
.alignwide {
	max-width: calc(var(--content-width, 1300px) * 1.2);
	width: calc(var(--content-width, 1300px) * 1.2);
}

.alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Ensure content inside full-width blocks respects content width */
.alignfull .wp-block-group__inner-container,
.alignfull .wp-block-cover__inner-container {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	padding: 0 1rem;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/*
Variables
--------------------------------------------- */
:root {
	--purple: #794D93;
	--blue: #5374B1;
	--green: #919E35;
	--aqua: #4D9BA3;
	--yellow: #C88818;
	--pink: #A91669;
	--orange: #CF3A08;
}

/* Header
--------------------------------------------- */
.site-header {
	font-size:clamp(6px, 2vw, 16px);
	background-color: #ffffff;
	color: #333333;
	/* padding: 1rem 0; */
	position: fixed;
	top: 2em;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	border-radius: 60px;
	max-width: var(--content-width, 1300px);
	width: calc(100% - 4em);
}

.header-container {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 104px;
}

/* Enhanced shadow when scrolled */
.site-header.scrolled {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure content doesn't jump behind sticky header */
.site-header + .site-main,
.site-header + main {
	scroll-margin-top: 150px;
}

/* Smooth scroll behavior for anchor links */
html {
	scroll-behavior: smooth;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: bold;
}

.site-title a {
	color: #333333;
	text-decoration: none;
}

.site-title a:hover {
	color: var(--primary-color, #0073aa);
}

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

.custom-logo {
	max-height: 75px;
	width: auto;
	margin-top: 12px;
	margin-bottom: 4px;
	min-width: 100px;
}

.header-right {
	display: flex;
	align-items: center;
	padding-right: 30px;
}

.header-buttons {
	display: flex;
	/* align-items: center; */
	gap: 1rem;
}

/* Scope header buttons to masthead only */
:is(#masthead, .mobile-header-buttons) .header-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75em 1.5em;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	white-space: nowrap;
}
:is(#masthead, .mobile-header-buttons) .header-btn:hover {
	transform: translateY(-2px)
}

/* Scope all masthead button variations */
:is(#masthead, .mobile-header-buttons) .portal-btn {
	color: var(--text-color);
	font-weight: 400;
	transition: .2s ease;
	padding: 0.75em 0.5em;
}
.mobile-header-buttons .portal-btn {
	padding: 0.2em 0em !important;
	flex-direction:row-reverse;
	justify-content: flex-end;
	display: none !important;
}
.mobile-header-buttons .portal-btn svg {
	width: 36px !important;
	height: 36px !important;
	padding: 7px
}

:is(#masthead, .mobile-header-buttons) .portal-btn:hover {
	color: var(--primary-color)
}


:is(#masthead, .mobile-header-buttons) .phone-btn {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--text-color);
	border: 1px solid;
	border-color: var(--border-color);
	padding:5px 14px 5px 5px
}
.mobile-header-buttons .phone-btn {
	border: unset !important;
	padding: 0.2rem 0 !important;
	display: none !important;
}
.mobile-header-buttons .phone-btn svg {
	background: unset !important;
}
.mobile-header-buttons .phone-btn svg path {
	fill: var(--primary-color) !important;
}

:is(#masthead, .mobile-header-buttons) .phone-btn:hover {
	/* background-color: color-mix(in srgb, var(--primary-color, #0073aa) 10%, white); */
	border-color:var(--primary-bright-color, #0073aa);
}

:is(#masthead, .mobile-header-buttons) .phone-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	background: var(--primary-color, #0073aa);
	border-radius:100px;
	transition: .2s ease;
}
:is(#masthead, .mobile-header-buttons) .phone-btn:hover .phone-icon {
	background: var(--primary-bright-color, #0073aa);
}

:is(#masthead, .mobile-header-buttons) .menu-btn {
	background-color: var(--primary-color, #0073aa);
	color: #ffffff;
}
.mobile-header-buttons .menu-btn {
	flex-grow: 1;
	text-align: center;
	justify-content: center;
	margin-top: 0.5rem;
}

:is(#masthead, .mobile-header-buttons) .menu-btn:hover {
	background-color: var(--primary-bright-color, #0073aa);
	color: #ffffff;
	/* box-shadow: 0 8px 8px -5px rgba(0,0,0,0.2); */
}

/* Mobile Header */
@media (max-width: 768px) {
	
	#masthead .header-container {
		min-height: unset;
	}
	
	.header-buttons {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.75rem;
	}
	
	#masthead .header-btn {
		font-size: 0.85rem;
		/* padding: 0.6rem 1.2rem; */
	}
	#masthead .phone-btn .phone-text {
		display: none;
	}
	#masthead .phone-btn:after {
		content:'Call';
	}
	#masthead .phone-icon {
		width:31px;
		height: 31px;
	}
	.custom-logo {
	    height: 65px;
	    width: auto;
	    margin-top: 8px;
	    margin-bottom: 2px;
	    min-width: 80px;
	}
}

@media (max-width: 600px) {
	.custom-logo {
	    height: 55px;
	    width: auto;
	    margin-top: 6px;
	    margin-bottom: 2px;
	    min-width: 80px;
	}
	.header-right {
		padding-right: 1rem
	}
	#masthead .custom-logo-link {
		padding-left:12px
	}
	#masthead .header-btn.portal-btn {
		display: none;
	}
	#masthead .phone-btn {
		padding: 0;
	}
	#masthead .phone-btn:after {
		content: unset;
	}
	#masthead .phone-icon, #masthead .phone-btn:hover .phone-icon {
		background: unset;
		width:40px;
		height: 40px;
	}
	#masthead .phone-icon path {
		fill: var(--primary-color);
	}
	#masthead .phone-btn:hover .phone-icon path {
		fill: var(--primary-bright-color);
	}
}
@media (max-width: 400px) {
	#masthead .menu-btn {
		display: none;
	}
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	/* font-size: clamp(12px, 1.5vw, 16px); */
}

.main-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding-left: 0;
	gap: 0;
	
}

.main-navigation li {
	position: relative;
}

.main-navigation ul ul {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	display:flex;
	flex-direction:column;
	background: white;
	border-top: 4px solid var(--primary-color);
	padding: 10px 0;
	border-radius: 0 0 20px 20px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overflow-x: hidden;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}
.main-navigation ul li ul a {
	min-width:200px
}
:is(.main-navigation, .mobile-menu-container) ul li {
	margin:0;
}
:is(.main-navigation, .mobile-menu-container) ul li.menu-item-133 ul a {
	max-width: 480px;
	display: grid;
	grid-template-columns: 40px auto;
	column-gap: 11px;
	row-gap: 0px;
	padding: 14px 30px;
	width: 90vw;
}
.mobile-menu-container ul li.menu-item-133 ul a {
	padding: 10px 20px;
	width: unset;
	grid-template-columns: 1fr;
}
.mobile-menu-close {
	position: absolute;
	right: 10px;
	top: 10px;
	border: 1px solid var(--border-color);
	border-radius: 100px;
	background: unset;
	font-size: 30px;
	padding:0;
	width: 40px;
	height: 40px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

/* Scrollable submenu styling */
.main-navigation ul ul::-webkit-scrollbar {
	width: 6px;
}

.main-navigation ul ul::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}

.main-navigation ul ul::-webkit-scrollbar-thumb {
	background: var(--primary-color, #0073aa);
	border-radius: 3px;
}

.main-navigation ul ul::-webkit-scrollbar-thumb:hover {
	background: var(--primary-bright-color, #005177);
}

/* Add subtle fade indicators for scrollable content */
.main-navigation ul ul::before,
.main-navigation ul ul::after {
	content: '';
	position: sticky;
	display: block;
	height: 10px;
	background: linear-gradient(to bottom, white, transparent);
	z-index: 1;
	pointer-events: none;
}

.main-navigation ul ul::before {
	top: 0;
	margin-bottom: -10px;
}

.main-navigation ul ul::after {
	bottom: 0;
	margin-top: -10px;
	background: linear-gradient(to top, white, transparent);
}
#primary-menu > li > a {
	white-space:nowrap
}
.main-navigation a {
	display: block;
	text-decoration: none;
	color: var(--text-color);
	padding: clamp(6px, 2vw, 1rem) clamp(12px, 2vw, 1.5rem);
	font-weight: 500;
	/* transition: color 0.3s ease; */
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--primary-color, #0073aa);
}
.main-navigation .menu-item-has-children > a {
	display: flex;
	gap: 10px;
}
.main-navigation .menu-item-has-children > a:after {
	content: '';
    display: inline-flex;
    min-width: 8px;
    height: 8px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: 4px;
    transition: .5s 
ease;
}
.main-navigation .menu-item-has-children:hover > a,
.main-navigation .menu-item-has-children:active > a {
	background: var(--primary-color);
	color: white;
	border-radius:8px 8px 0 0 
}
/* Mobile Navigation */
.menu-toggle {
	display: none;
	background:transparent;
	color: #ffffff;
	border-radius:5rem;
	border: none;
	cursor: pointer;
	text-indent:-999em;
	width: 48px;
	/* height: 100%; */
	background: transparent;
	padding:10px;
	font-size:0;
	position: relative;
	/* border:1px solid var(--border-color); */
}
.menu-toggle span:not(.screen-reader-text) {
	display:block;
	width: calc(100% - 20px);
	height: 4px;
	background: var(--primary-color);
	position:absolute;
	border-radius:10px;
}
.menu-toggle span:nth-child(1){
	top:calc(50% - 10px)
} 
.menu-toggle span:nth-child(2){
	top:50%;
	transform: translateY(-50%);
} 
.menu-toggle span:nth-child(3) {
	bottom:calc(50% - 10px)
}

/* Mobile Menu Overlay - slides in from left */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter:blur(10px);
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.mobile-menu-overlay.is-active {
	opacity: 1;
	pointer-events: all;
}

.mobile-menu-container {
	position: fixed;
	top: 0;
	left: -300px;
	width: 300px;
	height: 100%;
	background: white;
	transition: left 0.3s ease;
	overflow-y: auto;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

body.mobile-menu-open .mobile-menu-container {
	left: 0;
}

/* Mobile site branding styling */
.mobile-site-branding {
	padding: 30px 20px 0;
	text-align: center;
}
.mobile-site-branding .custom-logo-link {
	padding:0;
	margin:0;
}
.mobile-site-branding .custom-logo-link {
	padding:0;
	margin:0;
}

.mobile-site-branding .site-branding {
	margin: 0;
}

.mobile-site-branding .custom-logo {
	max-height: 60px;
	width: auto;
	margin: 0 auto;
	display: block;
	min-width: unset;
}

.mobile-site-branding .site-title {
	margin: 10px 0 0;
	font-size: 1.2em;
}

.mobile-site-branding .site-title a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

.mobile-site-branding .site-description {
	margin: 5px 0 0;
	font-size: 0.9em;
	color: rgba(255, 255, 255, 0.8);
}

/* Mobile header buttons styling */
.mobile-header-buttons {
	padding: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-wrap: wrap;
	row-gap: 0.2rem;
}

.mobile-header-buttons .header-btn:hover {
	/* background: var(--primary-bright-color, #005177); */
	transform: translateY(-2px);
}

.mobile-header-buttons .header-btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}



.mobile-header-buttons .phone-btn .phone-text {
	font-size: 0.9em;
}

/* Mobile footer contact styling */
.mobile-footer-contact {
	padding: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: var(--footer-background-color);
	margin-top: auto;
}

.mobile-footer-contact .footer-contact-info {
	margin: 0;
	justify-content: flex-start;
	gap: 0.2rem;
}

.mobile-footer-contact .footer-contact-item {
	/* margin-bottom: 15px; */
	text-align: center;
}

.mobile-footer-contact .footer-contact-item:last-child {
	margin-bottom: 0;
}

.mobile-footer-contact .footer-contact-item :is(a, span) {
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	/* padding: 10px; */
	/* border-radius: 6px; */
	transition: background-color 0.2s ease;
	text-align: left;
	/* font-size: inherit; */
}

.mobile-footer-contact .footer-contact-item a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.mobile-footer-contact .footer-contact-item svg {
	/* width: 20px; */
	/* height: 20px; */
	flex-shrink: 0;
}

.mobile-footer-contact .footer-contact-item :is(a,span) {
	font-size: 0.9em;
}

/* Mobile footer right styling */
.mobile-footer-right {
	padding: 20px;
	/* border-top: 1px solid rgba(255, 255, 255, 0.1); */
	background: var(--footer-background-color);
	text-align: center;
	color: white;
}

.mobile-footer-right .footer-right {
	margin: 0;
	flex-direction: column;
}

.mobile-footer-right .footer-menu {
	flex-direction: column;
	gap: 10px;
	justify-content: center;
}

.mobile-footer-right .footer-menu li {
	margin: 0;
}

.mobile-footer-right .footer-menu a {
	color: rgba(255, 255, 255, 0.9);
	padding: 8px 15px;
	display: block;
	border-radius: 4px;
	transition: all 0.2s ease;
	font-size: 0.9em;
}

.mobile-footer-right .footer-menu a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

.mobile-footer-right .footer-social {
	margin-top: 15px;
	display: flex;
	justify-content: center;
	gap: 15px;
}

.mobile-footer-right .footer-social a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.2em;
	padding: 8px;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.mobile-footer-right .footer-social a:hover {
	background-color: var(--primary-color, #0073aa);
	color: white;
	transform: translateY(-2px);
}

.mobile-footer-right .footer-copyright {
	margin-top: 15px;
	font-size: 0.8em;
	color: rgba(255, 255, 255, 0.6);
}

/* Mobile menu styling */
.mobile-menu-container #mobile-primary-menu, .mobile-menu-container #mobile-primary-menu ul {
	list-style: none;
	margin: 0;
	padding: 1em 0 0;
}

.mobile-menu-container #mobile-primary-menu li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

/* Mobile submenu toggle button */
.mobile-menu-container .submenu-toggle {
	position: absolute;
	right: 15px;
	top: 27px;
	transform: translateY(-50%);
	background: var(--primary-color, #0073aa);
	border: none;
	color: white;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	transition: all 0.2s ease;
	z-index: 1;
	padding: 0;
}

.mobile-menu-container .submenu-toggle:hover {
	background: var(--primary-bright-color, #005177);
	transform: translateY(-50%) scale(1.1);
}

.mobile-menu-container .submenu-toggle:active {
	transform: translateY(-50%) scale(0.95);
}

.mobile-menu-container .submenu-toggle .toggle-icon {
	line-height: 1;
	user-select: none;
}

.mobile-menu-container #mobile-primary-menu a {
	display: grid;
	padding: 12px 60px 12px 20px; /* Add right padding for toggle button */
	color: var(--text-color);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

/* Menu items without children don't need the extra padding */
.mobile-menu-container #mobile-primary-menu li:not(.menu-item-has-children) a {
	padding-right: 20px;
}

/* Mobile submenu styling */
.mobile-menu-container #mobile-primary-menu .sub-menu {
	/* background: rgba(0, 0, 0, 0.2); */
	padding: 0 !important;
	border-left: 4px solid var(--primary-color);
	margin-left: 1rem;
	margin-bottom: 1rem;
}

.mobile-menu-container #mobile-primary-menu .sub-menu a {
	/* padding-left: 40px; */
	font-size: 0.9em;
	padding: 8px 60px 8px 15px;
}

.mobile-menu-container #mobile-primary-menu .menu-item-has-children > a::after {
	/* content: "▼"; */
	float: right;
	font-size: 0.8em;
	transition: transform 0.2s ease;
}

.mobile-menu-container #mobile-primary-menu .menu-item-has-children.open > a::after {
	transform: rotate(180deg);
}

/* Hide standard mobile navigation when using overlay */
.main-navigation.toggled ul {
	display: none !important;
}

@media screen and (max-width: 1140px) {
	.menu-toggle {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
	
	.main-navigation {
		position: relative;
	}
	
	/* More constrained submenu height on mobile */
	.main-navigation ul ul {
		max-height: calc(100vh - 180px);
	}
}

/* Hide more dropdown on mobile */
@media screen and (max-width: 980px) {
	.more-dropdown {
		display: none !important;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 6em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Footer Navigation
--------------------------------------------- */
.footer-navigation {
	padding: 40px 0;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2em;
	max-width: var(--content-width, 1300px);
	margin-left: auto;
	margin-right: auto;
	width: calc(100vw - 40px);
}

.footer-menu li {
	position: relative;
	margin: 0;
}

.footer-menu a {
	color: #ffffff;
	text-decoration: none;
	padding: 0.5em 0;
	display: block;
	font-weight: 800;
	transition: 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
	color: var(--primary-bright-color);
}

/* Footer Submenu Styles - Always Visible */
.footer-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	position: static;
	display: block;
	opacity: 1;
	visibility: visible;
	background: none;
	box-shadow: none;
	width: auto;
}

.footer-menu .sub-menu li {
	margin: 0;
	padding: 0;
}

.footer-menu .sub-menu a {
	padding: 0.25em 0;
	font-size: 0.9em;
	font-weight: normal;
	display:grid;
	grid-template-columns:8px auto;
	gap:12px;
	row-gap: 0px;
	transition:.5s ease;
	text-align: left;
}
.footer-menu .sub-menu a:before {
	content:'';
	display:inline-flex;
	min-width:8px;
	height:8px;
	border: 2px solid rgba(255,255,255,0.2);
	border-width:0 2px 2px 0;
	transform: rotate(-45deg);
	margin-top:6px;
	transition:.5s ease
}

.footer-menu .sub-menu a:hover,
.footer-menu .sub-menu a:focus {
	opacity: 1;
	transform: translateX(5px)
}
.footer-menu .sub-menu a:hover:before {
	border-color:var(--primary-color, white);
}

/* Third Level Submenus */
.footer-menu .sub-menu .sub-menu {
	margin-left: 1em;
	margin-top: 0.25em;
}

.footer-menu .sub-menu .sub-menu a {
	font-size: 0.85em;
	opacity: 0.8;
	padding-left: 0.5em;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile Footer Navigation */
@media (max-width: 768px) {
	.footer-menu {
		/* flex-direction: column; */
		/* text-align: center; */
		gap: 1em;
		display: grid;
		grid-template-columns: auto auto;
	}
	
	.footer-menu .sub-menu {
		margin-top: 0.25em;
	}
	
	.footer-menu .sub-menu .sub-menu {
		margin-left: 0;
		padding-left: 1em;
	}
}
@media (max-width: 530px) {
	.footer-menu {
		/* flex-direction: column; */
		/* text-align: center; */
		gap: 1em;
		display: grid;
		grid-template-columns: auto;
	}
}
/* Footer Contact Info
--------------------------------------------- */
.site-footer {
	padding-top: 200px;
	background-image:url(/wp-content/themes/adait/assets/footer-pattern.png), linear-gradient(to bottom, #0e225a, transparent);
	background-repeat: repeat-x;
	background-size:100px auto;
	/* max-width: calc(100vw - 40px); */
}

.footer-content {
	padding: 1.5em 0;
	background: rgba(255,255,255,0.05);
	/* max-width: calc(100vw - 40px); */
	/* margin: unset !important; */
	max-width: unset !important;
}

.footer-logo-contact {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2em;
}

.footer-logo {
	margin-bottom: 0;
	flex-shrink: 0;
}

.footer-contact-info {
	display: flex;
	flex-wrap: wrap;
	row-gap: 0.3em;
	align-items: center;
	flex-grow: 1;
	justify-content: space-between;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.875em;
	/* white-space: nowrap; */
}
.contact-icon {
	flex-shrink: 0;
	/* margin-right: 0.5em; */
	color: white;
	width: 35px;
	height: 35px;
	background: rgba(255,255,255,0.1);
	border-radius: 100px;
	transition:.2s ease;
}

.contact-link, .contact-text {
	color: white;
	text-decoration: none;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
	transition:.2s ease;
	border: 1px solid transparent;
	border-radius:50px;
	padding: 7px 14px 7px 7px;
	gap: 10px;
	text-align: left;
}
.contact-link:hover,
.contact-link:focus {
	border-color: rgba(255,255,255,0);
	background: rgba(255,255,255,0.1)
}
.contact-link:hover .contact-icon,
.contact-link:focus .contact-icon {
	background: var(--primary-color)
}

/* Mobile Footer Contact */
@media (max-width: 1345px) {
	.footer-logo-contact {
		flex-direction: column;
		gap: 1.5em;
		text-align: center;
	}
	
	.footer-contact-info {
		justify-content: center;
		gap: 1.5em;
		row-gap: 0;
	}
}

@media (max-width: 768px) {
	.footer-contact-info {
		flex-direction: column;
		gap: 0;
		align-items: flex-start;
	}
	
	.footer-contact-item {
		font-size: 0.8em;
		justify-content: center;
	}
}
@media (max-width: 548px) {
	.footer-logo-contact {
		align-items: flex-start;
	}
}
/* Footer Site Info
--------------------------------------------- */
.site-info {
	padding: 1.5em 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-info-content {
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* color: rgba(255, 255, 255, 0.8); */
	font-size: 0.875em;
}

.footer-left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75em;
}

.copyright-text,
.privacy-policy-link,
.abn-info {
	/* color: rgba(255, 255, 255, 0.8); */
	white-space: nowrap;
}

.privacy-policy-link {
	text-decoration: none;
	transition: color 0.3s ease;
}

.privacy-policy-link:hover,
.privacy-policy-link:focus {
	color: #ffffff;
	text-decoration: underline;
}

.abn-info {
	font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	/* letter-spacing: 0.5px; */
}

.footer-separator {
	color: rgba(255, 255, 255, 0.4);
	font-size: 1.2em;
	margin: 0 0.25em;
	width: 6px;
	height: 6px;
	background: rgba(255,255,255,0.2);
	border-radius: 10px;
	overflow: hidden;
}

.footer-right {
	display: flex;
	align-items: center;
	gap: 1em;
}

.social-connect-text {
	/* color: rgba(255, 255, 255, 0.8); */
	font-size: 0.9em;
	margin-right: 0.5em;
}

.footer-social-icons {
	display: flex;
	gap: 0.75em;
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
	background-color: rgba(255, 255, 255, 0.25);
	color: #ffffff;
	transform: translateY(-2px);
}

.footer-social-link.facebook:hover {
	background-color: rgba(59, 89, 152, 1);
}

.footer-social-link.linkedin:hover {
	background-color: rgba(0, 119, 181, 1);
}

.footer-social-link.youtube:hover {
	background-color: rgba(255, 0, 0, 1);
}

/* Mobile Footer Info */
@media (max-width: 768px) {
	.site-info-content {
		flex-direction: column-reverse;
		row-gap: 1rem
	}
	.site-info {
		flex-direction: column;
		gap: 1em;
		text-align: center;
	}
	
	.footer-left {
		justify-content: center;
		font-size: 0.8em;
	}
	
	.footer-right {
		flex-direction: column;
		gap: 0.5em;
	}
	
	.social-connect-text {
		margin-right: 0;
		font-size: 0.85em;
	}
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 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%;
}

/* Contact Information Widget
--------------------------------------------- */
.contact-info-widget {
	font-family: inherit;
	line-height: 1.6;
}

.contact-item {
	margin-bottom: 1em;
	padding: 0.5em 0;
}

.contact-label {
	font-weight: bold;
	display: inline-block;
	margin-bottom: 0.25em;
}

.contact-phone a,
.contact-email a {
	color: inherit;
	text-decoration: none;
}

.contact-phone a:hover,
.contact-email a:hover {
	text-decoration: underline;
}

.address-text,
.hours-text {
	margin-top: 0.25em;
	padding-left: 0;
}

.support-message {
	background: #f9f9f9;
	padding: 1em;
	border-left: 4px solid #0073aa;
	margin: 1em 0;
	font-style: italic;
}

.contact-buttons {
	margin: 1.5em 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.contact-button {
	display: inline-block;
	padding: 0.75em 1.5em;
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: var(--button-font-weight, 500);
	font-family: var(--button-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	text-align: center;
	transition: background-color 0.3s ease;
}

.contact-button:hover {
	background-color: #005a87;
	color: #fff;
}

.portal-button {
	background-color: #0073aa;
	font-family: var(--button-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	font-weight: var(--button-font-weight, 500);
}

.menu-button {
	background-color: #666;
	font-family: var(--button-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	font-weight: var(--button-font-weight, 500);
}

.menu-button:hover {
	background-color: #444;
}

.social-media-links {
	margin-top: 1.5em;
	padding-top: 1em;
	border-top: 1px solid #eee;
}

.social-label {
	font-weight: bold;
	display: block;
	margin-bottom: 0.5em;
}

.social-icons {
	display: flex;
	gap: 0.75em;
	flex-wrap: wrap;
}

.social-link {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	color: #fff;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.social-link:hover {
	transform: scale(1.1);
	color: #fff;
}

.social-facebook {
	background-color: #3b5998;
}

.social-linkedin {
	background-color: #0077b5;
}

.social-youtube {
	background-color: #ff0000;
}

.social-link::before {
	content: "";
	font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free";
	font-weight: 900;
}

.social-facebook::before {
	content: "\f09a"; /* Facebook icon */
}

.social-linkedin::before {
	content: "\f08c"; /* LinkedIn icon */
}

.social-youtube::before {
	content: "\f167"; /* YouTube icon */
}

/* Fallback for when Font Awesome is not available */
.social-link:not([class*="fa-"])::before {
	content: attr(data-platform);
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

/* Contact Info Area Container */
.contact-info-area {
	margin: 1em 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.contact-buttons {
		flex-direction: column;
	}
	
	.contact-button {
		width: 100%;
		text-align: center;
	}
	
	.social-icons {
		justify-content: center;
	}
}

/* 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;
	padding: 5px 5px 5px 16px;
}

/* 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: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	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;
}

/*--------------------------------------------------------------
# Typography Enhancements
--------------------------------------------------------------*/

/* Additional typography rules to ensure font variables are applied consistently */
.site-title,
.site-description,
.entry-title,
.page-title,
.widget-title,
.comment-title,
.post-navigation .nav-title,
.posts-navigation .nav-title {
	font-family: var(--heading-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	font-weight: var(--heading-font-weight, 700);
	color: var(--headings-color, #222222);
}

/* Ensure all buttons and button-like elements use button typography */
.wp-block-button .wp-block-button__link,
.wp-element-button,
.button,
.btn,
input[type="submit"],
input[type="button"],
input[type="reset"],
button {
	font-family: var(--button-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif) !important;
	font-weight: var(--button-font-weight, 500) !important;
}

/* Ensure body text elements use body font */
p,
li,
.entry-content,
.page-content,
.comment-content,
blockquote,
.widget,
.site-info {
	font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
}

/*--------------------------------------------------------------
# Icon Management System
--------------------------------------------------------------*/

/* Icon size classes for automatic sizing */
.icon-mini {
	width: 18px;
	height: 18px;
	display: inline-block;
	vertical-align: middle;
}

.icon-menu {
	width: 25px;
	height: 25px;
	display: inline-block;
	vertical-align: middle;
}

.icon-multicolour {
	width: 57px;
	height: 57px;
	display: inline-block;
	vertical-align: middle;
}

.icon-large {
	width: 60px;
	height: 60px;
	display: inline-block;
	vertical-align: middle;
}

/* Icon containers for better alignment */
.icon-container {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.icon-container.vertical {
	flex-direction: column;
	text-align: center;
}

.icon-container.horizontal {
	flex-direction: row;
}

/* Specific icon styling */
.faq-icon {
	margin-right: 0.5em;
	color: var(--primary-color, #007cba);
}

.menu-icon {
	margin-right: 0.75em;
}

.feature-icon {
	margin-bottom: 1em;
}

.header-feature-icon {
	margin-bottom: 1.5em;
	width: 132px;
}

/* SVG specific styling */
.icon-mini svg,
.icon-menu svg,
.icon-multicolour svg,
.icon-large svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Hover effects for interactive icons */
.icon-menu:hover,
.menu-icon:hover {
	transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.icon-multicolour {
		width: 45px;
		height: 45px;
	}
	
	.icon-large {
		width: 48px;
		height: 48px;
	}
}

/*--------------------------------------------------------------
# Menu Icon Integration
--------------------------------------------------------------*/

/* Menu item with icon styling */
:is(.main-navigation, .mobile-menu-container) .menu-icon-wrapper {
	display: inline-flex;
	align-items: center;
	margin-right: 8px;
	vertical-align: middle;
	flex-shrink: 0;
}

:is(.main-navigation, .mobile-menu-container) .menu-text {
	font-weight: 400;
	line-height: 1.2;
	display: block;
}
:is(.main-navigation, .mobile-menu-container) .menu-text:first-child,
:is(.main-navigation, .mobile-menu-container) .sub-menu .menu-description:nth-child(2) {
	grid-column-start: 1;
	grid-column: span 2;
}
:is(.main-navigation, .mobile-menu-container) .sub-menu * {
	transition: 0.1s ease
}
:is(.main-navigation, .mobile-menu-container) .sub-menu .menu-text {
	font-weight: 700;
}
:is(.main-navigation, .mobile-menu-container) .menu-description {
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 300;
	line-height: 1.3;
	display: block;
	margin-top: 2px;
}
.mobile-menu-container .menu-description {
	display: none;
}
.mobile-menu-container .sub-menu .menu-text {
	grid-row: span 2;
	align-content: center
}

/* Submenu specific styling */
:is(.main-navigation, .mobile-menu-container) .sub-menu .menu-icon-wrapper {
	margin-right: 6px;
	grid-row: 1 / span 2;
	align-items: flex-start;
	min-width: 40px;
}
.mobile-menu-container .sub-menu .menu-icon-wrapper {
	min-width: 30px;
}

:is(.main-navigation, .mobile-menu-container) .sub-menu .menu-icon-wrapper svg {
	width: 40px;
	height: 40px;
	background: red;
	border-radius: 100px;
	color: red;
}
.mobile-menu-container .sub-menu .menu-icon-wrapper svg {
	width: 30px;
	height: 30px;
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+1) .menu-icon-wrapper svg path {
	fill: var(--orange);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+1) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--orange) 10%, white);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+2) .menu-icon-wrapper svg path {
	fill: var(--purple);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+2) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--purple) 10%, white);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+3) .menu-icon-wrapper svg path {
	fill: var(--green);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+3) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--green) 10%, white);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+4) .menu-icon-wrapper svg path {
	fill: var(--yellow);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+4) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--yellow) 10%, white);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+5) .menu-icon-wrapper svg path {
	fill: var(--aqua);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+5) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--aqua) 10%, white);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+6) .menu-icon-wrapper svg path {
	fill: var(--blue);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+6) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--blue) 10%, white);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+7) .menu-icon-wrapper svg path {
	fill: var(--pink);
}
:is(.main-navigation, .mobile-menu-container) .sub-menu li:nth-of-type(7n+7) .menu-icon-wrapper svg {
	background:color-mix(in srgb, var(--pink) 10%, white);
}

:is(.main-navigation, .mobile-menu-container) .sub-menu .menu-description {
	color: var(--text-color);
	opacity: 0.5;
	font-size: 0.8em;
	grid-column-start: 2;
}
:is(.main-navigation, .mobile-menu-container) .sub-menu a:hover .menu-description {
		opacity: 1;

}

/* Page icon specific classes */
.adait-page-icon {
	display: inline-block;
	vertical-align: middle;
}

.menu-item-icon {
	color: currentColor;
	fill: currentColor;
}

/* Ensure icons inherit text color in menus */
.main-navigation .menu-icon-wrapper svg {
	color: inherit;
	fill: currentColor;
}

/* Meta box preview styling */
.meta-box-preview {
	width: 20px !important;
	height: 20px !important;
}

/* Mobile menu icon adjustments */
@media (max-width: 768px) {
	.main-navigation.toggled .menu-icon-wrapper svg {
		width: 18px;
		height: 18px;
	}
	
	.main-navigation.toggled .menu-description {
		font-size: 0.8em;
	}
}

/*--------------------------------------------------------------
# Button System
--------------------------------------------------------------*/




/*--------------------------------------------------------------
# Entry Header Styles
--------------------------------------------------------------*/

/* Default entry header styles */
main > .entry-header, main.single-php .entry-header {
	padding-top: calc(2rem + 80px + 2rem); /* top spacing + header height + extra spacing - same as adait-header-block */
	padding-bottom: 1rem;
	text-align: center;
	background-color: var(--shaded-background-color, #f0f4f8);
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	position: relative;
}

/* Constrain entry header content to content width */
main > .entry-header > *, main.single-php .entry-header > * {
	max-width: var(--content-width, 1300px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

main.single-php .entry-header {
	padding-bottom: 3em;
}
main.single-php .entry-header h1 {
	font-size: 4em
}
main.single-php .entry-header .entry-meta {
	border: 1px solid var(--primary-color);
	border-radius: 100px;
	padding: 1em 2em;
	display: inline-flex;
	gap: 5px
}
main.single-php .post-thumbnail img {
	border-radius: 2em;
	max-width: var(--content-width, 1300px);
	margin: 0 auto;
	display: block;
	height: 600px;
	width: auto;
}
main.single-php .post-thumbnail {
	background-image: linear-gradient(var(--shaded-background-color, #f0f4f8), white);
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	position: relative;
	margin-bottom: 3em;

}
main.single-php .entry-content > p:first-child {
	font-size: 1.4em;
}
main.single-php .entry-content {
	padding-bottom: 2em;
	max-width: 900px;
}
.entry-footer {
	display: none !important;
}
/*--------------------------------------------------------------
# Custom Header Block
--------------------------------------------------------------*/

/* Hide entry header when header block option is enabled */
.hide-entry-title .entry-header {
	display: none !important;
}

/* Make entry content touch top when entry header is hidden */
.hide-entry-title .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Make main content area touch top when entry header is hidden */
.hide-entry-title .site-main {
	padding-top: 0 !important;
}

/* Add top padding to header block to account for masthead */
.hide-entry-title .adait-header-block {
	padding-top: calc(2rem + 75px + 2rem); /* top spacing + header height + extra spacing */
	padding-left: 2rem;
	padding-right: 2rem;
}

/*--------------------------------------------------------------
# Footer Logo Styles
--------------------------------------------------------------*/

.footer-logo {
	margin-bottom: unset !important;
	text-align: center;
	display: flex;
}

.footer-logo-image {
	max-height: 60px;
	width: auto;
	height: auto;
	/* backdrop-filter: drop-shadow(2px 4px 16px black); */
}

/*--------------------------------------------------------------
# Content Width and Alignment Styles
--------------------------------------------------------------*/

/* Content Width Settings */

.footer-logo-contact,
.site-info,
.site-main,
.content-area,
.entry-content,
.page-content,
.wp-block-group__inner-container,
.wp-block-cover__inner-container,
.alignwide,
.alignfull .wp-block-group__inner-container {
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
	width: calc(100vw - 40px);
}

/* Full width blocks with contained content */
.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.alignwide {
	width: calc(var(--content-width) * 1.2);
	max-width: calc(100vw - 2rem);
}

/* Block editor specific */
.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.wp-block-image.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Ensure inner content respects width */
.wp-block-group.alignfull > .wp-block-group__inner-container,
.wp-block-cover.alignfull > .wp-block-cover__inner-container {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 1rem;
}

/* Hide entry header when hero banner block is present */
body.has-hero-banner .entry-header {
    display: none;
}
body.has-hero-banner .entry-content {
	margin:0
}

/* footer banner */
.footer-banner {
	background-size: cover;
	background-position: center 85%;
	padding: 4em;
	max-width: var(--content-width);
	margin: 2rem auto -150px;
	position:relative;
	min-height:414px;
	border-radius: 20px;
	box-sizing: border-box;
	width: calc(100% - 40px);
	font-size:clamp(10px, 2vw, 16px)
}
@media(max-width: 600px) {
	.footer-banner {
		min-height: unset;
		padding-bottom: 10em;
	}
}
.footer-banner__inner {
  margin: 0 30% 80px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer-banner__text { font-size: 3em }
.footer-banner__text p {
	margin: 0;
	text-wrap: balance;
	font-family: var(--heading-font-family);
	text-shadow: 0 1px 1px rgba(255,255,255,0.8);
	letter-spacing:-0.03em;
	line-height: 1.2;
}
.footer-banner__text p strong {
	color: var(--primary-color)
}
@media (max-width: 840px) {
	.footer-banner__inner {
		margin: 0 10% 0 0
	}
}

/* Hero Testimonial Block */

.testimonial-single .entry-header h1 {
	margin-bottom:0;
}
.hero-testimonial-testimonial {
  text-decoration: none;
  color: inherit;
  display: block;
}
.hero-testimonial-testimonial:hover { text-decoration: underline; }

.hero-testimonial-pretitle {
	font-size: 0.5em;
	font-weight: 800;
	color: var(--primary-color, #0073aa);
	margin-bottom: 0.5rem;
	display: block;
}
.testimonial-single__position_title {
	margin:0.5em auto 2em;
	font-weight: bold;
	opacity: 0.5
}
.testimonial-single__media, .testimonial-card__media {
	display: block;
	position: relative;
	margin: 2em auto;
	position: relative;
    min-width: clamp(200px, 25vw, 400px);
    width: clamp(200px, 25vw, 400px);
    height:clamp(200px, 25vw, 400px);
}
.testimonial-single__photo,
.testimonial-card__photo,
.testimonial-single__logo,
.testimonial-card__logo{
	/* border-radius: 200px; */
	/* object-fit: cover; */
	/* width: 400px; */
	/* height: 400px; */
	border-radius: 1000px;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 1;
	background: var(--shaded-background-color);
}
.testimonial-single__logo, .testimonial-card__logo {
	width: 100px;
	height: 100px;
	position:absolute;
	right:0;
	bottom: 0;
	box-shadow: 0 3px 5px rgba(0,0,0,0.05);
}
.testimonial-single__row, .testimonial-card__link {
	display: flex;
	gap: 2em;
	text-decoration: none;
	color: inherit !important;
	padding: 2em 0;
	font-size: clamp(12px, 2vw, 16px);
}
@media(max-width: 500px) {
    .testimonial-single__row, .testimonial-card__link {
        flex-direction: column;
        align-items: center;
    }
}
.testimonial-single__content, .testimonial-card__content {
	align-self: center;
	margin-top: 0;
}
.testimonial-card__preheader {
	    font-size: 1.25em;
    font-weight: 800;
    color: var(--primary-color, #0073aa);
    margin-bottom: 0.5rem;
    display: block;
}
.testimonial-single__text {
	font-size: 18px;
}
.testimonial-single__text >:first-child {
	margin-top: 0;
}
.testimonial-single__text >:first-child:before {
	content:"\"";
}
.testimonial-single__text >:last-child:after {
	content:"\"";
}
.testimonial-single__author, .testimonial-card__title {
	font-weight: bold;
	margin: 0;
	font-size: 1em;
	margin-top: 2em;
}
.testimonial-single__position, .testimonial-card__position {
	font-size: 0.875em;
    font-weight: bold;
    opacity: 0.5;
	margin:0
}
.testimonial-card__position {
	margin-bottom: 1em;
}
.testimonial-post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1em;
}
.testimonial-card__snippet {
	font-size: 1.8em;
    font-weight: bold;
    line-height: 1.2;
}

/*--------------------------------------------------------------
# End of Custom CSS
--------------------------------------------------------------*/

.blog-posts-list {
	max-width: 768px;
	margin: auto;
}
.blog-posts-list article {
	margin: 5em 0;
}
.blog-posts-list .post-thumb a img {
	border-radius: 30px;
}
.blog-posts-list .post-category {
	display: none;
}
.blog-posts-list .post-meta {
	opacity: 0.5
}
.blog-posts-list .post-title {
	margin:0.51em 0
}

/* formidable form styles */
.frm_forms.with_frm_style.frm_style_formidable-style {
	width: calc(100vw - 40px);
	max-width: 800px;
	margin: 5em auto;
	--text-color: #333;
	--bg-color: white;
	--border-color: #ccc;
	--field-border-width: 1px;
	--field-border-style: solid;
	--border-radius: 8px;
	--field-font-size: 1em;
	--field-pad: 1em;
	--field-weight: 500;
}
.frm_forms.with_frm_style.frm_style_formidable-style button.frm_button_submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 500;
	font-size: 1em;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
	white-space: nowrap;
	background-color: var(--primary-color, #0073aa);
	color: #ffffff;
	border: 1px solid var(--primary-color, #0073aa);
}
.frm_forms.with_frm_style.frm_style_formidable-style button.frm_button_submit:hover {
	background-color: var(--primary-bright-color, #0073aa);
	border-color: var(--primary-bright-color, #0073aa);
	color: #ffffff;
	transform: translateY(-1px);
	
}