/* Shared responsive safety layer; page-specific breakpoints are retained in main.css. */
@media(max-width:767px){
 html{-webkit-text-size-adjust:100%} img,video,iframe{max-width:100%}
 .container,.max-w-screen-xl,.max-w-7xl{max-width:100%}
 :where(.hero-title,.hero-heading,.hero-content h1,.hero-copy h1,.page-hero h1,.gallery-heading){overflow-wrap:anywhere}
}
@media(max-width:480px){
 :where(.hero-title,.hero-heading,.hero-content h1,.hero-copy h1,.page-hero h1,.gallery-heading){letter-spacing:-.025em}
}


/* Responsive refinements for shared editorial components */
@media(max-width:767px){
 .api-page-hero h1{font-size:clamp(39px,11vw,56px)}
 .api-page-hero p{font-size:15px;line-height:1.7}
 .api-card-meta{gap:8px 12px}
 .api-featured-video__copy h3{font-size:25px}
 .api-video-card__body{padding:16px}
 .api-podcast-copy audio{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .api-page-hero:before,.api-gallery-tile img,.api-video-card__image img{transition:none}
 .api-podcast-row.is-playing .api-audio-mark i{animation:none}
}


@media(max-width:767px){.wp-full-section .grid,.wp-archive-section .grid{min-width:0}.wp-full-section img,.wp-archive-section img{max-width:100%}.paywall-form-side{min-width:0}}
@media(prefers-reduced-motion:reduce){.paywall-modal,.paywall-card{scroll-behavior:auto!important;transition:none!important}}



/* Working papers mobile safeguards */
@media(max-width:760px){.wp-feature-slide__copy,.wp-article-content,.wp-archive-section{min-width:0}.wp-article-content aside{max-width:100%}.wp-modal__dialog{width:100%}}


@media(max-width:760px){
 body[data-page="index-html"] .news-slide__meta{font-size:11px;gap:7px 12px}
 body[data-page="index-html"] .news-slide__avatar{width:40px;height:40px}
}

/* API global responsive quality pass */
:root{--api-mobile-blue:#1d2855;--api-mobile-blue-secondary:#263d90;--api-mobile-gold:#e2bd45}
html{scroll-padding-top:100px}body{overflow-x:clip}img,svg,video,iframe{max-width:100%}
:where(main,section,article,aside,header,footer){min-width:0}:where(h1,h2,h3,h4,p,a,button,li){overflow-wrap:break-word}
:focus-visible{outline:2px solid var(--api-mobile-gold);outline-offset:3px}
@media(max-width:1279px){
 #siteHeader,#siteHeader #utilityBar{color:#fff!important}
 #siteHeader .icon-link{color:#fff!important;border-color:rgba(255,255,255,.32)!important}
 #siteHeader .icon-link:hover{background:var(--api-mobile-blue-secondary)!important;color:var(--api-mobile-gold)!important;border-color:var(--api-mobile-gold)!important}
 #mobilePanel{background:var(--api-mobile-blue-secondary)!important;color:#fff!important;width:100%;height:100dvh;max-height:100dvh;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}
 #mobilePanel>div:first-child{background:var(--api-mobile-blue)!important;color:#fff!important;border-color:rgba(255,255,255,.16)!important;min-height:76px;padding-top:max(14px,env(safe-area-inset-top))}
 #mobilePanel>div:first-child img{height:58px!important;max-width:124px!important;filter:brightness(0) invert(1)}
 #mobilePanel #closeMenu{color:#fff!important;border-color:rgba(255,255,255,.3)!important;background:transparent}
 #mobilePanel #mobileNav{padding:12px 18px 36px!important}
 #mobileNav>.mobile-menu-group{border-color:rgba(255,255,255,.16)!important}
 #mobileNav>.mobile-menu-group>a,#mobileNav .mobile-section-toggle{color:#fff!important;background:transparent!important;min-height:54px;padding:15px 12px!important;font-size:14px;line-height:1.35;font-weight:700;text-decoration:none;transition:background .18s,color .18s}
 #mobileNav>.mobile-menu-group>a:hover,#mobileNav .mobile-section-toggle:hover,#mobileNav .mobile-section-toggle[aria-expanded=true]{color:var(--api-mobile-gold)!important;background:rgba(255,255,255,.08)!important}
 #mobileNav .mobile-section-panel{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;padding:10px 8px 14px!important;margin:0 0 8px;background:rgba(10,20,55,.22);border-left:2px solid var(--api-mobile-gold)}
 #mobileNav .mobile-section-panel.hidden{display:none!important}
 #mobileNav .mobile-section-panel a{display:flex;align-items:center;min-height:42px;padding:9px 10px!important;margin:0!important;color:rgba(255,255,255,.88)!important;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);font-size:12px!important;line-height:1.35!important;text-decoration:none;transition:background .18s,color .18s,border-color .18s}
 #mobileNav .mobile-section-panel a:hover,#mobileNav .mobile-section-panel a:focus-visible{color:var(--api-mobile-gold)!important;background:rgba(255,255,255,.12)!important;border-color:rgba(226,189,69,.45)!important}
 #mobileNav .mobile-plus{color:var(--api-mobile-gold)!important;font-size:20px}
 #mobileNav .grid.grid-cols-2 a{color:#fff!important;border-color:rgba(255,255,255,.25)!important;min-height:46px;display:grid;place-items:center}
 #mobileNav .mobile-contact-link{color:var(--api-mobile-blue)!important;background:var(--api-mobile-gold)!important;min-height:50px;display:grid;place-items:center}
 body.mobile-menu-open{overflow:hidden!important}
 .mobile-panel{transform:translateX(100%);visibility:hidden;transition:transform .28s cubic-bezier(.2,.7,.2,1),visibility .28s}
 .mobile-panel.open{transform:translateX(0);visibility:visible}
}
@media(max-width:767px){
 section{scroll-margin-top:78px}
 :where(.max-w-\[1320px\],.max-w-\[1580px\]){width:100%}
 :where(.px-5,.px-6,.px-8){padding-left:clamp(18px,5vw,26px)!important;padding-right:clamp(18px,5vw,26px)!important}
 :where(.py-24,.py-28){padding-top:clamp(48px,10vw,72px)!important;padding-bottom:clamp(48px,10vw,72px)!important}
 :where(.hero-title,.hero-heading,.hero-content h1,.hero-copy h1,.page-hero h1,.gallery-heading,.events-hero h1,.event-detail-hero h1,.pub-hero h1){font-size:clamp(34px,8.8vw,54px)!important;line-height:1.06!important;letter-spacing:-.035em!important;max-width:100%}
 :where(.hero-content,.hero-copy,.page-hero-content){max-width:100%;width:100%}
 :where(.hero-content p,.hero-copy p,.page-hero p){font-size:clamp(14px,3.7vw,16px);line-height:1.7}
 :where(.hero-section,.page-hero,.api-page-hero){min-height:clamp(480px,78svh,680px)}
 :where(.hero-section,.page-hero,.api-page-hero) :where(.container,.max-w-screen-xl,.max-w-7xl){padding-top:clamp(110px,18svh,150px)!important;padding-bottom:clamp(42px,8svh,72px)!important}
 :where(.hero-section,.page-hero,.api-page-hero) :where(.hero-content,.hero-copy,.page-hero-content){padding-left:0!important;padding-right:0!important}
 :where(.grid),:where(.grid>*){min-width:0}:where(input,select,textarea){font-size:16px!important}
 .events-shell{width:calc(100% - 36px)}.events-hero{padding:clamp(112px,17svh,145px) 0 48px}.events-hero h1{font-size:clamp(36px,9vw,52px)!important}.events-hero p{font-size:14px;line-height:1.75}
 .events-toolbar{margin:24px 0 18px;gap:14px}.events-tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.events-tab{min-height:42px;padding:10px 8px}.events-search{min-width:0;width:100%;min-height:46px}
 .events-notice{padding:13px 14px;font-size:11px}.event-detail-hero{min-height:460px;padding:120px 0 38px}.event-detail-layout{gap:24px}.event-detail-side{padding:19px}.event-speaker{padding:16px;gap:13px}.event-related{padding:42px 0}
 .home-events-section{padding-top:clamp(54px,10vw,76px)!important;padding-bottom:clamp(54px,10vw,76px)!important}.home-events-section .mb-10{margin-bottom:24px!important}.home-events-section h2{font-size:clamp(34px,8.5vw,52px)!important;line-height:1.06!important}
}
@media(max-width:390px){#mobilePanel #mobileNav{padding-left:14px!important;padding-right:14px!important}#mobileNav .mobile-section-panel{gap:4px}#mobileNav .mobile-section-panel a{font-size:11px!important;padding:8px!important}:where(.hero-title,.hero-heading,.hero-content h1,.hero-copy h1,.page-hero h1,.gallery-heading){font-size:clamp(32px,9vw,40px)!important}}
@media(min-width:768px) and (max-width:1279px){#mobilePanel #mobileNav{max-width:760px;margin:0 auto}#mobileNav .mobile-section-panel{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Homepage featured-event composition — supplied reference layout */
.home-events-section{padding-top:clamp(64px,7vw,100px)!important;padding-bottom:clamp(64px,7vw,100px)!important}
.home-events-section>.max-w-\[1320px\]{max-width:1208px}
.home-events-section .flex.items-end.justify-between{margin-bottom:34px!important;align-items:flex-end}
.home-events-section .flex.items-end.justify-between>div>div:first-child{font-size:10px!important;letter-spacing:.2em!important;margin-bottom:13px!important}
.home-events-section .flex.items-end.justify-between h2{font-size:clamp(38px,4.1vw,60px)!important;max-width:900px;line-height:1.04!important}
.home-events-section .flex.items-end.justify-between>a{white-space:nowrap;color:var(--api-mobile-gold)!important}
.home-events-layout{grid-template-columns:minmax(0,1.22fr) minmax(320px,.78fr);gap:19px}
.home-event-feature{position:relative;min-height:535px;background:#1d2855;color:#fff;overflow:hidden}
.home-event-feature__image{position:absolute;inset:0;aspect-ratio:auto;height:100%;width:100%}
.home-event-feature__image:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(24,36,78,1) 0%,rgba(24,36,78,.91) 18%,rgba(24,36,78,.55) 48%,rgba(24,36,78,.10) 100%);pointer-events:none}
.home-event-feature__image img{height:100%;width:100%;object-fit:cover}
.home-event-feature__content{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:28px 32px 32px;color:#fff}
.home-event-feature .home-event-meta,.home-event-row .home-event-meta{color:var(--api-mobile-gold);font-size:10px;letter-spacing:.13em;text-transform:uppercase}
.home-event-feature .home-event-type{display:none}.home-event-feature h3{font-size:clamp(28px,3vw,35px);line-height:1.12;color:#fff;max-width:100%;margin:12px 0}
.home-event-feature .home-event-description{font-size:14px;line-height:1.7;color:rgba(255,255,255,.86);max-width:720px;margin:10px 0 22px}
.home-event-feature .home-event-action{display:inline-flex;background:var(--api-mobile-gold);color:#101a3b;padding:13px 18px;margin:0;font-size:11px}
.home-event-list{grid-template-rows:repeat(2,minmax(0,1fr));gap:19px}.home-event-row{display:block;position:relative;min-height:0;background:#263f91;color:#fff;overflow:hidden}.home-event-row:nth-child(2){background:#fff8eb;color:#1d2855}.home-event-row__image{display:none}
.home-event-row__content{height:100%;min-height:255px;padding:28px 27px;display:flex;flex-direction:column;align-items:flex-start}
.home-event-row .home-event-type{margin:0 0 15px;color:var(--api-mobile-gold);font-size:10px}.home-event-row h3{font-size:clamp(21px,1.8vw,30px);line-height:1.16;color:#fff;margin:0 0 15px}.home-event-row:nth-child(2) h3{color:#1d2855}.home-event-row .home-event-description{display:none}
.home-event-row .home-event-action{align-self:flex-end;margin-top:auto;width:39px;height:39px;justify-content:center;background:#fff;color:#1d2855;font-size:0}.home-event-row .home-event-action span{font-size:19px}.home-event-row:nth-child(2) .home-event-action{background:#1d2855;color:#fff}
@media(max-width:980px){.home-events-layout{grid-template-columns:1fr}.home-event-feature{min-height:500px}.home-event-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}.home-event-row__content{min-height:250px}}
@media(max-width:620px){.home-events-section .flex.items-end.justify-between{align-items:flex-start;gap:16px}.home-events-section .flex.items-end.justify-between h2{font-size:clamp(34px,8.7vw,46px)!important}.home-events-section .flex.items-end.justify-between>a{display:inline-flex!important;font-size:10px;align-self:flex-end}.home-events-layout{gap:14px}.home-event-feature{min-height:clamp(430px,112vw,560px)}.home-event-feature__content{padding:22px 20px 23px}.home-event-feature h3{font-size:clamp(27px,7.4vw,36px)}.home-event-feature .home-event-description{font-size:13px;line-height:1.6}.home-event-list{grid-template-columns:1fr;gap:12px}.home-event-row__content{min-height:215px;padding:22px}.home-event-row h3{font-size:24px;max-width:90%}}
@media(max-width:380px){.home-events-section .flex.items-end.justify-between>a{font-size:9px}.home-event-feature{min-height:450px}.home-event-feature__content{padding:19px}.home-event-row__content{min-height:205px}}
@media(max-width:1279px){
 #mobilePanel{transform:translateX(100%)!important;visibility:hidden!important;display:block!important}
 #mobilePanel.open{transform:translateX(0)!important;visibility:visible!important}
}


/* =========================================================
   Mobile navigation — clean white / institutional blue
   ========================================================= */
@media(max-width:1279px){
  #mobilePanel{
    background:#fff!important;color:#111827!important;
    border-left:1px solid rgba(29,40,85,.08);
  }
  #mobilePanel>div:first-child{
    position:sticky;top:0;z-index:5;background:#fff!important;color:#111827!important;
    border-bottom:1px solid #e8eaf0!important;box-shadow:none!important;
  }
  #mobilePanel>div:first-child img{filter:none!important}
  #mobilePanel #closeMenu{color:#1d2855!important;border:1px solid #dfe3eb!important;background:#fff!important}
  #mobilePanel #mobileNav{background:#fff!important;color:#111827!important;padding-top:10px!important}
  #mobileNav>.mobile-menu-group,
  #mobileNav .mobile-menu-group{border-bottom:1px solid #e7e9ee!important;border-left:0!important;border-right:0!important;border-top:0!important}
  #mobileNav>.mobile-menu-group>a,
  #mobileNav>.mobile-menu-group>.mobile-section-toggle,
  #mobileNav .mobile-section-toggle{
    color:#1d3b78!important;background:transparent!important;
    min-height:54px;padding:15px 10px!important;margin:0!important;
    border:0!important;border-bottom:1px solid #e7e9ee!important;
    border-radius:0!important;box-shadow:none!important;
    font-size:14px!important;font-weight:700!important;line-height:1.35!important;
    transition:color .18s ease,background-color .18s ease;
  }
  #mobileNav>.mobile-menu-group>a:hover,
  #mobileNav>.mobile-menu-group>.mobile-section-toggle:hover,
  #mobileNav .mobile-section-toggle:hover,
  #mobileNav .mobile-section-toggle[aria-expanded="true"]{
    color:#c69b2e!important;background:transparent!important;
  }
  #mobileNav .mobile-section-panel{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 14px;padding:8px 10px 12px!important;margin:0!important;
    background:#fff!important;border:0!important;border-bottom:1px solid #e7e9ee!important;
  }
  #mobileNav .mobile-section-panel.hidden{display:none!important}
  #mobileNav .mobile-section-panel a{
    display:flex;align-items:center;min-height:42px;padding:9px 4px!important;margin:0!important;
    color:#20242d!important;background:transparent!important;
    border:0!important;border-bottom:1px solid #eceef2!important;border-radius:0!important;
    font-size:12px!important;line-height:1.4!important;text-decoration:none;
    transition:color .18s ease;
  }
  #mobileNav .mobile-section-panel a:hover,
  #mobileNav .mobile-section-panel a:focus-visible{color:#c69b2e!important;background:transparent!important;border-color:#eceef2!important}
  #mobileNav .mobile-plus{color:#1d3b78!important;font-size:21px!important;font-weight:400!important;line-height:1}
  #mobileNav .mobile-section-toggle[aria-expanded="true"] .mobile-plus{color:#c69b2e!important}
  /* Centres is a full-width parent section with a warm highlight. */
  #mobileNav .mobile-centers-group{background:#fff1df!important;border-bottom:1px solid #f0d9bd!important}
  #mobileNav .mobile-centers-group>.mobile-section-toggle{
    width:100%;color:#1d3b78!important;background:#fff1df!important;
    border-bottom:1px solid #f0d9bd!important;padding-left:12px!important;padding-right:12px!important;
  }
  #mobileNav .mobile-centers-panel{
    display:block!important;width:100%;padding:5px 12px 12px!important;
    background:#fff7ed!important;border:0!important;border-bottom:1px solid #f0d9bd!important;
  }
  #mobileNav .mobile-centers-panel.hidden{display:none!important}
  #mobileNav .mobile-centers-panel>.mobile-menu-group{width:100%;background:transparent!important;border-bottom:1px solid #f2dfca!important}
  #mobileNav .mobile-centers-panel>.mobile-menu-group>.mobile-section-toggle{
    width:100%;min-height:47px;padding:12px 5px!important;
    color:#1d3b78!important;background:transparent!important;
    border:0!important;border-bottom:1px solid #f2dfca!important;font-size:13px!important;
  }
  #mobileNav .mobile-centers-panel>.mobile-menu-group>.mobile-section-toggle:hover,
  #mobileNav .mobile-centers-panel>.mobile-menu-group>.mobile-section-toggle[aria-expanded="true"]{color:#c69b2e!important}
  #mobileNav .mobile-centers-panel .mobile-section-panel{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 12px;padding:7px 5px 10px!important;background:#fff7ed!important;
    border:0!important;border-left:2px solid #e9b66f!important;
  }
  #mobileNav .mobile-centers-panel .mobile-section-panel.hidden{display:none!important}
  #mobileNav .mobile-centers-panel .mobile-section-panel a{color:#252525!important;border-bottom:1px solid #f1e5d8!important}
  #mobileNav .mobile-centers-panel .mobile-section-panel a:hover{color:#c69b2e!important}
  /* Utility actions sit in a subtle grey footer band. */
  #mobileNav>.grid.grid-cols-2{
    margin:18px -18px 0!important;padding:17px 18px!important;
    background:#f5f6f8!important;border-top:1px solid #eceef1!important;
  }
  #mobileNav>.grid.grid-cols-2 a{
    display:grid;place-items:center;min-height:44px;padding:10px!important;
    color:#1d3b78!important;background:#fff!important;
    border:1px solid #e2e5eb!important;border-radius:0!important;
  }
  #mobileNav>.grid.grid-cols-2 a:hover{color:#c69b2e!important;border-color:#d9c18b!important}
  #mobileNav>.mobile-contact-link{
    margin:0 -18px!important;padding:17px 18px!important;min-height:58px;
    color:#1d3b78!important;background:#f5f6f8!important;
    border-top:1px solid #eceef1!important;border-bottom:0!important;
  }
  body.mobile-menu-open{overflow:hidden!important}
}
@media(max-width:767px){
  #mobileNav .mobile-centers-panel>.mobile-menu-group{grid-column:1/-1}
  #mobileNav .mobile-centers-panel .mobile-section-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:768px) and (max-width:1279px){
  #mobileNav>.mobile-menu-group:not(.mobile-centers-group)>.mobile-section-panel{grid-template-columns:repeat(3,minmax(0,1fr))}
  #mobileNav .mobile-centers-panel .mobile-section-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1279px){
  #mobileNav .mobile-centers-panel .mobile-section-panel{border-left:0!important}
  #mobileNav>.grid.grid-cols-2 a{border:0!important;border-bottom:1px solid #dfe3e9!important}
  #mobileNav>.mobile-contact-link{border-left:0!important;border-right:0!important;border-bottom:1px solid #e4e7ec!important}
}


