/*
Theme Name: Mahr Company Legacy
Theme URI: https://example.com/mahrcompany-legacy
Author: Mahr Company
Author URI: https://example.com
Description: A lightweight classic WordPress theme with full Gutenberg (block editor) support, plus header and footer template support (custom logo, navigation menus, custom header image, and widget areas).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mahrcompany-legacy
Tags: custom-logo, custom-menu, custom-header, featured-images, block-styles, wide-blocks, editor-style, translation-ready, threaded-comments
*/

/* -------------------------------------------------------------
   1. Root variables (kept in sync with theme.json)
------------------------------------------------------------- */
:root {
	--mc-color-primary: #1a56db;
	--mc-color-text: #1f2937;
	--mc-color-muted: #6b7280;
	--mc-color-white: #fff;
	--mc-color-black: #000;
	--mc-color-navy-blue: #293e6b;
	--mc-color-red: #ff2a13;
	--mc-color-dark-red: #c0392b;
	--mc-color-border: #e5e7eb;
	--mc-content-width: 720px;
	--mc-wide-width: 1100px;
	--mc-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	interpolate-size: allow-keywords;
}

/* -------------------------------------------------------------
   2. Base
------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "PT Sans", sans-serif;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--mc-color-text);
	background: var(--mc-color-bg);
}

a {
	color: var(--mc-color-primary);
}

p {
	font-size: clamp(0.875rem, 0.308vw + 0.803rem, 1rem);
}

img {
	max-width: 100%;
	height: auto;
}

.navbar {
	background: var(--mc-color-white);
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.x-container,
.wrapper {
	max-width: 1024px;
	width: 90%;
	margin: 0 auto;

}

.x-navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.x-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.x-brand img {
	max-height: clamp(5rem, 10.786vw + 2.472rem, 9.375rem);
	width: auto;
}

.nav-desktop {
	display: flex;
	align-items: center;
	list-style: none;
}

.nav-desktop li a, .nav-mobile-wrapper li a {
	text-decoration: none;
    color: var(--mc-color-navy-blue);
    font-size: 13px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 68px 24px 0 24px;
	
}
.details-content-area .wp-block-button__link {
	font-weight: 700;
}

/* .nav-mobile-wrapper ul li  {
	padding: 10px 0 !important;
} */
.nav-mobile-wrapper ul li a {
	padding: 10px 0;
	display: block;
	font-size: 14px;
}
.nav-mobile-wrapper ul li a:hover {
	color: #c9282d;
}
.nav-desktop li a:hover,
.nav-desktop li.current-menu-item>a,
.nav-desktop li.current_page_item>a {
	box-shadow: inset 0 4px 0 0 rgb(208, 50, 56);
	color: #c9282d;
}

.nav-desktop li a:hover::after,
.nav-desktop li.current-menu-item>a::after,
.nav-desktop li.current_page_item>a::after {
	width: 100%;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 35px;
	height: 35px;
	background: var(--mc-color-white);
	border: 2px solid var(--mc-color-navy-blue);
	border-radius: 6px;
	cursor: pointer;
	padding: 5px;
	gap: 3px;
	transition: all 0.3s ease;
	flex-shrink: 0;
}



.hamburger span {
	display: block;
	width: 22px;
	background: var(--mc-color-navy-blue);
	border-radius: 2px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	height: 3px;
}

