/* Teaching Academy — original-section replica */
.page-teaching-academy,
.page-id-29449 {
  background: #fff;
}

.page-teaching-academy .fbtl-ta-island,
.page-id-29449 .fbtl-ta-island {
  --padding-top: 0 !important;
  --padding-right: 0 !important;
  --padding-bottom: 0 !important;
  --padding-left: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.page-teaching-academy .fbtl-ta-island > .e-con-inner,
.page-id-29449 .fbtl-ta-island > .e-con-inner {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  gap: 0 !important;
}

.page-teaching-academy .fbtl-ta-island .elementor-widget-html,
.page-id-29449 .fbtl-ta-island .elementor-widget-html {
  width: 100%;
  margin: 0;
}

.ta-wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.ta-label {
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00ab3b;
}

.ta-intro {
  margin: 10px 0 0;
  max-width: 640px;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
}

.ta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ta-btn:hover {
  transform: translateY(-1px);
}

.ta-btn-green {
  background: #00ab3b;
  color: #fff !important;
}

.ta-btn-green:hover {
  background: #009533;
}

.ta-btn-ghost {
  background: #fff;
  color: #092242 !important;
  border-color: #d5dde6;
}

.ta-btn-ghost:hover {
  border-color: #092242;
}

.ta-btn-lime {
  background: #c9db00;
  color: #092242 !important;
}

.ta-btn-lime:hover {
  background: #b8c900;
}

.ta-btn-ghost-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.ta-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ta-btn-navy {
  background: #092242;
  color: #fff !important;
}

.ta-btn-navy:hover {
  background: #0d3060;
}

.ta-btn-navy-outline {
  background: #fff;
  color: #092242 !important;
  border-color: #092242;
}

/* ========== 1. Hero ========== */
.ta-hero {
  background: #fff;
  padding: 72px 0 64px;
}

.ta-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.ta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #00ab3b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ta-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #00ab3b;
}

.ta-hero h1 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  color: #092242;
}

.ta-hero h2 {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
}

.ta-lead {
  margin: 0 0 22px;
  max-width: 520px;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
}

.ta-checks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ta-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #1e293b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ta-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #00ab3b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.ta-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
}

.ta-hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #05162e;
  box-shadow: 0 22px 48px rgba(9, 34, 66, 0.16);
}

.ta-hero-video iframe,
.ta-hero-video .fbtl-media-poster,
.ta-hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ========== 2. This month ========== */
.ta-month {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 72% at 74% 46%, rgba(46, 92, 168, 0.38), transparent 62%),
    #092242;
  padding: 80px 0;
  color: #fff;
}

.ta-month-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.ta-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(91, 219, 122, 0.45);
  border-radius: 999px;
  background: rgba(0, 171, 59, 0.16);
  color: #7aef96;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ta-live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bdb7a;
  box-shadow: 0 0 0 4px rgba(91, 219, 122, 0.18);
}

.ta-month-eye {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(213, 221, 230, 0.62);
}

.ta-month-title {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
}

.ta-month-title span {
  display: block;
  color: #fff;
}

.ta-month-title em {
  display: block;
  font-style: italic;
  color: #c9db00;
}

.ta-month-quote {
  margin: 0 0 28px;
  max-width: 440px;
  padding-left: 16px;
  border-left: 3px solid #00ab3b;
  color: rgba(213, 221, 230, 0.86);
  font-size: 1.02rem;
  line-height: 1.65;
}

.ta-month-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ta-month-frame {
  position: relative;
  padding: 14px;
}

.ta-month-frame::before,
.ta-month-frame::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border: 3px solid #c9db00;
  z-index: 2;
  pointer-events: none;
}

.ta-month-frame::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.ta-month-frame::after {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
}

.ta-month-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.ta-img-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(91, 219, 122, 0.45);
  border-radius: 999px;
  background: rgba(9, 34, 66, 0.88);
  color: #fff;
  line-height: 1.15;
}

.ta-img-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bdb7a;
  box-shadow: 0 0 0 4px rgba(91, 219, 122, 0.18);
}

.ta-img-badge strong {
  font-size: 0.72rem;
  font-weight: 800;
}

.ta-img-badge span {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

.ta-img-badge span::before {
  content: "| ";
  color: rgba(255, 255, 255, 0.28);
}

/* ========== 3. Roadmap ========== */
.ta-roadmap {
  background: #fff;
  padding: 80px 0 72px;
}

.ta-roadmap h2,
.ta-schedule h2,
.ta-pathway h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #092242;
  line-height: 1.15;
}

.ta-week-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
}

.ta-week {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 22px 20px 24px;
  border: 1px solid #e6edf3;
  border-radius: 14px;
  background: #f7f9fb;
  box-shadow: 0 8px 24px rgba(9, 34, 66, 0.04);
}

