/* Local refinements of the published site. */
:root { --reading-size: 1.0625rem; }

/* Full-width page: the removed sidebar no longer reserves any space. */
.site-shell {
  margin: 0;
  width: 100%;
  max-width: none;
}

.hero-wide .hero-content h1.foundation-name {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .5px;
}
.hero-wide .hero-actions {
  flex-wrap: wrap;
}
.hero-wide .hero-actions > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 60px;
  min-width: 240px;
  max-width: 100%;
  padding: 18px 26px;
  font-size: 1.125rem;
  line-height: 1.4;
}
.hero-wide .hero-actions > a:first-child b {
  margin-left: 0;
  font-size: 1.5rem;
}
@media (max-width: 760px) {
  .hero-wide .hero-actions > a:first-child {
    width: 100%;
    min-width: 0;
  }
}

/* Document titles and a clear viewing action, without explanatory descriptions. */
.documents-section .document-grid a {
  min-height: 88px;
  justify-content: center;
}
.documents-section .document-grid h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.documents-section .document-grid .document-view {
  display: block;
  margin-top: 12px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Four selected reels: one balanced desktop row, two columns on smaller screens. */
.video-section .featured-reels {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}
.video-section .featured-reels > article {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.video-section .featured-reels .reel-static {
  flex: none;
  aspect-ratio: 9 / 16;
}
.video-section .featured-reels .reel-static img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-section .featured-reels > article > p {
  flex: 1;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .video-section .featured-reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The new portrait follows the other profiles without cropping or stretching. */
.oleksii-section .denys-card > img {
  height: auto;
  align-self: center;
}

/* Main copy: 17px at the default browser size. Existing layout stays intact. */
.intro-copy > p,
.section-title > p:not(.kicker),
.story-grid p,
.featured-reels p,
.featured-reels p span,
.archive-reel p,
.instagram-photos > div:first-child > p:not(.kicker),
.top-photo-grid p,
.denys-card div > p:not(.kicker),
.documents-heading > p:not(.kicker),
.document-grid p,
.bank-heading > p:last-child,
.bank-card dd,
footer p {
  font-size: var(--reading-size);
  line-height: 1.65;
}
.number-band.impact-band span {
  font-size: 1rem;
  line-height: 1.5;
}
.bank-card .bank-iban {
  font-size: 1rem;
  line-height: 1.6;
}
.denys-card .award-note {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}
/* Compact card titles remain legible alongside the larger descriptions. */
.story-grid h3,
.featured-reels p strong,
.youtube-grid h3,
.archive-reel h4 {
  font-size: 1.125rem;
  line-height: 1.35;
}
