* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  color: #252527;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: 0.2s ease;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.section {
  padding: 32px 0;
}

.header {
  background-color: #ffffff;
  border-bottom: 3px solid #6d625c;
  box-shadow: 0px 4px 20px 0px rgba(65, 10, 20, 0.25);
  height: 140px;
  position: relative;
  z-index: 100;
}

.header__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.header__logo {
  width: 251px;
  height: 100px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__menu-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu-btn img {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .header {
    height: auto;
    min-height: 80px;
  }

  .header__container {
    padding: 15px 20px;
  }

  .header__logo {
    width: 113px;
    height: 45px;
  }

  .header__menu-btn {
    width: 22px;
    height: 15px;
  }
}

.article {
  background-color: #ffffff;
  box-shadow: 0px 4px 20px 0px rgba(65, 10, 20, 0.25);
  width: 1280px;
  max-width: 100%;
  margin: 0px auto 0;
  position: relative;
  padding-top: 72px;
}

.article__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 54px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.article__breadcrumbs a {
  font-size: 20px;
  color: #410a14;
  font-weight: 400;
  font-family: "Lato", sans-serif;
  line-height: normal;
}

.article__breadcrumbs a:last-child {
  font-weight: 700;
  color: #ed0b0e;
}

.article__breadcrumbs .arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 255px;
  border-top: 3px solid #bbb8b5;
  border-bottom: 3px solid #bbb8b5;
  padding: 10px 20px;
  margin-bottom: 92px;
}

.article__meta__left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 49px;
}

.article__meta__social {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-right: 20px;
  border-right: 3px solid #bbb8b5;
}

.article__meta__social .social-icon {
  width: 50px;
  height: 50px;
}

.article__meta__social .social-icon img {
  width: 100%;
  height: 100%;
}

.article__meta__social-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article__meta__social-stats .shares-count {
  font-size: 22px;
  font-weight: 700;
  color: #410a14;
  line-height: 1.3;
  margin-bottom: 0;
  font-family: "Lato", sans-serif;
}

.article__meta__social-stats .shares-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  font-family: "Lato", sans-serif;
}

.article__meta__comments {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.article__meta__comments .chat-icon {
  width: 50px;
  height: 50px;
}

.article__meta__comments .comments-label {
  font-size: 16px;
  color: #6d625c;
  line-height: 1.3;
  font-family: "Lato", sans-serif;
}

.article__meta__date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  padding-left: 20px;
  padding-right: 1px;
  border-left: 3px solid #bbb8b5;
  line-height: 1.3;
  flex-shrink: 0;
  position: relative;
}

.article__meta__date .author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-family: "Lato", sans-serif;
  width: 100%;
  position: relative;
  flex-shrink: 0;
}

.article__meta__date .author .from {
  font-weight: 700;
  color: #410a14;
  position: relative;
  flex-shrink: 0;
}

.article__meta__date .author .name {
  color: #ed0b0e;
  position: relative;
  flex-shrink: 0;
}

.article__meta__date .date-text {
  font-size: 16px;
  color: #bbb8b5;
  font-family: "Lato", sans-serif;
  width: 100%;
  position: relative;
  flex-shrink: 0;
  white-space: pre-wrap;
}

.article__meta__video {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.article__meta__video img {
  width: 100%;
  height: 100%;
}

.article__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 20px;
}

.article__content__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #252527;
  font-family: "Lato", sans-serif;
}

.article__content__image {
  width: 1240px;
  max-width: 100%;
  height: 698px;
  background-color: #410a14;
  overflow: hidden;
}

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

.article__content__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid #bbb8b5;
  padding-top: 32px;
}

.article__content__text h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: #252527;
  font-family: "Lato", sans-serif;
}

.article__content__text p {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  color: #252527;
  font-family: "Lato", sans-serif;
}

.article__content__text p strong {
  font-weight: 700;
}

.article__content__form {
  background-color: #410a14;
  padding: 10px 0;
  text-align: center;
  border-radius: 6px;
  margin-top: 32px;
}

.article__content__form h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #eeebe7;
  font-family: "Lato", sans-serif;
}

@media (max-width: 1300px) {
  .article__meta__video {
    display: none;
  }
  .article__meta__social .social-icon {
    width: 30px;
    height: 30px;
  }
  .article__meta__social {
    align-items: center;
  }
  .article__meta__left {
    gap: 0px;
  }
}

