body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: rgb(0, 0, 0);
  font-size: 16px;
  line-height: 19px;
}

@font-face {
  font-family: "Literature Decor";
  src: url("../fonts/Literature-Decor.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

.main-header {
  margin: 0 auto;
  width: 920px;
  padding: 16px 180px;
}

.main-nav {
  display: flex;
}

.main-nav .site-navigation {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  width: 283px;
}

.container-nav {
  margin: 0;
  padding: 0;
  width: 222px;
  list-style: none;
  display: flex;
  margin-left: auto;
  justify-content: flex-start;
  gap: 5px;
}

.site-navigation a,
.signin {
  color: rgb(0, 0, 0);
  list-style: none;
  font-size: 14px;
  text-decoration: none;
}

.with-padding {
  padding-left: 25px;
}

.with-padding-10 {
  padding-left: 10px;
}

.with-divider {
  padding-left: 25px;
  padding-right: 5px;
  border-right: 1px solid black;
}

.social-item.left {
  padding-right: 15px;
}

.hero {
  margin: 0 auto;
  position: relative;
  padding-right: 120px;
  width: 1160px;
  margin-bottom: 90px;
}

.hero-logo-container {
  position: absolute;
  width: 524px;
  left: 458px;
  top: 20px;
}

.hero-logo-container h1 {
  transform: rotate(-0.35deg);
  margin: 0;
  font-family: "Literature Decor";
  font-weight: 400;
  font-size: 95px;
  line-height: 108px;
}

.hero-logo-1 {
  text-indent: 38%;
}

.hero-logo-2 {
  text-indent: 30%;
}

.hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.hero-content-container {
  width: 500px;
  margin-top: 347px;
}

.hero-content-container p {
  line-height: 22px;
  white-space: pre-line;
  text-indent: 49px;
  margin: 0;
}

.link-container {
  width: 300px;
  margin-left: auto;
}

.link-container a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.link-container p {
  margin: 0;
  padding: 30px 62px;
  text-indent: 0;
  border: 1px solid rgb(0, 0, 0);
  font-family: "Literature Decor";
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
}

.articles {
  margin: 0 auto;
  padding: 0 180px;
  width: 920px;
  margin-bottom: 100px;
}

.articles h2 {
  margin: 0;
  margin-bottom: 40px;
  font-family: "Literature Decor";
  font-weight: 400;
  font-size: 49px;
  line-height: 55px;
  text-transform: uppercase;
}

.articles-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 920px;
  list-style: none;
}

.articles ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.articles li {
  box-sizing: border-box;
  width: 230px;
  margin: -0.5px;
  border: 1px solid #000000;
}

.article-content {
  display: flex;
  flex-direction: column;
  width: 177px;
  height: 375px;
  margin: 0 auto;
}

.articles-item a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.articles-item p {
  font-size: 9px;
  font-weight: 500;
  line-height: 14px;
}

.articles-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.response {
  display: flex;
  margin-top: auto;
  margin-bottom: 31px;
}

.likes {
  margin-right: 14px;
}

.likes a,
.comments a {
  display: flex;
  gap: 2px;
}

.response a,
.response p {
  margin: 0;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.link-container.mini {
  margin: 0 auto;
  margin-top: 30px;
  width: 250px;
}

.link-container.mini p {
  font-size: 12px;
  padding: 23px 45px;
}

.podcasts {
  margin: 0 auto;
  padding: 0 180px;
  width: 920px;
  margin-bottom: 140px;
}

.podcasts-list {
  margin: 0;
  display: flex;
  gap: 40px;
  padding: 0;
  list-style: none;
}

.podcasts h2 {
  margin: 0;
  margin-bottom: 55px;
  font-family: "Literature Decor";
  font-weight: 400;
  font-size: 49px;
  line-height: 55px;
  text-transform: uppercase;
}

.podcasts-item {
  gap: 40px;
  flex-direction: column;
}

.podcasts-item a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.podcasts-item img {
  margin-bottom: 15px;
}

.podcasts-item h3 {
  margin: 0;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.podcasts-item p {
  font-size: 14px;
  margin: 0;

}


.link-container.mini.podcasts p {
  padding: 23px 35px;
}

/* .main-footer {
  width: 920px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.main-footer-container {
  width: 523px;
}


.main-footer p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
}

.main-footer a {
  text-decoration: none;
  color: rgb(0, 0, 0);
} */

.main-footer {
  margin-top: 60px;
  padding: 30px 20px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: black;
  text-align: center;
}

.main-footer a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.main-footer a:hover {
  color: #007bff;
  border-bottom-color: rgba(0, 123, 255, 0.3);
}

.main-footer-container {
  width: 523px;
  margin: 0 auto;
}

.main-footer p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
}

.main-footer p:first-child {
  font-weight: 300;
  color: black;
}

.main-footer time {
  font-weight: 300;
  color: black;
}

.pagination-list {
  list-style: none;
}

.articles .articles-page {
  margin-bottom: 40px;
}

.pagination-container {
  width: 420px;
  margin: 0 auto;
  justify-content: space-between;
}

.pagination-container ul {
  justify-content: center;
  display: flex;
  gap: 10px;
}

.pagination-container li {
  width: 40px;
  font-family: "Literature Decor";
  font-size: 24px;
  text-align: center;
}

.pagination-container a {
  color: #000000;
  text-decoration: none;
}

.pagination-container p {
  padding: 10px 10px;
  width: 18px;
  margin: 0;
}

.pagination-item .ellipsis {
  border: none;
}

.pagination-container .page-prev,
.pagination-container .page-next {
  padding: 4px 7px;
}

.page-next img {
  transform: rotate(180deg);
}

.articles .ellipsis {
  width: 10px;
  border: none;
  padding: 0;
  padding-top: 21px;
}

.articles h2 {
  margin-top: 40px;
}

.article-page {
  width: 920px;
  margin: 0 auto;
}

.article-page-hero {
  width: 784px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.article-page-hero h1 {
  font-family: "Literature Decor";
  font-weight: 400;
  font-size: 30px;
  line-height: 100%;
  text-align: center;
  margin: 0;
  margin-top: 20px;
}

.article-page-hero img {
  margin: 0 auto;
}

.article-page-content-container h2 {
  margin: 0;
  width: 293px;
  font-family: "Literature Decor";
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
}

.article-page-content p {
  margin: 0;
  margin-left: auto;
  width: 500px;
  font-family: "Manrope";
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 60px;
}

.article-page-content-container p {
  margin-bottom: 30px;
}


.article-page-content-container {
  display: flex;
  justify-content: space-between;
}

.comment-form {
  display: flex;
  margin-bottom: 70px;
}

.comments-container {
  display: flex;
  flex-direction: column;
}

.comment-form .visually-hidden {
  color: rgba(0, 0, 0, 1);
  font-family: "Manrope";
  font-size: 16px;
  font-weight: 200;
}

.comment-form img,
.comments-list img {
  border-radius: 50px;
  margin-right: 25px;
}

.comment-form textarea {
  margin: auto 0;
  padding: 0;
  border: none;
  outline: none;
  width: 795px;
  height: 26px;
  resize: none;
  border-bottom: 1px solid #000000;
  color: rgba(0, 0, 0, 1);
  font-family: "Manrope";
  font-size: 16px;
}

.comment-form button-create {
  padding: 0;
  margin-left: auto;
  background-color: white;
  border: none;
  font-size: 16px;
}

.comments-list {
  margin: 0;
  padding: 0;
}

.comments-list li {
  list-style: none;
}

.comments-item {
  display: flex;
  margin-bottom: 50px;
}

.comment-meta {
  display: flex;
  margin-bottom: 12px;
}

.comment-text p {
  margin: 0;
  margin-bottom: 10px;
  line-height: 22px;
  font-size: 16px;
}

.comment-meta .comment-author {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  margin-right: 10px;
}

.comment-meta .comment-time {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
}

.comment-text {
  display: flex;
  flex-direction: column;
}

.comments-item button-create {
  margin: 0;
  padding: 0;
  background-color: white;
  border: none;
  font-size: 16px;
  margin-left: auto;
}

.comments-list-children {
  padding: 0;
  margin-left: 116px;
}

.comments-list-children .comment-content .comment-author {
  font-size: 16px;
  font-weight: 500;
}

.comments-list-children .comment-content .comment-time {
  font-size: 12px;
}

.comments-list-children .comment-text p {
  font-size: 14px;
  line-height: 19px;
}

.comments-list-children .comment-text span {
  font-weight: 600;
}

.comments-list-children button-create {
  font-size: 14px;
  font-weight: 300;
}

.form-block-text {
  margin: 0;
  margin-left: auto;
  width: 500px;
  min-height: 250px;
  font-family: Manrope;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 10px;
}

.form-row {
  margin-bottom: 10px;
}

/* .form-description {
    border-width: 2px;
    border-radius: 10px;
    margin: 0px;
    resize: none;
    width: 295px;
    font-family: "Literature Decor";
    font-size: 20px;
    font-weight: 400;
    line-height: 100%;
    height: 250px;
} */

.form-description {
  display: block;
  width: 295px;
  height: 210px;
  resize: none;
  outline: none;
  border: none;

  margin-bottom: 30px;

  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
  border-radius: 20px;

  /* --- Отступы внутри --- */
  padding: 15px 20px;

  /* --- Шрифт и стиль --- */
  font-family: "Literature Decor", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #222;

  /* --- Внешний вид --- */
  background-color: #fff;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

/* 💡 При фокусе — лёгкое свечение и цветная рамка */
.form-description:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}


/* .form-text {
    padding: 0;
    display: block;
    border: none;
    outline: 2px solid rgba(0, 0, 0, 0.2);
    -moz-outline-radius: 20px;
    margin: 0;
    margin-left: auto;
    width: 500px;
    min-height: 250px;
    font-family: Manrope;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
    resize: none;
} */

.form-text {
  display: block;
  width: 500px;
  min-height: 150px;
  border: none;
  outline: none;

  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
  border-radius: 20px;

  margin: 0;
  margin-left: auto;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 18px;
  resize: none;
  box-sizing: border-box;

  transition: box-shadow 0.2s ease;

  /* 👇 Добавляем внутренние отступы */
  padding: 15px 20px;
}

/* При фокусе */
.form-text:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}

.form-text-description {
  display: block;
  min-height: 125px;
  width: 100%;
  border: none;
  outline: none;

  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
  border-radius: 20px;

  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 30px;
  resize: none;
  box-sizing: border-box;

  transition: box-shadow 0.2s ease;

  /* 👇 Добавляем внутренние отступы */
  padding: 15px 20px;
}

/* При фокусе */
.form-text-description:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}


.form-title {
  margin-top: 30px;
  margin-bottom: 10px;

  display: block;
  border: none;
  height: 60px;
  width: 785px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0);
  font-family: "Literature Decor", serif;
  font-size: 30px;
  font-weight: 400px;
  text-align: center;
  align-content: center;

  padding: 10px 20px;

  border-radius: 20px;
  resize: none;
  box-sizing: border-box;
}

