/* ===== memory card — case study theme ===== */
:root {
  --cs-bg: #0d0d0d;
  --cs-text: #c9c9c9;
  --cs-dim: #7d7d7d;
  --cs-bright: #f2f2f2;
  --cs-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

body,
body .wp-site-blocks,
.wp-block-post-title,
.wp-block-site-title,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cs-mono);
}

body {
  background-color: var(--cs-bg);
  color: var(--cs-text);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---- single post hero ---- */
.single .wp-block-post-featured-image {
  margin-bottom: 3.5rem;
}

.single .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.single .wp-block-post-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--cs-bright);
  margin: 0 0 3.5rem;
}

/* ---- two column case study body ---- */
.case-study {
  gap: 3.5rem;
}

.case-study .cs-meta {
  text-align: right;
}

.case-study .cs-meta p {
  margin: 0;
}

.case-study .cs-meta .cs-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cs-dim);
  margin-bottom: 0.35rem;
}

.case-study .cs-meta .cs-value {
  font-size: 1.7rem;
  line-height: 1.1;
  color: #a5a5a5;
  margin-bottom: 2.6rem;
}

.case-study .cs-body p,
.case-study .cs-body li {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--cs-text);
}

.case-study .cs-body p {
  margin: 0 0 2rem;
}

.case-study .cs-body h2,
.case-study .cs-body h3,
.case-study .cs-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cs-bright);
  margin: 3rem 0 1.2rem;
}

.case-study .cs-body ul {
  margin: 0 0 2rem;
  padding-left: 1.4rem;
}

.case-study .cs-body li {
  margin-bottom: 0.5rem;
}

@media (max-width: 781px) {
  .case-study .cs-meta {
    text-align: left;
  }
  .case-study .cs-meta .cs-value {
    margin-bottom: 1.6rem;
  }
}


/* ---- hero sizing ---- */
.single .wp-block-post-featured-image img {
  max-height: 74vh;
  object-fit: cover;
  object-position: center;
}

/* ---- default post body typography ---- */
.single .wp-block-post-content p,
.single .wp-block-post-content li {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--cs-text);
}

.single .wp-block-post-content h2,
.single .wp-block-post-content h3,
.single .wp-block-post-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cs-bright);
  margin: 3rem 0 1.2rem;
}

.single .wp-block-post-content hr,
.single .wp-block-separator {
  border: 0;
  border-top: 1px solid #2a2a2a;
  margin: 3rem 0;
}

.single .wp-block-post-content figcaption {
  font-size: 0.85rem;
  color: var(--cs-dim);
}
