/* Author page (Meet the Educator) - design v1. Scoped to body.la-page.
   Visual rules only. No classes, IDs or data attributes used by scripts are changed. */

.la-page {
  --la-ink: #1d1d1f;
  --la-muted: #6e6e75;
  --la-hair: #e0e0e6;
  --la-surface: #ffffff;
  --la-fill: #f3f3f7;
  --la-accent: #e8485c;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--la-ink);
  background-color: #f6f6f8 !important;
}

/* Breadcrumb */
.la-page .head-quick-links { max-width: 1312px; margin: 0 auto; padding: 24px 64px 0; box-sizing: border-box; }
.la-page .head-quick-links p { margin: 0; font-size: 13px; color: var(--la-muted); }

/* Educator card */
.la-page .author-card {
  max-width: 1312px; margin: 24px auto 0; padding: 40px; box-sizing: border-box;
  background: var(--la-surface); border: 1px solid var(--la-hair); border-radius: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
}
.la-page .author-card h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--la-ink); }
.la-page .author-card .dividing-line, .la-page .author-card .divider-line { border-top: 1px solid var(--la-hair); margin: 16px 0 28px; }
.la-page .author-card .row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; margin: 0; }
.la-page .author-card .row > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; }
.la-page .author-card img { width: 260px !important; height: 260px; object-fit: cover; border-radius: 22px; background: var(--la-fill); }
.la-page .author-card h4 { margin: 0 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--la-ink); }
.la-page .author-desc { font-size: 16px; line-height: 1.7; color: var(--la-muted); }
.la-page .author-desc p { margin: 0 0 12px; }

/* Lectures by this educator */
.la-page .author-books { max-width: 1312px; margin: 48px auto 0; padding: 0 0 64px; box-sizing: border-box; }
.la-page .author-books .sub-section { padding: 0; }
.la-page .author-books h5 { margin: 0 0 20px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--la-ink); }
.la-page .author-books .row {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; overflow: visible !important;
}
.la-page .author-books .row > [class*="col-"] {
  width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important;
}
.la-page .author-books a {
  display: block; height: 100%; background: var(--la-surface); border: 1px solid var(--la-hair); border-radius: 20px;
  padding: 14px; color: var(--la-ink) !important; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
}
.la-page .product-img { background: #f1eeec; border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.la-page .product-img img { width: 100%; height: auto; max-height: 180px; object-fit: contain; border-radius: 10px; }
.la-page .product-info { padding: 0 4px 4px; }
.la-page .product-info .line { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.la-page .product-info .text-bold { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--la-ink); }
.la-page .product-info .line img { width: 36px !important; height: 36px !important; flex: none; }
.la-page .product-info .fs13 { display: block; margin: 6px 0 12px; font-size: 13px; color: var(--la-muted); }
.la-page .price-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.la-page .price-info .d-flex { gap: 10px; align-items: baseline; }
.la-page .sp p { margin: 0; font-size: 16px; font-weight: 700; color: var(--la-ink); }
.la-page .cp p { margin: 0; font-size: 13px; color: var(--la-muted); }
.la-page .badge {
  display: inline-block; padding: 5px 10px; border-radius: 8px; background: var(--la-fill); color: var(--la-ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.la-page .badge-danger { background: #fdedef; color: var(--la-accent); }

/* Responsive */
@media (max-width: 1199.98px) {
  .la-page .author-books .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .la-page .head-quick-links, .la-page .author-card, .la-page .author-books { padding-left: 32px; padding-right: 32px; }
  .la-page .author-card { margin-top: 16px; }
  .la-page .author-card .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .la-page .author-card img { width: 200px !important; height: 200px; }
  .la-page .author-books .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .la-page .head-quick-links, .la-page .author-card, .la-page .author-books { padding-left: 16px; padding-right: 16px; }
  .la-page .author-card { padding: 24px 20px; border-radius: 22px; }
  .la-page .author-card h3 { font-size: 22px; }
  .la-page .author-books .row { grid-template-columns: minmax(0, 1fr); }
  .la-page .author-books h5 { font-size: 22px; }
}

/* Space for the sticky header: breadcrumb must start below it */
.la-page .head-quick-links { padding-top: var(--la-header-space, 120px); }
@media (max-width: 991.98px) { .la-page .head-quick-links { padding-top: 104px; } }
@media (max-width: 575.98px) { .la-page .head-quick-links { padding-top: 92px; } }

/* ---------- Spacing: header, content and footer (final) ---------- */
.la-page .section-1 { background: transparent !important; height: auto; padding: 0; }
.la-page .include-header { padding-top: 0 !important; }
.la-page .head-quick-links { padding-top: 40px; }
.la-page .author-books { padding-bottom: 80px; }
@media (max-width: 991.98px) { .la-page .head-quick-links { padding-top: 32px; } .la-page .author-books { padding-bottom: 64px; } }
@media (max-width: 575.98px) { .la-page .head-quick-links { padding-top: 24px; } .la-page .author-books { padding-bottom: 48px; } }

/* ---------- Header: not sticky on this page, so it never covers the content ---------- */
.la-page .sticky-nav { position: relative !important; top: auto !important; }
