/* ============================================
   Widget Featured Properties - Estilos Scoped
   Todos los estilos están scoped bajo .featured-properties-widget
   ============================================ */

.featured-properties-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-color: #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-feature-properties {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }
  .card-section-sticky-wrapper {
    padding-bottom: 100px !important;
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    > .tmp-feature-properties {
      padding-top: 80px !important;
      padding-bottom: 30px !important;
    }
    .card-section-sticky-wrapper {
      padding-bottom: 80px !important;
    }
  }
  @media only screen and (max-width: 767px) {
    > .tmp-feature-properties {
      padding-top: 60px !important;
      padding-bottom: 20px !important;
    }
    .card-section-sticky-wrapper {
      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;
    }
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary_font);
    color: var(--primary_color_font);
    font-weight: 700;
    line-height: 1.2;
  }

  /* ============================================
     Section Title Border
     ============================================ */
  .tmp-section-title-border {
    .subtitle {
      display: flex;
      color: var(--primary_color);
      font-size: 13px;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      align-items: center;
      padding: 0 15px;

      @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(--primary_color);
        transition: 0.5s;
        opacity: 0.6;
        display: inline-block;
        margin-right: 5px;
      }
    }

    .title {
      margin-top: 20px;
      color: var(--primary_color_font);
      font-family: var(--primary_font);
      word-break: break-word;
      line-height: 1.4074;
      margin: 20px 0 20px;
      font-size: 48px;
      font-weight: 700;

      @media only screen and (max-width: 991px) {
        font-size: 36px;
      }

      @media only screen and (max-width: 767px) {
        font-size: 28px;
      }
    }

    .title.tmp-title-split {
      opacity: 0;
    }
  }

  /* ============================================
     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;
    }

    .line-separator {
      position: relative;
      background-image: linear-gradient(90deg, var(--primary_color), rgba(33, 38, 45, 0));
      width: 50px;
      height: 1px;
      left: 0%;
      top: 0%;
      right: 0%;
      bottom: auto;

      @media only screen and (max-width: 767px) {
        display: none;
      }
    }

    .line-separator.line-left {
      background-image: linear-gradient(90deg, rgba(33, 38, 45, 0), var(--primary_color));
    }
  }

  /* ============================================
     Tmp Feature Properties
     ============================================ */
  .tmp-feature-properties {
    padding-bottom: 40px;
  }

  /* ============================================
     Card Section Sticky Wrapper
     ============================================ */
  .card-section-sticky-wrapper {
    height: auto;
  }

  /* ============================================
     Card Large Sticky Style One
     ============================================ */
  .card-large-sticky-style-one {
    background: #fefefe;
    position: sticky;
    top: 50px;
    border-radius: var(--general_border_radius);
    padding: 60px 40px;

    @media only screen and (min-width: 768px) and (max-width: 991px) {
      position: relative;
      top: 0;
      margin-top: 30px;
      padding: 40px 20px;

      &:first-child {
        margin-top: 0;
      }
    }

    @media only screen and (max-width: 767px) {
      position: relative;
      top: 0;
      margin-top: 30px;
      padding: 30px 15px;

      &:first-child {
        margin-top: 0;
      }
    }
  }

  /* ============================================
     Portfolio List Thumbnail
     ============================================ */
  .portfolio-list-thumbnail {
    height: 640px;
    overflow: hidden;
    border-radius: var(--general_border_radius);

    @media only screen and (min-width: 992px) and (max-width: 1199px) {
      height: 640px;
    }

    @media only screen and (max-width: 767px) {
      height: 400px;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  /* ============================================
     Portfolio List Inner Content
     ============================================ */
  .portfolio-list-inner-content {
    max-width: 90%;

    @media only screen and (max-width: 767px) {
      max-width: 100%;
    }

    .title {
      font-size: 45px;
      margin-bottom: 25px;
      color: var(--primary_color_font);
      font-family: var(--primary_font);
      font-weight: 700;
      line-height: 1.2;

      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        font-size: 28px;
      }

      @media only screen and (max-width: 767px) {
        font-size: 24px;
        margin-bottom: 20px;
      }
    }

    .tag-wrapper-area {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 20px;

      @media only screen and (max-width: 767px) {
        flex-wrap: wrap;
        gap: 15px;
      }

      .single {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 3px 12px;
        border: 1px solid rgba(157, 157, 255, 0.05);
        border-radius: var(--general_border_radius);
        font-size: 14px;
        color: var(--secondary_color_font);

        i {
          font-size: 16px;
          color: var(--primary_color);
        }
      }
    }

    .location-area {
      margin-top: 20px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--secondary_color_font);

      i {
        font-size: 22px;
        color: var(--primary_color);
      }

      span {
        font-size: 18px;
      }
    }

    p {
      margin-top: 25px;
      max-width: 90%;
      color: var(--secondary_color_font);
      font-size: 16px;
      line-height: 1.7;

      @media only screen and (max-width: 767px) {
        max-width: 100%;
      }
    }

    .tmp-btn {
      margin-top: 25px;
    }
  }

  /* ============================================
     Feature List
     ============================================ */
  .feature-list {
    padding: 0;
    list-style: none;
    margin-bottom: 15px;
    margin-top: 25px;

    li {
      display: flex;
      margin-bottom: 20px;

      @media only screen and (max-width: 575px) {
        flex-wrap: wrap;
        gap: 12px;
      }

      .icon {
        background: var(--primary_color);
        width: 30px;
        height: 30px;
        border-radius: 100%;
        color: #fff;
        text-align: center;
        min-width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;

        i {
          display: flex;
          justify-content: center;
          align-items: center;
          height: 100%;
          font-size: 16px;
        }
      }

      .title-wrapper {
        margin-left: 13px;

        @media only screen and (max-width: 575px) {
          margin-left: 0;
        }

        .title {
          font-size: 18px;
          margin: 0;
          color: var(--primary_color_font);
          font-family: var(--primary_font);
          font-weight: 600;
          line-height: 1.2;
        }

        .text {
          font-size: 16px;
          margin-bottom: 0;
          max-width: 80%;
          margin-top: 13px;
          color: var(--secondary_color_font);
          line-height: 1.7;

          @media only screen and (max-width: 1199px) {
            max-width: 100%;
          }
        }
      }
    }
  }

  /* ============================================
     Tmp Button
     ============================================ */
  .tmp-btn {
    padding: 0 28px;
    border-radius: 5px;
    background: var(--primary_color);
    transition-duration: 300ms;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    height: 50px;
    line-height: 49px;
    letter-spacing: 0.5px;
    width: max-content;
    transition: all 0.6s;
    border: 0 none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    font-family: var(--primary_font);

    @media only screen and (max-width: 767px) {
      padding: 0 16px;
      height: 42px;
      line-height: 42px;
    }

    &.btn-small {
      height: 45px;
      line-height: 44px;
      padding: 0 24px;
      font-size: 15px;

      @media only screen and (max-width: 767px) {
        padding: 0 16px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
      }
    }

    &::after {
      content: "";
      position: absolute;
      transition-duration: 800ms;
      width: 200%;
      height: 200%;
      top: 110%;
      left: 50%;
      background: var(--primary_color);
      transform: translateX(-50%);
      border-radius: 50%;
      z-index: -1;
    }

    &:hover {
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(82, 55, 249, 0.3);

      &::after {
        top: -50%;
      }
    }
  }

  /* ============================================
     Tmp Title Split
     ============================================ */
  .tmp-title-split {
    opacity: 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;
    }
  }

  /* ============================================
     Spacing Utilities
     ============================================ */
  .pb--40 {
    padding-bottom: 40px;
  }

  .ptb--60 {
    padding-top: 60px;
    padding-bottom: 60px;

    @media only screen and (max-width: 767px) {
      padding-top: 40px;
      padding-bottom: 40px;
    }
  }

  .pt--60 {
    padding-top: 60px;

    @media only screen and (max-width: 767px) {
      padding-top: 40px;
    }
  }

  .pl--50 {
    padding-left: 50px;

    @media only screen and (max-width: 991px) {
      padding-left: 0;
    }
  }

  .pl_md--20 {
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      padding-left: 20px;
    }
  }

  .pl_sm--20 {
    @media only screen and (max-width: 767px) {
      padding-left: 20px;
    }
  }

  .mt_md--40 {
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      margin-top: 40px;
    }
  }

  .mt_sm--40 {
    @media only screen and (max-width: 767px) {
      margin-top: 40px;
    }
  }

  .mb--10 {
    margin-bottom: 10px;
  }

  .w-700 {
    font-weight: 700 !important;
  }

  .text-center {
    text-align: center;
  }
}


