/* Cutting Room Floor — notes INSIDE the existing gold banner frame. */
.crf-banner-layout {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 22px;
}
.crf-banner-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 594px) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: 1136px;
  height: var(--book-banner-height, 200px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line, #8b6f3d);
  border-radius: 16px;
  box-shadow: 0 0 35px rgba(0,0,0,.32);
}
.crf-banner-image { display: flex; min-width: 0; width: 100%; height: 100%; justify-content: center; overflow: hidden; }
/* Override the normal full-width banner rules, without changing the shared CSS. */
.crf-banner-layout .crf-banner-image .banner {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.crf-slot { display: flex; min-width: 0; align-items: center; justify-content: center; }
.crf-slot[hidden] { display: none !important; }
.crf-card { padding: 7px 12px; color: #e1e3e7; text-align: center; overflow-wrap: anywhere; }
.crf-label { color: #d5b77c; font: 600 .57rem/1.35 Georgia,serif; letter-spacing: .07em; }
.crf-title { color: #e9d2a5; font: normal .93rem/1.2 Georgia,serif; margin: 7px 0; }
.crf-text { white-space: pre-line; font: normal .81rem/1.34 Georgia,serif; margin: 0; }
@media (max-width: 1050px) and (min-width: 761px) {
  .crf-banner-frame { grid-template-columns: minmax(0, 1fr) minmax(0, 52.3%) minmax(0, 1fr); }
  .crf-card { padding: 5px 7px; }
  .crf-label { font-size: .49rem; }
  .crf-title { font-size: .81rem; }
  .crf-text { font-size: .72rem; }
}
@media (max-width: 760px) {
  .crf-banner-layout { margin-top: 14px; padding: 0 12px; }
  .crf-banner-frame { height: auto; grid-template-columns: 1fr 1fr; border-radius: 12px; }
  .crf-banner-image { grid-column: 1 / -1; grid-row: 1; height: 145px; }
  .crf-banner-layout .crf-banner-image .banner { width: 100%; height: 145px; }
  .crf-slot { padding: 8px 0; }
  .crf-slot[data-crf-side="left"] { grid-column: 1; grid-row: 2; }
  .crf-slot[data-crf-side="right"] { grid-column: 2; grid-row: 2; }
}
