@charset "UTF-8";

/* ===== Compatible models section ===== */
#compatible_section + div .content_wrapper {
  max-width: 1200px;
}

/* heading bar */
#compatible_section + div .heading.block_header_4 {
  margin: 0 0 12px;
  padding: 0;
}

#compatible_section + div .heading.block_header_4 .h {
  display: block;
  margin: 0;
  padding: 6px 20px;
  border-radius: 8px;
  background: #ff7a33;
  color: #fff;
  font-size: 3rem !important;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em !important;
  text-align: center;
}

#compatible_section + div .heading.block_header_4 .h::before,
#compatible_section + div .heading.block_header_4 .h::after {
  content: none;
}

/* list */
#compatible_section + div .wrapper_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px 3%;
}

/* item */
#compatible_section + div .inner_item {
  display: flex;
  flex-direction: column;
  width: 31.3% !important;
  margin: 0 !important;
}

/* label (above the image) */
#compatible_section + div .inner_item_txt {
  display: block;
  order: 1;
  margin-bottom: 10px;
}

#compatible_section + div .inner_item_txt > p {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

/* image */
#compatible_section + div .inner_item > a {
  order: 2;
}

#compatible_section + div .inner_item_img {
  margin: 0;
}

#compatible_section + div .inner_item_img img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* list */
#compatible_section + div .wrapper_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px 20px;
}

/* item (3 columns, edges align with the heading bar) */
#compatible_section + div .inner_item {
  display: flex;
  flex-direction: column;
  width: calc((100% - 40px) / 3) !important;
  margin: 0 !important;
}



@media screen and (max-width: 900px) {
/*#compatible_section + div .inner_item_img img {
height: 400px !important;
}
*/
  #compatible_section + div .heading.block_header_4 {
    margin-bottom: 10px;
  }

  #compatible_section + div .heading.block_header_4 .h {
    padding: 6px 15px;
    font-size: 2.6rem !important;
  }

  #compatible_section + div .wrapper_item {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;
  }

  #compatible_section + div .wrapper_item .inner_item {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto !important;
  }

  #compatible_section + div .wrapper_item .inner_item > a {
    width: 100%;
  }

  #compatible_section + div .inner_item_txt > p {
    font-size: 2rem;
  }
}

