/*
 * Body measurements compact grid.
 * The previous table presentation remains in front.css and can be restored by
 * switching BodyProfile\Boot::FRONT_STYLE back to "front".
 */
.body-profile-module {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left !important;
}

.body-profile-divider {
  display: flex;
  width: 100%;
  height: 3px;
  margin: 0 0 20px;
  overflow: hidden;
  background: transparent;
}

.body-profile-divider-accent {
  display: block !important;
  width: 70px;
  flex: 0 0 70px;
  height: 3px;
  background: #d6a84b;
}

.body-profile-divider-line {
  display: block !important;
  flex: 1 1 auto;
  height: 3px;
  background: #2a3445;
}

.body-profile-module h2 {
  margin: 0 0 8px !important;
  color: #f3f1ec !important;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: left !important;
}

.body-profile-name {
  margin: 0 0 18px;
  color: #d6b46a;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: left !important;
}

.body-profile-table,
.body-profile-table table {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: separate !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #cbd3df !important;
  text-align: left !important;
}

.body-profile-table > :not(table),
.body-profile-table > :not(table) > :not(table) {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.body-profile-table table,
.body-profile-table tbody {
  display: block !important;
}

/* Editors may store the heading as a real thead or as the first tbody row. */
.body-profile-table thead,
.body-profile-table table > tbody:first-child > tr:first-child {
  display: none !important;
}

.body-profile-table tbody {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 30px;
}

.body-profile-table tbody tr {
  display: block !important;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.body-profile-table tbody tr:hover {
  background: transparent !important;
}

.body-profile-table tbody tr > * {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #cbd3df !important;
  font-size: .9rem;
  font-weight: 400 !important;
  line-height: 1.45;
  text-align: left !important;
  vertical-align: baseline;
}

.body-profile-table tbody tr > :first-child {
  display: block !important;
  margin-bottom: 4px !important;
  color: #f2f4f8 !important;
  font-size: .82rem;
  font-weight: 600 !important;
  letter-spacing: .01em;
}

.body-profile-table tbody tr > :nth-child(2),
.body-profile-table tbody tr > :nth-child(3) {
  display: inline !important;
}

.body-profile-table tbody tr > :nth-child(2)::after {
  content: " / ";
  color: #d6b46a;
  font-weight: 600;
}

.body-profile-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 0;
  border-left: 4px solid #e7a23a;
  border-radius: 4px;
  background: rgba(255, 255, 255, .075);
  color: #e8ebf0;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.55;
}

.body-profile-note-icon {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(231, 162, 58, .14);
  color: #e7a23a;
}

.body-profile-note-icon svg {
  width: 15px;
  height: 15px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 767px) {
  .body-profile-module {
    margin-top: 18px;
  }

  .body-profile-divider {
    margin-bottom: 16px;
  }

  .body-profile-divider-accent {
    width: 52px;
    flex-basis: 52px;
  }

  .body-profile-name {
    margin-bottom: 16px;
  }

  .body-profile-table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .body-profile-table tbody tr > * {
    font-size: .84rem;
  }

  .body-profile-table tbody tr > :first-child {
    font-size: .78rem;
  }

  .body-profile-note {
    gap: 10px;
    margin-top: 24px;
    padding: 12px 14px;
    font-size: .82rem;
    line-height: 1.5;
  }
}