.hamburger.active span:first-child {
	transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.active span:last-child {
	transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile-wrapper {
	display: none;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.4s ease;
}

.nav-mobile-wrapper.open {
	display: block;
	max-height: 500px;
	opacity: 1;
}

.nav-mobile {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid #e8e8e8;
	padding-bottom: 14px;
	box-sizing: border-box;
}

.nav-mobile li {
	border-bottom: 1px solid #e8e8e8;
	opacity: 0;
	transform: translateY(-15px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-mobile-wrapper.open .nav-mobile li {
	opacity: 1;
	transform: translateY(0);
}

.nav-mobile-wrapper.open .nav-mobile li:nth-child(1) {
	transition-delay: 0.08s;
}

.nav-mobile-wrapper.open .nav-mobile li:nth-child(2) {
	transition-delay: 0.16s;
}

.nav-mobile-wrapper.open .nav-mobile li:nth-child(3) {
	transition-delay: 0.24s;
}

.nav-mobile-wrapper.open .nav-mobile li:nth-child(4) {
	transition-delay: 0.32s;
}

.nav-mobile-wrapper.open .nav-mobile li:nth-child(5) {
	transition-delay: 0.40s;
}

.nav-mobile li:last-child {
	border-bottom: none;
}

@media (max-width: 1023px) {
	.x-container {
		width: 90%;
	}

	.nav-desktop {
		display: none;
	}

	.nav-desktop-wrapper .nav-fallback {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.nav-mobile-wrapper {
		display: block;
		max-height: 0;
		opacity: 0;
	}

	.nav-mobile-wrapper.open {
		max-height: 500px;
		opacity: 1;
	}
}

@media (min-width: 1024px) {
	.nav-mobile-wrapper {
		display: none !important;
	}

	.nav-mobile-wrapper .nav-fallback {
		display: none;
	}

	.hamburger {
		display: none;
	}
}


/* footer */
.footer-socials {
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 10px 0 30px 0;
}
.footer-menu {
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}



.footer-nav ul li::before,
.nav-desktop li::before,
.careers-inner li::before,
.clients-list li::before {
	display: none;
}

.site-footer {
	border-top: 1px solid #d4d4d4;
	box-shadow: 0 -0.125em 0.25em 0 rgba(0, 0, 0, 0.075);
}

.footer-nav ul li a,
.footer-nav ul li a:visited {
	text-decoration: none;
	font-size: 10px;
	font-family: 'PT Sans';
	text-transform: uppercase;
	color: var(--mc-color-navy-blue);
	font-weight: 400;
	letter-spacing: 0.4px;
	transition: all 0.3s ease-in-out;
	letter-spacing: 2px;
}

.footer-nav ul li a:hover {
	color: var(--mc-color-dark-red);
}

.footer-social a img {
	width: 14px;
	height: 14px;
}

.footer-social a {
    background-color: var(--mc-color-navy-blue);
    display: flex;
    padding: 0px;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}

.copyright-text {
	p {
		font-size: 14px;
		font-weight: 400;
		color: #7a7a7a;
		text-transform: initial;
		letter-spacing: 2px;
		text-align: center;
		line-height: 1.7;
		margin: 0;

	}
}

.footer-ctn {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px 0 28px 0;
}

.site-main,
.hero-ctn,
.hero-ctn .wp-block-cover.has-parallax,
.network-section,
.details-section,
.services-section,
.team-section,
.services-accordion-section,
.contact-section {
	width: 100%;
	max-width: 100%;
}

.site-main,
.hero-ctn,
.hero-ctn .wp-block-cover.has-parallax,
.network-section,
.details-section {
	padding: 0;
}

.hero-ctn .wp-block-cover__inner-container {
	 padding: clamp(70px, calc(60.91px + 2.84vw), 90px) 0 clamp(70px, calc(60.91px + 2.84vw), 90px) 0;


}

.wp-block-cover.has-parallax {
	min-height: auto;
}

.home-hero-title {
	text-align: center;
	max-width: 100%;
}

.home-hero-content {
	background-color: hsla(221, 45%, 29%, 0.7);
	padding: 30px 10px 30px 10px;
	color: var(--mc-color-white);
}

h1 strong,
h2 strong {
	color: var(--mc-color-dark-red);
}

.hero-image-area .wp-block-cover__image-background {
	background-size: cover;
	background-position: 50% 0 !important;
}

.client-image-area .wp-block-cover__image-background {
	background-position: 50% -225px !important;
}

.carrier-image-area .wp-block-cover__image-background {
	background-position: 50% 110% !important;
}

/* services-section */
.services-section,
.team-section,
.services-accordion-section,
.contact-section,
.cta-section {
	background: var(--mc-color-navy-blue);
}

.services-inner,
.careers-inner,
.services-detail-inner,
.home-hero-content,
.network-inner,
.details-inner,
.about-info-inner,
.affiliations-inner,
.team-inner,
.network-page-inner,
.services-accordion-inner,
.contact-cta-inner,
.contact-inner,
.clients-inner,
.blog-page-inner,
.cta-inner,
.terms-inner {
	max-width: 1024px;
	width: 90%;
}

.terms-inner p {
    font-size: 14px;
    line-height: 1.75;
}
.disclaimer-inner {
    max-width: 723px;
}

.terms-inner p {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;

}

.services-inner,
.team-inner,
.contact-section {
	color: var(--mc-color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Open Sans", sans-serif;
	line-height: 1.3;
	font-weight: 700;
}

h1,
h2 {
	font-size: clamp(1.25rem, 1.233vw + 0.961rem, 1.75rem);
}

.services-title,
.services-desc,
.services-line,
.service-items,
.network-content,
.network-title,
.network-text {
	max-width: 100%;
}

.services-desc {
	font-size: 14px;
}

.services-desc {
	margin-top: 10px;
}

.services-line {
	margin-top: 20px;
}

.services-line {
	color: var(--mc-color-dark-red);
	border-top: 3px solid;
}


.service-item .wp-block-paragraph {
	font-family: "PT Sans", sans-serif;
	font-size: 20px;
	text-align: center;
	margin: 15px 0 10px 0;
}

.service-items {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 40px;
}

.service-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cta-inner>* {
	margin: 0 !important;
	color: var(--mc-color-white);
	max-width: 100%;
}

.cta-inner h2 {
	font-size: clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 1.058), 1.5rem);
	margin-bottom: 15px !important;
}

.services-inner .wp-block-buttons {
	justify-content: center;
}

.network-section .wp-block-cover__image-background {
	background-position: 50% 80px !important;
}

.network-content-inner {
	margin: 0 !important;
	background-color: hsla(0, 0%, 100%, 0.71);
	padding: clamp(18px, calc(7.09px + 3.41vw), 42px) 12px clamp(18px, calc(13.45px + 1.42vw), 28px) 20px;
	max-width: 540px;
}

/* Headings that share the navy-blue theme color */
.network-title,
.details-heading,
.about-info-heading,
.contact-cta-content h2,
.services-detail-quote,
.services-detail-title {
	color: var(--mc-color-navy-blue);
}

.about-info-heading {
	font-size: 24px;
	letter-spacing: -0.9px;

}

.team-member p {
	font-size: 14px;
}

.alliances-title {
	font-size: 28px;
}

.network-title,
.details-heading {
	font-size: 24px;
}

.network-text {
	color: var(--mc-color-black);
	font-size: 14px;
	line-height: 1.75;
	letter-spacing: 0.8px;
}

.details-ctn {
	margin: 0 !important;
	width: 100%;
	max-width: 100%;
	gap: 40px;
}

.details-heading {
	margin-top: 20px !important;
}

.details-text {
	font-size: 14px;
	margin-top: 18px;
}

.details-inner {
	padding: 42px 0;
}

.wp-block-button__link, input[type="submit"] {
    font-size: 16px;
    border-radius: 0;
    background-color: var(--wp--preset--color--vivid-red);
    font-weight: 400;
    line-height: 1.3;
    padding: 10px 18px 11px 18px;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
    cursor: pointer;
    color: var(--mc-color-white);
    border: none;
    outline: none;
    font-family: "PT Sans", sans-serif;
}

.wp-block-button__link:hover, input[type="submit"]:hover {
	background-color: var(--mc-color-red);
}

.details-image-area {
	flex-basis: 31.33%;
}

.about-info-columns,
.affiliations-row,
.affiliations-inner h2,
.team-columns,
.team-line,
.team-title,
.contact-cta-columns,
.clients-columns {
	margin: 0 !important;
	max-width: 100%;
}

.about-info-columns {
	gap: 40px;
	align-items: center !important;
}

.clients-list ul {
	padding: 0;
}

.cl-hero-content {
	padding: 50px 10px;
}

.clients-list li {
	font-size: 14px;
	padding-bottom: 5px;
}

.about-info-text {
	font-size: 18px;
	color: var(--mc-color-navy-blue);
	font-weight: 700;
}

.about-info-image {
	flex-basis: 30.33%;
}

.about-info-inner,
.clients-inner,
.terms-inner,
.contact-inner,
.network-inner,
.affiliations-inner,
.team-inner,
.services-inner,
.network-page-inner,
.careers-inner,
.services-detail-inner,
.services-accordion-inner,
.contact-cta-inner,
.cta-inner {
	padding: clamp(2.188rem, 3.082vw + 1.465rem, 3.438rem) 0;
}

.brochure-ctn h1 {
	color: var(--mc-color-white);
}

.brochure-ctn .wp-block-button__link::after {
	content: "";
	position: absolute;
	background-image: url(/wp-content/uploads/2026/09/downloads.png);
	background-position: left 8px center;
	width: 25px;
	height: 22px;
	background-size: 14px;
	background-repeat: no-repeat;
}

.brochure-ctn .wp-block-button__link {
	padding: 10px 38px 11px 18px;
	margin: 10px auto 0 auto;
}

.brochure-ctn .wp-block-button {
	margin: 0 auto;
}

.brochure-ctn .wp-block-cover__inner-container {
	padding-bottom: 60px;
}

.affiliations-row {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 20px;
	margin-top: 50px !important;
}

.affiliations-img {
	display: flex;
	align-items: center;
}

.affiliations-img img {
	max-width: 270px;
}


.contact-inner p {
	font-size: 14px;
}



.affiliations-inner h2,
.network-page-title,
.alliances-title {
	color: var(--mc-color-navy-blue);
	text-transform: uppercase;
}

.careers-title {
	color: var(--mc-color-navy-blue);

}

h5#careers-intro {
	font-size: 18px;
	color: var(--mc-color-navy-blue);
	padding: 35px 0 20px 0;
}

.careers-inner li {
	list-style-type: disc;
}

.careers-inner .wp-block-list {
	padding-left: 26px;
	padding-bottom: 20px;
}

.contact-cta-content p {
	margin-top: 6px;
	font-size: 14px;
}
.jumplink {
    scroll-margin-top: 150px;
}
.contact-cta-button-wrap {
	display: flex;
}
.contact-form-ctn .contact-left-col {
    flex-basis: 71% !important;
}

.contact-cta-button-wrap a {
	padding: 10px clamp(4.875rem, 6.163vw + 3.43rem, 7.375rem) 11px;
}

.team-title {
	font-size: clamp(24px, calc(18.55px + 1.70vw), 36px);
	margin-bottom: 20px !important;
}

.team-columns {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 30px !important;
}

.team-title-inner {
	font-size: clamp(20px, calc(18.18px + 0.57vw), 24px);
}

.team-text {
	font-size: 14px;
	margin-top: 5px;
	font-family: 'PT Sans';
	max-width: max-content;
}

.team-icons figure {
	margin: 0;
	width: 15px;
	height: 15px;
	line-height: 0.6;
}

.team-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	max-width: max-content;
}

.team-text-area {
	gap: 8px;
	margin-top: 5px;
}

.wp-block-group.network-page-inner>*,
.careers-inner>*,
.services-detail-inner>*,
.services-accordion-inner>*,
.service-accordion-item,
.contact-inner>* {
	margin: 0 !important;
	max-width: 100% !important;
}

.network-page-intro,
.alliances-text {
	font-size: 14px;
	padding: 15px 0 !important;
}

.alliances-title {
	padding-top: 50px;
}

li {
	list-style-type: none;
	position: relative;
	font-size: 16px;
	font-family: 'PT Sans';
}

li:before {
	content: "";
	position: absolute;
	width: 9px;
	height: 9px;
	background-color: var(--mc-color-dark-red);
	border-radius: 100px;
	top: 10px;
	left: -20px;
}

.services-detail-text-area ul {
	padding-left: 25px;
}

.services-detail-quote {
	font-size: 18px;
	text-align: center;
	letter-spacing: -0.035em;
}

.services-detail-title {
	padding: 42px 0 12px 0;
}

.services-detail-inner .wp-block-paragraph {
	font-size: 14px;
}

.service-detalis-ctn {
	padding-top: 20px;
	gap: 40px;
	align-items: flex-end !important;
}

.service-accordion-item summary {
	font-size: clamp(0.875rem, 0.616vw + 0.731rem, 1.125rem);
	font-weight: 500;
	font-family: 'Open Sans';
	color: var(--mc-color-black);
	list-style: none;
	position: relative;
	padding: 0 15px 0 40px;
	transition: all 0.3s ease-in-out;
}

.service-accordion-item summary:hover {
	color: #d03238;

}

.service-accordion-item summary::before {
	content: "";
	position: absolute;
	background-image: url(/wp-content/uploads/2026/09/add-1.png);
	background-size: 13px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	left: 10px;
	top: 5px;
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 0.3s ease-in-out;
	will-change: transform;
}

.accordian-inner {
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	margin-top: 13px;
	padding: 10px 15px;
	box-sizing: border-box;
}
.accordian-inner ul ul {
	padding-left: 20px;
}

.accordian-inner a {
	text-decoration: none;
	color: var(--mc-color-dark-red);
}

.accordian-inner>* {
	max-width: 100%;
}

.accordian-inner li::before {
	background-color: var(--mc-color-black);
	width: 6px;
	height: 6px;
}

.service-accordion-item[open] summary::before {
	transform: rotate(45deg);
}

.service-accordion-item::details-content {
	height: 0;
	opacity: 0;
	overflow: hidden;
	transition:
		height 0.4s ease,
		opacity 0.3s ease,
		content-visibility 0.4s allow-discrete;
}

.service-accordion-item[open]::details-content {
	height: auto;
	opacity: 1;
}

.service-accordion-item {
	background-color: var(--mc-color-white);
	padding: 10px 0;
}

.service-accordion-items {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 8px;
	padding-top: 25px;
}

.services-accordion-title {
	color: var(--mc-color-white);
	font-size: clamp(24px, calc(18.55px + 1.70vw), 36px);
	margin-bottom: 20px !important;
}

.service-accordion-item .wp-block-paragraph {
	font-size: 16px;
}

.contact-cta-columns {
	gap: 36px;
	padding: 30px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 0.125em 0.275em 0 rgba(0, 0, 0, 0.075);
}

/* .contact-address {
	font-size: 14px;
	padding-top: 12px;
} */

.contact-inner a,
.contact-inner a:visited {
	color: var(--mc-color-white);
	text-decoration: none;
}

.contact-inner iframe {
	padding-top: 30px;
}

.site-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}

.logged-in.admin-bar .site-header {

	top: 32px;
}

/* Responsive */

@media only screen and (min-width:768px) and (max-width:1024px) {
	.affiliations-img img {
		max-width: 200px;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.about-info-content.wp-block-column {
		flex-basis: 66.66% !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.about-info-image.wp-block-column {
		flex-basis: 33.33% !important;
	}

	.about-info-columns {
		flex-wrap: nowrap !important;
	}
}

@media only screen and (max-width:767px) {
	.details-image-area .wp-block-image {
		max-width: 300px;
	}
	.footer-socials {
    gap: 8px;
}
	.client-image-area .wp-block-cover__image-background {
    background-position: 50% 0px !important;
}

	.carrier-image-area .wp-block-cover__image-background {
		background-position: 75% 50% !important;
	}

	.contact-cta-columns {
		gap: 20px;
	}

	.single-blog-details>.blog-page-inner:last-child {
		padding-top: 0;
	}

	.services-ctn .wp-block-cover__inner-container {
		padding-top: 60px;
	}

	li:before {
		width: 6px;
		height: 6px;
	}

	.details-ctn {
		gap: 20px;
	}

	.details-inner {
		padding: 10px 0 40px 0;
	}

	.service-item .wp-block-paragraph {
		font-size: 18px;
	}

	.about-info-text {
		font-size: 15px;
		font-weight: 600;
	}

	.about-info-columns {
		flex-direction: column;
	}

	.about-info-image img {
		max-width: 300px;
	}

	.affiliations-row,
	.team-columns,
	.service-items {
		grid-template-columns: repeat(1, 1fr);
	}

	.service-detalis-ctn {
		flex-direction: column;
	}

	.service-accordion-item summary::before {
		top: 2px;
	}

	.services-detail-title {
		font-size: 24px;
	}
}

@media only screen and (min-width:600px) and (max-width:767px) {

	.affiliations-row,
	.team-columns,
	.service-items {
		grid-template-columns: repeat(2, 1fr);
	}

	.affiliations-img img {
		max-width: 200px;
	}
}






/* blog page */

.blog-post .wp-block-list {
	counter-reset: item-counter;
	list-style: none;
	padding-left: 0;
}

.blog-post .wp-block-list strong {
	color: var(--mc-color-navy-blue);
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px 0;
}

.blog-post .wp-block-heading {
	color: var(--mc-color-navy-blue) !important;
}

.blog-post .wp-block-list>li {
	counter-increment: item-counter;
	position: relative;
	padding-left: 60px;
	margin-bottom: 20px;
}

.blog-post .wp-block-list>li::before {
	content: counter(item-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	color: var(--mc-color-white);
	background-color: var(--mc-color-dark-red);
}

.blog-post .wp-block-list>li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 40px;
	bottom: -30px;
	border-left: 1px dashed #555;
}

.blog-page-inner {
	margin: 0 auto;
	background-color: var(--mc-color-white);
	padding: clamp(1.25rem, 6.163vw + -0.195rem, 3.75rem);
}

.blog-hero-bg {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top 50% center;
	background-attachment: fixed;
}

.blog-head h2 a,
.blog-head h2 a:visited,
.blog-head h1{
	color: var(--mc-color-navy-blue);
	text-decoration: none;
	font-size: clamp(1.5rem, 2.465vw + 0.922rem, 2.5rem);
	word-wrap: anywhere;
	transition: all 0.3s ease-in-out;
}

.blog-head h2 a:hover {
	color: var(--mc-color-red);
}

.blog-posts-wrapper {
	display: flex;
	flex-direction: column;
	gap: 70px;
}

span.visually-hidden,
.x-feature-box::before {
	display: none;
}

.blog-image-area {
	margin-bottom: 20px;
}

.blog-bottom-text p, .blog-bottom-text li {
	margin-top: 0;
	font-size: 14px;
}

.blog-head h2 {
	margin: 0 0 20px 0;
}

.features-heading h3 {
	font-size: clamp(1.25rem, 1.233vw + 0.961rem, 1.75rem);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cf::after {
	content: "";
	display: table;
	clear: both;
}

.tmc-video-box {
	width: 80%;
	height: auto;
	margin: 50px auto 0 auto;
	padding: 14px 65px;
	box-sizing: border-box;
	background: var(--mc-color-white);
	border: 1px solid #d7d7d7;
}

.tmc-video-inner {
	position: relative;
	width: 100%;
	height: auto;
	overflow: visible;
	cursor: pointer;
	background: var(--mc-color-black);
}

.tmc-video-inner video {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.tmc-controls {
	position: absolute;
	bottom: 15px;
	width: 95%;
	height: 26px;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	background: linear-gradient(to bottom, #666 0%, #444 45%, #171717 50%, #111 100%);
	border: 1px solid #111;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .7), inset 0 1px rgba(255, 255, 255, .35);
	opacity: 1;
	transition: opacity .25s ease;
	z-index: 5;
	transform: translateX(-50%);
	left: 50%;
}

.tmc-video-inner.is-playing .tmc-controls {
	opacity: 0;
	pointer-events: none;
}

.tmc-video-inner.is-playing:hover .tmc-controls {
	opacity: 1;
	pointer-events: auto;
}

.tmc-play-btn {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: transparent;
	border: none;
	border-right: 1px solid #111;
	border-radius: 2px 0 0 2px;

	cursor: pointer;
	padding: 0;
	transition: background .15s ease;
}

.tmc-play-btn:hover,
.tmc-play-btn:active {
	background: rgba(255, 255, 255, 0.18);
}

.tmc-icon {
	width: 14px;
	height: 14px;
	fill: var(--mc-color-white);
}

.tmc-progress {
	position: relative;
	flex: 1;
	height: 8px;
	margin: 0 8px;

	background: #3a3a3a;
	border: 1px solid #111;
	border-radius: 3px;

	box-shadow:
		inset 0 1px 2px rgba(0, 0, 0, .8),
		0 1px rgba(255, 255, 255, .15);

	cursor: pointer;
}

.tmc-progress-loaded {
	position: absolute;
	top: 0;
	left: 0;
	height: 6px;
	width: 0%;
	background: #555;
	border-radius: 2px;
}

.tmc-progress-current {
	position: absolute;
	top: 0;
	left: 0;
	height: 6px;
	width: 0%;
	background-color: var(--mc-color-dark-red);
	border-radius: 2px;
}
.contact-form-ctn .wp-block-columns {
    max-width: 100%;
	gap: 40px;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    display: inline-block;
    height: 2.65em;
    margin-bottom: 9px;
    border: 1px solid #ddd;
    padding: 0 0.65em;
    font-size: 13px;
    line-height: normal;
    color: #555;
    background-color: var(--mc-color-white);
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	width: 100%;
}
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    border-color: rgba(0, 0, 0, 0.3);
    outline: 0;
    outline: thin dotted \9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.2);
}
label {
    display: block;
    margin-bottom: 2px;
}
textarea {
    padding: 6px;
    height: auto;
    line-height: 1.3;
}
.contact-form-ctn p {
    margin: 0 0 5px 0;
}
.contact-form-ctn .wpcf7-not-valid-tip {
    color: var(--mc-color-white);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    margin: 20px 0 0 0;
    border: 1px solid #f6dca7;
    padding: 0.786em 2.25em 1em 1.15em;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #c09853;
    background-color: #fcf8e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.065);
}



@media (max-width: 768px) {
	.x-feature-box-title {
		font-size: 20px;
	}

	.x-feature-box-text {
		font-size: 14px;
	}

	.x-feature-box-graphic,
	.x-feature-box-graphic-outer,
	.x-feature-box-graphic-inner,
	.x-feature-box-graphic-inner .number {
		width: 42px;
		height: 42px;
	}

	.x-feature-box-connector {
		left: 20px;
	}
}


@media only screen and (min-width:768px) and (max-width:1024px) {
	.affiliations-img img {
		max-width: 200px;
	}

	.single-blog-details>.blog-page-inner:last-child {
		padding-top: 0;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.about-info-content.wp-block-column {
		flex-basis: 66.66% !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.about-info-image.wp-block-column {
		flex-basis: 33.33% !important;
	}

	.about-info-columns {
		flex-wrap: nowrap !important;
	}
}

@media only screen and (max-width:767px) {
	.details-image-area .wp-block-image {
		max-width: 300px;
	}

	.hero-ctn .wp-block-cover__image-background {
		background-attachment: scroll !important;
	}

	.blog-post .wp-block-list>li {
		padding-left: 45px;
	}

	.blog-post .wp-block-list>li::before {
		width: 30px;
		height: 30px;
	}

	.blog-post .wp-block-list>li:not(:last-child)::after {
		left: 15px;
		top: 29px;
	}

	.tmc-video-box {
		margin: 30px auto 0 auto;
		padding: 14px 15px;
	}

	.blog-posts-wrapper {
		gap: 40px;
	}

	li:before {
		width: 6px;
		height: 6px;
	}

	.details-ctn {
		gap: 20px;
	}

	.details-inner {
		padding: 10px 0 40px 0;
	}

	.service-item .wp-block-paragraph {
		font-size: 18px;
	}

	.about-info-text {
		font-size: 15px;
		font-weight: 600;
	}

	.about-info-columns {
		flex-direction: column-reverse;
	}

	.about-info-image img {
		max-width: 300px;
	}

	.affiliations-row,
	.team-columns,
	.service-items {
		grid-template-columns: repeat(1, 1fr);
	}

	.service-detalis-ctn {
		flex-direction: column-reverse;
	}

	.service-accordion-item summary::before {
		top: 2px;
	}
}

@media only screen and (min-width:600px) and (max-width:767px) {

	.affiliations-row,
	.team-columns,
	.service-items {
		grid-template-columns: repeat(2, 1fr);
	}

	.affiliations-img img {
		max-width: 200px;
	}
}


.blog-pagination {
	margin: 0;
	display: flex;
	justify-content: center;
	padding: 40px 0;
}

.blog-bottom-text:has(> .bp-inner) {
	max-width: 723px;
	margin: clamp(2.25rem, 6.163vw + 0.805rem, 4.75rem) auto 0 auto;
}

.blog-posts-wrapper .blog-page-inner:first-child .blog-bottom-text .wp-block-paragraph strong {
	font-size: clamp(1rem, 0.308vw + 0.928rem, 1.125rem);
	font-family: 'Open Sans';
	line-height: 1.3;
	letter-spacing: -0.63px;
	color: var(--mc-color-navy-blue);
}

.blog-pagination ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 10px;
}

.blog-pagination ul.page-numbers li {
	margin: 0;
	display: flex;
	align-items: center;
}

.blog-pagination ul li::before {
	display: none;
}

/* Small red bullet dots before pagination (like live site) */
.blog-pagination::before {
	content: "";
	display: inline-block;
}

/* Number circles */
.blog-pagination ul.page-numbers {
	background-color: transparent;
	width: max-content;
	height: max-content;
	text-shadow: none;
	box-shadow: none;
}

.blog-pagination ul.page-numbers:hover {
	background-color: transparent;
	border-color: transparent;
	color: inherit;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background-color: #ffffff;
	color: #1a1a1a;
	font-weight: 400;
	font-size: 16px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: all 0.2s ease-in-out;
	box-shadow: inset 0 0 0 transparent, 0 0.1em 0.45em 0 rgba(0, 0, 0, 0.25);
	border-radius: 4px;
}

.blog-pagination .page-numbers:hover {
	background-color: #a11d2e;
	border-color: #a11d2e;
	color: #ffffff;
}

/* Current / active page — solid red circle */
.blog-pagination .page-numbers.current {
	background-color: #a11d2e;
	border-color: #a11d2e;
	color: #ffffff;
	cursor: default;
}



/* Dots (...) if many pages */
.blog-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	color: #1a1a1a;
	width: auto;
}

.blog-pagination .page-numbers.dots:hover {
	background: transparent;
	color: #1a1a1a;
}

@media (max-width: 480px) {
	.blog-pagination .page-numbers {
		width: 34px;
		height: 34px;
		font-size: 13px;
	}

	.blog-pagination .page-numbers.next,
	.blog-pagination .page-numbers.prev {
		padding: 0 16px;
		font-size: 11px;
	}
}


.comments-open .single-blog-details .blog-page-inner {
    padding: clamp(1.25rem, 6.163vw - 0.195rem, 3.75rem)
             clamp(1.25rem, 6.163vw - 0.195rem, 3.75rem)
             0;
}

.single-blog-details {
	gap: 0;
}


/* ===========================================
   Comment Form — "Leave a Reply"
   =========================================== */

#comments,
.comments-area {
	margin-top: 60px;
}

.comment-reply-title, #reply-title {
    font-size: clamp(1.75rem, 2.619vw + 1.136rem, 2.813rem);
    font-weight: 700;
    color: #293e6b;
    margin-bottom: 0;
}

.comment-notes {
    font-size: 18px;
    margin-bottom: 18px;
    margin-top: 5px;
}

.comment-form label {
    display: block;
    font-size: clamp(1.125rem, 0.924vw + 0.908rem, 1.5rem);
    font-weight: 700;
    color: #293e6b;
    margin-bottom: 0px;
    font-family: 'Open Sans';
}

.comment-form .required {
    color: #ff2a13;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	font-size: 15px;
	font-family: inherit;
	color: #333;
	box-sizing: border-box;
}

.comment-form textarea {
	min-height: 160px;
	resize: vertical;
}

.comment-form textarea:focus,
.comment-form input:focus {
	outline: none;
	border-color: #14213d;
}

.comment-form .form-submit {
    margin: 24px 0 42px 0;
}
/* 
.comment-form input[type="submit"] {
	background-color: #a11d2e;
	color: #ffffff;
	border: none;
	padding: 12px 32px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
}

.comment-form input[type="submit"]:hover {
	background-color: #7e1622;
} */

/* Comment list (if existing comments show above the form) */
.comment-list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.comment-list .comment-body {
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.comment-list .comment-author .fn {
	font-weight: 700;
	color: #14213d;
}

.comment-list .comment-metadata {
	font-size: 12px;
	color: #888;
	margin-bottom: 8px;
}

.error-404 {
	--error-muted: #7a7a7a;
	--error-border: #dfe3e8;

	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(90% , 1024px);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) 0;
	overflow: hidden;
	box-sizing: border-box;
	text-align: center;
}

.error-404 .page-header,
.error-404 .entry-content {
	position: relative;
	width: 100%;
}

.error-404 .page-header {
	margin-bottom: clamp(16px, 2vw, 24px);
}

.error-number {
	display: block;
	margin-bottom: clamp(8px, 1vw, 12px);
	color: var(--mc-color-navy-blue);
	font-size: clamp(80px, 13vw, 150px);
	font-weight: 700;
	line-height: .85;
	letter-spacing: clamp(-4px, -.5vw, -7px);
	opacity: .09;
}

.error-404 .page-title {
	margin: clamp(-42px, -4vw, -28px) auto 0;
	color: var(--mc-color-navy-blue);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: clamp(-.5px, -.1vw, -1px);
}

.error-404 .page-title::after {
	content: "";
	display: block;
	width: clamp(35px, 4vw, 42px);
	height: 3px;
	margin: clamp(14px, 1.5vw, 18px) auto 0;
	border-radius: 10px;
	background: var(--mc-color-dark-red);
}

.error-404 .entry-content {
	max-width: 620px;
}

.error-404 .entry-content p {
	max-width: 590px;
	margin: 0 auto clamp(22px, 3vw, 28px);
	color: var(--error-muted);
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.7;
}

.error-404 .search-form {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 500px;
	height: clamp(48px, 5vw, 52px);
	margin: 0 auto;
	padding: 4px;
	border: 1px solid var(--error-border);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(25, 59, 104, .06);
	transition: .3s ease;
}

.error-404 .search-form:focus-within {
	border-color: var(--mc-color-navy-blue);
	box-shadow: 0 5px 20px rgba(25, 59, 104, .1);
}

.error-404 .search-form label {
	flex: 1;
	height: 100%;
}

.error-404 .search-field {
	width: 100%;
	height: 100%;
	padding: 0 clamp(12px, 2vw, 14px);
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--mc-color-text);
	font-size: clamp(13px, 1.5vw, 14px);
}

.error-404 .search-field::placeholder {
	color: #999;
}

.error-404 .search-submit {
	flex: 0 0 clamp(40px, 5vw, 44px);
	width: clamp(40px, 5vw, 44px);
	height: calc(100% - 2px);
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: var(--mc-color-navy-blue) url(./assets/images/search-icon.svg) center / 22px no-repeat;
	color: #fff;
	font-size: 0;
	cursor: pointer;
	transition: .3s ease;
}

.error-404 .search-submit:hover {
	background-color: var(--mc-color-dark-red);
}

.error-404 .error-home-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: clamp(16px, 2vw, 20px);
	padding: 10px clamp(16px, 2vw, 18px) 11px;
	border-radius: 0;
	background: var(--wp--preset--color--vivid-red);
	color: #fff;
	font-size: clamp(14px, 1.5vw, 16px);
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	text-shadow: 0 .075em .075em rgba(0, 0, 0, .5);
	transition: .3s ease;
}

.error-404 .error-home-link:hover {
	background: var(--mc-color-red);
	color: #fff;
}

.error-404 .error-home-link span {
	position: relative;
	top: 2px;
	font-size: clamp(15px, 1.5vw, 17px);
	transition: .3s ease;
}

.error-404 .error-home-link:hover span {
	transform: translateX(3px);
}


/* // Search page */
.search-results-main {
	--search-border: var(--mc-color-border);
	max-width: 1024px;
	width: min(90%, 1024px);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 70px) 0 clamp(70px, 9vw, 110px);
	color: var(--mc-color-text);
}

