.other-content-container {
    flex: 1;
    padding: 180px 0px 120px;
    box-sizing: border-box;
    max-width: 300px;
}

.other-home-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);

    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    height: 204px;
    box-sizing: border-box;

    transition: box-shadow 0.2s ease;
}

.other-home-card:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
}

.other-content-container a.other-home-card:hover {
    text-decoration: none !important;
}

.other-content-container h3 {
  font-size: 1.4rem;
  margin: 28px 0 20px 0;
}

.card-content {
    flex: 1;
}

.card-content h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.card-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.card-image {
    margin-left: 20px;
    flex-shrink: 0;
}

.card-image img {
    display: block;
    max-width: 80px;
    height: auto;
}

.card-green {
    background-color: #CDECDE;
}

.card-purple {
    background-color: #E6E4F0;
}

.card-blue {
    background-color: #D4E6F1;
}

.card-orange {
    background-color: #F9E4C8;
}

@media (max-width: 768px) {
    .other-content-container {
        width: 100%;
        padding: 0 0 16px;
        max-width: 550px;
        margin: 0 auto;
        overflow: hidden;
    }

    .other-content-container.highlights-swiper-container {
        position: relative;
        overflow: hidden;
    }

    .other-content-container .swiper-wrapper {
        width: 100%;
    }

    .other-content-container .swiper-slide {
      width: 100%;
      flex-shrink: 0;
    }

    .other-home-card {
      margin: 0 auto;
    }

    .card-image img {
      width: 80px;
      height: auto; 
      display: block;
    }

    /* Ensure no horizontal overflow on the entire page */
    body {
      overflow-x: hidden;
    }

    /* Additional swiper constraints */
    .other-content-container .swiper-slide .other-home-card {
      width: 100%;
      box-sizing: border-box;
    }
  }
  
  @media (min-width: 769px) {
    .other-content-container .swiper-wrapper {
      display: block !important;
      transform: none !important;
      width: auto !important;
      height: auto !important;
    }
    
    .other-content-container .swiper-slide {
      display: block !important;
      width: auto !important;
      height: auto !important;
      transform: none !important;
      margin-right: 0 !important;
      flex-shrink: initial !important;
    }
  }

/* Profile Completion Welcome Card Styles */
.profile-completion-alert {
  background: linear-gradient(90deg, #f7f7f4, #73b5b578 80%);
  border: 1px solid var(--card-border-color);
  border-radius: 16px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.profile-completion-alert .alert-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  gap: 20px;
}

.profile-completion-alert .alert-icon {
  color: var(--primary-color);
  flex-shrink: 0;
  background: var(--card-bg);
  padding: 12px;
  border-radius: 50%;
}

.profile-completion-alert .alert-text {
  flex: 1;
}

.profile-completion-alert .alert-text h4 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.profile-completion-alert .alert-text p {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color);
  line-height: 1.5;
  font-weight: 400;
}

.profile-completion-alert .alert-button {
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.profile-completion-alert .alert-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.profile-completion-alert .alert-button:hover {
  background: #505050;
  color: white;
  text-decoration: none !important;
}

.profile-completion-alert .alert-button:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .profile-completion-alert .alert-content {
    padding: 20px;
  }
  
  .profile-completion-alert .alert-button {
    width: 100%;
    padding: 16px 20px;
  }

  .profile-completion-alert .alert-text h4 {
    font-size: 1.2rem;
  }
}
