.platforms {
  display: grid;
  gap: 16px;
  grid-template-columns: auto 424px;
  grid-template-areas: "header header" "content sidebar"; }
  .platforms .sidebar {
    scroll-margin-top: 40px; }

.platforms__header {
  grid-area: header;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "A B" "C B";
  gap: 16px; }

.platforms-main-block__button {
  max-width: 200px;
  margin-right: 18px; }

.block-title {
  grid-area: A; }

.block-subtitle {
  grid-area: C; }

.block__thumbnail {
  grid-area: B; }

.content {
  grid-area: content;
  display: flex;
  gap: 16px;
  flex-direction: column; }

.platforms-main-block {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px 24px 24px 24px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 24px; }

.platforms-main-block__title {
  max-width: 80%;
  margin-top: 0;
  margin-bottom: 0; }

.platforms-main-block__description {
  margin-bottom: 0;
  max-width: 70%; }

.platforms-subtitle-block__title {
  max-width: 70%; }

.block__description_custom-margin p:first-child {
  margin-bottom: 25px; }

.block__description_custom-margin p:last-child {
  margin-bottom: 4px; }

.block__description_comparison {
  max-width: 77%; }
  .block__description_comparison p {
    margin: 0; }

.sidebar {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  gap: 16px; }

.block__title_sidebar {
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
  padding-bottom: 7px;
  max-width: 100%; }

.block__title_menu {
  display: flex;
  align-items: center;
  font-size: 18px;
  line-height: 14px;
  font-weight: 500;
  padding-bottom: 16px;
  gap: 7px; }

.block__description_platforms {
  max-width: 82%; }

.download {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-evenly; }

.download__item {
  flex-basis: 45%;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  gap: 10px; }

.download__buttons {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px; }

.download__button {
  border-radius: 8px; }

.download__button_full_width {
  background-color: #F5F5F5;
  flex-basis: 100%;
  padding: 10px; }
  .download__button_full_width a {
    color: #007AFF;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px; }

.comparison {
  border: 1px solid #F5F5F5;
  border-spacing: 1px;
  border-collapse: collapse;
  text-align: right;
  width: 100%;
  table-layout: fixed; }
  .comparison td, .comparison th {
    padding: 10px 24px;
    outline: 1px solid #F5F5F5;
    width: 33%;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px; }
  .comparison th:first-child, .comparison td:first-child {
    padding: 10px 10px; }

.comparison__header {
  background-color: #F5F5F5; }

.comparison_text {
  width: 90%;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px; }

.menu-sidebar-menu-container ul {
  margin: 0;
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-direction: column; }

.menu-sidebar-menu-container li {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: right; }

.id .platforms-subtitle-block__title {
  max-width: 100%; }

.id .block__description_platforms {
  max-width: 100%; }

@media only screen and (max-width: 768px) {
  .platforms {
    grid-template-columns: 100%;
    grid-template-areas: "header" "sidebar" "content"; }
  .platforms__header {
    grid-template-columns: 1fr;
    grid-template-areas: "A" "B" "C"; }
  .platforms-main-block__description {
    max-width: 85%;
    margin-bottom: 24px; }
  .platforms-main-block__button {
    margin-right: 0;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px; }
  .comparison td, .comparison th {
    padding: 10px 6px;
    outline: 1px solid #F5F5F5;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px; }
  .comparison td:first-child {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px; }
  .comparison th:first-child {
    width: 70%; }
  .comparison th {
    text-align: center; }
  .comparison__column {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: center; }
  .comparison_text {
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    padding: 0 12px; }
  .platforms-main-block {
    display: block;
    padding: 12px 12px 24px;
    gap: 14px; }
  .block__title_platforms {
    font-size: 28px;
    font-weight: 500;
    line-height: 34px; }
  .block__description_platforms {
    max-width: 89%;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px; }
  .block__title_comparison {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    max-width: 100%;
    margin: 0;
    padding: 8px 12px 0; }
  .block__description_comparison {
    max-width: 89%;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    padding: 0 12px; }
  .platforms-main-block__title {
    max-width: 80%;
    margin-bottom: 14px; }
  .block__thumbnail_platforms {
    position: relative;
    height: 299px;
    overflow: hidden; }
  .platforms__thumbnail__img {
    width: 100%;
    position: absolute;
    top: -50%; }
  .platforms-subtitle-block__title {
    max-width: 85%;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px; }
  .platforms-block-sidebar {
    gap: 32px;
    padding-bottom: 24px; }
  .platforms-sidebar-menu {
    padding-top: 19px; }
  .block__title_sidebar {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    padding-bottom: 0; }
  .block__title_menu {
    padding-bottom: 0; }
  .menu-sidebar-menu-container {
    width: 85%; }
  .platforms-block-comparison {
    padding: 12px 0; }
  .id .platforms-main-block__title {
    max-width: 91%; } }
