/* ================================
   ENERGY BREAK - CHI SIAMO
   ================================ */

.eb-about-page {
  width: 100%;
  margin: 0;
  padding: 48px 0 0;
  overflow-x: hidden;
  background: #ffffff;
  color: #111111;
}

.eb-about-page > .wp-block-post-content {
  width: min(100% - 48px, 1180px);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.eb-about {
  width: 100%;
  margin: 0;
  color: #111111;
  background: #ffffff;
}

.eb-about-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.eb-about-team {
  padding: 46px 0 78px;
}

.eb-about-section {
  padding-top: 46px;
  border-top: 1px solid #e6e6e6;
}

.eb-about-section + .eb-about-section {
  margin-top: 54px;
}

.eb-about-section-header {
  margin: 0 0 24px;
}

.eb-about-section-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.eb-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.eb-about-person {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(0, 150, 64, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.eb-about-person:hover {
  border-color: rgba(0, 150, 64, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.eb-about-person-media {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f4ed;
}

.eb-about-person-photo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.eb-about-person-content {
  min-width: 0;
  padding: 3px 0 0 18px;
}

.eb-about-person h3 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.eb-about-person-role {
  margin: 8px 0 0;
  color: #007a35;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.eb-about-person-description {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #e7e7e7;
}

.eb-about-person-description p {
  margin: 0;
  color: #444444;
  font-size: 15px;
  line-height: 1.58;
}

.eb-about-person-description p + p {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .eb-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .eb-about-page {
    padding-top: 34px;
  }

  .eb-about-page > .wp-block-post-content,
  .eb-about-inner {
    width: min(100% - 28px, 1180px);
  }

  .eb-about-team {
    padding: 34px 0 56px;
  }

  .eb-about-section {
    padding-top: 34px;
  }

  .eb-about-section + .eb-about-section {
    margin-top: 42px;
  }

  .eb-about-section-header {
    margin-bottom: 20px;
  }

  .eb-about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eb-about-person {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 18px;
    border-radius: 26px;
  }

  .eb-about-person-media {
    width: 82px;
    height: 82px;
  }

  .eb-about-person-content {
    padding-left: 15px;
  }

  .eb-about-person h3 {
    font-size: 20px;
  }

  .eb-about-person-description {
    margin-top: 15px;
    padding-top: 14px;
  }

  .eb-about-person-description p {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 420px) {
  .eb-about-page > .wp-block-post-content,
  .eb-about-inner {
    width: min(100% - 24px, 1180px);
  }

  .eb-about-person {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 16px;
  }

  .eb-about-person-media {
    width: 72px;
    height: 72px;
  }

  .eb-about-person-content {
    padding-left: 13px;
  }

  .eb-about-person h3 {
    font-size: 19px;
  }
}
