/* Profiles and history share their existing photos, with room for the full frame. */
.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .page-sheet {
  max-width: 1210px;
  padding: clamp(20px, 4vw, 54px);
}

.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .entry-content {
  max-width: none;
}

.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history)
  .rbm-content-columns:has(> .rbm-content-column .rbm-source-image) > .rbm-content-column > h2:first-child {
  display: none;
}

.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .entry-content .rbm-source-image {
  margin: 0;
}

.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .rbm-source-image a:not([href]) > br,
.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .rbm-source-image > div:empty {
  display: none;
}

.rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .rbm-source-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rbm-wordpress.rbm-layout-about-rick .page-heading > .container {
  padding-bottom: clamp(28px, 4vw, 48px);
}

/* A profile spread with a full-width credentials section. */
.rbm-wordpress.rbm-layout-about-rick .entry-content .rbm-content-columns:has(.rbm-source-image) {
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(25px, 5vw, 70px);
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:has(.rbm-source-image) > .rbm-content-column:first-child {
  grid-column: 2;
  grid-row: 1;
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:has(.rbm-source-image) > .rbm-content-column:last-child {
  grid-column: 1;
  grid-row: 1;
  background: #e3e7db url('../assets/texture-mineral.png') center / 640px;
  padding: 10px;
  border: 1px solid #a4ac98;
  box-shadow: 0 9px 24px -18px #30473c70;
}

.rbm-wordpress.rbm-layout-about-rick .entry-content blockquote {
  margin: 26px 0;
  padding: 22px 24px 24px;
  color: #fcf6e9;
  background: #344e40;
  font: 500 clamp(27px, 3vw, 38px)/1.12 'Cormorant Garamond', Georgia, serif;
}

.rbm-wordpress.rbm-layout-about-rick .entry-content blockquote p {
  margin: 0;
  line-height: inherit;
}

.rbm-wordpress.rbm-layout-about-rick .entry-content a[href*="/ricks-history/"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .65em;
  padding-inline: 13px;
  border: 1px solid #a89d81;
  text-decoration: none;
}

.rbm-wordpress.rbm-layout-about-rick .entry-content a[href*="/ricks-history/"]:hover {
  background-color: #e2e7dc;
  text-decoration: underline;
}

.rbm-wordpress.rbm-layout-about-rick .entry-content a[href*="/ricks-history/"] > br {
  display: none;
}

.rbm-wordpress.rbm-layout-about-rick .entry-content .rbm-content-columns:not(:has(.rbm-source-image)) {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(26px, 4vw, 62px);
  margin-bottom: 0;
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:not(:has(.rbm-source-image)) > .rbm-content-column > h2 {
  margin-top: 0;
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:not(:has(.rbm-source-image)) > .rbm-content-column:first-child ul {
  columns: 2 13ch;
  column-gap: 1.6rem;
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:not(:has(.rbm-source-image)) li {
  break-inside: avoid;
  font-size: .9em;
  line-height: 1.5;
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:not(:has(.rbm-source-image)) > .rbm-content-column:last-child {
  padding: clamp(15px, 2.5vw, 30px);
  border-top: 2px solid #b39663;
  background: #e8eadc;
}

.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:not(:has(.rbm-source-image)) > .rbm-content-column:last-child .rbm-source-paragraph,
.rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:not(:has(.rbm-source-image)) > .rbm-content-column:last-child ul:last-child {
  margin-bottom: 0;
}

/* A dark masthead and a separate reading column distinguish the history. */
.rbm-wordpress.rbm-layout-ricks-history .page-heading {
  color: #fbf3df;
  background-color: #354c40;
  --grain: .28;
}

.rbm-wordpress.rbm-layout-ricks-history .page-heading .page-emblem {
  color: #d9bf8b;
}

.rbm-wordpress.rbm-layout-ricks-history .page-heading > .container {
  padding-block: clamp(31px, 5.7vw, 78px);
}

.rbm-wordpress.rbm-layout-ricks-history .page-heading > .bg-sketch {
  opacity: .36;
}

.rbm-wordpress.rbm-layout-ricks-history .page-landscape {
  background-color: #f6f0e2;
  --texture: url('../assets/texture-linen.png');
  --grain: .31;
}

.rbm-wordpress.rbm-layout-ricks-history .page-sheet {
  background: none;
  --grain: 0;
  box-shadow: none;
}

.rbm-wordpress.rbm-layout-ricks-history .page-sheet::after {
  content: none;
}

.rbm-wordpress.rbm-layout-ricks-history .entry-content .rbm-content-columns:has(.rbm-source-image) {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 75px);
  align-items: start;
  margin-bottom: 0;
}

.rbm-wordpress.rbm-layout-ricks-history .rbm-content-columns > .rbm-content-column:first-child {
  padding-left: clamp(14px, 2.25vw, 34px);
  border-left: 1px solid #b19b70;
}

.rbm-wordpress.rbm-layout-ricks-history .rbm-content-column:first-child > .rbm-source-paragraph {
  max-width: 64ch;
  margin-bottom: 0;
}

.rbm-wordpress.rbm-layout-ricks-history .rbm-content-column:first-child > .rbm-source-paragraph::first-letter {
  float: left;
  margin: .03em .14em -.08em 0;
  color: #73572f;
  font: 500 3.6em/.85 'Cormorant Garamond', Georgia, serif;
}

.rbm-wordpress.rbm-layout-ricks-history .rbm-content-columns > .rbm-content-column:last-child {
  padding: 10px;
  border: 1px solid #a99d81;
  background: #fbf5e7;
  box-shadow: 8px 8px 0 #a7956029;
}

/* Governance reads as an opening note followed by a named register. */
.rbm-wordpress.rbm-layout-board-members .page-heading {
  background-color: #ede5d5;
}

.rbm-wordpress.rbm-layout-board-members .page-landscape {
  padding-top: clamp(21px, 4vw, 57px);
  background-color: #f2ecdf;
  --texture: url('../assets/texture-linen.png');
  --grain: .3;
}

.rbm-wordpress.rbm-layout-board-members .page-sheet {
  max-width: 1040px;
  padding: 0;
  background: none;
  box-shadow: none;
  --grain: 0;
}

.rbm-wordpress.rbm-layout-board-members .page-sheet::after {
  content: none;
}

.rbm-wordpress.rbm-layout-board-members .entry-content {
  max-width: none;
}

.rbm-wordpress.rbm-layout-board-members .entry-content h2:first-of-type {
  margin-top: 0;
}

.rbm-wordpress.rbm-layout-board-members .entry-content h2:first-of-type + .rbm-source-paragraph {
  max-width: 72ch;
  padding: clamp(13px, 2vw, 22px) clamp(17px, 3vw, 34px);
  border-left: 3px solid #ac9363;
  background: #e3e7da;
}

.rbm-wordpress.rbm-layout-board-members .entry-content .rbm-source-paragraph ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(23px, 4vw, 52px);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.rbm-wordpress.rbm-layout-board-members .entry-content .rbm-source-paragraph li {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid #beb6a1;
  line-height: 1.5;
}

.rbm-wordpress.rbm-layout-board-members .rbm-source-paragraph ul + p {
  color: #485a4d;
  font-size: .9em;
}

@media (max-width: 800px) {
  .rbm-wordpress.rbm-layout-about-rick .entry-content .rbm-content-columns:not(:has(.rbm-source-image)),
  .rbm-wordpress:is(.rbm-layout-about-rick, .rbm-layout-ricks-history) .entry-content .rbm-content-columns:has(.rbm-source-image) {
    grid-template-columns: minmax(0, 1fr);
  }

  .rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:has(.rbm-source-image) > .rbm-content-column:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .rbm-wordpress.rbm-layout-about-rick .rbm-content-columns:has(.rbm-source-image) > .rbm-content-column:last-child {
    max-width: 500px;
  }

  .rbm-wordpress.rbm-layout-ricks-history .rbm-content-columns > .rbm-content-column:last-child {
    grid-row: 1;
    width: min(100%, 325px);
  }

  .rbm-wordpress.rbm-layout-board-members .entry-content .rbm-source-paragraph ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
