p {
  margin-bottom: 1rem;
}

.case-study ul, .case-study ol {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.case-study li {
  margin-bottom: 1rem;
}

.cs-header {
  margin-top: 1rem;
  text-align: center;
}

.header-img {
  margin: 1rem 0;
  max-height: 300px;
  overflow: hidden;
}

.cs-details {
  line-height: 1;
}

.proj-details {
  width: 30px;
  margin-right: 1rem;
}

.green-filter {
  filter: var(--green-filter);
}

.blue-filter {
  filter: var(--blue-filter);
}

.red-filter {
  filter: var(--red-filter);
}

.yellow-filter {
  filter: var(--yellow-filter);
}

.details {
  display: flex;
  align-items: center;
  margin: 2rem auto;
}

.legend {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
}

.single-screen {
  display: block;
}

.multi-screen {
  display: none;
}

.cs-details {
  font-size: 1.2rem;
  list-style: none;
  padding: 0 2rem;
  margin-bottom: 1rem;
}

.write-up {
  padding: 0 2rem 1rem 2rem;
}

.text {
  font-size: 1.2rem;
}

.quotes {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.75;
}

.content {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  align-items: center;
}

.statements {
  margin: 2rem 0;
  padding: 2rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.75;
}
.green {
  background-color: #d7e8d3;
  border: 1px solid var(--primary-green);
}
.blue {
  background-color: #cfdce8;
  border: 1px solid var(--primary-blue);
}
.red {
  background-color: #e8d3e4;
  border: 1px solid var(--accent-2a);
}

.problem-statement p {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
}

.open-quote,
.close-quote {
  font-size: 15rem;
  /* position: absolute; */
  color: rgba(163, 78, 145, 0.15);
  z-index: -1;
  line-height: 0.6;
}

.open-quote {
  align-self: flex-start;
}

.close-quote {
  align-self: flex-end;
}

.credit {
  align-self: flex-end;
  font-style: normal;
  font-size: 1.2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.p-1 {
  padding: 2rem 0;
}

.persona {
  display: flex;
  flex-direction: column;
}

.persona-img {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: fit-content;
  height: fit-content;
}

.sketch {
  background-color: white;
  overflow: auto;
  margin-bottom: 2rem;
  padding: 1rem;
}

.sketch img {
  max-width: unset;
}

.charts {
  overflow: auto;
  margin-bottom: 2rem;
}

.charts img {
  min-width: 700px;
}

.connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.fallback {
  height: 300px;
  overflow: auto;
}

.mobile {
  height: 500px;
}

.prototype {
  display: none;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
}
.reflections {
  background-color: var(--primary-green);
  color: white;
  padding: 2rem;
}

.inline-quote {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.i-quote {
  text-align: center;
  padding: 2rem;
  font-style: italic;
  font-weight: 500;
  background-color: var(--tertiary-blue);
  border-top-right-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.long-img {
  height: 300px;
  overflow: auto;
  padding-right: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--accent-2a);
}

.images {
  margin-bottom: 3rem;
}

.no-mobile {
  display: none;
}

.image {
  margin-bottom: 1rem;
}

.grid-container-table {
  grid-template-columns: repeat(1, 1fr);
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  /* border-bottom: 1px solid rgb(95, 163, 78); */
  border-top: 1px solid rgb(95, 163, 78);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.cols-3 .cell:nth-child(3n),
.cols-4 .cell:nth-child(4n) {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--primary-green);
}
.cell ul,
.cell li:last-child {
  margin: 0;
}

.desktop {
  display: none;
}

.table-mb-2 {
  margin-bottom: 1rem;
}

.cell::before {
  content: attr(data-label);
  font-weight: bold;
  margin-right: 1rem;
}

@media (min-width: 900px) {
  .table-mb-3 {
    margin-bottom: 0;
  }
  .cell:nth-child(3n) {
    padding-bottom: 0;
    border-bottom: none;
  }
  .desktop {
    display: block;
  }
  .cell::before {
    content: none;
  }
  .write-up,
  /* .cs-header, */
  .cs-details,
  .title {
    max-width: 1200px;
    margin: 0 auto;
  }

  .title {
    width: 50%;
    margin: 0;
  }

  .write-up {
    display: flex;
    margin-top: 4rem;
    margin-bottom: 0;
  }

  .section-header {
    width: 20%;
    padding-top: 0;
    /* padding-top: 0.75rem; */
    padding-right: 2rem;
  }

  .persona-img {
    margin-top: 0;
  }

  .text {
    width: 80%;
  }

  .content {
    max-width: 600px;
    margin: 0 auto;
  }

  .cs-header,
  .cs-details {
    display: flex;
    align-items: center;
  }

  .header-img {
    margin: 0;
    height: 300px;
    max-height: 300px;
    overflow: hidden;
  }

  .details {
    margin: 2rem auto 3rem;
  }
  .cs-header,
  .ymca-header {
    background-size: fill;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
    margin: 0 auto;
    max-width: 1200px;
  }

  .downland-header {
    background-image: linear-gradient(
        90deg,
        #f6efe8 40%,
        rgba(255, 255, 255, 0) 100%
      ),
      url("../images/downland/downland_collage.png");
  }

  .ymca-header {
    background-image: linear-gradient(
        90deg,
        #f6efe8 40%,
        rgba(255, 255, 255, 0) 100%
      ),
      url("../images/ymca/ymca_collage.png");
  }

  .swordboard-header {
    background-image: linear-gradient(
        90deg,
        #f6efe8 40%,
        rgba(255, 255, 255, 0) 100%
      ),
      url("../images/swordboard/swordboard_collage.png");
  }

  .toque-header {
    background-image: linear-gradient(
        90deg,
        #f6efe8 40%,
        rgba(255, 255, 255, 0) 100%
      ),
      url("../images/toque/toque_collage.png");
  }

  .td-header {
    background-image: linear-gradient(
        90deg,
        #f6efe8 40%,
        rgba(255, 255, 255, 0) 100%
      ),
      url("/private/td/images/td_collage.png");
  }

  .locked-header {
    background-image: linear-gradient(
        90deg,
        #f6efe8 40%,
        rgba(255, 255, 255, 0) 75%
      ),
      url("/images/lock_collage.png");
  }

  .single-screen {
    display: none;
  }

  .multi-screen {
    display: block;
  }

  .persona {
    display: flex;
    flex-direction: row;
  }
  .demographic {
    margin-right: 2rem;
  }

  .three-cols {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
  }
  .three-cols div {
    width: 32%;
  }

  .fallback,
  .disclaimer {
    display: none;
  }

  .prototype {
    display: block;
  }

  .two-cols {
    display: flex;
    justify-content: space-between;
  }

  .two-cols div {
    width: 48%;
  }

  .grid-container-table {
    grid-template-columns: repeat(12, 1fr);
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgb(95, 163, 78);
    border-top: 1px solid rgb(95, 163, 78);
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .cols-3 .cell:nth-child(3n),
  .cols-4 .cell:nth-child(4n) {
    padding-bottom: 0;
    border-bottom: none;
  }
  .span-4x1 {
    grid-column: span 4;
    grid-row: span 1;
  }

  .span-3x1 {
    grid-column: span 3;
    grid-row: span 1;
  }

  .mobile-prototype {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
  }
  .mobile-prototype div:last-child {
    margin-right: 1rem;
  }

  .inline-quote {
    display: flex;
    align-items: center;
    flex-direction: row;
  }
  .inline-quote p:first-child {
    width: 35%;
    margin-right: 2rem;
  }
  .inline-quote p:last-child {
    width: 70%;
  }

  .no-mobile {
    display: block;
  }
}
