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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: rgba(0, 0, 0, 1);
  font-weight: 400;
  letter-spacing: -2%;
  line-height: 1.2;
  padding-bottom: 60px;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.link {
  color: rgba(81, 92, 148, 1);
  font-weight: 700;
}

.header {
  background-color: rgba(20, 20, 20, 1);
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
}

.logo img {
  width: 154px;
  height: 50px;
}

.container {
  max-width: 1060px;
  padding: 0px 20px;
  margin-left: 300px;
}

.article {
  padding-top: 30px;
}

.article p {
  font-size: 20px;
  line-height: 32px;
  margin: 20px 0px;
}

.article h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0px;
}

.article-header {
  margin-bottom: 20px;
}

.article-title {
  font-size: 48px;
  font-weight: 700;
}

.article-subtitle {
  font-size: 20px;
  line-height: 30px;
  color: rgba(109, 109, 109, 1);
  margin: 20px 0px;
}

.article-meta {
  border: 1px solid rgba(109, 109, 109, 1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-public {
  font-size: 20px;
}

.article-date {
  font-size: 13px;
}

.article-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.caption {
  background-color: rgba(241, 241, 242, 1);
  font-size: 20px;
  margin: 0 !important;
  margin-top: -20px !important;
  padding: 20px;
  font-weight: 600;
  line-height: 28px;
}

.caption-author {
  font-weight: 500;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
}

.step-arrow {
  font-size: 22px;
}

.step-text {
  font-size: 20px;
  line-height: 32px;
}

.step-text strong {
  font-weight: bold;
}

.comments-section {
  padding-top: 60px;
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217, 217, 217, 1);
  padding: 15px 0px;
  margin-bottom: 20px;
}

.comments-count {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: rgba(26, 26, 26, 1);
}

.comments-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-sort-label {
  font-size: 16px;
  line-height: 28px;
}

.comments-sort-link {
  background-color: rgba(244, 245, 247, 1);
  border: 1px solid rgba(217, 217, 217, 1);
  padding: 5px 10px;
  border-radius: 3px;
}

.comment-box {
  display: flex;
  margin-bottom: 30px;
}

.comment-avatar {
}

.comment-avatar img {
  min-width: 55px;
  height: 55px;
  margin-right: 10px;
}

.comment-form {
  width: 100%;
}

.comment-input {
  width: 100%;
  padding: 10px 10px 30px 10px;
  border: 2px solid rgba(217, 217, 217, 1);
  border-bottom: none;
  font-size: 18px;
}

.comment-input::placeholder {
  color: rgba(160, 160, 160, 1);
  font-size: 18px;
}

.comment-button-container {
  background: rgba(247, 247, 250, 1);
  display: flex;
  justify-content: flex-end;
  width: 100%;
  border: 2px solid rgba(217, 217, 217, 1);
  padding: 10px;
}

.comment-button {
  padding: 0px 10px;
  background-color: rgba(154, 177, 214, 1);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.comment-button:hover {
  background-color: rgba(81, 92, 148, 1);
}

.comment {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 10px;
}

.comment .comment-avatar img {
  margin-right: 0;
}

.comment-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
  line-height: 26px;
}

.comment-content a {
  color: rgba(81, 92, 148, 1);
}

.comment-content a:hover {
  text-decoration: underline;
}

.comment-author {
  font-weight: 700;
  color: rgba(81, 92, 148, 1);
}

.comment-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.comment-actions {
  color: rgba(81, 92, 148, 1);
}

.comment-actions a:not(:first-child)::before {
  content: "•";
  margin-right: 5px;
  color: rgba(81, 92, 148, 1);
}

.comment-like-icon {
  width: 18px;
  height: 18px;
}

.comment-info {
  color: rgba(160, 160, 160, 1);
}

.comment-info a:not(:first-child)::before {
  content: "•";
  margin-right: 5px;
  color: rgba(160, 160, 160, 1);
}

.reply {
  margin-left: 65px;
  padding-left: 10px;
  border-left: 1px solid rgba(217, 217, 217, 1);
}

.cta-btn {
  display: block;
  background-color: rgba(235, 12, 12, 1);
  padding: 40px 0px;
  border-radius: 10px;
  color: #fff;
  font-size: 32px;
  letter-spacing: -2%;
  text-align: center;
}

.cta-btn:hover {
  background-color: rgb(174, 25, 25);
}

@media (max-width: 1340px) {
  .container {
    margin-left: 30px;
  }
}

@media (max-width: 1060px) {
  .container {
    margin-left: 0px;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 36px;
  }
  .article-subtitle {
    font-size: 16px;
  }
  .article p,
  .step-text {
    font-size: 16px;
  }

  .article h3 {
    font-size: 24px;
  }

  .caption {
    font-size: 14px;
    line-height: 24px;
  }
  .comment-button {
    font-size: 14px;
    letter-spacing: 0%;
  }
  .comment-content {
    font-size: 14px;
  }
  .comment-footer {
    flex-wrap: wrap;
  }
  .cta-btn {
    font-size: 24px;
  }
}
