.steam-article-tabs {
  --steam-article-tabs-ink: #071022;
  --steam-article-tabs-muted: #647084;
  --steam-article-tabs-blue: #008ef4;
  --steam-article-tabs-shadow: 0 18px 44px rgba(10, 22, 45, .12);
  --steam-article-tabs-soft-shadow: 0 10px 28px rgba(10, 22, 45, .08);
  max-width: 1108px;
  margin: 0 auto;
  padding: 64px 24px 72px;
}

.steam-article-tabs__header {
  max-width: 920px;
}

.steam-article-tabs__cat,
.steam-article-tabs__tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1.5px solid var(--steam-article-tabs-ink);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--steam-article-tabs-ink);
  text-decoration: none;
  text-transform: uppercase;
}

.steam-article-tabs__header h2 {
  font-size: var(--v6-h2);
  line-height: 1.08;
  margin: 20px 0 16px;
}

.steam-article-tabs__header p {
  font-size: var(--v6-body);
  line-height: 1.56;
  margin-top: 0;
}

.steam-article-tabs__meta {
  padding-bottom: 26px;
  border-bottom: 1.5px solid var(--steam-article-tabs-ink);
  color: #42546a;
}

.steam-article-tabs__lead-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 30px;
}

.steam-article-tabs__brief,
.steam-article-tabs__feature,
.steam-article-tabs__content-block {
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, .08), var(--steam-article-tabs-shadow);
}

.steam-article-tabs__brief {
  padding: 26px;
}

.steam-article-tabs__brief h3,
.steam-article-tabs__brief p {
  margin-top: 0;
}

.steam-article-tabs__brief h3 {
  font-size: var(--v6-h3);
  line-height: 1.12;
}

.steam-article-tabs__brief p,
.steam-article-tabs__brief li,
.steam-article-tabs__content-block p {
  font-size: var(--v6-body);
  line-height: 1.56;
}

.steam-article-tabs__brief ul {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.steam-article-tabs__feature {
  overflow: hidden;
  margin: 0;
}

.steam-article-tabs__feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steam-article-tabs__accordion-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.steam-article-tabs__accordion {
  display: grid;
  gap: 10px;
}

.steam-article-tabs__accordion summary {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--steam-article-tabs-ink);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, .08), var(--steam-article-tabs-soft-shadow);
}

.steam-article-tabs__accordion summary::-webkit-details-marker {
  display: none;
}

.steam-article-tabs__number {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--steam-article-tabs-ink);
  color: #fff;
  letter-spacing: 0;
}

.steam-article-tabs__summary-title {
  min-width: 0;
  font-size: var(--v6-h3);
  line-height: 1.16;
}

.steam-article-tabs__state {
  width: 38px;
  height: 38px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--steam-article-tabs-blue);
  color: #fff;
}

.steam-article-tabs__state::before,
.steam-article-tabs__state::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
}

.steam-article-tabs__state::before {
  width: 13px;
  height: 2px;
  transform: rotate(45deg) translate(-3px, 2px);
}

.steam-article-tabs__state::after {
  width: 13px;
  height: 2px;
  transform: rotate(-45deg) translate(3px, 2px);
}

.steam-article-tabs__accordion[open] .steam-article-tabs__state::before {
  width: 16px;
  transform: rotate(45deg);
}

.steam-article-tabs__accordion[open] .steam-article-tabs__state::after {
  width: 16px;
  transform: rotate(-45deg);
}

.steam-article-tabs__content {
  min-width: 0;
  padding: 12px 0 6px;
}

.steam-article-tabs__content-block {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  padding-bottom: calc(clamp(18px, 3vw, 28px) + 56px);
}

.steam-article-tabs__content-block p {
  max-width: 920px;
  margin: 0;
  color: #273247;
}

.steam-article-tabs__back-top {
  width: 42px;
  height: 42px;
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 28px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--steam-article-tabs-blue);
  color: #fff;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 142, 244, .28);
}

.steam-article-tabs a:not(.steam-article-tabs__cat):not(.steam-article-tabs__back-top) {
  color: var(--steam-article-tabs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steam-article-tabs__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1.5px solid var(--steam-article-tabs-ink);
}

.steam-article-tabs__tags a {
  min-height: 32px;
}

@media (max-width: 860px) {
  .steam-article-tabs__lead-grid {
    grid-template-columns: 1fr;
  }

  .steam-article-tabs__feature img {
    height: auto;
  }
}

@media (max-width: 640px) {
  .steam-article-tabs {
    padding: 46px 18px 58px;
  }

  .steam-article-tabs__brief {
    padding: 22px;
  }

  .steam-article-tabs__accordion summary {
    border-radius: 28px;
  }

  .steam-article-tabs__header h2 {
    font-size: var(--v6-h2);
  }

  .steam-article-tabs__brief h3,
  .steam-article-tabs__summary-title {
    font-size: var(--v6-h3);
  }

  .steam-article-tabs__header p,
  .steam-article-tabs__brief p,
  .steam-article-tabs__brief li,
  .steam-article-tabs__content-block p {
    font-size: var(--v6-body);
  }
}
