/* Homepage footer matched to the approved The Close desktop/tablet reference. */

.ed-home .ed-footer {
  position: relative;
  padding: 0;
  background: #fff;
  color: #fff;
}

.ed-home .ed-footer__main {
  background: #f45a3a;
}

.ed-home .ed-footer__main-inner {
  width: min(80.5%, 1200px);
  min-height: 225px;
  margin-inline: auto;
  padding: 44px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 170px;
  gap: 36px;
  align-items: start;
}

.ed-home .ed-footer__brand-block {
  min-width: 0;
  max-width: 480px;
}

.ed-home .ed-footer-logo {
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  font-size: 31px;
  font-weight: 950;
  line-height: .95;
  letter-spacing: -.065em;
}

.ed-home .ed-footer-logo strong {
  margin-left: .08em;
  padding: .02em .13em .08em;
  background: #fff;
  color: #f45a3a;
  font-weight: 950;
}

.ed-home .ed-footer__description {
  max-width: 455px;
  margin: 17px 0 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.58;
}

.ed-home .ed-footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 15px;
}

.ed-home .ed-footer-socials a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #f45a3a;
  transition: transform .16s ease;
}

.ed-home .ed-footer-socials a:hover {
  transform: translateY(-2px);
}

.ed-home .ed-footer-socials svg {
  width: 14px;
  height: 14px;
}

.ed-home .ed-footer__column h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.ed-home .ed-footer__column a {
  display: block;
  width: fit-content;
  margin: 0 0 7px;
  color: #fff;
  font-size: 10px;
  line-height: 1.28;
}

.ed-home .ed-footer__column a:hover {
  text-decoration: underline;
}

.ed-home .ed-footer__legal {
  position: relative;
  min-height: 184px;
  background: #fff;
  color: #24262b;
}

.ed-home .ed-footer__legal-inner {
  width: min(80.5%, 1200px);
  margin-inline: auto;
  padding: 21px 0 62px;
}

.ed-home .ed-footer__copyright {
  margin: 0;
  color: #24262b;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.4;
}

.ed-home .ed-footer__disclosure,
.ed-home .ed-footer__privacy-note {
  max-width: 1000px;
  margin: 14px 0 0;
  color: #4f5560;
  font-size: 7.5px;
  line-height: 1.58;
}

.ed-home .ed-footer__legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 15px;
  color: #24262b;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.ed-home .ed-footer__privacy-note {
  margin-top: 15px;
}

.ed-home .ed-back-top {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f45a3a;
  color: #fff;
  box-shadow: 0 0 0 2px #f45a3a;
}

.ed-home .ed-back-top svg {
  width: 15px;
  height: 15px;
}

@media (min-width: 761px) and (max-width: 1023px) {
  .ed-home .ed-footer__main-inner,
  .ed-home .ed-footer__legal-inner {
    width: min(80.5%, 860px);
  }

  .ed-home .ed-footer__main-inner {
    grid-template-columns: minmax(0, 1fr) 82px 145px;
    gap: 24px;
  }

  .ed-home .ed-footer-logo { font-size: 29px; }
  .ed-home .ed-footer__description { font-size: 9px; }
  .ed-home .ed-footer__column h2,
  .ed-home .ed-footer__column a { font-size: 9px; }
}

