.c-news-section {
  padding-block-start: calc(40 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    padding-block-start: calc(80 * var(--etest-section-unit));
  }
}

.c-news-section p,
.c-news-section ul,
.c-news-section ol {
  margin-block-end: 0;
}

.c-news-section h2,
.c-news-section button {
  margin: 0;
}

.c-news-section .c-news-section__container {
  max-width: var(--etest-content-max-width, 1440px);
  margin-inline: auto;
  background: #fff;
  width: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  row-gap: calc(16 * var(--etest-section-unit));

  @media (767px < width) {
    width: calc(100% - 48px);
    row-gap: calc(40 * var(--etest-section-unit));
    padding: calc(10 * var(--etest-section-unit));
  }
}

.c-news-section .c-news-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-news-section .c-news-section__title {
  font-weight: 700;
  color: #0e0e0e;
  text-wrap: balance;
  font-size: calc(28 * var(--etest-section-unit));
  line-height: 1.2;

  @media (min-width: 1024px) {
    font-size: calc(42 * var(--etest-section-unit));
    line-height: 1.5;
  }
}

.c-news-section .c-news-section__swiper {
  width: 100%;
}

.c-news-section .c-news-section__swiper-navigation-list {
  display: flex;
  column-gap: calc(8 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    column-gap: calc(16 * var(--etest-section-unit));
  }
}

.c-news-section .c-news-section__swiper-navigation {
  width: calc(40 * var(--etest-section-unit));
  height: calc(40 * var(--etest-section-unit));
  display: grid;
  place-content: center;
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(44 * var(--etest-section-unit));
  color: #68686d;

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s; 
  }

  @media (min-width: 1024px) {
    width: calc(44 * var(--etest-section-unit));
    height: calc(44 * var(--etest-section-unit));
  }

  &:hover {
    background-color: #9a1b1d;
    border: calc(1 * var(--etest-section-unit)) solid #9a1b1d;
    color: #fff;
  }
}

.c-news-section .c-news-section__news-item {
  display: flex;
  flex-direction: column;
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(20 * var(--etest-section-unit));
  overflow: hidden;
}

.c-news-section .c-news-section__news-image {
  aspect-ratio: 464 / 309;
}

.c-news-section .c-news-section__news-content {
  padding: calc(16 * var(--etest-section-unit));
  display: flex;
  flex-direction: column;
  row-gap: calc(12 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    padding: calc(24 * var(--etest-section-unit));
  }
}

.c-news-section .c-news-section__news-icon-container {
  height: calc(48 * var(--etest-section-unit));
  aspect-ratio: 144 / 72;
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(12 * var(--etest-section-unit));
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-block: calc(7 * var(--etest-section-unit));
  padding-inline: calc(20 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    height: calc(48 * var(--etest-section-unit));
    padding-block: calc(12 * var(--etest-section-unit));
    padding-inline: calc(20 * var(--etest-section-unit));
  }
}

.c-news-section .c-news-section__news-icon {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.c-news-section .c-news-section__news-heading-group {
  display: flex;
  flex-direction: column;
  row-gap: calc(8 * var(--etest-section-unit));
}

.c-news-section .c-news-section__news-title {
  font-weight: 700;
  font-size: calc(15 * var(--etest-section-unit));
  color: #0e0e0e;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;

  @media (min-width: 1024px) {
    font-size: calc(18 * var(--etest-section-unit));
  }
}

.c-news-section .c-news-section__news-description {
  color: #0e0e0e;
  line-height: 1.5;
  font-size: calc(16 * var(--etest-section-unit));
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3;

  @media (min-width: 1024px) {
    font-size: calc(14 * var(--etest-section-unit));
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }
}
