* {
  box-sizing: border-box;
}

.conditions-section {
  max-width: 100%;
  /* margin: auto; */
  padding: 60px;
  color: #000000;
  background-color: #F2F0EF;
}

.subtitle {
  font-size: 20px;
    font-weight: 700;
    /* letter-spacing: -2.2; */
    margin-top: 0px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #131527;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  /* text-align: center; */
  margin-top: 15px;
  margin-bottom: 25px;
  text-transform: capitalize;
  line-height: 120%;
}

.description {
  /* max-width: 680px; */
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.022em;
  /* color: #666; */
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
  margin-top: 60px;
}

.tab {
  padding: 12px 16px;
  border-radius: 22px;
  background: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
  /* white-space: nowrap; */
  /* font-weight: 600; */
}

button.tab:hover{
  text-decoration: none !important;
  color: #fff;
  background-color: #0D7C68;
}

.tab.active {
  background: #0D7C68;
  border-color: #0D7C68;
  color: white;
}

/* Content */
.tab-content {
  display: none;
  animation: fade .3s ease forwards;
}

.tab-content.active {
  display: block;
}

.content-layout {
  display: flex;
  margin: 30px 0 50px;
}

.content-layout img {
  width: 40%;
  height: auto;
  /* aspect-ratio: 3/3; */
  /* border-radius: 6px; */
  object-fit: cover;
  margin: 0.5rem;
  box-sizing: border-box;
}

.sub-section{
display: flex;
margin-top: 3rem;
}

.sub-section >h3, .sub-section >p{
 /* width: 50%; */
 margin-top: 0rem;
 padding: 0.5rem;
}

.sub-section > h3{
  width: 40%;
}

.sub-section >p{
  width: 60%;
}

.sub-section > p{
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.022em;
  font-weight: 500;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.treatment{
  width: 60%;
  padding: 0.5rem;
}

.treatment > p{
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

.results {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.result {
  flex: 1;
  font-size: 16px;
  line-height: 150%;
  font-weight: 500;
  letter-spacing: -0.022em;
  /* color: #444; */
}
ul.treatment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.treatment-list li{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.019em;
    border-bottom: 1px solid #000000;
    padding: 20px 0;
}
ul.treatment-list li:last-child {
    border: none;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

@media (max-width: 1024px) {
  /* .content-layout {
    flex-direction: column;
  } */

 .sub-section > h3, .sub-section >p, .content-layout img, .treatment {
    width: 50%;
  }

}

@media (max-width: 768px) {
  .content-layout {
    flex-direction: column;
  }

  .content-layout img {
    width: 70%;
    margin: auto;
  }

  .treatment{
    width: 100%;
    margin-top: 1rem;
    padding: 0rem;
  }

  .tabs {
    gap: 8px;
  }

  .tab {
    font-size: 13px;
    padding: 8px 14px;
  }

  .results {
    flex-direction: column;
  }

  .sub-section{
    flex-direction: column;
  }

  .sub-section >h3, .sub-section >p{
 width: 100%;
 margin-top: 0rem;
 padding: 0;
 margin-bottom: 0.5rem;
}
}

@media (max-width: 480px) {

  .content-layout img {
    width: 100%;
  }

  .section-title {
    font-size: 26px;
  }

  .tab {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 425px) {
  .conditions-section {
    padding: 30px 20px;
  }
}