/* Giới thiệu: people pages (Ban lãnh đạo, Đội ngũ Kiểm toán viên) and Khách hàng tiêu biểu.
   Loaded after Vvs_Site.css (Helpers/VvStylesheets.cs). */
.vv-lead {
  margin: 0 0 24px;
  color: var(--vv-muted);
  font-size: 15px;
}

/* People pages (Ban lãnh đạo, Đội ngũ Kiểm toán viên): each table row (photo cell + text cell) becomes a card. */
.vv-prose.vv-profiles table,
.vv-profiles tbody,
.vv-profiles tr,
.vv-profiles td {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
}
.vv-prose.vv-profiles table {
  overflow: visible;
  font-size: 14px;
}
.vv-profiles tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.vv-profiles--wide tbody {
  grid-template-columns: minmax(0, 1fr);
}
.vv-profiles tr {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.vv-profiles tr:hover {
  border-color: #cdd8cb;
  box-shadow: 0 10px 26px rgba(18, 40, 18, 0.08);
}
.vv-profiles td:first-child {
  flex: none;
}
.vv-profiles td:first-child img {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0;
  border: 3px solid var(--vv-yellow);
  border-radius: var(--vv-radius);
  background: var(--vv-bg);
  object-fit: cover;
}
.vv-profiles--wide td:first-child img {
  width: 120px;
  height: 120px;
}
.vv-profiles td + td {
  flex: 1;
  min-width: 0;
  line-height: 1.65;
}
.vv-profiles td > br {
  display: none;
}
.vv-profiles td > b,
.vv-profiles td > strong {
  display: block;
  color: var(--vv-green-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
.vv-profiles td > i,
.vv-profiles td > em {
  display: block;
  margin-top: 2px;
  color: var(--vv-yellow-text);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
}
.vv-profiles td p {
  margin: 8px 0 0;
  color: var(--vv-muted);
}

/* ---------- Giới thiệu › Khách hàng tiêu biểu ---------- */
.vv-customers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.vv-customer {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  background: #fff;
  color: var(--vv-text);
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
a.vv-customer:hover {
  border-color: var(--vv-green);
  box-shadow: 0 10px 26px rgba(18, 40, 18, 0.08);
}
.vv-customer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 18px;
  border-bottom: 1px solid var(--vv-border);
}
.vv-customer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vv-customer__initial {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--vv-green);
  color: var(--vv-yellow);
  font-size: 26px;
  font-weight: 800;
}
.vv-customer__name {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  color: var(--vv-green-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
a.vv-customer:hover .vv-customer__name {
  color: var(--vv-green);
}

@media (max-width: 767px) {
  .vv-profiles tbody {
    grid-template-columns: minmax(0, 1fr);
  }
  .vv-customers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .vv-customer__logo {
    height: 110px;
    padding: 14px;
  }
}

@media (max-width: 575px) {
  .vv-profiles tr {
    gap: 14px;
    padding: 14px;
  }
  .vv-profiles td:first-child img,
  .vv-profiles--wide td:first-child img {
    width: 76px;
    height: 76px;
  }
  .vv-profiles--wide tr {
    flex-direction: column;
  }
  .vv-profiles--wide td:first-child img {
    width: 96px;
    height: 96px;
  }
  .vv-profiles td > b,
  .vv-profiles td > strong {
    font-size: 15px;
  }
  .vv-customer__logo {
    height: 96px;
    padding: 12px;
  }
  .vv-customer__name {
    padding: 10px;
    font-size: 13px;
  }
}
