/* Página de notas de versão (notas-de-versao.html). */

.notas-page {
  padding: 140px 0 100px;
  background-color: var(--white-hover);
}

.notas-page__container {
  max-width: 1022px;
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.notas-page__header {
  text-align: center;
  margin-bottom: 56px;
}

.notas-page__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 16px;
}

.notas-page__subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral);
}

.release-year {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.release-year__title {
  font-size: 26px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
}

.release {
  margin-bottom: 16px;
  border-radius: 24px;
  background: var(--neutral-bg);
  scroll-margin-top: 110px;
}

.release__summary {
  display: block;
  padding: 20px 56px 20px 24px;
  position: relative;
  cursor: pointer;
  list-style: none;
}

.release__summary::-webkit-details-marker {
  display: none;
}

.release__summary::after {
  content: '';
  position: absolute;
  top: 28px;
  right: 28px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.release[open] .release__summary::after {
  transform: rotate(-135deg);
}

.release__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 6px;
}

.release__version {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.release__date {
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral);
}

.release__intro {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral);
}

.release__body {
  padding: 0 24px 24px;
}

.release__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
}

.release__reading,
.release__video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.release__reading {
  font-weight: 500;
  color: var(--neutral);
}

.release__video {
  font-weight: 600;
  color: var(--primary);
}

.release__video:hover,
.release__video:focus-visible {
  text-decoration: underline;
}

.release__reading svg,
.release__video svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.release__section-title {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.release__list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.release__list li {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--neutral);
}

@media (max-width: 768px) {
  .notas-page {
    padding: 104px 0 64px;
  }

  .notas-page__container {
    padding: 0 20px;
  }

  .notas-page__header {
    margin-bottom: 32px;
  }

  .notas-page__title {
    font-size: 24px;
  }

  .notas-page__subtitle {
    font-size: 16px;
  }

  .release-year,
  .release {
    scroll-margin-top: 88px;
  }

  .release__summary {
    padding: 16px 44px 16px 18px;
  }

  .release__summary::after {
    top: 24px;
    right: 20px;
  }

  .release__body {
    padding: 0 18px 20px;
  }
}