.search-results-header {
	margin-bottom: clamp(40px, 6vw, 70px);
	text-align: center;
}

.search-results-label {
	display: block;
	margin-bottom: clamp(12px, 2vw, 18px);
	color: var(--mc-color-dark-red);
	font-size: clamp(11px, 1.2vw, 13px);
	font-weight: 700;
	letter-spacing: clamp(1.2px, .2vw, 1.8px);
	text-transform: uppercase;
}

.search-results-header h1 {
	max-width: 850px;
	margin: 0 auto;
	color: var(--mc-color-navy-blue);
	font-size: clamp(32px, 4.5vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: clamp(-.6px, -.1vw, -1.2px);
}

.search-results-line {
	width: clamp(38px, 5vw, 48px);
	height: 3px;
	margin: clamp(18px, 2.5vw, 24px) auto 0;
	border-radius: 4px;
	background: var(--mc-color-dark-red);
}

.search-results-list {
	border-top: 1px solid var(--search-border);
}

.search-result {
	padding: clamp(22px, 3vw, 30px) clamp(0px, 2vw, 20px) clamp(22px, 3vw, 30px) 0;
	border-bottom: 1px solid var(--search-border);
}

.search-result h2 {
	margin: 0 0 clamp(10px, 1.5vw, 14px);
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: clamp(-.3px, -.05vw, -.6px);
}

.search-result h2 a {
	color: var(--mc-color-navy-blue);
	text-decoration: none;
	transition: color .2s ease;
}

.search-result h2 a:hover {
	color: var(--mc-color-dark-red);
}

.search-excerpt {
	margin: 0 0 clamp(16px, 2vw, 20px);
	color: var(--mc-color-muted);
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.7;
}

.read-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--mc-color-dark-red);
	font-size: clamp(14px, 1.4vw, 15px);
	font-weight: 700;
	text-decoration: none;
	transition: gap .2s ease, color .2s ease;
}

