/* color vars */

:root {
  --background-gray: #f2f2f2;
  --capp: #ec677a;
  --blue-fresh: #2196f3;
  --dark-gray: rgb(115, 115, 115);
  --dark-text: #333;
  --gray: hsl(28.24, 30.91%, 89.22%);
  --green: hsla(144, 40%, 55%, 1);
  --medium-gray: #f5f5f5;
  --medium-green: #92ce9446;
  --dark-green: #0a830efd;
  --primary-color: #007bff;
  --purple: #7d52ff;
  --light-purple: #9b85d6;
  --red: #dc3545;
  --yellow: #ffc107;
  --secondary-color: #6c757d;
  --shadow: rgba(0, 0, 0, 0.16);
  --soft-green: #92ce9416;
  --white: #fff;
}

/* Fonts */

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: normal;
  src: url(https://zerofaqs.enabling.io/assets/NotoSans-Regular-856ef8f4f4357d5e37f21123e87807e1f1f82d468e9cbe6b54ef2877c3c0761a.woff2) format("woff2"), url(https://zerofaqs.enabling.io/assets/NotoSans-Regular-7d5da30e045ee8675c035c2dbd8fc4bb851ef6b96361025c43271a40c70010db.woff) format("woff");
}

@font-face {
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: normal;
  src: url(https://zerofaqs.enabling.io/assets/NotoSans-Italic-64692f43362f95747fc398e65ba263a33176f13610768fecbf24fc77d7217b01.woff2) format("woff2"), url(https://zerofaqs.enabling.io/assets/NotoSans-Italic-7931d45582a4d0a75fe4851f36f764093138985768b67a946a29b0e2e9214e80.woff) format("woff");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: bold;
  src: url(https://zerofaqs.enabling.io/assets/NotoSans-Bold-cff6b5e8062ab1df0457291ca23e6ce3e94b04add19685197dd7d4383c72fef7.woff2) format("woff2"), url(https://zerofaqs.enabling.io/assets/NotoSans-Bold-53a02d1694590f5d3ca2c47e26069747bdf504db5c27523402583e38ff7d63cb.woff) format("woff");
}

/* General Styles */

html {
  font-size: 16px;

  @media (max-width: 430px) {
    font-size: 14px;
  }
}

body {
  background-color: white;
  box-sizing: border-box;
  color: var(--dark-text);
  font-family: "Noto Sans";
  height: 100%;
  margin: 0;
  padding: 0;
}

body * {
  box-sizing: border-box;
}

h2 {
  font-size: 1.1rem;
}

h1.no-margin {
  margin: 0;
}

h1 {
  margin: 1.5rem 0 0.5rem;
}

h2,
h3,
h4,
h5,
h6 {
  margin: 1.5em 0 0.5em;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.visited {
  color: var(--purple);
}

p,
p a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
}

p {
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

p a {
  -ms-hyphens: none;
  -moz-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}

img.logo {
  margin: 1rem auto;
}

form {
  @media (max-width: 430px) {
    width: 100%;
  }
}

/* General shorthand styles POC */

.flex {
  display: flex;
}

.flex-center {
  align-items: center;
  display: flex;
}

.space-between {
  justify-content: space-between;
}

.flex-center-center {
  align-items: center;
  display: flex;
  justify-content: center;
}

.flex-end {
  justify-content: flex-end;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  height: auto;
  justify-content: center;
  overflow: auto;
  padding: 1rem;
  width: 100%;
}

.flex-row > * {
  flex: 1;
}

.flex-column {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
}

.flex-column-100vh {
  align-items: center;
  background-color: var(--background-gray);
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  min-height: calc(100vh - 2rem);
  overflow: auto;
  width: 100%;
}

.flex-column-center {
  align-items: center;
  background-color: var(--background-gray);
  display: flex;
  flex: 1;
  flex-direction: column;
  height: auto;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.relative {
  position: relative;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.box {
  background: var(--medium-gray);
  margin: 1rem 0;
  padding: 1rem;
}

.italic {
  color: #666;
  font-style: italic;
}

.small-text {
  font-size: 0.8rem;
}

.border-left {
  border-left: 5px solid #ccc;
}

.shadow {
  box-shadow: 0px 1px 2px var(--shadow);
}

.shadow-xl {
  box-shadow: 0px 3px 6px var(--shadow);
}

.border-top {
  border-top: 1rem solid var(--purple);
}

.green-text {
  color: var(--green);
}

.blue-text {
  color: var(--blue-fresh);
}

.purple-text {
  color: var(--purple);
}

.green {
  background-color: var(--green);
}

.blue {
  background-color: var(--blue-fresh);
}

/* Helpers */

.word-wrap {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Shared Styles */

.logo {
  display: block;
  margin: 0 auto;
  width: 200px;
}

.content {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 3px 6px var(--shadow);
  margin-bottom: 2rem;
  max-width: 670px;
  padding: 2rem;
  width: 100%;
}

.label {
  align-items: center;
  background: var(--purple);
  border-radius: 0.4em;
  color: white;
  display: inline-flex;
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
}

.product-label {
  background: var(--product-primary-color, var(--light-purple));
  color: var(--product-text-color, white);
}

.category-label {
  background: var(--blue-fresh);
}

.viewcount-label {
  background: var(--medium-gray);
  color: black;
}

.feedback-label {
  background: var(--dark-gray);
}

.feedback-label .feedback-item {
}

.feedback-label svg {
  fill: white;
  width: 1rem;
  height: 1rem;
}

.pending-label {
  background: var(--yellow);
}

.approved-label {
  background: var(--green);
}

.rejected-label {
  background: var(--red);
}

/* Flash messages */

.flash_message {
  animation: appear-then-fade 3.5s both;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  bottom: 2rem;
  color: white;
  left: 2rem;
  min-width: 20rem;
  padding: 1rem;
  position: fixed;
  z-index: 999;
}

@keyframes appear-then-fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Button styles */

.add-button {
  align-items: center;
  background-color: var(--purple);
  border: none;
  border-radius: 50%;
  box-shadow: 0px 3px 6px var(--shadow);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  height: 56px;
  justify-content: center;
  outline: none;
  position: fixed;
  text-decoration: none;
  transition: transform 0.2s ease-out;
  width: 56px;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.add-button:hover {
  text-decoration: none;
  transform: translateX(-50%) scale(1.1);
}

.add-button:active {
  transform: translateX(-50%) scale(0.95);
  transition: transform 0.05s ease-out;
}

.add-button:focus {
  box-shadow: 0 0 0 3px rgba(125, 82, 255, 0.3);
}

.button {
  background-color: var(--purple);
  border: 1px solid var(--purple);
  border-radius: 29px;
  box-shadow: 0px 3px 6px var(--shadow);
  color: white;
  cursor: pointer;
  font-size: 15px;
  padding: 10px 45px;
  text-decoration: none;
  transition: 0.3s;
}

.button.gray {
  background-color: var(--gray);
  border: 1px solid var(--gray);
  color: white;
}

.button:hover {
  box-shadow: 0px 5px 6px var(--shadow);
  transform: translateY(-2px);
}

.save-button {
  align-items: center;
  background: linear-gradient(to right, var(--purple), #8b70d1);
  background-color: var(--purple);
  border: 0px solid #000;
  border-radius: 10px;
  box-shadow: 2px 3px 9px -5px #2d2d2d;
  color: #fff;
  display: inline-flex;
  font-family: Arial;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  justify-content: center;
  padding: 14px 15px;
  text-decoration: none;
}

.save-button span {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIgdml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gxMS4xMyA0NS4wODEpIiBmaWxsPSIjZDlkYmZmIi8+DQogICAgICAgIDwvZz4NCiAgICAgICAgPGcgaWQ9Ikdyb3VwXzM5IiBkYXRhLW5hbWU9Ikdyb3VwIDM5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MC4wNzkgMCkiPg0KICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGVfNjMtMiIgZGF0YS1uYW1lPSJSZWN0YW5nbGUgNjMiIHdpZHRoPSI3NS44ODciIGhlaWdodD0iMjUuMjk2IiByeD0iMTIuNjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3MS41NDcgNTUuMTEyKSByb3RhdGUoMTM1KSIgZmlsbD0idXJsKCNsaW5lYXItZ3JhZGllbnQtMikiLz4NCiAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzY0LTIiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDY0IiB3aWR0aD0iNzUuODg3IiBoZWlnaHQ9IjI1LjI5NiIgcng9IjEyLjY0OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTMuODA3IDcxLjU0Nykgcm90YXRlKC0xMzUpIiBmaWxsPSIjZmZmIi8+DQogICAgICAgICAgPGNpcmNsZSBpZD0iRWxsaXBzZV8xLTIiIGRhdGEtbmFtZT0iRWxsaXBzZSAxIiBjeD0iNy44NDIiIGN5PSI3Ljg0MiIgcj0iNy44NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ljg4IDQ1LjA4MikiIGZpbGw9IiNkOWRiZmYiLz4NCiAgICAgICAgPC9nPg0KICAgICAgPC9nPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 22px;
  margin-right: 15px;
  transform: rotate(45deg);
  width: 22px;
}

.save-button:hover {
  background: linear-gradient(to right, var(--purple), #9b85d6);
  background-color: var(--purple);
}

.save-button:active {
  transform: scale(0.95);
}

.share-button {
  border: none;
  border-radius: 29px;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
}

.invite-button {
  background-color: var(--purple);
  border: none;
  border-radius: 29px;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
}

/* Form Styles */

.question-header {
  margin-bottom: 0.5rem;
}

.question-descriptiom {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

fieldset {
  background: var(--medium-gray);
  border: 1px solid var(--gray);
  border-radius: 6px;
}

.field {
  margin-bottom: 2rem;
}

.field input[type="text"],
.field textarea {
  background: var(--medium-gray);
  border: none;
  border-bottom: 2px solid var(--gray);
  font-size: 1.2rem;
  height: 3rem;
  padding: 0.7rem 1rem;
  resize: none;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.field textarea:focus:not([readonly]),
.field input:focus:not([readonly]):not([type="range"]),
.field input:focus:not([readonly]):not([type="radio"]),
.field textarea:focus:not([readonly]) {
  border-bottom: 2px solid var(--purple);
  border-radius: 6px 6px 0 0;
  outline: none;
}

.field label {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.field textarea {
  border: none;
  font-size: 1.2rem;
  height: 8rem;
  padding: 0.7rem 1rem;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.field input,
.field textarea:focus:not([readonly]) ~ label,
.field textarea:not([value=""]) ~ label {
  color: var(--purple);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.field select {
  background-color: var(--background-gray);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  margin: 8px 0;
  padding: 12px;
  width: 100%;
}

.margin-left {
  margin-left: 0.5rem;
}

.radio-group {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  display: flex;
}

.radio-group .radio-with-input,
.radio-group > label {
  align-items: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex: 1;
  gap: 0.3rem;
  height: 2.6rem;
  inset: 0;
  justify-content: center;
}

.radio-group > label {
  padding: 0 0.8rem;
}

.radio-group label {
  font-size: 1rem;
}

.radio-group .radio-with-input {
  padding: 0 0 0 1rem;
  transition: all 0.2s ease-in-out;
}

.radio-group .radio-with-input:has(input:checked),
.radio-group > label:has(input:checked) {
  background-color: white;
  border-color: white;
  box-shadow: 0 0 0 3px white, 0px 2px 4px rgba(0, 0, 0, 0.05), 0px 10px 30px rgba(0, 0, 0, 0.05);
}

.radio-group .radio-with-input:last-child,
.radio-group > label:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
  border-right: none;
}

.radio-group .radio-with-input:first-child,
.radio-group > label:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.field .radio-group .radio-with-input label {
  margin-left: auto;
}

.field .radio-group .radio-with-input input[type="number"],
.field .radio-group .radio-with-input input[type="number"]:disabled {
  background: transparent;
  border: none;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 0 0 0 2px transparent inset;
  color: black;
  font-weight: bold;
  height: 2.6rem;
  margin: 0 0 0 0.1rem;
  transition: all 0.2s ease-in-out;
}

.field .radio-group .radio-with-input:focus-within {
  color: white;
}

.field .radio-group .radio-with-input input[type="number"]:not(:disabled):hover,
.field .radio-group .radio-with-input input[type="number"]:focus {
  background-color: white;
  box-shadow: 0 0 0 2px var(--purple) inset;
  color: var(--purple);
}

/* Trix Kitchen Sink */

.trix-button-row {
  margin-top: 0.5rem;
}

trix-toolbar .trix-button {
  border-bottom: none;
}

trix-toolbar .trix-button:not(:first-child),
trix-toolbar .trix-button-group {
  border-color: rgba(0, 0, 0, 0.07);
}

trix-editor {
  background-color: var(--white);
  border: none;
  border-bottom: 2px solid var(--gray);
  border-radius: 0;
}

/* width tools */

.fill-width {
  max-width: 670px;
  width: 100%;
}

/* titles */

h2.respondent-name,
.summary-title,
.response-comment h2,
.response-question h2 {
  margin: 0 0 0.5rem;
}

/* Logged in and admin link */

.logged-in {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

@media (max-width: 600px) {
  .logged-in {
    font-size: 0.9rem;
  }
}

.admin-link {
  bottom: 1rem;
  position: fixed;
  right: 1rem;
}

.mega-search-link {
  bottom: 1rem;
  position: fixed;
  left: 1rem;
}

/* Main header */

.header {
  background-color: var(--background-gray);
}

.header h1 {
  margin-top: 0;
}

.header-content {
  float: none;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.breadcrumbs-wrapper {
  display: flex;
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  width: 100%;
}

.breadcrumbs-list {
  align-items: center;
  border-radius: 6px;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 2rem;
  max-width: 1000px;
  padding: 10px 0 10px 0 !important;
}

.crumb {
  align-items: center;
  display: flex;
}

.crumb svg {
  height: 1rem;
}

.crumb-link {
  color: #1c1d1e;
  font-weight: bold;
}

.header-hero {
  display: flex;
  flex-flow: row wrap;
  min-height: 100px;
  padding: 0px 0px 50px 0px;
  position: relative;
}

.header-title {
  color: #1c1d1e;
  font-size: 1rem;
  font-weight: 600;
  line-height: 4rem;
  margin: auto;
  text-align: left;
}

.header-title h1 {
  margin-bottom: 1.5rem;
}

/* Typesense Search */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.searching .overlay {
  opacity: 1;
  visibility: visible;
}

#searchbox {
  position: relative;
  z-index: 2;
}

.header-search-wrapper {
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: -2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  position: relative;
}

.header-search-input,
.ais-SearchBox-input {
  border-radius: 6px;
  border: 2px solid #f1f2f3;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
  color: #1c1d1e;
  font-size: 1rem;
  height: 58px;
  outline: none;
  padding-left: 4rem;
  padding-right: 3rem;
  transition: border-color ease-in-out 0.2s;
  width: 100%;
}

.header-search-input:focus,
.ais-SearchBox-input:focus {
  border-color: var(--blue-fresh);
}

.search-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.search-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

#hits.header-search-hits {
  background: white;
  border-radius: 6px;
  border-left: 1px solid #f1f2f3;
  border-right: 1px solid #f1f2f3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.ais-Hits--empty {
  padding: 1rem;
  text-align: center;
}

.ais-Hits-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ais-Hits-item {
  border-bottom: 1px solid #f1f2f3;
  margin: 0;
  padding: 1rem 3rem;
}

.ais-Hits-item:hover {
  background-color: var(--medium-gray);
}

.hit-name {
  display: flex;
  justify-content: space-between;
}

.hit-product-label {
  /* border-radius: 6px; */
  /* font-size: 0.8rem; */
  margin-right: 0.5rem;
  /* padding: 0.2rem 0.5rem; */
}

.hit-answers-count {
  align-items: center;
  color: var(--dark-gray);
  display: inline-flex;
  font-size: 0.9rem;
  gap: 0.2rem;
  justify-content: flex-end;
  min-width: 6rem;
  text-align: right;
}

#pagination {
  display: block;
}

.ais-Pagination-list {
  display: flex;
  gap: 1rem;
  list-style-type: none;
  justify-content: center;
}

/* subjects section */

section.subjects {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.subjects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 1.5rem;
}

.subject-card {
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid #f1f2f3;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.1s ease-in-out;
  width: 17rem;
}

.subject-card:hover {
  box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.subject-title {
  font-weight: bold;
  font-size: 1.2rem;
}

.subject-title:hover {
  text-decoration: underline;
}

.question-count {
  color: var(--dark-gray);
}

.show-more {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.show-all-categories,
.show-less-categories {
  align-items: center;
  background: transparent;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  font-weight: bold;
  gap: 0.5rem;
  padding: 5px 1rem;
}

.hidden {
  display: none !important;
}

.show-all-categories svg,
.show-less-categories svg {
  fill: black;
  width: 1rem;
  height: 1rem;
}

/* activity section */

section.activity {
  margin: 0 auto;
  margin-bottom: 4rem;
  margin-top: 1rem;
  max-width: 1200px;
  padding: 0 1rem;
}

.activity-tabs {
  display: flex;
  gap: 0;
}

.activity-tab {
  border-bottom: 2px solid var(--gray);
  cursor: pointer;
  font-size: 1rem;
  padding: 1rem;
  transition: border-bottom 0.1s ease-in-out;
  user-select: none;
}

.activity-tab.active {
  border-bottom: 2px solid var(--purple);
  color: var(--purple);
  font-weight: bold;
}

.recent-questions {
  display: flex;
  flex-wrap: wrap;
}

.recent-question,
.recent-answer {
  width: 100%;
}

.recent-question > a,
.recent-answer > a {
  color: currentColor;
}

.recent-question h3,
.recent-answer h3 {
  margin-top: 1rem;
}

.recent-question .question-meta {
  display: flex;
  justify-content: space-between;
}

.question-date {
  color: var(--secondary-color);
}

.recent-answers {
  flex-wrap: wrap;
}

.recent-answer .answer-meta {
  align-items: center;
  color: var(--secondary-color);
  display: flex;
  gap: 0.5rem;
}

.recent-answer .answer-question {
  color: var(--dark-text);
}

.answer-date {
  font-size: 0.9rem;
  margin-left: auto;
}

/* dashboard footer */

section.footer {
  background-color: var(--background-gray);
  border-top: 5px solid var(--purple);
  border-image-slice: 1;
  border-image-source: linear-gradient(
    to left,
    rgba(236, 103, 122, 0.7063025893951331),
    rgba(253, 187, 45, 0.748319396117822)
  );
  margin-top: 2rem;
  padding: 2rem 0;
  text-align: center;
}

section.footer p {
  color: var(--dark-gray);

  font-style: italic;
  font-size: 0.9rem;
}

/* questions index section */

section.questions {
  margin: 0 auto;
  margin-top: 1rem;
  max-width: 1200px;
  padding: 0 1rem;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.tags,
.tags-list {
  display: flex;
  gap: 0.5rem;
}

.tag {
  align-items: center;
  background-color: var(--purple);
  border-radius: 6px;
  color: white;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  display: inline-flex;
  transition: background-color 0.1s ease-in-out;
}

.tag-ghost {
  background-color: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
}

.tag:hover {
  background-color: var(--light-purple);
}

.tag-question-count {
  background-color: white;
  border-radius: 50%;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: bold;
  width: 1rem;
  height: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Question Feedback */

.question-feedback {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 4rem;
  max-width: 1200px;
}

.question-feedback .feedback-cta {
  text-align: center;
}

.question-feedback .feedback-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.question-feedback .feedback-actions svg {
  fill: currentColor;
  height: 1.5rem;
  width: 1.5rem;
}

.question-feedback button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--purple);
  border-radius: 6px;
  color: var(--purple);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  gap: 0.5rem;
  padding: 1rem 2rem;
  transition: background-color 0.1s ease-in-out;
}

.question-feedback button:hover {
  background-color: var(--purple);
  color: white;
}

/* Answers list section */

section.answers-list {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  margin-top: 1rem;
  max-width: 1200px;
  padding: 0 1rem;
}

/* Products index section */

section.products {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 1.5rem;
  width: 100%;
}

.product-card {
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid #f1f2f3;
  display: flex;
  flex: 45%;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.1s ease-in-out;
}

.product-card:hover {
  box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.product-icon svg {
  width: 42px;
  height: 37px;
}

.product-title {
  font-weight: bold;
  font-size: 1.2rem;
}

.product-title:hover {
  text-decoration: underline;
}

.question-count {
  color: var(--dark-gray);
}

/* Tags section */

section.tags-index {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

/* Question Suggestions */

section.question-suggestions,
section.question-suggestion {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

section.question-suggestion fieldset.labels {
  background: var(--medium-gray);
  border: 1px solid var(--gray);
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
  padding: 1rem;
}

section.question-suggestion fieldset legend {
  font-size: 0.8rem;
  color: var(--dark-gray);
}

section.question-suggestion .label-input {
  align-items: center;
  color: var(--dark-gray);
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
}

section.question-suggestion .question-meta {
  background: var(--medium-gray);
  border: 1px solid var(--gray);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

section.question-suggestion .question-body,
section.question-suggestion .suggestion-body {
  background: var(--medium-gray);
  border: 1px solid var(--gray);
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
}

section.question-suggestions .suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
  margin-top: 2rem;
}

section.question-suggestions .suggestion {
  border: 1px solid var(--gray);
  border-radius: 6px;
  padding: 1rem;
  width: 100%;
}

section.question-suggestions .suggestion h3 {
  margin-top: 0;
}

.suggestion-meta {
  display: flex;
  justify-content: space-between;
}

/* Main Search view */

section.search-index {
  margin: 0 auto;
  max-width: 1200px;
  min-height: calc(100vh - 340px);
  padding: 0 1rem;
}