.form-title:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}

.btn-file {
  display: inline-block;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
  padding: 10px 14px;
  border-radius: 10px;
  user-select: none;
}

.btn-file:hover {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}

.btn-file:active {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}

.btn-file input[type="file"],
input[type="button"] {
  display: none;
}

.blocks-grid .block {
  margin-bottom: 24px;
}

.form-buttons {
  text-align: center;
  margin-bottom: 60px;
}

.button-create {
  cursor: pointer;
  border: none;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 22px;
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition:
    transform 0.15s ease,
    box-shadow 0.3s ease,
    background-color 0.2s ease;
  user-select: none;
}

/* Эффект при наведении */
.button-create:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Эффект при клике */
.button-create:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

/* Чтобы кнопки были с небольшими отступами */
.button-create+.button-create {
  margin-left: 12px;
}

.cover-placeholder {
  width: 500px;
  height: 500px;
  margin: 0 auto 15px auto;
  border-radius: 10px;
  background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cover-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-text {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

/* Кнопка в том же стиле, что у остальных */
.btn-file.cover-upload {
  display: inline-block;
  width: 500px;
  box-sizing: border-box;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
  padding: 10px 14px;
  border-radius: 10px;
  user-select: none;
}

.btn-file.cover-upload:hover {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}

.btn-file.cover-upload input[type="file"] {
  display: none;
}

.article-cover {
  text-align: center;
}

.btn-file+.btn-file {
  margin-left: 12px;
}

/* Активное (удалить картинку) */
.btn-file.has-image,
.btn-file.btn-remove-block {
  background-color: #fdf2f2;
  /* очень светло-красный фон */
  color: #b94a4a;
  /* мягкий винный текст */
  box-shadow: 0 0 0 1.5px rgba(185, 74, 74, 0.3);
}

.btn-file.has-image:hover,
.btn-file.btn-remove-block:hover {
  background-color: #f9e0e0;
  /* чуть насыщеннее при наведении */
  box-shadow: 0 0 0 2px rgba(185, 74, 74, 0.5);
  color: #a83a3a;
  transform: scale(1.05);
}

.page-head {
  display: flex;
  justify-content: space-between;
}

.author-actions {
  align-items: center;
  display: flex;
  color: black;
  margin-left: 0;
  gap: 15px;
}

.btn-author {
  align-content: center;
  height: 25px;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: black;
}

.btn-author.create-article {
  border: 1px solid #ccc;
}

.empty-state {
  text-align: center;
  padding: 40px 0 24px;
  color: #666;
  font-size: 18px;
}

.empty-state .btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  border: 1px solid #222;
  border-radius: 999px;
  text-decoration: none;
}

/* -------------------------------------------------------- */
.profile-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 16px
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #fafafa
}

