/* Governance content retains the original theme and works without Drupal. */
@media (min-width: 768px) {
  .agm-content .quarter-item-body .agm-document-unavailable:not(:last-child) {
    margin-right: 110px;
  }
}
.governance-content .bk-loading { display: none; }
/* Match the source's numbered white accordion while retaining native details. */
.governance-content .governance-section {
  position: relative; width: 100%; padding: 0 15px 0 70px;
  margin: 0; border: 0; border-bottom: 1px solid rgba(0,0,0,.1);
  background: transparent; color: #000;
}
.governance-section::before {
  content: '01';
  position: absolute; left: 15px; top: 27px;
  font-size: 30px; font-weight: 700; color: #000;
}
.governance-section:nth-of-type(2)::before { content: '02'; }
.governance-section:nth-of-type(3)::before { content: '03'; }
.governance-section:nth-of-type(4)::before { content: '04'; }
.governance-section[open]::before { color: #00a19c; }
.governance-section summary {
  cursor: pointer; position: relative; padding: 30px 30px 30px 0;
  font-size: 25px; line-height: 38px; font-weight: 500;
  color: #212529; background: transparent; list-style: none;
}
.governance-section summary::-webkit-details-marker { display: none; }
.governance-section summary::after {
  content: ''; position: absolute; right: 0; top: 49px;
  width: 18px; height: 18px; margin-top: -2px;
  border-right: 2px solid #00a19c; border-bottom: 2px solid #00a19c;
  border-radius: 2px; transform: translateY(-50%) rotate(45deg);
  transition: transform .35s ease;
}
.governance-section[open] summary::after {
  transform: translateY(-50%) rotate(225deg);
}
@media (prefers-reduced-motion: reduce) {
  .governance-section summary::after { transition: none; }
}
.governance-section[open] summary { color: #7638a4; text-decoration: underline; }
.governance-section summary:focus-visible { outline: 2px solid #008d88; outline-offset: 2px; }
.governance-section-body { padding: 0 10px 45px; font-weight: 300; }
.governance-section-body p { font-weight: 300; }
.governance-section-body a { text-decoration: underline; }
.governance-content table { display: block; overflow-x: auto; }
.governance-content td, .governance-content th { padding: 12px; }
@media (max-width: 767px) {
  .governance-content .banner-subtitle { overflow-wrap: anywhere; }
}

/* Unlabelled card photos with editable text overlays. */
.governance-preview-card {
  display: block;
  container-type: inline-size;
  position: relative;
  aspect-ratio: 540 / 500;
  margin: -12.5px -14px;
  overflow: hidden;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.governance-preview-card--about {
  background-image: url('../assets/pgb/sites/default/files/about-us/about-us.webp');
}
.governance-preview-card--agm {
  background-image: url('../assets/pgb/sites/default/files/about-us/AGM.webp');
}
.governance-preview-card::after {
  content: ''; position: absolute; inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.governance-preview-card span {
  position: absolute; z-index: 1; left: 6.5%; right: 6.5%; bottom: 5%;
  color: #fff; font-family: MuseoSans, sans-serif;
  font-size: 11.11cqw; font-weight: 700; line-height: 1.05;
}

@media (max-width: 767.98px) {
  .governance-card-row { row-gap: 8px; }
  .governance-card-row > .col-md-4 { padding-top: 0; padding-bottom: 0; }
  .governance-card-row .governance-preview-card,
  .governance-card-row .be-our-partner-thumbnail { margin-top: 0; margin-bottom: 0; }
  .governance-card-row .be-our-partner-thumbnail img { display: block; }
}
