/* The same footer also runs outside the legacy service application's root. */
.site-foot[data-ketumati-footer] {
  --footer-paper:#f4efe6;
  --footer-ink:#172722;
  --footer-gold:#e4b74f;
  --footer-berry:#9b3047;
  --footer-ui:"Bricolage Grotesque",Arial,sans-serif;
  --footer-reading:"Spectral",Georgia,"Times New Roman",serif;
  display:block;
  margin:0;
  padding:3rem 0 2rem;
  background:var(--footer-ink);
  color:var(--footer-paper);
  font:400 1rem/1.5 var(--footer-ui);
}
.site-foot[data-ketumati-footer] * {box-sizing:border-box}
.site-foot[data-ketumati-footer] > .frame {
  width:min(100% - clamp(2.25rem,10vw,11rem),82rem);
  margin-inline:auto;
}
.site-foot[data-ketumati-footer] :is(h2,p,blockquote,nav) {margin:0;padding:0;color:inherit}
.site-foot[data-ketumati-footer] p + p {margin-top:.9em}
.site-foot[data-ketumati-footer] a {color:inherit;text-decoration:none}
.site-foot[data-ketumati-footer] a:hover {color:var(--footer-gold)}
.site-foot[data-ketumati-footer] :focus-visible {outline:3px solid var(--footer-gold);outline-offset:3px}
.site-foot[data-ketumati-footer] .foot-top {
  display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:1.2rem 2.6rem;padding-bottom:2.55rem;
}
.site-foot[data-ketumati-footer] .foot-identity {display:inline-flex;min-width:0;min-height:44px;align-items:center;gap:.55rem}
.site-foot[data-ketumati-footer] .foot-identity img {display:block;max-width:100%;height:auto}
.site-foot[data-ketumati-footer] .foot-identity .mark {width:2.6rem;flex:none}
.site-foot[data-ketumati-footer] .foot-identity img:nth-child(2) {width:8.5rem}
.site-foot[data-ketumati-footer] .foot-statement p {max-width:16rem;font:400 1.16rem/1.55 var(--footer-reading);margin-top:.45rem}
.site-foot[data-ketumati-footer] .foot-top nav {display:grid;align-content:start;gap:.32rem}
.site-foot[data-ketumati-footer] .foot-top nav h2 {font:600 1.2rem/1.5 var(--footer-reading);margin-bottom:.25rem}
.site-foot[data-ketumati-footer] .foot-top nav a {display:flex;align-items:center;gap:.44rem;min-height:36px;font-size:.91rem}
.site-foot[data-ketumati-footer] .foot-values {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:2rem 4rem;padding-block:2rem;border-block:1px solid rgb(244 239 230 / .3);
}
.site-foot[data-ketumati-footer] :is(.foot-values,.dedication) h2 {font:700 clamp(1.25rem,2.5vw,1.7rem)/1.15 var(--footer-ui);letter-spacing:-.026em;margin-bottom:.6rem}
.site-foot[data-ketumati-footer] .foot-values section > p {font-size:.93rem}
.site-foot[data-ketumati-footer] .dignity {border-left:2px solid var(--footer-gold);padding-left:1rem}
.site-foot[data-ketumati-footer] .foot-values .quote-intro {margin-top:1rem;color:#e4d6b6}
.site-foot[data-ketumati-footer] .foot-values blockquote {font:italic 400 1.08rem/1.57 var(--footer-reading);margin:.48rem 0 .7rem;max-width:36rem}
.site-foot[data-ketumati-footer] .foot-values .text-link {color:var(--footer-gold);font-weight:650}
.site-foot[data-ketumati-footer] .foot-end {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.5rem;align-items:end;padding-top:2rem}
.site-foot[data-ketumati-footer] .dedication {max-width:34rem;background:var(--footer-berry);padding:1.25rem 1.45rem;font:400 1.05rem/1.53 var(--footer-reading)}
.site-foot[data-ketumati-footer] .dedication h2 {font-family:var(--footer-reading);font-weight:600}
.site-foot[data-ketumati-footer] .colophon {width:min(15rem,100%)}
.site-foot[data-ketumati-footer] .colophon :is(p,a,summary,button) {font:inherit;font-size:.9rem}
.site-foot[data-ketumati-footer] .colophon :is(a,summary,button) {min-height:44px;align-items:center}
.site-foot[data-ketumati-footer] .colophon a {display:inline-flex;gap:.35rem}
.site-foot[data-ketumati-footer] .foot-more {border-bottom:1px solid rgb(244 239 230 / .24);margin-bottom:.7rem}
.site-foot[data-ketumati-footer] .foot-more summary {cursor:pointer;padding-block:.65rem}
.site-foot[data-ketumati-footer] .foot-more p {margin-bottom:.7rem}
.site-foot[data-ketumati-footer] .foot-more nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.site-foot[data-ketumati-footer] .foot-more button:not([hidden]) {display:inline-flex;margin-bottom:.7rem;padding:.35rem .8rem;background:var(--footer-gold);color:var(--footer-ink);border:0;cursor:pointer}
html[data-ketumati-public-service] body:has(> [data-ketumati-footer]) #root > .shell > .site-footer.footer-editorial {display:none}

@media (max-width:59rem) {
  .site-foot[data-ketumati-footer] .foot-top {gap:1.25rem}
}
@media (max-width:44rem) {
  .site-foot[data-ketumati-footer] .foot-top {grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-foot[data-ketumati-footer] .foot-statement {grid-column:1/-1}
  .site-foot[data-ketumati-footer] .foot-top nav:last-child {grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-foot[data-ketumati-footer] .foot-top nav:last-child h2 {grid-column:1/-1}
  .site-foot[data-ketumati-footer] :is(.foot-values,.foot-end) {grid-template-columns:1fr}
}
@media (max-width:22rem) {
  .site-foot[data-ketumati-footer] :is(.foot-top,.foot-top nav:last-child) {grid-template-columns:1fr}
  .site-foot[data-ketumati-footer] .foot-top nav a {overflow-wrap:anywhere}
}
@media print {
  .site-foot[data-ketumati-footer] {display:none}
}