.ta-week::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.ta-week-1::before { background: #00ab3b; }
.ta-week-2::before { background: #c9db00; }
.ta-week-3::before { background: #092242; }
.ta-week-4::before { background: #86d9a4; }

.ta-week-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  color: #092242;
  opacity: 0.07;
}

.ta-week-label {
  margin: 8px 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.ta-week h3 {
  position: relative;
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #092242;
  line-height: 1.3;
}

.ta-week p:last-child {
  position: relative;
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.ta-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #e6edf3;
}

.ta-start-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #092242;
}

.ta-start-arrow {
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ab3b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ta-start-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== 4. Year one ========== */
.ta-schedule {
  background: #f7f9fb;
  padding: 80px 0 72px;
}

.ta-series {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #092242;
}

.ta-series::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe3ea;
}

.ta-cal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ta-cal {
  display: block;
  min-height: 168px;
  padding: 18px 16px 20px;
  border: 1px solid #e6edf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(9, 34, 66, 0.05);
  text-decoration: none !important;
  color: inherit;
}

.ta-cal.is-live {
  border-color: #00ab3b;
  box-shadow: 0 8px 22px rgba(0, 171, 59, 0.12);
}

.ta-cal.is-locked {
  background: #fff;
}

.ta-cal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ta-cal.is-live .ta-cal-status {
  padding: 3px 8px;
  border-radius: 999px;
  background: #00ab3b;
  color: #fff;
}

.ta-cal.is-locked .ta-cal-status {
  color: #94a3b8;
}

.ta-lock {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d08a1a' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zM9 6a3 3 0 116 0v2H9V6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ta-cal-month {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ta-cal.is-live .ta-cal-month {
  color: #00ab3b;
}

.ta-cal.is-locked .ta-cal-month,
.ta-cal.is-locked h4,
.ta-cal.is-locked p:last-child {
  color: #94a3b8;
}

.ta-cal h4 {
  margin: 0 0 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #092242;
}

.ta-cal p:last-child {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #64748b;
}

/* ========== 5. Pathway ========== */
.ta-pathway {
  background: #eef2f6;
  padding: 80px 0 88px;
}

.ta-path-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px 40px;
  align-items: start;
  margin-bottom: 28px;
}

.ta-pathway h2 {
  font-family: Inter, system-ui, sans-serif;
}

.ta-pathway .ta-intro {
  max-width: 560px;
}

.ta-stats {
  display: flex;
  gap: 12px;
}

.ta-stat {
  width: 88px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(9, 34, 66, 0.06);
}

.ta-stat strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #092242;
  line-height: 1;
}

.ta-stat span {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.ta-acc {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(9, 34, 66, 0.07);
  overflow: hidden;
}

.ta-acc-item + .ta-acc-item {
  border-top: 1px solid #e8eef3;
}

.ta-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ta-year-badge {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
}

.ta-year-2 { background: #092242; }
.ta-year-3 { background: #00ab3b; }
.ta-year-4 { background: #3b82c4; }

.ta-year-badge b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.ta-year-badge small {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ta-acc-copy {
  display: grid;
  gap: 3px;
  flex: 1;
}

.ta-acc-copy small {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ta-acc-copy strong {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #092242;
}

.ta-plus {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1.5px solid #d5dde6;
  border-radius: 50%;
  position: relative;
}

.ta-plus::before,
.ta-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #092242;
  transform: translate(-50%, -50%);
}

.ta-plus::before {
  width: 12px;
  height: 1.5px;
}

.ta-plus::after {
  width: 1.5px;
  height: 12px;
}

.ta-acc-item.is-open .ta-plus::after {
  display: none;
}

.ta-acc-body {
  display: none;
  padding: 0 24px 22px 98px;
}

.ta-acc-item.is-open .ta-acc-body {
  display: block;
}

.ta-acc-body p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px !important;
}

.ta-chips span {
  padding: 5px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 0.78rem;
  font-weight: 600;
}

.ta-note {
  margin: 28px 0 0;
  text-align: center;
  color: #7b8794;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .ta-hero-grid,
  .ta-month-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ta-week-row,
  .ta-cal-row {
    grid-template-columns: 1fr 1fr;
  }

  .ta-path-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ta-hero,
  .ta-month,
  .ta-roadmap,
  .ta-schedule,
  .ta-pathway {
    padding: 48px 0;
  }

  .ta-wrap {
    width: min(100% - 28px, 1140px);
  }

  .ta-hero-actions,
  .ta-month-actions,
  .ta-start,
  .ta-start-btns {
    display: grid;
    width: 100%;
  }

  .ta-btn {
    width: 100%;
    white-space: normal;
  }

  .ta-week-row,
  .ta-cal-row {
    grid-template-columns: 1fr;
  }

  .ta-stats {
    width: 100%;
    justify-content: space-between;
  }

  .ta-stat {
    flex: 1;
    width: auto;
  }

  .ta-acc-btn {
    padding: 18px 16px;
    gap: 12px;
  }

  .ta-acc-body {
    padding: 0 16px 18px 16px;
  }

  .ta-acc-copy strong {
    font-size: 0.88rem;
  }

  .ta-month-frame img {
    aspect-ratio: 16 / 10;
  }
}
