/* Homepage links managed through Admin > Agency Links. */
.municipal-systems{padding:clamp(56px,6vw,88px) 0;background:linear-gradient(155deg,#f4f9f6 0%,#e8f3ed 100%)}
.municipal-systems .section-head{margin-bottom:25px}
.municipal-systems .section-head span{color:#99711b}
.municipal-systems .section-head h2{color:#123d32}
.municipal-systems .section-head p{max-width:680px;line-height:1.65}
.municipal-systems .agency-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px}
.municipal-systems .agency-links-grid>a{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:300px;overflow:hidden;padding:24px;border:1px solid #ffffff80;border-radius:18px;background:linear-gradient(145deg,#0b7158,#06392f);box-shadow:0 16px 35px #06453523;color:#fff;transition:transform .22s,box-shadow .22s,border-color .22s}
.municipal-systems .agency-links-grid>a:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#082b2110 12%,#062e27bd 58%,#03251ff2 100%);pointer-events:none}
.municipal-systems .agency-links-grid>a:hover{transform:translateY(-5px);border-color:#eac76b;box-shadow:0 23px 46px #06453535}
.municipal-systems .agency-links-grid>a:focus-visible{outline:3px solid #d7ad3c;outline-offset:4px}
.municipal-systems .agency-link-cover{position:absolute;z-index:-2;inset:0;display:block;width:100%;max-width:none;height:100%;margin:0;border:0;border-radius:0;aspect-ratio:auto;object-fit:cover;box-shadow:none;filter:none;transition:transform .45s ease}
.municipal-systems .agency-links-grid>a:hover .agency-link-cover{transform:scale(1.055);filter:none}
.municipal-systems .agency-links-grid>a>i,.municipal-systems .agency-link-logo{width:52px;height:52px;margin:0 0 auto;border:1px solid #ffffff70;border-radius:13px;background:#ffffffeb;color:#07543e;box-shadow:0 7px 18px #00281e42}
.municipal-systems .agency-links-grid>a>i{display:grid;place-items:center;font-size:1.4rem}
.municipal-systems .agency-link-logo{padding:6px;object-fit:contain}
.municipal-systems .agency-links-grid>a>div{display:flex;flex-direction:column;align-items:flex-start;margin-top:auto;padding-top:26px}
.municipal-systems .agency-links-grid small{color:#f6d987;font-size:.73rem;line-height:1.5}
.municipal-systems .agency-links-grid h3{margin:6px 0 15px;color:#fff;font-size:clamp(1.05rem,1.4vw,1.2rem);line-height:1.45;text-wrap:balance}
.municipal-systems .agency-links-grid span{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding:9px 13px;border:1px solid #ffffff8c;border-radius:999px;background:#ffffff1c;color:#fff;font-size:.78rem;line-height:1.35}
.municipal-systems .agency-links-grid>a:hover span{background:#e9c76d;color:#17392e;border-color:#e9c76d}
@media(max-width:720px){.municipal-systems .agency-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.municipal-systems .agency-links-grid>a{min-height:260px;padding:18px}.municipal-systems .agency-links-grid h3{font-size:1rem}}
@media(max-width:480px){.municipal-systems .agency-links-grid{grid-template-columns:1fr}.municipal-systems .agency-links-grid>a{min-height:260px;padding:22px}.municipal-systems .agency-links-grid h3{font-size:1.12rem}}
@media(prefers-reduced-motion:reduce){.municipal-systems .agency-links-grid>a,.municipal-systems .agency-link-cover{transition:none}}

/* Give landscape covers their full frame instead of cropping them into narrow cards. */
@media(min-width:901px){.municipal-systems .agency-links-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.municipal-systems .agency-links-grid>a:has(.agency-link-cover){aspect-ratio:16/9;min-height:0}
.municipal-systems .agency-links-grid>a:has(.agency-link-cover) .agency-link-cover{object-fit:contain;background:#eef5f0}
@media(min-width:481px) and (max-width:900px){.municipal-systems .agency-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.municipal-systems .agency-links-grid{grid-template-columns:1fr}.municipal-systems .agency-links-grid>a:has(.agency-link-cover){aspect-ratio:16/9;min-height:230px}}
.municipal-systems{position:relative;isolation:isolate;overflow:hidden}.municipal-systems:before{content:"";position:absolute;z-index:-1;width:420px;height:420px;right:-140px;top:-170px;border:70px solid #0b71581c;border-radius:50%;box-shadow:0 0 0 45px #0b71580b}.municipal-systems .section-head{align-items:center;padding:22px 26px;border-radius:20px;background:linear-gradient(120deg,#ffffffd9,#ffffff85);box-shadow:0 10px 28px #06453512}.municipal-systems .section-head h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:5px 0;color:#063f32}.municipal-systems .section-head span{display:inline-flex;align-items:center;gap:8px;font-size:.82rem}.municipal-systems .section-head span:before{content:"✦";color:#d6a936;font-size:1.1rem}.municipal-systems .agency-links-grid{gap:22px}.municipal-systems .agency-links-grid>a{min-height:320px;border-radius:20px;box-shadow:0 18px 38px #0645352e}.municipal-systems .agency-links-grid>a:after{content:"";position:absolute;inset:auto 18px 18px;height:1px;background:#ffffff45}.municipal-systems .agency-links-grid h3{font-size:clamp(1.15rem,1.7vw,1.4rem)}