.profile-form .row {
  display: flex;
  gap: 12px;
  margin: 8px 0
}

.profile-form label {
  min-width: 120px
}

/*.liked-carousel {
  display: flex;
  gap: 16px;
  overflow: auto;
  padding: 8px 2px
}*/

/*.liked-item {
  width: 240px;
  height: 150px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  color: inherit
}*/

.muted {
  color: #777
}

.links-form {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 16px
}

.btn-profile {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #222;
  border-radius: 999px;
  text-decoration: none
}

.btn-ghost {
  border-color: #ccc
}

/* ===== PROFILE ===== */
.profile {
  margin: 0 auto;
  padding: 0 180px;
  width: 920px;
}

.profile h2 {
  margin: 40px 0 18px;
  font-family: "Literature Decor";
  font-weight: 400;
  font-size: 49px;
  line-height: 55px;
  text-transform: uppercase;
}

/* header-card */
.profile-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .12);
  margin-bottom: 22px;
}

.profile-avatar {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08);
  background: #fafafa;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar .avatar-upload {
  position: absolute;
  inset: auto 8px 8px 8px;
  display: inline-block;
  text-align: center;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .15);
  cursor: pointer;
}

.profile-avatar .avatar-upload input {
  display: none;
}

.profile-title {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.profile-title .name {
  font-family: "Literature Decor";
  font-size: 32px;
  line-height: 1;
}

.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #222;
}

