@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  background: #ffffff;
  color: #0f172a;
}

.header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
    max-width: 1320px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo-img {
  display: block;
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header__link {
  font-size: 16px;
  line-height: 24px;
  color: #364153;
  text-decoration: none;
}

.header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 15px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2b7fff 0%, #ad46ff 50%, #f6339a 100%);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 20px;
  margin: 0 auto;
  max-width: 1320px;
}

.article__heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 15px;
  border-radius: 24px;
  width: 103px;
  background: linear-gradient(90deg, #2b7fff 0%, #ad46ff 50%, #f6339a 100%);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
}

.article__title {
  margin: 0;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 700;
  background: linear-gradient(90deg, #155dfc 0%, #9810fa 50%, #e60076 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article__image {
  width: 100%;
  aspect-ratio: 1280 / 800;
}

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

.article__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 21px;
  border-bottom: 1px solid #e5e7eb;
}

.article__actions-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  font-size: 14px;
  line-height: 20px;
  color: #0a0a0a;
}

.article__actions .article__action:last-child {
  padding: 5px 10px;
}

.article__action-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.article__text {
  font-size: 20px;
  line-height: 32.5px;
  color: #364153;
}

.article__paragraph {
  margin: 0 0 20px;
}

.article__paragraph--spacer {
  margin: 0;
  height: 20px;
}

.article__subtitle {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #101828;
}

.article__list {
  margin: 0;
  padding-left: 30px;
  list-style: disc;
}

.article__list-item {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 32.5px;
  color: #364153;
}

.article__list-item:last-child {
  margin-bottom: 0;
}

.article__form {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(153, 161, 175, 0.5);
}

.article__form-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: #364153;
}

.comment {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.comment__title {
  margin: 0;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  background: linear-gradient(90deg, #155dfc 0%, #9810fa 50%, #e60076 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comment__field {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.comment__textarea {
  width: 100%;
  min-height: 140px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9d4ff;
  background: #f3f3f5;
  font-size: 14px;
  line-height: 20px;
  color: #101828;
  resize: none;
  font-family: "Ubuntu", sans-serif;
}

.comment__textarea::placeholder {
  color: #717182;
}

.comment__post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 15px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #2b7fff 0%, #ad46ff 50%, #f6339a 100%);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.comment__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.comment__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}

.comment__avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ececf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff;
}

.comment__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.comment__meta {
  display: flex;
  flex-direction: column;
}

.comment__name {
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  color: #101828;
}

.comment__time {
  font-size: 14px;
  line-height: 20px;
  color: #6a7282;
}

.comment__menu {
  width: 36px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment__dots {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4a5565;
  display: block;
  box-shadow: 0 -5px 0 #4a5565, 0 5px 0 #4a5565;
}

.comment__text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #364153;
}

.comment__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 32px;
}

.comment__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
  color: #4a5565;
  cursor: pointer;
}

.comment__icon {
  width: 16px;
  height: 16px;
  display: block;
}

.footer {
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px;
  background: linear-gradient(155.72deg, #101828 0%, #59168b 50%, #1c398e 100%);
}

.footer__upper {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__tagline {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #99a1af;
}

.footer__socials {
  display: flex;
  gap: 12px;
  height: 36px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__social img {
  width: 16px;
  height: 16px;
  display: block;
}

.footer__email {
  display: flex;
  gap: 12px;
  height: 36px;
  width: 372px;
}

.footer__input {
  flex: 1;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-family: "Ubuntu", sans-serif;
}

.footer__input::placeholder {
  color: #99a1af;
}

.footer__submit {
  width: 40px;
  height: 36px;
  border-radius: 8px;
  border: none;
  padding: 0;
  background: linear-gradient(90deg, #2b7fff 0%, #ad46ff 50%, #f6339a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer__submit img {
  width: 16px;
  height: 16px;
  display: block;
}

.footer__bottom {
  padding-top: 40px;
  max-width: 1320px;
  margin: 0 auto;
}

.footer__text {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #99a1af;
}

.footer__text--spacer {
  height: 20px;
}

.footer__link {
  color: #99a1af;
  text-decoration: underline;
}

.link {
  color: red;
  font-weight: 700;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  .article__title {
    font-size: 48px;
    word-break: break-all;
  }
  .header__nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .article__title {
    font-size: 32px;
  }
  .article__subtitle {
    font-size: 26px;
  }
}
