/*
 Theme Name:   Astra Child - 哈寶教學智庫 (HOPE TREASURY)
 Theme URI:    https://hopeedu.com.tw/
 Description:  哈寶教學智庫（柏洲文教集團）專屬 Astra 子佈景主題 — 藍綠留白＋HOPE 彩色積木 VI 設計，內含全站導覽列、頁尾、海報燈箱與分流洽詢表單系統。
 Author:       柏洲文教有限公司
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child-hopeedu
*/

:root {
  /* HOPE_0807F.pdf VI 標準色系 */
  --hope-blue: #3F62A5;
  --hope-blue-dark: #2B4578;
  --hope-blue-soft: #EEF3FA;
  --hope-mint: #5CB88A;
  --hope-mint-dark: #3E9469;
  --hope-mint-soft: #EDF8F2;
  --hope-red: #DF5554;
  --hope-yellow: #F9C623;
  --hope-pink: #F39EC0;
  --hope-sky: #B3DCF0;

  /* 留白與文字層級 */
  --bg-white: #FFFFFF;
  --bg-airy: #F7FAF9;
  --bg-cool: #F4F7FB;
  --ink-900: #1E293B;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-300: #CBD5E1;
  --border-soft: #E5ECE9;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 20px rgba(30, 41, 59, 0.05);
  --shadow-md: 0 12px 36px rgba(63, 98, 165, 0.10);
  --shadow-lg: 0 22px 54px rgba(43, 69, 120, 0.14);
}

/* Astra Full-Width Clean Reset */
.ast-page-builder-template .site-content > .ast-container,
.ast-plain-container .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}
.entry-content { margin: 0; }
.entry-content > *:first-child { margin-top: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Microsoft JhengHei', sans-serif;
  color: var(--ink-900);
  background: var(--bg-white);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.hope-container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ===== Top Info Strip ===== */
.hope-topbar {
  background: var(--hope-blue-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  padding: 7px 0;
}
.hope-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hope-topbar-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hope-topbar a:hover { color: #FDE68A; }

/* ===== Sticky Header & Dropdown Navigation ===== */
.hope-header {
  position: sticky;
  top: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 236, 233, 0.9);
}
.hope-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}
.hope-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hope-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hope-brand-text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--hope-blue-dark);
  letter-spacing: 0.06em;
}
.hope-brand-text small {
  font-size: 10.5px;
  color: var(--ink-500);
  letter-spacing: 0.16em;
  font-weight: 600;
}

.hope-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hope-nav-item {
  position: relative;
}
.hope-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-700);
  padding: 10px 0;
  transition: color 0.2s;
  position: relative;
}
.hope-nav-link:hover,
.hope-nav-link.active {
  color: var(--hope-blue);
}
.hope-nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hope-blue), var(--hope-mint));
  transition: width 0.22s ease;
}
.hope-nav-link:hover::after,
.hope-nav-link.active::after {
  width: 100%;
}

.hope-dropdown {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 245px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 120;
}
.hope-nav-item:hover .hope-dropdown,
.hope-nav-item.open .hope-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hope-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  transition: background 0.16s, color 0.16s;
}
.hope-dropdown a:hover {
  background: var(--hope-blue-soft);
  color: var(--hope-blue-dark);
}
.hope-dropdown .dd-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--hope-mint-soft);
  color: var(--hope-mint-dark);
}
.hope-dropdown .dd-badge.hot {
  background: #FEF2F2;
  color: var(--hope-red);
}

.hope-menu-toggle {
  display: none;
  background: var(--bg-airy);
  border: 1px solid var(--border-soft);
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 20px;
  color: var(--hope-blue-dark);
  cursor: pointer;
}

