.ll-course-instructor {
  --ll-instructor-photo-width: 280px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  color: var(--ll-ink, #172a43);
  background: #e8f1fb;
}
.ll-course-instructor::before {
  position: absolute;
  z-index: -1;
  top: -260px;
  left: 50%;
  width: min(820px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 166, 232, .2) 0, rgba(71, 166, 232, .08) 36%, transparent 70%);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}
.ll-course-instructor > .ll-wrap { position: relative; z-index: 1; }
.ll-course-instructor__intro { display: grid; justify-items: center; gap: clamp(22px, 3vw, 34px); margin: 0 auto clamp(34px, 4vw, 52px); }
.ll-course-instructor .ll-course-instructor__portrait {
  position: relative;
  width: clamp(140px, var(--ll-instructor-photo-width), 380px);
  max-width: 100%;
  margin: 0 auto;
}
.ll-course-instructor__portrait::before {
  position: absolute;
  z-index: -1;
  inset: 8% -14% -10%;
  border-radius: 46%;
  background: radial-gradient(circle, rgba(64, 164, 232, .38), transparent 67%);
  filter: blur(22px);
  content: "";
}
.ll-course-instructor__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(4, 24, 47, .3);
  object-fit: contain;
}
.ll-course-instructor__intro.has-heading {
  width: fit-content;
  max-width: 100%;
}
.ll-course-instructor__intro.has-heading .ll-course-instructor__portrait {
  /* A largura intrínseca da imagem deixa de definir a grelha: o título passa
     a ser a referência e qualquer retrato acompanha exatamente o texto. */
  width: 0;
  min-width: 100%;
  max-width: none;
}
.ll-course-instructor__portrait.is-background-removed img {
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ll-course-instructor__portrait.is-circle img { aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; }
.ll-course-instructor__heading {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.ll-course-instructor__title-first { color: var(--ll-navy-900, #0a2342); }
.ll-course-instructor__title-second { color: var(--ll-blue-600, #0878d1); }
.ll-course-instructor__card {
  width: 100%;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--ll-line, #dceaf5);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(16, 54, 92, .11);
  overflow-wrap: anywhere;
}
.ll-course-instructor__name { margin: 0 0 8px; color: var(--ll-blue-700, #0b5cab); font-size: clamp(22px, 2.5vw, 29px); font-weight: 780; line-height: 1.2; letter-spacing: -.02em; }
.ll-course-instructor__profession { margin: 0 0 24px; color: var(--ll-muted, #5f7287); font-size: 15px; font-weight: 600; line-height: 1.5; }
.ll-course-instructor__biography { color: var(--ll-ink, #172a43); font-size: 17px; line-height: 1.72; }
.ll-course-instructor__biography p { margin: 0 0 1em; }
.ll-course-instructor__biography > :last-child { margin-bottom: 0; }
.ll-course-instructor__biography ul, .ll-course-instructor__biography ol { padding-left: 1.4em; }
.ll-course-instructor__biography h3, .ll-course-instructor__biography h4 { margin: 1em 0 .5em; color: inherit; line-height: 1.3; }
.ll-course-instructor__biography a { text-decoration: underline; text-underline-offset: 3px; }
.ll-course-instructor__biography blockquote { margin: 1em 0; padding-left: 1em; border-left: 3px solid var(--ll-blue-200, #bde4fa); }
.ll-course-instructor__credentials { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--ll-line, #dceaf5); }
.ll-course-instructor__linkedin, .ll-course-instructor__ccp { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.5; }
.ll-course-instructor__linkedin { min-height: 44px; color: var(--ll-blue-700, #0b5cab); text-decoration: none; font-weight: 700; }
.ll-course-instructor__linkedin:hover { text-decoration: underline; text-underline-offset: 4px; }
.ll-course-instructor__linkedin:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 3px; }
.ll-course-instructor__credentials svg { width: 22px; height: 22px; flex: 0 0 22px; }
.ll-course-instructor__ccp { color: var(--ll-muted, #5f7287); }

.ll-course-instructor--brand { color: #f5f9ff; background: linear-gradient(145deg, #061a32 0%, #0a2d55 58%, #0b3e73 100%); }
.ll-landing--professional .ll-course-instructor--brand { background: linear-gradient(145deg, #061f2d 0%, #0a3747 58%, #0b5562 100%); }
.ll-landing--aec .ll-course-instructor--brand { background: linear-gradient(145deg, #1e1633 0%, #38235c 58%, #593587 100%); }
.ll-course-instructor--brand::before { background: radial-gradient(circle, rgba(67, 172, 240, .3) 0, rgba(47, 133, 204, .12) 35%, transparent 70%); }
.ll-landing--professional .ll-course-instructor--brand::before { background: radial-gradient(circle, rgba(99, 218, 194, .28) 0, rgba(62, 164, 154, .1) 35%, transparent 70%); }
.ll-course-instructor--brand .ll-course-instructor__title-first { color: #fff; }
.ll-course-instructor--brand .ll-course-instructor__title-second { color: #66c5ff; }
.ll-landing--professional .ll-course-instructor--brand .ll-course-instructor__title-second { color: #78dfc7; }
.ll-course-instructor--brand .ll-course-instructor__card { border-color: rgba(172, 219, 251, .28); background: rgba(3, 20, 39, .72); box-shadow: 0 34px 84px rgba(0, 9, 24, .34); backdrop-filter: blur(10px); }
.ll-landing--professional .ll-course-instructor--brand .ll-course-instructor__card { border-color: rgba(151, 229, 212, .28); background: rgba(3, 28, 35, .74); }
.ll-course-instructor--brand .ll-course-instructor__name, .ll-course-instructor--brand .ll-course-instructor__linkedin { color: #70c9ff; }
.ll-landing--professional .ll-course-instructor--brand .ll-course-instructor__name, .ll-landing--professional .ll-course-instructor--brand .ll-course-instructor__linkedin { color: #7ee2ca; }
.ll-course-instructor--brand .ll-course-instructor__biography { color: #edf6ff; }
.ll-course-instructor--brand .ll-course-instructor__profession, .ll-course-instructor--brand .ll-course-instructor__ccp { color: #c4d8e9; }
.ll-course-instructor--brand .ll-course-instructor__credentials { border-color: rgba(172, 219, 251, .24); }

.ll-landing--formation .ll-course-instructor--light { background: #e8f1fb; }
.ll-landing--professional .ll-course-instructor--light { background: #e4f2ec; }
.ll-landing--aec .ll-course-instructor--light { background: #f0e8f8; }
.ll-course-instructor--dark { background: #101b2a; }
.ll-course-instructor--dark .ll-course-instructor__title-first { color: #f6f9ff; }
.ll-course-instructor--dark .ll-course-instructor__title-second { color: var(--ll-blue-200, #bde4fa); }
.ll-course-instructor--dark .ll-course-instructor__card { border-color: #34465d; background: #0b1421; }
.ll-course-instructor--dark .ll-course-instructor__name, .ll-course-instructor--dark .ll-course-instructor__linkedin { color: var(--ll-blue-200, #bde4fa); }
.ll-course-instructor--dark .ll-course-instructor__biography { color: #e0e7f0; }
.ll-course-instructor--dark .ll-course-instructor__profession, .ll-course-instructor--dark .ll-course-instructor__ccp { color: #bbc9d9; }
.ll-course-instructor--dark .ll-course-instructor__credentials { border-color: #34465d; }
.ll-course-instructor__notice { padding: 12px 16px; margin: 0 0 24px; border: 1px dashed #83a3c2; border-radius: 8px; background: #eaf5ff; color: #173550; font-size: 13px; }

@media (max-width: 767px) {
  .ll-course-instructor { padding: 56px 0 64px; }
  .ll-course-instructor__intro { margin-bottom: 30px; }
  .ll-course-instructor__biography { font-size: 16px; line-height: 1.65; }
  .ll-course-instructor__credentials { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ll-course-instructor__portrait img { transition: none; }
}
