/*
Theme Name: Identity Studio
Template: Divi
*/

@import url("../Divi/style.css");
@import url("https://use.typekit.net/ruq6ktf.css");


/* Colours
Dark Red: #a50343 - rgba(165,3,67,1);
Light Red: #d60b52 - rgba(214,11,82,1);
Light Green: #96d9c7 - rgba(150,217,199,1);
Dark Green: #4A6670 - rgba(74,102,112,1);
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
h1 {font-size: clamp(35px, 7vw, 60px) !important; line-height: 1.2em !important;}
h2 {font-size: clamp(26px, 6vw, 30px) !important; line-height: 1.2em !important;}
h3 {font-size: clamp(24px, 5vw, 28px) !important; line-height: 1.2em !important;}
h4 {font-size: clamp(22px, 4vw, 26px) !important; line-height: 1.2em !important;}
h5 {font-size: clamp(20px, 3vw, 24px) !important; line-height: 1.2em !important;}
h6 {font-size: clamp(18px, 2vw, 22px) !important; line-height: 1.2em !important;}
.intro {font-size: clamp(22px, 4vw, 30px) !important; line-height: 1.2em !important;}
h1, h2, h3, h4, h5, h6 {font-family: "mozaic-geo-variable", sans-serif; font-style: normal !important; font-weight: 500 !important;}
body {font-family: "mozaic-geo-variable", sans-serif; font-style: normal !important; font-weight: 400 !important; font-size: clamp(16px, 2vw, 20px) !important; line-height: 2em;}
#left-area .services-list .post-meta {display: none;}


/* Nav resize fix */
#page-container {padding-top:70px!important}
.mobile_menu_bar:before, .mobile_menu_bar:after {font-size: 60px !important;}
.et_slide_in_menu_container .et_mobile_menu>.menu-item-has-children>a {font-weight: normal;}

/* ------------------------------------------------------------------
 * ---- Slide In menu, sub-menu toggle fix + js in integration ------ 
 * ------------------------------------------------------------------ */

.et_slide_in_menu_container .et_slide_menu_top {background-color: #4a6670 !important;}

#et-info-email:before, #et-info-phone:before {color: #96d9c7 !important; margin-right: 10px !important;}

#mobile_menu_slide.et_mobile_menu a .et_mobile_menu_arrow {
	display: inline-block;
	cursor: pointer;
	transition: transform .2s ease;
	color: #d60b52 !important;
	background-color: #96d9c7 !important;
	border-radius: 30px;
	padding: 3px !important;
}

.et_slide_in_menu_container #mobile_menu_slide .et_mobile_menu_arrow:before {color: #d60b52 !important; font-size: 34px; font-weight: 900;}
.et_slide_in_menu_container span.et_mobile_menu_arrow {opacity: 1 !important;}

/* Remove the extra button we injected earlier */
.submenu-toggle { display: none !important; }

/* CLOSED by default, using higher specificity than Divi */
#mobile_menu_slide.et_mobile_menu li.menu-item-has-children > ul.sub-menu {display: none !important; /* ensure closed until JS toggles */ margin: .35rem 0 0 1.25rem; padding: 0; list-style: none; position: static !important;
}

/* OPEN state */
#mobile_menu_slide.et_mobile_menu li.menu-item-has-children.is-open > ul.sub-menu {display: block !important;}

/* Make child links white and readable */
#mobile_menu_slide.et_mobile_menu .sub-menu a { color: #fff !important; text-decoration: none; }
#mobile_menu_slide.et_mobile_menu .sub-menu a:hover { text-decoration: underline; }

/* Make Divi’s tiny arrow clickable and show a simple rotation when open */
#mobile_menu_slide.et_mobile_menu a .et_mobile_menu_arrow {display: inline-block; cursor: pointer; transition: transform .2s ease;}
#mobile_menu_slide.et_mobile_menu li.menu-item-has-children.is-open a .et_mobile_menu_arrow {transform: rotate(180deg);}

.et_slide_in_menu_container #mobile_menu_slide ul.sub-menu li { opacity: 1; transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);}
.et_slide_in_menu_container #mobile_menu_slide li li a {opacity: 1;}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  #mobile_menu_slide .et_mobile_menu_arrow { transition: none !important; }
  .et_slide_in_menu_container #mobile_menu_slide ul.sub-menu li { transition: none !important; }
}

