/**
 * Friends of Bulgaria - About page
 *
 * Built from friends-of-bulgaria-about-concept-v2.html. Enqueued only on the
 * About page; shared primitives (.container, .btn, .eyebrow, .section-header,
 * .donate-cta) come from the global stylesheets.
 */

/* =========================================
   Page heading

   Plain, on white. Headline and lede run the full container width — no
   reading-measure cap, matching the treatment used on the homepage.
   ========================================= */

.page-head {
  padding: 64px 0 40px;
}

.page-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: var(--fob-font-weight-normal);
  margin-bottom: 20px;
}

.page-head__lede {
  font-size: 1.12rem;
  color: var(--fob-ink-soft);
}

/* =========================================
   Our story
   ========================================= */

.about-story {
  padding: var(--fob-section-pad) 0;
}

/* Prose takes the larger share; the aside is a sidebar, not a column. */
.about-story__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 56px;
  align-items: start;
}

.about-story__prose h2 {
  font-size: var(--fob-font-size-h2);
  margin-bottom: 20px;
}

.about-story__prose p {
  color: var(--fob-ink-soft);
  margin-bottom: 1.1rem;
}

.about-story__prose p strong {
  color: var(--fob-ink);
  font-weight: var(--fob-font-weight-semibold);
}

.about-story__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-note {
  background-color: var(--fob-grey-1);
  border-left: 3px solid var(--fob-red);
  border-radius: 0 var(--fob-radius-lg) var(--fob-radius-lg) 0;
  padding: 26px 28px;
}

.founder-note blockquote {
  font-family: var(--fob-serif);
  font-size: 1.24rem;
  font-weight: var(--fob-font-weight-normal);
  line-height: 1.4;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.founder-note cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--fob-ink-soft);
}

/* Small two-cell widget: when we were founded, and the charity number.
   Deliberately compact — a caption to the founder note, not a banner. */
.facts-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--fob-line);
  border: 1px solid var(--fob-line);
  border-radius: var(--fob-radius-lg);
  overflow: hidden;
}

.facts-mini > div {
  background-color: var(--fob-white);
  padding: 16px 18px;
  text-align: center;
}

.facts-mini b {
  display: block;
  font-family: var(--fob-serif);
  font-size: 1.35rem;
  font-weight: var(--fob-font-weight-heading);
  line-height: 1;
  color: var(--fob-red);
}

.facts-mini span {
  display: block;
  margin-top: 6px;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: var(--fob-font-weight-semibold);
  color: var(--fob-ink-soft);
}

@media (max-width: 860px) {
  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================
   Timeline
   ========================================= */

.about-timeline {
  padding: var(--fob-section-pad) 0;
  background-color: var(--fob-grey-1);
  border-top: 1px solid var(--fob-line);
  border-bottom: 1px solid var(--fob-line);
}

.about-timeline h2 {
  font-size: var(--fob-font-size-h2);
  margin-bottom: 44px;
}

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Rule runs behind the markers, inset to the year column's right edge. */
.timeline::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-color: var(--fob-line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 32px;
  padding-bottom: 34px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__year {
  font-family: var(--fob-serif);
  font-size: 1.5rem;
  font-weight: var(--fob-font-weight-heading);
  line-height: 1;
  color: var(--fob-red);
  text-align: right;
  padding-top: 2px;
  /* Clear of the rule that runs down the column's right edge. */
  padding-right: 14px;
  /* Ranges like 1991-99 must not break across two lines. */
  white-space: nowrap;
}

/* No marker on the rule: the year alongside already says where each entry
   sits, and the dot only crowded it. */
.timeline__body {
  position: relative;
  padding-left: 8px;
}

.timeline__body h3 {
  font-family: var(--fob-sans);
  font-size: 1.02rem;
  font-weight: var(--fob-font-weight-semibold);
  letter-spacing: normal;
  margin-bottom: 5px;
}

.timeline__body p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fob-ink-soft);
}

@media (max-width: 640px) {
  .timeline::before {
    left: 5px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline__year {
    text-align: left;
    padding-left: 26px;
  }

  .timeline__body::before {
    top: -26px;
  }
}

/* =========================================
   How a grant works
   ========================================= */

.about-grants {
  padding: var(--fob-section-pad) 0;
}

.grant-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grant-step {
  background-color: var(--fob-white);
  border: 1px solid var(--fob-line);
  border-radius: var(--fob-radius-lg);
  padding: 26px 28px;
}

.grant-step__n {
  display: block;
  font-family: var(--fob-serif);
  font-size: 2.2rem;
  font-weight: var(--fob-font-weight-heading);
  line-height: 1;
  color: var(--fob-red-soft);
  margin-bottom: 10px;
}

.grant-step h3 {
  font-family: var(--fob-sans);
  font-size: 1.04rem;
  font-weight: var(--fob-font-weight-semibold);
  letter-spacing: normal;
  margin-bottom: 8px;
}

.grant-step p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--fob-ink-soft);
}