/* ===== Buttons ===== */
.hope-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
  line-height: 1.3;
}
.hope-btn-primary {
  background: var(--hope-blue);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(63, 98, 165, 0.24);
}
.hope-btn-primary:hover {
  background: var(--hope-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(63, 98, 165, 0.30);
}
.hope-btn-mint {
  background: var(--hope-mint);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(92, 184, 138, 0.28);
}
.hope-btn-mint:hover {
  background: var(--hope-mint-dark);
  transform: translateY(-2px);
}
.hope-btn-outline {
  background: #fff;
  color: var(--hope-blue) !important;
  border: 1.8px solid rgba(63, 98, 165, 0.34);
}
.hope-btn-outline:hover {
  background: var(--hope-blue-soft);
  border-color: var(--hope-blue);
  transform: translateY(-2px);
}
.hope-btn-sm { padding: 9px 18px; font-size: 14px; }
.cta-pill-new {
  background: var(--hope-red);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
}

/* ===== Hero & Inner Page Banner ===== */
.hope-hero {
  position: relative;
  padding: 72px 0 86px;
  background:
    radial-gradient(circle at 8% 12%, rgba(92, 184, 138, 0.11) 0%, transparent 42%),
    radial-gradient(circle at 92% 18%, rgba(63, 98, 165, 0.10) 0%, transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FBF9 100%);
  overflow: hidden;
}
.hope-page-hero {
  position: relative;
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 10% 20%, rgba(92, 184, 138, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(63, 98, 165, 0.11) 0%, transparent 48%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F9F7 100%);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.hope-page-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  color: var(--hope-blue-dark);
  line-height: 1.28;
  margin: 0 0 14px;
}
.hope-page-hero p.lead {
  font-size: 17px;
  color: var(--ink-700);
  max-width: 740px;
  margin: 0;
}
.hope-breadcrumb {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hope-breadcrumb a:hover { color: var(--hope-blue); }

.geo-float {
  position: absolute;
  pointer-events: none;
  opacity: 0.26;
  z-index: 0;
}
.geo-1 { top: 40px; left: 2.5%; width: 52px; transform: rotate(-14deg); }
.geo-2 { bottom: 44px; left: 45%; width: 44px; transform: rotate(18deg); }
.geo-3 { top: 34px; right: 3.5%; width: 58px; transform: rotate(12deg); }

.hope-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hope-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hope-mint-soft);
  color: var(--hope-mint-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  border: 1px solid rgba(92, 184, 138, 0.25);
}
.hope-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hope-mint);
}
.hope-hero h1 {
  font-size: clamp(32px, 4vw, 47px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 18px;
}
.accent-blue { color: var(--hope-blue); }
.accent-mint {
  color: var(--hope-mint-dark);
  position: relative;
  display: inline-block;
}
.accent-mint::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(249, 198, 35, 0.34);
  z-index: -1;
  border-radius: 4px;
}
.hope-hero p.lead {
  font-size: 16.5px;
  color: var(--ink-700);
  max-width: 540px;
  margin: 0 0 28px;
}
.hope-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hope-trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.hope-stat strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: var(--hope-blue);
  line-height: 1.2;
}
.hope-stat span {
  font-size: 12.5px;
  color: var(--ink-500);
  font-weight: 500;
}

.hope-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.collage-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 4px solid #fff;
}
.collage-card.wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.collage-card.small { aspect-ratio: 4 / 3; }
.collage-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.collage-card:hover img { transform: scale(1.04); }
.collage-caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hope-blue-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.floating-pill {
  position: absolute;
  top: -15px; right: 16px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  padding: 9px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}
.floating-pill .color-dots { display: flex; gap: 4px; }
.floating-pill .color-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.floating-pill span { font-size: 13px; font-weight: 700; color: var(--ink-900); }

/* ===== Sections & Grids ===== */
.hope-section { padding: 82px 0; }
.hope-section.tight { padding: 56px 0; }
.bg-airy { background: var(--bg-airy); }
.bg-cool { background: var(--bg-cool); }
.bg-white { background: var(--bg-white); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-head .kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--hope-mint-dark);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.3;
  margin: 0 0 12px;
}
.section-head p { font-size: 15.5px; color: var(--ink-500); margin: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.split-grid.reverse { grid-template-columns: 0.95fr 1.05fr; }

/* Cards */
.pillar-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.pillar-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
  margin-bottom: 18px;
}
.pillar-box h3 { font-size: 19.5px; font-weight: 800; color: var(--ink-900); margin: 0 0 10px; }
.pillar-box p { font-size: 15px; color: var(--ink-500); margin: 0; }

