/* Narrow additions. All colors, fonts and component proportions inherit the current Academy website. */
/* The expanded details panel must flow above the existing sidebar photos. */
.course-sidebar #course-details { position: relative; top: auto; }
.course-dates-panel { margin: 0 0 26px; font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--stone); scroll-margin-top: 115px; }
.course-dates-panel h3 { margin-bottom: 12px; }
.course-dates-year { margin-bottom: 10px; }
.date-intake { border-top: 1px solid var(--line); }
.date-intake:last-child { border-bottom: 1px solid var(--line); }
.date-intake summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 0; list-style: none; cursor: pointer; font: inherit; color: inherit; }
.dates-toggle { display: inline-flex; align-items: center; justify-self: end; gap: 8px; flex: 0 0 auto; white-space: nowrap; font-size: 15px; color: var(--rose-deep); }
.date-intake summary::-webkit-details-marker, .schedule-course summary::-webkit-details-marker { display: none; }
.date-intake svg, .schedule-course svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--rose-deep); transition: transform 160ms ease; }
.date-intake[open] > summary svg, .schedule-course[open] > summary svg { transform: rotate(180deg); }
.intake-body { padding-bottom: 14px; }
.intake-body p + p { margin-top: 8px; }
.dates-link { display: inline-block; padding: 10px 0; font-size: 15px; line-height: 1.7; }
.schedule-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.schedule-disclaimer { margin-top: 16px; color: var(--stone); font-size: 15px; }
.schedule-jump { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 24px; }
.schedule-jump a, .schedule-jump a:visited { display: inline-block; padding: 10px 0; font-size: 15px; color: var(--rose-deep); text-decoration: underline; text-underline-offset: 5px; }
.schedule-section { scroll-margin-top: 85px; }
.schedule-section + .schedule-section { padding-top: 0; }
.schedule-list { border-top: 1px solid var(--line); }
.schedule-course { border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.schedule-course > summary { list-style: none; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; min-height: 82px; padding: 22px 0; cursor: pointer; }
.schedule-course-name { font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 300; line-height: 1.15; color: var(--plum); }
.schedule-course-body { padding: 0 0 24px; color: var(--stone); font-size: 15px; }
.schedule-cohort { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 16px; padding: 10px 0; }
.cohort-start { color: var(--charcoal); }
.cohort-dates time { white-space: nowrap; }
.nail-art-group { margin-top: 40px; padding: 0 0 0 24px; border-left: 1px solid var(--line); scroll-margin-top: 110px; }
.nail-art-heading { margin-bottom: 24px; }
.nail-art-heading h3 { margin-bottom: 8px; font-size: 28px; color: var(--plum); }
.nail-art-heading p { font-size: 15px; color: var(--stone); }
/* Reuse the site's existing mobile menu before the longer navigation gets crowded. */
@media (min-width: 621px) and (max-width: 960px) {
  .nav-inner { height: 64px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ivory); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--line); gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .nav-links li:last-child { margin-top: 12px; }
  .nav-cta { padding: 13px 26px; }
  .menu-toggle { display: block; }
  .nav .logo-img { width: 100px; height: auto; }
}
@media (max-width: 620px) {
  .schedule-course > summary { gap: 18px; }
  .schedule-course-name { font-size: 24px; }
  .schedule-cohort { padding-block: 12px; }
  .nail-art-group { margin-top: 32px; padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .date-intake svg, .schedule-course svg { transition: none; } }

.dates-link, .dates-link:visited { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 4px; }
.dates-link:hover { color: var(--charcoal); }
.date-intake summary:focus-visible, .schedule-course summary:focus-visible, .dates-link:focus-visible, .schedule-jump a:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 4px; }
