/* Writer Section */
 
 

 

/* Writer Slider Wrapper */
.writer-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 22px;
  padding-top: 50px;

}

.writer-swiper {

  padding-bottom: 66px;
}

.writer-swiper .swiper-wrapper {
  padding-top: 40px;
  padding-bottom: 20px;
}

/* Swiper Navigation */
.writer-swiper .swiper-button-prev,
.writer-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #D2E3F8;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: none;
}

.writer-swiper .swiper-button-prev:after,
.writer-swiper .swiper-button-next:after {
  content: '';
  display: none;
}

.writer-swiper .swiper-button-prev,
.writer-swiper .swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
}

.writer-swiper .swiper-button-prev::before {
  content: '';
  width: 13px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 5L0.5 5M0.5 5L5 9.5M0.5 5L5 0.5' stroke='%235F728B' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.writer-swiper .swiper-button-next::before {
  content: '';
  width: 13px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.5 5L12.5 5M12.5 5L8 0.5M12.5 5L8 9.5' stroke='%235F728B' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.writer-swiper .swiper-button-prev:hover,
.writer-swiper .swiper-button-next:hover {
  border-color: #0654E6;
  background: white;
}

.writer-swiper .swiper-button-prev {
    left: 50%;
    transform: translateX(-160px);
    top: auto;
    bottom: 0;
}

.writer-swiper .swiper-button-next {
    right: auto;
    left: 50%;
    transform: translateX(160px);
    top: auto;
    bottom: 0;
}

/* Swiper Pagination */
.writer-swiper .swiper-pagination {
  position: absolute;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.writer-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E5E7EB;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.writer-swiper .swiper-pagination-bullet-active {
  background: #0554E6;
  width: 30px;
  height: 9px;
  border-radius: 5px;
}

/* Writer Card */
.writer-card {
  background: #fff;
  border-radius: 20px;
border: 1px solid #D7E6F8;
  padding: 0;
  padding-top: 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
box-shadow: 0px 0px 16px 0px #308ED233;
max-width: 359px;
width: 100%;
  position: relative;
  overflow: visible;
}

.writer-card:hover {
  box-shadow: 0 8px 24px rgba(6, 84, 230, 0.12);
  transform: translateY(-4px);
}

/* Writer Header */
.writer-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  
  padding: 0 20px 18px;
  border-bottom: none;
  position: relative;
}

.writer-avatar {
  position: absolute;
  top: -95px;
  left: 24px;
  flex-shrink: 0;
  z-index: 2;
}

.avatar-img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0px 4.46px 4.46px 0px #00000040;
}

.verified-badge-writer {
  width: 20px;
  height: 20px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.writer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 0;
}

.writer-name-wrapper {
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 6px;
}

.writer-name {
  font-weight: 500;
  font-style: Medium;
  font-size: 17px;
  line-height: 100%;
  color: #464860;
}

.writer-degree {
 
font-weight: 400;

font-size: 13px;

line-height: 130%;
color: #60738A;
padding-top: 5px;
  height: 31px;

}

/* Writer Stats */
.writer-stats {
      display: flex;
    justify-content: space-between;
    gap: 0;
    margin: 0 20px 22px;
    padding: 16px 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 3px 13.4px 0px #88888833;
}

.statsItemWrap {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1 1;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: #E5F3FF;
}

.stat-value {
  
  font-weight: 500;
  font-style: Medium;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #60738A;
  display: flex;
  align-items: center;
  gap: 6px;
}
.text-green{
  color: #038733;
}
.text-blue{
  color:#0654E6
}
.stat-label {
  
  font-weight: 400;
  font-style: Regular;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #60738A;
  text-align: left;
}

/* Writer Expertise */
.writer-expertise {
  margin: 0 20px 16px;
}

.expertise-label {
  
  font-weight: 400;
  font-size: 13px;
  line-height: 140%;
  color: #464860;
  margin: 0  0 12px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  height: 71px;
  overflow: hidden;
}

.expertise-tag {
  padding: 6px 12px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFF6FF;
  border-radius: 8px;
  border: 1px solid #DAEAFE;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: #0654E6;
}

/* Writer Description */
.writerBiowrap{
  border: 1px solid #EAF2FB;
  background-color: #F8FBFF;
  border-radius: 20px;
  padding: 15px 20px;
  margin: 15px 20px;
  height: 162px;
}
.writer-description {
  font-weight: 400;
  font-size: 13px;
  line-height: 170%;
  color: #60738A;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Hire Writer Button */
.hire-writer-btn {
  width: calc(100% - 40px);
  margin: 0 20px 24px;
  padding: 13px 24px;
  background: #0654E6;
  border: none;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hire-writer-btn:hover {
  background: #0543C1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 84, 230, 0.3);
}

/* Writer Footer */
.writer-footer {
  text-align: center;
  margin-top: 40px;
}

.writer-footer p {
  
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #60738A;
  margin: 0 0 24px 0;
}

.view-all-writers-btn {
  display: inline-block;
  max-width: max-content;
  padding: 13px 18px;
  background: transparent;
  border: 1px solid #0654E6;
  border-radius: 12px;
  
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #0654E6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-writers-btn:hover {
  background: #0654E6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 84, 230, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .writer-slider-wrapper {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .writer-section {
    padding: 60px 20px;
  }

  .writer-section .secTitlewrap {
    margin-bottom: 40px;
  }

  .writer-slider-wrapper {
    padding: 0 30px;
  }

  .writer-stats {
    gap: 8px;
  }

  .stat-value {
    font-size: 13px;
  }

  .stat-label {
    font-size: 10px;
  }

  .writer-footer {
    margin-top: 60px;
  }
}

@media (max-width: 575px) {
  .writer-section {
    padding: 40px 16px;
  }

  .writer-slider-wrapper {
      padding: 0px 0px;
  }
  .writer-avatar{
 
      top:unset;
      left: unset;
      position: relative;

   
  }
  
  .writer-header{
        padding: 0 0px 18px;
        flex-direction: row;
        gap: 10px;
        align-items: center;
  }
      .writer-card {
        margin: 0 auto;
        width: calc(100% - 24px);
        padding: 10px 20px 20px;
        max-width: 100%;

    }
.writer-card:hover{
      box-shadow: unset;
    transform: unset;
}
  .writer-swiper .swiper-button-prev,
  .writer-swiper .swiper-button-next {
    width: 32px;
    height: 32px;
  }
.writer-stats {
      margin: 0 0px 22px;
        gap: 8px;
    }
    .writer-expertise {
    margin: 0 0px 16px;
}
.writer-description {
      margin: 15px 0px;
}
.writer-swiper {
    padding-bottom: 40px;
}
.writer-swiper .swiper-button-next {
   
    transform: translateX(130px);
}
.writer-description {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
}
.writerBiowrap {
    border: 1px solid #EAF2FB;
    background-color: #F8FBFF;
    border-radius: 20px;
    padding: 15px 20px;
    margin: 0px 0px 15px;
}
.hire-writer-btn {
    width: calc(100% - 0px);
    margin: 0 ;
    padding: 13px 24px;
    background: #0654E6;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    color: white;
    cursor: pointer;
    transition: all 0.3s 
ease;
}
  .writer-swiper .swiper-button-prev:after,
  .writer-swiper .swiper-button-next:after {
    font-size: 14px;
  }

  .writer-name {
    font-size: 16px;
  }

  .writer-degree {
    font-size: 12px;
  }

  .writer-footer {
    margin-top: 50px;
  }

  .writer-footer p {
    font-size: 13px;
  }
}
