.list_container{
    max-width: 768px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

@media screen and (min-width: 768px) {
  .list_container{
    margin-left: auto;
    margin-right: auto;
  }
}

/* Case detail layout */
.case-detail-page{
  display: flex;
  justify-content: center;
}

.case-detail-card{
  width: 100%;
  max-width: 480px;
  margin-top: 24px;
}

@media screen and (min-width: 1024px) {
  .case-detail-card{
    max-width: 640px;
  }
}

/* Case detail: white rounded pane (case ref, subject, level, region) */
.case-detail-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #4c0aed;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 26px;
  margin-bottom: 0;
  transition: opacity 0.2s ease;
}
.case-detail-back-arrow i {
  font-size: 26px;
}
.case-detail-back-arrow:hover {
  opacity: 0.9;
  color: #fff;
}

.case-detail-pane {
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 12px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

/* Case list: same pane as case detail but no WhatsApp, with spacing between cards */
.case-list-pane {
  margin-top: 0;
  margin-bottom: 0;
}

.caselist #case1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .caselist #case1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-list-pane .case-detail-pane__whatsapp-wrap {
  display: none;
}
.caseDivClassNew:has(.case-list-pane) {
  cursor: pointer;
  border-bottom: none;
}

.case-detail-pane__price--stacked {
  position: absolute;
  top: 16px;
  right: 20px;
}

.case-detail-pane__ref-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 4px;
  position: relative;
  padding-bottom: 14px;
}

.case-detail-pane__ref-line {
  display: flex;
  align-items: center;
  width: 100%;
}

.case-detail-pane__ref-row::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 20%;
  min-width: 40px;
  height: 1px;
  background-color: #bbb;
}

.case-detail-pane__ref {
  font-size: 13px;
  font-weight: 700;
  color: #4c0aed;
}

