/* Footer V2 preview — 35 / 25 / 40 three-column layout */
.tgh-footer .tgh-footer-top {
  grid-template-columns: minmax(0, 35fr) minmax(0, 25fr) minmax(0, 40fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
}
.tgh-footer .tgh-footer-mid,
.tgh-footer .tgh-footer-channels { min-width: 0; }
.tgh-footer .tgh-footer-channels { padding-top: 0; }
.tgh-footer .tgh-footer-sites-h { margin-top: 22px; }

.tgh-footer .tgh-social {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.tgh-footer .tgh-social li { margin: 0; padding: 0; }
.tgh-footer .tgh-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #d7e4f7;
  text-decoration: none;
  line-height: 1.2;
}
.tgh-footer .tgh-social a:hover { color: #fff; }
.tgh-footer .tgh-social a:focus-visible {
  outline: 2px solid #F4A300;
  outline-offset: 3px;
  border-radius: 4px;
}
.tgh-footer .tgh-social-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #fff;
}
.tgh-footer .tgh-social-icon svg { width: 20px; height: 20px; display: block; }
.tgh-footer .tgh-social-label strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.tgh-footer .tgh-social-label em {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-style: normal;
  color: #9fb5cf;
  line-height: 1.25;
}

.tgh-footer .tgh-sites { display: grid; margin: 0; }
.tgh-footer .tgh-site {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  align-items: center;
  min-height: 52px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #d7e4f7;
  text-decoration: none;
}
.tgh-footer .tgh-site:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tgh-footer .tgh-site strong {
  grid-column: 1;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.tgh-footer .tgh-site span:not(.ext) {
  grid-column: 1;
  font-size: 11.5px;
  line-height: 1.35;
  color: #9fb5cf;
}
.tgh-footer .tgh-site .ext {
  grid-column: 2;
  grid-row: 1 / 3;
  color: #F4A300;
  font-size: 15px;
  line-height: 1;
}
.tgh-footer .tgh-site:hover strong { text-decoration: underline; }
.tgh-footer .tgh-site:focus-visible {
  outline: 2px solid #F4A300;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .tgh-footer .tgh-social { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .tgh-footer .tgh-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .tgh-footer .tgh-social { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tgh-footer .tgh-social { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .tgh-footer .tgh-site { min-height: 56px; }
  .tgh-footer .tgh-social-label em { font-size: 10px; }
}

/* === Refinement 2026-11-03: one type scale, tighter rhythm, richer interaction === */
/* Homepage template sets horizontal padding to 0; keep the same 20px gutters on every page and width. */
.tgh-footer .tgh-footer-wrap { padding-inline: 20px; }
/* Same heading size on the homepage template and on every theme page. */
.tgh-footer .tgh-footer-h.tgh-footer-h {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
/* Left column: tagline + contact rhythm, address kept to its three lines. */
.tgh-footer .tgh-footer-tag { margin: 0 0 24px; max-width: 320px; line-height: 1.5; font-size: 13px; }
.tgh-footer .tgh-footer-contact { margin: 0 0 9px; line-height: 1.45; font-size: 13px; }
.tgh-footer .tgh-footer-contact:last-child { margin-bottom: 0; }
.tgh-footer .tgh-footer-contact a { font-size: 13px; }
.tgh-footer .tgh-footer-address { display: block; line-height: 1.45; white-space: nowrap; }
@media (max-width: 600px) { .tgh-footer .tgh-footer-address { white-space: normal; } }
/* Products / Resources: one link per row, even vertical rhythm. */
.tgh-footer .tgh-footer-block a { margin: 0 0 9px; line-height: 1.45; font-size: 13px; }
.tgh-footer .tgh-footer-block a:last-child { margin-bottom: 0; }
/* Our Websites: whole row clickable, text lightens, arrow slides 3px. */
.tgh-footer .tgh-site .ext { transition: transform .18s ease; }
.tgh-footer .tgh-site:hover .ext,
.tgh-footer .tgh-site:focus-visible .ext { transform: translateX(3px); }
.tgh-footer .tgh-site:hover strong { text-decoration: none; color: #fff; }
.tgh-footer .tgh-site:hover span:not(.ext) { color: #c6d7ea; }
/* Social: full-row hit area, consistent 20px icons, gold hover cue. */
.tgh-footer .tgh-social a { width: 100%; padding: 2px 0; transition: color .15s ease; }
.tgh-footer .tgh-social a:hover .tgh-social-icon { color: #F4A300; }
.tgh-footer .tgh-social-icon svg { width: 20px; height: 20px; display: block; }
/* Legal / copyright: one size, aligned to the same baseline. */
.tgh-footer .tgh-footer-legal a,
.tgh-footer .tgh-copy { font-size: 12.5px; }

/* === Divider alignment 2026-11-03: "PRODUCTS / RESOURCES" line and the first "OUR WEBSITES" line share one Y === */
.tgh-footer .tgh-sites .tgh-site:first-child { margin-top: 0; }
.tgh-footer .tgh-footer-sites-h.tgh-footer-sites-h { margin-bottom: 36px; }

/* Normalise the two page contexts (.tgh-v1 homepage vs theme footer) so one set of numbers applies to both. */
.tgh-footer .tgh-footer-wrap a { margin: 0; }
.tgh-footer .tgh-footer-wrap .tgh-footer-block a { margin: 0 0 9px; }
.tgh-footer .tgh-footer-wrap .tgh-footer-block a:last-child { margin-bottom: 0; }
.tgh-footer .tgh-footer-wrap .tgh-site { padding: 11px 0; }
.tgh-footer .tgh-footer-wrap .tgh-social a { padding: 2px 0; }
.tgh-footer .tgh-footer-h.tgh-footer-h { line-height: 16px; }
