/* site-footer.css: the shared site footer (build 20261012-5).
   Copies the footer of the home page (thearthistory.org v3.22) value for value: the computed styles of footer.credit there.
   Class names are namespaced (tah-foot / tf-*) so the older .credit/.who/.lic/.status/.terms rules of the AES pages cannot reach it,
   and every property those pages set on bare footer/p/h4/section/a is reset here. Markup comes from tools/site-footer.js. */
footer.tah-foot{
  --tf-gutter:clamp(16px,2.4vw,40px);
  display:block;position:static;float:none;clear:both;width:100%;max-width:none;min-height:0;height:auto;margin:0;box-sizing:border-box;
  padding:64px var(--tf-gutter) 96px;border:0;border-radius:0;box-shadow:none;
  background:#111;color:#fff;text-align:start;text-transform:none;
  font:400 14px/1.6 Arial,Helvetica,"Noto Sans Thai",sans-serif;letter-spacing:.01em;
  -webkit-font-smoothing:auto;overflow-wrap:normal;z-index:auto
}
footer.tah-foot *,footer.tah-foot *::before,footer.tah-foot *::after{box-sizing:border-box}
footer.tah-foot :where(span,b,a,p,h4,i,section,div){font-family:inherit;text-transform:inherit;letter-spacing:inherit;text-shadow:none;text-align:inherit;overflow-wrap:inherit;max-width:none}
footer.tah-foot a,footer.tah-foot a:visited{display:inline;color:inherit;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;font:inherit;letter-spacing:inherit}
footer.tah-foot a:hover{color:inherit;opacity:1}
footer.tah-foot section,footer.tah-foot div,footer.tah-foot span{margin:0;padding:0;border:0;background:none}
footer.tah-foot p{margin:0;padding:0}
footer.tah-foot b{font-weight:700}
footer.tah-foot i{font-style:italic}

footer.tah-foot .tf-in{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.55fr);gap:48px;align-items:start;max-width:none}

/* publisher block */
footer.tah-foot .tf-who{display:flex;flex-direction:row;align-items:center;gap:20px}
footer.tah-foot .tf-emblem{flex:0 0 auto;width:auto;height:104px;display:block;max-width:none}
footer.tah-foot .tf-who-text{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
footer.tah-foot .tf-label{display:inline;font-size:12px;line-height:16px;letter-spacing:.1em;font-weight:400;text-transform:uppercase;color:#bdbdbd;opacity:1}
footer.tah-foot .tf-name{display:inline;font-size:24px;line-height:1.1;letter-spacing:-.01em;font-weight:700;font-family:inherit}
footer.tah-foot .tf-name a{text-decoration:none}
footer.tah-foot .tf-compiler{display:inline;font-size:12px;color:#d8d8d8;opacity:1}
footer.tah-foot .tf-inspired{display:block;max-width:30em;font-size:12px;line-height:1.5;color:#bdbdbd}
footer.tah-foot .tf-inspired+.tf-inspired{margin-top:2px}

/* licence */
footer.tah-foot .tf-lic{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start}
footer.tah-foot .tf-lic p{margin:0;max-width:980px;font-size:14px;line-height:1.6;font-family:inherit;color:inherit}
footer.tah-foot .tf-lic p>span{display:inline-block;margin-top:6px;color:#cfcfcf;opacity:1}
footer.tah-foot .tf-cc{display:inline-flex;text-decoration:none;margin-top:1px;line-height:1.6}
footer.tah-foot .tf-cc-icons{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:#fff}
footer.tah-foot .tf-cc-icons svg{width:24px;height:24px;max-width:none;display:block;overflow:visible}
footer.tah-foot .tf-cc-icons svg circle,footer.tah-foot .tf-cc-icons svg path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
footer.tah-foot .tf-cc-icons svg text{fill:currentColor;stroke:none;font:700 6.3px Arial,Helvetica,sans-serif;letter-spacing:-.2px}
footer.tah-foot .tf-cc-icons svg .tf-fill{fill:currentColor;stroke:none}

/* status row */
footer.tah-foot .tf-status{margin-top:48px;padding-top:24px;border-top:1px solid #555;display:grid;grid-template-columns:.65fr 1fr 1.75fr;gap:24px;color:#cfcfcf;font-size:13px;line-height:1.5}
footer.tah-foot .tf-status .tf-ver{color:#fff;font-weight:700}

/* terms */
footer.tah-foot .tf-terms{margin-top:24px;padding-top:24px;border-top:1px solid #555;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
footer.tah-foot .tf-terms section{min-width:0;display:block}
footer.tah-foot .tf-terms h4{margin:0 0 8px;padding:0;border:0;font-family:inherit;font-size:12px;line-height:16px;letter-spacing:.1em;font-weight:700;text-transform:uppercase;color:#fff;background:none}
footer.tah-foot .tf-terms p{margin:0;color:#cfcfcf;font-size:13px;line-height:1.6;font-family:inherit}
footer.tah-foot .tf-terms .tf-cite{font-style:normal;overflow-wrap:anywhere}

@media (max-width:1100px){
  footer.tah-foot .tf-in{grid-template-columns:1fr;gap:28px}
  footer.tah-foot .tf-status{grid-template-columns:1fr 1fr}
  footer.tah-foot .tf-status span:last-child{grid-column:1/-1}
}
@media (max-width:900px){
  footer.tah-foot .tf-terms{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  footer.tah-foot{padding:48px var(--tf-gutter) 112px}
  footer.tah-foot .tf-lic{grid-template-columns:1fr}
  footer.tah-foot .tf-status,footer.tah-foot .tf-terms{grid-template-columns:1fr}
  footer.tah-foot .tf-status span:last-child{grid-column:auto}
  footer.tah-foot .tf-emblem{height:84px}
  footer.tah-foot .tf-who{gap:16px}
}
