/* ============================================
   Widget Testimonial Business Coach - Estilos Scoped
   Todos los estilos están scoped bajo .testimonial-business-coach-widget
   ============================================ */

.testimonial-business-coach-widget {
  /* ============================================
     Estilos base de tipografía
     ============================================ */
  font-size: 16px;
  line-height: 1.7;
  font-family: var(--primary_font);
  font-weight: 400;
  color: var(--primary_color_font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f3f3f3;

  a {
    text-decoration: none;
    transition: 0.3s;
    color: var(--primary_color_font);
  }

  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

  /* Section wrapper - padding consistente (contenido central) */
  > .tmp-testimonial-area {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    > .tmp-testimonial-area {
      padding-top: 80px !important;
      padding-bottom: 80px !important;
    }
  }
  @media only screen and (max-width: 767px) {
    > .tmp-testimonial-area {
      padding-top: 60px !important;
      padding-bottom: 60px !important;
    }
  }

  p {
    margin-bottom: 20px;
    color: var(--secondary_color_font);
    font-size: 16px;
    line-height: 1.7;

    &:last-child {
      margin-bottom: 0;
    }
  }

  /* ============================================
     Section Gap Bottom
     ============================================ */
  .tmp-section-gapBottom {
    padding-bottom: 120px !important;

    @media only screen and (min-width: 768px) and (max-width: 991px) {
      padding-bottom: 80px !important;
    }

    @media only screen and (max-width: 767px) {
      padding-bottom: 60px !important;
    }
  }

  /* ============================================
     Section Title Border
     ============================================ */
  .tmp-section-title-border {
    .subtitle {
      display: flex;
      color: var(--secondary_color_font);
      font-size: 13px;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      align-items: center;
      padding: 0 15px;
      justify-content: center;

      @media only screen and (max-width: 767px) {
        flex-wrap: wrap;
        justify-content: center;
      }

      .subtitle-text {
        color: var(--secondary_color_font);
        font-weight: 700;
        width: max-content;
      }

      .number {
        color: var(--secondary_color_font);
        transition: 0.5s;
        opacity: 0.6;
        display: inline-block;
        margin-right: 5px;
      }
    }

    .title {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      margin-top: 20px;
      margin-bottom: 0;
      color: var(--primary_color_font);

      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        font-size: 42px;
      }

      @media only screen and (min-width: 768px) and (max-width: 991px) {
        font-size: 38px;
      }

      @media only screen and (max-width: 767px) {
        font-size: 32px;
      }
    }
  }

  /* ============================================
     Pres Line Separator Wrapper
     ============================================ */
  .pres-line-separator-wrapper {
    display: flex;
    position: relative;
    align-items: center;
    margin: 0 -15px;
    justify-content: center;

    @media only screen and (max-width: 767px) {
      flex-wrap: wrap;
      justify-content: center;
    }

    &.text-center {
      justify-content: center;
    }

    .line-separator {
      position: relative;
      background-image: linear-gradient(90deg, var(--primary_color), rgba(33, 38, 45, 0));
      width: 50px;
      height: 1px;

      @media only screen and (max-width: 767px) {
        display: none;
      }

      &.line-left {
        background-image: linear-gradient(90deg, rgba(33, 38, 45, 0), var(--primary_color));
      }

      &.line-right {
        background-image: linear-gradient(90deg, var(--primary_color), rgba(33, 38, 45, 0));
      }
    }
  }

  /* ============================================
     Tmp Box Card (Base)
     ============================================ */
  .tmp-box-card {
    background: #fefefe;
    backdrop-filter: blur(4px) opacity(0.95);
    border-radius: var(--general_border_radius);
    position: relative;
    transition: all 0.3s;

    .inner {
      position: relative;
    }
  }

  /* ============================================
     Card Style Default - Testimonial Style One
     ============================================ */
  .card-style-default.testimonial-style-one {
    margin-top: 0;

    .inner {
      padding-top: 0;
      padding: 30px 40px;

      @media only screen and (max-width: 575px) {
        padding: 20px;
      }

      .thumbnail {
        overflow: visible;
        min-width: 50px;
        min-height: 50px;
        margin-left: inherit;
        max-width: 50px;
        max-height: 50px;
        border: 3px solid var(--primary_color);
        position: static;
        transform: none;
        margin-bottom: 15px;
        border-radius: 50%;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 50%;
        }
      }

      .content {
        padding: 0;
        text-align: left;

        .description {
          padding: 0;
          margin-bottom: 27px;
          margin-top: 0;
          color: var(--secondary_color_font);
          font-size: 16px;
          line-height: 1.7;
        }

        .title {
          font-size: 20px;
          font-weight: 500;
          margin-bottom: 2px;
          letter-spacing: 0.5px;
          color: var(--primary_color_font);
        }

        .subtitle {
          font-size: 16px;
          line-height: 1.2;
          margin-bottom: 0;
          letter-spacing: 0.5px;
          color: var(--secondary_color_font);
        }

        .rating {
          display: flex;
          align-items: center;
          gap: 10px;
          margin-top: 10px;

          a {
            color: var(--primary_color);
            font-size: 16px;
            transition: 0.3s;

            &:hover {
              color: var(--primary_color);
              transform: scale(1.1);
            }

            i {
              display: block;
            }
          }
        }
      }
    }
  }

  /* ============================================
     Tmp On Hover (Flashlight Effect)
     ============================================ */
  .tmponhover {
    position: relative;
    overflow: hidden;

    &::before {
      content: "";
      position: absolute;
      top: var(--y);
      left: var(--x);
      transform: translate(-50%, -50%);
      background: radial-gradient(var(--primary_color), transparent, transparent);
      width: 200%;
      height: 200%;
      opacity: 0;
      transition: 0.5s, top 0s, left 0s;
      border-radius: var(--general_border_radius);
    }

    &:hover::before {
      opacity: 1;
    }

    &::after {
      content: "";
      position: absolute;
      inset: 2px;
      background: #fefefe;
      border-radius: var(--general_border_radius);
      z-index: 1;
    }

    > * {
      z-index: 2;
      position: relative;
    }
  }

  /* ============================================
     Spacing Utilities
     ============================================ */
  .mt--5 {
    margin-top: 5px;
  }

  .mt--10 {
    margin-top: 10px;
  }

  .mb--10 {
    margin-bottom: 10px;
  }

  .text-center {
    text-align: center;
  }

  /* ============================================
     Font Weight Utilities
     ============================================ */
  .w-700 {
    font-weight: 700 !important;
  }
}

/* ============================================
   Ocultar inicialmente los títulos con animación tmp-title-split
   ============================================ */
.testimonial-business-coach-widget .tmp-title-split {
  opacity: 0;
  visibility: hidden;
}

