/**
 * AAUS membership strip after FAQ — centered, responsive.
 * Prefix: tas-aaus-member / tas-footer-aaus
 */
.tas-aaus-member {
  --aaus-label: rgba(255, 255, 255, 0.7);
  --aaus-chip: #ffffff;
  --aaus-line: rgba(255, 255, 255, 0.12);
  --aaus-pad-x: clamp(16px, 4.5vw, 64px);
  --aaus-logo-h: clamp(36px, 5.6vw, 58px);
  --aaus-chip-pad-y: clamp(10px, 1.4vw, 16px);
  --aaus-chip-pad-x: clamp(14px, 2vw, 22px);
  width: 100%;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 55%),
    #000;
  padding: clamp(32px, 4.8vw, 64px) var(--aaus-pad-x) clamp(36px, 5.2vw, 72px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.tas-aaus-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(160px, 36vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aaus-line), transparent);
  pointer-events: none;
}

.tas-aaus-member__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 18px);
}

.tas-aaus-member__label {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(11px, 1.35vw, 13px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--aaus-label);
  text-align: center;
}

.tas-aaus-member__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--aaus-chip-pad-y) var(--aaus-chip-pad-x);
  border-radius: clamp(12px, 1.6vw, 16px);
  background: var(--aaus-chip);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 36px rgba(0, 0, 0, 0.38);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
  max-width: min(100%, 420px);
  width: auto;
}

.tas-aaus-member__link:hover,
.tas-aaus-member__link:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 16px 40px rgba(0, 0, 0, 0.46);
  outline: none;
}

.tas-aaus-member__logo {
  display: block;
  width: auto;
  height: var(--aaus-logo-h);
  max-width: min(320px, 82vw);
  object-fit: contain;
}

/* Legacy footer inject class */
.tas-footer-aaus {
  display: none !important;
}

/*
 * Framer root is flex-ordered on tablet/phone. FAQ (.framer-1nencoh) is order:13.
 * Without an explicit order, this strip stays at 0 and disappears from the FAQ area.
 */
@media (max-width: 1199.98px) {
  html body #main .tas-aaus-member,
  html body .tas-aaus-member {
    --aaus-logo-h: clamp(34px, 5.2vw, 48px);
    order: 14 !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    pointer-events: auto !important;
    z-index: 2 !important;
  }
}

/* Phone */
@media (max-width: 809.98px) {
  html body #main .tas-aaus-member,
  html body .tas-aaus-member {
    --aaus-logo-h: clamp(32px, 9.5vw, 42px);
    --aaus-chip-pad-y: 10px;
    --aaus-chip-pad-x: 14px;
    order: 14 !important;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .tas-aaus-member__link {
    max-width: min(100%, 300px);
    border-radius: 12px;
  }

  .tas-aaus-member__label {
    letter-spacing: 0.1em;
  }
}

/* Desktop (1200+) — slightly larger mark */
@media (min-width: 1200px) {
  .tas-aaus-member {
    --aaus-logo-h: 66px;
    --aaus-chip-pad-y: 18px;
    --aaus-chip-pad-x: 26px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .tas-aaus-member__label {
    font-size: 14px;
  }

  .tas-aaus-member__inner {
    gap: 16px;
  }

  .tas-aaus-member__link {
    max-width: 400px;
    border-radius: 16px;
  }

  .tas-aaus-member__logo {
    max-width: 360px;
  }
}

/* Large desktop — slightly roomier mark */
@media (min-width: 1440px) {
  .tas-aaus-member {
    --aaus-logo-h: 72px;
    --aaus-chip-pad-y: 20px;
    --aaus-chip-pad-x: 28px;
  }

  .tas-aaus-member__link {
    max-width: 420px;
  }
}