.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.course-card.featured-senior {
  border: 2px solid rgba(92, 184, 138, 0.55);
  box-shadow: 0 12px 32px rgba(92, 184, 138, 0.12);
}
.course-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-cool);
}
.course-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.course-card:hover .course-img-wrap img { transform: scale(1.04); }
.course-pill {
  position: absolute;
  top: 15px; left: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.pill-yellow { background: #E3A700; }
.pill-sky { background: #3B82B8; }
.pill-mint { background: var(--hope-mint-dark); }
.pill-red { background: var(--hope-red); }
.pill-blue { background: var(--hope-blue); }

.course-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-body h3 { font-size: 21px; font-weight: 800; color: var(--ink-900); margin: 0 0 10px; }
.course-body p { font-size: 15px; color: var(--ink-500); margin: 0 0 16px; flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mini-tag {
  font-size: 12.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 8px;
  background: var(--bg-cool); color: var(--hope-blue-dark);
}
.mini-tag.mint { background: var(--hope-mint-soft); color: var(--hope-mint-dark); }
.card-link {
  font-size: 14.5px; font-weight: 800; color: var(--hope-blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { gap: 10px; color: var(--hope-mint-dark); }

/* Senior Showcase */
.senior-showcase {
  background: linear-gradient(135deg, #EDF8F2 0%, #F4F8FC 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.senior-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 24px; }
.s-mod {
  background: #fff; padding: 18px 16px; border-radius: 16px;
  border: 1px solid rgba(92, 184, 138, 0.25); box-shadow: var(--shadow-sm);
}
.s-mod strong { display: block; font-size: 15.5px; color: var(--hope-blue-dark); margin-bottom: 5px; }
.s-mod span { font-size: 13px; color: var(--ink-500); line-height: 1.55; display: block; }
.partner-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.partner-chip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(63, 98, 165, 0.16);
  padding: 6px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-700);
}
.photo-frame {
  border-radius: 20px; overflow: hidden; border: 5px solid #fff;
  box-shadow: var(--shadow-md); background: #fff; position: relative;
}
.photo-frame img { width: 100%; height: 245px; object-fit: cover; }

/* Training Highlight Box */
.training-box {
  background: #fff; border-radius: 28px; border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 0.75fr;
}
.training-content { padding: 44px 42px; }
.training-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FEF2F2; color: var(--hope-red);
  font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.training-content h2 {
  font-size: clamp(23px, 2.7vw, 31px); font-weight: 900;
  color: var(--hope-blue-dark); line-height: 1.32; margin: 0 0 12px;
}
.stage-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.stage-card {
  background: var(--bg-cool); border-radius: 14px; padding: 16px;
  border-top: 4px solid var(--hope-blue);
}
.stage-card:nth-child(2) { border-top-color: var(--hope-mint); }
.stage-card:nth-child(3) { border-top-color: var(--hope-yellow); }
.stage-card small { display: block; font-size: 12px; font-weight: 800; color: var(--hope-blue); margin-bottom: 4px; }
.stage-card strong { display: block; font-size: 15px; color: var(--ink-900); margin-bottom: 4px; }
.stage-card span { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; display: block; }

.price-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: var(--hope-mint-soft); border: 1px solid rgba(92, 184, 138, 0.3);
  padding: 18px 22px; border-radius: 16px; margin-bottom: 18px;
}
.price-num { font-size: 28px; font-weight: 900; color: var(--hope-blue-dark); }
.price-orig { text-decoration: line-through; color: var(--ink-500); font-size: 14px; margin-left: 8px; }
.drum-recruit-note {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 14px; font-size: 14px; color: #78350F;
}
.drum-recruit-note a { color: var(--hope-blue); font-weight: 800; text-decoration: underline; }
.training-poster-pane {
  background: linear-gradient(160deg, var(--hope-blue) 0%, var(--hope-blue-dark) 100%);
  padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.training-poster-pane img {
  border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  max-height: 460px; width: auto; cursor: zoom-in; transition: transform 0.24s;
}
.training-poster-pane img:hover { transform: scale(1.02); }
.poster-hint { color: rgba(255, 255, 255, 0.88); font-size: 13px; text-align: center; }

/* Testimonials & Charity */
.quote-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: space-between;
}
.quote-card p { font-size: 15px; color: var(--ink-700); margin: 0 0 18px; }
.quote-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.avatar-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--hope-blue-soft); color: var(--hope-blue);
  font-weight: 800; display: grid; place-items: center; font-size: 15px; flex-shrink: 0;
}
.charity-banner {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-soft);
  overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center;
  box-shadow: var(--shadow-sm); margin-top: 32px;
}
.charity-banner img { width: 100%; height: 270px; object-fit: cover; }
.charity-text { padding: 30px 34px; }
.charity-text h3 { font-size: 21px; font-weight: 800; color: var(--hope-blue-dark); margin: 6px 0 10px; }
.charity-text p { font-size: 15px; color: var(--ink-500); margin: 0; }

/* Articles & Longform Content */
.article-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.24s, box-shadow 0.24s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card img { width: 100%; height: 196px; object-fit: cover; }
.article-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 12px; font-weight: 800; color: var(--hope-mint-dark); margin-bottom: 6px; display: block; }
.article-body h3 { font-size: 17.5px; font-weight: 800; color: var(--ink-900); line-height: 1.45; margin: 0 0 8px; }
.article-body p { font-size: 14px; color: var(--ink-500); margin: 0 0 14px; flex: 1; }

.article-prose {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}
.article-prose h2 {
  font-size: 22px; font-weight: 800; color: var(--hope-blue-dark);
  margin: 30px 0 12px; padding-left: 14px; border-left: 4px solid var(--hope-mint);
}
.article-prose p { font-size: 16.5px; color: var(--ink-700); margin: 0 0 18px; line-height: 1.9; }
.article-prose ul { margin: 0 0 20px; padding-left: 22px; color: var(--ink-700); }
.article-prose li { margin-bottom: 8px; font-size: 16px; }
.article-callout {
  background: var(--hope-mint-soft);
  border-left: 4px solid var(--hope-mint-dark);
  padding: 20px 24px;
  border-radius: 12px;
  margin: 26px 0;
  color: var(--hope-blue-dark);
  font-weight: 600;
}

/* Timeline (Archive Page) */
.timeline { display: grid; gap: 18px; }
.tl-item {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 18px;
  padding: 22px 26px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start;
  box-shadow: var(--shadow-sm);
}
.tl-year {
  background: var(--hope-blue-soft); color: var(--hope-blue-dark);
  font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 12px; text-align: center;
}
.tl-item h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink-900); }
.tl-item p { margin: 0; font-size: 14.5px; color: var(--ink-500); }

