body {
  padding: 40px;
}

/* ------- Survey wrapper ------- */
.survey_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ------- Accordion header ------- */

.accordion_head {
  background-color: var(--neutral-50);
  background: var(--red-blue-gradient);
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  min-height: 4rem;
  padding: var(--space--medsmall);
  font-family: var(--font-family--base);
  color: var(--white);
}

.accordion_head:hover {
  color: black;
  background: var(--red-blue-gradient-hover);
}

.icon {
  width: 30px;
  height: 30px;
  filter: grayscale(1) invert(1);
}

.accordion_head:hover .icon {
  filter: grayscale(1);
}

.gray_scale {
  filter: grayscale();
}

.author_info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 150px;
}

.author_name {
  font-size: var(--space--smallmed);
  font-weight: 600;
}

.affiliation {
  font-size: var(--space--base);
}

.response {
  border-radius: 50%;
  width: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: max-content;
}

.response svg {
  overflow: visible;
}

.expand_symbol {
  width: 1rem;
  text-align: center;
  font-weight: normal;
  font-size: 1.5rem;
}

/* Header colours */

/* ------- Accordion body ------- */

.accordion_body {
  padding: 0 var(--space--base);
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease-in-out;
  align-items: start;
  overflow: hidden;
}

.accordion_content {
  overflow: hidden;
}

.expand {
  grid-template-rows: 1fr;
}

.accordion_content > *:first-child {
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  text-align: center;
  margin-bottom: 1.25rem;
  background-color: var(--neutral-100);
  color: var(--neutral-900);
  padding: 0.625rem;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.btn:hover {
  color: white;
  background-color: var(--neutral-800);
}

hr {
  margin-bottom: 0.875rem;
  border-style: inset;
  border-width: 1px;
}

ul {
  padding-left: var(--space--medium);
  margin-bottom: 0.875rem;
}

/* LIST EMOJI */

@counter-style emojis {
  system: cyclic;
  symbols: "⚡️" "💊" "💉" "✂️" "👵🏽" "💰" "♻️" "🤰🏾" "🍼";
  suffix: "    ";
}

.headlinelist {
  list-style-type: emojis;
  padding-left: 2.5rem;
}

li {
  text-wrap: pretty;
  font-size: var(--font-family--base);
  margin-bottom: 0.5rem;
}

.policyareahead {
  margin-top: 2rem;
}

/* cuts dropdown heading */
.ch {
  color: var(--red-500);
  font-weight: bold;
}

/* spending dropdown heading */
.sh {
  color: var(--indigo-400);
  font-weight: bold;
}

/* revenue dropdown heading */
.rh {
  color: var(--neutral-500);
  font-weight: bold;
}

.nh {
  color: var(--neutral-300);
  font-weight: bold;
}

.read_more_link {
  color: inherit;
  text-decoration: none;
}

/* Media queries */
@media all and (max-width: 599px) {
  .accordion_head {
    gap: 0.8rem;
  }

  .accordion_body {
    padding: 0 0.7rem;
  }

  .affiliation {
    font-size: 0.9rem;
  }

  .author_name {
    font-size: 1rem;
  }

  .icon {
    width: 25px;
    height: 25px;
  }

  p,
  li,
  P > * {
    font-size: 1rem;
  }
}

@media all and (max-width: 400px) {
  .accordion_head {
    gap: 0.7rem;
  }

  .affiliation {
    font-size: 0.65rem;
  }

  .author_name {
    font-size: 0.9rem;
  }
}
