/* Card treatment on the refined rail, with the portfolio navigation geometry. */
.m-02 .list-head {
  padding: 48px 20px 16px;
}

.m-02 .list-head h1 {
  font: 400 24px/1.3 var(--serif);
  letter-spacing: 0;
  color: var(--fg);
}

.m-02 .list {
  padding: 9px 12px;
}

.m-02 .item {
  display: block;
  width: 100%;
  margin: 0 0 4px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--fg);
  text-align: left;
  transition: background 0.2s var(--ease);
}

.m-02 .item:last-child {
  margin-bottom: 0;
}

.m-02 .item:hover {
  background: transparent;
}

.m-02 .item:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 2px;
}

.m-02 .item-name {
  font: 400 14px/1.4 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.m-02 .item:hover .item-name {
  color: var(--brass);
}

.m-02 .item-meta {
  display: none;
}

.m-02 .item-mark {
  display: none;
}

.m-02 .item.is-open {
  background: transparent;
}

.m-02 .item.is-open::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: var(--brass);
}

.m-02 .item.is-open .item-name {
  color: var(--fg);
}

/* Keep the closed-state prompt centered within the case-study pane itself. */
.m-02 .detail-panel > .empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 40px;
  text-align: center;
}

/* On wide screens, center the prompt in the page composition rather than
   only inside the right-hand pane. */
@media (min-width: 1240px) {
  .m-02 .detail-panel > .empty {
    position: fixed;
    inset: auto;
    top: 50vh;
    left: 50vw;
    width: max-content;
    max-width: calc(100vw - 48px);
    padding: 0;
    transform: translate(-50%, -50%);
  }
}
