/* Modern Redesign Styles for Elixir Media */
:root {
  --brand-yellow: #FFC400;
  --brand-yellow-hover: #FFCC00;
  --brand-charcoal: #3F454A;
  --brand-light: #F5F5F3;
  --brand-grey: #6B7075;
  --brand-border: #E6E6E4;
  --brand-white: #FFFFFF;
}

body.modern-redesign-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #3F454A;
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.dot-pattern {
  background-image: radial-gradient(#FFC400 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

.dot-pattern-charcoal {
  background-image: radial-gradient(#3F454A 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

/* Wavy underline decoration */
.wavy-underline {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 196, 0, 0.45);
  text-decoration-style: wavy;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 8px;
}

/* Smooth transition defaults */
.modern-transition {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Navbar (shared markup, repeated in every page's <header>)
   - >=1280px: logo | nine links | phone | Get In Touch, on one line with real gaps (nothing is shrunk to fit).
     The phone is an icon button from 1280px and shows its number from 1536px, where it fits without crowding.
   - <1280px: logo | phone icon (>=640px) | Get In Touch (>=640px) | menu button. The menu panel lists every link, plus the phone and CTA.
   Active page = aria-current="page" on the link. Menu behaviour: assets/js/nav.js
   ========================================================================== */
.edm-bar{max-width:1400px;margin:0 auto;padding:0 20px;height:80px;display:flex;align-items:center;gap:16px}
.edm-logo{flex:none;display:flex;align-items:center;margin-right:auto}
.edm-logo img{display:block;height:44px;width:auto}
.edm-nav{display:none}
.edm-actions{flex:none;display:flex;align-items:center;gap:10px}

.edm-phone{display:none;align-items:center;justify-content:center;gap:8px;height:44px;min-width:44px;padding:0 12px;border-radius:999px;color:#6B7075;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;transition:color .2s,background-color .2s}
.edm-phone:hover{color:#3F454A;background:#F5F5F3}
.edm-phone .material-symbols-outlined{font-size:20px;color:#3F454A}
.edm-phone-num{display:none}

.edm-cta{display:none;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:10px;background:#FFC400;color:#3F454A;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 1px 2px rgba(63,69,74,.12);transition:background-color .2s,transform .2s}
.edm-cta:hover{background:#FFCC00;transform:translateY(-1px)}

.edm-burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #E6E6E4;border-radius:10px;background:#fff;color:#3F454A;cursor:pointer;transition:border-color .2s,background-color .2s}
.edm-burger:hover{border-color:#3F454A}
.edm-burger .material-symbols-outlined{font-size:26px}

.edm-header a:focus-visible,.edm-header button:focus-visible{outline:2px solid #3F454A;outline-offset:3px;border-radius:8px}

/* menu panel */
.edm-mobile{border-top:1px solid #E6E6E4;background:#fff;box-shadow:0 18px 30px -18px rgba(63,69,74,.3);max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto}
.edm-mobile[hidden]{display:none}
.edm-mobile-in{max-width:640px;margin:0 auto;padding:12px 20px 24px}
.edm-mobile-links{display:flex;flex-direction:column}
.edm-mobile-links a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-left:3px solid transparent;border-bottom:1px solid #F0F0EE;color:#6B7075;font-size:16px;font-weight:500;text-decoration:none}
.edm-mobile-links a:hover{color:#3F454A;background:#F5F5F3}
.edm-mobile-links a[aria-current="page"]{border-left-color:#FFC400;color:#3F454A;font-weight:700}
.edm-mobile-foot{display:grid;gap:12px;margin-top:20px}
.edm-mobile-foot .edm-cta,.edm-mobile-foot .edm-phone{display:flex;justify-content:center;width:100%;box-sizing:border-box}
.edm-mobile-foot .edm-phone{border:1px solid #E6E6E4;border-radius:10px;color:#3F454A}
.edm-mobile-foot .edm-phone .edm-phone-num{display:inline}

@media (min-width:640px){
  .edm-bar{padding:0 28px}
  .edm-actions .edm-cta,.edm-actions .edm-phone{display:inline-flex}
  .edm-mobile-foot{display:none}   /* phone + CTA are already in the bar from 640px */
  .edm-mobile-in{max-width:880px;padding-top:16px;padding-bottom:20px}
  .edm-mobile-links{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(5,auto);grid-auto-flow:column;column-gap:32px}
}

@media (min-width:1280px){
  .edm-bar{padding:0 32px;gap:0}
  .edm-logo{margin-right:0}
  .edm-nav{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;margin:0 28px 0 40px}
  .edm-nav a{position:relative;display:flex;align-items:center;height:44px;padding:0 10px;color:#3F454A;font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;transition:color .2s}
  .edm-nav a:after{content:"";position:absolute;left:10px;right:10px;bottom:6px;height:2px;border-radius:2px;background:#FFC400;transform:scaleX(0);transform-origin:left;transition:transform .25s}
  .edm-nav a:hover:after,.edm-nav a[aria-current="page"]:after{transform:scaleX(1)}
  .edm-nav a[aria-current="page"]{font-weight:700}
  .edm-actions{gap:14px}
  .edm-burger,.edm-mobile{display:none}
}
@media (min-width:1536px){
  .edm-bar{max-width:1480px}
  .edm-nav{gap:10px;margin:0 32px 0 48px}
  .edm-phone{padding:0 14px}
  .edm-phone-num{display:inline}
}
@media (prefers-reduced-motion:reduce){.edm-nav a:after,.edm-cta{transition:none}.edm-cta:hover{transform:none}}

/* WordPress menus render list items; keep their structure aligned with the supplied static navigation. */
.edm-nav .edm-menu,.edm-mobile-links .edm-mobile-menu,.edm-footer-menu{list-style:none;margin:0;padding:0}
.edm-nav .edm-menu{display:flex;align-items:center;gap:6px}
.edm-nav .edm-menu li,.edm-mobile-links .edm-mobile-menu li{display:flex;min-width:0}
.edm-mobile-links .edm-mobile-menu{display:flex;flex-direction:column}
.edm-footer-menu{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px}
.edm-footer-menu li{display:flex}
@media(min-width:640px){.edm-mobile-links .edm-mobile-menu{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(5,auto);grid-auto-flow:column;column-gap:32px}}
@media(min-width:1280px){.edm-nav .edm-menu{gap:6px}}
@media(min-width:1536px){.edm-nav .edm-menu{gap:10px}}

/* Contact Form 7 fields use the same control treatment as the supplied enquiry form. */
.wpcf7-form .edm-input{display:block;width:100%;padding:12px 16px;border:1px solid #E6E6E4;border-radius:12px;background:rgba(245,245,243,.5);color:#3F454A;font-size:14px;line-height:1.5;box-sizing:border-box}
.wpcf7-form .edm-input:focus{outline:2px solid transparent;border-color:#FFC400}
.wpcf7-form .edm-submit{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 32px;border:0;border-radius:10px;background:#FFC400;color:#3F454A;font-size:16px;font-weight:700;box-shadow:0 4px 8px rgba(63,69,74,.16);cursor:pointer;transition:background .2s,transform .2s}
.wpcf7-form .edm-submit:hover{background:#FFCC00;transform:translateY(-2px)}
.wpcf7-form .wpcf7-not-valid-tip{display:block;margin-top:6px;color:#b42318;font-size:12px}
.wpcf7 form .wpcf7-response-output{margin:18px 0 0;padding:12px 14px;border-radius:8px}
.wpcf7 form.sent .wpcf7-response-output{border-color:#198754}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output{border-color:#b42318}

/* The shortcode header is printed by Grupi's desktop Elementor header builder. Show it on phones and hide Grupi's unrelated mobile header. */
@media(max-width:767px){body.emf-redesign #ct-header-elementor .ct-header-elementor-main{display:block!important}body.emf-redesign #ct-header-elementor .ct-header-mobile{display:none!important}body.emf-redesign #ct-header-elementor .ct-header-elementor-main>.container,body.emf-redesign #ct-header-elementor .ct-header-elementor-main>.container>.row{width:100%;max-width:none;margin:0;padding:0}body.emf-redesign .edm-header{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:72px;padding:8px 16px}body.emf-redesign .edm-burger{display:inline-flex!important}}

/* Reset Grupi's 110px content spacer and typography overrides on the reference pages. */
body.emf-redesign #content.site-content{padding-top:0!important;padding-bottom:0!important}
body.emf-redesign.modern-redesign-body h1,body.emf-redesign.modern-redesign-body h2,body.emf-redesign.modern-redesign-body h3,body.emf-redesign.modern-redesign-body h4,body.emf-redesign.modern-redesign-body h5,body.emf-redesign.modern-redesign-body h6{font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif!important;text-transform:none!important;letter-spacing:normal!important}
body.emf-redesign.modern-redesign-body #home .flex.flex-col.justify-center>p:first-child{margin-bottom:16px!important}
body.emf-redesign.modern-redesign-body #content img.h-\[360px\]{height:360px!important}
body.emf-redesign.modern-redesign-body #content img.h-\[440px\]{height:440px!important}
body.emf-redesign.modern-redesign-body #content img.h-\[460px\]{height:460px!important}
body.emf-redesign.modern-redesign-body #content img.h-\[480px\]{height:480px!important}
body.emf-redesign.modern-redesign-body #content img.h-\[500px\]{height:500px!important}
body.emf-redesign.modern-redesign-body #content img.h-\[540px\]{height:540px!important}
@media(max-width:767px){body.emf-redesign.modern-redesign-body #content img.h-\[460px\]{height:360px!important}}