/* Inquiry Form & Contact */
.contact-wrap {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 28px;
  box-shadow: var(--shadow-md); padding: 44px;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 42px;
}
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-700); }
.inquiry-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.inq-tab {
  padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: var(--bg-cool); color: var(--ink-700); border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.2s;
}
.inq-tab.active { background: var(--hope-blue); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: span 2; }
.hope-input {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  border: 1.5px solid var(--border-soft); font-family: inherit; font-size: 14.5px;
  color: var(--ink-900); background: #FAFDFC;
}
.hope-input:focus { outline: none; border-color: var(--hope-blue); background: #fff; }
.form-success-box {
  background: var(--hope-mint-soft); border: 1.5px solid var(--hope-mint);
  color: var(--hope-blue-dark); padding: 18px 20px; border-radius: 14px;
  margin-bottom: 20px; font-weight: 700;
}

/* Gallery Strip */
.photo-gallery-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-gallery-3 img {
  width: 100%; height: 220px; object-fit: cover; border-radius: 16px;
  cursor: zoom-in; border: 3px solid #fff; box-shadow: var(--shadow-sm);
}

/* Footer */
.hope-footer {
  background: linear-gradient(135deg, var(--hope-blue-dark) 0%, var(--hope-blue) 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 62px 0 34px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); margin-bottom: 24px;
}
.hope-footer h4 { color: #fff; font-size: 15.5px; font-weight: 800; margin: 0 0 14px; }
.hope-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.hope-footer ul a:hover { color: #FDE68A; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.72);
}

/* Lightbox */
.hope-lightbox {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.88);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 24px; cursor: zoom-out;
}
.hope-lightbox.open { display: flex; }
.hope-lightbox img {
  max-height: 92vh; max-width: 92vw; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Responsive */
@media (max-width: 980px) {
  .hope-menu-toggle { display: grid; place-items: center; }
  .hope-nav {
    display: none;
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 22px;
  }
  .hope-nav.open { display: flex; }
  .hope-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--bg-cool);
    margin: 4px 0 8px; padding: 6px;
  }
  .hope-hero-grid, .split-grid, .split-grid.reverse, .training-box, .charity-banner, .contact-wrap, .tl-item {
    grid-template-columns: 1fr;
  }
  .grid-2, .grid-3, .grid-4, .senior-modules, .stage-list, .photo-gallery-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hope-trust-stats { grid-template-columns: repeat(2, 1fr); }
  .training-content, .contact-wrap, .article-prose { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hope-topbar { display: none; }
}