@media (max-width: 860px) {
  .grant-steps {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Patrons and Executive Council
   ========================================= */

.about-people {
  padding: var(--fob-section-pad) 0;
  background-color: var(--fob-grey-1);
  border-top: 1px solid var(--fob-line);
}

.about-people .section-header {
  margin-bottom: 40px;
}

.patron-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.patron-card {
  background-color: var(--fob-white);
  border: 1px solid var(--fob-line);
  border-radius: var(--fob-radius-lg);
  padding: 24px 26px;
}

.patron-card .eyebrow {
  margin-bottom: 10px;
}

.patron-card__name {
  display: block;
  font-family: var(--fob-serif);
  font-size: 1.2rem;
  font-weight: var(--fob-font-weight-heading);
  margin-bottom: 4px;
}

.patron-card__note {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fob-ink-soft);
}

.patron-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.patron-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--fob-line);
}

.patron-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.patron-list__name {
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
}

.patron-list__role {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: var(--fob-font-weight-semibold);
  color: var(--fob-grey-3);
}

.council-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: var(--fob-tracking-eyebrow);
  font-weight: var(--fob-font-weight-semibold);
  color: var(--fob-red);
  margin-bottom: 18px;
}

/* Hairline grid: the gap is the background showing through. */
.council {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--fob-line);
  border: 1px solid var(--fob-line);
  border-radius: var(--fob-radius-lg);
  overflow: hidden;
}

.council__member {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--fob-white);
  padding: 20px 22px;
}

/**
 * Portrait slot, sized so a headshot drops straight in. Until one is set the
 * avatar shows initials, so the row reads as intentional rather than as a
 * missing image.
 */
.council__avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--fob-grey-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.council__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.council__avatar > span {
  font-family: var(--fob-serif);
  font-size: 0.98rem;
  font-weight: var(--fob-font-weight-heading);
  letter-spacing: 0.02em;
  color: var(--fob-grey-3);
}

.council__name {
  display: block;
  font-family: var(--fob-serif);
  font-size: 1.14rem;
  font-weight: var(--fob-font-weight-heading);
  margin-bottom: 3px;
}

.council__role {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: var(--fob-font-weight-semibold);
  color: var(--fob-grey-3);
}

.council__role.is-officer {
  color: var(--fob-red);
}

.about-people__note {
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--fob-ink-soft);
}

.about-people__note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .patron-cards,
  .council {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Donate band
   ========================================= */

.about-donate {
  background-color: var(--fob-red);
}


/* =========================================
   About page — section junctions
   =========================================

   The approved concept (friends-of-bulgaria-about-concept-v2.html) placed a
   ledger strip of key facts directly beneath the page head. That band was not
   built, so the page head's 40px bottom padding and .about-story's 56px top
   padding stack into 96px of bare white where the band would have sat.

   Rather than change the section rhythm everywhere, tighten the two junctions
   that lost their band.
   ========================================= */

/* Page head -> Our story: 40 + 56 = 96px becomes 40 + 16 = 56px. */
.page-head + .about-story {
  padding-top: var(--fob-space-md);
}

/* Our story -> Timeline: the timeline is a grey band with its own top border,
   so its internal 56px padding stays — crowding that would push the band's
   heading into its own edge. Only the white run-up shortens. */
.about-story {
  padding-bottom: var(--fob-space-xl);
}


/* A photograph of the evening, floated into its entry. Four of the five have
   one on the live site; the entry reads the same without. */
.timeline__figure {
  float: left;
  width: 190px;
  margin: 2px var(--fob-space-md) var(--fob-space-sm) 0;
}

.timeline__figure img {
  display: block;
  width: 190px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--fob-radius-sm);
}

/* Contain the float so one entry's picture cannot run into the next. */
.timeline__body::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 640px) {
  .timeline__figure,
  .timeline__figure img {
    float: none;
    width: 100%;
  }

  .timeline__figure {
    margin: 0 0 var(--fob-space-sm);
  }
}
