@media (min-width: 769px) {
  .cabin-crew-page #wrap { min-width: 0; }
  .cabin-crew-page #container { width: 100%; max-width: none; padding: 0; }
}
.cabin-crew-page .cc { margin-bottom: 0; }
.cc a:not([class*="cc-btn"]) { color: inherit; }
.cc-btn--primary,
.cc-btn--primary:link,
.cc-btn--primary:visited {
  background: var(--mt-navy-800, #1e2d6e);
  border: 1px solid var(--mt-navy-800, #1e2d6e);
  color: #fff;
}
.cc-btn--primary:hover {
  background: #2d3f94;
  border-color: #2d3f94;
  color: #fff;
  text-decoration: none;
}
.cc-shot-link { display: block; cursor: zoom-in; text-decoration: none; }
.cc-shot-link:hover .cc-shot { opacity: 0.92; }
.cc-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: opacity 0.15s ease;
}
.cc-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
}
.cc-tutor__photo { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.cc-tutor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.cc p.cc-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  background: var(--purple-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  line-height: 1.65;
}
.cc p.cc-note--span { grid-column: 1 / -1; margin-top: 0; }
.cc p.cc-sample__cap {
  padding: 18px 20px 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.cc p.cc-sample__cap strong { color: var(--ink); font-weight: 700; }


/* =========================================================================
   MyTutor — Cabin Crew English (Practical) course page
   Built to the "Clear Professional" design guidelines.
   Scoped under .cc so it is safe to drop into a WordPress Custom HTML block.
   Tokens use the official names/values. The .mt-card and .tag utilities mirror
   the shared spec exactly — if css/main.css is already loaded on the host page,
   the inlined copies below can be removed and the shared classes relied upon.
   ========================================================================= */

.cc {
  /* --- official core tokens --- */
  --ink: #172033;
  --muted: #657084;
  --line: #DFE5EE;
  --paper: #FFFFFF;
  --canvas: #F4F6FA;
  --navy-950: #031B68;
  --navy-800: #1E2D6E;
  --navy-700: #263A8A;
  --purple-700: #6C4DA4;
  --purple-100: #F1EDFB;
  --teal-600: #158A9A;
  --gold-500: #C99A2E;
  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow-soft: 0 14px 40px rgba(20, 32, 62, 0.12);
  --shadow-tight: 0 8px 24px rgba(20, 32, 62, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  color-scheme: light;            /* keep the intended light palette in dark-mode OS */
  box-sizing: border-box;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.cc *, .cc *::before, .cc *::after { box-sizing: inherit; }
.cc p, .cc h1, .cc h2, .cc h3, .cc ul, .cc ol, .cc figure { margin: 0; padding: 0; }
.cc ul, .cc ol { list-style: none; }
.cc img { max-width: 100%; display: block; }
.cc a { color: inherit; }

/* ---------- shared utilities (mirror of css/main.css) ---------- */
.cc .mt-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(3, 27, 104, 0.12);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-tight);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.cc .mt-card:hover {
  border-color: rgba(3, 27, 104, 0.22);
  box-shadow: 0 12px 28px rgba(20, 32, 62, 0.14);
}
.cc .tag {
  display: inline-flex; align-items: center;
  padding: 4px 9px; border: 0; border-radius: 999px;
  background: var(--purple-100); color: var(--navy-800);
  font-size: 10.5px; font-weight: 700; line-height: 1.25; white-space: nowrap;
}
.cc .tag--specialty { background: #E8F5F7; color: var(--teal-600); }

/* ---------- layout primitives ---------- */
.cc-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.cc-section { padding: 56px 0; }
.cc-section--canvas { background: var(--canvas); }
.cc-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple-700); display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
}
.cc-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple-700); display: inline-block; }
.cc-h2 { font-size: 25px; line-height: 1.3; font-weight: 700; color: var(--navy-950); margin-bottom: 14px; }
.cc-lead { color: var(--muted); font-size: 16px; max-width: 62ch; }

