#siteSidebar .releases-nav,
.releases-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #b7ef63;
  color: #172019;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

#siteSidebar .releases-nav {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 5px 12px;
  font-size: 13px;
  white-space: nowrap;
}

#siteSidebar .releases-nav:hover,
.releases-download:hover {
  background: #d3f79f;
}

@media (max-width: 767px) {
  #siteSidebar .releases-nav {
    min-height: 44px;
    margin-inline-start: auto;
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  #siteSidebar .releases-nav {
    min-height: 44px;
    width: 100%;
    padding-inline: 1px;
    font-size: 10px;
  }

  #siteSidebar .releases-nav span {
    display: none;
  }
}

.releases-page {
  --releases-width: 1040px;
  --releases-gutter: clamp(12px, 4vw, 60px);
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.releases-page .releases-header {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 64px;
  height: auto;
  margin: 0;
  padding: 8px max(var(--releases-gutter), calc((100% - var(--releases-width)) / 2));
  background: #181a1c;
  border-bottom: 1px solid #373a3d;
}

.releases-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #f4f6f8;
  font: 600 26px/1 Georgia, serif;
  text-decoration: none;
}

.releases-home span {
  color: #b7ef63;
  font: 500 20px/1 'Golos Text', sans-serif;
}

.releases-page .releases-content {
  width: min(calc(100% - 2 * var(--releases-gutter)), var(--releases-width));
  min-width: 0;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 76px) 0 56px;
}

.releases-page h1 {
  margin: 0 0 clamp(20px, 4vw, 36px);
  font: 500 clamp(31px, 6vw, 58px)/1.08 Georgia, serif;
  letter-spacing: -.035em;
}

.releases-windows {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid var(--line);
  border-top: 3px solid #9cd94d;
  border-radius: 8px;
  background: var(--ui-surface);
}

.releases-page h2 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.25;
}

.releases-windows h2 {
  font-size: clamp(25px, 4vw, 32px);
}

.releases-page p {
  margin: 4px 0 0;
  color: var(--ui-text);
}

.releases-download {
  min-height: 48px;
  padding: 9px 16px;
  text-align: center;
}

.releases-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.releases-platforms li {
  padding: clamp(12px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ui-surface);
}

@media (max-width: 420px) {
  .releases-download {
    width: 100%;
  }
}
