.main-wrapper {
  width: 80%;
  margin: auto;
  font-family: 'Poppins';
}

#cms #content:has(.page-order) {
  margin-top: 0;
}

/* 
  utils and base
*/

#cms .page-order {
  width: 100%;
  max-width: 1440px;
  margin: auto;
}

#cms .page-order p {
  font-size: 16px;
  line-height: 24px;
}

.banner-wrapper {
  max-width: 100%;
  padding: 0;
  padding-bottom: 16px;
}

.banner-wrapper img {
  width: 100%;
  height: auto;
}

.bg-gray-dark {
  background-color: #ededed;
}

.bg-gray-light,
.bg-gray {
  background-color: #efefef;
}

.bg-white {
  background-color: #fefefe;
}

.color-primary {
  color: #3598dc;
}

.color-red {
  color: #e83439;
}

.row-flex {
  display: flex;
  flex-direction: row;
}

.row-flex-reverse {
  display: flex;
  flex-direction: row-reverse;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-end {
  align-items: flex-end;
}

.fill-available-flex-space {
  flex: 1;
}

.article-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px 0;
  gap: 16px;
}

.margin-auto {
  margin: auto;
}

.content-section {
  padding: 16px 8px;
}

.grid-items-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-items-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-items-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.img-grid {
  width: 100%;
}

.img-grid img {
  max-width: 100%;
  height: auto;
}

.img-item {
  width: fit-content;
}

/* 
  specific
*/

/* 
  page - call 
*/
#page-call .illustration {
  max-width: 30%;
  height: auto;
}

#page-call .content-section-text {
  padding: 0 32px;
}

/* 
  page - web 
*/
#page-web .article-list {
  padding: 24px 0;
  /* width: calc(100vw - 24px); */
  /* position: absolute;
  left: 0; */
}

#page-web .content-section {
  /* width: 80%; */
}

#page-web .illustration {
  max-width: 30%;
  border: 0.5px solid #3c3c3c;
  height: auto;
}

#page-web .content-section-text {
  padding: 0 64px;
}

#page-web .content-section p {
  margin: 0;
  margin-left: 24px;
  width: fit-content;
}

#page-web .content-section .static-label {
  text-align: center;
  /* background-color: #2bc6ff; */
  border-radius: 4px;
  color: #166d8c;
  background-color: #b8edff;
  font-size: 20px;
  line-height: 1;
  padding: 12px 24px;
  font-weight: 500;
  width: fit-content;
  flex-grow: 0;
  flex-shrink: 0;
}

/* 
  page - drive 
*/
#page-drive .article-list {
  /* width: calc(100vw); */
  /* position: absolute;
  left: 0; */
}

#page-drive .img-grid {
  /* width: 80%; */
  gap: 24px;
}

#page-drive .illustration-wrapper img {
  max-width: 100%;
}

#page-drive .illustration-wrapper {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#page-drive .content-section {
  /* width: 80%; */
}

#page-drive .content-section-text {
  flex: 1;
  padding: 0 15px;
  margin-left: 40px;
}

#page-drive .content-section-text h2 {
  text-align: left;
  font-weight: bolder;
  font-size: 20px;
  margin-bottom: 20px;
}

#page-drive .bottom-grid {
  /* width: 60%; */
  padding-left: 10%;
  padding-right: 10%;
}

#page-drive .article-list {
  padding: 12px;
}

/* 
  RESPONSIVE HANDLING
*/
@media (max-width: 1199px) {
  .article-list {
    padding: 0;
  }

  /* page - web */
  #page-web .content-section.row-flex,
  #page-web .content-section.row-flex-reverse {
    flex-direction: column;
  }

  #page-web .illustration {
    max-width: 100%;
  }

  #page-web .content-section-text {
    padding: 0;
  }

  #page-web .content-section-text .row-flex {
    /* width: 100%; */
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 12px 0px 12px;
  }

  #page-web .content-section p {
    margin: 0;
    width: fit-content;
  }

  #page-web .content-section .static-label {
    font-size: 16px;
  }
}

@media (max-width: 639px) {
  /* page - call */
  #page-call .row-flex,
  #page-call .row-flex-reverse {
    flex-direction: column;
  }

  #page-call .illustration {
    max-width: 100%;
  }

  #page-call .content-section-text {
    padding: 0 16px;
    margin-top: 16px;
  }

  /* page - drive */

  #page-drive .grid-items-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #page-drive .img-grid {
    gap: 8px;
  }

  #page-drive .illustration-wrapper img {
    max-width: 100%;
  }

  #page-drive .illustration-wrapper {
    width: 100%;
  }

  #page-drive .content-section {
    flex-direction: column-reverse;
  }

  #page-drive .content-section-text {
    margin-left: 0;
  }

  #page-drive .content-section-text h2 {
    margin-top: 0;
  }

  #page-drive .bottom-grid {
    /* width: 80%; */
  }
}
