.expert-article .article-page__hero {
  padding: 32px 0;
}

.expert-article .article-page__meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 6px;
  font-size: 13px;
}

.expert-article .article-page__cover {
  display: block;
  max-width: none;
}

.expert-article .article-page__cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: #fff;
}

.expert-article .article-page__layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  grid-template-areas: "article sidebar";
  padding-block: 32px 48px;
  color: var(--blue-dark);
}

.expert-article .article-content {
  grid-area: article;
}

.expert-article .article-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 80px;
  min-width: 0;
}

.expert-article :is(h2, h3)[id] {
  scroll-margin-top: 100px;
}

.expert-article :is(.expert-brief, .expert-toc) {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #d6e5f0;
  border-radius: var(--ui-radius);
  background: #f4f8fb;
  margin-block: 22px;
}

.expert-article :is(.expert-brief, .expert-toc) h2 {
  margin-top: 0;
}

.expert-article .article-content :is(ol, ul) {
  padding-inline-start: 1.4em;
}

.expert-table-hint {
  display: none;
}

.expert-article .expert-table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #cddded;
  border-radius: 12px;
  margin-block: 24px;
}

.expert-table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9em;
}

.expert-table :is(caption, th, td) {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.expert-table :is(caption, thead) {
  background: #eaf3f9;
}

.expert-table th,
.expert-table td {
  border-top: 1px solid #cddded;
}

.expert-figure {
  margin: 24px 0;
}

.expert-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.expert-figure figcaption {
  margin-top: 6px;
  font-size: 0.88em;
}

.expert-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.expert-products > [hidden] {
  display: none;
}

.expert-product {
  padding: 14px;
  border: 1px solid #d6e5f0;
  border-radius: var(--ui-radius);
  background: #fff;
}

.expert-product img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.expert-product h3 {
  margin-top: 10px;
}

.expert-product [data-expert-price] {
  font-weight: 700;
}

.expert-faq details {
  border-bottom: 1px solid #cddded;
  padding: 10px 0;
}

.expert-faq summary {
  cursor: pointer;
  font-weight: 650;
}

@media (max-width: 1023px) {
  .expert-article .article-page__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "sidebar" "article";
    gap: 24px;
  }

  .expert-article .article-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .expert-table-hint {
    display: block;
    font-size: 0.82em;
  }

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

  .expert-products {
    grid-template-columns: minmax(0, 1fr);
  }

  .expert-article .article-page__cover img {
    aspect-ratio: 4 / 3;
  }
}
