.newsgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.newsitem{background:white;border:1px solid #dce0e5;border-top:3px solid #c7a45c;border-radius:10px;padding:18px;min-width:0}
.newsitem h3{margin:8px 0;color:#101827}
.newsitem small{color:#80632c;font-weight:700}
.newsitem img{width:100%;height:auto;border-radius:6px;display:block;margin-top:12px}
.newsitem p{margin:8px 0;line-height:1.5}
@media(max-width:850px){.newsgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.newsgrid{grid-template-columns:1fr}}
#news .newsgrid{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:12px;margin-top:14px;border:1px solid #dce0e5;border-radius:12px;background:#f4f5f7;scrollbar-color:#a88b50 #e5e7eb;scrollbar-width:thin}
#news .newsitem{flex:0 0 auto;padding:12px 14px;border-top:1px solid #dce0e5;border-left:3px solid #c7a45c;display:flow-root}
#news .newsitem h3{font-size:1.05rem;margin:5px 0}
#news .newsitem p{font-size:.92rem;margin:5px 0}
#news .newsitem img{float:right;width:112px;max-height:120px;object-fit:contain;margin:0 0 4px 12px;background:#f4f5f7}
#news .feedhint{font-size:.78rem;color:#626a76;margin:8px 0 0;text-align:right}
#news .newsgrid:focus-visible{outline:2px solid #80632c;outline-offset:3px}
@media(max-width:550px){#news .newsgrid{max-height:290px;padding:8px}
#news .newsitem img{width:90px;max-height:100px}}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.6 system-ui,sans-serif;color:#172235;background:#f5f6f8}
a{color:inherit}
a:focus-visible{outline:3px solid #c7a45c;outline-offset:4px}
.draft{text-align:center;background:#e8e0ce;padding:5px;font-size:12px}
.emergency{background:#101827;color:white;padding:8px 5%;text-align:right;font-size:13px}
header{background:white;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 5%;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:15px}
.brand img{width:62px;height:80px;object-fit:contain}
.brand strong{display:block;font-size:22px;line-height:1.2}
.brand small{letter-spacing:2px;font-size:11px}
nav{display:flex;gap:20px;flex-wrap:wrap}
nav a{text-decoration:none;font-weight:650;font-size:14px}
.hero{min-height:470px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(10,19,33,.97),rgba(10,19,33,.75) 38%,rgba(10,19,33,.05)),url("assets/patrol-hero.jpg") center 55%/cover;color:white;padding:65px 7%}
.hero div{max-width:560px}
.eyebrow{color:#e0bf7b;letter-spacing:3px;font-size:12px;font-weight:700}
h1{font-size:clamp(38px,6vw,70px);line-height:1.04;margin:15px 0}
h2{font-size:30px;line-height:1.2}
.button{display:inline-block;padding:12px 20px;background:#d4b574;color:#101827;text-decoration:none;font-weight:700;border-radius:3px;margin:8px 8px 0 0}
.outline{background:transparent;border:1px solid white;color:white}
section{padding:45px 7%;scroll-margin-top:20px}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.tile{background:white;border:1px solid #dce0e5;border-top:3px solid #c7a45c;padding:20px;text-decoration:none}
.tile strong{display:block;font-size:19px}
.tile span{font-size:14px;color:#465368}
.split{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;background:white}
.split img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;object-position:center;background:#f5f6f8}
.patch{max-width:180px;float:right;margin:0 0 15px 20px}
footer{background:#101827;color:white;padding:35px 7%}
footer p{color:#d1d5db}
@media(max-width:650px){.hero{min-height:440px;background-position:65% center}
.split{grid-template-columns:1fr}
nav{gap:12px}
.brand strong{font-size:19px}
.emergency{text-align:center}}
.programs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px}
.program-photo{display:block;width:100%;height:210px;object-fit:contain;background:#f0f1f3;border-radius:5px}
.roster small{display:block;color:#526074;margin-top:5px}
.programs ol{padding-left:22px}
.fbhead{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.fbhead h2{margin-bottom:0}
.fbfeed{display:grid;grid-template-columns:minmax(0,500px) minmax(0,1fr);gap:24px;background:white;padding:20px;border:1px solid #dce0e5;border-top:3px solid #c7a45c;border-radius:5px}
.fbfeed iframe{width:100%}
@media(max-width:700px){.fbfeed{grid-template-columns:1fr;padding:12px}}

.portal{display:none;background:#101827;color:#fff;padding:40px 5%;max-width:none;margin:0}
.portal:target{display:block}
.loginbox{max-width:650px;margin:auto;padding:26px;background:#1c293c;border:1px solid #455164;border-radius:12px}
.loginbox .eyebrow{color:#c7a45c}
.loginbox a:focus-visible{outline:3px solid white}


@media (min-width: 1000px) {
 body{background:#eef0f3}
header,.emergency,footer,main>section,.hero{padding-left:max(40px,calc((100% - 1240px)/2));padding-right:max(40px,calc((100% - 1240px)/2))}
 header{gap:20px;padding-top:18px;padding-bottom:18px;flex-wrap:nowrap}
.brand{flex-shrink:0;gap:12px}
.brand strong{font-size:20px}
.brand img{width:56px;height:70px}
nav{justify-content:flex-end;gap:12px 20px}
nav a{white-space:nowrap;font-size:14px}
 .hero{min-height:490px;background-position:center 56%;padding-top:65px;padding-bottom:65px}
.hero h1{font-size:clamp(48px,4.5vw,66px)}
.hero div{max-width:550px}
.hero p{max-width:520px}
 main>section{padding-top:38px;padding-bottom:38px}
h2{margin-top:0;font-size:30px}
.tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tile{min-width:0;padding:18px}
.tile strong{font-size:18px}
.programs{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.split{grid-template-columns:1fr 1fr;gap:44px}
.split img{max-height:390px}
.program-photo{height:200px}
 #news .newsgrid{max-height:300px;display:flex;gap:10px;padding:12px}
#news .newsitem{padding:12px 18px}
#news .newsitem img{width:150px;max-height:112px}
#news .newsitem p{max-width:90ch}
.fbhead{margin-bottom:10px}
.fbhead h2{margin:0}
.patch{max-width:150px}
 footer{padding-top:32px;padding-bottom:28px}
}
@media(min-width:1000px) and (max-width:1199px){header{flex-wrap:wrap}
nav{justify-content:flex-start}
.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Keyboard access, narrow screens, and user motion preferences. */
.skip-link {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: #101827;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
a:focus-visible, #personnel:focus-visible {
  outline: 3px solid #101827;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
.emergency a, nav a { display: inline-block; min-height: 24px; }
#news .newsgrid { overscroll-behavior-y: auto; scrollbar-color: #80632c #e5e7eb; }
.hero { background-color: #101827; }
.hero h1, .hero p, .hero .eyebrow { text-shadow: 0 1px 3px #101827; }
a, .tile { overflow-wrap: anywhere; }
#contact { scroll-margin-top: 12px; }
@media (max-width: 650px) {
  nav { column-gap: 16px; row-gap: 4px; }
  nav a { padding-block: 7px; }
  .hero {
    background-image: linear-gradient(90deg, rgba(10,19,33,.94), rgba(10,19,33,.66)), url("assets/patrol-hero.jpg");
  }
  .patch { width: 28%; height: auto; margin-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Personnel calendar sign-in. */
.personnel-page { min-height: 100vh; background: #101827; color: #fff; padding: clamp(16px, 5vw, 48px); }
.personnel-page h1 { font-size: clamp(28px, 5vw, 42px); }
.personnel-page label { display: block; margin-top: 14px; font-weight: 650; }
.personnel-page input { display: block; width: 100%; padding: 10px; border: 1px solid #8994a4; border-radius: 4px; font: inherit; }
.personnel-page button { margin-top: 18px; border: none; font: inherit; font-weight: 700; cursor: pointer; }
.personnel-page :is(input, button):focus-visible { outline: 3px solid white; outline-offset: 3px; }
.personnel-page .login-message { color: #ffe1a5; }

.resident-faq { margin-top: 28px; }
.resident-faq details {
  background: #fff;
  border: 1px solid #dce0e5;
  border-radius: 6px;
  margin-top: 8px;
}
.resident-faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 12px 16px;
}
.resident-faq summary:focus-visible {
  outline: 3px solid #101827;
  outline-offset: 2px;
}
.resident-faq details p { margin: 0; padding: 0 16px 14px; }
#drug-drop-box { scroll-margin-top: 20px; }