/* ---------- buttons & links ---------- */
.cc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; padding: 13px 24px; border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease;
}
.cc-btn--primary { background: var(--navy-800); color: #fff; border: 1px solid var(--navy-800); }
.cc-btn--primary:hover { background: var(--navy-950); border-color: var(--navy-950); }
.cc-btn--ghost,
.cc-btn--ghost:link,
.cc-btn--ghost:visited {
  background: transparent;
  color: var(--mt-navy-800, #1e2d6e);
  border: 1.5px solid var(--mt-line, #dfe5ee);
}
.cc-btn--ghost:hover {
  border-color: var(--mt-navy-800, #1e2d6e);
  color: var(--mt-navy-800, #1e2d6e);
  text-decoration: none;
}
.cc p.cc-note strong { color: var(--navy-950); }
.cc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cc-textlink {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color .16s ease;
}
.cc-textlink:hover { color: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- placeholder media ---------- */
.cc-ph {
  background: var(--canvas);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; padding: 18px; color: var(--muted);
}
.cc-ph__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-700); }
.cc-ph__label { font-size: 13px; line-height: 1.5; }
.cc-ph--43 { aspect-ratio: 4 / 3; }
.cc-ph--media { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.cc-ph--photo { width: 84px; height: 84px; border-radius: 50%; flex: none; padding: 8px; }

/* ============================ 1. HERO ============================ */
.cc-hero { background: var(--canvas); padding: 38px 0 46px; }
.cc-brand { font-size: 13px; font-weight: 700; color: var(--navy-800); margin-bottom: 20px; }
.cc-hero__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-700); }
.cc-hero__title { font-size: 30px; line-height: 1.22; font-weight: 700; color: var(--navy-950); margin: 10px 0 6px; }
.cc-hero__title-en { display: block; font-size: 16px; font-weight: 700; color: var(--purple-700); margin-top: 6px; }
.cc-hero__lead { color: var(--muted); font-size: 16px; margin-bottom: 20px; max-width: 56ch; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cc-chip { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.cc-hero__media { margin-top: 26px; }

/* ============================ shared section content ============================ */
.cc-grid { display: grid; gap: 14px; margin-top: 22px; }

.cc-feat { padding: 22px; }
.cc-feat__num {
  width: 30px; height: 30px; border-radius: var(--radius-md); background: var(--purple-100); color: var(--navy-800);
  font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.cc-feat__h { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--navy-950); margin-bottom: 7px; }
.cc-feat__b { font-size: 14.5px; color: var(--muted); }

/* scene rows (who it's for) */
.cc-scenes { display: grid; gap: 12px; margin: 20px 0; }
.cc-scene {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md); padding: 15px 18px; font-weight: 600; font-size: 15px;
}
.cc-scene__i { color: var(--teal-600); font-weight: 800; flex: none; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* pillars */
.cc-pillar__body { padding: 20px 22px; }
.cc-pillar__k { font-size: 13px; font-weight: 800; color: var(--purple-700); margin-bottom: 8px; }
.cc-pillar__h { font-size: 17px; font-weight: 700; color: var(--navy-950); margin-bottom: 7px; line-height: 1.4; }
.cc-pillar__b { font-size: 14.5px; color: var(--muted); }

.cc-note {
  margin-top: 18px; font-size: 14px; color: var(--muted);
  background: var(--purple-100); border-radius: var(--radius-md); padding: 16px 18px;
}
.cc-note strong { color: var(--navy-950); }

/* curriculum */
.cc-step { margin-top: 22px; }
.cc-step__label {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #fff;
  background: var(--navy-800); padding: 4px 11px; border-radius: var(--radius-sm); margin-bottom: 6px;
}
.cc-step__title { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.cc-modlist { display: grid; gap: 9px; }
.cc-mod {
  display: flex; gap: 12px; align-items: baseline;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 13px 16px;
}
.cc-mod__n { font-weight: 800; color: var(--navy-700); font-size: 14px; flex: none; min-width: 78px; }
.cc-mod__t { font-size: 14.5px; font-weight: 600; }
.cc-mod__t span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.cc-mod--tbd { border-style: dashed; }
.cc-mod--tbd .cc-mod__t { color: var(--muted); font-weight: 500; }

.cc-deepdive { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.cc-deepdive__h { font-size: 14.5px; font-weight: 700; color: var(--navy-950); margin-bottom: 14px; line-height: 1.5; }
.cc-deepdive__h span { color: var(--purple-700); }
.cc-lessons { display: grid; gap: 8px; }
.cc-lesson { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; }
.cc-lesson__n {
  flex: none; width: 24px; height: 24px; border-radius: var(--radius-sm); background: var(--purple-100);
  color: var(--navy-800); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.cc-lesson__t span { color: var(--muted); }

/* samples */
.cc-sample__cap { padding: 14px 18px; font-size: 13.5px; color: var(--muted); }
.cc-sample__cap strong { color: var(--ink); font-weight: 700; }

/* instructors */
.cc-tutor { padding: 22px; }
.cc-tutor__head { display: flex; gap: 15px; align-items: center; margin-bottom: 12px; }
.cc-tutor__name { font-size: 18px; font-weight: 800; color: var(--navy-950); }
.cc-tutor__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.cc-tutor__b { font-size: 14.5px; color: var(--muted); }
.cc-tutor--tbd { border-style: dashed; }

/* free trial CTA */
.cc-trial { background: var(--purple-100); text-align: center; }
.cc-trial__h { font-size: 25px; line-height: 1.3; font-weight: 700; color: var(--navy-950); margin-bottom: 8px; }
.cc-trial__sub { font-size: 15px; color: var(--purple-700); font-weight: 600; margin-bottom: 18px; }
.cc-trial__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 24px; }
.cc-trial__list li { font-size: 14px; color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.cc-trial__list li::before { content: "✓"; color: var(--teal-600); font-weight: 800; }
.cc-trial__after { margin-top: 16px; }

/* footer */
.cc-foot { padding: 26px 0; text-align: center; font-size: 13px; color: var(--muted); background: var(--canvas); }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .cc-section { padding: 72px 0; }
  .cc-hero { padding: 48px 0 56px; }
  .cc-hero__title { font-size: 44px; }
  .cc-hero__title-en { font-size: 18px; }
  .cc-h2 { font-size: 30px; }
  .cc-trial__h { font-size: 30px; }
  .cc-grid--2 { grid-template-columns: 1fr 1fr; }
  .cc-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .cc-scenes { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cc * { transition: none !important; } }
.cc :where(a, button):focus-visible { outline: 3px solid var(--navy-700); outline-offset: 2px; border-radius: 6px; }
#cc-curriculum { scroll-margin-top: 24px; }
