/* =========================================================
   YACADIA SHARED FOOTER
   Load after yacadia_theme.css / yacadia theme variables.
   ========================================================= */

.vg-footer {
  --footer-bg: var(--yacadia-midnight, #0e1b2d);
  --footer-text: var(--yacadia-cream, #f6f4ee);
  --footer-accent: var(--yacadia-copper, #b87333);
  --footer-max-width: 1240px;

  width: 100%;
  margin-top: 84px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.vg-footer,
.vg-footer * {
  box-sizing: border-box;
}

.vg-footer a {
  color: inherit;
  text-decoration: none;
}

.vg-footer-container {
  width: min(var(--footer-max-width), calc(100% - 48px));
  margin: 0 auto;
}

.vg-footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 0.95fr;
  gap: 42px;
  padding: 54px 0 42px;
}

.vg-footer-brand {
  max-width: 340px;
}

.vg-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vg-footer-logo-row img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.vg-footer-logo-row strong,
.vg-footer-logo-row span {
  display: block;
}

.vg-footer-logo-row strong {
  color: var(--footer-text);
  font-size: 1.2rem;
  line-height: 1.1;
}

.vg-footer-logo-row span {
  margin-top: 4px;
  color: rgba(246, 244, 238, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vg-footer-brand p {
  margin: 19px 0 0;
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.91rem;
  line-height: 1.65;
}

.vg-footer-column h3,
.vg-footer-callout h3 {
  margin: 0 0 16px;
  color: var(--footer-text);
  font-size: 0.83rem;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.vg-footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vg-footer-column a {
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.89rem;
}

.vg-footer-column a:hover,
.vg-footer-column a:focus-visible {
  color: var(--footer-text);
}

.vg-footer-callout {
  padding: 20px;
  border: 1px solid rgba(184, 115, 51, 0.42);
  border-radius: 16px;
  background: rgba(246, 244, 238, 0.05);
}

.vg-footer-callout p {
  margin: 0;
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.86rem;
  line-height: 1.65;
}

.vg-footer-callout a {
  display: inline-flex;
  margin-top: 15px;
  color: var(--footer-text);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--footer-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.vg-footer-callout a:hover,
.vg-footer-callout a:focus-visible {
  color: var(--footer-accent);
}

.vg-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0 30px;
  border-top: 1px solid rgba(246, 244, 238, 0.12);
  color: rgba(246, 244, 238, 0.52);
  font-size: 0.78rem;
}

.vg-footer-bottom strong {
  color: rgba(246, 244, 238, 0.78);
}

@media (max-width: 1040px) {
  .vg-footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .vg-footer-callout {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .vg-footer {
    margin-top: 56px;
  }

  .vg-footer-container {
    width: min(var(--footer-max-width), calc(100% - 32px));
  }

  .vg-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 0 34px;
  }

  .vg-footer-callout {
    grid-column: auto;
  }

  .vg-footer-bottom {
    flex-direction: column;
  }
}