/**
 * Thoughts About God 2026 — Canonical public footer
 * Main footer only. Header and shared social base live in tag-site-chrome.css.
 * Lead-generation / My Faith Hub footers intentionally use separate systems.
 */
#colophon.tag-site-footer {
  --tag-footer-bg: #123f59;
  --tag-footer-bottom: #0b2b3f;
  --tag-footer-copy: #f4f9fc;
  --tag-footer-muted: #d5e7f0;
  --tag-footer-heading: #63ceff;
  --tag-footer-action: #b9eb76;
  --tag-footer-line: rgba(234,245,250,.20);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
  margin: 0;
  border-top: 1px solid var(--tag-footer-line);
  background: radial-gradient(circle at 8% 0%, rgba(99,206,255,.10), transparent 38%),
              radial-gradient(circle at 94% 96%, rgba(185,235,118,.065), transparent 36%),
              var(--tag-footer-bg);
  color: var(--tag-footer-copy);
  font-family: var(--tag-font-body, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.6;
}
#colophon.tag-site-footer,
#colophon.tag-site-footer * { box-sizing: border-box; }

#colophon.tag-site-footer .tag-site-footer__inner {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
#colophon.tag-site-footer .tag-site-footer__top {
  display: grid;
  grid-template-columns: minmax(280px,1.05fr) minmax(0,2.5fr);
  align-items: start;
  gap: clamp(34px, 3vw, 54px);
  padding: clamp(42px, 4vw, 62px) 0 44px;
}
#colophon.tag-site-footer .tag-site-footer__brand,
#colophon.tag-site-footer .tag-site-footer__widget-column { min-width: 0; }
#colophon.tag-site-footer .tag-site-footer__brand-link {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
}
#colophon.tag-site-footer .tag-site-footer__brand-logo {
  display: block;
  width: 172px;
  max-width: 100%;
  height: auto;
  margin: 0 0 20px;
}
#colophon.tag-site-footer .tag-site-footer__mission {
  max-width: 43ch;
  margin: 0 0 22px;
  color: var(--tag-footer-muted);
  font-size: 15px;
  line-height: 1.72;
}
#colophon.tag-site-footer .tag-site-footer__trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
}
#colophon.tag-site-footer .tag-site-footer__trust-links a {
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
#colophon.tag-site-footer .tag-site-footer__social { margin-top: 26px; }

/* Four resource groups: three compact link columns and one generous signup. */
#colophon.tag-site-footer .tag-site-footer__widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr)) minmax(215px,1.45fr);
  align-items: start;
  gap: 0;
  min-width: 0;
}
#colophon.tag-site-footer .tag-site-footer__widget-column {
  padding: 0 clamp(11px,1.35vw,22px);
  border-left: 1px solid var(--tag-footer-line);
}
#colophon.tag-site-footer .tag-site-footer__widget-column:first-child {
  border-left: 0;
  padding-left: 0;
}
#colophon.tag-site-footer .tag-site-footer__widget-column:last-child { padding-right: 0; }
#colophon.tag-site-footer .tag-site-footer__widget-column .widget { margin: 0; padding: 0; min-width: 0; }
#colophon.tag-site-footer .tag-site-footer__widget-column :where(h2,h3,h4,.widget-title) {
  margin: 0 0 18px;
  color: var(--tag-footer-heading);
  font-family: var(--tag-font-body, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-wrap: pretty;
}
#colophon.tag-site-footer .tag-site-footer__widget-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#colophon.tag-site-footer .tag-site-footer__widget-column li {
  margin: 0 0 9px;
  color: var(--tag-footer-copy);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#colophon.tag-site-footer .tag-site-footer__widget-column li:last-child { margin-bottom: 0; }
#colophon.tag-site-footer .tag-site-footer__widget-column p {
  margin-top: 0;
  color: var(--tag-footer-muted);
  font-size: 14px;
  line-height: 1.7;
}
/* Existing Footer 1/2 WordPress widgets mix paragraph-per-link and <br> lists.
 * Normalize their rhythm at the component level, not in widget HTML. */
#colophon.tag-site-footer .tag-site-footer__widget-column .widget p {
  margin: 0 0 8px;
  padding: 0;
  line-height: 1.6;
}
#colophon.tag-site-footer .tag-site-footer__widget-column .widget p:last-child {
  margin-bottom: 0;
}
#colophon.tag-site-footer .tag-site-footer__widget-column .widget :where(.textwidget,.custom-html-widget) {
  min-width: 0;
}
#colophon.tag-site-footer .tag-site-footer__newsletter-intro {
  margin: 0 0 18px;
  color: var(--tag-footer-muted);
}
#colophon.tag-site-footer .tag-site-footer__newsletter-note { color: var(--tag-footer-muted); }

/* Links / keyboard interactions remain readable against the dark surface. */
#colophon.tag-site-footer a {
  color: var(--tag-footer-copy);
  text-underline-offset: .22em;
  text-decoration-color: rgba(234,245,250,.50);
  transition: color .16s ease, text-decoration-color .16s ease;
}
#colophon.tag-site-footer a:hover {
  color: var(--tag-footer-action);
  text-decoration-color: currentColor;
}
#colophon.tag-site-footer :where(a,button,input,select):focus-visible {
  outline: 3px solid var(--tag-footer-action);
  outline-offset: 3px;
}

