/* City of Edgerton, Kansas — design concept by Clearview. Brand colours taken from the City logo and edgertonks.org (21 Oct 2026): brown #69331f, lime #bfce3d, orange #ec8a32. */

:root {
  --green: #69331f;      /* header and footer band: the City's brown, from edgertonks.org */
  --green-dk: #4a2315;
  --blue: #69331f;       /* links and buttons in the same brown (13.9:1 on white) */
  --maroon: #69331f;     /* section headings */
  --navgrey: #32373c;    /* nav bar, the live site's dark grey (11:1 with white) */
  --lime: #bfce3d;       /* logo lime: decoration and text on brown only (fails on white) */
  --orange: #ec8a32;     /* logo orange: decoration only (2.6:1 on white) */
  --ink: #1f1a17;
  --muted: #4a4440;
  --line: #ddd6cf;
  --tint: #f5f1ea;
  --cream: #faf7f2;
  --alert: #fdf3e1;
  --alert-line: #a05a00;
  --head: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --wrap: 72rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-wrap: anywhere; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #e8a33d; outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2.1rem; color: var(--green); }
h2 { font-size: 1.6rem; color: var(--maroon); }
h3 { font-size: 1.2rem; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* concept ribbon */
.concept-bar { background: #1d1d1b; color: #fff; font-size: .9rem; }
.concept-bar .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; }
.concept-bar a { color: #fff; }
.concept-bar button { font: inherit; background: transparent; color: #fff; border: 1px solid #fff; border-radius: 3px; padding: .15rem .6rem; cursor: pointer; }
.concept-bar button[aria-pressed="false"] { opacity: .85; }

/* alert band (replaces the urgent-message database) */
.alerts { background: var(--alert); border-bottom: 2px solid var(--alert-line); }
.alerts .wrap { padding-top: .6rem; padding-bottom: .6rem; }
.alerts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.alerts li { display: flex; gap: .6rem; align-items: baseline; }
.alerts .tag { flex: none; font-family: var(--head); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; background: var(--alert-line); color: #fff; padding: .05rem .45rem; border-radius: 2px; }
.alerts .ok { background: var(--green); }

/* header */
.site-head { background: var(--green); color: #fff; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; flex-wrap: wrap; min-width: 0; align-items: center; gap: 1.1rem; color: #fff; text-decoration: none; }
.brand img { width: 230px; }
.brand .welcome { font-family: var(--head); font-size: 1.7rem; line-height: 1.1; }
.head-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .95rem; }
.head-links a { color: #fff; }
nav.main { background: var(--navgrey); border-bottom: 4px solid var(--lime); }
nav.main ul { list-style: none; margin: 0 auto; padding: 0 .5rem; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: space-between; }
nav.main a { display: block; color: #fff; text-decoration: none; font-family: var(--head); text-transform: uppercase; letter-spacing: .03em; padding: .7rem .7rem; }
nav.main a:hover, nav.main a[aria-current="page"], nav.main a.in-section { background: var(--green-dk); color: #fff; }
.menu-btn { display: none; }

/* page head */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 1.6rem; padding-bottom: 1.4rem; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; margin: 0; }
.crumbs { font-size: .9rem; margin: 0 0 .4rem; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #fff; }
.strip img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }

/* layout */
main { display: block; }
.band { padding: 2.2rem 0; }
.band.tint { background: var(--tint); }
.band.cream { background: var(--cream); }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 2.5rem; align-items: start; }
.side { background: var(--cream); border-top: 4px solid var(--green); padding: 1rem 1.2rem; font-size: .97rem; }
.side h2 { font-size: 1.15rem; color: var(--green); }
.side ul { margin: 0; padding-left: 1.1rem; }
.side li { margin: .25rem 0; }
.grid { display: grid; gap: 1.2rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.prose { max-width: 46rem; }
.prose ul { padding-left: 1.2rem; }

/* home */
.hero { background: var(--cream); }
.hero .wrap { padding-top: 2rem; padding-bottom: 2rem; }
.hero h1 { font-size: 2.4rem; }
.hero .lead { font-size: 1.2rem; color: var(--muted); }
.hero figure { margin: 0; }
.hero figure img { border-radius: 4px; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.hero figcaption, figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.tasks a { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-decoration: none; color: var(--blue); font-weight: bold; }
.tasks .ico { width: 4rem; height: 4rem; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.tasks a:hover .ico { background: var(--green); }
.tasks svg { width: 1.9rem; height: 1.9rem; }
.label { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--maroon); margin: 0 0 .3rem; }
.season-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1.1rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; }
.when { font-weight: bold; color: var(--green); }
.price { color: var(--muted); font-size: .95rem; }
.card .more { margin-top: auto; padding-top: .4rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.tiles a { display: block; text-decoration: none; }
.tiles img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; border-radius: 4px 4px 0 0; }
.tiles span { display: block; text-align: center; font-family: var(--head); font-weight: 700; text-transform: uppercase; color: var(--maroon); font-size: 1.35rem; padding: .45rem 0; border-bottom: 4px solid var(--orange); }
.tiles a:hover span { color: var(--green); border-color: var(--green); }
.meeting { background: #fff; border-left: 5px solid var(--green); padding: 1rem 1.2rem; }

/* buttons and forms */
.btn { display: inline-block; background: var(--blue); color: #fff; border: 2px solid var(--blue); padding: .55rem 1.1rem; border-radius: 3px; text-decoration: none; font-weight: bold; font-size: 1rem; cursor: pointer; font-family: var(--body); }
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn.line { background: #fff; color: var(--blue); }
.btn.line:hover { background: var(--tint); color: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.4rem; }
.signup { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .2rem; }
.field label { font-weight: bold; font-size: .95rem; }
input[type="email"] { font: inherit; padding: .5rem .6rem; border: 1px solid #767676; border-radius: 3px; min-width: 15rem; max-width: 100%; }
.formnote:empty { display: none; }
.formnote { background: var(--alert); border-left: 4px solid var(--alert-line); padding: .5rem .8rem; margin-top: .6rem; font-size: .95rem; }

/* tables and documents */
.table-wrap { overflow-x: auto; position: relative; margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
caption { text-align: left; font-family: var(--head); font-size: 1.15rem; padding-bottom: .4rem; }
th, td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
thead th { background: var(--green); color: #fff; font-weight: normal; font-family: var(--head); }
tbody th { background: var(--cream); font-weight: bold; }
tr.today th, tr.today td { background: #fff7d6; }
.fmt { font-size: .8rem; color: var(--muted); }
.status { font-size: .85rem; padding: .05rem .4rem; border-radius: 2px; background: var(--tint); white-space: nowrap; }
.status.draft { background: var(--alert); }
.status.cancelled { background: #eee; color: #555; }
.doclist { list-style: none; padding: 0; margin: 0 0 1rem; }
.doclist li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; margin: 0 0 1rem; }
dl.facts dt { font-weight: bold; }
dl.facts dd { margin: 0; }

/* design notes */
.anno { background: #fffbea; border: 1px dashed #b08900; border-radius: 4px; padding: .7rem .9rem; margin: 1.2rem 0; font-size: .93rem; color: #3d3200; }
body.notes-off .anno { display: none; }
.need { background: #f1f1f1; border: 1px dashed #888; padding: 0 .3rem; font-size: .9rem; }

/* footer */
.site-foot { background: var(--green); color: #fff; margin-top: 0; padding-bottom: 6rem; /* keeps the Nanopage badge corner clear */ }
.site-foot .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-top: 2rem; }
.site-foot h2 { color: #fff; font-size: 1.15rem; }
.site-foot a { color: #fff; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: .25rem 0; }
.site-foot .signup label { color: #fff; }
.site-foot .formnote { color: var(--ink); }
.foot-note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.35); padding-top: 1rem; font-size: .9rem; }

@media (max-width: 60rem) {
  .with-side, .split { grid-template-columns: minmax(0, 1fr); }
  .tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  h1, .hero h1 { font-size: 1.8rem; }
  .brand img { width: 180px; }
  .brand .welcome { font-size: 1.25rem; }
  .menu-btn { display: block; width: 100%; font: inherit; font-family: var(--head); text-transform: uppercase; background: var(--navgrey); color: #fff; border: 0; padding: .7rem 1rem; text-align: left; cursor: pointer; }
  nav.main ul { flex-direction: column; padding: 0; }
  nav.main.js-closed ul { display: none; }
  .tiles, .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:nth-child(3) { display: none; }
  dl.facts { grid-template-columns: minmax(0, 1fr); }
  input[type="email"] { min-width: 0; width: 100%; }
  .signup .field { width: 100%; }
}
@media print { .concept-bar, .anno, nav.main { display: none; } }

/* Edgerton additions */
.site-head .wrap { padding-top: 1rem; padding-bottom: 1rem; }
.head-search { display: flex; gap: .4rem; align-items: center; }
.head-search label { color: #fff; font-size: .95rem; }
.head-search input { font: inherit; padding: .4rem .55rem; border: 1px solid #fff; border-radius: 3px; width: 13rem; max-width: 100%; }
.head-search button { font: inherit; background: var(--lime); color: #1f1a17; border: 0; border-radius: 3px; padding: .42rem .8rem; font-weight: bold; cursor: pointer; }
.hero-band { background: var(--cream); border-bottom: 4px solid var(--orange); }
.hero-band .wrap { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.hero-band h1 { color: var(--maroon); font-size: 2.2rem; }
.tasks .ico { background: var(--maroon); }
.tasks a:hover .ico { background: var(--green-dk); }
.tasks a { color: var(--maroon); }
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.doors li { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--orange); padding: 1rem 1.2rem; }
.doors li:nth-child(2) { border-top-color: var(--lime); }
.doors li:nth-child(3) { border-top-color: var(--maroon); }
.doors h3 a { color: var(--maroon); }
.doors ul { padding-left: 1.1rem; margin: 0; }
.mlist { list-style: none; margin: 0; padding: 0; }
.mlist li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .2rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.mlist .d { font-weight: bold; color: var(--maroon); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chips button, .chips a { font: inherit; font-size: .9rem; background: #fff; color: var(--maroon); border: 1px solid var(--maroon); border-radius: 999px; padding: .2rem .8rem; cursor: pointer; text-decoration: none; }
.chips button[aria-pressed="true"] { background: var(--maroon); color: #fff; }
.agenda { counter-reset: none; padding-left: 0; list-style: none; }
.agenda > li { padding: .55rem 0 .55rem 2.6rem; border-bottom: 1px solid var(--line); position: relative; }
.agenda > li .n { position: absolute; left: 0; top: .55rem; width: 2rem; font-weight: bold; color: var(--maroon); }
.agenda h3 { font-size: 1.1rem; margin: 1.4rem 0 .2rem; }
.agenda .att { font-size: .92rem; }
.agenda .act { font-size: .9rem; color: var(--muted); }
.code-sec { border-top: 1px solid var(--line); padding: 1rem 0; }
.code-sec h3 { font-size: 1.1rem; }
.code-sec h3 .sec { color: var(--maroon); margin-right: .4rem; }
.code-sec .tools { font-size: .88rem; margin: -.2rem 0 .5rem; }
.code-sec ol { list-style: none; padding-left: 1.2rem; margin: .2rem 0 .6rem; }
.code-sec p { margin: 0 0 .5rem; }
.code-sec:target { background: #fff7d6; outline: 2px solid var(--orange); outline-offset: 4px; }
.current { display: inline-block; background: var(--tint); border-left: 4px solid var(--lime); padding: .4rem .8rem; margin: 0 0 1rem; }
.toc-cols { columns: 2; column-gap: 2rem; padding-left: 1.2rem; }
.toc-cols li { break-inside: avoid; margin: .2rem 0; }
.badge { font-size: .8rem; background: var(--tint); border: 1px solid var(--line); border-radius: 2px; padding: 0 .35rem; white-space: nowrap; }
.badge.web { background: #eef4d2; border-color: #a7b52d; }
.badge.arch { background: #eee; }
.cal { table-layout: fixed; }
.cal th { text-align: center; }
.cal td { height: 6.2rem; font-size: .82rem; padding: .25rem .3rem; }
.cal td .dn { display: block; font-weight: bold; color: var(--muted); }
.cal td.out { background: #faf9f7; }
.cal ul { list-style: none; padding: 0; margin: 0; }
.cal li { margin: 0 0 .15rem; line-height: 1.25; }
.cal li.meet a { color: #fff; background: var(--maroon); padding: 0 .2rem; border-radius: 2px; text-decoration: none; }
.cal li.rec { border-left: 3px solid var(--lime); padding-left: .2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: end; margin: 0 0 1rem; background: var(--tint); padding: .8rem 1rem; }
.filters select, .filters input[type="search"] { font: inherit; padding: .35rem .5rem; border: 1px solid #767676; border-radius: 3px; max-width: 100%; }
.alertbox { border-left: 6px solid var(--alert-line); background: var(--alert); padding: 1rem 1.2rem; margin: 0 0 1.2rem; }
.alertbox.emerg { border-left-color: #b00020; background: #fdecee; }
.staffview { border: 2px solid var(--navgrey); border-radius: 4px; background: #fff; }
.staffview .bar { background: var(--navgrey); color: #fff; padding: .4rem .8rem; font-size: .9rem; }
.staffview .in { padding: 1rem; }
.staffview fieldset { border: 1px solid var(--line); padding: .6rem .8rem; margin: 0 0 .8rem; }
.staffview legend { font-weight: bold; }
.staffview label { display: block; margin: .2rem 0; }
.staffview input[type="text"], .staffview textarea, .staffview select { font: inherit; width: 100%; max-width: 32rem; padding: .35rem .5rem; border: 1px solid #767676; border-radius: 3px; }
.results li { margin: .4rem 0; }
@media (max-width: 60rem) { .doors { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 48rem) {
  .cal-month { display: none; }
  .toc-cols { columns: 1; }
  .mlist li { grid-template-columns: minmax(0, 1fr); }
  .head-search input { width: 100%; }
  .head-search { width: 100%; }
}
.split { align-items: start; }
.filters .field { flex: 1 1 12rem; min-width: 0; }
.filters input[type="search"], .filters select { width: 100%; }
.cal li a { display: inline-flex; align-items: center; min-height: 24px; }
