.ao-page-corsi-esoterici .inner-hero{--hero-image:url("assets/celestial-hero.webp")}
.courses-hero,.courses-hero .hero-inner{min-height:450px}
.courses-hero .hero-inner{padding-top:64px;padding-bottom:56px}
.courses-hero .hero-copy{width:min(760px,68%);padding:0}
.courses-hero .hero-copy h1{font-size:clamp(34px,3.7vw,54px);line-height:1.12;max-width:22ch}
.courses-hero .hero-copy>p:not(.eyebrow){max-width:66ch;line-height:1.85;color:var(--muted);font-size:16px}
.courses-hero::after{background:linear-gradient(90deg,#050713f7 0%,#050713d9 40%,#05071355 78%),linear-gradient(0deg,#050713e6,transparent 45%)}
.ao-internal-page .courses-hero .hero-actions{display:flex!important;flex-wrap:wrap;gap:12px;margin-top:24px}
.courses-hero .breadcrumbs p{font-size:13px;color:var(--muted);line-height:1.7}
/* Reserved slot for the enrolment form: hidden until a block is placed inside it. */
.courses-form{padding:36px 0 20px;scroll-margin-top:100px}
.courses-form-intro{max-width:85ch;margin:0 auto 24px;color:var(--muted);font-size:16px;line-height:1.85;text-align:center}
.courses-form-slot{margin:0;padding:clamp(22px,4vw,42px);border:1px solid var(--line);border-radius:14px;background:radial-gradient(ellipse at 80% 0%,#34234255,transparent 60%),linear-gradient(135deg,#17162a,#0d1123);font-family:var(--sans)}
.courses-form-slot:empty{display:none}
/* The shared quick-nav overlaps the hero with a negative margin; here it follows the form. */
.quick-nav.courses-quick-nav{margin-top:0;padding-top:28px}
.courses-quick-grid .quick-card:nth-child(1){--card-image:url("assets/cards/astrology-natal.webp")}
.courses-quick-grid .quick-card:nth-child(2){--card-image:url("assets/cards/tarot-mazzo.webp")}
.courses-quick-grid .quick-card:nth-child(3){--card-image:url("assets/cards/tarot-lettura.webp")}
.courses-quick-grid .quick-card:nth-child(4){--card-image:url("assets/cards/tools-matrice.webp")}
.courses-article-layout{padding-top:54px}
.courses-article-layout .article-content,.courses-article-layout .article-section{min-width:0;max-width:100%}
.courses-article-layout .article-section>p,.courses-article-layout .article-section li{font-size:16px;line-height:1.95;color:var(--muted)}
.courses-article-layout .article-section li strong{color:var(--ink);font-weight:600}
.courses-article-layout .article-section h3{font-family:var(--serif);font-weight:400;line-height:1.4}
.courses-article-layout [id]{scroll-margin-top:100px}
.courses-index-title{margin:0 0 20px;color:var(--gold-bright);font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.courses-article-layout .toc a{font-size:13px;line-height:1.65}
.courses-aside-cta{margin-top:24px;width:100%;font-size:12px;white-space:normal;text-align:center}
@media(max-width:1000px){.courses-hero .hero-copy{width:min(760px,85%)}}
@media(max-width:760px){.courses-hero,.courses-hero .hero-inner{min-height:0}.courses-hero .hero-inner{padding-top:44px;padding-bottom:44px}.courses-hero .hero-copy{width:100%}.courses-hero::after{background:linear-gradient(90deg,#050713f2,#050713bb),linear-gradient(0deg,#050713e6,transparent 50%)}.courses-hero .eyebrow{font-size:10px;letter-spacing:.11em}.courses-hero .hero-copy h1{font-size:33px}.courses-form{padding-top:26px}.courses-form-slot{padding:24px 16px}.courses-article-layout{padding-top:36px}}
