h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-block {
  background-color: #ffffff;
  border-left: 5px solid var(--logo);
  border-radius: 10px;
  box-shadow: 0 4px 12px 6px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
  flex: 1 1 300px;
  min-width: 280px;
}

.contact-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--logo);
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  fill: var(--logo);
  flex-shrink: 0;
}

.contact-card-set {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.contact-card {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  border-radius: 3px;
  box-shadow: 0 4px 12px 6px rgba(0, 0, 0, 0.08);
  width: 33%;
  min-width: 444px;
  padding: 1.5rem 1rem;
  gap: 1.5rem;
  border-left: 6px solid var(--deep);
  transition: 0.2s;

  .info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 340px;
    padding-left: 1rem;

    .name {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--deep);
      transition: 0.2s;
    }

    .position {
      font-size: 0.95rem;
      color: #666;
      max-width: 320px;
    }
  }

  hr.vertical {
    width: 1px;
    height: 100%;
    margin: 0;
    background-color: var(--deep);
    border: none;
    box-shadow: 1px 1px 10px 1px rgba(0, 110, 199, 0.5);
    transition: 0.2s;
  }

  &.extra-info {
    width: 60%;
    min-width: unset;

    .contact-notes {
      font-size: 0.95rem;
      color: #666;
    }
  }

  .notes-container {
    display: flex;
    align-items: center;
    border-left: 2px solid #dbdbdb;
    padding-left: 1rem;
  }
}

.contact-card:hover {
  box-shadow: 0 6px 24px 6px rgba(0, 110, 199, 0.2);
  /*border-left: 6px solid var(--logo);

  hr.vertical {
    background-color: var(--logo);
  }*/
}

.avatar {
  width: 64px;
  height: 64px;
  background-color: #dbeafe;
  border-radius: 50%;
  display: none;
  align-self: start;
  align-items: center;
  justify-content: center;
  color: var(--logo);
  font-size: 1.6rem;
  font-weight: bold;
  flex-shrink: 0;
}

.contact-line {
  font-size: 0.9rem;
  color: #444;
}

.contact-line::before {
  margin-right: 6px;
}

@media (max-width: 1024px) {
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

    &.extra-info {
      width: 80%;
    }

    .info {
      min-width: unset;

      .position {
        max-width: unset;
      }
    }

    hr.vertical {
      width: 100%;
      height: 1px;
    }

    .contact-notes {
      padding-left: 1rem;
    }
  }
}

@media (max-width: 768px) {
  .contact-card,
  .contact-card.extra-info {
    min-width: unset;
    width: 100%;
  }
}
