/*
 * ТИ КОЛЛЕКШН — подвал сайта.
 * v1.2.0: Gutenberg-подвал с тремя понятными колонками, MAX и Telegram вместо WhatsApp.
 */
.tc-site-footer {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:clamp(34px,5vw,62px) clamp(18px,3vw,34px) 22px !important;
  border:0 !important;
  border-top:1px solid rgba(255,250,240,.13) !important;
  border-radius:0 !important;
  background:
    radial-gradient(circle at 15% 10%,rgba(201,152,71,.16),transparent 24rem),
    linear-gradient(145deg,#263f24,#172b17) !important;
  color:rgba(255,250,240,.78) !important;
  box-sizing:border-box;
}
.tc-footer-grid,
.tc-footer-bottom {
  width:min(1180px,100%) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.tc-footer-grid {
  display:grid !important;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:clamp(28px,4vw,56px) !important;
  align-items:start;
}
.tc-footer-grid > .wp-block-column {
  width:auto !important;
  flex-basis:auto !important;
  min-width:0;
}
.tc-site-footer :where(h2,h3,.wp-block-site-title a) {
  color:#fffaf0 !important;
}
.tc-site-footer a {
  color:#fffaf0 !important;
  text-underline-offset:4px;
}
.tc-site-footer p {
  color:rgba(255,250,240,.78) !important;
  margin-top:8px;
  margin-bottom:0;
}
.tc-footer-brand {
  display:grid;
  gap:8px;
}
.tc-footer-brand .wp-block-site-logo { margin:0 0 4px !important; }
.tc-footer-brand .wp-block-site-logo img {
  width:58px !important; height:58px !important; object-fit:contain;
}
.tc-footer-brand .wp-block-site-title { margin:0 !important; }
.tc-footer-brand .wp-block-site-title a {
  font-weight:900;
  letter-spacing:.04em;
  text-decoration:none;
}
.tc-footer-brand .wp-block-site-tagline {
  max-width:480px;
  color:rgba(255,250,240,.72) !important;
}
.tc-footer-note { color:#e7c985 !important; font-weight:750; }
.tc-footer-contacts h3,
.tc-footer-messengers h3 { margin-top:0 !important; margin-bottom:14px !important; }
.tc-footer-contacts p { margin:8px 0 !important; }
.tc-footer-social {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:9px !important;
  margin:0 0 10px !important;
}
.tc-footer-social .wp-block-button { margin:0 !important; }
.tc-footer-social .wp-block-button__link {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px !important;
  border-radius:999px !important;
  font-weight:850;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.15) !important;
  box-shadow:none !important;
}
.tc-footer-social .tc-social-max .wp-block-button__link {
  background:#fffaf0 !important; color:#263f24 !important;
}
.tc-footer-social .tc-social-telegram .wp-block-button__link {
  background:#eaf3ff !important; color:#21558f !important;
}
.tc-footer-max-hint {
  max-width:320px;
  color:rgba(255,250,240,.65) !important;
}
.tc-footer-bottom {
  margin-top:clamp(28px,4vw,46px) !important;
  padding-top:18px;
  border-top:1px solid rgba(255,250,240,.12);
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
}
.tc-footer-bottom p { margin:0 !important; color:rgba(255,250,240,.58) !important; }

@media (max-width:800px) {
  .tc-footer-grid { grid-template-columns:1fr !important; gap:28px !important; }
  .tc-footer-brand,.tc-footer-contacts,.tc-footer-messengers { text-align:center; }
  .tc-footer-brand { justify-items:center; }
  .tc-footer-social { justify-content:center !important; }
  .tc-footer-max-hint { margin-left:auto !important; margin-right:auto !important; }
  .tc-footer-bottom { justify-content:center !important; text-align:center; }
}
