/* ===== Личный кабинет ===== */
.account-page {
  margin-top: 40px;
}
.account__wrapper {
  display: grid;
  grid-template-columns: 2.04fr 1fr;
  gap: 17px;
  align-items: stretch;
}
.account .main__title {
  margin-top: 40px;
  margin-bottom: 53px;
}
.account__info {
  border: 1px solid var(--color-grey-light);
  padding: 50px 92px;
  background-color: var(--color-white);
}
.account__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.account__list strong {
  display: block;
  font: 700 16px var(--sen);
  color: var(--color-black);
  margin-bottom: 10px;
}
.account__list p {
  font: 400 16px var(--sen);
  color: var(--color-black);
  margin: 0;
  line-height: 1.5;
}
/* Правая колонка */
.account__actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.account__actions_btn {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.account__btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 23px 45px;
  color: var(--color-white);
  font: 500 16px var(--sen);
  text-decoration: none;
  transition: background 0.2s ease;
}
.account__actions .btn_logout {
  align-self: flex-end;
}
.account__btn--logout {
  width: fit-content;
}
.account__btn svg {
  width: 25px;
  height: 25px;
  color: var(--color-white);
  flex-shrink: 0;
}
.news-detail__grid.account__grid {
  margin-bottom: 40px;
  gap: 40px;
}
.account__grid .news-detail__text p {
  padding-bottom: 0px;
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .account__info {
    padding: 50px;
  }
  .account__btn {
    justify-content: center;
    gap: 15px;
    padding: 17px 20px;
    font: 500 12px var(--sen);
  }
  .account .main__title {
    margin-bottom: 40px;
  }
  .account__list strong,
  .account__list p {
    font-size: 14px;
  }
  .account__wrapper {
    grid-template-columns: 1.7fr 1fr;
    gap: 10px;
  }
  .account__btn svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 680px) {
  .account__btn {
    flex: 1 1 100%;
  }
  .account__info {
    padding: 30px 37px;
  }
  .account__list strong,
  .account__list p {
    font-size: 12px;
  }
  .account__wrapper {
    grid-template-columns: 1fr;
  }
  .account__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .account__btn {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }
  .news-detail__grid.account__grid,
  .account .main__title {
    margin-bottom: 20px;
    gap: 20px;
  }
  .account__wrapper {
    gap: 40px;
  }
  .account__btn {
    justify-content: flex-start;
    gap: 15px;
    padding: 17px 35px;
    font: 500 12px var(--sen);
  }
}
