.section-4-wrapper {
  /* layout */
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 120px;

  /* typography */
  text-align: center;

  /* responsive */
  @media screen and (max-width: 860px) {
    margin-top: 20px;
  }
}

.section-4-content-wrapper {
  /* layout */
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  align-items: center;

  /* responsive */
  @media screen and (max-width: 860px) {
    margin-top: 40px;
  }
}

.section-4-title {
  /* typography */
  color: var(--Black-Text, #343434);
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;

  /* responsive */
  @media screen and (max-width: 860px) {
    font-size: 20px;
    line-height: 28px;
  }
}

.section-4-subtitle {
  /* layout */
  margin-top: 24px;

  /* typography */
  color: var(--gray-70, #6e6e6e);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;

  /* responsive */
  @media screen and (max-width: 860px) {
    margin-top: 12px;

    font-size: 14px;
    line-height: 22px;
  }
}

.section-4-subtitle-bold {
  /* typography */
  color: var(--Black-Text, #343434);
  font-weight: 700;
}

/* grid (pc only) */

.section-4-grid-wrapper {
  /* layout */
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  /* typography */
  text-align: left;

  /* responsive */
  @media screen and (max-width: 1500px) {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  @media screen and (max-width: 860px) {
    display: none;
  }
}

.grid-item {
  /* layout */
  display: flex;
  padding: 30px;
  gap: 10px;

  /* style */
  border-radius: 24px;
  background: #f8f8f8;

  /* responsive */
  @media screen and (min-width: 860px) {
    width: 660px;
  }
  @media screen and (max-width: 860px) {
    flex-direction: column;
    /* width: 100%; */
    height: 274px;
    padding: 20px;
  }
}

.grid-item-img {
  /* layout */
  width: 184px;
  height: 184px;
  display: flex;
  flex-direction: row;

  /* style */
  border-radius: 16px;

  /* responsive */
  @media screen and (max-width: 860px) {
    width: 78px;
    height: 78px;
    margin-left: auto;
    margin-right: auto;

    border-radius: 8px;
  }
}

.grid-item-content-wrapper {
  /* layout */
  display: flex;
  flex-direction: column;
  margin-left: 30px;

  /* responsive */
  @media screen and (max-width: 860px) {
    margin-left: 0px;
  }
}

.grid-item-title {
  /* typography */
  color: var(--Black-Text, #343434);
  font-size: 30px;
  font-style: normal;
  font-weight: 800;
  line-height: 38px;

  /* responsive */
  @media screen and (max-width: 860px) {
    font-size: 18px;
    line-height: 26px;
  }
}

.grid-item-subtitle {
  /* layout */
  margin-top: 2px;

  /* typography */
  color: rgba(52, 52, 52, 0.7);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;

  /* responsive */
  @media screen and (max-width: 860px) {
    margin-top: 0px;

    font-size: 12px;
    line-height: 18px;
  }
}

.grid-item-tag-list {
  /* layout */
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;

  margin-top: 16px;

  /* responsive */
  @media screen and (max-width: 860px) {
    gap: 4px;
    margin-top: 12px;
    justify-content: center;
  }
}

.tag-list-item {
  /* layout */
  display: flex;
  padding: 6px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;

  /* style */
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  background: #fff;
  white-space: nowrap;

  /* typography */
  color: #595959;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;

  /* responsive */
  @media screen and (max-width: 860px) {
    padding: 4px 10px;

    font-size: 12px;
    line-height: 18px;
  }
}

/* carousel (mobile only) */

[data-swiper="2"] .swiper {
  /* layout */
  height: 274px;
}

.section-4-carousel-wrapper {
  /* layout */
  margin-top: 40px;
  display: none;
  width: 100%;

  /* responsive */
  @media screen and (max-width: 860px) {
    display: block;
  }
}

.section-4-swiper-slide-content {
  /* layout */
  width: 220px;
  height: 274px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
