.course-hero {
  color: var(--cream);
  background: linear-gradient(90deg, #26150e 40%, #26150ed8 69%, #26150e78),
    #26150e url("espresso-italien.webp") right 43% / min(62rem, 70%) auto no-repeat;
}
.course-hero-inner { padding-block: 1.35rem 3.1rem; }
.breadcrumbs { gap: .6rem; color: #e4c4ab; font-size: .9rem; margin-bottom: 1.6rem; }
.course-hero h1 { max-width: 53rem; margin: 0 0 .9rem; font-size: clamp(2.45rem, 5.2vw, 5rem); letter-spacing: -.065em; line-height: 1.02; }
.course-hero .eyebrow { margin-bottom: .65rem; }
.course-summary { max-width: 40rem; font-size: 1.12rem; color: #f4e3d3; }
.course-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem; }
.detail-wrap { padding-block: 2.5rem 3.25rem; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem); gap: clamp(1.5rem, 5vw, 5rem); }
.course-copy { max-width: 49rem; min-width: 0; }
.course-copy section + section { margin-top: 2.2rem; }
.course-copy h2, .course-facts h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .7rem; letter-spacing: -.04em; }
.course-copy p { line-height: 1.7; }
.course-copy a { color: #733713; text-decoration-thickness: 1px; text-underline-offset: .18rem; }
.course-copy details { padding: .8rem 0; }
.course-comparison { width: 100%; border-collapse: collapse; background: var(--cream); }
.course-comparison th, .course-comparison td { padding: .8rem .9rem; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.course-comparison thead { background: #efddcb; }
.course-comparison tbody th { width: 43%; font-weight: 680; }
.course-comparison .is-current th, .course-comparison .is-current td { background: #f5e4d1; }
.course-comparison .is-current th { box-shadow: inset 3px 0 var(--rust); }
.comparison-current { display: block; width: fit-content; margin: .2rem 0; font-size: .85rem; color: #793713; }
.comparison-goal { display: block; margin-top: .25rem; color: var(--muted); font-weight: 450; }
.home-exercise { padding: 1.1rem 1.25rem; background: var(--cream); border: 1px solid var(--line); border-radius: .65rem; }
.home-exercise h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.home-exercise ol { margin: 0; padding-inline-start: 1.35rem; }
.home-exercise li + li { margin-top: .55rem; }
.course-facts { align-self: start; padding: 1.35rem; border: 1px solid var(--line); background: var(--cream); border-radius: .75rem; }
.course-facts p { margin: .65rem 0 0; }
.fact-list { display: block; margin: 0; }
.fact-list div { display: grid; grid-template-columns: minmax(6rem, auto) 1fr; gap: .4rem 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.fact-list dd { text-align: right; overflow-wrap: anywhere; }
.participation-note { color: var(--muted); font-size: .9rem; }
.course-related { margin-top: 2.5rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.course-related h2 { margin-bottom: 1.15rem; }
.course-related h3 a { text-decoration: none; }
.course-related h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.all-courses-link { display: inline-block; text-decoration: none; }
.catalogue-nav { flex-wrap: wrap; gap: .7rem 1.2rem; }
.catalogue-nav a { text-decoration: underline; text-underline-offset: .19em; }
.footer-discovery { align-items: baseline; }
.footer-discovery > div { display: flex; gap: .5rem 1rem; flex-wrap: wrap; }
.mobile-offer { display: none; }
@media (max-width: 800px) {
  .course-hero { background-image: linear-gradient(90deg, #26150e 27%, #26150edd 70%, #26150ebf), url("espresso-italien.webp"); }
  .course-layout { grid-template-columns: 1fr; }
  .course-facts { grid-row: 1; }
  .mobile-offer-ready { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .mobile-offer:not([hidden]) {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem;
    position: fixed; z-index: 4; inset: auto 0 0;
    padding: .65rem max(.7rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.7rem, env(safe-area-inset-left));
    background: var(--dark); color: var(--cream);
    box-shadow: 0 -4px 22px #26150e45;
    animation: slide-offer .16s ease-out;
  }
  .mobile-offer span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 700; line-height: 1.2; }
  .mobile-offer .button { font-size: .875rem; min-height: 44px; padding-inline: .65rem; }
}
@keyframes slide-offer { from { opacity: 0; transform: translateY(.45rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-offer { animation: none !important; } }
@media (max-width: 420px) {
  .course-comparison th, .course-comparison td { padding: .55rem; }
  .course-comparison { font-size: .9rem; }
}

.location-comparison tbody th { width: 32%; }
.location-comparison td:last-child { width: 21%; }
.location-shared { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; font-weight: 400; }
.course-facts p a { color: #733713; text-underline-offset: .18rem; }
@media (max-width: 500px) {
  .location-comparison { table-layout: fixed; overflow-wrap: anywhere; }
  .location-comparison th, .location-comparison td { padding: .45rem; }
  .location-comparison td:last-child { width: 23%; }
}

.location-hero { background: #26150e; }
.location-hero .course-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
}
.location-hero h1 { font-size: clamp(2.25rem, 4.25vw, 4.25rem); overflow-wrap: anywhere; }
.location-image { margin: 0; width: 100%; max-width: 31rem; justify-self: end; }
.location-image img { display: block; width: 100%; height: auto; border-radius: .7rem; }
.location-image figcaption { margin-top: .35rem; color: #ead5bf; font-size: .85rem; }
@media (max-width: 740px) {
  .location-hero .course-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .location-image { justify-self: start; }
}
