/* One site shell for every KiwiMedi template. Page styles stay inside main. */
.km-shell-header,.km-shell-mobile,.km-shell-footer{font:500 14px/1.5 "Plus Jakarta Sans",system-ui,sans-serif;box-sizing:border-box}
.km-shell-header *,.km-shell-mobile *,.km-shell-footer *{box-sizing:border-box}
.km-shell-skip{position:fixed;z-index:1000;top:-80px;left:16px;padding:10px 16px;background:#fff;color:#0f172a}.km-shell-skip:focus{top:12px}
.km-shell-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e2e8f0;color:#334155}
/* Follow WordPress toolbar heights; below 600px the toolbar scrolls away. */
@media(min-width:783px){body.admin-bar .km-shell-header{top:32px}}
@media(min-width:601px) and (max-width:782px){body.admin-bar .km-shell-header{top:46px}}
.km-shell-header-inner{width:min(calc(100% - 32px),1280px);height:72px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.km-shell-brand{display:block;flex:none;width:146px}.km-shell-brand img{display:block;width:100%;height:auto}
.km-shell-desktop,.km-shell-account,.km-shell-cta{display:none}
.km-shell-actions{display:flex;align-items:center;gap:16px}
.km-shell-menu-button{width:48px;height:48px;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer}
.km-shell-menu-button span{width:19px;height:2px;background:#0f172a}
.km-shell-link,.km-shell-account{color:#475569;text-decoration:none;font-weight:700}.km-shell-link:hover,.km-shell-account:hover,.km-shell-group>summary:hover{color:#0f766e}.km-shell-account--icon{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border:1px solid #dbe3e8;border-radius:50%}.km-shell-account--icon:hover{border-color:#0f766e;background:#f0fdfa}
.km-shell-link[aria-current="page"]{color:#0f766e}
.km-shell-cta,.km-shell-mobile-cta{min-height:48px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#0f766e;color:#fff;text-decoration:none;font-weight:700;white-space:nowrap}
.km-shell-cta,.km-shell-mobile-cta{transition:background-color .18s ease}
.km-shell-cta:hover,.km-shell-mobile-cta:hover{background:#115e59;color:#fff}
.km-shell-group{position:relative}.km-shell-group>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;color:#475569;font-weight:700}.km-shell-group>summary::-webkit-details-marker{display:none}.km-shell-chevron{flex:none;transition:transform .18s ease}.km-shell-group[open]>summary .km-shell-chevron{transform:rotate(180deg)}
.km-shell-panel{display:grid;gap:2px}.km-shell-panel .km-shell-link{display:block;padding:9px 13px;font-size:13px}.km-shell-panel .km-shell-link:hover{background:#f1f5f9}
.km-shell-mobile{position:fixed;inset:0 0 0 auto;width:min(100vw,390px);height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#fff;color:#0f172a;box-shadow:-14px 0 40px rgba(15,23,42,.18)}
.km-shell-mobile::backdrop{background:rgba(15,23,42,.55)}.km-shell-mobile:not([open]){display:none}
.km-shell-mobile-head{min-height:76px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0}.km-shell-mobile-head img{display:block;width:148px;height:auto}.km-shell-close{width:48px;height:48px;border:0;background:transparent;color:#0f172a;font-size:32px;line-height:1;cursor:pointer}
.km-shell-mobile nav{max-height:calc(100dvh - 155px);padding:14px 20px 100px;display:flex;flex-direction:column;overflow-y:auto}.km-shell-mobile nav>.km-shell-link,.km-shell-mobile .km-shell-group>summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0}.km-shell-mobile .km-shell-panel{padding:8px 0 12px 16px;border-bottom:1px solid #e2e8f0}.km-shell-mobile .km-shell-panel .km-shell-link{font-size:14px}.km-shell-mobile-cta{position:absolute;bottom:20px;left:20px;right:20px}
.km-shell-footer{background:#0f172a;border-top:1px solid #1e293b;color:#cbd5e1}.km-shell-footer-inner{width:min(calc(100% - 32px),1280px);margin:auto;padding:54px 0 28px}.km-shell-footer-top{display:grid;grid-template-columns:1fr;gap:30px}.km-shell-footer-brand img{display:block;width:150px;height:auto}.km-shell-footer-brand p{max-width:32ch;margin:13px 0;color:#b6c5d0;font-size:13px;line-height:1.65}.km-shell-footer-column .km-shell-footer-label{margin:0 0 15px;color:#fff;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}.km-shell-footer-column>a,.km-shell-footer-column li a{display:block;margin:0 0 9px;color:#cbd5e1;font-size:13px;text-decoration:none}.km-shell-footer-column a:hover,.km-shell-footer-bottom a:hover{color:#7ed9cc;text-decoration:underline}.km-shell-footer-column ul,.km-shell-footer-bottom ul{list-style:none;margin:0;padding:0}.km-shell-footer-column ul ul{padding-left:12px;border-left:1px solid #415063}.km-shell-socials{display:flex;gap:16px;margin-top:20px}.km-shell-socials a{color:#7ed9cc}
.km-shell-footer-bottom{margin-top:46px;padding-top:22px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 30px;border-top:1px solid #415063;font-size:12px}.km-shell-footer-bottom p{margin:0;color:#b6c5d0}.km-shell-footer-bottom>div{display:flex;flex-wrap:wrap;gap:10px 22px}.km-shell-footer-bottom ul{display:flex;flex-wrap:wrap;gap:10px 22px}.km-shell-footer-bottom a{color:#cbd5e1;text-decoration:none}
@media(min-width:640px){.km-shell-header-inner,.km-shell-footer-inner{width:min(calc(100% - 48px),1280px)}.km-shell-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){.km-shell-header-inner,.km-shell-footer-inner{width:min(calc(100% - 64px),1280px)}.km-shell-desktop{display:flex;align-items:center;gap:20px;margin-left:auto}.km-shell-desktop>.km-shell-link{white-space:nowrap}.km-shell-desktop .km-shell-panel{position:absolute;z-index:120;top:100%;left:0;min-width:210px;padding:8px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 14px 24px rgba(15,23,42,.1)}.km-shell-desktop .km-shell-panel .km-shell-panel{left:100%;top:0}.km-shell-account,.km-shell-cta{display:inline-flex}.km-shell-menu-button{display:none}.km-shell-footer-top{grid-template-columns:1.4fr 1fr 1fr;gap:45px}}
@media(prefers-reduced-motion:reduce){.km-shell-chevron{transition:none}}
/* Keep the desktop enquiry button from pushing the mobile menu outside the viewport. */
@media(max-width:1279px){.km-shell-header .km-shell-cta{display:none}}

/* Keep navigation and social links scrollable above the enquiry action. */
html.km-shell-menu-open{overflow:hidden}
.km-shell-mobile[open]{display:flex;flex-direction:column;animation:km-shell-menu-in .28s cubic-bezier(.22,1,.36,1) both}
.km-shell-mobile[open]::backdrop{animation:km-shell-backdrop-in .28s ease both}
.km-shell-mobile[open].is-closing{animation:km-shell-menu-out .22s ease-in both}
.km-shell-mobile[open].is-closing::backdrop{animation:km-shell-backdrop-out .22s ease-in both}
.km-shell-mobile-head{flex-shrink:0}
.km-shell-mobile-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.km-shell-mobile nav{max-height:none;padding:14px 20px 0;overflow:visible}
.km-shell-mobile-socials{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px;padding:16px 0 0}
.km-shell-mobile-socials a{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;color:#0f766e;text-decoration:none;font-size:22px}
.km-shell-mobile-socials a:hover{color:#115e59;background:#f0fdfa}
.km-shell-mobile-socials a:focus-visible{outline:2px solid #0f766e;outline-offset:3px}
.km-shell-mobile-cta{position:static;flex-shrink:0;margin:20px;margin-bottom:max(20px,env(safe-area-inset-bottom))}
@keyframes km-shell-menu-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes km-shell-menu-out{from{transform:translateX(0)}to{transform:translateX(100%)}}
@keyframes km-shell-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes km-shell-backdrop-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.km-shell-mobile[open],.km-shell-mobile[open]::backdrop{animation:none}}

/* Expanded site footer. Every optional block is rendered only when populated. */
.km-shell-footer{background:#172525;border-top:0;color:#c9d7d4}
.km-shell-footer-inner{padding:0}
.km-shell-footer-partner{background:#ddf0ea;color:#143b38}
.km-shell-footer-partner-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:28px;padding-bottom:28px}
.km-shell-footer-partner strong{display:block;font-size:18px;line-height:1.3;color:#143b38}
.km-shell-footer-partner p{margin:5px 0 0;font-size:13px;color:#3a615c}
.km-shell-footer-partner a{display:inline-flex;align-items:center;gap:18px;min-height:42px;padding:10px 18px;background:#087d74;color:#fff;text-decoration:none;font-weight:700;white-space:nowrap}
.km-shell-footer-partner a:hover{background:#05695f;color:#fff}
.km-shell-footer-main{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(4,minmax(0,1fr));gap:30px;padding:62px 0 56px}
.km-shell-footer-brand img{width:170px;filter:brightness(0) invert(1)}
.km-shell-footer-brand p{max-width:27ch;margin:17px 0 0;color:#a9bfba;font-size:13px;line-height:1.7}
.km-shell-footer-column .km-shell-footer-label,.km-shell-footer-contact .km-shell-footer-label{margin:4px 0 19px;font-size:12px;font-weight:800;letter-spacing:.09em;line-height:1.4;text-transform:uppercase;color:#fff}
.km-shell-footer-column ul,.km-shell-footer-bottom ul{list-style:none;margin:0;padding:0}
.km-shell-footer-column li{margin:0 0 12px}
.km-shell-footer-column li a{display:inline-block;margin:0;color:#c9d7d4;font-size:13px;line-height:1.5;text-decoration:none}
.km-shell-footer-column a:hover,.km-shell-footer-contact a:hover,.km-shell-footer-bottom a:hover{color:#fff;text-decoration:underline}
.km-shell-footer-column ul ul{margin-top:9px;padding-left:12px;border-left:1px solid #49615b}
.km-shell-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.km-shell-socials a{padding:5px 9px;border:1px solid #536b66;color:#d5e5e0;font-size:12px;text-decoration:none}
.km-shell-socials a:hover{border-color:#9fd9c9;color:#fff}
.km-shell-socials--icons a,.km-shell-socials--icon_text a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px}
.km-shell-socials--icons a{width:48px;padding:0}
.km-shell-socials :is(svg,.fa){flex:none;width:22px;height:22px;font-size:22px;line-height:22px;text-align:center}
.km-shell-socials a:focus-visible{outline:2px solid #7ed9cc;outline-offset:3px}
.km-shell-footer-popular{padding:26px 0 30px;border-top:1px solid #415954}
.km-shell-footer-popular .km-shell-footer-label{margin:0 0 15px;color:#fff;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.km-shell-footer-popular ul{display:flex;flex-wrap:wrap;gap:9px 22px;list-style:none;margin:0;padding:0}
.km-shell-footer-popular li a{color:#c9d7d4;font-size:13px;text-decoration:none}
.km-shell-footer-popular li a:hover{color:#fff;text-decoration:underline}
.km-shell-footer-contact{display:grid;grid-template-columns:minmax(180px,.9fr) 3.1fr;gap:35px;padding:29px 0 33px;border-top:1px solid #415954}
.km-shell-footer-contact a{display:block;width:fit-content;margin:0 0 8px;color:#c9d7d4;font-size:13px;text-decoration:none}
.km-shell-footer-offices .km-shell-footer-label{margin-bottom:17px}
.km-shell-footer-office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.km-shell-footer-office-grid strong{display:block;margin-bottom:8px;color:#fff;font-size:13px}
.km-shell-footer-office-grid address{margin:0 0 8px;color:#a9bfba;font-size:12px;line-height:1.6;font-style:normal}
.km-shell-footer-notice{max-width:100ch;margin:0;padding:23px 0;border-top:1px solid #415954;color:#a9bfba;font-size:12px;line-height:1.65}
.km-shell-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:21px 0 26px;border-top:1px solid #415954;font-size:12px}
.km-shell-footer-bottom p{margin:0;color:#a9bfba}
.km-shell-footer-bottom a{color:#c9d7d4;text-decoration:none}
@media(max-width:1100px){.km-shell-footer-main{grid-template-columns:repeat(4,minmax(0,1fr))}.km-shell-footer-brand{grid-column:1/-1}}
@media(max-width:720px){.km-shell-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 22px;padding:32px 0 28px}.km-shell-footer-brand{grid-column:1/-1}.km-shell-footer-column .km-shell-footer-label{margin:0 0 6px}.km-shell-footer-column li{margin:0}.km-shell-footer-contact{grid-template-columns:1fr;gap:25px}.km-shell-footer-office-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.km-shell-footer-partner-inner{display:block}.km-shell-footer-partner a{margin-top:17px}.km-shell-footer-office-grid{grid-template-columns:1fr}.km-shell-footer-bottom{align-items:flex-start;flex-direction:column}}

/* Mobile navigation controls meet the 48px project target. */
.km-shell-mobile .km-shell-panel .km-shell-link{min-height:48px;display:flex;align-items:center}
@media(max-width:639px){.km-shell-footer-partner a{min-height:48px}.km-shell-footer-column a,.km-shell-footer-bottom a{min-height:48px;display:inline-flex;align-items:center}.km-shell-socials a{min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center}}

.km-shell-membership{display:flex;align-items:center;gap:12px;max-width:290px;margin-top:20px;color:inherit;text-decoration:none}.km-shell-footer-brand .km-shell-membership img,.km-shell-membership img{flex:none;width:40px;height:40px;filter:none;object-fit:contain}.km-shell-membership small{display:block;margin-bottom:4px;font-size:11px;font-weight:500;color:#9bb5b0}.km-shell-membership strong{display:block;font-size:12px;line-height:1.5;font-weight:600}.km-shell-membership:focus-visible{outline:2px solid #7ed9cc;outline-offset:5px}