/* Reusable social component's layout stays in site chrome. */
#colophon.tag-site-footer .tag-social-links__link {
  color: var(--tag-footer-copy);
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,.13);
  transition: background-color .18s ease, transform .18s ease;
}
#colophon.tag-site-footer .tag-social-links__link:hover,
#colophon.tag-site-footer .tag-social-links__link:focus-visible {
  background: var(--tag-footer-action);
  color: #14220f;
  transform: translateY(-2px);
}

/* Preserve the Mailchimp form and its audience data, modify appearance only. */
#colophon.tag-site-footer .tag-newsletter-signup,
#colophon.tag-site-footer .tag-newsletter-signup__form,
#colophon.tag-site-footer .tag-newsletter-signup__fields,
#colophon.tag-site-footer .tag-newsletter-signup__field { width: 100%; min-width: 0; margin: 0; }
#colophon.tag-site-footer .tag-newsletter-signup__field {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 12px;
}
#colophon.tag-site-footer .tag-newsletter-signup__input {
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #a5c5d3;
  border-radius: 8px;
  background: #fff;
  color: #173d51;
  -webkit-text-fill-color: #173d51;
  color-scheme: light;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
}
#colophon.tag-site-footer .tag-newsletter-signup__input::placeholder { color: #586d79; opacity: 1; }
#colophon.tag-site-footer .tag-newsletter-signup__input:focus-visible {
  border-color: var(--tag-footer-action);
  outline-offset: 2px;
}
#colophon.tag-site-footer .tag-newsletter-signup__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 11px 15px;
  border: 1px solid var(--tag-footer-action);
  border-radius: 8px;
  background: var(--tag-footer-action);
  color: #14220f;
  -webkit-text-fill-color: #14220f;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .16s ease, transform .16s ease;
}
#colophon.tag-site-footer .tag-newsletter-signup__button:hover { background: #d1f49d; }
#colophon.tag-site-footer .tag-newsletter-signup__button:active { transform: translateY(1px); }

/* Never expose the Mailchimp bot-trap or remove it from the form. */
#colophon.tag-site-footer .tag-newsletter-signup__honeypot {
  position: absolute !important;
  left: -5000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Full-bleed legal background, text remains aligned with the main grid. */
#colophon.tag-site-footer .tag-site-footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--tag-footer-line);
  color: var(--tag-footer-muted);
  font-size: 12px;
  line-height: 1.6;
}
#colophon.tag-site-footer .tag-site-footer__bottom::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--tag-footer-bottom);
  z-index: -1;
}
#colophon.tag-site-footer .tag-site-footer__copyright { margin: 0; color: var(--tag-footer-muted); }
#colophon.tag-site-footer .tag-site-footer__utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

@media (max-width: 1180px) {
  #colophon.tag-site-footer .tag-site-footer__top { grid-template-columns: 1fr; gap: 34px; }
  #colophon.tag-site-footer .tag-site-footer__mission { max-width: 60ch; }
  #colophon.tag-site-footer .tag-site-footer__widgets { grid-template-columns: repeat(3,minmax(0,1fr)) minmax(220px,1.25fr); }
}
@media (max-width: 800px) {
  #colophon.tag-site-footer .tag-site-footer__widgets { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 28px; }
  #colophon.tag-site-footer .tag-site-footer__widget-column { padding: 0 20px; }
  #colophon.tag-site-footer .tag-site-footer__widget-column:nth-child(odd) { padding-left: 0; border-left: 0; }
  #colophon.tag-site-footer .tag-site-footer__widget-column:nth-child(even) { padding-right: 0; }
  #colophon.tag-site-footer .tag-site-footer__widget-column:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--tag-footer-line); }
}
@media (max-width: 540px) {
  #colophon.tag-site-footer .tag-site-footer__inner { width: min(100% - 32px,1240px); }
  #colophon.tag-site-footer .tag-site-footer__top { padding: 38px 0 28px; }
  #colophon.tag-site-footer .tag-site-footer__widgets { grid-template-columns: minmax(0,1fr); gap: 0; }
  #colophon.tag-site-footer .tag-site-footer__widget-column,
  #colophon.tag-site-footer .tag-site-footer__widget-column:nth-child(odd),
  #colophon.tag-site-footer .tag-site-footer__widget-column:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--tag-footer-line);
  }
  #colophon.tag-site-footer .tag-site-footer__widget-column:first-child { padding-top: 0; border-top: 0; }
  #colophon.tag-site-footer .tag-site-footer__bottom { align-items: flex-start; flex-direction: column; }
  #colophon.tag-site-footer .tag-site-footer__utility { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  #colophon.tag-site-footer a,
  #colophon.tag-site-footer .tag-social-links__link,
  #colophon.tag-site-footer .tag-newsletter-signup__button { transition: none; }
}

/* 2026-11-09: WordPress classic/block widget normalization.
   These widgets may render .widgettitle or .wp-block-heading instead of .widget-title. */
