.buyer-guides {
  margin-top: 28px;
  margin-bottom: 42px;
  padding-top: 32px;
  border-top: 1px solid #e4e8e6;
}

.buyer-guides-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.buyer-guides-header h2 {
  margin: 5px 0 0;
  color: #17211f;
  font-size: 28px;
}

.buyer-guides-header > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ad3100;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.buyer-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.buyer-guides-grid a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: #17211f;
  border: 1px solid #e1e6e3;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.buyer-guides-grid a:hover,
.buyer-guides-grid a:focus-visible {
  border-color: #d94b13;
  box-shadow: 0 8px 24px rgb(23 33 31 / 8%);
}

.buyer-guides-grid span {
  color: #0d6f5d;
  font-size: 11px;
  font-weight: 800;
}

.buyer-guides-grid strong {
  font-size: 15px;
  line-height: 1.55;
}

.home-articles {
  margin-bottom: 34px;
  padding-top: 28px;
  border-top: 1px solid #e4e8e6;
}

.home-articles-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-articles-header h2 {
  margin: 5px 0 0;
  color: #17211f;
  font-size: 28px;
}

.home-articles-header > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ad3100;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-article-card {
  min-width: 0;
  overflow: hidden;
  color: #17211f;
  background: #fff;
  border: 1px solid #e1e6e3;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-article-card:hover,
.home-article-card:focus-visible {
  border-color: #d94b13;
  box-shadow: 0 10px 26px rgb(23 33 31 / 9%);
  transform: translateY(-2px);
}

.home-article-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf1ee;
}

.home-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.home-article-card:hover .home-article-cover img {
  transform: scale(1.025);
}

.home-article-body {
  padding: 16px 17px 18px;
}

.home-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: #5e6a64;
  font-size: 12px;
}

.home-article-meta span:first-child {
  color: #0d6f5d;
  font-weight: 800;
}

.home-article-body h3 {
  display: -webkit-box;
  margin: 9px 0 8px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-article-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #5f6964;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 980px) {
  .buyer-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .buyer-guides {
    margin-top: 34px;
    margin-bottom: 34px;
  }

  .buyer-guides-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .buyer-guides-grid {
    grid-template-columns: 1fr;
  }

  .buyer-guides-grid a {
    min-height: 120px;
  }

  .home-articles {
    margin-bottom: 34px;
  }

  .home-articles-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-articles-grid {
    grid-template-columns: 1fr;
  }
}

#home-hot-view {
  background: #fff;
}

#home-hot-view .home-articles {
  margin: 34px auto 56px;
  padding-top: 0;
  border-top: 0;
}

#home-hot-view .home-articles-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-articles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 22px;
}

.home-article-hot {
  position: sticky;
  top: calc(var(--sticky-header-height, 110px) + 16px);
  padding: 22px;
  background: #fff;
  border: 1px solid #e1e6e3;
  border-radius: 8px;
}

.home-article-hot header {
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e9e7;
}

.home-article-hot header span {
  color: #ad3100;
  font-size: 11px;
  font-weight: 850;
}

.home-article-hot h3 {
  margin: 3px 0 0;
  color: #17211f;
  font-size: 22px;
}

.home-article-hot ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-article-hot li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0ef;
}

.home-article-hot li:last-child {
  border-bottom: 0;
}

.home-article-hot li > span {
  color: #ad3100;
  font-size: 13px;
  font-weight: 850;
}

.home-article-hot li:nth-child(n + 4) > span {
  color: #5f6964;
}

.home-article-hot li a {
  color: #26312c;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.home-article-hot li a:hover {
  color: #ad3100;
}

#home-hot-view .home-article-card {
  min-height: 154px;
  display: block;
  color: #17211f;
}

#home-hot-view .home-article-cover {
  min-height: 154px;
  aspect-ratio: 16 / 9;
}

#home-hot-view .home-article-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px 24px;
}

.home-article-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#home-hot-view .is-single .home-article-link {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
}

#home-hot-view .is-single .home-article-cover {
  height: 100%;
  min-height: 170px;
  aspect-ratio: auto;
}

#home-hot-view .is-wide .home-article-cover {
  min-height: 210px;
  aspect-ratio: 16 / 6;
}

#home-hot-view .is-text .home-article-body {
  min-height: 154px;
  padding: 24px 28px;
  border-left: 4px solid #ad3100;
}

#home-hot-view .is-multi .home-article-body {
  min-height: 180px;
  padding: 22px 24px 20px;
}

#home-hot-view .home-article-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

#home-hot-view .home-article-gallery > span {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf1ee;
  border-radius: 5px;
}

#home-hot-view .home-article-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-article-video {
  position: relative;
  overflow: hidden;
  background: #101916;
}

.home-article-video video {
  width: 100%;
  max-height: 330px;
  display: block;
  object-fit: cover;
}

