/* ============================================================================
   The Trust page — mission statement, aims, presentations, trustees.

   Uses the tokens defined in srfc.v2.css. Kept in its own file so it can be
   cache-busted independently of the site-wide layer.
   ========================================================================== */

.trust-page { max-width: 900px; margin: 0 auto 40px; }

/* --------------------------------------------------------- masthead ------ */
.trust-masthead {
  border-bottom: 3px solid var(--srfc-hoop);
  padding-bottom: 18px;
  margin-bottom: 26px;
}
.trust-standfirst {
  font-size: 19px;
  line-height: 1.45;
  color: var(--srfc-mute);
  max-width: 34em;
  margin: 10px 0 0;
}

/* --------------------------------------------------------- mission ------- */
.trust-mission { margin-bottom: 34px; }
.trust-mission p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 36em;
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--srfc-rule);
}

/* --------------------------------------------------------- sections ------ */
.trust-section { margin-bottom: 38px; }
.trust-body { max-width: 40em; margin: 0 0 12px; }

/* ------------------------------------------------------------- aims ------ */
.trust-aims {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--srfc-rule);
  border: 1px solid var(--srfc-rule);
}
@media (min-width: 700px) {
  .trust-aims { grid-template-columns: 1fr 1fr; }
}
.trust-aim {
  background: #fff;
  padding: 18px 20px;
}
.trust-aim b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--srfc-hoop);
  margin-bottom: 7px;
}
.trust-aim span {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--srfc-ink);
}

/* ---------------------------------------------------- presentations ------ */
.trust-presentations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.trust-presentation { margin: 0; }

/* A presentation with two or more photographs takes a double-width card, so
   the images sit side by side without shrinking to thumbnails. */
@media (min-width: 700px) {
  .trust-presentation-wide { grid-column: span 2; }
}
.trust-presentation-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}
/* Inside a double-width card the photographs sit two-up, so four of them make
   a 2x2 block rather than a row of thumbnails. */
@media (min-width: 700px) {
  .trust-presentation-wide .trust-presentation-photos {
    grid-template-columns: 1fr 1fr;
  }
}
.trust-presentation img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--srfc-rule);
}
/* Photographs in a multi-photo card are cropped to a common shape so the grid
   stays square — the set mixes landscape and portrait, and left at their
   natural heights they stagger badly. Biased above centre because faces sit in
   the upper half of every one of these. A card with a single photograph is
   left uncropped. */
.trust-presentation-wide .trust-presentation-photos img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
}
.trust-presentation-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--srfc-rule);
  background: var(--srfc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-presentation-placeholder span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--srfc-mute);
}
.trust-presentation figcaption { padding-top: 9px; }
.trust-presentation figcaption b {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.trust-presentation figcaption span {
  display: block;
  font-size: 13px;
  color: var(--srfc-mute);
  margin-top: 2px;
}

/* --------------------------------------------------------- contact ------- */
.trust-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  border-top: 1px solid var(--srfc-rule);
  padding-top: 26px;
}
@media (min-width: 700px) {
  .trust-contact { grid-template-columns: 1fr 1.4fr; gap: 40px; }
}
.trust-trustees {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-trustees li {
  padding: 6px 0;
  border-bottom: 1px solid var(--srfc-rule);
  font-size: 15px;
}
.trust-trustees li:last-child { border-bottom: 0; }

/* The trustees paragraph closes the page, so give it the same hairline the
   contact block used to carry. */
.trust-trustees-block {
  border-top: 1px solid var(--srfc-rule);
  padding-top: 26px;
}