.case-detail-pane__price {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background-color: #4c0aed;
  padding: 6px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.case-detail-pane__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-detail-pane__label {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  background-color: #e8e8e8;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.case-detail-pane__level,
.case-detail-pane__subject,
.case-detail-pane__region,
.case-detail-pane__val {
  font-size: 13px;
  font-weight: 700;
  color: #000;
}

.case-detail-pane__row--double {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.case-detail-pane__row--double .case-detail-pane__pair {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.case-detail-pane__row--double .case-detail-pane__pair:last-child {
  flex: 1;
  min-width: 0;
}

.case-detail-pane__ref-row .case-detail-pane__timestamp {
  font-size: 11.5px;
  font-weight: 700;
  color: #666;
}

.case-detail-pane__whatsapp-wrap {
  display: flex;
  justify-content: flex-end;
}

.case-detail-pane__whatsapp-wrap--stacked {
  position: absolute;
  bottom: 16px;
  right: 20px;
  margin-top: 0;
  padding-top: 0;
}

.case-detail-pane__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #d8d8d8;
  color: #444;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.2s ease;
}

.case-detail-pane__whatsapp:hover {
  opacity: 0.9;
  color: #444;
}

/* Case detail: two buttons in parallel – identical shape and size */
.case-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
  padding-top: 10px;
}

.case-detail-actions .tutorApplyDiv {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  margin: 0;
  padding: 0;
}

.case-detail-actions .case-detail-apply-btn,
.case-detail-actions .case-detail-back-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.case-detail-actions .case-detail-apply-btn {
  background-color: #4c0aed !important;
  color: white !important;
  margin: 0 !important;
  width: 100%;
}

.case-detail-apply-btn:hover {
  background-color: #4c0aed !important;
  color: white !important;
}

.case-detail-back-btn {
  background-color: #fff;
  color: #000;
}

.case-detail-back-btn:hover {
  background-color: #fff;
  color: #000;
}

.case-detail-disclaimer {
  font-size: 11px;
  color: #666;
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.4;
  text-align: center;
}

.search_container{
    float:right;
}
.tutorGirl{
    background-color: pink;
}
.tutorBoy{
    background-color: blue
}
.all{
    font-size: large!important;
}

.casehead{
  width: auto;
  margin: auto;
  background-color: #3b0b70;
  height: 50px;
  border-radius: 8px;
  padding-bottom: -10px;
  margin-bottom: -14px;
}

@media screen and (min-width: 1024px) {
  .caselist{
    padding-left: 0;
    padding-right: 0;
  }
}

.caseDetailClass{
    height: auto;
    width: 100%!important;
    padding-top: 10px;
    padding-left: 10px;
    font-size: 14px;
    color: #000;
    background-color: #f2f2f2;
    margin-top: -55px;
    border-radius: 8px 8px 8px 8px;
    text-align: center;
}

.pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  font-size: 12px;
}

.pagination-btn{
  border: none;
  background-color: #4c0aed;
  color: #fff;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.pagination-arrow{
  background: none;
  border: none;
  color: #000;
  font-size: 1.25rem;
  padding: 0;
  margin: 0;
  line-height: 1;
  min-width: 0;
}

.pagination-arrow:disabled{
  opacity: 0.35;
  cursor: default;
}

.pagination-btn:disabled{
  opacity: 0.4;
  cursor: default;
}

.pagination-info{
  color: #555;
}
.caseLiClass{
    list-style: none;
    overflow: hidden;
    height: 50px;
    background-color: #4c0aed;
    color: white;
    display: inline-block !important;
    width: 100%!important;
    margin-top: 2px;
    border-radius: 8px;
  transition: background-color 0.6s ease;

}

#left, #middle, #middle2, #middle3, #right {display: inline-block; font-size: 12px;vertical-align: top; overflow: inherit;}
#left {width: 13%; text-align: center;line-height: 50px;padding-left: 10px;}
#middle {width: 40%; text-align: center;line-height: 50px;    text-overflow: ellipsis; padding: 0px 3px 0px 3px;}
#middle2 {width: 12%; text-align: center;line-height: 50px;}
#middle3 {width: 13%; text-align: center;line-height: 50px;}
#right {width: 20%; text-align: center; line-height: 50px ; padding-right:5px; }


.caseDetailCenter{

    padding: 0 0 0 10px;
    position: center;
    display: inline-block;
    text-align: left;
    line-height: 1.35;

}
.caseDetailCenter__item {
    display: block;
}
.caseDetailCenter__item:last-child .caseDetailCenter__value {
    margin-bottom: 0;
}
.caseDetailCenter__desc {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    display: block;
    margin-bottom: 2px;
}
.caseDetailCenter__value {
    font-size: 15px;
    color: #000;
    display: block;
    margin-bottom: 10px;
}
.insiderInfo {
    font-size: 14px;
    color: #000;
}

.insiderInfoHead {
    font-size: 13px;
    font-weight: 600;
}

.tutorApplyDiv{
padding-top: 10px;
padding-bottom: 20px;
margin-bottom: 9px;
}
.tutorShare ,.tutorApply{
    background-color: #4c0aed;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: 400;
    padding: 8px 13px 8px 13px;
    border-radius: 5px;
    margin: 0px 20px 0px 0px;
    width: 80px;
    display:inline-block;
    position: relative;
    transition: background-color 0.6s ease;
    left: 0;
  }

  .tutorShare:hover,.tutorApply:hover{
    cursor: pointer;
    background: #fd2787;
  }

 

  .searchText{
    font-size: 13px;
    
  }
  .searchInput{
    border: 0;
    padding: 4px 0;
    font-size: 13px!important;
    width: 180px;
    background-color: #fff;
    outline:none !important;
    * { -webkit-tap-highlight-color: transparent; }
  }
  .searchInput:focus{
    * { -webkit-tap-highlight-color: transparent; }
  }

  @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    .list_container{
      margin-left: var(--mb-1);
      margin-right: var(--mb-1);
      
  }
  .search_container{
      float:right;
  }
  .tutorGirl{
      background-color: pink;
  }
  .tutorBoy{
      background-color: blue
  }
  .all{
      font-size: large!important;
  }
  
  .casehead{
    width: auto;
    margin: auto;
    background-color: #3b0b70;
    height: 50px;
    border-radius: 8px;
    padding-bottom: -10px;
    margin-bottom: -14px;
  }
  
  @media screen and (min-width: 1024px) {
    .caselist{
      padding-left: 0;
      padding-right: 0;
    }
  }
  
  .caseDetailClass{
      height: auto;
      width: 100%!important;
      padding-top: 10px;
      padding-left: 10px;
      font-size: 14px;
      color: #000;
      background-color: #f2f2f2;
      margin-top: -55px;
      border-radius: 8px 8px 8px 8px;
      text-align: center;
  }
  .caseLiClass{
      list-style: none;
      overflow: hidden;
      height: 50px;
      background-color: #4c0aed;
      color: white;
      display: inline-block !important;
      width: 100%!important;
      margin-top: 2px;
      border-radius: 8px;
    transition: background-color 0.6s ease;
  
  }
  
  #left, #middle, #middle2, #middle3, #right {display: inline-block; font-size: 12px;vertical-align: top; overflow: inherit;}
  #left {width: 13%; text-align: center;line-height: 50px;padding-left: 10px;}
  #middle {width: 40%; text-align: center;line-height: 50px;    text-overflow: ellipsis; padding: 0px 3px 0px 3px;}
  #middle2 {width: 12%; text-align: center;line-height: 50px;}
  #middle3 {width: 13%; text-align: center;line-height: 50px;}
  #right {width: 20%; text-align: center; line-height: 50px ; padding-right:5px; }
  
  
  .caseDetailCenter{
  
      padding: 0 0 0 10px;
      position: center;
      display: inline-block;
      text-align: left;
  
  }
  .insiderInfo {
      font-size: 14px;
      color: #000;
  }
  
  .insiderInfoHead {
      font-size: 13px;
      font-weight: 600;
  }
  
  .tutorApplyDiv{
  padding-top: 10px;
  padding-bottom: 20px;
  margin-bottom: 9px;
  }
  .tutorShare ,.tutorApply{
      background-color: #4c0aed;
      text-align: center;
      color: white;
      font-size: 12px;
      font-weight: 400;
      padding: 8px 13px 8px 13px;
      border-radius: 5px;
      margin: 0px 20px 0px 0px;
      width: 80px;
      display:inline-block;
      position: relative;
      transition: background-color 0.6s ease;
      left: 0;
    }
  
    .tutorShare:hover,.tutorApply:hover{
      cursor: pointer;
      background: #fd2787;
    }
  
   
  
    .searchText{
      font-size: 13px;
      
    }
    .searchInput{
      border: 0;
      padding: 4px 0;
      font-size: 13px!important;
      width: 180px;
      background-color: #fff;
      outline:none !important;
      * { -webkit-tap-highlight-color: transparent; }
    }
    .searchInput:focus{
      * { -webkit-tap-highlight-color: transparent; }
    }
  }