@media (max-width: 1024px) {
  .comments,
  .article {
    max-width: 696px;
    width: 100%;
  }
  .article__meta__date .author .name {
    max-width: 150px;
  }
  .article__meta__comments .chat-icon {
    width: 32px;
    height: 32px;
  }
  .article__meta__date .author {
    align-items: flex-start;
  }
  .article__content__image {
    width: auto;
    height: auto;
  }
  .header__logo {
    width: 151px;
    height: 60px;
  }

  .header__menu-btn {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .article {
    padding: 10px;
    width: 100%;
    padding-top: 10px;
  }

  .article__breadcrumbs {
    position: relative;
    margin-bottom: 10px;
    gap: 12px;
  }

  .article__breadcrumbs a {
    font-size: 12px;
  }

  .article__breadcrumbs .arrow {
    width: 20px;
    height: 20px;
  }

  .article__meta {
    position: relative;
    width: 100%;
    gap: 20px;
    padding: 10px 0;
    margin-bottom: 32px;
  }

  .article__meta__left {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .article__meta__social {
    flex-direction: row;
    gap: 14px;
    padding-right: 0;
    border-right: none;
    border-bottom: 3px solid #bbb8b5;
    padding-bottom: 10px;
    width: 100%;
    justify-content: center;
  }

  .article__meta__social .social-icon {
    width: 48px;
    height: 48px;
  }

  .article__meta__social-stats .shares-count {
    font-size: 16px;
  }

  .article__meta__social-stats .shares-label {
    font-size: 12px;
  }

  .article__meta__comments {
    display: none;
  }

  .article__meta__comments .chat-icon {
    width: 48px;
    height: 48px;
  }

  .article__meta__comments .comments-label {
    font-size: 12px;
  }

  .article__meta__date {
    flex-direction: column;
    padding-left: 0;
    border-left: none;
    padding-top: 10px;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
  }

  .article__meta__date .author {
    font-size: 16px;
    gap: 6px;
    width: 100%;
  }

  .article__meta__date .author .name {
    width: auto;
    flex: 1;
    max-width: 100%;
  }

  .article__meta__date .date-text {
    font-size: 14px;
    width: 100%;
  }

  .article__content {
    position: relative;
    margin-top: 0;
  }

  .article__content__title {
    font-size: 26px;
    font-weight: 600;
  }

  .article__content__text h2 {
    font-size: 22px;
  }

  .article__content__text p {
    font-size: 18px;
  }

  .article__content__form h2 {
    font-size: 26px;
  }
}

.comments {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.comments__title {
  text-align: center;
  padding: 0 20px 16px 20px;
  border-bottom: 3px solid #410a14;
  margin-bottom: 32px;
}

.comments__title h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #410a14;
}

.comments__form {
  display: flex;
  gap: 16px;
  padding: 0 20px 32px 20px;
  border-bottom: 3px solid #eeebe7;
  margin-bottom: 32px;
  align-items: center;
}

.comments__input {
  flex: 1;
  border: 3px solid #bbb8b5;
  border-radius: 16px;
  padding: 40px 20px 32px 20px;
  font-size: 22px;
  font-family: "Lato", sans-serif;
  color: #252527;
  resize: none;
  min-height: 164px;
}

.comments__input::placeholder {
  color: #252527;
}

.link {
  color: #ed0b0e;
  text-decoration: none;
  font-weight: 700;
}
.link:hover {
  text-decoration: underline;
}

.comments__submit {
  background-color: #410a14;
  color: #bbb8b5;
  padding: 16px 40px;
  border-radius: 16px;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.2s ease;
  height: fit-content;
}

.comments__submit:hover {
  opacity: 0.9;
}

.comments__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comments__item {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #eeebe7;
  align-items: flex-start;
}

.comments__item:last-child {
  border-bottom: none;
}

.comments__avatar {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

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

.comments__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 828px;
}

.comments__content .author-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: #252527;
}

.comments__content .comment-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  color: #252527;
}

.comments__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 285px;
}

.comments__info .time {
  font-size: 16px;
  color: #bbb8b5;
}

.comments__info .likes {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 90px;
}

.comments__info .likes .heart-icon {
  width: 24px;
  height: 24px;
}

.comments__info .likes .heart-icon img {
  width: 100%;
  height: 100%;
}

.comments__info .likes .count {
  font-size: 16px;
  color: #bbb8b5;
}

@media (max-width: 768px) {
  .comments {
    padding: 32px 10px;
    width: 100%;
  }

  .comments__title {
    padding: 0 10px 10px 10px;
  }

  .comments__title h2 {
    font-size: 22px;
  }

  .comments__form {
    flex-direction: column;
    gap: 12px;
    padding: 0 10px 32px 10px;
    align-items: flex-end;
    justify-content: center;
  }

  .comments__input {
    width: 349px;
    max-width: 100%;
    padding: 10px 20px 60px 20px;
    border-radius: 10px;
    font-size: 16px;
    min-height: auto;
  }

  .comments__input::placeholder {
    font-size: 16px;
  }

  .comments__submit {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 16px;
  }

  .comments__item {
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
    align-items: flex-start;
  }

  .comments__avatar {
    width: 55px;
    height: 55px;
  }

  .comments__content {
    max-width: 282px;
    gap: 12px;
  }

  .comments__content .author-name {
    font-size: 20px;
  }

  .comments__content .comment-text {
    font-size: 18px;
  }

  .comments__info {
    flex-direction: row;
    gap: 32px;
    min-width: auto;
    justify-content: flex-end;
    width: 100%;
  }

  .comments__info .time {
    font-size: 16px;
  }

  .comments__info .likes {
    gap: 12px;
    min-width: 90px;
  }

  .comments__info .likes .heart-icon {
    width: 24px;
    height: 24px;
  }

  .comments__info .likes .count {
    font-size: 16px;
  }
}

.footer {
  background-color: #252527;
  padding: 32px 0;
  position: relative;
}

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.footer__logo {
  width: 251px;
  height: 100px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 22px;
  color: #eeebe7;
  position: relative;
}

.footer__links a::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 29px;
  height: 1px;
  background: url("./assets_main/images/line.svg") no-repeat center;
}

.footer__links a:last-child::after {
  display: none;
}

.footer__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 18px;
  color: #eeebe7;
  line-height: 1.1;
  text-align: center;
  max-width: 100%;
}

.footer__text p {
  margin: 0;
}

.footer__text p strong {
  color: #ed0b0e;
  font-weight: 700;
}

.footer__copyright {
  font-size: 18px;
  color: #eeebe7;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .footer {
    padding: 32px 0;
  }

  .footer__container {
    padding: 0 12px;
    gap: 32px;
  }

  .footer__logo {
    width: 113px;
    height: 45px;
  }

  .footer__links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer__links a {
    font-size: 18px;
  }

  .footer__links a::after {
    width: 22px;
    right: -22px;
  }

  .footer__text {
    font-size: 14px;
    gap: 22px;
    text-align: left;
    align-items: flex-start;
  }

  .footer__copyright {
    font-size: 14px;
    margin-top: 0;
  }
}