/*
Theme Name: EPG Child Theme
Theme URI: https://epg.ingsch.com/
Description: Child theme of Twenty Twenty-Five that replicates the EPG live site design with WordPress backend integration
Author: EPG Team
Template: twentytwentyfive
Version: 1.0.0
Text Domain: epg-child
*/

/* --- HARMONYOS SANS FAMILY --- */

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('asset/fonts/HarmonyOS_Sans_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('asset/fonts/HarmonyOS_Sans_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('asset/fonts/HarmonyOS_Sans_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('asset/fonts/HarmonyOS_Sans_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Static source aliases used throughout epg-sections/public.css */
@font-face {
    font-family: 'Light';
    src: url('asset/fonts/HarmonyOS_Sans_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Regular';
    src: url('asset/fonts/HarmonyOS_Sans_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Medium';
    src: url('asset/fonts/HarmonyOS_Sans_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bold';
    src: url('asset/fonts/HarmonyOS_Sans_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- 1. GLOBAL & TYPOGRAPHY --- */
/* Global Reset to HarmonyOS */
body, input, select, textarea, .wp-block-heading {
    font-family: 'HarmonyOS Sans', "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", sans-serif !important;
}

/* --- HIDE GLOBAL SCROLLBAR --- */

/* Chrome, Safari, and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* IE and Edge */
html {
    -ms-overflow-style: none;
}

a:focus { outline:none; }
* { box-sizing:border-box; }
div, span, a, dl, dt, a, td, input, textarea, select, ul, li { box-sizing:border-box; }
img { max-width:100%; }

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --- 2. THE HEADER (FLUID HEIGHT & WIDTH) --- */
header.wp-block-template-part {
    position: fixed;
    top: 0;
    z-index: 9999;
    transition: background-color 0.3s ease;
    
    /* CHANGE THIS: width: auto ensures padding stays INSIDE the 100% boundary */
    width: 100% !important; 
    max-width: none !important;
    box-sizing: border-box !important; /* Forces padding to be calculated inside width */
    
    /* Horizontal fluid padding 
    padding-left: clamp(20px, 5vw, 80px) !important;
    padding-right: clamp(20px, 5vw, 80px) !important;
    */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Target the main Flex Row inside the header */
header.wp-block-template-part .wp-block-group.is-layout-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Reset from space-between */
    gap: 0 !important; 
    width: 100% !important;
}

/* --- FLUID MARGINS --- */
/* Space after Logo */
header .wp-block-site-logo {
    margin-right: clamp(32px, 4vw, 72px) !important;
}

/* The 'Magic Push' - Pushes the second nav to the far right */
header.wp-block-template-part .wp-block-group.is-layout-flex > nav:nth-of-type(1) {
    margin-right: auto !important;
}

/* Ensure the Group block inside the header stretches 100% */
header.wp-block-template-part > .wp-block-group,
header.wp-block-template-part .is-layout-constrained {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- 6. SEARCH TOGGLE LOGIC (RE-INTEGRATED) --- */

/* Hide the right-side menu when search is active */
header.wp-block-template-part nav.wp-block-navigation {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

header.search-is-active .wp-block-navigation:nth-of-type(2) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

/* 1. Wrapper - Detached 'X' gutter */
.epg-search-toggle .wp-block-search__inside-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    border: none !important;
    height: 46.88px;
    padding-right: 50px !important; 
}

/* 2. The Main Button (Cross trigger) */
header .wp-block-search__button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 46.88px !important;
    width: 44px !important;
    position: absolute;
    right: 0;
    z-index: 30;
}

/* 3. The Input Field (Gray Box) */
.epg-search-toggle .wp-block-search__input {
    position: absolute;
    right: 50px; 
    width: 0 !important;
    max-width: 0 !important;
    height: 46.88px !important; 
    opacity: 0;
    background: #272727 !important; 
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    z-index: 10;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease !important;
}

/* 4. Active State: Expand Box */
header.search-is-active .epg-search-toggle .wp-block-search__input {
    width: 387px !important; 
    max-width: 387px !important; 
    opacity: 1;
    padding: 0 45px 0 15px !important; 
}

/* 5. The "Internal" Orange Submit Icon */
header.search-is-active .epg-search-toggle .wp-block-search__inside-wrapper::before {
    content: "";
    position: absolute;
    right: 60px; 
    width: 21px;
    height: 21px;
    background-color: #EA5504;
    pointer-events: none;
    z-index: 20;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M9.30049 17.601C13.8847 17.601 17.601 13.8847 17.601 9.30049C17.601 4.71627 13.8847 1 9.30049 1C4.71627 1 1 4.71627 1 9.30049C1 13.8847 4.71627 17.601 9.30049 17.601Z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M15.2681 15.2676L19.4111 19.4106' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M9.30049 17.601C13.8847 17.601 17.601 13.8847 17.601 9.30049C17.601 4.71627 13.8847 1 9.30049 1C4.71627 1 1 4.71627 1 9.30049C1 13.8847 4.71627 17.601 9.30049 17.601Z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M15.2681 15.2676L19.4111 19.4106' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* 6. Icon Swap Logic - Consolidated to use ::before */

/* Hide default WP SVG entirely */
header .wp-block-search__button svg { 
    display: none !important; 
}

/* Base Icon Styling */
header .wp-block-search__button::before {
    content: "";
    display: block;
    transition: all 0.2s ease;
    background-color: #EA5504; /* Default Orange */
    width: 21px;
    height: 21px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    /* Default Search SVG */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M9.30049 17.601C13.8847 17.601 17.601 13.8847 17.601 9.30049C17.601 4.71627 13.8847 1 9.30049 1C4.71627 1 1 4.71627 1 9.30049C1 13.8847 4.71627 17.601 9.30049 17.601Z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M15.2681 15.2676L19.4111 19.4106' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M9.30049 17.601C13.8847 17.601 17.601 13.8847 17.601 9.30049C17.601 4.71627 13.8847 1 9.30049 1C4.71627 1 1 4.71627 1 9.30049C1 13.8847 4.71627 17.601 9.30049 17.601Z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M15.2681 15.2676L19.4111 19.4106' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Transform to Gray Cross when active */
header.search-is-active .wp-block-search__button::before {
    background-color: #5F5F5F; /* Gray */
    width: 14px;
    height: 14px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.33032 7L13.7149 1.61539C14.095 1.23529 14.095 0.665158 13.7149 0.285068C13.3348 -0.0950226 12.7647 -0.0950226 12.3846 0.285068L7 5.66968L1.61538 0.285068C1.23529 -0.0950226 0.665158 -0.0950226 0.285068 0.285068C-0.0950226 0.665158 -0.0950226 1.23529 0.285068 1.61539L5.66968 7L0.285068 12.3846C-0.0950226 12.7647 -0.0950226 13.3348 0.285068 13.7149C0.665158 14.095 1.23529 14.095 1.61538 13.7149L7 8.33032L12.3846 13.7149C12.7647 14.095 13.3348 14.095 13.7149 13.7149C14.095 13.3348 14.095 12.7647 13.7149 12.3846L8.33032 7Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.33032 7L13.7149 1.61539C14.095 1.23529 14.095 0.665158 13.7149 0.285068C13.3348 -0.0950226 12.7647 -0.0950226 12.3846 0.285068L7 5.66968L1.61538 0.285068C1.23529 -0.0950226 0.665158 -0.0950226 0.285068 0.285068C-0.0950226 0.665158 -0.0950226 1.23529 0.285068 1.61539L5.66968 7L0.285068 12.3846C-0.0950226 12.7647 -0.0950226 13.3348 0.285068 13.7149C0.665158 14.095 1.23529 14.095 1.61538 13.7149L7 8.33032L12.3846 13.7149C12.7647 14.095 13.3348 14.095 13.7149 13.7149C14.095 13.3348 14.095 12.7647 13.7149 12.3846L8.33032 7Z' fill='black'/%3E%3C/svg%3E");
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button:focus { outline: none; }

/* Add the 0.8rem spacing to match the live site's .menu margin-left */
header .wp-block-group.is-layout-flex > .epg-search-toggle {
    margin-left: calc(clamp(16px, 2vw, 40px) + 12.8px) !important;
}

/* Ensure the wrapper doesn't collapse */
.epg-search-toggle {
    display: flex;
    align-items: center;
}

/* --- 3. TOP-LEVEL NAVIGATION (FLUID LINK HEIGHT) --- */

/* Fluid gap between menu items */
.wp-block-navigation .wp-block-navigation__container {
    gap: clamp(16px, 2vw, 40px) !important;
    display: flex;
    align-items: center;
}
.wp-block-navigation .wp-block-navigation-item__content {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8) !important; 
    display: inline-block;
    transition: color 0.3s ease;
	font-weight: 500;

    /* TARGET: 83.03px total height with Medium Font */
	padding-top: clamp(24px, 1.7vw, 32.08px) !important;
    padding-bottom: clamp(24px, 1.7vw, 32.08px) !important;
    
    /* Force consistent line-height to prevent vertical 'jumping' */
    line-height: 1.2 !important;
	
	font-size: clamp(12px, 0.833vw, 16px) !important;
}

/* Hover/Active State: Pure White Text */
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation-item.current-menu-ancestor .wp-block-navigation-item__content {
    color: rgba(255, 255, 255, 1) !important;
}

/* Continuous Scroll Underline Animation */
.wp-block-navigation .wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 30%;
    left: 0;
    background-color: rgb(234, 85, 4); 
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}

.wp-block-navigation .wp-block-navigation-item__content:hover::after,
.wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after,
.wp-block-navigation-item.current-menu-ancestor .wp-block-navigation-item__content::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 1. Only target links that have the "Medium" font size selected in WP */
.wp-block-navigation .has-medium-font-size .wp-block-navigation-item__content {
    font-size: clamp(14px, 0.935vw, 20px) !important; 
}

/* 2. Your original Small font size remains controlled by theme.json/WP */
.wp-block-navigation .has-small-font-size .wp-block-navigation-item__content {
    /* No !important rule here, so it stays as 0.875rem from your JSON */
}

/* --- 4. DROPDOWN / SUBMENU (FLUID WIDTH & CENTERED) --- */

.wp-block-navigation .wp-block-navigation__submenu-container {
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    
    /* Fluid Width Logic */
    width: max-content !important; /* Width fits the text perfectly */
    min-width: 155px; /* Prevents it from being too narrow for short words */
    max-width: 220px; /* Prevents it from being awkwardly wide */
    
    /* Live Site Visuals */
    background: rgba(166, 166, 166, 0.5) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 11.2px 4.16px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
    z-index: 10000;
    list-style: none !important;
}

/* Orange Triangle Accent at Bottom Right */
.wp-block-navigation .wp-block-navigation__submenu-container::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ea5504;
    right: 0;
    bottom: 0;
    z-index: 2;
    -webkit-clip-path: polygon(50% 50%, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(50% 50%, 100% 0, 100% 100%, 0 100%);
}

/* Reveal Dropdown on Hover */
.wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) !important;
}

/* Dropdown Links: Orange Text Hover & Transparent Background */
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    font-size: 14px !important; 
    font-weight: 500 !important;
	text-align: center !important;
    transition: color 0.3s ease;
    display: block;
    width: 100%;
	box-sizing: border-box;
	line-height: 1.2;
	text-align: center !important;
    display: flex !important;       /* Use flex to center the inner text span */
    justify-content: center !important; 
    align-items: center !important;
	padding-top: 9px !important; 
    padding-bottom: 9px !important;
    padding-left: 20px !important; 
    padding-right: 20px !important;
    margin: 0 !important;
}

/* Remove WordPress default margin between dropdown items */
.wp-block-navigation .wp-block-navigation__submenu-container li {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    color: #ea5504 !important; /* Orange text on hover */
    background: transparent !important;
}

/* Submenu Visual Cleanup */
.wp-block-navigation .wp-block-navigation__submenu-container li,
.wp-block-navigation .wp-block-navigation__submenu-container li:hover {
    background: transparent !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
    display: none !important; /* Remove underline animation for dropdown items */
}

/* --- OVERRIDE WORDPRESS CORE 200PX MIN-WIDTH --- */

/* We repeat the WP core selectors to ensure our '!important' wins the specificity battle */
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within > .wp-block-navigation__submenu-container {
    
    /* Force your desired width back */
    min-width: 145px !important; 
    width: max-content !important; 
    max-width: 220px !important;
    
    /* Ensure the padding from your Section 4 is maintained */
    padding: 11.2px 4.16px !important;
}

/* Ensure the list items inside this specific state don't stretch weirdly */
.wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
}

/* --- 7. THE FOOTER (COLUMNAR & FLUID) --- */
footer.wp-block-template-part {
    color: #ffffff;
    /*padding-top: clamp(2rem, 5vw, 4rem) !important;
    padding-bottom: clamp(2rem, 5vw, 4rem) !important;*/
    width: 100% !important;
    max-width: none !important;
	font-weight:normal;
	background-color:#000;
}

/* Footer Container - Replicating the 4-Column Layout */
footer.wp-block-template-part .wp-block-group.is-layout-flex {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12.8px !important;
    max-width: 1400px; /* Optional: Constrain the footer content width */
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

/* Footer Headings */
footer h2, footer h3, footer p.has-medium-font-size {
    color: #ffffff !important;
    margin-bottom: 24px !important;
}

/* Footer Navigation & Links */
footer .wp-block-navigation .wp-block-navigation-item__content {
    font-size: 14px !important; /* Small font size for footer */
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 5px 0 !important;
    transition: color 0.3s ease;
}

footer .wp-block-navigation .wp-block-navigation-item__content:hover {
    color: #ea5504 !important; /* Orange hover to match site */
}

/* Remove the underline animation from footer links if desired */
footer .wp-block-navigation .wp-block-navigation-item__content::after {
    display: none !important;
}

.footer_wrapper .footer-navigation .wp-block-navigation .wp-block-navigation__container { display: block; width:100%; }
footer .footer_wrapper .footer-navigation .wp-block-navigation .wp-block-navigation-item__content, .footer-connect-row { font-size: clamp(14px, 0.73vw + 10px, 16px) !important; }
.footer_wrapper .footer-navigation .wp-block-navigation .wp-block-navigation__container ul { width:100%; }
.footer_wrapper .footer-navigation .wp-block-navigation .wp-block-navigation__container li { width:100%; margin-bottom: 5.6px; }
.footer_wrapper .footer-navigation .wp-block-navigation .wp-block-navigation__container a { color:#fff !important; font-weight: normal; display:block; width:100%; }
.footer_wrapper .footer-navigation .wp-block-navigation .wp-block-navigation__container a:focus { outline:none; }
footer .footer_bottom_bar .wp-block-navigation .wp-block-navigation-item__content { padding:0 !important; }
footer .footer_bottom_bar .wp-block-navigation .wp-block-navigation-item__content { color:#fff !important; }

/* --- 7. FOOTER CONNECT (FORCE RESET) --- */

/* 1. Remove the 18px inline margins WP added to the figure wrapper */
.footer-connect-row .wp-block-image {
    margin: 0 !important; 
    width: 20px !important; /* Desired icon size */
    flex-shrink: 0 !important;
}

/* 2. Fix the image display within the figure */
.footer-connect-row .wp-block-image img {
    /*width: 20px !important;
    height: auto !important;*/
    display: block !important;
}

/* 3. Eliminate the line breaks (<br>) and align text */
.footer-connect-row p {
    margin: 0 !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
}

/* Hide the <br> tags injected by the editor */
.footer-connect-row p br {
    display: none !important;
}

/* 4. Ensure the Flex Row stays tight and centered */
.footer-connect-row.wp-block-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important; /* Space between icon and text */
    margin-bottom: 12.8px !important; /* Space between social rows */
    justify-content: flex-start !important;
}

footer.wp-block-template-part .footer_connect .wp-block-group.is-layout-flex { padding:0; }

/* Social Media Icons */
.wp-block-social-links.is-style-logos-only .wp-social-link {
    color: #ffffff !important;
    transition: transform 0.3s ease;
}

.wp-block-social-links.is-style-logos-only .wp-social-link:hover {
    transform: translateY(-3px);
    color: #ea5504 !important;
}

/* --- FOOTER BUTTON: JOIN US WITH ARROW --- */

/* 1. Reset the link to accommodate the icon */
.button-with-arrow .wp-block-button__link, .button-with-arrow a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important; /* Space between "Join Us" and Arrow */
    padding-right: 28px !important; /* Extra room for the arrow */
    position: relative;
    transition: all 0.3s ease !important;
	font-weight:500 !important;
}

/* 2. Insert your SVG via Pseudo-element */
.button-with-arrow .wp-block-button__link::after, .button-with-arrow a::after {
    content: "";
    display: inline-block;
    width: 13px;  /* Matches your SVG width */
    height: 9px;  /* Matches your SVG height */
    background-color: currentColor; /* Inherits text color (White) */
    
    /* Your SVG Path as a Mask */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 4.32617L0.75 4.32617' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.92334 0.75L11.5003 4.32694L7.92334 7.90388' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 4.32617L0.75 4.32617' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.92334 0.75L11.5003 4.32694L7.92334 7.90388' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    
    /* Animation */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*.button-with-arrow a:hover::after {
	margin-left: 25px;
}*/

/* --- 7. FOOTER CONNECT: BUTTON RESET --- */

/* 1. Remove the 'Button' appearance */
.footer_connect .wp-block-button__link {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important; /* Perfect vertical center */
    gap: 8px !important; /* Space between icon and text */
    font-family: 'HarmonyOS Sans', sans-serif !important;
    font-size: clamp(14px, 0.73vw + 10px, 16px) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

.footer_connect .wp-block-buttons {
	gap:0;	
}

.footer_connect .linkedin .wp-block-button__link {
	gap: 14px !important; /* Space between icon and text */
}

/* 2. Style the Inline Image/Icon */
.footer_connect .wp-block-button__link img {
    filter: brightness(1); /* Ensures icons stay white/original */
}

/* 3. Space between the LinkedIn and WeChat buttons */
.footer_connect .wp-block-button {
    margin-bottom: 12px !important;
}

/* --- FOOTER QR CODE POSITIONING --- */

.footer_connect {
    position: relative !important;
}

.wechat-image {
    z-index: 999;
    position: absolute !important;
    
    /* Position exactly 12px below the button */
    bottom: 25% !important;
    left: 25px !important;
    
    /* Start State: Centered but scaled to 0 */
    transform: translateX(-25%) scale(0) !important;
    transform-origin: center top !important;
    
    /* Live Site Transition Timing */
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Visuals */
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    visibility: hidden;
    opacity: 0;
}

/* The Active State (Triggered by JS) */
.wechat-image.is-active {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(-25%) scale(1) !important;
}

/* Optional: Small triangle pointing up (common for this style) */
.wechat-image::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

/* --- EXACT PU_COOKIE REPLICATION --- */

.pu-cookie-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important; /* Extremely high to stay above Elementor */
    background: #021939 !important;
    padding: 22.82px 41.97px !important;
    
    /* 1. Remove 'display: none' - use these instead */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
}

.safe-svg-cover .safe-svg-inside { display: flex; }

/* Active State: Slide Up into view */
.pu-cookie-bar.is-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
	pointer-events: auto !important;
}

/* Closing State: Slide back down (triggered by removing the class) */
.pu-cookie-bar:not(.is-visible) {
    transform: translateY(100%) !important;
    opacity: 0 !important;
}

/* Main Content Wrapper */
.pu-cookie-main {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
	color: rgba(255, 255, 255, 0.5);
}

.pu-cookie-bar p, .pu-cookie-bar a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12.8px !important;
    margin: 0 !important;
	text-decoration:none;
}

.pu-cookie-bar p {
    color: #fff !important;
}

.pu-cookie-bar a {
    color: rgba(255, 255, 255, 0.5) !important;
	background:none;
	padding:0;
	font-weight: normal;
	position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.pu-cookie-bar p a::after { display:none; }

/* The Animated Underline */
.pu-cookie-bar a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px; /* Slightly thinner for the small footer text */
    bottom: -2px; /* Positioned just below the text */
    left: 0;
    background-color: #ea5504; /* White underline to match live site hover */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}

.pu-cookie-bar a:hover {
    color: #fff !important;
}

/* Trigger Animation on Hover */
.pu-cookie-bar a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.pu-cookie-bar .pu-cookie-close a::after { display:none; }

/* Right Side Buttons */
.pu-cookie-buttons {
    display: flex !important;
    gap: 35px;
    align-items: center;
    margin-block-start: 0;
	margin-right: 0 !important;
}

.pu-cookie-accept, .pu-cookie-refuse, .pu-cookie-close {
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.pu-cookie-accept, .pu-cookie-close, .pu-cookie-refuse {
    color: rgba(255, 255, 255, 0.5) !important;
	font-size: 12.8px !important;
}

.pu-cookie-accept:hover, .pu-cookie-refuse:hover, .pu-cookie-close:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.pu-cookie-bar .wp-block-safe-svg-svg-icon { display: flex; margin-block-start: 0; margin-right: 0 !important; margin-left: 0 !important; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .pu-cookie-main {
        flex-direction: column;
        text-align: center;
    }
}

/* --- COOKIE BAR CLOSE BUTTON HOVER --- */

.pu-cookie-close svg {
    transition: all 0.3s ease;
}

/* Base state: White with 50% opacity (as seen in your HTML) */
.pu-cookie-close svg path {
    fill: white !important;
    fill-opacity: 0.5;
    transition: fill-opacity 0.3s ease;
}

/* Hover state: Solid white */
.pu-cookie-close:hover svg path {
    fill-opacity: 1; /* Makes the X fully white and bright */
}

/* Optional: Slight scale effect to match a 'button' feel */
.pu-cookie-close:hover svg {
    transform: scale(1.1);
}

/* --- 5. THE 'PREVIEW' & EDITOR SYNC --- */

/* This ensures the Site Editor Canvas (Preview) respects your 
   fluid padding and spacing just like the live site.
*/

/* 1. Force the Header width and padding in the editor */
.editor-styles-wrapper header.wp-block-template-part {
    padding-left: clamp(1.25rem, 5vw, 5rem) !important;
    padding-right: clamp(1.25rem, 5vw, 5rem) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Fix the Navigation padding in the editor */
.editor-styles-wrapper .wp-block-navigation-item .wp-block-navigation-item__content {
    font-size: clamp(14px, 0.935vw, 20px) !important;
    padding-top: clamp(1.5rem, 1.7vw, 2.005rem) !important;
    padding-bottom: clamp(1.5rem, 1.7vw, 2.005rem) !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
}

/* 3. Sync the 'Magic Push' (Logo on left, Nav 2 on right) in the editor */
.editor-styles-wrapper .wp-block-group.is-layout-flex > nav:nth-of-type(1) {
    margin-right: auto !important;
}

/* 4. Match the gap between menu items in the editor */
.editor-styles-wrapper .wp-block-navigation__container {
    gap: clamp(1rem, 2vw, 2.5rem) !important;
}

/* 5. Match the Logo spacing in the editor */
.editor-styles-wrapper .wp-block-site-logo {
    margin-right: clamp(2rem, 4vw, 4.5rem) !important;
}

/* --- 5. THE 'PREVIEW' & EDITOR SYNC (ADD THIS) --- */

/* Force Search Input to be visible in the Editor so you can style it */
.editor-styles-wrapper .epg-search-toggle .wp-block-search__input {
    width: 20.8vw !important;
    max-width: 387px !important;
    opacity: 1 !important;
    padding: 0 15px !important;
    height: 46.88px !important;
    position: relative !important; /* Switch from absolute to see it next to icon */
    right: 0 !important;
    overflow: visible !important;
}

/* Ensure the button shows the Search Icon in the editor */
.editor-styles-wrapper header .wp-block-search__button::before {
    background-color: #EA5504 !important;
    width: 21px !important;
    height: 21px !important;
}

.editor-styles-wrapper .epg-search-toggle {
    margin-left: calc(clamp(1rem, 2vw, 2.5rem) + 0.8rem) !important;
}

.editor-styles-wrapper .footer_wrapper .wp-block-navigation-item a, .editor-styles-wrapper .footer_bottom_bar .wp-block-navigation-item a { padding: 5px 0 !important; }

.editor-styles-wrapper .pu-cookie-bar { display:block; }
.editor-styles-wrapper .pu-cookie-buttons { margin-block-start: 0; margin-right: 0 !important; }
.editor-styles-wrapper .pu-cookie-bar .wp-element-button {
    color: rgba(255, 255, 255, 0.5) !important;
	background:none;
	padding:0;
	font-weight: normal;
}
.editor-styles-wrapper .pu-cookie-bar .wp-block-buttons .wp-block-button__link { font-size: 0.799rem !important; }

/* Page Content */
.location-box { width: 1630px; max-width:100%; margin: auto; -webkit-transition: 0.6s; transition: 0.6s; opacity: 0.4; position: relative; }
.location-box:hover { opacity:1; }
.location-box .location-box-1 .inner-box { 
	width:50%; 
    height: 100%;
    background: #25292e;
    padding: 76.16px 13.18% 56.64px 56.64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.location-box .location-box-2 .inner-box {
	width:74%;
	margin-left: auto;
	padding:0;
}
.location-box .location-box-1 { 
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    -webkit-clip-path: polygon(50% 0, 49.5% 0%, 25.5% 100%, 0 100%, 0 0);
    clip-path: polygon(50% 0, 49.5% 0%, 25.5% 100%, 0 100%, 0 0);
}
.location-box .location-box-2 { 
	 position: relative;
    width: 100%;
    -webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 26% 100%, 26% 100%);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 26% 100%, 26% 100%);
}
.location-box.even .location-box-1 { 
	left: auto;
    right: 0px;
    clip-path: polygon(50% 0px, 100% 0px, 100% 100%, 74.5% 100%, 50.5% 0px);	
}
.location-box.even .location-box-2 { 
    clip-path: polygon(50% 0px, 74% 100%, 74% 100%, 0px 100%, 0px 0px);	
}
.location-box.even .location-box-1 .inner-box {
	margin-left: auto;
    text-align: right;
    padding: 76.16px 56.64px 56.64px 13.18%;
}
.location-box.even .location-box-2 .inner-box {
	margin-left: 0;
}
.location-box .location-title .elementor-heading-title, .elementor-widget-button.location-button .elementor-button-icon, .share-icon-box a svg, .featured-news-box .elementor-widget-heading .elementor-heading-title, .elementor-widget-heading .elementor-heading-title, .news_navigation_box .nav_item_title, .button-with-arrow a::after, a { -webkit-transition: 0.4s; transition: 0.4s; }
.location-box:hover .location-title .elementor-heading-title { color:#ea5504 !important; }
.elementor-widget-button.location-button .elementor-button { 
	padding: 0;
    background: none;
    color: #ea5504;
    font-weight: bold;
	position:relative;
}
.elementor-widget-button.location-button .elementor-button:after { 
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ea5504;	
}
.elementor-widget-button.location-button .elementor-button-icon { width:12px; margin-left: 5px; }
.elementor-widget-button.location-button:hover .elementor-button-icon { margin-left:51.68px; }
.elementor-widget-n-tabs .e-n-tabs-heading button {
	background: none !important;
	cursor: pointer;
    padding: 0 0 19px;
    font-weight: 500;
	position:relative;
}
.elementor-widget-n-tabs .e-n-tabs-heading button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 30%;
    left: 0;
    background-color: rgb(234, 85, 4); 
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}
.elementor-widget-n-tabs .e-n-tabs-heading button:hover::after, .elementor-widget-n-tabs .e-n-tabs-heading button[aria-selected="true"]::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* Make animations feel more like the live site (subtle & smooth) */
@keyframes fadeInUp {
    from {
        transform: translate3d(0, 50px, 0); /* Shortened distance */
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.animated {
    animation-duration: 0.8s !important; /* Slightly faster than default */
    animation-fill-mode: both;
}

/* gravity form */
.gform_required_legend { display:none; }
body .gform_wrapper form { position:relative; font-size: clamp(0.875rem, 1vw, 1.08rem); }
body .gform_wrapper .top_label .gfield_label { font-size: clamp(0.875rem, 1vw, 1.08rem); font-weight:300; color: #fff; }
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) , body .gform_wrapper select, body .gform_wrapper select , body .gform_wrapper.gf_browser_chrome select, body .gform_wrapper.gravity-theme .gfield textarea, body .gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] { background:rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(27px); backdrop-filter: blur(27px); padding:clamp(0.85rem, 1.5vw, 1.147rem) clamp(1.1rem, 2vw, 1.565rem); border:0; border-radius:0; font-size: clamp(0.875rem, 0.7vw + 0.5rem, 0.98rem); font-weight:normal; color:#fff; width: 100%; min-height: auto; line-height: 1.4; transition: 0.6s; outline:none; }
body .gform_wrapper .gform_footer input.button, body .gform_wrapper .gform_footer input[type=submit], body .gform_wrapper .gform_page_footer input.button, body .gform_wrapper .gform_page_footer input[type=submit] { line-height: 1.4; border: 0; background: #ea5504; font-size: clamp(0.85rem, 1.5vw, 0.98rem); color: #fff; font-weight: normal; padding: clamp(0.8rem, 0.6vw + 0.5rem, 1.14rem) clamp(1.5rem, 6.2vw, 4.59rem); display: inline-block; position: relative; z-index: 0; cursor:pointer; outline:0;
	-webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out; }

/* Standard Placeholder Color */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: #5a5a5a !important;
    opacity: 1; /* Firefox fix */
    font-family: 'HarmonyOS Sans', sans-serif;
}

/* Placeholder on Focus (Fade out effect) */
.gform_wrapper input:focus::placeholder,
.gform_wrapper textarea:focus::placeholder {
    color: #fff !important; /* Cleaner than #fff if the background changes */
    transition: color 0.3s ease;
}

body .gform_wrapper .gfield_consent_label { color: #999; }
body .gform_wrapper .gfield_consent_label a { color:#ea5504; }
body .gform_wrapper .gfield_consent_label a:hover { text-decoration:underline; }

/* 1. Hide the default checkbox */
.ginput_container_consent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* 2. Position the label and set the font */
.ginput_container_consent label.gfield_consent_label {
    position: relative;
    padding-left: 30px; 
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

/* 3. The Outer Box - Vertically Centered */
.ginput_container_consent label.gfield_consent_label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%; /* Move to middle of the line */
    transform: translateY(-50%); /* Offset by half its own height */
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 1px solid #ea5504;
    border-radius: 0;
}

/* 4. The Tick - Centered inside the Box */
.ginput_container_consent label.gfield_consent_label::after {
    content: "";
    position: absolute;
    /* Calculated to sit inside the 18px box */
    left: 6px; 
    top: calc(50% - 1px); /* Center vertically relative to the box */
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    /* We must combine the rotation and the centering transform */
    transform: translateY(-50%) rotate(45deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

/* 5. Checked State: Fill background with Orange and show Tick */
.ginput_container_consent input:checked ~ label.gfield_consent_label::before {
    background-color: #ea5504; /* Fills the box with orange */
}

.ginput_container_consent input:checked ~ label.gfield_consent_label::after {
    /* Keep the vertical centering and the rotation while scaling to 1 */
    transform: translateY(-50%) rotate(45deg) scale(1);
}

/* 6. Style the 'Privacy Policy' link inside the label */
.ginput_container_consent label a strong {
    color: #ea5504;
    font-weight: 700;
}

.gform_wrapper.gravity-theme fieldset.gfield--type-consent { padding: 0.4rem 0; }
body .gform_wrapper.gravity-theme .gfield_error label { color:#999; }
body .gform_wrapper.gravity-theme .gfield_validation_message, body .gform_wrapper.gravity-theme .validation_message { background: none; border: 0; padding: 0; color: #c84e4e; }
body .gform_wrapper.gravity-theme .gform_validation_errors { border-radius: 0; background: #c02b0a; color: #fff; }
body .gform_wrapper.gravity-theme .gform_validation_errors:focus { outline:none; }
body .gform_wrapper.gravity-theme .gform_validation_errors h2 { color:#fff; }
body .gform_wrapper.gravity-theme .gform_fields { grid-column-gap:0.7%; grid-row-gap: 10px; }
.form-separator { margin: 2.5%; }
.gform_wrapper.resource-download-form_wrapper input::placeholder,
.gform_wrapper.resource-download-form_wrapper textarea::placeholder, 
.gform_wrapper.resource-download-form_wrapper select, body .gform_wrapper select, 
.gform_wrapper.resource-download-form_wrapper.gf_browser_chrome select { color:#999 !important; }
.gform_wrapper.resource-download-form_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, .gform_wrapper.resource-download-form_wrapper select:focus, .gform_wrapper.resource-download-form_wrapper select:focus, .gform_wrapper.resource-download-form_wrapper.gf_browser_chrome select:focus, .gform_wrapper.resource-download-form_wrapper.gravity-theme .gfield textarea:focus { background: rgba(255, 255, 255, 0.25); }

/* 1. Reset the default select styling */
.ginput_container_select {
    position: relative;
    display: block;
    width: 100%;
}

.ginput_container_select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* Hides the default browser arrow */
}

.ginput_container_select select option {
	    color: #5f5f5f;	
}

/* 2. Create the Layui-style arrow */
.ginput_container_select::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -3px; /* Centers the 6px border vertically */
    cursor: pointer;
    
    /* The Triangle Shape */
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3) transparent transparent transparent; /* Arrow pointing down */
    
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    pointer-events: none; /* Allows clicks to pass through to the select menu */
}

/* 4. Flip the arrow when open (Note: Requires JS for true select state, 
   but we can simulate it on focus) */
.ginput_container_select:focus-within::after {
    margin-top: -9px;
    transform: rotate(180deg);
}
body .gform_wrapper.gravity-theme .gfield_label { color: #999; font-size: clamp(0.875rem, 1vw, 1.08rem); }
.gform_wrapper.gravity-theme .content-selections { margin: 2% 0 1.5%; }
.gform_wrapper.gravity-theme .content-selections .gfield_label { margin-bottom:1.5%; }
.gform_wrapper.gravity-theme .content-selections .gchoice { position:relative; }
.gform_wrapper.gravity-theme .content-selections .gfield-choice-input { position:absolute; opacity:0; width:0; height:0; }
.gform_wrapper.gravity-theme .content-selections .gfield-choice-input+label {
	transition: 0.6s;
    cursor: pointer;
    display: block;
    transition: 0.4s;
    padding: clamp(1.25rem, 2vw + 0.5rem, 1.79rem);
    border: 1px solid rgba(146, 146, 146, 0.3);
    display: flex;
    flex-wrap: nowrap;
	white-space: nowrap;
    align-items: center; 
	font-size: clamp(0.9rem, 1.5vw, 1.08rem);
	font-weight: 500;
	color:#ffffff80;
	max-width: 100%;
}
.gform_wrapper.gravity-theme .content-selections .gfield-choice-input+label span { padding-right:20px; }
.gform_wrapper.gravity-theme .content-selections .gfield-choice-input+label img {
	max-width: 100%;
    filter: brightness(0) invert(1);
    transition: 0.4s;
    opacity: 0.4;
	margin-right: 1.4rem;
}
.gform_wrapper.gravity-theme .content-selections .gfield-choice-input:checked+label {
    border-color: #ea5504;
    background-color: rgba(234, 85, 4, 0.05); /* Very light orange tint */
	color:#fff;
}
.gform_wrapper.gravity-theme .content-selections .gfield-choice-input:checked+label img {
	opacity: 1;
    filter: brightness(1) invert(0);	
}
.gform_wrapper.gravity-theme .content-selections.gfield.gf_list_3col .gfield_checkbox, .gform_wrapper.gravity-theme .content-selections.gfield.gf_list_3col .gfield_radio { grid-column-gap: 1.5rem; }
.form-submit-centered .gform-footer { justify-content: center; }
.share-icon-box a { padding:clamp(0.65rem, 0.65vw, 1.03rem); }
.share-icon-box a svg { opacity:0.4; }
.share-icon-box a:hover { background-color:#ea5504; }
.share-icon-box a:hover svg { opacity:1; }

/* 1. Ensure the nest container is relative so the image can be absolute */
.hover-qr-nest {
    position: relative !important;
    display: inline-flex; 
    flex-direction: column;
    align-items: center;
    overflow: visible !important; 
}

/* 2. Position the QR Code image at the BOTTOM */
.qr-popup-img {
    position: absolute;
    top: 120%; /* Moved from bottom to top */
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.9); /* Starts slightly higher */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 99;
    
    padding: 10px;
    background: #fff;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    width: 6.72rem; 
    max-width: none !important;
}

footer .qr-popup-img { position: absolute; top:150%; }

/* 3. Add the Arrow at the TOP center */
.qr-popup-img::before {
    content: "";
    position: absolute;
    top: -6px; /* Pulls it above the white box */
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff; /* Triangle pointing up */
}

/* 4. The Hover Magic */
.hover-qr-nest:hover .qr-popup-img {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Ensure the image inside stays contained */
.qr-popup-img img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Neutralize Elementor's Full Width Container */
.elementor-element.share-links-container {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    align-self: flex-start;
	flex-wrap: wrap;
}

.elementor-element.share-links-container .share-button {
	flex: 0 0 auto;
    width: auto;
}

/* 1. Base State: White text and hidden border */
.link-with-arrow .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff; /* Default white */
    font-size: clamp(0.875rem, 1vw, 1.08rem);
    font-weight: bold !important;
    padding-bottom: 4px; /* Space for the border */
    border-bottom: 1.5px solid #ea5504; /* Hidden but takes up space */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* 2. Injecting the SVG Arrow */
.link-with-arrow .elementor-heading-title::after {
    content: "";
    width: 13px;
    height: 9px;
    background-color: #ea5504; /* Arrow starts white */
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 4.32617L0.75 4.32617' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.92334 0.75L11.5003 4.32694L7.92334 7.90388' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 4.32617L0.75 4.32617' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.92334 0.75L11.5003 4.32694L7.92334 7.90388' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    transition: all 0.3s ease-in-out;
}

/* 3. Hover State: Change everything to Orange */
.featured-news-box:hover .link-with-arrow .elementor-heading-title, .featured-news-box:hover .elementor-widget-heading .elementor-heading-title,
.news-list-item:hover .link-with-arrow .elementor-heading-title {
    color: #EA5504 !important;
    border-bottom-color: #EA5504; /* Reveal the border */
}

/* 4. Hover State: Arrow turns orange and slides */
.featured-news-box:hover .link-with-arrow .elementor-heading-title::after,
.news-list-item:hover .link-with-arrow .elementor-heading-title::after {
    background-color: #EA5504;
	margin-left: 25px;
}

/* 1. Reset Elementor Button defaults to look like a text link */
.button-link-arrow .elementor-button {
    background-color: transparent !important;
    padding: 0 0 4px 0 !important; /* Padding only at bottom for the border */
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* 2. Base Text Styling */
.button-link-arrow .elementor-button-text {
    color: #ea5504; /* Default white */
    font-size: clamp(0.85rem, 1.63vw, 0.98rem);
    font-weight: 600;
    border-bottom: 1.5px solid #ea5504; /* Placeholder for hover border */
    padding-bottom: 7px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 3. Inject the Orange SVG Arrow */
.button-link-arrow .elementor-button-text::after {
    content: "";
    width: 13px;
    height: 9px;
    background-color: #ea5504; /* Arrow starts white */
    display: inline-block;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 4.32617L0.75 4.32617' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.92334 0.75L11.5003 4.32694L7.92334 7.90388' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 4.32617L0.75 4.32617' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.92334 0.75L11.5003 4.32694L7.92334 7.90388' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    transition: all 0.3s ease-in-out;
}

/* 4. Hover State: Text and Border turn Orange */
.button-link-arrow .elementor-button:hover .elementor-button-text {
    color: #EA5504;
    border-bottom-color: #EA5504;
}

/* 5. Hover State: Arrow turns Orange and Slides */
.button-link-arrow .elementor-button:hover .elementor-button-text::after {
    background-color: #EA5504;
	margin-left:35px;
}

/* 6. Remove Elementor's default hover background effect */
.button-link-arrow .elementor-button:hover {
    background-color: transparent !important;
    color: inherit !important;
}

.elementor-widget-heading.news-title .elementor-heading-title { font-weight:normal; }
.news-list-item:hover .elementor-widget-heading.news-title .elementor-heading-title { color: #EA5504 !important; }

.news_navigation_container {
    display: flex;
    justify-content: space-between;
    /* Gap scales from 10px to 30px */
    gap: clamp(10px, 2.5vw, 30px); 
	flex-direction: column;
}

.news_navigation_box {
    flex: 1;
}

.news_navigation_box a {
    text-decoration: none !important;
    display: block;
    /* Internal padding scales from 15px to 25px */
    border-radius: 0px;
    transition: 0.2s;
}

.news_navigation_box a:hover .nav_item_title {
	color: #EA5504;
}

.news_navigation_box a .nav_item_content {
	display: flex;
    justify-content: space-between; /* Pushes title left, date right */
    align-items: baseline;          /* Keeps text aligned on the bottom edge */
    gap: 15px;                      /* Prevents title and date from touching */
    width: 100%;
}

.news_navigation_box .nav_item_title {
    display: block;
    font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.33rem);
    color: #fff;
    font-weight: normal;
    line-height: 1.4;
	flex: 1;
}

.news_navigation_box .nav_item_date {
    font-style: normal;
    /* Date font size scales from 12px to 14px */
    font-size: clamp(0.875rem, 0.7vw + 0.5rem, 1.07rem);
    color: rgba(255, 255, 255, 0.6);
	text-align:right;
	padding-left:15px;
	white-space: nowrap;
}
.news_navigation_box .nav_label {
	color:rgba(255, 255, 255, 0.4);
	font-size:clamp(1.1rem, 0.95rem + 0.5vw, 1.46rem);
	font-weight: bold;
	margin: 0 !important;
	padding: 0 0 5px;
}
.news-content-box a {
	color:rgb(6, 51, 105);
	text-decoration:underline !important;	
}
.news-content-box a:hover {
	color:#fff;	
}

/* Container alignment */
.rank-math-breadcrumb {
	line-height:1.2;
}
.rank-math-breadcrumb p {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
}

/* Style the Elementor Icon Separator */
.rank-math-breadcrumb .separator i {
    font-size: 12px; /* Chevrons usually look better slightly smaller than text */
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

/* Home Icon Wrapper */
.rank-math-breadcrumb a .home-icon-wrapper {
    display: flex;
    align-items: center;
}

/* Breadcrumb Text Styling */
.rank-math-breadcrumb a, 
.rank-math-breadcrumb .last {
    font-size: clamp(0.875rem, 0.7vw + 0.5rem, 1.07rem);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
}

.rank-math-breadcrumb .last {
	font-weight: 500;
}

.rank-math-breadcrumb a:hover {
    color: #fff; /* EPG Orange */
}

.rank-math-breadcrumb .last {
    color: #fff;
}

.news-list-item .triangle {
	position: absolute;
	bottom: 0;
	right: 0;
	/* Minimum 40px, Preferred 2.9vw, Maximum 55.9px */
    width: clamp(40px, 2.91vw, 55.9px); 
    /* Minimum 38px, Preferred 2.7vw, Maximum 51.7px */
    height: clamp(38px, 2.69vw, 51.7px);
    /* Ensure the aspect ratio remains consistent */
    aspect-ratio: 55.9 / 51.7;
}
.news-list-item .triangle::before {
    content: "";
    position: relative;
    display: block;
    padding-top: 92.5%;
    background: #ea5504;
    -webkit-clip-path: polygon(100% 0, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(100% 0, 100% 0%, 100% 100%, 0% 100%);
}

/* elementor header */

/* --- 1. HEADER LAYOUT (FLUID HEIGHT & WIDTH) --- */
.epg-header-outer {
    transition: background-color 0.3s ease;
    box-sizing: border-box !important;
}

.epg-header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
    gap: 0 !important;
}

/* --- 2. MARGINS & THE "MAGIC PUSH" --- */
.epg-logo-wrap {
    flex-shrink: 0;
}

.epg-nav-primary {
    margin-right: auto !important;
    flex-grow: 1;
}

/* --- 3. NAVIGATION ITEMS --- */
.epg-header-inner .elementor-nav-menu .menu-item a.elementor-item {
    position: relative !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    transition: color 0.3s ease;
}

/* --- 4. CONTINUOUS SCROLL UNDERLINE ANIMATION --- */

/* 1. Kill ALL Elementor default pointer styles for this menu */
.epg-header-inner .elementor-nav-menu .elementor-item:after,
.epg-header-inner .elementor-nav-menu .elementor-item:before {
    content: none !important;
    display: none !important;
}

/* 2. Create our custom underline on the anchor tag */
.epg-header-inner .elementor-nav-menu .menu-item a {
    position: relative !important;
    overflow: visible !important;
}

.epg-header-inner .elementor-nav-menu .menu-item a::after {
    content: '' !important;
    position: absolute !important;
    display: block !important;
    height: 2px !important;
    width: auto !important; /* Let left/right define width */
    
    /* Pinned to the text baseline - adjust this % if it's too high/low */
    bottom: 28% !important; 
    
    /* Horizontal alignment matching your text padding */
    left: auto !important;
    right: auto !important;
    
    background-color: #EA5504 !important;
    z-index: 99 !important;
    
    /* THE ANIMATION INITIAL STATE */
    transform: scaleX(0) !important;
    transform-origin: bottom right !important;
    transition: transform 0.4s cubic-bezier(0.5, 1, 0.89, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
	width: 100% !important;
}

/* 3. THE TRIGGER (Hover & Active) */
.epg-header-inner .elementor-nav-menu .menu-item:hover > a::after,
.epg-header-inner .elementor-nav-menu .menu-item.current-menu-item > a::after,
.epg-header-inner .elementor-nav-menu .menu-item.current-menu-ancestor > a::after,
.epg-header-inner .elementor-nav-menu .menu-item.elementor-item-active > a::after {
    transform: scaleX(1) !important;
    transform-origin: bottom left !important;
}

/* --- 5. SUBMENU (DROPDOWN) VISUALS & CENTERING --- */

/* 1. Ensure the parent list item is the relative anchor */
.epg-header-inner .elementor-nav-menu .menu-item-has-children {
    position: relative !important;
}

/* 2. Target the UL dropdown specifically */
.epg-header-inner .elementor-nav-menu--main ul.sub-menu.elementor-nav-menu--dropdown {
    /* Override Elementor's JS toggle */
    display: block !important; 
    visibility: hidden;
    opacity: 0;
    
    /* Layout & Styling */
    position: absolute !important;
    background: rgba(166, 166, 166, 0.5) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
    min-width: 155px !important;
    width: max-content !important;
    max-width: 250px !important; /* Increased slightly for longer solution names */
    padding: 11.2px 4.16px !important;
    z-index: 9999;

    /* THE CENTERING FIX: Halfway across parent, then pulled back half its own width */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    
    /* Smooth Transition Logic */
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.5, 1, 0.89, 1), visibility 0.4s !important;
}

/* 3. Reveal on Hover */
.epg-header-inner .elementor-nav-menu .menu-item-has-children:hover > ul.sub-menu.elementor-nav-menu--dropdown {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* 4. Sub-item Text Alignment */
.epg-header-inner .elementor-nav-menu--dropdown a.elementor-sub-item {
    justify-content: center !important; 
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    border: 0 !important;
    line-height: 1.2 !important;
    padding: 9px 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    transition: color 0.3s ease !important;
}

.epg-header-inner .elementor-nav-menu .menu-item:hover .elementor-nav-menu--dropdown a::after {
	display:none !important;
}

.epg-header-inner .elementor-nav-menu--dropdown a.elementor-sub-item:hover {
    color: #EA5504 !important;
}

/* 5. The Orange Triangle */
.epg-header-inner .elementor-nav-menu--dropdown::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ea5504;
    right: 0;
    bottom: 0;
    z-index: 2;
    clip-path: polygon(50% 50%, 100% 0, 100% 100%, 0 100%);
}

/* Remove the submenu arrow icon and container */
.epg-header-inner .elementor-nav-menu .sub-arrow {
    display: none !important;
}

/* --- 2. INDIVIDUAL CHILD CONTAINERS --- */
/* Force all direct children of Inner Container to hug their content */
.epg-header-inner > .e-con, 
.epg-header-inner > .e-child {
    flex: 0 1 auto !important; 
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* --- 6. SEARCH SPACING --- */
/* --- 1. INITIAL STATE: HIDE SEARCH BAR --- */
.epg-search-wrap .elementor-widget-search {
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
	pointer-events: none;
}

/* Hide the Close Icon by default */
.search-close-icon {
    display: none !important;
}

/* Style the magnifying glass for clicking */
.search-icon  {
    cursor: pointer;
}

/* --- 2. ACTIVE STATE: SLIDE OUT --- */
.epg-search-wrap.is-active .elementor-widget-search {
    width: 387px !important; /* Adjust slide width */
    opacity: 1;
}

/* Switch Icons when active */
.epg-search-wrap.is-active .search-icon {
    display: none !important;
}

.epg-search-wrap.is-active .search-close-icon {
    display: block !important;
    cursor: pointer;
}

/* 3. Style the input specifically to match epg site */
.epg-search-wrap .e-search-input { height: 46.88px !important; }
.search-icon { cursor:pointer; }

/* --- REFINED SEARCH BEHAVIOR --- */

/* Ensure the search bar is under the icons but above the background */
.epg-search-wrap .elementor-widget-search {
    z-index: 1;
    right: 0; /* Align to the right edge of the container */
    pointer-events: none; /* Disable when hidden so it doesn't block clicks */
}

.epg-search-wrap.is-active .elementor-widget-search {
    pointer-events: auto; /* Re-enable when sliding out */
}

/* Ensure icons are always on top of the sliding bar */
.search-icon, .search-close-icon {
    z-index: 5 !important;
    position: relative;
}

/* 2. Fix the Input Focus State */
.epg-search-wrap .e-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.epg-search-wrap {
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* This creates the 'Slide Left' effect by expanding the width of the container */
.epg-search-wrap.is-active {
    /* Optional: adds a bit of breathing room when open */
    gap: 15px; 
}

/* Prevent the default magnifying glass inside the search widget from showing */
.epg-search-wrap .e-search-label svg {
    /*display: none !important;*/
}

.elementor-widget-search .e-search-label { position:initial !important; }
.elementor-widget-search .e-search-label>i, .elementor-widget-search .e-search-label>svg { left: 0; left: auto; right: 10px; inset-inline-start: auto !important; cursor: pointer; top: 50% !important;  transform: translateY(-50%) !important; }

.epg-search-wrap .elementor-widget-search .e-search-input {
    /* Force a specific small padding on the left */
    padding-inline-start: 15px !important;
    
    /* Keep the right padding larger for your right-aligned icon */
    padding-inline-end: 45px !important;
    
    /* Optional: Reset text-indent if Elementor is forcing one */
    text-indent: 0 !important;
}

/* --- SEARCH CLOSE ICON COLOR --- */

/* Targets your 'X' icon widget when the search is active */
.epg-search-wrap.is-active .search-close-icon svg path {
    fill: #5F5F5F !important;
    transition: fill 0.3s ease;
}

/* Optional: Slight hover effect to match signature orange or a lighter grey 
.epg-search-wrap.is-active .search-close-icon:hover svg path {
    fill: #EA5504 !important; 
}*/

.search-close-icon { opacity:0; }
.epg-search-wrap.is-active .search-close-icon { opacity:1; }
/* Ensure the wrapper doesn't force a different color */
.search-close-icon i, 
.search-close-icon svg {
    color: #5F5F5F !important;
    fill: #5F5F5F !important;
}

/* --- VERTICAL ALIGNMENT FIX --- */

/* 1. Force the parent container to align everything to the middle */
.epg-search-wrap {
    display: flex !important;
    align-items: center !important; 
    justify-content: flex-end !important;
    height: 100% !important; /* Ensures it fills the header height */
}

/* 2. Remove Elementor's default widget spacing/margins */
.epg-search-wrap .elementor-widget {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* 3. Align the Icon Wrappers */
.epg-search-wrap .elementor-icon-wrapper,
.epg-search-wrap .elementor-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important; /* Prevents text-based vertical shifts */
}

/* 4. Match the Search Form height to the icons */
.epg-search-wrap .e-search-form {
    display: flex !important;
    align-items: start !important;
}

/* 5. Precision nudge for SVGs */
/* Sometimes SVGs have uneven internal padding; use this for fine-tuning */
.epg-search-wrap svg {
    vertical-align: middle !important;
    display: block !important;
}

.epg-search-wrap search { width:100%; }

/* SECONDARY NAV FADE OUT */
/* Target the container or widget holding your secondary menu */
.epg-nav-secondary {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

/* When search is active, fade out the secondary nav */
body:has(.epg-search-wrap.is-active) .epg-nav-secondary {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Target the SVG path inside the search submit button */
.search-field-box .e-search-form .e-search-submit svg path {
    stroke: #FFFFFF !important;
}
.search-field-box .e-search-form .e-search-submit svg { margin:auto !important; }
.search-field-box .e-search-form .e-search-submit { padding:14px !important; cursor: pointer; }
.search-field-box .e-search-form { padding: .73rem 0.76rem; }
.search-field-box .e-search-form .e-search-input { padding:0; min-height: 2.6rem !important;}
.search_filters { font-size:clamp(1.087rem, 2.039vw - 1.277rem, 1.333rem); font-weight: normal; }
.search_filters a { color:rgba(255, 255, 255, 0.6); }
.search_filters a:hover, .search_filters a.active { color:rgba(255, 255, 255, 1); }
.search_filters i { font-size: clamp(14.47px, 0.78125vw, 16px); font-style:normal; margin: 0 10px; }
.search_filters .e-search-submit { cursor:pointer; }
.elementor-pagination .prev, .elementor-pagination .next { color: rgba(255, 255, 255, 0.5) !important; }
.elementor-pagination a:hover { color:#EA5504 !important; }
.elementor-pagination span.prev, .elementor-pagination span.next { opacity: 0.5 !important; }
.elementor-pagination .prev { margin-right: calc(7rem / 2) !important; }
.elementor-pagination .next { margin-left: calc(7rem / 2) !important; }
.mobile-menu-icon .elementor-button { align-items: center; display: flex; padding: 0 10px; height:58px; }
#off-canvas-c9fe298 { top:58px; }
body.e-off-canvas__no-scroll .epg-header-outer { background-color:#0B0B0B !important; }
body:has(.epg-search-wrap.is-active) .epg-nav-secondary.elementor-hidden-desktop { pointer-events: all; visibility: visible; opacity: 1; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown ul.sub-menu { padding-bottom: 20px; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown ul.sub-menu li { border:0 !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown ul.sub-menu a:hover { color:#fff !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu .menu-item-has-children:hover > ul.sub-menu.elementor-nav-menu--dropdown { transform:none !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown a { text-align: left !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu .menu-item a { display:block !important; font-weight:normal !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown::before { display:none !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu .sub-arrow { display:inline-block !important; }
.epg-header-inner .mobile-menu-container .elementor-nav-menu .menu-item a:after, .epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown li:hover ul.sub-menu a:after { 
	 /* This is a tiny, clean SVG arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23757575' stroke-width='1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.25 4.5 7.5 7.5-7.5 7.5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	background-color:transparent !important;
	content: '' !important; 
    position: absolute;
    right: 0 !important;
    top: 16px !important;
    transform: none !important;
    height: 20px !important;
    width: 20px !important;
    left: auto !important;
	display:block !important;
}
/* Parent Items: Change the SVG to a thin Plus (+) sign */
.epg-header-inner .mobile-menu-container .elementor-nav-menu .menu-item-has-children > a:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23757575' stroke-width='1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4.5v15m7.5-7.5h-15' /%3E%3C/svg%3E");
}
/* Change Plus to Minus sign when the submenu is opened */
.epg-header-inner .mobile-menu-container .elementor-nav-menu .menu-item-has-children > a.highlighted:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23757575' stroke-width='1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 12h14' /%3E%3C/svg%3E") !important;
}
.epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown ul.sub-menu a:after, .epg-header-inner .mobile-menu-container .elementor-nav-menu--dropdown li:hover ul.sub-menu a:after {
	top:5px !important;
}
/* 1. Set the container to relative and hide the original SVG icon */
.elementor-button[aria-controls^="off-canvas"] .elementor-button-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Adjust based on your design */
    height: 30px;
}

/* Hide the default bars SVG when the menu is open */
.elementor-button[aria-expanded="true"] .e-fas-bars {
    opacity: 0;
}

/* 2. Create the Cross (X) using a pseudo-element when aria-expanded is true */
.elementor-button[aria-expanded="true"] .elementor-button-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Ultra-thin Cross SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23EA5504' stroke-width='1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}