/* ═══════════════════════════════════════════════════════════════
   EFA — Eco Farmers Academy  /education-events/eco-farmers-academy/
   ═══════════════════════════════════════════════════════════════ */

/* ── Base ─────────────────────────────────────────────── */
.efa-page { font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif); color: #181c20; }
.efa-page h1, .efa-page h2, .efa-page h3, .efa-page h4 { font-family: var(--wp--preset--font-family--headline, 'Manrope', sans-serif); }

/* ── Hero ─────────────────────────────────────────────── */
.efa-hero { position: relative; min-height: 580px; display: flex; align-items: center; background: linear-gradient(135deg, #003434 0%, #004f4f 40%, #006565 70%, #2a5e00 100%); overflow: hidden; }
.efa-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(76,98,0,0.18) 0%, transparent 60%); pointer-events: none; }
.efa-hero-content { position: relative; z-index: 2; max-width: 680px; padding: 5rem 2rem 5rem clamp(2rem, 8vw, 6rem); }
.efa-badge { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 1rem; background: #ccf067; color: #3b4d00; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; margin-bottom: 1.5rem; }
.efa-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1.5rem; word-break: keep-all; }
.efa-hero-subtitle { display: block; font-size: 0.62em; color: #b0d44d; letter-spacing: 0; }
.efa-hero p { font-size: 1.0625rem; color: rgba(255,255,255,0.84); line-height: 1.75; margin: 0 0 2.5rem; max-width: 520px; word-break: keep-all; }
.efa-hero-btns { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* ── Shared Buttons ───────────────────────────────────── */
.efa-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0.875rem 1.75rem; border-radius: 0.5rem; font-size: 0.9375rem; font-weight: 700; text-decoration: none !important; transition: background 0.18s, transform 0.15s; }
.efa-btn:active { transform: scale(0.97); }
.efa-btn--accent { background: #ccf067; color: #3b4d00; }
.efa-btn--accent:hover { background: #b0d44d; }
.efa-btn--outline { background: rgba(255,255,255,0.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,0.25); }
.efa-btn--outline:hover { background: rgba(255,255,255,0.2); }
.efa-btn--primary { background: #006565; color: #fff !important; }
.efa-btn--primary:hover { background: #004f4f; }

/* ── Overview ─────────────────────────────────────────── */
.efa-overview { padding: 5rem clamp(1.5rem, 6vw, 4rem); }
.efa-overview-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
.efa-overview-title { font-size: clamp(1.625rem, 2.5vw, 2.25rem); font-weight: 700; color: #006565; letter-spacing: -0.02em; line-height: 1.3; margin: 0 0 1.5rem; word-break: keep-all; }
.efa-overview-divider { width: 3.5rem; height: 5px; background: #4c6200; border-radius: 2px; }
.efa-overview-body { font-size: 1.0625rem; color: #3e4949; line-height: 1.8; margin: 0 0 2rem; word-break: keep-all; }
.efa-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.efa-stat-card { padding: 1.5rem; background: #f1f4fa; border-radius: 0.75rem; }
.efa-stat-num { font-size: 1.875rem; font-weight: 800; color: #006565; margin: 0 0 0.2rem; }
.efa-stat-label { font-size: 0.75rem; font-weight: 700; color: #00696e; text-transform: uppercase; letter-spacing: 0.07em; }

/* ── Curriculum ───────────────────────────────────────── */
.efa-curriculum { padding: 5rem clamp(1.5rem, 6vw, 4rem); background: #ebeef4; }
.efa-section-hd { text-align: center; margin-bottom: 3rem; }
.efa-section-hd h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: #006565; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.efa-section-hd p { color: #3e4949; max-width: 480px; margin: 0 auto; line-height: 1.6; }
.efa-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 1200px; margin: 0 auto; }
.efa-module { background: #fff; border-radius: 0.75rem; padding: 2rem; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,101,101,0.06); transition: transform 0.2s, box-shadow 0.2s; min-height: 280px; }
.efa-module:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,101,101,0.12); }
.efa-module--span2 { grid-column: span 2; }
.efa-module-num { font-size: 3.75rem; font-weight: 900; color: rgba(0,101,101,0.05); line-height: 1; align-self: flex-end; margin-bottom: -0.75rem; }
.efa-module-icon { font-family: 'Material Symbols Outlined'; font-feature-settings: 'liga'; font-size: 2.5rem; color: #4c6200; margin-bottom: 1.25rem; line-height: 1; }
.efa-module h3 { font-size: 1.25rem; font-weight: 700; color: #181c20; margin: 0 0 0.75rem; word-break: keep-all; }
.efa-module p { color: #3e4949; font-size: 0.9375rem; line-height: 1.65; margin: 0 0 1.25rem; flex: 1; word-break: keep-all; }
.efa-module-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.efa-module-tag { padding: 0.25rem 0.75rem; background: #ebeef4; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #006565; }
.efa-module-link { font-size: 0.875rem; font-weight: 700; color: #006565; text-decoration: underline; text-underline-offset: 3px; margin-top: auto; }
.efa-module--media { grid-column: span 2; display: flex; flex-direction: row; padding: 0; overflow: hidden; }
.efa-module-media-bg { width: 50%; flex-shrink: 0; background: linear-gradient(135deg, #004f4f 0%, #006565 40%, #4c6200 100%); min-height: 260px; position: relative; }
.efa-module-media-bg::after { content: '\e3a0'; font-family: 'Material Symbols Outlined'; font-size: 5rem; color: rgba(204,240,103,0.2); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.efa-module-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.efa-module-body h3 { font-size: 1.375rem; color: #006565 !important; margin: 0 0 0.75rem; }
.efa-module-body p { font-size: 0.9375rem; color: #3e4949; line-height: 1.65; margin: 0; word-break: keep-all; }

/* ── Faculty ──────────────────────────────────────────── */
.efa-faculty { padding: 5rem clamp(1.5rem, 6vw, 4rem); }
.efa-faculty-inner { max-width: 1200px; margin: 0 auto; }
.efa-faculty-hd { margin-bottom: 3rem; }
.efa-faculty-hd h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: #006565; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.efa-faculty-hd p { color: #3e4949; font-size: 1.0625rem; margin: 0; word-break: keep-all; }
.efa-faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.efa-faculty-card { }
.efa-faculty-photo { aspect-ratio: 3/4; border-radius: 1rem; overflow: hidden; margin-bottom: 1.125rem; }
.efa-faculty-photo--1 { background: linear-gradient(145deg, #b0cece 0%, #7aadad 100%); }
.efa-faculty-photo--2 { background: linear-gradient(145deg, #b8cab0 0%, #8aad7a 100%); }
.efa-faculty-photo--3 { background: linear-gradient(145deg, #b0c0ca 0%, #7a9aad 100%); }
.efa-faculty-photo--4 { background: linear-gradient(145deg, #cab0c0 0%, #ad7a9a 100%); }
.efa-faculty-name { font-size: 1.0625rem; font-weight: 700; color: #181c20; margin: 0 0 0.2rem; }
.efa-faculty-role { font-size: 0.72rem; font-weight: 700; color: #4c6200; text-transform: uppercase; letter-spacing: 0.09em; margin: 0 0 0.625rem; }
.efa-faculty-bio { font-size: 0.875rem; color: #3e4949; line-height: 1.6; margin: 0; word-break: keep-all; }

/* ── CTA Box ──────────────────────────────────────────── */
.efa-cta-outer { padding: 3rem clamp(1.5rem, 6vw, 4rem) 4rem; }
.efa-cta-box { max-width: 1100px; margin: 0 auto; position: relative; border-radius: 2rem; overflow: hidden; background: #006565; padding: clamp(2.5rem, 5vw, 5rem); text-align: center; }
.efa-cta-box::before { content: ''; position: absolute; top: -5rem; right: -5rem; width: 22rem; height: 22rem; background: rgba(76,98,0,0.22); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.efa-cta-box::after { content: ''; position: absolute; bottom: -4rem; left: -4rem; width: 16rem; height: 16rem; background: rgba(115,245,253,0.08); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.efa-cta-inner { position: relative; z-index: 1; }
.efa-cta-box h2 { font-size: clamp(1.625rem, 3.5vw, 2.625rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin: 0 0 1rem; word-break: keep-all; }
.efa-cta-box p { color: rgba(255,255,255,0.85); font-size: 1.0625rem; line-height: 1.7; margin: 0 auto 2.5rem; max-width: 520px; word-break: keep-all; }
.efa-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.efa-btn--cta-primary { background: #ccf067; color: #3b4d00 !important; padding: 1.0625rem 2.25rem; border-radius: 999px; font-size: 1rem; font-weight: 800; }
.efa-btn--cta-primary:hover { background: #b0d44d; }
.efa-btn--cta-outline { background: rgba(255,255,255,0.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,0.28); padding: 1.0625rem 2.25rem; border-radius: 999px; font-size: 1rem; font-weight: 800; }
.efa-btn--cta-outline:hover { background: rgba(255,255,255,0.2); }

/* ── FAQ ──────────────────────────────────────────────── */
.efa-faq { padding: 5rem clamp(1.5rem, 6vw, 4rem); }
.efa-faq-inner { max-width: 800px; margin: 0 auto; }
.efa-faq h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: #006565; letter-spacing: -0.02em; text-align: center; margin: 0 0 3rem; }
.efa-faq-list { display: flex; flex-direction: column; gap: 1rem; }
.efa-faq-item { background: #f1f4fa; border-radius: 1rem; padding: 1.75rem 2rem; border-bottom: 3px solid transparent; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.efa-faq-item:hover { background: #fff; border-bottom-color: #4c6200; box-shadow: 0 4px 20px rgba(0,101,101,0.08); }
.efa-faq-item h4 { font-size: 1rem; font-weight: 700; color: #181c20; margin: 0 0 0.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; word-break: keep-all; }
.efa-faq-item p { color: #3e4949; line-height: 1.75; margin: 0; font-size: 0.9375rem; word-break: keep-all; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .efa-overview-inner { grid-template-columns: 1fr; gap: 2rem; }
  .efa-bento { grid-template-columns: 1fr 1fr; }
  .efa-module--span2 { grid-column: span 2; }
  .efa-module--media { grid-column: span 2; }
  .efa-faculty-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .efa-hero-content { padding: 4rem 1.5rem; }
  .efa-bento { grid-template-columns: 1fr; }
  .efa-module--span2, .efa-module--media { grid-column: span 1; }
  .efa-module--media { flex-direction: column; }
  .efa-module-media-bg { width: 100%; min-height: 180px; }
  .efa-stats { grid-template-columns: 1fr 1fr; }
  .efa-hero-btns { flex-direction: column; align-items: flex-start; }
  .efa-cta-btns { flex-direction: column; align-items: center; }
  .efa-faculty-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

