/*.case-study-inner-body-wrapper
  .case-study-section-wrapper
  .case-study-section:not(:last-child) {
  border-bottom: 2.5px dashed var(--border-D5D7DA);
  padding-bottom: 48px;
}*/

.case-study-section-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-D5D7DA);
  background: var(--color-fafafa);
}

.case-study-cost-icon {
  display: flex;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  &::before {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid#b5b1e2;
    background: var(--color-ebeaf7);
    transform: translate(-50%, -50%);
    z-index: -1;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  }
  &::after {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    background: var(--primary-color);
    border-radius: 50%;
  }
}
.case-study-user-img {
  width: 48px;
  height: 48px;
  aspect-ratio: 1/1;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #31286d;
  background-color: #ebeaf7;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.case-study-quote {
  display: flex;
  flex-wrap: wrap;
  padding: 32px 32px 32px 40px;
  border-radius: 12px;
  border-left: 8px solid var(--primary-color);
  background: #f5f6fa;

  &.client-quote::before {
    content: "";
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><g clip-path="url(%23clip0_6590_42255)"><path d="M0 23.9999V44.5714H20.5715V23.9999H6.85719C6.85719 16.438 13.0096 10.2857 20.5715 10.2857V3.42847C9.22767 3.42847 0 12.6561 0 23.9999Z" fill="%235042A9"/><path d="M48.0002 10.2857V3.42847C36.6564 3.42847 27.4287 12.6561 27.4287 23.9999V44.5714H48.0002V23.9999H34.2859C34.2859 16.438 40.4383 10.2857 48.0002 10.2857Z" fill="%235042A9"/></g><defs><clipPath id="clip0_6590_42255"><rect width="48" height="48" fill="white"/></clipPath></defs></svg>') no-repeat center center;
    background-size: contain;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
  }

  &.quote-sm {
    padding: 20px 20px 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
  }

  & .case-study-quote-body {
    flex: 1;
  }
}

.case-study-organization-details ul li:not(:last-child) {
  border-bottom: 2.5px dashed var(--border-D5D7DA);
  padding-bottom: 24px;
}

.case-study-org-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #717680;
}

.case-study-org-value {
  color: var(--text-black, #181d27);
}

.ut-badge.ut-badge-sm {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.bg-FEF3F2 { background: #fef3f2; }
.bg-EBEAF7 { background: #ebeaf7; }

.case-study-listing-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.case-study-listing-tabs .case-study-listing-tab .tab-link{
   display: flex;
   padding: 5px 14px;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   border-radius: 20px;
   border: 1px solid var(--border-D5D7DA);
   cursor: pointer;
   font-size: 14px;
   font-weight: 500;
   line-height: 20px;
   transition: all 0.3s ease; 
}
.case-study-listing-tabs .case-study-listing-tab.active .tab-link{
    background: var(--primary-color);
    color: var(--text-white);
}

.ut-btn.right-arrow{
  &::after{
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M4.16602 9.99996H15.8327M9.99935 15.8333L15.8327 9.99996L9.99935 4.16663" stroke="%23EBEAF7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    aspect-ratio: 1/1; 
  }
}


.ut-box-shadow-on-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  &:hover {
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
  }
}


body.single-post .site-content .navigation.post-navigation {
  display: none;
}

.case-study-listing-pagination .screen-reader-text{
  display: none;
}
.case-study-listing-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.case-study-listing-pagination .page-numbers:not(.prev, .next){
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 9999px;
   background: var(--text-white);
   color: var(--color-717680);
   font-size: 14px;
   font-weight: 600;
}
.case-study-listing-pagination .page-numbers.current:not(.prev, .next){
   background: var(--color-fafafa);
   color: var(--text-color);
}

.case-study-listing-pagination .page-numbers:is(.prev, .next){ 
    border-radius: 8px;
    border: 1px solid transparent;
    display: inline-flex ;
    height: 36px;
    justify-content: center;
    align-items: center;
     padding-inline: 12px;
    transition-duration: 0.6s;
    cursor: pointer; 
    background: transparent;
    border: 1px solid var(--border-D5D7DA); 
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}
.case-study-listing-pagination .page-numbers.prev::before{
    content: url(../../../../uploads/images/blog/arrow-left.svg);
    width: 20px;
height: 20px;
aspect-ratio: 1/1;
}
.case-study-listing-pagination .page-numbers.next::after{
    content: url(../../../../uploads/images/blog/arrow-right.svg);
    width: 20px;
height: 20px;
aspect-ratio: 1/1;
}
 
.case-study-listing-pagination .page-numbers.next{
  margin-left: auto;
}
.case-study-listing-pagination .page-numbers.prev{
  margin-right: auto;
}
.case-study-listing-pagination .page-numbers.current:first-child{
  margin-left: auto;
}
.case-study-listing-pagination .page-numbers.current:last-child{
  margin-right: auto;
}

.case-study-section > *:last-child {
    margin-bottom: 0;
}

.three-line-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.case-study-listing-section:not(
  :is(.case-study-featured-section) + .case-study-listing-section
) {
  padding: 64px 0;
}
.case-study-listing-pagination {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .ut-col-span-1-1-767 {
    grid-column: 1 / span 1;
  }
  .ut-minw-100-767 {
    min-width: 100%;
  }

  .case-study-quote {
    padding: 24px;
    &.client-quote::before {
      width: 32px;
      height: 32px;
    }
  }

  .case-study-inner-body-wrapper .case-study-section-wrapper .case-study-section:not(:last-child){
    padding-bottom: 24px;
  }
  .case-study-organization-details ul li:not(:last-child){
    padding-bottom: 16px;
  }
  .case-study-listing-section:not(
    :is(.case-study-featured-section) + .case-study-listing-section
  ) {
    padding: 32px 0;
  }
  .case-study-listing-pagination {
    margin-top: 24px;
  }
}
