@font-face {
    font-family: 'Bellefair'; 
    src: url('../assets/fonts/Bellefair.ttf'); 
}

@font-face {
    font-family: 'Inter'; 
    src: url('../assets/fonts/Inter-Regular.ttf');
}

@font-face {
    font-family: 'InterMedium'; 
    src: url('../assets/fonts/Inter-Medium.ttf');
}

@font-face {
    font-family: 'InterBold'; 
    src: url('../assets/fonts/Inter-Bold.ttf');
}

* {
    margin: 0;
    padding: 0;
    border: 0;    
}

a {
    text-decoration: none !important;
}

body {
    height: fit-content;
}

.card-vector-img {
    width: auto !important;
    height: auto !important;
}

.section-group {
    display: flex;
    flex-direction: column;
    padding: 0px 16px 56px 16px;
    gap: 32px;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section label {
    color: var(--gray-text-strong, #2C3059);

    /* Mobile/Display-2 */
    font-family: 'Bellefair';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 36px */
    text-transform: uppercase;
}






/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

    .section-group {
        display: flex;
        flex-direction: column;
        gap: 48px;
        padding: 20px 150px 10px 150px;
    }

    .section {
        display: flex;
        flex-direction: column;
        gap: 24px;

        scroll-margin-top: 120px;
    }

    .section label {
        color: var(--gray-text-strong, #2C3059);

        /* Desktop/Display-3 */
        font-family: 'Bellefair';
        font-size: 28px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 42px */
        text-transform: uppercase;
    }

}

.carousel-controls-and-indicators {
    width: auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* reset default */ 
.carousel-control-prev, .carousel-control-next, .carousel-indicators {
    position: unset !important;
    width: auto !important;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 24px !important;
    height: 24px !important;
}

.carousel-control-prev-icon {
    background-image: url("../../../../content/dam/thaiairways/images/icons/prev-arrow.png") !important;
}

.carousel-control-next-icon {
    background-image: url("../../../../content/dam/thaiairways/images/icons/next-arrow.png") !important;
}

.carousel-indicators {
    margin: 0 !important;
}



.carousel-item {
    transition: none !important;
}

.divider {
    height: 1px;
    width: 100% !important;
    background: #DFE0EB;
}

.carousel-container{
    max-width: 1200px;
    margin: auto;

}

  .carouselwrapper{
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-slide{
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* gap: 0px; */
  }

  .card {
    /* display: flex;
    width: 273px;
    border-radius: 8px; 
    box-shadow: 0px 12px 20px 0px rgba(16, 24, 40, 0.1); 
    overflow: hidden; */
    flex: 0 0 calc(25% - 8px);
    flex-shrink: 0;
    margin: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-right:0px;
  }

  .card img {
    width: 100%;
    height: 360px;
    /* object-fit: cover; */
  }

  .carousel-indicators{
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .info-section {
    display: flex;
    padding: 16px 16px 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Spacing--24px, 24px);
    align-self: stretch;
  }

  .info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--radius-xs, 8px);
    align-self: stretch;
  }

  .info-header-container {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
  }

  .info-sub-header-container {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .info-header-text {
    color: var(--gray-text-strong, #2c3059);
    flex: 1 0 0;

    font-family: "Inter-Bold";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 30px */
  }

  .info-subheader-text {
    color: var(--gray-text-strong, #2c3059);
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
  }

  .carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .di{
    display: none;
  }

  .carousel-indicators{
    display: flex;
    justify-content: center;
    padding-top: 6px !important;
  }

 .indicator{
    width: 10px;
    height: 10px;
    cursor: pointer;
    background: #381B6B;
    margin: 0 5px;
    border-radius: 50%;
 }

 .active-indicator{
    width: 20px;
    height: 6px ;
    border-top: none;
    border-bottom: none;
    border-radius: 5.2px;

    background: #381B6B;
    opacity: 1;
    margin-top: 3px;
 }


 @media (max-width: 767px){
    .card{
        flex: 0 0 calc(40% - -12px);
        height: 290px;
    }

    .card img{
        height: 218px;
    }

    .info-header-text {
         font-size: 14px;
      }

      .info-subheader-text {
        font-size: 12px;
      }

      .carousel-control-prev, .carousel-control-next{
        display: none !important; 
      }

.info-section {
    padding: 10px 10px 15px 10px;
    gap: var(--Spacing--24px, 24px);
  }

 }

 @media (min-width: 768px){

    .carousel-container{
        overflow: hidden;
    }
 }


.more-button {
  width: auto;
  height: 48px;

  display: flex;
  flex-direction: row;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  color: var(--primary-text, #684b9b);
  text-align: center;

  /* Body1/Body 1 — Bold */
  font-family: "InterBold";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 25.6px */

  border-radius: 30px;
  background: var(--primary-surface-weak, #f5efff);

  /* Shadow/xs */
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.more-container {
  padding: 24px 0px 40px 0px;

  display: flex;
  justify-content: center;
}

html {
    scroll-padding-top: 80px;
}