.read-more-btn span {
	font-size: clamp(18px, 2vw, 20px);
	line-height: 1;
}

.read-more-btn:hover {
	gap: 10px;
	color: var(--mc-color-red);
}

.search-results-main .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 7px;
	margin-top: clamp(35px, 5vw, 55px);
}

.search-results-main .nav-links a,
.search-results-main .nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: clamp(38px, 4vw, 42px);
	height: clamp(38px, 4vw, 42px);
	padding: 0 clamp(9px, 1.5vw, 12px);
	border: 1px solid var(--search-border);
	border-radius: 5px;
	background: var(--mc-color-white);
	color: var(--mc-color-navy-blue);
	font-size: clamp(13px, 1.3vw, 14px);
	font-weight: 600;
	text-decoration: none;
	transition: .2s ease;
}

.search-results-main .nav-links .current,
.search-results-main .nav-links a:hover {
	border-color: var(--mc-color-dark-red);
	background: var(--mc-color-dark-red);
	color: var(--mc-color-white);
}

.search-no-results-main {
	padding: clamp(45px, 7vw, 75px) clamp(20px, 4vw, 40px);
	border: 1px solid var(--search-border);
	border-radius: 6px;
	background: #f9fafb;
	text-align: center;
}

.search-no-results h2 {
	margin: clamp(-20px, -2.5vw, -25px) 0 14px;
	color: var(--mc-color-navy-blue);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
}

.search-no-results p {
	margin: 0;
	color: var(--mc-color-muted);
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.7;
}

@media (max-width: 480px) {
	.error-404 {
		padding: 35px 0 60px;
	}

	.error-404 .search-form {
		max-width: 100%;
	}

	.error-404 .error-home-link {
		margin-top: 15px;
	}
	.search-result {
		padding-right: 0;
	}

	.search-results-main .nav-links {
		gap: 5px;
	}
}
.team-section .wp-block-columns{
max-width: 100%;
}
.contact-right-col p:last-child {
margin-top: 10px;
}
.contact-title {
margin-bottom: 10px;
}