/* ===================================================
   pages.css — Shared styles for all sub-pages
   (about, subjects, and future pages)
   =================================================== */

/* ── Migrated from subjects/style.css ───────────────── */
@font-face {
  font-family: "myfont";
  src: url("../fonts/Virtuous.woff") format('woff');
}

.myfont {
  font-family: myfont;
  text-align: left;
  font-size: 20px;
  align-content: center;
  color: #000;
  width: 80%;
  margin: auto;
}

/* ── Sub-page Hero Banner ───────────────────────────── */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('../images/group-of-people-sitting-indoors-3184291.jpg') center / cover no-repeat;
}

.page-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(25, 67, 136, 0.88) 0%, rgba(87, 185, 168, 0.72) 100%);
}

/* ── About: Story Section ───────────────────────────── */
.about-story-section {
  padding: 80px 20px;
  background: #f1f1f7;
}

.about-story-wrap {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-story-img-col {
  flex: 1;
  min-width: 280px;
}

.about-story-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  height: 340px;
  display: block;
}

.about-story-text-col {
  flex: 1;
  min-width: 280px;
}

/* ── Responsive ─────────────────────────────────────── */
@media screen and (max-width: 991px) {
  .page-hero {
    min-height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .page-hero {
    min-height: 260px;
  }

  .page-hero .hero-headline {
    font-size: 32px;
  }

  .about-story-wrap {
    gap: 30px;
  }

  .about-story-img {
    height: 220px;
  }

  .about-story-section {
    padding: 50px 16px;
  }
}