/* Keyboard focus visibility */
#mobile_menu_slide.et_mobile_menu .sub-menu a:focus {
  outline: 2px solid rgba(255,255,255,.7);
  outline-offset: 2px;
}
/* ----------------------------------------------------------------------
 * ---- Slide In menu, sub-menu toggle fix + js in integration End ------ 
 * ---------------------------------------------------------------------- */

/* Links */
a {-webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;}
footer a, .light-link a {color:#ffffff!important; /*text-decoration:underline;*/ border-bottom: solid 1px #ffffff!important; font-weight:700!important;}
footer a:hover, .light-link a:hover {color:#ffffff!important; border-bottom: solid 1px #ffffff!important;}
a.icon {border-bottom: none!important;}

.single:not(.et-fb) .post {padding-bottom: 0px !important;}
.et_pb_post {margin-bottom: 0px !important;}

/* Footer */


/* Text */

/************************************************
 * SLIDE IN MENU - OVERLAY, DO NOT PUSH CONTENT
 ***********************************************/

/* Base state: menu is off-canvas and hidden */
.et_header_style_slide .et_slide_in_menu_container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;  /* tweak width if you like */
    max-width: 80%;
    background: #a50343;  /* menu background */
    z-index: 9999999;

    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* When the menu is active, slide in and become interactive */
.et_header_style_slide.et_pb_slide_menu_active .et_slide_in_menu_container {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Do not push the page left when the slide header is active */
.et_header_style_slide.et_pb_slide_menu_active #page-container,
.et_header_style_slide.et_pb_slide_menu_active #main-header {
    left: 0 !important;
}

/* Remove any left-transition flicker on these elements */
.et_header_style_slide #page-container,
.et_header_style_slide #main-header {
    transition: left 0s !important;
}

/************************************************
 * SLIDE IN MENU - CLOSE BUTTON INSIDE PANEL
 ***********************************************/

.et_slide_in_menu_container .et_slide_menu_close {
    position: absolute;
    top: 15px;
    left: 25px;
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 70px;
	font-weight: 200 !important;
    line-height: 1;
    cursor: pointer;
    z-index: 10000000;
}


.et_slide_in_menu_container .et_slide_menu_close:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.et_slide_in_menu_container .et_slide_menu_top {
	margin-top: 100px !important;
}

/************************************************
 * BACKGROUND VIDEO - REMOVE GREY / BLACK BOX
 * (Keeps original load speed)
 ***********************************************/

/* Make all background video layers transparent */
.et_pb_section_0 .et-pb-background-video,
.et_pb_section_0 .et-pb-background-video .mejs-container,
.et_pb_section_0 .mejs-layer,
.et_pb_section_0 .mejs-overlay {
    background: transparent !important;
}

/* Hide the poster that was showing as a solid block */
.et_pb_section_0 .mejs-poster {
    display: none !important;
}

.et_pb_slide_menu_active .et_toggle_slide_menu:after {
opacity: 0;
transform: rotate(0deg);
}

/* Visually hide text but keep it for screen readers */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Top hero section */
.hero-video-fix {
  background-color: #b00055; /* match your hero tone */
  overflow: hidden;
}

/* Make sure the section itself carries the visual fallback */
.hero-video-fix.et_pb_section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Prevent dark video box flash */
.hero-video-fix .et_pb_section_video_bg,
.hero-video-fix .et_pb_background_video_wrapper,
.hero-video-fix video.et_pb_bg_layout_light,
.hero-video-fix video.et_pb_video,
.hero-video-fix .mejs-container {
  background: transparent !important;
}


/* Colours
Dark Red: #a50343 - rgba(165,3,67,1);
Light Red: #d60b52 - rgba(214,11,82,1);
Light Green: #96d9c7 - rgba(150,217,199,1);
Dark Green: #4a6670 - rgba(74,102,112,1);
*/


html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

#page-container,
.et_pb_section,
.et_pb_row {
  max-width: 100%;
}

.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.et_slide_in_menu_container {
  max-width: 100vw;
  overflow-x: hidden;
}

.et_slide_in_menu_container .et-search-form {
  width: 100%;
  box-sizing: border-box;
}

.et_slide_in_menu_container input.et-search-field {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.et_slide_in_menu_container,
.et_slide_in_menu_container * {
  max-width: 100%;
}

.et_slide_in_menu_container .et-info-email {
  overflow-wrap: anywhere;
}

#et-info-phone {
  display: block;
}

#et-info-email {
  display: block;
  margin-top: 6px;
}

#scroll {
  scroll-margin-top: 80px;
}