@media (max-width: 760px) {
  .ed-home .ed-footer__main-inner,
  .ed-home .ed-footer__legal-inner {
    width: calc(100% - 40px);
  }

  .ed-home .ed-footer__main-inner {
    min-height: 0;
    padding: 46px 0 38px;
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .ed-home .ed-footer__brand-block {
    grid-column: 1 / -1;
    max-width: none;
  }

  .ed-home .ed-footer-logo { font-size: 34px; }

  .ed-home .ed-footer__description {
    max-width: 620px;
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.62;
  }

  .ed-home .ed-footer-socials {
    gap: 12px;
    margin-top: 20px;
  }

  .ed-home .ed-footer-socials a {
    width: 38px;
    height: 38px;
  }

  .ed-home .ed-footer-socials svg {
    width: 18px;
    height: 18px;
  }

  .ed-home .ed-footer__column h2 {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .ed-home .ed-footer__column a {
    margin-bottom: 11px;
    font-size: 14px;
    line-height: 1.35;
  }

  .ed-home .ed-footer__legal {
    min-height: 230px;
  }

  .ed-home .ed-footer__legal-inner {
    padding: 28px 0 74px;
  }

  .ed-home .ed-footer__copyright {
    font-size: 10px;
  }

  .ed-home .ed-footer__disclosure,
  .ed-home .ed-footer__privacy-note,
  .ed-home .ed-footer__legal-links {
    font-size: 9px;
  }

  .ed-home .ed-footer__legal-links {
    gap: 13px;
  }

  .ed-home .ed-back-top {
    right: 16px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
}

/* Audited desktop/tablet palette and typography. This block intentionally loads
   last so it overrides the earlier experimental scale without disturbing mobile. */
:root {
  --ed-cream: #fdeeea;
  --ed-cream-strong: #fdeeea;
  --ed-coral: #ef5937;
  --ed-coral-dark: #ef5937;
  --ed-charcoal: #231f20;
  --ed-muted: #3f3a3b;
  --ed-line: #fbd5cd;
}

body.ed-home {
  color: #231f20;
  font-family: Arial, Helvetica, sans-serif;
}

.ed-home .ed-hero,
.ed-home .ed-header,
.ed-home .ed-shell {
  background-color: #fdeeea;
}

.ed-home .ed-topline { background: #ef5937; }
.ed-home .ed-accent,
.ed-home .ed-header-socials,
.ed-home .ed-header-socials a,
.ed-home .ed-header-cta,
.ed-home .ed-section-title > a,
.ed-home .ed-category { color: #ef5937; }

@media (min-width: 761px) {
  .ed-home .ed-topline { height: 14px; }

  .ed-header__desktop {
    width: calc(100% - 48px);
    max-width: none;
    min-height: 40px;
    gap: 20px;
  }

  .ed-wordmark--desktop {
    font-size: 29px;
    line-height: 1;
    letter-spacing: -.065em;
  }

  .ed-header__actions { gap: 10px; }
  .ed-header-socials { gap: 7px; }
  .ed-header-socials a { width: 20px; height: 20px; }
  .ed-header-socials svg { width: 15px; height: 15px; }

  .ed-header-cta {
    min-height: 28px;
    padding: 0 16px;
    border-width: 1px;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .ed-header__actions .ed-icon-button { width: 30px; height: 30px; }
  .ed-header__actions .ed-icon-button svg { width: 19px; height: 19px; }

  .ed-header-nav {
    min-height: 29px;
    padding-inline: 20px;
    gap: 21px;
    border-top-color: #fbd5cd;
    border-bottom-color: #fbd5cd;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .065em;
  }

  .ed-home .ed-hero {
    padding: 66px 0 60px;
    background: #fdeeea;
    text-align: left;
  }

  .ed-home .ed-hero__inner {
    width: calc(100% - 48px);
    max-width: 1180px;
  }

  .ed-home .ed-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #231f20;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(40px, 4.1vw, 52px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.045em;
  }

  .ed-home .ed-hero__lead {
    max-width: 820px;
    margin: 24px 0 0;
    color: #231f20;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 1.25vw, 16px);
    font-weight: 400;
    line-height: 1.55;
  }

  .ed-home .ed-latest { padding-top: 14px; }
  .ed-home .ed-latest-shell {
    width: calc(100% - 48px);
    max-width: 1180px;
  }
  .ed-home .ed-section-title {
    padding-top: 10px;
    margin-bottom: 18px;
    border-top-width: 1.5px;
  }
  .ed-home .ed-section-title h2 {
    font-size: 14px;
    letter-spacing: .1em;
  }
  .ed-home .ed-section-title > a {
    font-size: 9px;
    letter-spacing: .08em;
  }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .ed-header__desktop,
  .ed-home .ed-hero__inner,
  .ed-home .ed-latest-shell {
    width: calc(100% - 36px);
  }

  .ed-header-nav {
    justify-content: flex-start;
    gap: 16px;
    font-size: 8.5px;
  }

  .ed-home .ed-hero {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .ed-home .ed-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 5.2vw, 46px);
  }

  .ed-home .ed-hero__lead {
    max-width: 760px;
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .ed-home .ed-hero { background: #fdeeea; }
  .ed-home .ed-hero h1 { color: #231f20; }
  .ed-home .ed-hero__lead { color: #3f3a3b; }
}
