.second-blurb {
  font-style: italic;
  font-size: 19px;
  padding: 16px 0;
  margin: 0 auto 1rem;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
}

.second-blurb a {
  color: var(--ink);
  text-decoration: none;
}

.second-blurb a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   Listing cards
-------------------------------------------------- */

.listing-card-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;
}

.listing-card {
  min-height: 155px;

  box-sizing: border-box;

  border-radius: 8px;

  overflow: hidden;

  box-shadow:
    0 8px 20px rgba(45,36,68,.07);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.listing-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 28px rgba(45,36,68,.12);
}

.listing-card-content {
  box-sizing: border-box;

  padding: 16px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.listing-card-title {
  margin: 0;

  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;

  color: inherit;
}

.listing-card-date {
  margin-top: 8px;

  font-size: .68rem;
}

/* --------------------------------------------------
   Creative writing cards
-------------------------------------------------- */

.creative-card {
  position: relative;

  display: flex;
  text-decoration: none;

  background-image:
    linear-gradient(
      90deg,
      #24346c 0%,
      #566094 22%,
      #9b84ac 40%,
      #d2b7c3 65%,
      #eddcdf 86%,
      #f6eceb 100%
    );

  background-size: 800% 100%;
  background-repeat: no-repeat;
}

.creative-card::after {
  content: "✦";

  position: absolute;

  top: 12px;
  right: 14px;

  font-size: 1rem;

  color: #fff1d8;

  filter:
    drop-shadow(0 0 3px rgba(255,237,210,.55));

  pointer-events: none;
}

.creative-card .listing-card-content {
  width: 100%;
}

.creative-card-1 {
  background-position: 0% 0;
  color: #f7f2e8;
}

.creative-card-2 {
  background-position: 14.285% 0;
  color: #f7f2e8;
}

.creative-card-3 {
  background-position: 28.57% 0;
  color: #f7f2e8;
}

.creative-card-4 {
  background-position: 42.855% 0;
  color: #f7f2e8;
}

.creative-card-5 {
  background-position: 57.14% 0;
  color: var(--ink);
}

.creative-card-6 {
  background-position: 71.425% 0;
  color: var(--ink);
}

.creative-card-7 {
  background-position: 85.71% 0;
  color: var(--ink);
}

.creative-card-8 {
  background-position: 100% 0;
  color: var(--ink);
}

.creative-card.locked {
  cursor: not-allowed;
}

.creative-card.locked:hover {
  transform: none;
  box-shadow:
    0 8px 20px rgba(45,36,68,.07);
}

/* --------------------------------------------------
   Project cards
-------------------------------------------------- */

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position:relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #faf5ec;
  border: 1px solid rgba(49,45,61,.08);
  color: var(--ink);
  text-decoration: none;
  box-shadow:
    0 8px 22px rgba(45,36,68,.07);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  z-index: 3;
  background:
    linear-gradient(
      90deg,
      #24346c 0%,
      #566094 22%,
      #9b84ac 40%,
      #d2b7c3 65%,
      #eddcdf 86%,
      #f6eceb 100%
    );
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 30px rgba(45,36,68,.12);
}

.project-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #fffdf8;
}

.project-card-image-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      #24346c 0%,
      #566094 22%,
      #9b84ac 40%,
      #d2b7c3 65%,
      #eddcdf 86%,
      #f6eceb 100%
    );
}

.project-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-image.contain {
  object-fit: contain;
  padding: 14px;
  background: #fffdf8;
}

.project-card-content {
  flex: 1;
  padding: 18px 20px 20px;
}

.project-card-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.project-card-description {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink);
}

.project-card-date {
  margin: -2px 0 8px;
  font-size: .72rem;
  color: var(--ink);
}

/* --------------------------------------------------
   Listing archive
-------------------------------------------------- */

.listing-archive {
  width: 100%;
}

.listing-title {
  margin: 0 0 28px;

  padding-bottom: 10px;

  font-size: 1.65rem;
  font-weight: 400;

  color: var(--ink);

  border-bottom: 1px solid rgba(49,45,61,.16);
}

.current-year,
.year-group {
  width: 100%;
  max-width: none;

  margin: 0 0 1.5rem;
}

.current-year h3,
.year-group summary {
  margin: 0;

  padding: 8px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 1.25rem;
  font-weight: 500;

  color: var(--ink);

  border-bottom: 1px solid rgba(49,45,61,.14);
}

.year-group summary {
  list-style: none;

  cursor: pointer;
}

.year-group summary::-webkit-details-marker {
  display: none;
}

.year-group summary::after {
  content: "▾";

  font-size: .9rem;

  color: #9178a7;

  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.year-group[open] summary::after {
  transform: rotate(180deg);
}

.year-label {
  display: inline-flex;
  align-items: center;
}

/* --------------------------------------------------
   Listing items
-------------------------------------------------- */

.post-list {
  list-style: none;

  width: 100%;
  max-width: none;

  padding: 0;
  margin: 0;
}

.year-group .post-list {
  margin-top: .4rem;
}

.post-list li {
  display: flex;

  justify-content: space-between;
  align-items: baseline;

  padding: 16px 0;

  border-bottom: 1px solid rgba(49,45,61,.08);
}

.post-list a {
  display: block;

  font-size: 1.05rem;

  text-align: left;
  text-decoration: none;

  color: var(--ink);
}

.post-list a:hover {
  color: var(--ink);

  text-decoration: underline;
}

.post-date {
  margin-left: 24px;

  font-size: .8rem;

  color: var(--ink);

  white-space: nowrap;
}

/* --------------------------------------------------
   Secondary listing section
-------------------------------------------------- */

.secondary-listing {
  width: 100%;

  padding-top: 8px;
}

.secondary-listing-title {
  margin: 0 0 24px;

  padding-bottom: 10px;

  font-size: 1.65rem;
  font-weight: 400;

  color: var(--ink);

  border-bottom: 1px solid rgba(49,45,61,.16);
}

/* --------------------------------------------------
   Locked items
-------------------------------------------------- */

.post-list a.locked-post {
  cursor: not-allowed;

  color: var(--ink);
}

.post-list a.locked-post:hover {
  cursor: not-allowed;

  text-decoration: none;
}

/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 800px) {
  .listing-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tagline,
  .second-blurb {
    white-space: normal;
    word-wrap: break-word;
  }

  .post-list li {
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    padding: 14px 0;
  }

  .post-list a {
    margin-bottom: 5px;
  }

  .post-date {
    margin: 0;

    white-space: normal;
  }
}

@media (max-width: 480px) {
  .listing-card-grid {
    grid-template-columns: 1fr;
  }
}