/* FYOOL About Us page — homepage typography */

.fy-about-page {
  background: #fff;
}

.fy-about-page-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 64px;
}

.fy-about-page-header {
  margin-bottom: 40px;
}

.fy-about-page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text);
  margin: 0;
}

.fy-about-page-article {
  margin: 0;
}

.fy-about-page-hero {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.fy-about-page-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.fy-about-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}


.fy-about-page-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
}

.fy-about-page-body:last-child {
  margin-bottom: 0;
}

.fy-about-page-entry {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.fy-about-page-entry p {
  margin: 0 0 20px;
}

.fy-about-page-entry h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 40px 0 16px;
}

.fy-about-page-entry h2:first-child {
  margin-top: 0;
}

.fy-about-page-block + .fy-about-page-block {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.fy-about-page-heading,
.fy-about-page-lead {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 16px;
}

.fy-about-page-closing {
  margin-top: 8px;
  font-weight: 500;
  color: var(--text);
}

.fy-about-page-cta-wrap {
  margin: 40px 0 0;
}

/* Inline image shown between paragraphs on mobile only (see media query). */
.fy-about-page-inline-img {
  display: none;
}

.fy-about-page-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: sticky;
  top: 96px;
}

.fy-about-page-gallery img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.fy-about-page-gallery-tall {
  grid-row: span 2;
}

.fy-about-page-gallery-tall img {
  height: 100%;
  min-height: 440px;
}

.fy-about-page-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fy-about-page-gallery-stack img {
  height: 215px;
}

/* Breadcrumbs (shared with blog) */
.fy-about-page .fy-blog-breadcrumb {
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .fy-about-page-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fy-about-page-gallery {
    position: static;
    max-width: 520px;
  }

  .fy-about-page-gallery-tall img {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .fy-about-page-inner {
    padding: 32px 24px 48px;
  }

  .fy-about-page-title {
    font-size: 36px;
  }

  .fy-about-page-heading,
  .fy-about-page-lead,
  .fy-about-page-entry h2 {
    font-size: 26px;
  }

  /* Show one image between the paragraphs and drop it from the bottom gallery,
     leaving the remaining images stacked cleanly at the foot of the page. */
  .fy-about-page-inline-img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin: 8px 0 28px;
  }

  .fy-about-page-gallery {
    grid-template-columns: 1fr;
  }

  .fy-about-page-gallery-tall {
    grid-row: auto;
  }

  .fy-about-page-gallery-tall img,
  .fy-about-page-gallery-stack img {
    min-height: 0;
    height: 260px;
  }

  .fy-about-page-gallery-stack img.fy-about-img--mobilehide {
    display: none;
  }
}

@media (max-width: 480px) {
  .fy-about-page-inner {
    padding: 24px 20px 40px;
  }

  .fy-about-page-gallery {
    grid-template-columns: 1fr;
  }

  .fy-about-page-gallery-tall {
    grid-row: auto;
  }

  .fy-about-page-gallery-tall img,
  .fy-about-page-gallery-stack img {
    min-height: 0;
    height: 240px;
  }

  .fy-about-page-cta-wrap .fy-btn-main {
    display: block;
    text-align: center;
    width: 100%;
  }
}
