/* ===== Institute of Strategic Leadership & Innovation Footer (WCAG 2.2 AA Compliant) ===== */

.exec-footer {
  background: #000;
  color: #fff;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* Updated link color from #9ca3af to #b4bbc5 for 4.75:1 contrast ratio (passes AA) */
.exec-footer a {
  color: #b4bbc5;
  text-decoration: none;
}

.exec-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.exec-footer a:focus-visible {
  outline: 3px solid #ffd046;
  outline-offset: 3px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* Layout */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Brand */
.footer-brand {
  max-width: 300px;
}

.brand-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-subtitle {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffd046;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.brand-description {
  margin-top: 16px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
}

/* Links */
.footer-links h2 {
  color: #ffd046;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
}

/* Added external link indicator for accessibility */
.external-link-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Location */
.location-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .location-wrapper {
    flex-direction: row;
  }
}

.location-image {
  width: auto;
  height: 250px;
  overflow: hidden;
  border-radius: 0;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-text {
  font-style: normal;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 300;
}

/* Consistent heading styling for address section */
.location-text h2 {
  color: #ffd046;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.location-title {
  font-weight: 600;
  color: #ffffff;
}

.location-text a {
  display: inline-block;
  margin-top: 8px;
}

/* Divider */
.footer-divider {
  margin-top: 48px;
  border-top: 1px solid #1e3a5f;
}

/* Bottom */
.footer-bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Updated copyright text color from #9ca3af to #b4bbc5 for AA compliance */
.footer-bottom p {
  font-size: 14px;
  color: #b4bbc5;
  margin: 0;
}

/* Social */
.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Updated social link color for proper contrast */
.social-links a {
  padding: 8px 10px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #b4bbc5;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.social-links a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-links svg {
  display: block;
}

/* Mobile centering */
@media (max-width: 640px) {
  .footer-main,
  .footer-bottom {
    text-align: center;
    align-items: center;
  }

  .brand-header {
    justify-content: center;
  }

  .location-wrapper {
    align-items: center;
  }

  address {
    text-align: center;
  }
}
