/* ==========================================================================
   Footer - from the "CrickHunt Homepage" design (Stadium).

   The footer renders on every page, so this sheet is registered in Head.cshtml
   rather than per page. Everything is scoped under .ch-ft.
   ========================================================================== */

.ch-ft {
  --ft-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ft-line: #1e2f52;
  --ft-muted: #94a3b8;
  --ft-amber: #fbbf24;

  position: relative;
  background: #050b19;
  color: #cbd5e1;
  overflow: hidden;
  font-family: var(--ft-body);
}

.ch-ft *,
.ch-ft *::before,
.ch-ft *::after {
  box-sizing: border-box;
}

.ch-ft p,
.ch-ft span,
.ch-ft a {
  text-align: left;
}

/* the stadium rings and the stump behind the content */
.ch-ft__ring,
.ch-ft__ring2,
.ch-ft__stump {
  position: absolute;
  pointer-events: none;
}

.ch-ft__ring {
  right: -220px;
  top: 40px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .05);
}

.ch-ft__ring2 {
  right: -40px;
  top: 220px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .06);
}

.ch-ft__stump {
  right: 148px;
  top: 340px;
  width: 24px;
  height: 160px;
  border-radius: 3px;
  background: rgba(201, 178, 124, .08);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(255, 255, 255, .12);
}

.ch-ft__inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 20px 0;
}

/* ---------- the call to action strip ---------- */

.ch-ft__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px 40px;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 44px;
  border-bottom: 1px solid #111c33;
}

.ch-ft__pitch {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-ft__kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ft-amber);
}

.ch-ft .ch-ft__line {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.ch-ft__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ft-line);
  border-radius: 14px;
  overflow: hidden;
  background: #081226;
}

.ch-ft .ch-ft__quick a {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}

.ch-ft .ch-ft__quick a + a { border-left: 1px solid var(--ft-line); }

.ch-ft .ch-ft__quick a:hover,
.ch-ft .ch-ft__quick a:focus {
  background: #0f1d3a;
  color: #fff;
  text-decoration: none;
}

.ch-ft__quickk { font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.ch-ft__quickt { font-size: 15px; font-weight: 900; }

/* ---------- the columns ---------- */

.ch-ft__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, 1.2fr);
  gap: 40px 32px;
}

.ch-ft__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 340px;
}

.ch-ft .ch-ft__logo { display: inline-flex; }
.ch-ft__logo img { height: 64px; width: auto; display: block; }

.ch-ft .ch-ft__brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ft-muted);
}

/* the social buttons component drops its own list in here */
.ch-ft__brand .social-sharing ul,
.ch-ft__brand ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ch-ft__brand .social-sharing a,
.ch-ft__brand ul a {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  background: #0f1d3a;
  border: 1px solid var(--ft-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}

.ch-ft__brand .social-sharing a:hover,
.ch-ft__brand ul a:hover {
  background: #2557a7;
  transform: translateY(-2px);
}

.ch-ft__stores {
  display: flex;
  /* the two badges stay on one line and shrink together rather than stacking */
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  max-width: 300px;
}

.ch-ft .ch-ft__stores a {
  display: block;
  /* an equal share of the row, never wider than the badge's own size */
  flex: 1 1 0;
  min-width: 0;
  max-width: 142px;
  line-height: 0;
  border-radius: 7px;
  transition: opacity .2s;
}

.ch-ft .ch-ft__stores a:hover,
.ch-ft .ch-ft__stores a:focus { opacity: .85; }

/* width-driven so the badge keeps its ratio as the row narrows */
.ch-ft__stores img { display: block; width: 100%; height: auto; }

.ch-ft__nav,
.ch-ft__contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ch-ft h3 {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.ch-ft h3 > span {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: #dc2626;
  box-shadow: inset -3px 0 0 #fca5a5;
  flex-shrink: 0;
}

.ch-ft .ch-ft__nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ft-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color .2s;
}

.ch-ft .ch-ft__nav a:hover,
.ch-ft .ch-ft__nav a:focus { color: #fff; text-decoration: none; }

.ch-ft__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ch-ft .ch-ft__chips a {
  font-size: 13px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid var(--ft-line);
  color: #cbd5e1;
  transition: border-color .2s, color .2s;
}

.ch-ft .ch-ft__chips a:hover,
.ch-ft .ch-ft__chips a:focus { border-color: var(--ft-amber); color: var(--ft-amber); }

.ch-ft .ch-ft__all {
  font-size: 14px;
  font-weight: 900;
  color: var(--ft-amber);
  margin-top: 4px;
}

.ch-ft .ch-ft__all:hover,
.ch-ft .ch-ft__all:focus { color: #fcd34d; }

.ch-ft__contact { gap: 12px; }

.ch-ft .ch-ft__contact a,
.ch-ft__addr {
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  transition: color .2s;
}

.ch-ft .ch-ft__contact a:hover,
.ch-ft .ch-ft__contact a:focus { color: #fff; text-decoration: none; }

.ch-ft__contact svg { flex-shrink: 0; margin-top: 1px; }
.ch-ft__addr { line-height: 1.5; }

/* the wrapper is named so this outranks .ch-ft .ch-ft__contact a, which would
   otherwise paint the label in the contact grey */
.ch-ft .ch-ft__contact .ch-ft__wa {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: background .2s;
}

.ch-ft .ch-ft__contact .ch-ft__wa:hover,
.ch-ft .ch-ft__contact .ch-ft__wa:focus { background: #16a34a; color: #fff; }

/* ---------- the bottom bar ---------- */

.ch-ft__rule {
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin-top: 40px;
}

.ch-ft__bottom {
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.ch-ft .ch-ft__bottom a {
  color: #cbd5e1;
  text-decoration: underline;
}

.ch-ft .ch-ft__bottom a:hover,
.ch-ft .ch-ft__bottom a:focus { color: #fff; }

.ch-ft__by {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ch-ft .ch-ft__by a {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #e2e8f0;
  text-decoration: none;
}

.ch-ft__tag {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ft-muted);
}

/* ---------- responsive ---------- */

@media all and (max-width: 1099px) {
  .ch-ft__top { grid-template-columns: 1fr; }

  .ch-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ch-ft__brand,
  .ch-ft__contact { grid-column: 1 / -1; }

  .ch-ft__brand { max-width: none; }
}

@media all and (max-width: 759px) {
  .ch-ft__inner { padding-top: 40px; }

  .ch-ft__cols { grid-template-columns: 1fr; gap: 32px; }

  .ch-ft__quick { grid-template-columns: 1fr; }

  .ch-ft .ch-ft__quick a + a {
    border-left: 0;
    border-top: 1px solid var(--ft-line);
  }

  .ch-ft__ring,
  .ch-ft__ring2,
  .ch-ft__stump { display: none; }

  .ch-ft__bottom { flex-direction: column; align-items: flex-start; }
}
