
.site-main {
  padding-top: 3rem;
}

.section-title .title {
  font-size: clamp(48px, 8.889vw, 128px);
}

@media screen and (min-width: 992px) {
  .site-main {
    padding-top: 6.5rem;
  }
}

.news-tabs .section-body {
  padding: 2rem 0 1rem 0;
}

.news-tabs .nav-pills {
  --bs-nav-link-padding-x: 2.5rem;
  --bs-nav-link-padding-y: 1rem;
  --bs-nav-link-color: var(--color-light-blue);
  --bs-nav-link-hover-color: var(--color-light-blue);
  --bs-nav-link-disabled-color: var(--bs-secondary-color);

  --bs-nav-pills-border-radius: 1.25rem;
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-pills-link-active-bg: var(--color-light-blue);

  justify-content: space-between;
}

.news-tabs .nav-pills .nav-item {
  min-width: 35%;
  flex: none;
}

.news-tabs .nav-pills .nav-link {
  width: 100%;
  text-align: center;
  font-size: clamp(18px,1.667vw,24px);
  font-weight: 400;
  line-height: 1.4;
}

.news-tabs .nav-pills .nav-link:not(.active) {
  cursor: pointer;
  border: 1px solid var(--color-light-blue);
}

.news-tabs .nav-pills .nav-link:not(.active):hover {
  background-color: var(--bs-nav-pills-link-active-bg);
  color: var(--bs-nav-pills-link-active-color);
}

@media screen and (min-width: 992px) {
  .news-tabs .nav-pills {
    --bs-nav-link-padding-x: 6rem;
    --bs-nav-link-padding-y: 1.5rem;
  }
}

.news-block {
  margin: 2rem 0 2rem 0;
}

.news-block .block-title {
  display: flex;
  flex-flow: row;
  flex: none;
  width: 100%;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.news-block .block-title .title {
  position: relative;
  font-size: clamp(20px,2.222vw,32px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 1.4;
  padding-left: 0.75rem;
}

.news-block .block-title .title::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 8px;
  height: 110%;
  left: -0.5rem;
  top: 0;
  border-radius: 4px;
  background-color: var(--color-light-blue);
}

.news-block .block-body {
  display: flex;
  flex-flow: column;
  gap: 2rem;
  padding: 1rem 0 2rem 0;
}

.news-block .post {
  text-decoration: none;
  color: inherit;
  transition-property: opacity transform;
  transform-origin: center;
  transition: .3s cubic-bezier(.4,.4,0,1);
  border-bottom: 1px solid #E4E4E4;
}

.news-block .post:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.news-block .post-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.news-block .post-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.news-block .post-heading {
  display: flex;
  flex-flow: row;
  gap: 1rem;
  padding: 1rem 0 1rem 0;
}

.news-block .post-heading .categories,
.news-block .post-heading .tags {
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-grow: 1;
}

.news-block .post-heading .tags {
  justify-content: flex-start;
}

.news-block .post-heading .category,
.news-block .post-heading .tag {
  flex: none;
  padding: 0.25rem 1rem;
  border: 1px solid var(--color-light-blue);
  border-radius: 1rem;
  color: var(--color-light-blue);
  font-size: clamp(12px,0.972vw,14px);
  font-weight: 400;
  line-height: 1.4;
}

.news-block .post-content {
  font-size: clamp(20px,1.667vw,24px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.40;
}

.news-block .line-clamp {
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.news-block .post-body {
  padding-bottom: 1.5rem;
}

.news-block .post-body .post-title {
  font-size: clamp(18px,1.667vw,24px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding-bottom: 1rem;
}

.news-block .post-body .post-content {
  font-size: clamp(14px,1.111vw,16px);
  font-weight: 400;
  line-height: 1.2;
}

.news-block .post-body .post-link {
  color: var(--color-light-blue);
  font-size: clamp(16px,1.25vw,18px);
  font-weight: 700;
  line-height: 1.4;
}

.news-block .block-links {
  display: flex;
  flex-flow: row;
  justify-content: center;
  width: 100%;
}

.news-block .block-links .btn-outline-primary {
  --bs-btn-color: var(--color-light-blue);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--color-light-blue);
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-hover-bg: var(--color-light-blue);
  --bs-btn-hover-border-color: var(--color-light-blue);
  display: inline-flex;
  flex-flow: row;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(14px, 1.667vw,24px);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.625rem;
}

.news-block .block-links .link-text {
  margin-right: 3rem;
}

.news-block .block-links .icon-arrow {
  width: 18px;
  height: 18px;
  transition-property: translate;
  transition: .3s cubic-bezier(.4,.4,0,1);
  transform: translateX(0);
}

.news-block .block-links .btn-outline-primary:hover .icon-arrow {
  transform: translateX(1.5rem);
}

@media screen and (min-width: 992px) {
  .news-block {
    margin: 2rem 0 5rem 0;
  }

  .news-block .block-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .news-block .post {
    border-bottom: none;
  }

  .news-block .block-links .btn-outline-primary {
    --bs-btn-padding-x: 4rem;
    --bs-btn-padding-y: 2.5rem;
    gap: 1rem;
    margin-top: 2rem;
    border-radius: 1.5625rem;
  }

  .news-block .block-links .icon-arrow {
    width: 24px;
    height: 24px;
  }
}
