/*
Theme Name: Sutliff Tax Collector
Description: Modern, professional government-style theme (white/off-white base, navy/red accents).
Version: 1.4.2
License: GPL-2.0-or-later
Text Domain: sutliff-tax-collector
*/

:root{
  --bg: #f5f7fb;         /* cool off-white */
  --white: #ffffff;
  --text: #0b1220;
  --muted: #5b6776;
  --rule: #e6eaf2;

  --navy: #0b3a66;
  --navy-2: #0a2f52;
  --red: #b0122b;

  --max: 1160px;
  --gutter: 22px;
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background: var(--bg);
  line-height:1.65;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:var(--navy); text-decoration:underline; text-underline-offset:3px}
a:hover{color:var(--navy-2)}
a:focus,button:focus,input:focus,textarea:focus,select:focus{outline:3px solid rgba(11,58,102,.25); outline-offset:2px}

.skip-link{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip-link:focus{left:1rem; top:1rem; width:auto; height:auto; padding:.55rem .85rem; background:var(--white); border:1px solid var(--rule); border-radius:999px; z-index:9999;}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--rule);
}
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding: 18px var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}
.brand{
  text-decoration:none;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand strong{
  font-size: 18px;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.15;
}
.brand span{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle{
  display:none;
  border:1px solid var(--rule);
  background:var(--white);
  padding:.55rem .85rem;
  border-radius:999px;
  font-weight:600;
}
.primary-nav{
  display:flex;
  align-items:center;
  gap: 14px;
}
.primary-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap: 18px;
  align-items:center;
}
.primary-nav a{
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover{color:var(--navy)}
.primary-nav .current-menu-item > a{
  color:var(--navy);
  border-bottom-color: var(--navy);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: 10px 14px;
  border-radius: 999px;
  border:1px solid rgba(11,58,102,.22);
  background: rgba(11,58,102,.06);
  color: var(--navy);
  text-decoration:none;
  font-weight:800;
  font-size: 13px;
}
.btn:hover{background: rgba(11,58,102,.10)}
.btn-red{
  border-color: rgba(176,18,43,.25);
  background: rgba(176,18,43,.10);
  color: var(--red);
}
.btn-red:hover{background: rgba(176,18,43,.14)}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding: 34px var(--gutter);
}

.hero{
  background: var(--white);
  border:1px solid var(--rule);
  border-radius: calc(var(--radius) + 6px);
  padding: 26px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:stretch;
  box-shadow: 0 18px 38px rgba(15,23,42,.06);
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1{
  margin: 10px 0 10px;
  font-size: 44px;
  line-height:1.08;
  letter-spacing: -0.02em;
}
.lede{
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions{display:flex; gap: 12px; flex-wrap:wrap; margin-top: 14px;}

.portrait{
  background: #fbfcff;
  border:1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 10px;
}
.portrait img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 14px;
  border:1px solid var(--rule);
  background:#f3f6fb;
}
.portrait .cap{
  font-size: 13px;
  color: var(--muted);
}
.portrait .cap strong{color:var(--text)}

.section{
  margin-top: 22px;
  background: var(--white);
  border:1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 24px rgba(15,23,42,.05);
}
.section h2{
  margin:0 0 10px;
  font-size: 20px;
  letter-spacing:-.01em;
}
.section p{margin: 0 0 12px; color: var(--muted);}

.help-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.help-item{
  border:1px solid var(--rule);
  border-radius: 16px;
  padding: 14px;
  text-decoration:none;
  color: var(--text);
  background: #ffffff;
}
.help-item:hover{border-color: rgba(11,58,102,.25)}
.help-item .icon{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(11,58,102,.08);
  border: 1px solid rgba(11,58,102,.16);
}
.help-item svg{width:18px;height:18px; fill:none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;}
.help-item strong{
  display:block;
  margin-top: 10px;
  font-size: 14px;
}
.help-item span{
  display:block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.notice{
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--navy);
  background: rgba(11,58,102,.06);
  border-radius: 12px;
  color: var(--navy-2);
  font-size: 14px;
}

.content{
  max-width: 860px;
}
.content h1{font-size: 34px}
.content h2{margin-top: 22px}
.content table{
  width:100%;
  border-collapse:collapse;
  background: var(--white);
  border:1px solid var(--rule);
  border-radius: 14px;
  overflow:hidden;
}
.content th,.content td{padding: 12px; border-bottom:1px solid var(--rule); text-align:left; vertical-align:top}
.content th{background: rgba(11,58,102,.05)}
.content tr:last-child td{border-bottom:0}

.site-footer{
  margin-top: 26px;
  background: var(--navy);
  color: #eaf2ff;
}
.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding: 28px var(--gutter);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
}
.site-footer a{color:#ffffff; text-decoration:underline; text-underline-offset:3px}
.site-footer a:hover{opacity:.9}
.footer-title{
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size: 13px;
  margin: 0 0 10px;
}
.footer-inner p{margin: 0 0 10px}
.footer-links{margin:0; padding-left: 18px}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 12px var(--gutter);
  font-size: 12px;
  color: rgba(234,242,255,.85);
}
.footer-bottom-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}

@media (max-width: 980px){
  .hero{grid-template-columns: 1fr}
  h1{font-size: 38px}
  .help-grid{grid-template-columns: 1fr 1fr}
}



/* Utility */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}



/* Mobile flyout navigation */
.nav-toggle{display:none}
.nav-toggle .hamburger{stroke: var(--navy); stroke-width:2.4; stroke-linecap:round; fill:none}
.nav-overlay{
  position:fixed; inset:0;
  background: rgba(11,18,32,.42);
  z-index:90;
}
@media (max-width: 760px){
  .nav-toggle{display:inline-flex}
  .primary-nav{position:relative; gap:0}
  .primary-nav ul{
    display:flex; /* keep for desktop; we will override positioning below */
    flex-direction:column;
    align-items:flex-start;
    gap: 10px;
    padding: 18px;
    margin:0;
    width: min(86vw, 340px);
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: var(--white);
    border-left: 1px solid var(--rule);
    box-shadow: -18px 0 38px rgba(15,23,42,.14);
    transform: translateX(105%);
    transition: transform .22s ease;
    z-index:110; }
  .primary-nav a{
    width:100%;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(230,234,242,.8);
    font-size: 15px;
  }
  .primary-nav .current-menu-item > a{
    border-bottom-color: rgba(11,58,102,.35);
  }
  body.nav-open .primary-nav ul{ transform: translateX(0); }
  body.nav-open .nav-overlay{ display:block; }
}
