/* Course landing layout. The original typography and component skins are retained. */
.page.home > section.start { margin-top: clamp(64px, 8vw, 112px); }
.footer.footer-minimal { padding: 28px var(--page-horizontal-padding); }
.footer.footer-minimal .inner {
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #a9a4b2;
}
.footer.footer-minimal .footer-brand { flex-shrink: 0; }
.footer.footer-minimal .footer-brand img {
  display: block;
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer.footer-minimal a:hover { color: #fff; }
.page.home .hero-layout {
  display: block;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 100px);
}
.page.home .hero-layout > section.hero {
  position: relative;
  min-height: 0;
  min-width: 0;
}
.page.home .hero-layout > section.hero > .content {
  width: 100%;
  min-height: 0;
  justify-content: flex-start;
  padding: 24px 0 60px;
}
.page.home .hero-layout > .hero-course {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: calc(var(--page-top-padding) + 40px) 0 60px;
}
.page.home .hero-course .summary-column {
  display: block;
  min-width: 0;
}
.page.home .hero-course .summary-head { padding-inline: 0; }
.page.home .hero .location-highlight {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.page.home .hero .location-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #705df2, #b4a9ff);
  box-shadow: 0 0 8px rgba(112, 93, 242, .35);
}
.page.home section.said-molina .social-links .icon.instagram-logo { width:33px;height:33px; }
.page.home section.bruno-simon.said-molina .content { padding-top:32px; }
.page.home .hero-course .lesson.is-syllabus:hover .name .label { text-decoration: none; }
.page.home .hero-course section.summary {
  --navigation-width: 60px;
}
.page.home .hero-course section.summary .chapter-container {
  padding: 32px;
}
@media (max-width: 1080px) {
  .page.home .hero-layout {
    padding-inline: var(--page-horizontal-padding);
  }
  .page.home .hero-layout > section.hero { position: relative; }
  .page.home .hero-layout > section.hero > .content {
    max-width: 680px;
    min-height: 0;
    margin-inline: auto;
    padding: 20px 0 48px;
  }
  .page.home .hero-layout > .hero-course {
    max-width: 800px;
    margin-inline: auto;
    padding: 0 0 24px;
  }
}
@media (max-width: 600px) {
  .page.home .hero-layout > section.hero > .content { padding-top: 16px; }
  .page.home .hero-course section.summary { --navigation-width: 50px; }
  .page.home .hero-course section.summary .chapter-container { padding: 24px 18px; }
}
@media (max-width: 400px) {
  .page.home .hero-course section.summary .chapter-container { padding: 20px 14px; }
}

/* Desktop: a clear introduction, a course with its registration card,
   and two aligned cards for the author and community. */
@media (min-width: 1081px) {
  .page.home {
    --course-shell-width: min(1200px, calc(100% - 80px));
    --course-section-space: 88px;
  }
  .page.home .hero-layout,
  .page.home .course-about-layout,
  .page.home > section.start > .content {
    width: var(--course-shell-width);
    max-width: 1200px;
    margin-inline: auto;
  }
  .page.home .hero-layout { padding-inline: 0; }
  .page.home .hero-layout > section.hero > .content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    column-gap: clamp(40px, 5vw, 72px);
    row-gap: 40px;
    padding: 32px 0 80px;
  }
  .page.home .hero .content > .course-brand {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .page.home .hero .content > .top { grid-column: 1; }
  .page.home section.hero .content .author { margin-bottom: 24px; }
  .page.home section.hero .content .main-title {
    margin-bottom: 24px;
    font-size: clamp(44px, 4.25vw, 58px);
    line-height: 1.04;
  }
  .page.home section.hero .content .description { margin-bottom: 24px; }
  .page.home section.hero .content .description p { line-height: 1.65; }
  .page.home section.hero .content .separator {
    display: block;
    margin-bottom: 24px;
  }
  .page.home section.hero .content .students { margin-bottom: 0; }
  .page.home section.hero .content .video-price {
    grid-column: 2;
    width: 100%;
    max-width: 500px;
    justify-self: end;
    margin: 0 0 32px;
  }
  .page.home section.hero .content .video-price .info {
    top: auto;
    right: 24px;
    bottom: -48px;
    left: auto;
    width: auto;
    height: auto;
  }
  .page.home section.hero .content .video-price .info .inner { padding: 18px 24px 20px; }
  .page.home section.hero .content .video-price .info .price { font-size: 52px; }
  .page.home .hero-layout > .hero-course {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 32px;
    padding: 0;
  }
  .page.home .hero-course > .summary-head {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .page.home .hero-course .summary-head .section-title {
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1.12;
  }
  .page.home .hero-course .summary-head .section-description {
    max-width: 720px;
    margin-bottom: 0;
    line-height: 1.65;
  }
  .page.home .hero-course section.summary .navigation { border-radius: 14px 0 0 14px; }
  .page.home .hero-course section.summary .navigation .mover { top: 24px; }
  .page.home .hero-course section.summary .chapters { border-radius: 0 14px 14px 0; }
  .page.home .hero-course section.summary .chapter-container { padding: 32px; }
  .page.home .hero-course section.summary .chapter-container:first-child { border-top-right-radius: 14px; }
  .page.home .hero-course section.summary .chapter-container:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 14px;
  }
  .page.home .hero-course section.summary .chapter .section-title {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .page.home .hero-course section.summary .chapter .description { margin-bottom: 24px; }
  .page.home .hero-course > .course-reference-offers {
    position: sticky;
    top: 24px;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .page.home .course-reference-offers .offer {
    align-items: stretch;
    padding: 28px;
    gap: 12px;
    text-align: left;
  }
  .page.home .course-reference-offers .name {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 23px;
    line-height: 1.15;
  }
  .page.home .course-reference-offers .name .badge { margin: 0; }
  .page.home .course-reference-offers .covers { font-size: 15px; line-height: 1.65; }
  .page.home .course-reference-offers .price { margin-top: 8px; font-size: 42px; }
  .page.home .course-reference-offers .price .crossed {
    display: block;
    margin: 10px 0 0;
    font-size: 16px;
  }
  .page.home .course-reference-offers .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 12px 0;
    font-size: 15px;
    line-height: 1.5;
  }
  .page.home .course-reference-offers .button { min-width: 0; width: 100%; line-height: 1.4; }
  .page.home .course-about-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
    margin-top: var(--course-section-space);
  }
  .page.home .course-about-layout > section { min-width: 0; margin: 0; }
  .page.home section.bruno-simon.said-molina .content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: #191425;
    text-align: left;
  }
  .page.home section.said-molina .section-title,
  .page.home .course-about-layout .community .item .title {
    margin-bottom: 24px;
    font-size: 36px;
    line-height: 1.15;
  }
  .page.home section.said-molina .section-title .hand { width: 36px; height: 36px; }
  .page.home section.said-molina .description {
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    font-size: 18px;
  }
  .page.home section.said-molina .social-links { left: 0; margin-top: auto; }
  .page.home section.said-molina .social-links .link { width: 44px; align-items: flex-start; }
  .page.home section.said-molina .social-links .icon { margin-bottom: 0; }
  .page.home section.said-molina .social-links .course-instagram-glow {
    position: absolute;
    top: 43px;
    left: 16.5px;
    width: 70px;
    height: 24px;
    padding: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .page.home .course-about-layout .community .items { height: 100%; }
  .page.home .course-about-layout .community .item.is-discord {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 40px;
    text-align: left;
  }
  .page.home .course-about-layout .community .item .description { font-size: 18px; margin-bottom: 24px; }
  .page.home .course-about-layout .community .course-discord-button { margin-top: auto; }
  .page.home > section.start { margin-top: var(--course-section-space); }
  .page.home > section.start > .content { gap: 32px; padding: 48px; }
  .page.home > section.start .texts { min-width: 0; }
  .page.home > section.start .section-title { font-size: 42px; line-height: 1.15; }
  .page.home > section.start .section-sub-title { font-size: 20px; line-height: 1.5; margin: 0; }
  .page.home > section.start .join-group { flex-shrink: 0; }
  .page.home > section.start .illustration { left: 48px; }
  .footer.footer-minimal { padding: 32px 0; }
  .footer.footer-minimal .inner { width: min(1200px, calc(100% - 80px)); max-width: 1200px; margin-inline: auto; }
}
