
/* =========================================
   ECAC CONTACT INFORMATION
   ========================================= */

.chapter-contact-details {
  margin: 26px 0;
  padding: 12px 24px;

  background: #fbf7f2;
  border-left: 5px solid #880c13;
  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(17,17,17,0.06);
}

.chapter-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  padding: 22px 0;
}

.chapter-contact-item + .chapter-contact-item {
  border-top: 1px solid #e2d5cc;
}

.chapter-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 42px;
  width: 42px;
  height: 42px;

  background: #880c13;
  color: #ffffff;

  border-radius: 50%;
  font-size: 1.25rem;
}

.chapter-contact-text {
  flex: 1;
  min-width: 0;
}

.chapter-contact-text h4 {
  color: #880c13;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.chapter-contact-text a {
  color: #880c13;
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.chapter-contact-text address {
  color: #111111;
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
}

/* MOBILE */

@media (max-width: 600px) {
  .chapter-contact-details {
    padding: 10px 16px;
  }

  .chapter-contact-item {
    gap: 12px;
  }

  .chapter-contact-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}



/* =========================================
   ECAC SOCIAL MEDIA ICONS
   ========================================= */

.ecac-contact .ecac-social-links {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin: 25px 0 10px;
}

.ecac-contact .ecac-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 95px;

  color: #880c13;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.ecac-contact .ecac-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 62px;
  height: 62px;

  background: #880c13;
  color: #ffffff;
  border: 2px solid #d7b56d;
  border-radius: 50%;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ecac-contact .ecac-social-icon svg {
  display: block;
  width: 29px;
  height: 29px;
}

.ecac-contact .ecac-social-item:hover .ecac-social-icon {
  background: #b5121b;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(17,17,17,0.18);
}

.ecac-contact .ecac-social-item:focus-visible {
  outline: 3px solid #d7b56d;
  outline-offset: 5px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .ecac-contact .ecac-social-icon {
    transition: none;
  }

  .ecac-contact .ecac-social-item:hover .ecac-social-icon {
    transform: none;
  }
}

@media (max-width: 600px) {
  .ecac-contact .ecac-social-links {
    gap: 14px;
  }

  .ecac-contact .ecac-social-item {
    min-width: 78px;
    font-size: 0.78rem;
  }

  .ecac-contact .ecac-social-icon {
    width: 52px;
    height: 52px;
  }

  .ecac-contact .ecac-social-icon svg {
    width: 25px;
    height: 25px;
  }
}
