:root {
  --title-font: "League Spartan", sans-serif;
  --body-font: "League Spartan", sans-serif;
  --title-weight: 700;
  --body-weight: 400;
  --border-radius: 10px;
  --body-text: #000000;
  --excerpt: #999999;
  --accent: #2e6d87;
  --dark: #08445d;
  --masthead-bg: white;
  --link: #999999;
  --link-hvr: #555555;
  --nav-bg: #2e6d87;
  --nav-link: #2e6d87;
  --subnav-link: white;
  --footer-bg: #08445d;
  --footer-link: white;
  --footer-text: white;
}

.itre-agents {
  margin-bottom: 2rem;
}
@media (min-width: 60rem) {
  .itre-agents {
    margin-bottom: 3rem;
  }
}
.itre-agents__agents {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .itre-agents__agents {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 60rem) {
  .itre-agents__agents {
    grid-template-columns: repeat(4, 1fr);
  }
}
.itre-agents__agents {
  margin-top: 1.25rem;
}
.itre-agents__agent {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #f5f5f5;
}
.itre-agents__agent-details {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 1rem 1.5rem;
}
.itre-agents__agent-name {
  margin-bottom: 0;
}
.itre-agents__agent-role {
  color: var(--accent);
  margin-bottom: 0;
}
.itre-agents__agent-description {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 1rem;
}
.itre-agents__agent-links {
  margin-top: auto;
  display: flex;
}
.itre-agents__agent-links .phone, .itre-agents__agent-links .mail {
  display: none;
}
@media (min-width: 30rem) {
  .itre-agents__agent-links .phone, .itre-agents__agent-links .mail {
    display: inline;
    position: relative;
    left: -0.5rem;
  }
}
@media (min-width: 30rem) {
  .itre-agents__agent-links {
    flex-direction: column;
  }
  .itre-agents__agent-links span.fa-stack {
    transform: scale(0.75);
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    -ms-transform: scale(0.75);
    -o-transform: scale(0.75);
    transform-origin: center left;
  }
}
.itre-agents figure {
  position: relative;
  width: 100%;
  padding-bottom: 80%;
}
.itre-agents img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}
