/*
 * Styled Card Module
 * ========================================================================
 * Reusable card component with multiple variations and interactive states.
 * Supports different card types, hover effects, and responsive layouts.
 */

/* ==========================================================================
   Base Styled Card Section Styles
   ========================================================================== */

.styled-card-section {
  .styled-card {
    padding: 4.375rem 2.5rem;
    position: relative;
  }

  .container {
    .styled-card {
      margin: 3.75rem 0;
      border-radius: 1.25rem;
    }
  }

  .container-fluid {
    .styled-card {
      border-radius: 0rem;
    }
  }

  .styled-card-avatar {
    position: absolute;
    right: -6.75rem;
    top: -9.25rem;
  }

  .button-wrapper .btn {
    @media (max-width: 61.99875rem) {
      width: 100%;
    }
  }

  @media (max-width: 61.99875rem) {
    .container {
      .styled-card {
        margin: 3.75rem 0;
      }
    }

    .styled-card-avatar {
      display: none;
    }
  }
}

/* ==========================================================================
   Styled Card Layout Variants
   ========================================================================== */

.styled-card-leftimage {
  .row {
    justify-content: flex-start;
  }

  @media (max-width: 61.99875rem) {
    .row {
      flex-direction: column;
    }
  }
}

.styled-card-fullcontent {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  @media (max-width: 61.99875rem) {
    .row {
      flex-direction: column;
    }
  }
}

.styled-card-rightimage {
  .row {
    flex-direction: row-reverse;
  }

  .styled-card-content-description {
    color: var(--bs-gray-600);
  }

  @media (max-width: 61.99875rem) {
    .row {
      flex-direction: column-reverse;
    }
  }
}

/* ==========================================================================
   Styled Card Image
   ========================================================================== */

.styled-card-image {
  border-radius: 1.25rem;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Styled Card Content
   ========================================================================== */

.styled-card-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ==========================================================================
   Styled Card Content Tag
   ========================================================================== */

.styled-card-content-tag {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.25rem;
  text-transform: uppercase;

  @media (max-width: 61.99875rem) {
    font-size: 1rem;
    line-height: 1.25rem;
  }
}

/* ==========================================================================
   Styled Card Content Title
   ========================================================================== */

.styled-card-content-title {
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 3.4375rem;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 3.4375rem;
    margin-bottom: 0;
  }

  p {
    margin-bottom: 0;
  }

  span {
    color: var(--bs-primary);
  }

  .font-serif {
    font-size: 3.4375rem;
    line-height: 3.4375rem;
    font-weight: 400;
  }

  @media (max-width: 61.99875rem) {
    font-size: 2.5rem;
    line-height: 3.4375rem;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-size: 2.5rem;
      line-height: 3.4375rem;
    }

    .font-serif {
      font-size: 3.4375rem;
      line-height: 3.4375rem;
    }
  }
}

/* ==========================================================================
   Styled Card Content Sub Title
   ========================================================================== */

.styled-card-content-sub-title {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2rem;

  @media (max-width: 61.99875rem) {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}

/* ==========================================================================
   Styled Card Content Description
   ========================================================================== */

.styled-card-content-description {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--bs-gray-800);

  @media (max-width: 61.99875rem) {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* ==========================================================================
   Badge Container
   ========================================================================== */

.badge-container {
  margin-top: 1.875rem;

  .badge-title {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--bs-gray-800);
  }

  .badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;

    .badge {
      padding: 0.25rem 1.25rem;
      border-radius: 1.25rem;
      background: var(--bs-primary-200);
      color: var(--bs-primary);
      font-weight: 400;
      font-size: 0.875rem;
      line-height: 1.25rem;
    }
  }
}
