:root {
  --ljh-link-accent: #4f63d2;
  --ljh-accent-hover: #3a4cb3;
  --ljh-black: #000000;
  --ljh-footer-muted: #7e8891;
  --ljh-white: #ffffff;
  --ljh-footer-border: rgba(126, 136, 145, 0.2);
}

.footer-links-tabs {
  width: 100%;
  padding-top: 1rem;
}

.footer-links-tabs .nav.nav-tabs {
  --bs-nav-tabs-border-width: 1px;
  --bs-nav-tabs-border-color: var(--ljh-footer-border);
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-color: var(--ljh-link-accent);
  --bs-nav-tabs-link-active-bg: transparent;
  --bs-nav-tabs-link-active-border-color: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ljh-footer-border);
}

.footer-links-tabs .nav.nav-tabs .nav-link {
  margin: 0 0 -1px;
  padding: 12px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--ljh-footer-muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links-tabs .nav.nav-tabs .nav-link:hover {
  isolation: auto;
  color: var(--ljh-link-accent);
  background: transparent;
  border-color: transparent;
}

.footer-links-tabs .nav.nav-tabs .nav-link:focus-visible {
  outline: 2px solid var(--ljh-link-accent);
  outline-offset: 2px;
  box-shadow: none;
}

.footer-links-tabs .nav.nav-tabs .nav-link.active,
.footer-links-tabs .nav.nav-tabs .nav-link.active:hover {
  color: var(--ljh-link-accent);
  background: transparent;
  border-color: transparent transparent var(--ljh-link-accent);
}

/* ---------- Panels ---------- */

.footer-links-tabs .tab-content {
  padding-top: 24px;
}

.footer-links-tabs .sections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 8px;
  align-items: start;
  margin: 0;
  padding: 0;
}

.footer-links-tabs .sections-card {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.footer-links-tabs .sections-card .sections-card-title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: var(--ljh-black);
}

.footer-links-tabs .sections-card .sections-card-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.footer-links-tabs .sections-card-links a {
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ljh-link-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-tabs .sections-card-links a:hover,
.footer-links-tabs .sections-card-links a:focus-visible {
  color: var(--ljh-accent-hover);
  text-decoration: underline;
}

.footer-links-tabs .sections-card-links a.collapsing {
  transition: height 0.25s ease;
}

.footer-links-tabs .link-expand-wrap {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.footer-links-tabs .link-expand-wrap::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--ljh-footer-border);
}

.footer-links-tabs .link-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--ljh-black);
  background: var(--ljh-white);
  border: 1px solid var(--ljh-footer-border);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-links-tabs .link-expand:hover {
  border-color: var(--ljh-footer-muted);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.footer-links-tabs .link-expand:focus-visible {
  outline: 2px solid var(--ljh-link-accent);
  outline-offset: 2px;
}

.footer-links-tabs .link-expand .link-expand-less {
  display: none;
}

.footer-links-tabs .link-expand[aria-expanded="true"] .link-expand-more {
  display: none;
}

.footer-links-tabs .link-expand[aria-expanded="true"] .link-expand-less {
  display: inline;
}

.footer-links-tabs .link-expand .link-expand-icon {
  flex: none;
  transition: transform 0.2s ease;
}

.footer-links-tabs .link-expand[aria-expanded="true"] .link-expand-icon {
  transform: rotate(180deg);
}

#ljh-social {
  padding: 36px 0;
}

#ljh-social .container>div {
  display: grid;
  grid-template-columns: auto 457px auto;
  justify-content: start;
  align-items: start;
  gap: 30px;
}

#ljh-social .navbar-brand {
  display: block;
  margin: 0;
  padding: 0;
}

#ljh-social img {
  display: block;
  width: 144px;
  height: 144px;
}

#ljh-social h3 {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#ljh-social .container>div>div:nth-child(2)>div {
  display: grid;
  grid-template-columns: 2fr 1fr;
  row-gap: 12px;
}

#ljh-social a {
  display: block;
  font-size: 12px;
  line-height: 2.1;
  color: #6b6b6b;
  text-decoration: none;
}

#ljh-social a[target="_blank"] {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
}

#ljh-social a[target="_blank"]::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: center / contain no-repeat;
}

#ljh-social a[href*="facebook.com"]::before {
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path d='M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z'/></svg>");
}

#ljh-social a[href*="instagram.com"]::before {
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'><rect x='2' y='2' width='20' height='20' rx='6'/><circle cx='12' cy='12' r='4.6'/><circle cx='17.6' cy='6.4' r='.6' stroke-width='1.6'/></svg>");
}

#ljh-social a[href*="tiktok.com"]::before {
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/></svg>");
}

@media (prefers-reduced-motion: reduce) {

  .footer-links-tabs .sections-card-links a.collapsing,
  .footer-links-tabs .link-expand,
  .footer-links-tabs .link-expand .link-expand-icon {
    transition: none;
  }
}

@media (max-width: 1080px) {
  #ljh-social .container>div {
    grid-template-columns: minmax(0, 391px) auto;
  }

  #ljh-social .container>div>div:nth-child(1) {
    grid-column: 1 / -1;
  }

  .footer-links-tabs .sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #ljh-social .container {
    padding-inline: 32px;
  }

  #ljh-social .container>div {
    grid-template-columns: minmax(0, 391px) auto;
  }

  #ljh-social .container>div>div:nth-child(1) {
    grid-column: 1 / -1;
  }

  #ljh-social img {
    margin-inline: auto;
  }
}

@media (max-width: 576px) {
  .footer-links-tabs .link-expand-wrap::before {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--ljh-footer-border);
  }

  #ljh-social .container>div {
    grid-template-columns: 1fr;
  }

  #ljh-social .container>div>div:nth-child(2)>div {
    grid-template-columns: 1fr;
  }

  #ljh-social img {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .footer-links-tabs .nav.nav-tabs {
    flex-wrap: nowrap;
    gap: 0;
  }

  .footer-links-tabs .nav.nav-tabs .nav-link {
    flex: 1 1 0;
    text-align: center;
  }

  .footer-links-tabs .sections-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

#copyright-footer {
  width: 100%;
  min-height: 55px;
  color: white;
  background: #000000 0% 0% no-repeat padding-box;
  padding: 12px 16px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}
