/*
Theme Name: Fuximingli Restoration
Theme URI: https://example.com/
Author: Website Restoration
Description: WordPress conversion of the Fuximingli emergency restoration website.
Version: 1.0.0
Text Domain: fuximingli
*/

:root{
  --blue:#35558d;
  --dark-blue:#25467d;
  --light:#f7f7f7;
  --text:#333;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.8;
}
a{text-decoration:none;color:inherit}
.container{width:min(1100px,92%);margin:auto}

/* HEADER */
header{
  background:#fff;
  border-bottom:3px solid var(--dark-blue);
  position:sticky;top:0;z-index:100;
}
.header-inner{
  height:78px;display:flex;align-items:center;justify-content:space-between;
}
.logo{font-size:28px;font-weight:800;color:var(--dark-blue);letter-spacing:4px}
.logo small{font-size:11px;letter-spacing:3px;margin-left:8px;color:#fff;background:var(--blue);padding:2px 7px;border-radius:12px}
.nav{display:flex;gap:30px;font-size:14px}
.nav a{padding:26px 0;position:relative}
.nav a:after{
  content:"";position:absolute;bottom:16px;left:50%;width:0;height:2px;
  background:var(--blue);transition:.25s;
}
.nav a:hover:after{left:0;width:100%}
.menu{display:none;background:none;border:0;font-size:28px;color:var(--blue)}

/* HERO */
.hero{
  min-height:460px;
  background:linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.15)),
             url("assets/hero.png") center/cover;
  display:flex;align-items:center;justify-content:center;text-align:center;
}
.hero h1{font-size:62px;letter-spacing:12px;color:#173e79;margin:0}
.hero p{letter-spacing:4px;color:#173e79;margin:6px 0;font-weight:bold}

/* GENERAL */
section{scroll-margin-top:78px}
.section-title{text-align:center;padding:48px 0 28px}
.section-title small{display:block;color:#999;font-size:11px}
.section-title h2{margin:0;color:var(--dark-blue);font-size:26px;letter-spacing:1px}
.divider{width:70px;height:2px;background:#d7dce5;margin:12px auto}

/* INTRO */
.intro{padding-bottom:55px}
.intro p{font-size:15px;margin:0 0 18px}
.formula{text-align:center;font-size:19px;line-height:2.1;margin:30px 0;font-weight:700}
.formula-left{color:#555}
.formula-right{color:var(--dark-blue);margin-left:.45em}

/* ABOUT EXACT FLOW */
.about-visual{
  background:url("assets/mountain.png") center/cover;
  min-height:345px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.about-stack{
  width:min(490px,82%);
  text-align:center;
}
.about-photo{
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.about-photo img{display:block;width:100%;height:auto}
.about-quote{
  background:rgba(235,241,245,.82);
  padding:16px 20px;
  color:#555;
  font-size:21px;
  line-height:1.55;
  letter-spacing:2px;
}
.about-quote small{display:block;font-size:12px;margin-top:10px;letter-spacing:0}
.about-description{
  max-width:1050px;margin:32px auto 0;text-align:center;
  font-size:14px;font-weight:600;
}

/* ABOUT CARDS - EXACT VERTICAL FLOW */
.about-cards{
  width:min(650px,88%);
  margin:15px auto 60px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.about-card{
  min-height:125px;
  background:#fafafa;
  border-radius:5px;
  box-shadow:0 4px 15px rgba(0,0,0,.14);
  padding:27px 38px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition:transform .25s,box-shadow .25s;
}
.about-card:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 23px rgba(0,0,0,.18);
}
.about-card h3{
  color:var(--dark-blue);
  font-size:20px;margin:0 0 12px;
}
.about-card p{
  font-size:11px;margin:0;color:#555;
}

/* SERVICE - BLUE ONLY FOR THIS SECTION */
.service-area{
  background:var(--blue);
  padding:10px 0 20px;
}
.service-banner{
  width:min(590px,88%);
  margin:0 auto 18px;
  overflow:hidden;
}
.service-banner img{display:block;width:100%;height:auto}
.service-panel{
  width:min(980px,88%);
  margin:0 auto;
  background:#f5f5f5;
  padding:22px 55px 28px;
}
.service-heading{text-align:center;margin-bottom:16px}
.service-heading small{display:block;color:#777;font-size:10px}
.service-heading h2{margin:0;color:var(--dark-blue);font-size:20px;letter-spacing:1px}
.service-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:130px;
  row-gap:8px;
}
.service-item{
  display:flex;align-items:center;gap:9px;
  padding:3px 0;
  cursor:default;
  font-size:14px;
}
.service-icon{
  width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;
  background:#fff;
  color:#59657a;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
  font-size:13px;
  flex:0 0 24px;
}
.service-item:hover{color:inherit;font-weight:normal}

/* EVENTS */
.events{padding-bottom:50px}
.event-image{width:min(1000px,92%);display:block;margin:0 auto 18px}
.event-grid{
  width:min(1000px,92%);margin:auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
.event-card{
  background:#fff;border:1px solid #e3e3e3;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  padding:20px;text-align:center;
  cursor:pointer;
  transition:.2s;
}
.event-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.14)}
.event-card .ico{font-size:34px;color:var(--dark-blue)}
.event-card h3{font-size:15px;font-weight:500;margin:8px 0 0}

/* CONTACT */
.contact{background:#f6f6f6;padding-bottom:45px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px}
.form input,.form textarea{
  width:100%;padding:12px;margin-bottom:12px;border:1px solid #ddd;
  font:inherit;background:#fff;
}
.form textarea{min-height:130px}
.form button{
  background:var(--dark-blue);color:#fff;border:0;padding:12px 35px;
  cursor:pointer;font:inherit;
}
.info-box{padding:20px;background:#fff;border-left:4px solid var(--blue)}
.info-box h3{color:var(--dark-blue)}
.info-box p{margin:15px 0}
footer{background:#23467d;color:#fff;text-align:center;padding:20px;font-size:12px}

/* MODAL */
.modal{
  display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);
  z-index:200;align-items:center;justify-content:center;padding:20px;
}
.modal.open{display:flex}
.modal-box{
  background:#fff;width:min(480px,100%);padding:30px;position:relative;
  border-top:5px solid var(--blue);
}
.modal-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:25px;cursor:pointer}
.modal-box h3{color:var(--dark-blue);margin-top:0}
.modal-box a{display:inline-block;background:var(--dark-blue);color:#fff;padding:10px 20px;margin-top:10px}

/* FLOAT */
.float-phone{
  position:fixed;right:18px;bottom:18px;width:48px;height:48px;border-radius:50%;
  background:var(--dark-blue);color:#fff;display:grid;place-items:center;
  box-shadow:0 4px 14px rgba(0,0,0,.25);z-index:80;font-size:21px;
}

@media(max-width:750px){
  .header-inner{height:62px}.nav{display:none;position:absolute;top:62px;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:8px 4%;box-shadow:0 5px 12px rgba(0,0,0,.1)}
  .nav.open{display:flex}.nav a{padding:10px 0}.menu{display:block}
  .hero{min-height:300px}.hero h1{font-size:38px}
  .about-visual{min-height:300px}.about-quote{font-size:17px}
  .service-panel{padding:20px}.service-list{column-gap:25px}
  .event-grid,.contact-grid{grid-template-columns:1fr}
}


/* Smooth scrolling for the four main menu links */
html { scroll-behavior: smooth; }
#home, #about, #event, #contact { scroll-margin-top: 90px; }


/* Editable WordPress page content */
.fuxi-page-content{min-height:60vh}.homepage-editable-section{scroll-margin-top:90px}.homepage-editable-section .contact{margin-top:0}


/* ===== CONTACT SECTION – FINAL REFERENCE DESIGN ===== */
.contact-redesign{
  background:#f3f3f3;
  padding:68px 5.5% 110px;
  color:#555;
}
.contact-redesign .contact-heading{text-align:center;margin-bottom:42px}
.contact-redesign .contact-heading small{display:block;font-size:26px;color:#777;margin-bottom:8px;font-weight:300}
.contact-redesign .contact-heading h2{margin:0;color:#2d4f87;font-size:52px;letter-spacing:2px;font-weight:800}
.contact-redesign .contact-intro{font-size:29px;line-height:1.8;max-width:1080px;margin:0 auto 105px}
.contact-details{max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:58px}
.contact-row{display:flex;align-items:center;gap:34px}
.contact-icon{width:124px;height:124px;background:#2d4f87;color:#fff;display:grid;place-items:center;font-size:57px;line-height:1;flex:0 0 124px}
.contact-row h3{margin:0 0 8px;color:#2d4f87;font-size:42px;font-weight:400}
.contact-row p{margin:0;font-size:29px;line-height:1.65;color:#555}
.contact-row a{color:#555;text-decoration:none}
footer{background:#2d4f87;color:#fff;text-align:center;padding:56px 20px;font-size:28px;min-height:170px;display:flex;align-items:center;justify-content:center}
.float-phone{width:50px;height:50px;background:transparent;box-shadow:none;border-radius:0;bottom:28px;right:35px;font-size:0}
.float-phone:after{content:'⌃';font-size:45px;color:#fff;font-weight:300}

@media(max-width:750px){
  .contact-redesign{padding:48px 7% 70px}
  .contact-redesign .contact-heading small{font-size:22px}
  .contact-redesign .contact-heading h2{font-size:38px}
  .contact-redesign .contact-intro{font-size:23px;line-height:1.65;margin-bottom:65px}
  .contact-details{gap:38px}
  .contact-row{gap:24px;align-items:flex-start}
  .contact-icon{width:92px;height:92px;flex-basis:92px;font-size:42px}
  .contact-row h3{font-size:32px;margin-bottom:5px}
  .contact-row p{font-size:22px;line-height:1.5;word-break:break-word}
  footer{font-size:20px;padding:38px 55px 38px 20px;min-height:120px}
}

/* ===== FINAL HERO + LOGO RESPONSIVE FIX ===== */
header{border-bottom:3px solid #25467d}
.header-inner{height:96px}
.logo{display:flex;align-items:center;gap:13px;font-size:36px;letter-spacing:5px;line-height:1;color:#2d4f87}
.logo small{display:none}
.yin-yang{width:58px;height:58px;flex:0 0 58px;border:2px solid #2d4f87;border-radius:50%;position:relative;overflow:hidden;background:linear-gradient(90deg,#fff 50%,#2d4f87 50%)}
.yin-yang:before,.yin-yang:after{content:"";position:absolute;width:29px;height:29px;border-radius:50%;left:13px}
.yin-yang:before{top:0;background:#fff}
.yin-yang:after{bottom:0;background:#2d4f87}
.yin-yang{background:radial-gradient(circle at 50% 25%,#2d4f87 0 4px,#fff 5px 14px,transparent 15px),radial-gradient(circle at 50% 75%,#fff 0 4px,#2d4f87 5px 14px,transparent 15px),linear-gradient(90deg,#fff 50%,#2d4f87 50%)}
.yin-yang:before{display:none}.yin-yang:after{display:none}
.menu{font-size:38px;color:#2d4f87;line-height:1}
.hero{min-height:560px;background-image:linear-gradient(rgba(255,255,255,.02),rgba(255,255,255,.02)),url("assets/hero-clean.png");background-size:cover;background-position:center center;display:block}
.hero h1,.hero p{display:none}

/* Contact form reference layout: form first, then contact details */
.contact-form-section{background:#f3f3f3;padding:70px 5% 40px}
.contact-form-wrap{width:min(1080px,100%);margin:0 auto}
.contact-form-wrap h2{margin:0 0 42px;color:#2d4f87;font-size:44px;font-weight:400}
.contact-form-reference{display:flex;flex-direction:column;gap:0}
.contact-form-reference label{font-size:26px;color:#555;margin:18px 0 7px}
.contact-form-reference input,.contact-form-reference textarea{width:100%;border:2px solid #d0d2d6;background:#fff;border-radius:5px;padding:14px 16px;font:inherit;font-size:24px;color:#444;outline:none}
.contact-form-reference input{height:92px}
.contact-form-reference textarea{height:360px;resize:vertical}
.contact-form-reference input:focus,.contact-form-reference textarea:focus{border-color:#2d4f87}
.contact-form-reference button{margin-top:30px;width:140px;height:72px;border:0;border-radius:4px;background:#2d4f87;color:#fff;font:inherit;font-size:24px;cursor:pointer}
.contact-form-reference button:hover{background:#23467d}

@media(max-width:900px){
  .header-inner{height:86px;width:min(1100px,92%)}
  .logo{font-size:30px;gap:10px;letter-spacing:3px}
  .yin-yang{width:48px;height:48px;flex-basis:48px}
  .hero{min-height:470px;background-position:76% center}
}
@media(max-width:750px){
  .header-inner{height:82px;width:92%}
  .logo{font-size:25px;gap:9px;letter-spacing:2px}
  .yin-yang{width:42px;height:42px;flex-basis:42px;border-width:1.5px}
  .menu{font-size:34px}
  .nav{top:82px}
  .hero{min-height:420px;background-size:auto 100%;background-position:77% center}
  section{scroll-margin-top:82px}
  .contact-form-section{padding:45px 5% 30px}
  .contact-form-wrap h2{font-size:34px;margin-bottom:26px}
  .contact-form-reference label{font-size:21px;margin-top:16px}
  .contact-form-reference input{height:70px;font-size:20px}
  .contact-form-reference textarea{height:280px;font-size:20px}
  .contact-form-reference button{width:110px;height:62px;font-size:21px}
}
@media(max-width:430px){
  .hero{min-height:380px;background-size:auto 100%;background-position:79% center}
  .logo{font-size:23px}
  .yin-yang{width:39px;height:39px;flex-basis:39px}
}


/* ===== CONTACT SECTION – EXACT REFERENCE UPDATE ===== */
/* This block changes only the Contact section and its footer presentation. */
.contact-form-section{background:#f4f4f4;padding:66px 5% 16px}
.contact-form-wrap{width:min(1080px,100%);margin:0 auto}
.contact-form-wrap h2{margin:0 0 56px;color:#35598f;font-size:45px;line-height:1.2;font-weight:300;letter-spacing:1px}
.contact-form-reference{display:flex;flex-direction:column}
.contact-form-reference label{font-size:27px;color:#555;margin:0 0 10px}
.contact-form-reference label:not(:first-child){margin-top:38px}
.contact-form-reference input,.contact-form-reference textarea{box-sizing:border-box;width:100%;border:2px solid #cfd2d6;background:#fff;border-radius:5px;padding:15px 16px;font-family:inherit;font-size:24px;color:#444;box-shadow:none}
.contact-form-reference input{height:106px}
.contact-form-reference textarea{height:366px;resize:vertical}
.contact-form-reference input:focus,.contact-form-reference textarea:focus{border-color:#35598f;outline:none}
.contact-form-reference button{margin-top:30px;width:142px;height:89px;border:0;border-radius:4px;background:#2d4f87;color:#fff;font-family:inherit;font-size:25px;cursor:pointer}

.contact-redesign{background:#f4f4f4;padding:72px 6% 116px;color:#555}
.contact-redesign .contact-heading{text-align:center;margin:0 0 42px}
.contact-redesign .contact-heading small{display:block;font-size:27px;color:#777;margin-bottom:10px;font-weight:300}
.contact-redesign .contact-heading h2{margin:0;color:#294d85;font-size:54px;letter-spacing:2px;font-weight:800;line-height:1.1}
.contact-redesign .contact-intro{font-size:30px;line-height:2;max-width:1080px;margin:0 auto 104px;color:#555}
.contact-details{max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:62px}
.contact-row{display:flex;align-items:center;gap:34px}
.contact-icon{width:126px;height:126px;flex:0 0 126px;background:#294d85;display:grid;place-items:center}
.contact-icon svg{width:66px;height:66px;fill:#fff}
.contact-icon svg .cut{fill:none;stroke:#294d85;stroke-width:3}
.contact-row h3{margin:0 0 8px;color:#294d85;font-size:43px;font-weight:300;line-height:1.1}
.contact-row p{margin:0;font-size:30px;line-height:1.65;color:#555}
.contact-row a{color:#555;text-decoration:none}
footer{background:#294d85;color:#fff;text-align:center;padding:56px 85px 56px 20px;font-size:29px;min-height:170px;display:flex;align-items:center;justify-content:center}
.float-phone{width:88px;height:88px;background:#294d85;box-shadow:none;border-radius:4px;bottom:34px;right:70px;font-size:0}
.float-phone:after{content:'⌃';font-size:48px;color:#fff;font-weight:300;line-height:1}

@media(max-width:750px){
  .contact-form-section{padding:48px 5% 14px}
  .contact-form-wrap h2{font-size:35px;margin-bottom:34px}
  .contact-form-reference label{font-size:22px;margin-bottom:8px}
  .contact-form-reference label:not(:first-child){margin-top:28px}
  .contact-form-reference input{height:78px;font-size:20px}
  .contact-form-reference textarea{height:300px;font-size:20px}
  .contact-form-reference button{width:110px;height:64px;margin-top:28px;font-size:22px}
  .contact-redesign{padding:62px 6% 82px}
  .contact-redesign .contact-heading small{font-size:22px}
  .contact-redesign .contact-heading h2{font-size:40px}
  .contact-redesign .contact-intro{font-size:23px;line-height:1.75;margin-bottom:68px}
  .contact-details{gap:40px}
  .contact-row{gap:24px;align-items:flex-start}
  .contact-icon{width:92px;height:92px;flex-basis:92px}
  .contact-icon svg{width:48px;height:48px}
  .contact-row h3{font-size:32px;margin-bottom:6px}
  .contact-row p{font-size:22px;line-height:1.55;word-break:break-word}
  footer{font-size:20px;min-height:122px;padding:38px 70px 38px 20px}
  .float-phone{width:64px;height:64px;right:26px;bottom:24px}
  .float-phone:after{font-size:38px}
}

/* ===== MOBILE CONTACT FONT REFINEMENT ONLY ===== */
@media (max-width: 750px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}

  /* Form */
  .contact-form-wrap h2{font-size:30px;line-height:1.3;}
  .contact-form-reference label{font-size:18px;line-height:1.4;}
  .contact-form-reference input,
  .contact-form-reference textarea{font-size:18px;}
  .contact-form-reference button{font-size:19px;}

  /* Contact information */
  .contact-redesign .contact-heading small{font-size:18px;}
  .contact-redesign .contact-heading h2{font-size:32px;letter-spacing:1px;}
  .contact-redesign .contact-intro{font-size:19px;line-height:1.65;}
  .contact-row h3{font-size:27px;}
  .contact-row p{font-size:18px;line-height:1.55;}
}

@media (max-width: 430px){
  .contact-form-wrap h2{font-size:28px;}
  .contact-form-reference label{font-size:17px;}
  .contact-form-reference input,
  .contact-form-reference textarea{font-size:17px;}
  .contact-redesign .contact-heading h2{font-size:30px;}
  .contact-redesign .contact-intro{font-size:18px;}
  .contact-row h3{font-size:25px;}
  .contact-row p{font-size:17px;}
}


/* ===== FORCE MOBILE CONTACT FONT SIZE FIX v4.2 ===== */
@media screen and (max-width: 750px){
  .contact-form-section .contact-form-wrap h2{font-size:26px !important;}
  .contact-form-section .contact-form-reference label{font-size:16px !important;}
  .contact-form-section .contact-form-reference input,
  .contact-form-section .contact-form-reference textarea{font-size:16px !important;}
  .contact-form-section .contact-form-reference button{font-size:17px !important;}

  .contact-redesign .contact-heading small{font-size:16px !important;}
  .contact-redesign .contact-heading h2{font-size:28px !important;}
  .contact-redesign .contact-intro{font-size:17px !important;line-height:1.6 !important;}
  .contact-redesign .contact-row h3{font-size:23px !important;}
  .contact-redesign .contact-row p,
  .contact-redesign .contact-row a{font-size:16px !important;line-height:1.5 !important;}
}
@media screen and (max-width: 430px){
  .contact-form-section .contact-form-wrap h2{font-size:24px !important;}
  .contact-form-section .contact-form-reference label{font-size:15px !important;}
  .contact-redesign .contact-heading h2{font-size:26px !important;}
  .contact-redesign .contact-intro{font-size:16px !important;}
  .contact-redesign .contact-row h3{font-size:21px !important;}
  .contact-redesign .contact-row p,
  .contact-redesign .contact-row a{font-size:15px !important;}
}

/* ===== CONTACT RESPONSIVE SCALE FIX v3 =====
   Keep desktop unchanged; make the Contact Us area comfortable on iPad/tablet and phones. */
@media (max-width:1100px){
  .contact-redesign{padding:54px 6% 78px}
  .contact-redesign .contact-heading{margin-bottom:30px}
  .contact-redesign .contact-heading small{font-size:22px}
  .contact-redesign .contact-heading h2{font-size:42px}
  .contact-redesign .contact-intro{font-size:23px;line-height:1.65;max-width:900px;margin-bottom:65px}
  .contact-details{max-width:820px;gap:42px}
  .contact-row{gap:25px}
  .contact-icon{width:96px;height:96px;flex-basis:96px}
  .contact-row h3{font-size:32px;margin-bottom:5px}
  .contact-row p{font-size:23px;line-height:1.5}
  footer{font-size:20px;padding:38px 55px 38px 20px;min-height:120px}

  .contact-form-section{padding:52px 6% 35px}
  .contact-form-wrap{width:min(900px,100%)}
  .contact-form-wrap h2{font-size:34px;margin-bottom:28px}
  .contact-form-reference label{font-size:21px;margin:15px 0 6px}
  .contact-form-reference input,.contact-form-reference textarea{font-size:20px;padding:12px 14px}
  .contact-form-reference input{height:72px}
  .contact-form-reference textarea{height:270px}
  .contact-form-reference button{width:118px;height:62px;font-size:21px;margin-top:24px}
}

@media (max-width:750px){
  .contact-redesign{padding:38px 6% 58px}
  .contact-redesign .contact-heading{margin-bottom:24px}
  .contact-redesign .contact-heading small{font-size:19px;margin-bottom:5px}
  .contact-redesign .contact-heading h2{font-size:34px;letter-spacing:1px}
  .contact-redesign .contact-intro{font-size:19px;line-height:1.6;margin-bottom:48px}
  .contact-details{gap:28px}
  .contact-row{gap:18px}
  .contact-icon{width:76px;height:76px;flex-basis:76px}
  .contact-row h3{font-size:26px;margin-bottom:3px}
  .contact-row p{font-size:18px;line-height:1.48}
  footer{font-size:16px;padding:28px 50px 28px 18px;min-height:96px}
  .float-phone{right:18px;bottom:18px}
  .float-phone:after{font-size:34px}

  .contact-form-section{padding:34px 5% 25px}
  .contact-form-wrap h2{font-size:29px;margin-bottom:22px}
  .contact-form-reference label{font-size:18px;margin-top:13px}
  .contact-form-reference input,.contact-form-reference textarea{font-size:17px;padding:10px 12px}
  .contact-form-reference input{height:58px}
  .contact-form-reference textarea{height:220px}
  .contact-form-reference button{width:100px;height:54px;font-size:18px;margin-top:20px}
}

/* ===== IPAD / TABLET CONTACT SCALE FIX v4 =====
   Tablet-only refinement. Desktop and phone layouts are unchanged. */
@media screen and (min-width:751px) and (max-width:1100px){
  .contact-redesign{padding:42px 6% 60px !important;}
  .contact-redesign .contact-heading{margin-bottom:24px !important;}
  .contact-redesign .contact-heading small{font-size:18px !important;}
  .contact-redesign .contact-heading h2{font-size:34px !important;letter-spacing:1px !important;}
  .contact-redesign .contact-intro{font-size:18px !important;line-height:1.55 !important;max-width:760px !important;margin-bottom:46px !important;}
  .contact-details{max-width:760px !important;gap:30px !important;}
  .contact-row{gap:18px !important;}
  .contact-icon{width:72px !important;height:72px !important;flex-basis:72px !important;}
  .contact-row h3{font-size:24px !important;margin-bottom:3px !important;}
  .contact-row p,.contact-row a{font-size:18px !important;line-height:1.45 !important;}

  .contact-form-section{padding:42px 6% 30px !important;}
  .contact-form-wrap{width:min(760px,100%) !important;}
  .contact-form-wrap h2{font-size:28px !important;margin-bottom:22px !important;}
  .contact-form-reference label{font-size:17px !important;margin:12px 0 5px !important;}
  .contact-form-reference input,.contact-form-reference textarea{font-size:16px !important;padding:10px 12px !important;}
  .contact-form-reference input{height:56px !important;}
  .contact-form-reference textarea{height:210px !important;}
  .contact-form-reference button{width:104px !important;height:54px !important;font-size:18px !important;margin-top:20px !important;}
}


/* Contact Form 7 support: same design as the existing contact form */
.contact-form-plugin .wpcf7-form p{margin:0 0 16px;}
.contact-form-plugin .wpcf7-form label{display:block;font-size:17px;margin:12px 0 5px;color:#3d3d3d;}
.contact-form-plugin .wpcf7-form-control-wrap{display:block;}
.contact-form-plugin input[type="text"],
.contact-form-plugin input[type="email"],
.contact-form-plugin input[type="tel"],
.contact-form-plugin textarea{width:100%;box-sizing:border-box;border:2px solid #c8cdd3;border-radius:6px;background:#fff;font:inherit;padding:10px 12px;font-size:16px;color:#333;}
.contact-form-plugin input[type="text"],
.contact-form-plugin input[type="email"],
.contact-form-plugin input[type="tel"]{height:56px;}
.contact-form-plugin textarea{height:210px;resize:vertical;}
.contact-form-plugin input[type="submit"]{width:104px;height:54px;border:0;border-radius:4px;background:#2f4f86;color:#fff;font-size:18px;cursor:pointer;margin-top:4px;}
.contact-form-plugin .wpcf7-not-valid-tip{font-size:14px;margin-top:5px;}
.contact-form-plugin .wpcf7-response-output{margin:16px 0 0;padding:10px 12px;}

@media (min-width:751px) and (max-width:1100px){
  .contact-form-plugin .wpcf7-form label{font-size:16px;}
  .contact-form-plugin input[type="text"],.contact-form-plugin input[type="email"],.contact-form-plugin input[type="tel"],.contact-form-plugin textarea{font-size:15px;padding:9px 11px;}
  .contact-form-plugin input[type="text"],.contact-form-plugin input[type="email"],.contact-form-plugin input[type="tel"]{height:52px;}
  .contact-form-plugin textarea{height:190px;}
  .contact-form-plugin input[type="submit"]{width:98px;height:50px;font-size:17px;}
}

@media (max-width:750px){
  .contact-form-plugin .wpcf7-form label{font-size:16px;}
  .contact-form-plugin input[type="text"],.contact-form-plugin input[type="email"],.contact-form-plugin input[type="tel"],.contact-form-plugin textarea{font-size:16px;}
}


/* ===== OUR EVENT – RESPONSIVE IMAGE + COMPACT LAYOUT ===== */
.events-redesign{padding:64px 5% 76px;background:#f3f3f3}
.events-redesign .section-title{text-align:center;margin:0 auto 34px}
.events-redesign .section-title small{display:block;font-size:22px;color:#777;margin-bottom:8px;font-weight:300}
.events-redesign .section-title h2{margin:0;color:#2d4f87;font-size:46px;letter-spacing:2px;font-weight:800}
.events-redesign .divider{display:none}
.events-redesign .event-image{display:block;width:min(920px,100%);height:auto;margin:0 auto 28px;object-fit:contain}
.events-redesign .event-list{width:min(760px,100%);margin:0 auto;display:flex;flex-direction:column;gap:22px}
.events-redesign .event-row{display:flex;align-items:center;gap:20px;padding:18px 20px;background:#fff;border:1px solid #d9dce2;box-shadow:0 3px 12px rgba(0,0,0,.06)}
.events-redesign .event-icon{width:58px;height:58px;border-radius:50%;background:#fff;box-shadow:none;display:grid;place-items:center;flex:0 0 58px}
.events-redesign .event-icon svg{width:29px;height:29px;fill:none;stroke:#2d4f87;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.events-redesign .event-row h3{margin:0;color:#555;font-size:23px;font-weight:500;line-height:1.35}

/* Tablet / iPad: deliberately smaller and more compact */
@media(max-width:1024px) and (min-width:751px){
  .events-redesign{padding:48px 6% 60px}
  .events-redesign .section-title{margin-bottom:28px}
  .events-redesign .section-title small{font-size:19px}
  .events-redesign .section-title h2{font-size:36px}
  .events-redesign .event-image{width:min(760px,100%);margin-bottom:22px}
  .events-redesign .event-list{width:min(680px,100%);gap:16px}
  .events-redesign .event-row{gap:16px;padding:14px 16px}
  .events-redesign .event-icon{width:50px;height:50px;flex-basis:50px}
  .events-redesign .event-icon svg{width:25px;height:25px}
  .events-redesign .event-row h3{font-size:19px}
}

/* Mobile Safari / Chrome */
@media(max-width:750px){
  .events-redesign{padding:38px 28px 50px}
  .events-redesign .section-title{margin-bottom:26px}
  .events-redesign .section-title small{font-size:17px;margin-bottom:6px}
  .events-redesign .section-title h2{font-size:32px;letter-spacing:1px}
  .events-redesign .event-image{width:100%;margin:0 auto 22px}
  .events-redesign .event-list{width:100%;gap:16px}
  .events-redesign .event-row{gap:14px;padding:14px 14px}
  .events-redesign .event-icon{width:46px;height:46px;flex-basis:46px}
  .events-redesign .event-icon svg{width:23px;height:23px}
  .events-redesign .event-row h3{font-size:17px;line-height:1.4}
}



/* OUR EVENT FINAL FIX: event list first, photo below */
.events-redesign .event-list{margin-bottom:28px}
.events-redesign .event-image{display:block!important;visibility:visible!important;opacity:1!important;width:min(920px,100%)!important;max-width:100%!important;height:auto!important;margin:0 auto!important;position:relative!important;z-index:1!important}
@media (min-width: 1025px){
  .events-redesign{padding:64px 5% 76px}
  .events-redesign .event-list{width:min(760px,100%);gap:18px;margin-bottom:30px}
  .events-redesign .event-row{padding:16px 20px}
  .events-redesign .event-row h3{font-size:22px}
}
@media (min-width: 768px) and (max-width: 1024px){
  .events-redesign{padding:44px 7% 58px}
  .events-redesign .section-title small{font-size:18px}
  .events-redesign .section-title h2{font-size:34px}
  .events-redesign .event-list{width:min(680px,100%);gap:14px;margin-bottom:24px}
  .events-redesign .event-row{padding:13px 16px;gap:15px}
  .events-redesign .event-icon{width:48px;height:48px;flex-basis:48px}
  .events-redesign .event-icon svg{width:24px;height:24px}
  .events-redesign .event-row h3{font-size:18px}
  .events-redesign .event-image{width:min(760px,100%)!important}
}
@media (max-width: 767px){
  .events-redesign{padding:36px 28px 48px}
  .events-redesign .section-title small{font-size:16px}
  .events-redesign .section-title h2{font-size:30px}
  .events-redesign .event-list{gap:14px;margin-bottom:22px}
  .events-redesign .event-row{padding:13px 14px;gap:13px}
  .events-redesign .event-icon{width:44px;height:44px;flex-basis:44px}
  .events-redesign .event-icon svg{width:22px;height:22px}
  .events-redesign .event-row h3{font-size:16px;line-height:1.35}
  .events-redesign .event-image{width:100%!important}
}

/* ===== DESKTOP CONTACT COMPACT FIX v5 =====
   Applies from desktop width upward so the Contact Form and Contact Us area
   no longer appear oversized. Other homepage sections are untouched. */
@media screen and (min-width:1101px){
  .contact-form-section{padding:52px 5% 32px !important;}
  .contact-form-wrap{width:min(900px,100%) !important;margin:0 auto !important;}
  .contact-form-wrap h2{font-size:32px !important;line-height:1.25 !important;margin:0 0 28px !important;}
  .contact-form-reference label{font-size:18px !important;line-height:1.4 !important;margin:0 0 7px !important;}
  .contact-form-reference label:not(:first-child){margin-top:22px !important;}
  .contact-form-reference input,.contact-form-reference textarea{font-size:17px !important;padding:11px 13px !important;}
  .contact-form-reference input{height:58px !important;}
  .contact-form-reference textarea{height:220px !important;}
  .contact-form-reference button{width:108px !important;height:54px !important;font-size:18px !important;margin-top:22px !important;}

  .contact-form-plugin .wpcf7-form label{font-size:18px !important;margin:0 0 7px !important;}
  .contact-form-plugin .wpcf7-form p{margin:0 0 18px !important;}
  .contact-form-plugin input[type="text"],
  .contact-form-plugin input[type="email"],
  .contact-form-plugin input[type="tel"]{height:58px !important;font-size:17px !important;}
  .contact-form-plugin textarea{height:220px !important;font-size:17px !important;}
  .contact-form-plugin input[type="submit"]{width:108px !important;height:54px !important;font-size:18px !important;}

  .contact-redesign{padding:58px 6% 72px !important;}
  .contact-redesign .contact-heading{margin:0 0 26px !important;}
  .contact-redesign .contact-heading small{font-size:20px !important;margin-bottom:6px !important;}
  .contact-redesign .contact-heading h2{font-size:38px !important;letter-spacing:1px !important;line-height:1.15 !important;}
  .contact-redesign .contact-intro{font-size:19px !important;line-height:1.65 !important;max-width:900px !important;margin:0 auto 55px !important;}
  .contact-details{max-width:900px !important;gap:36px !important;}
  .contact-row{gap:22px !important;}
  .contact-icon{width:82px !important;height:82px !important;flex-basis:82px !important;}
  .contact-icon svg{width:44px !important;height:44px !important;}
  .contact-row h3{font-size:28px !important;line-height:1.2 !important;margin:0 0 4px !important;}
  .contact-row p,.contact-row a{font-size:19px !important;line-height:1.5 !important;}

  footer{font-size:16px !important;line-height:1.5 !important;padding:28px 70px 28px 24px !important;min-height:auto !important;}
}

/* ===== BALANCED OUR EVENT SCALE FIX v2 =====
   Corrects the oversized desktop/tablet appearance while keeping the
   existing event photo below the three event items. */
.events-redesign{
  padding:42px 4% 52px !important;
}
.events-redesign .section-title{
  margin:0 auto 22px !important;
}
.events-redesign .section-title small{
  font-size:16px !important;
  margin-bottom:4px !important;
}
.events-redesign .section-title h2{
  font-size:32px !important;
  letter-spacing:1px !important;
  line-height:1.15 !important;
}
.events-redesign .event-list{
  width:min(680px,92vw) !important;
  gap:10px !important;
  margin:0 auto 18px !important;
}
.events-redesign .event-row{
  gap:14px !important;
  padding:11px 16px !important;
}
.events-redesign .event-icon{
  width:38px !important;
  height:38px !important;
  flex-basis:38px !important;
}
.events-redesign .event-icon svg{
  width:20px !important;
  height:20px !important;
  stroke-width:2.5 !important;
}
.events-redesign .event-row h3{
  font-size:16px !important;
  line-height:1.35 !important;
}
.events-redesign .event-image{
  width:min(720px,92vw) !important;
  margin:0 auto !important;
  height:auto !important;
}

/* Large desktop: keep the section balanced rather than oversized. */
@media screen and (min-width:1101px){
  .events-redesign{padding:44px 5% 56px !important;}
  .events-redesign .section-title small{font-size:16px !important;}
  .events-redesign .section-title h2{font-size:34px !important;}
  .events-redesign .event-list{width:min(720px,92vw) !important;gap:11px !important;margin-bottom:20px !important;}
  .events-redesign .event-row{padding:12px 18px !important;}
  .events-redesign .event-row h3{font-size:17px !important;}
  .events-redesign .event-image{width:min(760px,92vw) !important;}
}

/* iPad / tablet: deliberately compact. */
@media screen and (min-width:768px) and (max-width:1100px){
  .events-redesign{padding:38px 5% 48px !important;}
  .events-redesign .section-title{margin-bottom:20px !important;}
  .events-redesign .section-title small{font-size:15px !important;}
  .events-redesign .section-title h2{font-size:28px !important;}
  .events-redesign .event-list{width:min(620px,92vw) !important;gap:9px !important;margin-bottom:16px !important;}
  .events-redesign .event-row{padding:10px 14px !important;gap:12px !important;}
  .events-redesign .event-icon{width:34px !important;height:34px !important;flex-basis:34px !important;}
  .events-redesign .event-icon svg{width:18px !important;height:18px !important;}
  .events-redesign .event-row h3{font-size:15px !important;}
  .events-redesign .event-image{width:min(650px,92vw) !important;}
}

/* Mobile remains compact and readable. */
@media screen and (max-width:767px){
  .events-redesign{padding:32px 20px 42px !important;}
  .events-redesign .section-title{margin-bottom:20px !important;}
  .events-redesign .section-title small{font-size:15px !important;}
  .events-redesign .section-title h2{font-size:28px !important;}
  .events-redesign .event-list{width:100% !important;gap:10px !important;margin-bottom:18px !important;}
  .events-redesign .event-row{padding:11px 12px !important;gap:11px !important;}
  .events-redesign .event-icon{width:36px !important;height:36px !important;flex-basis:36px !important;}
  .events-redesign .event-icon svg{width:19px !important;height:19px !important;}
  .events-redesign .event-row h3{font-size:15px !important;}
  .events-redesign .event-image{width:100% !important;}
}

/* ===== CONTACT SECTION – BALANCED TWO-COLUMN LAYOUT (FINAL) =====
   Matches the compact reference layout: form on the left, contact details on the right.
   This override is intentionally limited to the Contact section. */
.homepage-editable-section#contact{
  display:grid !important;
  grid-template-columns:minmax(0,2fr) minmax(360px,1fr) !important;
  align-items:stretch !important;
  gap:0 !important;
  background:#f4f4f4 !important;
}
.homepage-editable-section#contact > .contact-form-section,
.homepage-editable-section#contact > .contact-redesign{
  width:auto !important;
  margin:0 !important;
  min-width:0 !important;
}

/* Left: enquiry form */
.homepage-editable-section#contact > .contact-form-section{
  padding:42px clamp(28px,4vw,56px) 34px !important;
  background:#f4f4f4 !important;
}
.homepage-editable-section#contact .contact-form-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.homepage-editable-section#contact .contact-form-wrap h2{
  margin:0 0 22px !important;
  color:#35598f !important;
  font-size:clamp(24px,2.1vw,32px) !important;
  line-height:1.25 !important;
  font-weight:400 !important;
  letter-spacing:.3px !important;
}
.homepage-editable-section#contact .contact-form-reference label,
.homepage-editable-section#contact .contact-form-plugin .wpcf7-form label{
  font-size:15px !important;
  line-height:1.4 !important;
  margin:0 0 6px !important;
  color:#555 !important;
}
.homepage-editable-section#contact .contact-form-reference label:not(:first-child){
  margin-top:14px !important;
}
.homepage-editable-section#contact .contact-form-reference input,
.homepage-editable-section#contact .contact-form-reference textarea,
.homepage-editable-section#contact .contact-form-plugin input[type="text"],
.homepage-editable-section#contact .contact-form-plugin input[type="email"],
.homepage-editable-section#contact .contact-form-plugin input[type="tel"],
.homepage-editable-section#contact .contact-form-plugin textarea{
  box-sizing:border-box !important;
  width:100% !important;
  border:1px solid #cfd2d6 !important;
  border-radius:2px !important;
  background:#fff !important;
  padding:9px 11px !important;
  font-size:15px !important;
  color:#444 !important;
}
.homepage-editable-section#contact .contact-form-reference input,
.homepage-editable-section#contact .contact-form-plugin input[type="text"],
.homepage-editable-section#contact .contact-form-plugin input[type="email"],
.homepage-editable-section#contact .contact-form-plugin input[type="tel"]{
  height:46px !important;
}
.homepage-editable-section#contact .contact-form-reference textarea,
.homepage-editable-section#contact .contact-form-plugin textarea{
  height:160px !important;
  min-height:160px !important;
  resize:vertical !important;
}
.homepage-editable-section#contact .contact-form-reference button,
.homepage-editable-section#contact .contact-form-plugin input[type="submit"]{
  width:auto !important;
  min-width:70px !important;
  height:44px !important;
  margin-top:18px !important;
  padding:0 20px !important;
  border-radius:2px !important;
  background:#2d4f87 !important;
  color:#fff !important;
  font-size:15px !important;
  line-height:1 !important;
}
.homepage-editable-section#contact .contact-form-plugin .wpcf7-form p{
  margin:0 0 14px !important;
}

/* Right: contact information panel */
.homepage-editable-section#contact > .contact-redesign{
  padding:36px clamp(28px,3.5vw,48px) !important;
  background:#e7e7e9 !important;
  color:#555 !important;
}
.homepage-editable-section#contact .contact-heading{
  margin:0 0 20px !important;
  text-align:center !important;
}
.homepage-editable-section#contact .contact-heading small{
  display:block !important;
  margin:0 0 4px !important;
  font-size:15px !important;
  color:#777 !important;
}
.homepage-editable-section#contact .contact-heading h2{
  margin:0 !important;
  color:#294d85 !important;
  font-size:clamp(24px,2vw,30px) !important;
  line-height:1.15 !important;
  letter-spacing:.8px !important;
  font-weight:800 !important;
}
.homepage-editable-section#contact .contact-intro{
  max-width:none !important;
  margin:0 0 26px !important;
  font-size:15px !important;
  line-height:1.6 !important;
  color:#555 !important;
}
.homepage-editable-section#contact .contact-details{
  max-width:none !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
}
.homepage-editable-section#contact .contact-row{
  display:flex !important;
  align-items:flex-start !important;
  gap:14px !important;
}
.homepage-editable-section#contact .contact-icon{
  width:48px !important;
  height:48px !important;
  flex:0 0 48px !important;
  background:#294d85 !important;
}
.homepage-editable-section#contact .contact-icon svg{
  width:25px !important;
  height:25px !important;
}
.homepage-editable-section#contact .contact-row h3{
  margin:0 0 3px !important;
  color:#294d85 !important;
  font-size:19px !important;
  line-height:1.2 !important;
  font-weight:400 !important;
}
.homepage-editable-section#contact .contact-row p,
.homepage-editable-section#contact .contact-row a{
  margin:0 !important;
  color:#555 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  word-break:break-word !important;
}

/* Tablet: keep everything comfortably sized and stacked. */
@media screen and (max-width:1100px){
  .homepage-editable-section#contact{
    display:block !important;
  }
  .homepage-editable-section#contact > .contact-form-section{
    padding:34px 6% 30px !important;
  }
  .homepage-editable-section#contact > .contact-redesign{
    padding:32px 6% 38px !important;
  }
  .homepage-editable-section#contact .contact-form-wrap{
    width:min(760px,100%) !important;
    margin:0 auto !important;
  }
  .homepage-editable-section#contact .contact-intro,
  .homepage-editable-section#contact .contact-details{
    width:min(760px,100%) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* Mobile Safari / Chrome: compact without browser text inflation. */
@media screen and (max-width:767px){
  .homepage-editable-section#contact{
    display:block !important;
  }
  .homepage-editable-section#contact > .contact-form-section{
    padding:30px 24px 28px !important;
  }
  .homepage-editable-section#contact > .contact-redesign{
    padding:30px 24px 36px !important;
  }
  .homepage-editable-section#contact .contact-form-wrap h2{font-size:24px !important;margin-bottom:18px !important;}
  .homepage-editable-section#contact .contact-form-reference label,
  .homepage-editable-section#contact .contact-form-plugin .wpcf7-form label{font-size:15px !important;}
  .homepage-editable-section#contact .contact-form-reference input,
  .homepage-editable-section#contact .contact-form-reference textarea,
  .homepage-editable-section#contact .contact-form-plugin input[type="text"],
  .homepage-editable-section#contact .contact-form-plugin input[type="email"],
  .homepage-editable-section#contact .contact-form-plugin input[type="tel"],
  .homepage-editable-section#contact .contact-form-plugin textarea{font-size:16px !important;}
  .homepage-editable-section#contact .contact-form-reference input,
  .homepage-editable-section#contact .contact-form-plugin input[type="text"],
  .homepage-editable-section#contact .contact-form-plugin input[type="email"],
  .homepage-editable-section#contact .contact-form-plugin input[type="tel"]{height:44px !important;}
  .homepage-editable-section#contact .contact-form-reference textarea,
  .homepage-editable-section#contact .contact-form-plugin textarea{height:150px !important;min-height:150px !important;}
  .homepage-editable-section#contact .contact-heading small{font-size:14px !important;}
  .homepage-editable-section#contact .contact-heading h2{font-size:25px !important;}
  .homepage-editable-section#contact .contact-intro{font-size:15px !important;line-height:1.6 !important;}
  .homepage-editable-section#contact .contact-row h3{font-size:18px !important;}
  .homepage-editable-section#contact .contact-row p,
  .homepage-editable-section#contact .contact-row a{font-size:14px !important;}
  .homepage-editable-section#contact .contact-icon{width:46px !important;height:46px !important;flex-basis:46px !important;}
}


/* OUR SERVICE RESTORED – compact, responsive, and linked to the enquiry flow */
#service{scroll-margin-top:90px}
.service-item{
  width:100%;color:inherit;text-align:left;
  font-family:inherit;line-height:1.5;cursor:default;
}
.service-item:hover{color:inherit;font-weight:normal}
@media(max-width:750px){
  .service-area{padding:8px 0 16px}
  .service-banner{width:min(590px,94%);margin-bottom:14px}
  .service-panel{width:94%;padding:18px 16px 20px}
  .service-heading{margin-bottom:12px}
  .service-heading small{font-size:10px}
  .service-heading h2{font-size:20px}
  .service-list{grid-template-columns:1fr;gap:0}
  .service-list>div{display:flex;flex-direction:column;gap:4px}
  .service-item{font-size:13px;padding:4px 0}
}
@media(min-width:751px) and (max-width:1100px){
  .service-panel{width:min(900px,92%);padding:20px 38px 24px}
  .service-list{column-gap:70px}
}

/* ===== OUR EVENT – CLEAN LIST + SMALLER SCALE (FINAL) =====
   Removes the large boxed cards while keeping the blue icons.
   Designed to stay balanced on desktop, tablet/iPad and mobile. */
.events-redesign{
  padding:34px 20px 42px !important;
}
.events-redesign .section-title{
  margin:0 auto 16px !important;
}
.events-redesign .section-title small{
  font-size:14px !important;
  margin-bottom:3px !important;
}
.events-redesign .section-title h2{
  font-size:26px !important;
  letter-spacing:1px !important;
  line-height:1.15 !important;
}
.events-redesign .event-list{
  width:min(560px,90vw) !important;
  gap:8px !important;
  margin:0 auto 20px !important;
}
.events-redesign .event-row{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:5px 0 !important;
  gap:14px !important;
  justify-content:flex-start !important;
}
.events-redesign .event-icon{
  width:34px !important;
  height:34px !important;
  flex:0 0 34px !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.events-redesign .event-icon svg{
  width:20px !important;
  height:20px !important;
  stroke:#2d4f87 !important;
  stroke-width:2.4 !important;
}
.events-redesign .event-row h3{
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.35 !important;
  color:#555 !important;
}
.events-redesign .event-image{
  width:min(650px,90vw) !important;
  margin:0 auto !important;
}

/* Desktop */
@media screen and (min-width:1101px){
  .events-redesign{padding:38px 5% 48px !important;}
  .events-redesign .section-title small{font-size:14px !important;}
  .events-redesign .section-title h2{font-size:28px !important;}
  .events-redesign .event-list{width:min(580px,90vw) !important;gap:9px !important;margin-bottom:22px !important;}
  .events-redesign .event-row{padding:6px 0 !important;}
  .events-redesign .event-icon{width:36px !important;height:36px !important;flex-basis:36px !important;}
  .events-redesign .event-icon svg{width:21px !important;height:21px !important;}
  .events-redesign .event-row h3{font-size:16px !important;}
  .events-redesign .event-image{width:min(680px,90vw) !important;}
}

/* Tablet / iPad */
@media screen and (min-width:768px) and (max-width:1100px){
  .events-redesign{padding:32px 5% 42px !important;}
  .events-redesign .section-title{margin-bottom:15px !important;}
  .events-redesign .section-title small{font-size:13px !important;}
  .events-redesign .section-title h2{font-size:25px !important;}
  .events-redesign .event-list{width:min(520px,88vw) !important;gap:7px !important;margin-bottom:18px !important;}
  .events-redesign .event-row{padding:5px 0 !important;gap:13px !important;}
  .events-redesign .event-icon{width:33px !important;height:33px !important;flex-basis:33px !important;}
  .events-redesign .event-icon svg{width:19px !important;height:19px !important;}
  .events-redesign .event-row h3{font-size:15px !important;}
  .events-redesign .event-image{width:min(600px,90vw) !important;}
}

/* Mobile */
@media screen and (max-width:767px){
  .events-redesign{padding:28px 18px 36px !important;}
  .events-redesign .section-title{margin-bottom:14px !important;}
  .events-redesign .section-title small{font-size:13px !important;}
  .events-redesign .section-title h2{font-size:24px !important;}
  .events-redesign .event-list{width:min(300px,100%) !important;gap:7px !important;margin-bottom:18px !important;}
  .events-redesign .event-row{padding:4px 0 !important;gap:12px !important;}
  .events-redesign .event-icon{width:32px !important;height:32px !important;flex-basis:32px !important;}
  .events-redesign .event-icon svg{width:18px !important;height:18px !important;}
  .events-redesign .event-row h3{font-size:15px !important;white-space:nowrap;}
  .events-redesign .event-image{width:100% !important;}
}

/* ===== OUR EVENT – CENTER THE THREE EVENT ITEMS ===== */
.events-redesign .event-list{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}
.events-redesign .event-row{
  width:100% !important;
  justify-content:center !important;
}
.events-redesign .event-row h3{
  flex:0 0 auto !important;
}

/* Keep the centered group compact and balanced on every screen size */
@media screen and (min-width:1101px){
  .events-redesign .event-list{width:min(520px,90vw) !important;}
}
@media screen and (min-width:768px) and (max-width:1100px){
  .events-redesign .event-list{width:min(480px,88vw) !important;}
}
@media screen and (max-width:767px){
  .events-redesign .event-list{width:min(320px,92vw) !important;}
  .events-redesign .event-row{justify-content:center !important;}
}

/* ===== COMPACT SCROLL-TO-TOP BUTTON – FINAL OVERRIDE ===== */
.float-phone{
  width:42px !important;
  height:42px !important;
  right:16px !important;
  bottom:16px !important;
  border-radius:6px !important;
  background:rgba(41,77,133,.88) !important;
  box-shadow:0 2px 8px rgba(0,0,0,.16) !important;
  opacity:.82;
}
.float-phone:hover{opacity:1;}
.float-phone:after{
  content:'⌃' !important;
  font-size:28px !important;
  line-height:1 !important;
  color:#fff !important;
}
@media (max-width:750px){
  .float-phone{
    width:38px !important;
    height:38px !important;
    right:12px !important;
    bottom:12px !important;
    border-radius:6px !important;
    opacity:.78;
  }
  .float-phone:after{font-size:25px !important;}
}

/* ===== FINAL YIN-YANG MOBILE FIX =====
   Use percentage-based gradients so the symbol scales correctly on all screens. */
.logo .yin-yang{
  display:block !important;
  position:relative !important;
  flex:0 0 auto !important;
  aspect-ratio:1 / 1;
  border:2px solid #2d4f87 !important;
  border-radius:50% !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 50% 25%, #2d4f87 0 7%, #ffffff 8% 25%, transparent 26%),
    radial-gradient(circle at 50% 75%, #ffffff 0 7%, #2d4f87 8% 25%, transparent 26%),
    linear-gradient(to bottom, #ffffff 0 50%, #2d4f87 50% 100%) !important;
}
.logo .yin-yang::before,
.logo .yin-yang::after{display:none !important;content:none !important;}

@media (max-width:750px){
  .logo{display:flex !important;align-items:center !important;white-space:nowrap;}
  .logo .yin-yang{width:42px !important;height:42px !important;min-width:42px !important;}
}
@media (max-width:430px){
  .logo .yin-yang{width:39px !important;height:39px !important;min-width:39px !important;}
}

/* ===== CORRECT YIN-YANG SHAPE — KEEP CURRENT WEBSITE BLUE/WHITE COLOURS ===== */
.logo .yin-yang{
  background:
    radial-gradient(circle at 50% 25%, #ffffff 0 7%, #2d4f87 7.5% 25%, transparent 25.5%),
    radial-gradient(circle at 50% 75%, #2d4f87 0 7%, #ffffff 7.5% 25%, transparent 25.5%),
    linear-gradient(to bottom, #2d4f87 0 50%, #ffffff 50% 100%) !important;
  border:2px solid #2d4f87 !important;
}

/* ===== FINAL YIN-YANG: EXACT TAJIITU SVG, BLUE/WHITE BRAND COLOURS ===== */
.logo .yin-yang{
  background: url('assets/yin-yang-blue.svg') center/contain no-repeat !important;
  border: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
.logo .yin-yang::before,
.logo .yin-yang::after{
  display:none !important;
  content:none !important;
}
