:root {
  --primary: #1f4d3a;
  --secondary: #c8a23a;
  --light-primary: #2e6b50;
  --dark-black: #2b2b2b;
  --light-gray: #f7f5f0;
}

/*Mayor content wrapper */
.members-wrapper {
  margin-top: 0px !important;
}
.office-section {
  padding-top: 32px;
}
.mayor-content-wrapper {
  margin-left: 37px;
  margin-right: 37px;
}

/* Typography */
.mayor-content-wrapper * {
  color: var(--dark-black);
}

.mayor-content-wrapper a:hover {
  color: var(--light-primary);
  text-decoration: underline;
}

h3,
.meeting-info-wrapper h4,
.meeting-links-wrapper h4 {
  text-align: center;
}

/* mobile */
@media (max-width: 767px) {
  .top-row-wrapper {
    display: none;
  }
  .members-wrapper h3 {
    display: block;
    margin-top: 30px;
  }
  .members-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
    margin-bottom: 30px;
  }

  .profile-cards-wrapper .card-wrapper {
    padding: 0px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .object-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .object-inline a {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Mayor card */
  .mayor-card .profile-photo-card {
    flex-direction: column;
    align-items: center;
  }

  .mayor-card .profile-modern-figure {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
  }

  .mayor-card .profile-photo-card {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* TODO: shares the same as homepage make global */
h1 {
  color: white;
  font-weight: bold;
  margin: 0px;
}
h4 {
  font-weight: bold;
}

.light-link {
  color: var(--primary);
  text-decoration: none;
}
.light-link:hover {
  color: var(--light-primary);
  text-decoration: underline;
}

/* Profile Photo Card */
.profile-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-photo-card {
  width: 100%;
  height: 100%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;

  background-color: var(--light-gray);
  border-radius: 5px;
  padding: 16px;

  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.profile-photo-card .profile-creative-figure {
  width: 113px;
  height: 135px;
  flex-shrink: 0;
}

.profile-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
}
.profile-creative-main {
  flex: 1;
}
.profile-contacts {
  margin-top: 5px;
}
