/* DUIT Testemunhos - estilo Google Review com aspas nos cantos */
.duit-testemunhos {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
}

.duit-testemunhos.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:48px;
  align-items:start;
}


.duit-testemunhos.grid.cols-1 {
  grid-template-columns: 1fr;
}

.duit-testemunhos.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.test-card {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  /*border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;*/
}

/* Aspas nos cantos */
.test-card::before,
.test-card::after {
  position: absolute;
  font-size: 90px;
  color: #f2c300;
  font-weight: 900;
  opacity: 0.9;
  font-family: Georgia, serif;
  line-height: 1;
}

.test-card::before {
  content: "“";
  top: 0;
  left: 0;
  transform: translate(-15%, -25%);
}

.test-card::after {
  content: "”";
  bottom: 0;
  right: 0;
  transform: translate(15%, 25%);
}

/* Cabeçalho: avatar + nome */
.test-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-initial span {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}

/* Corpo do texto */
.test-body {
  text-align: left;
  position: relative;
  z-index: 2;
}

.text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #111;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

/* Ginásio */
.test-gym {
  text-align: center;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.test-gym .sep {
  display: block;
  width: 340px;
  max-width: 70%;
  height: 0;
  border-bottom: 4px dotted #f2c300;
  margin: 0 auto 10px;
    
}

.test-gym .gym-name {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}


/* ====== RESPONSIVO MOBILE (max 768px) ====== */
@media (max-width: 768px) {
  .duit-testemunhos.grid {
    display: flex !important;
    flex-direction: column;
    gap: 40px !important;
    align-items: center;
    padding: 0 20px;
  }

  .test-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 30px 24px !important;
    box-sizing: border-box;
  }

  .test-head {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .avatar {
    width: 56px;
    height: 56px;
  }

  .name {
    font-size: 17px;
    line-height: 1.3;
  }

  .text p {
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
    word-break: break-word;
  }

  .test-gym {
    margin-top: 18px;
  }

  .test-gym .sep {
    max-width: 200px;
  }

  /* Aspas ajustadas */
  .test-card::before,
  .test-card::after {
    font-size: 54px !important;
    opacity: 0.8;
  }

  .test-card::before { transform: translate(-15%, -25%) !important; }
  .test-card::after  { transform: translate(15%, 25%) !important; }
}