/* Search box: less round, same style as filter row */
.search-box {
  background-color: #fff;
  text-align: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  margin: auto;
  border: 1px solid #e0e0e0;
}

.filter-row{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.filter-select{
  flex: 1 1 0;
  min-width: 5em;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  appearance: auto;
}

.filter-select:focus {
  outline: none;
  border-color: #4c0aed;
  box-shadow: 0 0 0 2px rgba(76, 10, 237, 0.15);
}

/* Latest cases on home page */
.latest-cases-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  padding-left: 0;
  margin: 0;
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .latest-cases-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.latest-cases-link {
  margin-top: 1rem;
  margin-left: 0;
  margin-right: 0;
}

/* Section CTA as text link: purple, bold, underlined (no button container) */
.section-cta-link {
  display: inline-block;
  margin-top: 1rem;
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.section-cta-link:hover {
  color: #000;
  text-decoration: underline;
}

/* When styled as sbutton, keep sbutton look; only override margins for centering */
.latest-cases-link.sbutton:hover {
  text-decoration: none;
}

/* ========== Home page overrides ========== */
body.page-home .section__title {
  font-size: calc(var(--h1-font-size) - 1px);
}

/* Home page: remove all hover effects */
body.page-home .nav__link:hover,
body.page-home .nav__logo:hover,
body.page-home .nav__toggle:hover,
body.page-home .nav__close:hover {
  color: inherit;
}
body.page-home .home__social-icon:hover {
  color: inherit;
}
body.page-home .home__scroll-button:hover {
  transform: none;
}
body.page-home .button:hover,
body.page-home .reg-button:hover {
  background-color: var(--first-color);
}
body.page-home .button--white:hover {
  background-color: #FFF;
}
body.page-home .button--link:hover {
  background-color: transparent;
  color: var(--first-color);
}
body.page-home .footer__link:hover,
body.page-home .footer__social:hover {
  color: #000;
}
body.page-home .scrollup:hover {
  background-color: var(--first-color);
}
body.page-home .services__button:hover .button__icon,
body.page-home .portfolio__button:hover .button__icon {
  transform: none;
}
body.page-home .sbutton:hover,
body.page-home .sbutton:focus {
  background: #4c0aed;
}
body.page-home .mainButton:hover {
  background-color: white;
  color: #4c0aed;
}
body.page-home .latest-cases-link.sbutton:hover {
  background: #4c0aed;
}
body.page-home .sbutton.sbutton--white:hover,
body.page-home .sbutton.sbutton--white:focus {
  background: #fff;
  color: #000;
}

/* Home mobile: avoid horizontal overflow (white strip on the right). Base .sbutton uses
   70px side margins + 280px min-width. Do not set width/height:auto on SVG <image> — it breaks rendering. */
body.page-home {
  overflow-x: hidden;
  overflow-y: auto;
}

body.page-home .home__container,
body.page-home .home__content,
body.page-home .home__data,
body.page-home .home__img {
  min-width: 0;
}

body.page-home .home__img {
  max-width: 100%;
}

body.page-home .home__blob {
  max-width: min(200px, 100%);
  height: auto;
}

body.page-home .home__data .sbutton {
  display: block;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

  