/* =========================================================================
   Footer — port from sensei-main-course/assets/overrides.scss (lines 270–410)
   White bg, two-row layout, Open Sans, coral-pink (#f95c64) link hover.
   ========================================================================= */

.footer--custom {
  padding: 2.5em 0 1.75em;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  background: #fff;
  color: #333;
}

/* Constrain inner content to match header width */
.footer--custom .footer__inner {
  max-width: 1170px;
  margin: 0 auto;
}

/* ── Row 1: social icons + badge, hairline divider below ── */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d5d7db;
  padding-bottom: 2.25em;
  margin-bottom: 2.2em;
}

/* Hide Instagram link in footer */
.footer__social a[href*="instagram"] {
  display: none;
}

/* X glyph fills its viewBox edge-to-edge — scale down so it
   matches the visual weight of YouTube and Discord. */
.footer__social-link[aria-label="X"] svg {
  width: 20px;
  height: 20px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 15px; /* tight but not touching */
}

.footer__follow-label {
  margin-right: 12px; /* extra space after label, accounting for the 6px gap */
}

/* Force all icons (FA + inline SVG) to the same visual size */
.footer__social-link {
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer__social-link {
  font-size: 24px;       /* was 20px — controls FA glyphs */
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;           /* was 24px — outer click target box */
  height: 28px;          /* was 24px */
}

.footer__social-link svg {
  width: 24px;           /* was 20px — controls SVG icons */
  height: 24px;          /* was 20px */
  display: block;
}

.footer__social-link:hover {
  opacity: 0.6;
  color: #333;
}

/* Authorized badge (right side of row 1) */
.footer__badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__badge-label {
  font-size: 16px;
  color: #333;
}

.footer__badge-img {
  max-width: 40px;
  display: block;
}

/* ── Row 2: logo + links (left) + copyright (right) ── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 2em;
}

.footer__logo-img {
  opacity: 1;
  max-height: 40px;
  object-fit: contain;
}

/* Terms / Privacy nav list */
.footer__links {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.footer__links li {
  padding-right: 1em;
}

.footer__link-item {
  color: #333;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__link-item:hover {
  color: #f95c64;
  text-decoration: none;
}

/* Copyright (right side of row 2) */
.footer__copyright {
  color: #787878;
  font-size: 16px;
}

/* Discord inline SVG vertical alignment */
.footer__social-link--svg svg {
  vertical-align: middle;
  display: inline-block;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5em;
  }
  .footer__badge { margin-top: 0; }
  .footer__copyright { margin-top: 0.5em; }
}