/* =========================================================
   FINAL MOBILE NAVIGATION SYSTEM — WHITE / BLUE / GOLD
   ========================================================= */
@media (max-width:1279px) {
  #mobilePanel,
  #mobilePanel > div:first-child,
  #mobileNav { background:#fff !important; color:#171717 !important; box-shadow:none !important; }

  #mobilePanel > div:first-child { border-bottom:1px solid #e8e9ed !important; }
  #mobilePanel #closeMenu {
    color:#1d3b78 !important; background:#fff !important;
    border:0 !important; border-bottom:1px solid #e2e5eb !important;
  }

  #mobileNav { padding:8px 20px 0 !important; }
  #mobileNav .mobile-menu-group {
    border:0 !important; border-bottom:1px solid #e7e9ee !important;
    border-radius:0 !important; box-shadow:none !important;
  }
  #mobileNav > .mobile-menu-group > a,
  #mobileNav .mobile-section-toggle {
    display:flex; align-items:center; justify-content:space-between;
    width:100%; min-height:54px; padding:14px 8px !important;
    color:#1d3b78 !important; background:transparent !important;
    border:0 !important; border-bottom:1px solid #e7e9ee !important;
    border-radius:0 !important; box-shadow:none !important;
    font-size:14px !important; font-weight:700 !important; line-height:1.4 !important;
    transition:color .18s ease;
  }
  #mobileNav > .mobile-menu-group > a:hover,
  #mobileNav .mobile-section-toggle:hover,
  #mobileNav .mobile-section-toggle[aria-expanded="true"] {
    color:#c69b2e !important; background:transparent !important;
  }
  #mobileNav .mobile-section-panel {
    display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 16px; padding:5px 8px 10px !important; margin:0 !important;
    background:#fff !important; border:0 !important;
    border-bottom:1px solid #e7e9ee !important;
  }
  #mobileNav .mobile-section-panel.hidden { display:none !important; }
  #mobileNav .mobile-section-panel a {
    display:flex; align-items:center; min-width:0; min-height:42px;
    padding:9px 3px !important; margin:0 !important;
    color:#171717 !important; background:transparent !important;
    border:0 !important; border-bottom:1px solid #eceef1 !important;
    border-radius:0 !important; font-size:12px !important;
    line-height:1.4 !important; text-decoration:none !important;
    transition:color .18s ease;
  }
  #mobileNav .mobile-section-panel a:hover,
  #mobileNav .mobile-section-panel a:focus-visible { color:#c69b2e !important; background:transparent !important; }
  #mobileNav .mobile-plus {
    display:inline-flex; align-items:center; justify-content:center;
    width:24px; height:24px; flex:0 0 24px;
    color:#1d3b78 !important; font-size:21px !important;
    font-weight:400 !important; line-height:1;
  }
  #mobileNav .mobile-section-toggle[aria-expanded="true"] .mobile-plus { color:#c69b2e !important; }

  /* Centres parent: warm highlighted band, full-width centre list. */
  #mobileNav > .mobile-centers-group {
    width:100%; background:#fff1df !important;
    border-bottom:1px solid #f0d9bd !important;
  }
  #mobileNav > .mobile-centers-group > .mobile-section-toggle {
    width:100%; padding:15px 12px !important;
    color:#1d3b78 !important; background:#fff1df !important;
    border-bottom:1px solid #f0d9bd !important;
  }
  #mobileNav > .mobile-centers-group > .mobile-centers-panel {
    display:block !important; width:100%; padding:4px 12px 12px !important;
    background:#fff7ed !important; border:0 !important;
    border-bottom:1px solid #f0d9bd !important;
  }
  #mobileNav > .mobile-centers-group > .mobile-centers-panel.hidden { display:none !important; }
  #mobileNav .mobile-centers-panel > .mobile-menu-group {
    display:block; width:100%; background:transparent !important;
    border:0 !important; border-bottom:1px solid #f2dfca !important;
  }
  #mobileNav .mobile-centers-panel > .mobile-menu-group > .mobile-section-toggle {
    width:100%; min-height:48px; padding:12px 5px !important;
    color:#1d3b78 !important; background:transparent !important;
    border:0 !important; border-bottom:1px solid #f2dfca !important;
    font-size:13px !important;
  }
  #mobileNav .mobile-centers-panel > .mobile-menu-group > .mobile-section-toggle:hover,
  #mobileNav .mobile-centers-panel > .mobile-menu-group > .mobile-section-toggle[aria-expanded="true"] {
    color:#c69b2e !important;
  }
  /* Centre-specific destinations: two columns beneath each centre. */
  #mobileNav .mobile-centers-panel .mobile-section-panel {
    display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 12px; padding:7px 5px 10px !important;
    background:#fff7ed !important; border:0 !important;
  }
  #mobileNav .mobile-centers-panel .mobile-section-panel.hidden { display:none !important; }
  #mobileNav .mobile-centers-panel .mobile-section-panel a {
    color:#171717 !important; border:0 !important;
    border-bottom:1px solid #f1e5d8 !important;
  }
  #mobileNav .mobile-centers-panel .mobile-section-panel a:hover { color:#c69b2e !important; }

  /* Bottom utility/action band: very light grey, divider-only treatment. */
  #mobileNav > .grid.grid-cols-2 {
    margin:18px -20px 0 !important; padding:16px 20px !important;
    background:#f6f7f8 !important; border-top:1px solid #eceef1 !important;
  }
  #mobileNav > .grid.grid-cols-2 a {
    display:grid; place-items:center; min-height:44px; padding:10px !important;
    color:#1d3b78 !important; background:transparent !important;
    border:0 !important; border-bottom:1px solid #dfe3e9 !important;
    border-radius:0 !important;
  }
  #mobileNav > .grid.grid-cols-2 a:hover { color:#c69b2e !important; }
  #mobileNav > .mobile-contact-link {
    display:block; margin:0 -20px !important; padding:17px 20px !important;
    min-height:56px; color:#1d3b78 !important; background:#f6f7f8 !important;
    border:0 !important; border-bottom:1px solid #e4e7ec !important;
  }
  #mobileNav > .mobile-contact-link:hover { color:#c69b2e !important; }
}
@media(max-width:767px) {
  #mobileNav > .mobile-centers-group > .mobile-centers-panel > .mobile-menu-group { grid-column:1/-1; }
  #mobileNav .mobile-centers-panel .mobile-section-panel { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:768px) and (max-width:1279px) {
  #mobileNav > .mobile-menu-group:not(.mobile-centers-group) > .mobile-section-panel {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  #mobileNav .mobile-centers-panel .mobile-section-panel { grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* Global floating newsletter and WhatsApp controls */
.api-newsletter-source-hidden{display:none!important}
.api-floating-actions{
  position:fixed;left:20px;bottom:20px;z-index:80;
  width:min(330px,calc(100vw - 104px));font-family:Arial,Helvetica,sans-serif;
}
.api-floating-newsletter{
  background:#fff;color:#1d2855;border:1px solid #e5e8ef;
  box-shadow:0 8px 28px rgba(15,25,55,.14);
}
.api-floating-newsletter__heading{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 14px;border-bottom:1px solid #edf0f4;
}
.api-floating-newsletter__heading strong{display:block;font-size:12px;line-height:1.35;font-weight:700;color:#1d2855}
.api-floating-newsletter__eyebrow{display:block;font-size:8px;letter-spacing:.17em;color:#b38b2c;font-weight:700;margin-bottom:4px}
.api-floating-newsletter__toggle{
  flex:0 0 28px;width:28px;height:28px;border:1px solid #dce1e9;
  background:#f7f8fa;color:#1d2855;font-size:18px;line-height:1;cursor:pointer;
}
.api-floating-newsletter__body{padding:11px 13px 12px}
.api-floating-newsletter__body form{display:flex;gap:6px;min-width:0}
.api-floating-newsletter__body input{
  min-width:0;flex:1;height:38px;padding:0 10px;border:1px solid #dce1e9;
  border-radius:0;background:#fff;color:#171717;font-size:12px;
}
.api-floating-newsletter__body button[type="submit"]{
  flex:0 0 auto;height:38px;padding:0 12px;border:0;border-radius:0;
  background:#1d2855;color:#fff;font-size:11px;font-weight:700;cursor:pointer;
}
.api-floating-newsletter__body button[type="submit"]:hover{background:#263d90;color:#e2bd45}
.api-floating-newsletter__message{margin:7px 0 0;color:#747b8c;font-size:10px;line-height:1.45}
.api-floating-newsletter__message.is-not-connected{color:#8a5a12}
.api-floating-newsletter__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.api-whatsapp-float{
  position:fixed;right:20px;bottom:20px;z-index:81;
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:0 17px;border-radius:999px;
  background:#20b968;color:#fff;text-decoration:none;
  box-shadow:0 7px 22px rgba(0,0,0,.18);
  font:700 12px/1 Arial,Helvetica,sans-serif;
  transition:transform .18s ease,background .18s ease;
}
.api-whatsapp-float:hover{background:#159c54;transform:translateY(-2px);color:#fff}
.api-whatsapp-float svg{width:23px;height:23px;fill:currentColor}
@media(max-width:640px){
  .api-floating-actions{left:12px;bottom:12px;width:min(245px,calc(100vw - 94px))}
  .api-floating-newsletter__heading{padding:10px 11px}
  .api-floating-newsletter__heading strong{font-size:11px}
  .api-floating-newsletter__body{padding:9px}
  .api-floating-newsletter__body input{height:35px;font-size:11px}
  .api-floating-newsletter__body button[type="submit"]{height:35px;padding:0 9px;font-size:10px}
  .api-whatsapp-float{right:12px;bottom:12px;min-height:48px;width:48px;padding:0}
  .api-whatsapp-float span{display:none}
  .api-whatsapp-float svg{width:25px;height:25px}
}
@media(prefers-reduced-motion:reduce){.api-whatsapp-float{transition:none}}

@media(max-width:1279px){#mobilePanel>div:first-child img{filter:none!important}}

.api-floating-newsletter__body input{background:#fff!important;color:#171717!important}
.api-floating-newsletter__body input::placeholder{color:#7b8290!important;opacity:1}
.api-floating-newsletter__message{color:#747b8c!important}

.api-floating-newsletter__body{display:none}
.api-floating-newsletter__body.is-open{display:block}
