/* Footer board — clearer campus navy layout */

.footer--board {
  --ft-bg: #071528;
  --ft-panel: #0b1c38;
  --ft-line: rgba(147, 197, 253, 0.16);
  --ft-muted: #94a3b8;
  --ft-text: #cbd5e1;
  --ft-white: #ffffff;
  --ft-blue: #60a5fa;
  --ft-blue-strong: #3b82f6;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
    linear-gradient(180deg, #0c1f45 0%, var(--ft-bg) 100%);
  color: var(--ft-text);
  padding-top: 0;
}

.footer--board .footer-top {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(2rem, 3.5vw, 2.75rem);
}

.footer--board .footer-board {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(0, 2.2fr) minmax(210px, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.footer--board .footer-brand {
  max-width: 34ch;
}

.footer--board .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  text-decoration: none;
  color: inherit;
}

.footer--board .footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer--board .footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer--board .footer-logo-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ft-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer--board .footer-logo-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
}

.footer--board .footer-brand__desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ft-muted);
  font-weight: 500;
}

.footer--board .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer--board .footer-social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ft-line);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer--board .footer-social-icon:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

.footer--board .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.footer--board .footer-col h3,
.footer--board .footer-contact h3 {
  margin: 0 0 1rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid var(--ft-line);
  color: var(--ft-white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer--board .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer--board .footer-col a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ft-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer--board .footer-col a::before {
  content: "";
  display: none;
}

.footer--board .footer-col a:hover {
  color: var(--ft-blue);
  padding: 0;
  transform: translateX(-2px);
}

.footer--board .footer-contact {
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(147, 197, 253, 0.14);
  direction: rtl;
  text-align: start;
}

.footer--board .footer-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer--board .footer-contact__list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.footer--board .footer-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.14);
  color: #e6d08a;
  font-size: 0.9rem;
}

.footer--board .footer-contact__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  text-align: start;
}

.footer--board .footer-contact__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #93a4bb;
  letter-spacing: 0.02em;
}

.footer--board .footer-contact__list a {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: #f1f5f9;
  text-decoration: none;
  text-align: start;
  word-break: break-word;
}

.footer--board .footer-contact__list a::before {
  display: none !important;
  content: none !important;
}

.footer--board .footer-contact__list a:hover {
  color: #e6d08a;
}

.footer--board .footer-contact__hours {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(147, 197, 253, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer--board .footer-contact__hours-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e6d08a;
  font-size: 0.82rem;
  font-weight: 800;
}

.footer--board .footer-contact__hours-value {
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer--board .footer-contact__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #f3e6b5;
  background: rgba(201, 162, 39, 0.1);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer--board .footer-contact__cta:hover {
  background: #c9a227;
  border-color: #c9a227;
  color: #1a1a2e;
}

/* Kill any leftover map embeds */
.footer--board .footer-map-embed {
  display: none !important;
}

.footer--board .footer-bottom {
  border-top: 1px solid var(--ft-line);
  padding: 1.15rem 0 1.35rem;
  background: rgba(0, 0, 0, 0.18);
}

.footer--board .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.footer--board .footer-copy {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.footer--board .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.footer--board .footer-bottom-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer--board .footer-bottom-links a:hover {
  color: var(--ft-blue);
}

.footer--board .footer-lang {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ft-line);
}

.footer--board .lang-footer {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer--board .lang-footer:hover {
  color: #e2e8f0;
}

.footer--board .lang-footer.active {
  background: #2563eb;
  color: #fff;
}

@media (max-width: 1100px) {
  .footer--board .footer-board {
    grid-template-columns: 1fr 1fr;
  }

  .footer--board .footer-nav {
    grid-column: 1 / -1;
  }

  .footer--board .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer--board .footer-board {
    grid-template-columns: 1fr;
  }

  .footer--board .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer--board .footer-brand {
    max-width: none;
  }

  .footer--board .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
  }
}

@media (max-width: 480px) {
  .footer--board .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer--board .footer-social-icon,
  .footer--board .footer-col a {
    transition: none;
  }

  .footer--board .footer-social-icon:hover,
  .footer--board .footer-col a:hover {
    transform: none;
  }
}

/* Kill legacy RTL chevron on the new footer */
.rtl-body .footer--board .footer-col a::before,
.rtl-body .footer--board .footer-contact a::before {
  content: none !important;
  display: none !important;
}

.rtl-body .footer--board .footer-col a:hover {
  padding-right: 0;
  padding-left: 0;
  transform: translateX(2px);
}


/* Contact v2 — tight RTL rows (icon + text glued together) */
.footer--board .footer-contact--v2 .footer-contact__list li {
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 0.7rem;
}
.footer--board .footer-contact--v2 .footer-contact__meta {
  flex: 0 1 auto;
  max-width: calc(100% - 3.2rem);
  text-align: start;
}
.footer--board .footer-contact--v2 .footer-contact__meta a,
.footer--board .footer-contact--v2 .footer-contact__meta .footer-contact__text {
  display: block;
  width: max-content;
  max-width: 100%;
  text-align: start;
}
.footer--board .footer-contact--v2 .footer-contact__meta a[dir="ltr"] {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: start;
}
.footer--board .footer-contact--v2 .footer-contact__text {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  color: #f1f5f9;
  white-space: normal;
}
.footer--board .footer-contact--v2 .footer-contact__hours {
  display: none !important;
}
