:root {
  --ff-footer-bg: #030303;
  --ff-footer-panel: linear-gradient(180deg, rgba(22, 2, 6, 0.92), rgba(2, 2, 2, 0.98));
  --ff-footer-red: #ed123d;
  --ff-footer-white: #ffffff;
  --ff-footer-soft: rgba(255, 255, 255, 0.72);
  --ff-footer-muted: rgba(255, 255, 255, 0.48);
  --ff-footer-border: rgba(237, 18, 61, 0.42);
}

.frankel-footer {
  width: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(237, 18, 61, 0.12), transparent 34rem),
    var(--ff-footer-panel);
  border-top: 1px solid var(--ff-footer-border);
  color: var(--ff-footer-white);
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 4rem) 1rem;
  box-sizing: border-box;
}

.frankel-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.35fr) minmax(190px, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.frankel-footer-contact,
.frankel-footer-links {
  font-size: clamp(0.78rem, 0.9vw, 0.94rem);
  line-height: 1.75;
  color: var(--ff-footer-soft);
}

.frankel-footer-contact {
  text-align: left;
}

.frankel-footer-links {
  text-align: right;
}

.frankel-footer-label {
  display: inline-block;
  min-width: 4.8rem;
  color: var(--ff-footer-white);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72em;
}

.frankel-footer-address-line {
  display: inline;
}

.frankel-footer a {
  color: inherit;
  text-decoration: none;
}

.frankel-footer a:hover,
.frankel-footer a:focus {
  color: var(--ff-footer-white);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.frankel-footer-brand {
  text-align: center;
  min-width: 0;
}

.frankel-footer-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: clamp(0.16em, 1.1vw, 0.34em);
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.frankel-footer-subtitle {
  display: block;
  margin-top: 0.42rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.86rem, 1.35vw, 1.25rem);
  letter-spacing: clamp(0.16em, 0.7vw, 0.44em);
  color: rgba(255, 255, 255, 0.78);
  text-transform: lowercase;
}

.frankel-footer-mark {
  width: min(21rem, 82%);
  height: 2.4rem;
  margin: 0.85rem auto 0;
  position: relative;
}

.frankel-footer-mark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.28rem;
  height: 0.24rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--ff-footer-red) 11%, var(--ff-footer-red) 89%, transparent);
  box-shadow: 0 0 18px rgba(237, 18, 61, 0.55);
}

.frankel-footer-slash {
  position: absolute;
  left: 50%;
  top: 0.2rem;
  width: 0.78rem;
  height: 1.58rem;
  transform: translateX(-50%) skewX(-18deg);
  border-left: 0.2rem solid #fff;
  border-right: 0.2rem solid #fff;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.28));
}

.frankel-footer-bottom {
  width: min(1180px, 100%);
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.frankel-footer-credit {
  font-size: clamp(0.48rem, 0.58vw, 0.64rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.34);
  letter-spacing: 0.02em;
}

.frankel-footer-credit a {
  color: rgba(255,255,255,0.44);
}

.frankel-footer-copy {
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  color: rgba(255,255,255,0.5);
  text-align: right;
  white-space: nowrap;
}

/* Downloads page card alignment */
#downloads,
.downloads-grid,
.paid-grid {
  align-items: stretch;
}

#downloads > article,
#downloads > .paid-panel,
#downloads > .download-card,
#downloads > .resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#downloads > article h1,
#downloads > article h2,
#downloads > article h3,
#downloads > .paid-panel h1,
#downloads > .paid-panel h2,
#downloads > .paid-panel h3 {
  display: flex;
  align-items: center;
  justify-content: center;
}

#downloads > article .btn,
#downloads > article button,
#downloads > .paid-panel .btn,
#downloads > .paid-panel button,
#downloads > .download-card .btn,
#downloads > .download-card button,
#downloads > .resource-card .btn,
#downloads > .resource-card button {
  margin-top: auto;
}

@media (min-width: 700px) {
  #downloads > article h2,
  #downloads > article h3,
  #downloads > .paid-panel h2,
  #downloads > .paid-panel h3 {
    min-height: 3.3em;
  }

  #downloads > article p,
  #downloads > .paid-panel p {
    min-height: 2.4em;
  }
}

@media (max-width: 820px) {
  .frankel-footer {
    padding: 2rem 1rem 1rem;
  }

  .frankel-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.35rem;
  }

  .frankel-footer-contact,
  .frankel-footer-links {
    text-align: center;
  }

  .frankel-footer-brand {
    order: -1;
  }

  .frankel-footer-label {
    min-width: auto;
    margin-right: 0.35rem;
  }

  .frankel-footer-address-line {
    display: inline;
  }

  .frankel-footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.4rem;
  }

  .frankel-footer-copy {
    text-align: center;
    white-space: normal;
  }

  .frankel-footer-credit {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .frankel-footer-name {
    letter-spacing: 0.13em;
  }

  .frankel-footer-subtitle {
    letter-spacing: 0.14em;
  }
}


/* FRANKEL FOOTER BOTTOM ALIGNMENT OVERRIDE START */
.frankel-footer-bottom {
  width: min(1180px, 100%);
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: end;
}

.frankel-footer-credit {
  grid-column: 1;
  justify-self: start;
  text-align: left;
  font-size: clamp(0.46rem, 0.54vw, 0.6rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.34);
  letter-spacing: 0.02em;
}

.frankel-footer-copy {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-size: clamp(0.76rem, 0.82vw, 0.9rem);
  color: rgba(255,255,255,0.58);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .frankel-footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .frankel-footer-credit {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    max-width: 100%;
  }

  .frankel-footer-copy {
    grid-column: 1;
    justify-self: center;
    text-align: center;
    white-space: normal;
    font-size: clamp(0.76rem, 2.4vw, 0.88rem);
  }
}
/* FRANKEL FOOTER BOTTOM ALIGNMENT OVERRIDE END */

