.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 100px;
  justify-items: stretch;
  padding-top: 5vw;
  padding-bottom: 5vw;
  background-color: #0C255c;
}

@media (max-width: 1024px) {
  .areas-grid {
    display: none;
  }
}


@media (min-width: 992px) {
  .areas-grid {
    padding-left: 12.15vw ;
    padding-right: 12.15vw;
  }
}
.area-item {
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
     box-sizing: border-box;
    width: 100%;
    min-width: 0;               
    white-space: normal;        
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    color: white;
}


.area-item:hover{
  color: #55B1C6;
}



@media (max-width: 1024px){
   .area-item {
    font-size: 30px;
    line-height: 36px;
  }
  .area-item:hover{
  color: #0C255c;
}

}

@media (max-width: 767px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 50px;
    padding-bottom: 30px;
        gap: 36px 20px;
  }
}

@media (max-width: 575px) {
  .areas-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap:32px;
    text-align: center;
  }
}

/* Overlay */
#area-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  overflow-y: auto;
}

/* Popup box */
#area-popup .popup-content {
  background: #fff;
  max-width: 100%;
  width: 100%;
  padding: 2.38vw 0vw;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  animation: popupFadeIn 0.3s ease;
}

/* Close button */
#area-popup .close {
    justify-content: flex-end;
    display: flex;
    position: absolute;
    top: 0%;
    right: 0%;
    padding: .6vw;
    font-size: 2.62vw;
    color: #002D72;
    line-height: 2.62vw;
    padding-right: 10.42vw;
    cursor: pointer;
}





/* Text side */
#popup-text {
  flex: 1;
  font-size: .95vw;
  line-height: 1.6;
  color: #002D72;
}

/* Image side */
#popup-image {
  flex: 0 0 50%;
  max-width: 50%;
  border-radius: 0;
  object-fit: cover;
}

/* Hide image if none is set */
#popup-image.hidden {
  display: none;
}

/* Animation */
@keyframes popupFadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Mobile full-screen */
@media (max-width: 991px) {
  #area-popup {
    align-items: flex-start;
    padding: 0;
  }
  #popup-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1599px){
  #popup-text{
      font-size: 1.11vw;
      line-height: 1.67vw;
  }
  #area-popup .popup-content{
    padding: 2.78vw 0vw;
  }
  #area-popup .close {
    padding-right: 12.15vw;
  }
}

@media (max-width: 1024px){
  #popup-text{
      font-size: 16px;
      line-height: 24px;
  }
  #area-popup .popup-content{
    padding: 40px 0px;
  }
}


  .therapeutic-areas-dropdowns{
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #0C255c;
  }
 
 .accordion-details {
      background: #0C255C;
      color: #fff;
      margin-bottom: 18px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    /* Header (summary) */
    .accordion-details summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      padding: 18px 22px;
      line-height: 36px;
      font-size: 20px;
      font-weight: 600;
      list-style: none;
      background: #ffffff;
      color: #0C255C;
      transition: background 0.3s ease;
    }


    /* Hide default marker */
    .accordion-details summary::-webkit-details-marker {
      display: none;
    }

    /* Chevron icon */
    .accordion-details summary svg {
      width: 18px;
      height: 18px;
      fill: #0C255C;
      transition: transform 0.3s ease;
    }

    .accordion-details[open] summary svg {
      transform: rotate(180deg);
    }

    /* Content */
    .accordion-details .accordion-content {
      background: #fff;
      color: #0C255C;
      padding: 22px 25px;
      gap: 20px;
      animation: fadeIn 0.3s ease;
    }

    .accordion-content p {
      margin-bottom: 15px;
      line-height: 1.6;
    }

    .accordion-content img {
      display: block;
      width: 100%;
      max-width: 400px;
      margin: 0px auto 0;
      border-radius: 8px;
    }

    .no-break {
      white-space: nowrap;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }


@media (min-width: 768px){
  .accordion-content{
    display: flex;
  }
}

@media  (max-width:1024px){
  .accordion-details summary {
    font-size: 30px;
    line-height: 36px;
  }
  
}
@media  (max-width:767px){
  .accordion-details summary {
    font-size: 20px;
    line-height: 26px;
  }
  
}

@media (min-width: 1025px) {
  .therapeutic-areas-dropdowns{
    display: none;
  }
}