/* Reset */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}

/* Global styles */
body {
  color: #202020;
  padding-bottom: 1.25rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.6rem;
  margin-bottom: 0.313rem;
}

h2 {
  font-size: 1.125rem;
  font-weight: normal;
  margin-bottom: 0.625rem;
}

.author-container_link {
  color: inherit;
  text-decoration: none;
}

.author-container {
  cursor: pointer;
  font-size: 1.125rem;
  /* min-width: 230px; */
  gap: 1rem;
  height: 3.75rem;
  margin: 0.313rem;
  background-color: #f1f1f2;
  display: flex;
  align-items: center;
  padding: 0.313rem 0.625rem;
}

.author-container:hover,
.author-container:active,
.author-container:focus {
  color: #fff;
  background-color: #383838;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.gray-scale {
  filter: grayscale(1);
}

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

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.affiliation {
  font-size: 1rem;
}

/* Response indicators */
.response {
  /* min-width: 1.875rem; */
  border-radius: 50%;
  width: 1.875rem;
  height: 1.875rem;
  margin-right: 1rem;

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

.response svg {
  width: 2rem;
  aspect-ratio: 1;
  height: auto;
  max-width: 2rem;
  max-height: 2rem;
  overflow: hidden;
}

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

.none {
  display: none;
}

.response-text {
  display: none;
  margin-top: 0.625rem;
  padding: 0 1.25rem;
}

.show {
  display: block;
}

p,
b,
a,
em {
  font-family: "Libre Baskerville", serif;
}

p {
  font-size: 1.125rem;
  line-height: 1.6rem;
  margin-bottom: 1.125rem;
}

a {
  word-wrap: break-word;
  color: #4b4b4e;
  text-decoration: underline;
  white-space: pre-wrap;
}

a:hover {
  color: #293299;
}

.quote {
  font-style: italic;
  color: #4b4b4e;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 8px solid #d7d7db;
}

.close-button {
  display: inline-block;
  text-align: center;
  margin-bottom: 1.25rem;
  background-color: #ccc;
  color: #202020;
  padding: 0.625rem;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.close-button:hover {
  color: white;
  background-color: #383838;
}

.profile-btn {
  display: inline-block;
  text-align: center;
  background: #4b4b4e;
  color: #fff;
  padding: 0.625rem;
  font-size: 0.875rem;
  margin-left: 1rem;
}

.profile-btn:hover {
  color: white;
  background-color: #62626a;
}

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

.top-line-img {
  margin: 0 auto;
  max-width: 600px;
  height: 6rem;
  max-height: 8rem;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 1rem 0;
}

.top-line-img > svg {
  max-width: 100px;
  aspect-ratio: 1;
}

.top-line-img > svg:last-child {
  margin: 0;
}

.text-intro {
  margin: 0.5rem 0 1.125rem 0.25rem;
}

strong {
  font-weight: 700;
}

em {
  font-size: 1.15rem;
}

/* Media queries */
@media all and (max-width: 599px) {
  .response-text {
    padding: 0 0.9rem;
  }

  .author-container {
    gap: 0.875rem;
  }

  .affiliation {
    font-size: 0.875rem;
  }

  .author-name {
    font-size: 1rem;
  }

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

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

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

  .affiliation {
    font-size: 0.7rem;
  }

  .author-name {
    font-size: 0.9rem;
  }
}
