.forum-page {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.forum-hero {
  padding: 40px 0 50px;
  border-bottom: 1px solid #292929;
}

.forum-back {
  display: inline-block;
  margin-bottom: 34px;
  color: #a9a9a9;
  text-decoration: none;
}

.forum-kicker,
.forum-label {
  color: #ff3535;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.forum-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: .95;
  text-transform: uppercase;
}

.forum-hero p {
  max-width: 760px;
  color: #bcbcbc;
  font-size: 18px;
  line-height: 1.65;
}

.forum-layout {
  padding-top: 40px;
}

.forum-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.forum-section-heading h2 {
  margin: 8px 0 0;
  font-size: 30px;
  text-transform: uppercase;
}

.forum-primary-button,
.forum-secondary-button {
  border: 0;
  padding: 14px 21px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.forum-primary-button {
  background: #e50909;
  color: white;
}

.forum-secondary-button {
  background: #222;
  color: white;
}

.thread-form-container {
  margin-bottom: 30px;
}

.thread-form {
  padding: 28px;
  border: 1px solid #333;
  background: #111;
}

.thread-form label {
  display: block;
  margin-bottom: 22px;
  font-weight: 700;
}

.thread-form input,
.thread-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 9px;
  padding: 14px 16px;
  border: 1px solid #3b3b3b;
  background: #090909;
  color: #fff;
  font: inherit;
}

.thread-form textarea {
  resize: vertical;
}

.thread-form-actions {
  display: flex;
  gap: 10px;
}

.thread-form-status {
  margin-bottom: 0;
  color: #aaa;
}

.forum-thread-list {
  border-top: 1px solid #303030;
}

.forum-thread {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 20px;
  border-bottom: 1px solid #303030;
  color: white;
  text-decoration: none;
  transition: background .2s ease;
}

.forum-thread:hover {
  background: #111;
}

.forum-thread-main {
  min-width: 0;
}

.forum-thread h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.forum-thread p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  color: #aaa;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.forum-thread-meta {
  color: #777;
  font-size: 13px;
}

.forum-thread-count {
  min-width: 70px;
  text-align: center;
}

.forum-thread-count strong {
  display: block;
  font-size: 22px;
}

.forum-thread-count span {
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
}

.forum-empty {
  padding: 50px 25px;
  border: 1px solid #303030;
  background: #111;
}

.forum-empty h3 {
  margin-top: 0;
  font-size: 25px;
}

@media (max-width: 700px) {
  .forum-page {
    width: min(100% - 30px, 1260px);
    padding-top: 35px;
  }

  .forum-section-heading {
    display: block;
  }

  .forum-section-heading button {
    margin-top: 20px;
  }

  .forum-thread {
    display: block;
  }

  .forum-thread-count {
    margin-top: 18px;
    text-align: left;
  }
}

/*
|--------------------------------------------------------------------------
| Thread Page
|--------------------------------------------------------------------------
*/

.thread-header {
  padding: 40px 0 45px;
  border-bottom: 1px solid #303030;
}

.thread-header h1 {
  max-width: 1000px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.thread-author-line {
  color: #888;
  font-size: 14px;
}

.thread-author-line strong {
  color: #fff;
}

.thread-content {
  padding-top: 40px;
}

.original-post {
  padding: 32px;
  border: 1px solid #343434;
  background: #101010;
}

.post-author {
  margin-bottom: 20px;
  color: #ff3535;
  font-weight: 800;
  text-transform: uppercase;
}

.post-body,
.reply-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 17px;
  line-height: 1.75;
}

.reply-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin: 55px 0 20px;
}

.reply-heading h2 {
  margin: 7px 0 0;
  font-size: 30px;
  text-transform: uppercase;
}

.reply-count-display {
  color: #888;
  font-size: 14px;
}

.reply-list {
  border-top: 1px solid #303030;
}

.forum-reply {
  padding: 27px 20px;
  border-bottom: 1px solid #303030;
}

.reply-author {
  margin-bottom: 4px;
  font-weight: 800;
}

.reply-date {
  margin-bottom: 18px;
  color: #777;
  font-size: 12px;
}

.reply-composer {
  margin-top: 60px;
  padding: 30px;
  border: 1px solid #343434;
  background: #111;
}

.reply-composer h2 {
  margin: 7px 0 25px;
  font-size: 30px;
  text-transform: uppercase;
}

.reply-composer label {
  display: block;
  margin-bottom: 22px;
  font-weight: 700;
}

.reply-composer input,
.reply-composer textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 9px;
  padding: 14px 16px;
  border: 1px solid #3b3b3b;
  background: #090909;
  color: #fff;
  font: inherit;
}

.reply-composer textarea {
  resize: vertical;
}

@media (max-width: 700px) {
  .original-post,
  .reply-composer {
    padding: 22px;
  }

  .reply-heading {
    display: block;
  }

  .reply-count-display {
    margin-top: 10px;
  }
}
