
/* COMMONWEALTH BANK CASE STUDY
   Loads after ux-projects.css. Reuses the Codex editorial layout with a
   charcoal, warm-white and yellow palette drawn from the report's identity. */

.commbank-editorial {
  --codex-deep: #171717;
  --codex-sage: #f2c400;
}

/* HERO */
.commbank-opening .eyebrow,
.commbank-opening h1 em {
  color: #f2c400;
}

.commbank-opening .codex-cover {
  transform: translateX(190px) rotate(1deg);
}

.commbank-opening .codex-cover img {
  object-fit: contain;
}

/* EDITORIAL DETAILS */
.commbank-editorial .editorial-label span:first-child,
.commbank-editorial .report-page figcaption span {
  color: #9b7900;
}

.commbank-editorial .codex-pullquote {
  border-left-color: #d6ad00;
}

.commbank-editorial .artifact-link {
  color: var(--paper);
}

/* PROJECT ARTIFACTS */
.commbank-brief-artifact {
  width: min(760px, 100%);
  margin: 3.5rem 0 0 auto;
}

.commbank-problem-feature {
  width: min(900px, 100%);
  margin-left: auto;
}

.commbank-problem-feature .report-page {
  width: 100%;
}

.commbank-insights .report-spread {
  align-items: start;
}

.commbank-concepts .concept-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* RESPONSIVE */
@media (max-width: 760px) {
  .commbank-opening .codex-cover {
    transform: none;
  }

  .commbank-brief-artifact,
  .commbank-problem-feature {
    width: 100%;
  }

  .commbank-concepts .concept-grid {
    grid-template-columns: 1fr;
  }
}
