/* Charoal home + footer v12 — compact wide-screen ending and eager map. */

html.charoal-redesign.charoal-footer-v12 footer#footer {
  margin-top: clamp(30px, 4vw, 54px) !important;
}

/* The native homepage currently contains only this heading and no copy. */
html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .content-wrapper.homepage-box.welcome-wrapper {
  display: none !important;
}

/* Keep the single latest review useful without a large empty band. */
html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .content-wrapper.latest-contribution-box {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-top: 1px solid #eee7ed !important;
}

html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .content-wrapper.latest-contribution-box > .content-wrapper-in {
  display: block !important;
  min-height: 0 !important;
}

html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .content-wrapper.latest-contribution-box .container {
  width: min(100% - 64px, 1480px) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .latest-contribution-wrapper {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 28px 0 30px !important;
}

html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .latest-contribution {
  min-height: 0 !important;
  padding: 0 !important;
}

html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
  .latest-contribution h2 {
  margin: 0 0 18px !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  line-height: 1.2 !important;
}

/* Wider, denser footer for large notebooks and desktop monitors. */
html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-inner {
  width: min(100% - 64px, 1480px);
  padding: clamp(34px, 3vw, 46px) 0 30px;
  grid-template-columns: 1.1fr .9fr 1.15fr 1.45fr;
  gap: clamp(28px, 2.5vw, 42px);
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-brand img {
  width: min(250px, 100%);
  margin-bottom: 15px;
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-tagline {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.55;
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-title {
  margin-bottom: 14px;
  font-size: 15px;
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-list {
  gap: 8px;
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-list a,
html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-contact a,
html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-map-link,
html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-contact-copy {
  font-size: 14px;
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-contact {
  gap: 9px;
}

html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-map-frame {
  height: 224px;
  border-radius: 16px;
}

html.charoal-redesign.charoal-footer-v12 footer#footer .footer-bottom {
  width: min(100% - 64px, 1480px) !important;
  padding: 18px 0 22px !important;
}

@media (max-width: 1050px) {
  html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-inner {
    width: min(100% - 48px, 1280px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-map-frame {
    height: 260px;
  }

  html.charoal-redesign.charoal-footer-v12 footer#footer .footer-bottom,
  html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
    .content-wrapper.latest-contribution-box .container {
    width: min(100% - 48px, 1280px) !important;
  }
}

@media (max-width: 640px) {
  html.charoal-redesign.charoal-footer-v12 footer#footer {
    margin-top: 26px !important;
  }

  html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
    .latest-contribution-wrapper {
    padding: 22px 0 24px !important;
  }

  html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-inner {
    width: min(100% - 32px, 1280px);
    padding: 30px 0 26px;
    grid-template-columns: 1fr;
    gap: 27px;
  }

  html.charoal-redesign.charoal-footer-v12 .charoal-footer-v11-map-frame {
    height: 232px;
  }

  html.charoal-redesign.charoal-footer-v12 footer#footer .footer-bottom,
  html.charoal-redesign.charoal-footer-v12 body.id-1.type-index
    .content-wrapper.latest-contribution-box .container {
    width: min(100% - 32px, 1280px) !important;
  }

  html.charoal-redesign.charoal-footer-v12 footer#footer .footer-bottom {
    padding-bottom: 88px !important;
  }
}
