.hdt-testimonials-block{
  hdt-slider{
    padding: 3.6rem;
    @media (width < 767px){
      padding: 2.4rem 1rem;
    }
  }
  .hdt-pag-position-out_of_box{
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    width: 100%;
  }
  .hdt-tes-text{
    font-weight: var(--font-normal);
    text-wrap: pretty;
    color: rgb(var(--color-foreground));
    p {
      color: inherit;
    }
    @media (width > 1149px){
      font-size: var(--text-lg);
    }
  }
  .hdt-tes-image{
    margin-top: 1rem;
    max-width: 7.2rem;
    aspect-ratio: 1;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-inline: auto;
    @media (width > 1149px){
      margin-top: 2rem;
    }
    img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .hdt-tes-name{
    margin-top: 1rem;
    font-weight: var(--font-medium);
    color: rgb(var(--color-foreground));
    @media (width > 1149px){
      margin-top: 2rem;
      font-size: var(--text-xl);
    }
  }
  .hdt-tes-subtext {
    margin-top: 0.3rem;
    font-size: 1.4rem;
    color: rgb(var(--color-foreground));
    opacity: 0.85;
    text-align: center;
  }
  .hdt-tes-verify{
    font-weight: var(--font-medium);
    color: rgb(var(--color-foreground));
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    @media (width > 1149px){
      margin-top: 1rem;
    }
  }
  @media (width < 767px){
   br{
    display: none;
   }
  }

  /* ── Style 2: Modern Left Quote & Author Row ── */
  &.hdt-testimonials-style-2,
  .hdt-testimonials-style-2 {
    hdt-slider {
      @media (max-width: 1149px) {
        padding: 2rem 1.6rem;
      }
      @media (max-width: 767px) {
        padding: 1.6rem 0.5rem;
      }
    }
    .hdt-tes-inner {
      text-align: start;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
    }
    .hdt-tes-text {
      font-size: var(--tes-text-fz-mb, 1.6rem);
      line-height: 1.5;
      font-weight: 400;
      text-align: start;
      margin-bottom: 1.6rem;
      color: rgb(var(--color-foreground));
      word-break: break-word;
      overflow-wrap: break-word;
      p {
        color: inherit;
      }
      @media (min-width: 768px) {
        font-size: var(--tes-text-fz-mb, 1.8rem);
        line-height: 1.55;
        margin-bottom: 2rem;
      }
      @media (min-width: 1150px) {
        font-size: var(--tes-text-fz, 2.2rem);
        line-height: 1.6;
        margin-bottom: 2.4rem;
      }
    }
    &.hdt-text-xs .hdt-tes-text { font-size: var(--text-xs) !important; }
    &.hdt-text-sm .hdt-tes-text { font-size: var(--text-sm) !important; }
    &.hdt-text-base .hdt-tes-text { font-size: var(--text-base) !important; }
    &.hdt-text-lg .hdt-tes-text { font-size: var(--text-lg) !important; }
    &.hdt-text-xl .hdt-tes-text { font-size: var(--text-xl) !important; }
    &.hdt-text-2xl .hdt-tes-text { font-size: var(--text-2xl) !important; }
    &.hdt-text-4xl .hdt-tes-text { font-size: var(--text-4xl) !important; }
    .hdt-tes-author-wrap {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      gap: 1rem;
      text-align: start;
      max-width: 100%;
      @media (min-width: 768px) {
        gap: 1.2rem;
      }
      @media (min-width: 1150px) {
        gap: 1.4rem;
      }
    }
    .hdt-tes-image {
      margin: 0;
      width: 3.8rem;
      height: 3.8rem;
      min-width: 3.8rem;
      min-height: 3.8rem;
      max-width: 3.8rem;
      border-radius: var(--radius-full);
      overflow: hidden;
      flex-shrink: 0;
      @media (min-width: 768px) {
        width: 4.4rem;
        height: 4.4rem;
        min-width: 4.4rem;
        min-height: 4.4rem;
        max-width: 4.4rem;
      }
      @media (min-width: 1150px) {
        width: 5rem;
        height: 5rem;
        min-width: 5rem;
        min-height: 5rem;
        max-width: 5rem;
      }
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .hdt-tes-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: start;
      min-width: 0;
    }
    .hdt-tes-name {
      margin: 0;
      font-size: 1.6rem;
      font-weight: 600;
      color: rgb(var(--color-foreground));
      line-height: 1.3;
      @media (min-width: 768px) {
        font-size: 1.8rem;
      }
      @media (min-width: 1150px) {
        font-size: 2rem;
      }
    }
    .hdt-tes-subtext {
      font-size: 1.3rem;
      opacity: 0.85;
      margin-top: 0.2rem;
      color: rgb(var(--color-foreground));
      line-height: 1.3;
      text-align: start;
      @media (min-width: 768px) {
        font-size: 1.4rem;
      }
      @media (min-width: 1150px) {
        font-size: 1.6rem;
      }
    }
    .hdt-tes-verify {
      justify-content: flex-start;
      margin-top: 0.4rem;
      color: rgb(var(--color-foreground));
      font-size: 1.3rem;
      @media (min-width: 768px) {
        font-size: 1.4rem;
      }
    }
  }
}