@charset "UTF-8";

/* =========================================================================
   Teachers pages (/teachers/ listing + /teacher-001/ .. /teacher-004/ detail)
   Ported from U-GAKU's page-teachers.php / page-teacher-00N.php, rebranded
   to Cebu Way English. Header/nav/footer markup is not included here —
   those are provided by header.php / footer.php. Section backgrounds and
   watermark layout reuse the shared .section-base component (rendered via
   cebuway_render_base_section()); CTA buttons reuse the shared .jh-cta
   component (cebuway_cta_buttons(), from junior-high.css).
   ========================================================================= */

.teachers {
  --teacher-orange-accent: #FB7312;
  --teacher-pink: #FC75AE;
  --teacher-blue: #0385FE;
  --teacher-text-dark: #1A1A1A;
  --teacher-text-gray: #5B5B5B;
  --teacher-bg-gray: #EFEFEF;
  --teacher-bg-page: #F8F8F8;
  --teacher-radius-lg: 20px;
  --teacher-radius-md: 14px;
  --teacher-shadow-card: 0 4px 18px rgba(0, 0, 0, .08);
  --teacher-font-en: "Jost", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--teacher-text-dark);
  line-height: 1.9;
  overflow-x: hidden;
}

.teachers *,
.teachers *::before,
.teachers *::after {
  box-sizing: border-box;
}

.teachers img { max-width: 100%; display: block; }
.teachers a { text-decoration: none; color: inherit; }

/* ---- hero (solid gradient band, no photo required) ---------------------- */
.teacher-hero {
  position: relative;
  margin-top: 144px;
  background: linear-gradient(135deg, #F8B133, #F59F27);
  padding: 88px 20px 72px;
  text-align: center;
  overflow: hidden;
}
.teacher-hero__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.teacher-hero__title {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1.6;
  letter-spacing: .01em;
  margin: 0 auto 18px;
}
.teacher-hero__lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .92);
}

/* ---- section shell (paired with cebuway_render_base_section) ---------- */
.teacher-section { position: relative; overflow: hidden; }
.teacher-section__inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-base__watermark-text {
  display: inline-block;
  font-family: var(--teacher-font-en);
  font-weight: 800;
  font-size: clamp(58px, 9vw, 108px);
  letter-spacing: -.02em;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  color: rgba(0, 0, 0, .055);
}
.section-base--yellow .section-base__watermark-text { color: rgba(255, 255, 255, .16); }

.teacher-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--teacher-text-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}
.section-base--yellow .teacher-heading { color: #fff; }

.teacher-lead {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
  font-size: 15.5px;
  color: var(--teacher-text-gray);
}
.section-base--yellow .teacher-lead { color: rgba(255, 255, 255, .92); }

/* ---- 講師特徴 (numbered feature cards) ----------------------------------- */
.teacher-feature-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.teacher-feature {
  background: #fff;
  border-radius: var(--teacher-radius-lg);
  box-shadow: var(--teacher-shadow-card);
  overflow: hidden;
  text-align: center;
}
.teacher-feature__img { position: relative; }
.teacher-feature__img img { width: 100%; height: auto; display: block; }
.teacher-feature__num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teacher-orange-accent);
  color: #fff;
  font-family: var(--teacher-font-en);
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  padding: 6px 12px;
  z-index: 1;
}
.teacher-feature__body { padding: 24px 22px 26px; }
.teacher-feature h3 { font-size: 16px; font-weight: 900; color: var(--teacher-text-dark); line-height: 1.6; margin-bottom: 10px; }
.teacher-feature p { font-size: 13.5px; color: var(--teacher-text-gray); }

/* ---- teacher grid (listing) ---------------------------------------------- */
.teacher-cards {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}
.teacher-card {
  background: #fff;
  border-radius: var(--teacher-radius-lg);
  box-shadow: var(--teacher-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.teacher-card__img { position: relative; overflow: hidden; }
.teacher-card__img img { width: 100%; height: auto; display: block; }
.teacher-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.teacher-card h3 {
  font-family: var(--teacher-font-en);
  font-size: 28px;
  font-weight: 800;
  color: var(--teacher-orange-accent);
  text-align: center;
  margin-bottom: 20px;
}
.teacher-card__row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.teacher-card__label {
  flex: 0 0 auto;
  background: var(--teacher-orange-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.teacher-card__row p { font-size: 14.5px; color: var(--teacher-text-dark); line-height: 1.5; padding-top: 4px; }
.teacher-card__link {
  align-self: center;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teacher-text-dark);
  border: 1.5px solid var(--teacher-text-dark);
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform .2s ease;
}
.teacher-card__link:hover { transform: translateY(-2px); }

.teacher-cta-note {
  text-align: center;
  font-size: 13px;
  color: var(--teacher-text-gray);
  margin-top: 14px;
}
.section-base--yellow .teacher-cta-note { color: rgba(255, 255, 255, .85); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .teacher-hero__title { font-size: 26px; }
}
@media (max-width: 768px) {
  .teacher-hero { margin-top: 110px; }
  .teacher-hero__title { font-size: 22px; }
  .teacher-heading { font-size: 20px; }
  .teacher-cards { grid-template-columns: 1fr; }
  .teacher-feature, .teacher-card__body { padding: 24px 20px 22px; }
  .section-base__watermark-text { font-size: 44px; }
}
