.news-detail .article-layout {
  max-width: 1140px;
  grid-template-columns: minmax(0, 1fr);
  gap: 38px;
  margin-top: 0;
}

.news-detail .article-main {
  min-width: 0;
}

.news-detail .article-heading {
  margin-bottom: 24px;
  text-align: left;
}

.news-detail .article-heading h1 {
  font-size: clamp(25px, 2.65vw, 34px);
  line-height: 1.4;
  text-wrap: balance;
}

.news-detail .article-meta {
  justify-content: flex-start;
  gap: 7px 18px;
  margin-top: 14px;
}

.news-detail .article-prose > p:first-child {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
}

.news-detail .article-prose h2 {
  font-weight: 700;
}

.news-detail .article-prose img {
  max-width: 100%;
  height: auto;
}

.news-detail .article-prose p > img:only-child,
.news-detail .article-prose p > picture:only-child > img {
  display: block;
}

.news-detail .article-prose > p:has(> :is(img, picture):only-child) + p:has(> em:only-child) {
  margin: 8px 0 28px;
  color: #536b7c;
  font-size: 13px;
  line-height: 1.5;
}

.news-article-image {
  margin: 0 0 30px;
}

.news-article-image > img {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.news-article-image > img[width][height] {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.news-article-image > figcaption {
  margin-top: 8px;
  color: #536b7c;
  font-size: 13px;
  line-height: 1.5;
}

.news-detail .article-prose > section:first-child > h2:first-child {
  margin-top: 0;
}

.news-article-side {
  display: grid;
  gap: 21px;
  min-width: 0;
  align-content: start;
}

.news-detail .article-sidebar {
  position: static;
  order: initial;
  padding: 20px;
}

.news-detail .article-sidebar h2,
.news-product-header h2 {
  font-size: 18px;
}

.news-detail .article-sidebar > a {
  padding-block: 13px;
  font-size: 14px;
}

.news-detail .article-sidebar > a.article-back {
  padding-bottom: 0;
}

.news-product-recommendation {
  border: 1px solid var(--line);
  background: white;
}

.news-product-recommendation [hidden] {
  display: none;
}

.news-product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.news-product-header > a {
  color: #465f72;
  font-size: 13px;
  white-space: nowrap;
}

.news-product-header > a:hover {
  color: var(--orange);
}

.news-product-recommendation .product-card,
.news-product-recommendation .product-card:hover {
  transform: none;
  box-shadow: none;
}

html.motion-enhanced .news-product-recommendation .product-card.motion-reveal {
  opacity: 1;
  transform: none;
  transition: box-shadow .2s ease;
}

.news-product-recommendation .product-image {
  height: auto;
  aspect-ratio: 4 / 3;
}

.news-product-recommendation .product-image img {
  object-fit: contain;
}

.news-product-recommendation .product-copy {
  padding: 14px;
}

.news-product-recommendation .product-copy h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.news-product-recommendation .product-copy p {
  font-size: 13px;
  line-height: 1.65;
  min-height: 4.95em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-product-recommendation .product-tag,
.news-product-recommendation .card-en {
  display: none;
}

.news-product-recommendation .card-action {
  margin-top: 12px;
}

.news-product-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.news-product-controls button {
  min-inline-size: 36px;
  min-block-size: 36px;
  padding: 0 7px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
}

.news-product-controls button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.news-product-controls button:focus-visible,
.news-product-header > a:focus-visible,
.news-product-recommendation .product-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

[data-news-product-count] {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.news-product-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 901px) {
  .news-detail .article-layout:has(.news-article-side) {
    grid-template-columns: minmax(0, 1fr) clamp(220px, 21vw, 256px);
    column-gap: clamp(30px, 4vw, 58px);
  }

  .news-detail .article-layout:has(.news-article-side) > .article-main {
    grid-column: 1;
    grid-row: 1;
  }

  .news-detail .article-layout:has(.news-article-side) > .news-article-side {
    grid-column: 2;
    grid-row: 1;
  }

  .news-detail .article-layout:not(:has(.news-article-side)) {
    max-width: 840px;
  }
}

@media (max-width: 640px) {
  .news-detail .article-heading {
    margin-bottom: 18px;
  }

  .news-article-image {
    margin-bottom: 24px;
  }

  .news-product-recommendation .product-card {
    display: grid;
    grid-template-columns: minmax(90px, 34%) minmax(0, 1fr);
  }

  .news-product-recommendation .product-image {
    aspect-ratio: auto;
    min-height: 116px;
    align-self: stretch;
  }

  .news-product-controls button {
    min-inline-size: 44px;
    min-block-size: 44px;
  }
}
