.sg-home-news {
  --sg-news-ink: #4d302b;
  --sg-news-accent: #8d302d;
  --sg-news-line: #eadbd5;
  --sg-news-paper: #fff9f1;
  margin: 32px auto 42px;
}

.sg-home-news > .section-content > .row {
  width: calc(100% - 30px);
  max-width: 1390px;
  margin-inline: auto;
  padding: clamp(16px, 2.2vw, 30px);
  border: 1px solid var(--sg-news-line);
  border-radius: 14px;
  background: var(--sg-news-paper);
}

.sg-home-news .sg-home-news-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.sg-home-news .sg-home-news-header h2 {
  flex: 1 1 0;
  min-width: min(138px, 100%);
  width: auto;
  margin: 0;
  color: var(--sg-news-ink);
  font-family: "Playfair Display", serif;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.2;
  scroll-margin-top: 125px;
}

.sg-home-news .sg-home-news-header > p {
  margin: 0;
}

.sg-home-news .sg-home-news-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 13px;
  border: 1px solid #c69d90;
  border-radius: 8px;
  background: #fff;
  color: var(--sg-news-accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.sg-home-news .sg-home-news-all:hover {
  border-color: var(--sg-news-accent);
  background: var(--sg-news-accent);
  color: #fff;
}

.sg-home-news a:focus-visible {
  outline: 2px solid var(--sg-news-accent);
  outline-offset: 2px;
}

.sg-home-news .col-inner > .row.sg-home-news-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.sg-home-news .sg-home-news-posts::after {
  content: none;
}

.sg-home-news .sg-home-news-posts > .post-item {
  max-width: none;
  min-width: 0;
  padding: 0;
}

.sg-home-news .post-item > .col-inner,
.sg-home-news .box-blog-post {
  height: 100%;
}

.sg-home-news .box-blog-post {
  overflow: hidden;
  border: 1px solid var(--sg-news-line);
  border-radius: 12px;
  background: #fff;
}

.sg-home-news .box-blog-post:hover,
.sg-home-news .box-blog-post:focus-within {
  border-color: #b96f60;
}

.sg-home-news .box-image a:focus-visible {
  outline-offset: -4px;
}

.sg-home-news .box-blog-post .box-text {
  padding: 16px;
}

.sg-home-news .post-title {
  margin: 0;
  color: var(--sg-news-ink);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.sg-home-news .post-title a:hover {
  color: var(--sg-news-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sg-home-news .is-divider {
  display: none;
}

.sg-home-news .from_the_blog_excerpt {
  margin: 7px 0 0;
  color: #645651;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .sg-home-news {
    margin: 24px auto 30px;
  }

  .sg-home-news > .section-content > .row {
    width: calc(100% - 24px);
    padding: 12px;
  }

  .sg-home-news .sg-home-news-header {
    gap: 2px 8px;
    margin-bottom: 10px;
  }

  .sg-home-news .sg-home-news-header h2 {
    font-size: clamp(20px, 5.65vw, 26px);
    scroll-margin-top: 88px;
  }

  .sg-home-news .sg-home-news-all {
    padding-inline: 8px;
    font-size: 13px;
  }

  .sg-home-news .col-inner > .row.sg-home-news-posts {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .sg-home-news .box-blog-post {
    display: flex;
    align-items: stretch;
  }

  .sg-home-news .box-blog-post .box-image {
    flex: 0 0 clamp(82px, 25vw, 128px);
    margin: 0;
  }

  .sg-home-news .box-image .image-cover {
    min-height: 100%;
    aspect-ratio: 1;
    padding-top: 0 !important;
  }

  .sg-home-news .box-blog-post .box-text {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 82px;
    padding: 9px 10px;
  }

  .sg-home-news .post-title {
    font-size: 14px;
  }

  .sg-home-news .from_the_blog_excerpt {
    display: none;
  }
}