/* уменьшенные чипы */
.btn-chip.small {
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #222;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}

btn-chip.small:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.btn-chip.small.ghost {
  border-color: #ccc;
  color: #666;
}

/* кнопки под именем */
.avatar-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.badge.muted {
  border-color: #ccc;
  color: #777;
}

.profile-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  color: #555;
  font-size: 14px;
}

.profile-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #999;
  align-self: center;
}

.profile-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.btn-chip {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #222;
  border-radius: 999px;
  text-decoration: none;
  color: #000;
  transition: transform .15s ease, box-shadow .25s ease;
}

.btn-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.btn-chip.ghost {
  border-color: #ccc;
}

/* tabs */
.profile-tabs {
  display: flex;
  gap: 16px;
  margin: 22px 0 18px;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 6px;
}

.profile-tabs a {
  font-family: "Literature Decor";
  font-size: 20px;
  text-decoration: none;
  color: #000;
  padding: 6px 10px;
  border-radius: 10px;
}

.profile-tabs a.active {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .14);
}

/* panels */
.profile-panel {
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .12);
  margin-bottom: 20px;
  overflow: visible;
}

/* form rows (перекрасили ваши .row под общий вид) */
.profile-form .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.profile-form label {
  min-width: 140px;
  font-size: 14px;
  color: #333;
}

.profile-form input[type="text"],
.profile-form input[type="url"],
.profile-form input[type="password"],
.profile-form input[type="email"] {
  flex: 1;
  height: 40px;
  border: none;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .2);
  border-radius: 12px;
  padding: 0 12px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  transition: box-shadow .2s ease;
}

.profile-form input:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, .5);
}

.profile-form .muted {
  color: #777;
}

/* liked carousel в карточках */
.liked-carousel {
  display:flex;
    width:100%;
    gap:16px;
    overflow-x:auto;          /* есть горизонтальный скролл */
    overflow-y:hidden;
    padding:8px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width:none;     /* скрыть в FF */
}

.liked-carousel::-webkit-scrollbar{display:none;} /* скрыть в WebKit */

.liked-item {
   flex:0 0 260px;           /* ширина карточки строго 260px */
    height:160px;             /* фикс. высота */
    box-shadow:0 0 0 2px rgba(0,0,0,.08);
    border-radius:16px;
    padding:12px;
    text-decoration:none;
    color:#000;
    scroll-snap-align:start;

    display:flex;
    flex-direction:column;
    box-sizing:border-box;
}

.liked-item .title{
  font-weight:600;
  font-size:16px;
  line-height:1.2;
  display:-webkit-box;      /* 3 строки максимум */
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:6px;
}

.liked-item .date{
  font-size:12px;
  color:#777;
  margin-bottom:6px;
}
.liked-item .desc{
  font-size:13px;
  color:#777;
  line-height:1.25;
  display:-webkit-box;      /* 2 строки макс. */
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-top:auto;          /* прижим вниз */
}

.liked-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

.liked-item .muted {
  color: #777;
  font-size: 13px;
}

/* links form */
.links-form h3 {
  margin: 0 0 12px;
  font-family: "Literature Decor";
  font-weight: 400;
}

.links-form .row {
  margin: 8px 0;
}

.btn-profile,
.btn {
  cursor: pointer;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: .3px;
}

/* responsive */
@media (max-width: 1100px) {
  .profile {
    padding: 0 24px;
    width: auto;
  }
}

@media (max-width: 720px) {
  .profile-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-form label {
    min-width: 100px;
  }
}