.gov-forum-listing__heading {
  color: #1f2937;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 24px;
  text-align: center;
}

.gov-forum-form__title {
  color: #1f2937;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 24px;
  text-align: center;
}

.gov-forum-consent-locked {
  overflow: hidden;
}

.gov-forum-consent {
  align-items: center;
  background: rgba(17, 24, 39, 0.62);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 314158;
}

.gov-forum-consent__panel {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.28);
  color: #1f2937;
  max-width: 560px;
  padding: 32px;
  width: min(100%, 560px);
}

.gov-forum-consent__panel h2 {
  color: #1f2937;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 14px;
}

.gov-forum-consent__body,
.gov-forum-consent__body p,
.gov-forum-consent__body li {
  color: #475467;
  line-height: 1.75;
}

.gov-forum-consent__body p {
  margin: 0;
}

.gov-forum-consent__body p + p,
.gov-forum-consent__body ol,
.gov-forum-consent__body ul {
  margin: 10px 0 0;
}

.gov-forum-consent__body ol,
.gov-forum-consent__body ul {
  padding-left: 22px;
}

.gov-forum-consent__body strong {
  color: #1f2937;
  font-weight: 700;
}

.gov-forum-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.gov-forum-consent__accept,
.gov-forum-consent__settings {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 22px;
}

.gov-forum-consent__accept {
  background: var(--gov-primary, #5b156f);
  border: 1px solid var(--gov-primary, #5b156f);
  color: #ffffff;
}

.gov-forum-consent__settings {
  background: #ffffff;
  border: 1px solid var(--gov-primary, #5b156f);
  color: var(--gov-primary, #5b156f);
}

.gov-forum-listing__toolbar {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto 24px;
  max-width: 1140px;
}

.gov-forum-listing__new-post {
  align-items: center;
  background: var(--gov-primary, #5b156f);
  border: 1px solid var(--gov-primary, #5b156f);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-width: 130px;
  padding: 0 22px;
  text-decoration: none;
}

.gov-forum-listing__new-post:focus,
.gov-forum-listing__new-post:hover {
  color: #ffffff;
  text-decoration: none;
}

.gov-forum-listing .views-exposed-form {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin: 0;
}

.gov-forum-listing .views-exposed-form .form-group {
  margin: 0;
  min-width: 260px;
}

.gov-forum-listing .views-exposed-form label {
  color: #1f2937;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0 0 8px;
}

.gov-forum-listing .views-exposed-form select {
  border: 1px solid #d8dde3;
  border-radius: 8px;
  color: #475467;
  height: 44px;
  letter-spacing: 0;
}

.gov-forum-listing .views-exposed-form .form-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0;
}

.gov-forum-listing .views-exposed-form .form-submit,
.gov-forum-listing .views-exposed-form .button {
  align-items: center;
  background: var(--gov-primary, #5b156f);
  border: 1px solid var(--gov-primary, #5b156f);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-width: 96px;
  padding: 0 22px;
  text-decoration: none;
}

.gov-forum-listing .views-exposed-form .form-submit[id*="reset"],
.gov-forum-listing .views-exposed-form .button[id*="reset"],
.gov-forum-listing .views-exposed-form .gov-forum-exposed-reset {
  background: #ffffff;
  color: var(--gov-primary, #5b156f);
}

@media (max-width: 767px) {
  .gov-forum-consent {
    align-items: flex-start;
    padding: 16px;
  }

  .gov-forum-consent__panel {
    margin-top: 72px;
    padding: 24px;
  }

  .gov-forum-consent__accept,
  .gov-forum-consent__settings {
    width: 100%;
  }

  .gov-forum-listing__toolbar,
  .gov-forum-listing .views-exposed-form,
  .gov-forum-listing .views-exposed-form .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gov-forum-listing__new-post,
  .gov-forum-listing .views-exposed-form .form-group,
  .gov-forum-listing .views-exposed-form .form-submit,
  .gov-forum-listing .views-exposed-form .button {
    width: 100%;
  }
}

.gov-forum-card {
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  color: #1f2937;
  margin-bottom: 16px;
  padding: 20px 24px;
}

.gov-forum-card__meta,
.gov-forum-detail__meta {
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.4rem;
  gap: 8px 16px;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 10px;
}

.gov-forum-card__meta .field,
.gov-forum-detail__meta .field {
  margin: 0;
}

.gov-forum-card__title,
.gov-forum-detail__title {
  color: #1f2937;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 12px;
}

.gov-forum-card__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.gov-forum-card__title a {
  color: inherit;
  font-size: 1.6rem;
  text-decoration: none;
}

.gov-forum-card__title a:focus,
.gov-forum-card__title a:hover {
  text-decoration: underline;
}

.gov-forum-card__answer,
.gov-forum-detail__answer {
  color: #475467;
  font-size: 1.6rem;
  line-height: 1.75;
}

.gov-forum-card__answer {
  text-indent: 20px;
}

.gov-forum-card__answer p:last-child,
.gov-forum-detail__answer p:last-child {
  margin-bottom: 0;
}

.gov-forum-detail {
  color: #1f2937;
  margin: 0 auto;
  max-width: 860px;
}

.gov-forum-detail__header {
  border-bottom: 1px solid #d8dde3;
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.gov-forum-detail__title {
  font-size: 1.9rem;
  font-weight: 600;
}

.gov-forum-detail__actions {
  align-items: center;
  color: #ada9b1;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.3rem;
  gap: 8px;
  line-height: 1.5;
  margin-top: 14px;
}

.gov-forum-detail__actions a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.gov-forum-detail__actions a:focus,
.gov-forum-detail__actions a:hover {
  text-decoration: underline;
}

.gov-forum-detail__actions a:not(:last-child)::after {
  color: #98a2b3;
  content: "|";
  display: inline-block;
  font-weight: 400;
  margin-left: 8px;
}

.gov-content-detail__back {
  color: #ada9b1;
  display: inline-block;
  font-weight: 600;
  margin: 0 0 28px;
  text-decoration: none;
}

.gov-content-detail__back:focus,
.gov-content-detail__back:hover {
  text-decoration: underline;
}

.gov-forum-replies {
  border-top: none;
  font-size: 1.4rem;
  margin-top: 32px;
  padding-top: 0;
}

.gov-forum-reply {
  border-left: 3px solid var(--gov-primary, #5b156f);
  margin: 0;
  padding: 0 0 0 18px;
}

.gov-forum-reply__header {
  align-items: center;
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-top: 10px;
}

.gov-forum-reply__type {
  color: var(--gov-primary, #5b156f);
  font-weight: 700;
}

.gov-forum-reply__author {
  color: #1f2937;
  font-weight: 600;
}

.gov-forum-reply__quote {
  background: #f8fafc;
  border-left: 3px solid #cbd5e1;
  color: #475467;
  font-size: 1.4rem;
  line-height: 1.65;
  margin: 0 0 10px;
  padding: 10px 14px;
}

.gov-forum-reply__body {
  color: #1f2937;
  line-height: 1.75;
}

.gov-forum-reply__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
  margin-top: 8px;
}

.gov-forum-reply__actions a {
  color: #ada9b1;
  font-weight: 600;
  text-decoration: none;
}

.gov-forum-reply__actions a:focus,
.gov-forum-reply__actions a:hover {
  text-decoration: underline;
}

.gov-forum-reply__actions a:not(:last-child)::after {
  color: #98a2b3;
  content: "|";
  display: inline-block;
  font-weight: 400;
  margin-left: 8px;
}

.gov-forum-reply__children {
  margin-top: 16px;
  padding-left: 24px;
}
