/* ============================================================
   Clear Professional / Logistics English  — scope: .log
   Free-trial CTA is rendered globally via includes/free-trial-cta.php
   ============================================================ */
.log {
  --navy: #031B68;
  --btn: #1E2D6E;
  --purple: #6C4DA4;
  --teal: #158A9A;
  --gold: #C99A2E;
  --softpurple: #F1EDFB;
  --ink: #172033;
  --muted: #657084;
  --line: #DFE5EE;
  --canvas: #F4F6FA;
  --radius: 8px;
  --radius-sm: 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}
.log img { max-width: 100%; display: block; }

.log .course-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--purple);
  margin: 0 0 10px;
}

.log section { padding: 56px 0; }
.log .sec-alt { background: var(--canvas); }
.log .sec-title { font-size: 30px; font-weight: 700; color: var(--navy); margin: 0 0 14px; line-height: 1.3; }
.log .sec-lead { color: var(--ink); margin: 0 0 28px; font-size: 15px; }

.log .mt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.log a.mt-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.log a.mt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 27, 104, .08);
}

.log .btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: background .18s ease, color .18s ease;
}
.log .btn-primary {
  background: var(--btn);
  color: #fff;
  border: 1px solid var(--btn);
}
.log .btn-primary:hover { background: #16215A; color: #fff; text-decoration: none; }
.log .btn-ghost {
  background: transparent;
  color: var(--btn);
  border: 1px solid var(--btn);
}
.log .btn-ghost:hover { background: rgba(30, 45, 110, .06); text-decoration: none; }

.log .ph {
  border: 1px dashed #B9C2D4;
  border-radius: var(--radius);
  background: #FAFBFD;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.log .ph-43 { aspect-ratio: 4 / 3; }
.log .ph strong {
  display: block;
  color: var(--btn);
  font-size: 12px;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

/* ============ 1. HERO ============ */
.log .hero { padding: 52px 0 56px; border-bottom: 1px solid var(--line); }
.log .hero .course-breadcrumb { margin: 0 0 28px; }
.log .hero h1 {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 14px;
}
.log .hero p.lead { font-size: 16px; color: var(--ink); margin: 0 0 22px; }
.log .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.log .chips li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.log .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.log .hero-media { margin-top: 26px; }
.log .hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--canvas);
}

/* ============ 2. WHO IT'S FOR ============ */
.log .who-intro { max-width: 820px; margin: 0 0 22px; }
.log .check-list { list-style: none; margin: 0 0 22px; padding: 0; }
.log .check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.log .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}
.log .role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.log .role-chips li {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink);
}

/* ============ 3. WHAT YOU'LL BE ABLE TO DO ============ */
.log .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.log .skill { padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.log .skill-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: var(--softpurple);
  color: var(--btn);
  font-weight: 800;
  font-size: 15px;
  margin: 0;
}
.log .skill-jp {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 7px;
  line-height: 1.35;
}
.log .skill-body { font-size: 14.5px; color: var(--muted); margin: 0; grid-column: 1 / -1; }

/* ============ 4. HOW YOU'LL LEARN ============ */
.log .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.log .pillar-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  margin: 16px 0 4px;
}
.log .pillar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.log .pillar-body { font-size: 14px; color: var(--muted); margin: 0; }
.log .method-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.log .subtext-block {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
}
.log .subtext-block .cover-mini {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #EDF1F7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.log .subtext-block .cover-mini img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.log .sub-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  margin: 0 0 4px;
}
.log .sub-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.log .sub-body { font-size: 14px; color: var(--muted); margin: 0; }

/* ============ 5. CURRICULUM ============ */
#log-curriculum { scroll-margin-top: 24px; }
.log .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.log .step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.log .step-badge {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 999px;
}
.log .step-name { font-size: 17px; font-weight: 700; color: var(--navy); }
.log .mod {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.log .mod-no { font-size: 13px; font-weight: 700; color: var(--teal); }
.log .mod-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.log .mod-title span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.log .unit-detail {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.log .unit-detail-head { background: #fff; color: var(--navy); padding: 20px 24px 8px; }
.log .unit-detail-head strong { font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.log .unit-list { list-style: none; margin: 0; padding: 0; background: #fff; }
.log .unit-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.log .unit-list li:last-child { border-bottom: 0; }
.log .unit-list .l-no { font-size: 13px; font-weight: 700; color: var(--teal); }

/* ============ 6. SAMPLE MATERIALS ============ */
/* Edge-to-edge image with padded caption, matching accounting-english. */
.log .samp-card { padding: 0; overflow: hidden; }
.log p.log-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  background: var(--softpurple);
  border-radius: var(--radius);
  padding: 18px 20px;
  line-height: 1.65;
}
.log p.log-note--span { grid-column: 1 / -1; margin-top: 0; }
.log p.log-note strong { color: var(--navy); }

/* ============ 7. INSTRUCTORS ============ */
.log .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: var(--softpurple);
  color: var(--btn);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.log .tag--specialty { background: #E8F5F7; color: var(--teal); }

.log .grid-teach { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.log .t-tutor { padding: 22px; }
.log .t-tutor__head { display: flex; gap: 15px; align-items: center; margin-bottom: 12px; }
.log .t-tutor__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: block;
  border: 1px solid var(--line);
}
.log .t-tutor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.log .t-tutor__name { font-size: 18px; font-weight: 800; color: var(--navy); }
.log .t-tutor__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.log .t-tutor__b { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .log section { padding: 42px 0; }
  .log .hero { padding: 36px 0 42px; }
  .log .hero h1 { font-size: 26px; }
  .log .sec-title { font-size: 21px; }
  .log .grid-2 { grid-template-columns: 1fr; }
  .log .grid-3 { grid-template-columns: 1fr; }
  .log .grid-teach { grid-template-columns: 1fr; }
  .log .subtext-block { grid-template-columns: 1fr; }
  .log .subtext-block .cover-mini { max-width: 180px; }
  .log .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .log * { transition: none !important; }
}
