/* News / blog listing & article */
.sb-news {
  background: #F7F3EC;
  padding-bottom: 48px;
  min-height: 50vh;
}
.sb-news .sb-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.sb-news__head {
  margin: 8px 0 28px;
}
.sb-news__head h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: #3B2438;
  line-height: 1.15;
}
.sb-news__intro {
  margin-top: 10px;
  max-width: 640px;
  font-size: 14px;
  color: #7A6B7A;
  line-height: 1.5;
}

/* 3 columns × 2 rows (= 6 per page when limit=6) */
.sb-news__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  float: none !important;
}

.sb-news__card {
  display: flex;
  flex-direction: column;
  background: #FFFEFC;
  border: 1px solid #E5DCEB;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .15s ease;
}
.sb-news__card:hover {
  box-shadow: 0 12px 28px rgba(59, 36, 56, 0.08);
  transform: translateY(-2px);
}

.sb-news__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #f3ece6;
  overflow: hidden;
}
.sb-news__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sb-news__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sb-news__body time {
  font-size: 12px;
  color: #7A6B7A;
  letter-spacing: 0.02em;
}
.sb-news__body h2,
.sb-news__body h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #3B2438;
}
.sb-news__body h2 a,
.sb-news__body h3 a {
  color: inherit !important;
  text-decoration: none !important;
}
.sb-news__body h2 a:hover,
.sb-news__body h3 a:hover { color: #3B2438 !important; }
.sb-news__body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #7a736c;
  flex: 1;
}
.sb-news__more {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #3B2438 !important;
  text-decoration: none !important;
}
.sb-news__more:hover { color: #2A1929 !important; }

.sb-news__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 8px;
}
.sb-news__results {
  font-size: 13px;
  color: #7A6B7A;
}

.sb-news__empty {
  background: #FFFEFC;
  border: 1px solid #E5DCEB;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  color: #7A6B7A;
}
.sb-news__empty .sb-btn {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #3B2438;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* Article page */
.sb-news-article {
  background: #FFFEFC;
  border: 1px solid #E5DCEB;
  border-radius: 18px;
  padding: 28px 32px 36px;
  margin-bottom: 28px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.sb-news-article--wide {
  width: 100% !important;
  max-width: 100% !important;
}
.sb-news--info .sb-wrap {
  max-width: 1180px;
  width: 100%;
}
.sb-news--info #content,
.sb-news--info .col-sm-9,
.sb-news--info .col-sm-6,
.sb-news--info .col-sm-12,
.sb-news--info .row {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.sb-news-article__content,
.sb-news-article__content > *,
.sb-news-article__content table,
.sb-news-article__content .table,
.sb-news-article__content img {
  max-width: 100% !important;
}
.sb-news-article__content table {
  width: 100% !important;
}
.sb-news-article__head h1 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: #3B2438;
  line-height: 1.2;
}
.sb-news-article__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #7A6B7A;
  margin-bottom: 20px;
}
.sb-news-article__cover {
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3ece6;
}
.sb-news-article__cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.sb-news-article__content {
  font-size: 15px;
  line-height: 1.7;
  color: #4f4944;
}
.sb-news-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.sb-news-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #E5DCEB;
}
.sb-news-related h2 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

/* Kill default OC blog list chrome */
#blog-latest .product-layout,
#blog-category .product-layout,
#blog-latest .btn-group,
#blog-category .btn-group,
#blog-latest #list-view,
#blog-latest #grid-view,
#blog-category #list-view,
#blog-category #grid-view,
#blog-latest .input-group,
#blog-category .input-group {
  display: none !important;
}

@media (max-width: 980px) {
  .sb-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sb-news-article { padding: 22px 18px 28px; }
}
@media (max-width: 560px) {
  .sb-news__grid { grid-template-columns: 1fr !important; }
  .sb-news__pager { flex-direction: column; align-items: flex-start; }
}