.home-article-video-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  color: #fff;
  background: rgb(16 25 22 / 84%);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

#home-hot-view .home-article-body h3 {
  margin-block: 10px 8px;
  font-size: 21px;
  -webkit-line-clamp: 2;
}

#home-hot-view .home-article-body p {
  max-width: 880px;
  font-size: 14px;
  -webkit-line-clamp: 2;
}

.home-articles-empty {
  padding: 54px 24px;
  color: #68736e;
  background: #fff;
  border: 1px dashed #d8e0dc;
  border-radius: 8px;
  text-align: center;
}

.home-articles-empty strong {
  display: block;
  color: #1a2520;
  font-size: 19px;
}

.home-articles-empty p {
  margin-top: 6px;
  font-size: 14px;
}

@media (max-width: 600px) {
  #home-hot-view .home-articles {
    margin-block: 26px 38px;
  }

  #home-hot-view .home-article-card {
    display: block;
  }

  #home-hot-view .home-article-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #home-hot-view .is-single .home-article-link {
    grid-template-columns: 1fr;
  }

  #home-hot-view .is-single .home-article-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #home-hot-view .is-wide .home-article-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #home-hot-view .home-article-body {
    padding: 17px 18px 19px;
  }

  #home-hot-view .home-article-body h3 {
    font-size: 18px;
  }

  .home-articles-layout {
    grid-template-columns: 1fr;
  }

  .home-article-hot {
    position: static;
  }
}

/* Mixed article feed: editorial list instead of boxed cards */
#home-hot-view .home-articles-grid {
  gap: 0;
  border-top: 1px solid #dfe5e1;
}

#home-hot-view .home-article-card {
  min-height: 0;
  padding: 22px 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe5e1;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

#home-hot-view .home-article-card:hover,
#home-hot-view .home-article-card:focus-within {
  background: transparent;
  box-shadow: none;
  transform: none;
}

#home-hot-view .home-article-card:hover .home-article-cover img {
  transform: scale(1.018);
}

#home-hot-view .home-article-link {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 22px;
}

#home-hot-view .home-article-body {
  min-width: 0;
  min-height: 0;
  display: block;
  padding: 0;
}

#home-hot-view .home-article-cover {
  width: 210px;
  height: 132px;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 4px;
}

#home-hot-view .home-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home-hot-view .is-single .home-article-link,
#home-hot-view .is-wide .home-article-link {
  grid-template-columns: minmax(0, 1fr) auto;
}

#home-hot-view .is-single .home-article-cover,
#home-hot-view .is-wide .home-article-cover {
  order: 2;
}

#home-hot-view .is-single .home-article-cover {
  width: 210px;
  height: 132px;
  min-height: 0;
}

#home-hot-view .is-single .home-article-body,
#home-hot-view .is-wide .home-article-body {
  order: 1;
}

#home-hot-view .is-wide .home-article-cover {
  width: min(38vw, 400px);
  height: 220px;
}

#home-hot-view .is-text .home-article-link {
  display: block;
}

#home-hot-view .is-text .home-article-body {
  padding: 2px 0 2px 18px;
  border-left: 3px solid #ad3100;
}

#home-hot-view .is-multi .home-article-link {
  display: block;
}

#home-hot-view .home-article-gallery {
  max-width: 560px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

#home-hot-view .home-article-gallery > span {
  height: 104px;
  aspect-ratio: auto;
  border-radius: 3px;
}

#home-hot-view .is-video {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

#home-hot-view .is-video .home-article-link {
  display: block;
}

.home-article-video {
  width: 100%;
  max-width: 380px;
  border-radius: 4px;
}

.home-article-video video {
  max-height: 214px;
  aspect-ratio: 16 / 9;
}

#home-hot-view .home-article-body h3 {
  margin-block: 8px 7px;
  font-size: 20px;
}

#home-hot-view .home-article-body p {
  max-width: 760px;
  -webkit-line-clamp: 2;
}

@media (max-width: 820px) {
  #home-hot-view .is-video {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .home-article-video {
    max-width: 100%;
  }

  #home-hot-view .is-wide .home-article-cover {
    width: min(34vw, 220px);
    height: 122px;
  }
}

@media (max-width: 600px) {
  #home-hot-view .home-article-card {
    padding: 18px 0;
  }

  #home-hot-view .is-single .home-article-link,
  #home-hot-view .is-wide .home-article-link {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px;
  }

  #home-hot-view .is-single .home-article-cover,
  #home-hot-view .is-wide .home-article-cover {
    width: 112px;
    height: 84px;
    min-height: 0;
    aspect-ratio: auto;
  }

  #home-hot-view .home-article-gallery > span {
    height: 72px;
  }

  #home-hot-view .home-article-body h3 {
    font-size: 17px;
  }

  #home-hot-view .home-article-body p {
    -webkit-line-clamp: 2;
  }
}