#colophon.tag-site-footer .tag-site-footer__widgets .tag-site-footer__widget-column :is(.widget-title,.widgettitle,.wp-block-heading,h2,h3,h4) {
  color: var(--tag-footer-heading) !important;
  font-family: var(--tag-font-body,system-ui,sans-serif);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .035em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
/* Link-only widget paragraphs and adjacent anchors must each occupy a row.
   Limit to the three resource columns; leave newsletter form unaffected. */
#colophon.tag-site-footer .tag-site-footer__widget-column:not(.tag-site-footer__widget-column--newsletter) .widget :is(.textwidget,.custom-html-widget) p {
  margin: 0 0 8px;
  padding: 0;
}
#colophon.tag-site-footer .tag-site-footer__widget-column:not(.tag-site-footer__widget-column--newsletter) .widget :is(.textwidget,.custom-html-widget) p > a,
#colophon.tag-site-footer .tag-site-footer__widget-column:not(.tag-site-footer__widget-column--newsletter) .widget :is(.textwidget,.custom-html-widget) > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  line-height: 1.55;
  margin: 0 0 8px;
}
#colophon.tag-site-footer .tag-site-footer__widget-column:not(.tag-site-footer__widget-column--newsletter) .widget :is(.textwidget,.custom-html-widget) br {
  display: none;
}
#colophon.tag-site-footer .tag-site-footer__widget-column:not(.tag-site-footer__widget-column--newsletter) .widget :is(.textwidget,.custom-html-widget) p > a:last-child { margin-bottom: 0; }

/* =============================================================
   Specialized lead-generation and My Faith Hub footers
   Formerly tag-deep-ministry-blue-footer.css
   ============================================================= */
/**
 * Thoughts About God — Deep Ministry Blue skin for SPECIALIZED footers only.
 * The main #colophon.tag-site-footer is owned entirely by tag-site-footer.css.
 * Preserve the lead-page footer and My Faith Hub footer behaviour independently.
 */
:where(.tag-lead-site-footer, .tag-faith-site-footer) {
  --tag-footer-bg: #123f59;
  --tag-footer-bottom: #0b2b3f;
  --tag-footer-heading: #ffffff;
  --tag-footer-copy: #eaf5fa;
  --tag-footer-muted: #d3e5ee;
  --tag-footer-blue: #42b8ee;
  --tag-footer-green: #9edd3b;
  --tag-footer-border: rgba(234,245,250,.22);
  background: var(--tag-footer-bg);
  color: var(--tag-footer-copy);
  color-scheme: dark;
}
:where(.tag-lead-site-footer, .tag-faith-site-footer) :where(h2,h3,h4,.widget-title) {color:var(--tag-footer-heading);}
:where(.tag-lead-site-footer, .tag-faith-site-footer) :where(p,li,small,span) {color:inherit;}
:where(.tag-lead-site-footer, .tag-faith-site-footer) a {color:var(--tag-footer-copy);text-decoration-color:rgba(234,245,250,.45);text-underline-offset:.2em;transition:color .18s ease,text-decoration-color .18s ease;}
:where(.tag-lead-site-footer, .tag-faith-site-footer) a:hover {color:var(--tag-footer-green);text-decoration-color:currentColor;}
:where(.tag-lead-site-footer, .tag-faith-site-footer) a:focus-visible,
:where(.tag-lead-site-footer, .tag-faith-site-footer) :where(button,input,select,textarea):focus-visible {outline:3px solid var(--tag-footer-green);outline-offset:3px;}
.tag-lead-site-footer .tag-lead-site-footer__inner,
.tag-faith-site-footer .tag-faith-site-footer__inner {width:min(100% - 2rem,1240px);margin-inline:auto;}
.tag-lead-site-footer .tag-lead-site-footer__message {color:var(--tag-footer-muted);line-height:1.7;}
.tag-lead-site-footer .tag-lead-site-footer__logo {display:block;max-width:100%;height:auto;object-fit:contain;}
.tag-lead-site-footer .tag-lead-site-footer__bottom {background:var(--tag-footer-bottom);border-top:1px solid var(--tag-footer-border);color:var(--tag-footer-muted);padding:1rem max(1rem,calc((100% - 1240px)/2));}
.tag-lead-site-footer .tag-lead-site-footer__bottom a {color:var(--tag-footer-copy);}
.tag-lead-site-footer .tag-lead-site-footer__inner {padding-block:clamp(2rem,4vw,3.5rem);}
.tag-faith-site-footer {border-top:1px solid var(--tag-footer-border);padding-block:1.25rem;}
.tag-faith-site-footer .tag-faith-site-footer__inner {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.5rem;}
.tag-faith-site-footer nav {display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;}
@media (max-width:767px) {
  .tag-lead-site-footer .tag-lead-site-footer__inner,
  .tag-faith-site-footer .tag-faith-site-footer__inner {width:min(100% - 1.5rem,1240px);}
  .tag-faith-site-footer .tag-faith-site-footer__inner {align-items:flex-start;}
}
@media (prefers-reduced-motion:reduce) {
  :where(.tag-lead-site-footer, .tag-faith-site-footer) a {transition:none;}
}
