:root {
  --navy: #082b5c;
  --blue: #0a4c9a;
  --azure: #23a6d5;
  --sky: #dff4fb;
  --ice: #f4f9fc;
  --ink: #13233b;
  --muted: #5e6f84;
  --line: #d9e3ec;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 43, 92, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", system-ui, sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.utility-bar { color: #dcecff; background: var(--navy); font-size: .84rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner a { text-decoration: none; }
.utility-inner a:hover { text-decoration: underline; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(217,227,236,.85); backdrop-filter: blur(14px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--azure)); border-radius: 13px; font-family: "Manrope", sans-serif; font-size: 1.3rem; font-weight: 800; }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-family: "Manrope", sans-serif; font-size: 1.04rem; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 23px; }
.nav-links > a:not(.button) { color: #314157; font-size: .93rem; font-weight: 600; text-decoration: none; }
.nav-links > a:not(.button):hover { color: var(--blue); }
.menu-button { display: none; border: 1px solid var(--line); padding: 9px 13px; color: var(--ink); background: var(--white); border-radius: 10px; font: inherit; font-weight: 700; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 21px; color: var(--white); background: var(--blue); border: 1px solid var(--blue); border-radius: 11px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { background: var(--navy); border-color: var(--navy); box-shadow: 0 10px 26px rgba(10,76,154,.2); transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 8px 15px; font-size: .9rem; }
.button-ghost { color: var(--blue); background: transparent; border-color: #afc9e1; }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-gold { color: var(--navy); background: #e6bd57; border-color: #e6bd57; }
.button-gold:hover { color: var(--white); background: #b8871e; border-color: #b8871e; }

.hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: radial-gradient(circle at 82% 18%, rgba(35,166,213,.22), transparent 28%), linear-gradient(135deg, #eef8fc 0%, #fff 52%, #edf5fb 100%); }
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; left: -170px; bottom: -250px; border: 1px solid rgba(10,76,154,.15); border-radius: 50%; box-shadow: 0 0 0 65px rgba(10,76,154,.035), 0 0 0 130px rgba(10,76,154,.02); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .75fr; align-items: center; gap: 70px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; line-height: 1.12; letter-spacing: -.03em; }
h1 { max-width: 800px; margin-bottom: 24px; color: var(--navy); font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { margin-bottom: 12px; font-size: 1.3rem; }
.hero-lead { max-width: 720px; margin: 0 0 30px; color: #465970; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding-top: 15px; border-top: 2px solid #c9ddeb; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { color: var(--navy); }
.hero-facts span { margin-top: 5px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.hero-panel { padding: 31px; color: var(--white); background: linear-gradient(160deg, var(--navy), #0a4c8a); border-radius: 26px; box-shadow: var(--shadow); }
.hero-panel .panel-label { margin: 0 0 8px; color: #a7dff1; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-panel h2 { margin-bottom: 20px; color: var(--white); font-size: 1.65rem; }
.hero-panel a { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.18); color: #eff7ff; text-decoration: none; }
.hero-panel a:hover { color: #9ce9ff; }
.hero-panel a span { display: grid; width: 28px; height: 28px; place-items: center; flex: 0 0 auto; color: var(--navy); background: var(--white); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.hero-visual { position: relative; height: clamp(300px, 36vw, 470px); margin-top: 56px; overflow: hidden; background: #dcecf6; border: 1px solid rgba(8,43,92,.12); border-radius: 28px; box-shadow: 0 24px 60px rgba(8,43,92,.16); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,43,92,.16), transparent 42%, rgba(8,43,92,.05)); pointer-events: none; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; z-index: 1; left: 26px; bottom: 24px; max-width: calc(100% - 52px); padding: 11px 16px; color: var(--white); background: rgba(8,43,92,.88); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(8px); }
.hero-visual.institutional-banner { height: auto; aspect-ratio: 3 / 1; background: #fff; }
.hero-visual.institutional-banner::after { display: none; }
.hero-visual.institutional-banner img { object-fit: contain; }

.section { padding: 92px 0; }
.intro-section { background: var(--white); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.prose p { margin: 0 0 18px; color: #40536a; font-size: 1.08rem; }
.section-heading { max-width: 720px; margin-bottom: 43px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.03rem; }
.objectives { background: var(--ice); }
.objective-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.objective-grid article { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.objective-grid article > span { display: inline-block; margin-bottom: 26px; color: var(--azure); font-family: "Manrope", sans-serif; font-size: .84rem; font-weight: 800; }
.objective-grid p { margin-bottom: 0; color: var(--muted); }

.paths-heading { max-width: none; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.offer-guide { margin-top: 38px; }
.offer-start { padding: 30px; color: #fff; background: linear-gradient(145deg, #092b55, #154e87); border: 1px solid rgba(201,154,46,.42); border-radius: 24px; }
.offer-start h3 { margin-bottom: 22px; color: #fff; font-size: 1.7rem; }
.offer-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.offer-choices a { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 13px 14px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.offer-choices a:hover { color: var(--navy); background: #ecd593; border-color: #ecd593; }
.offer-choices span { color: #ecd593; font-family: Georgia, "Times New Roman", serif; font-size: .82rem; }
.offer-choices a:hover span { color: var(--navy); }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.offer-grid > article { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 9px 28px rgba(9,43,85,.06); scroll-margin-top: 120px; }
.offer-heading { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.offer-heading > span { display: grid; width: 46px; height: 46px; place-items: center; color: var(--navy); background: #f4e8c9; border: 1px solid #e4c77d; border-radius: 50%; font-size: .8rem; font-weight: 800; }
.offer-heading p { margin: 0 0 2px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.offer-heading h3 { margin: 0; color: var(--navy); font-size: 1.25rem; }
.offer-grid > article > p { color: var(--muted); }
.offer-grid ul { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.offer-grid li { position: relative; margin: 8px 0; padding-left: 18px; color: #40536a; }
.offer-grid li::before { content: ""; position: absolute; width: 6px; height: 6px; top: .68em; left: 0; background: #c99a2e; border-radius: 50%; }
.offer-levels { margin-top: 17px; padding: 12px 14px; color: var(--navy) !important; background: #f4f8fc; border-radius: 12px; font-size: .88rem; font-weight: 700; }
.offer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.offer-links a { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }
.offer-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 18px; padding: 24px 26px; background: #f4f8fc; border: 1px solid var(--line); border-radius: 18px; }
.offer-footer strong, .offer-footer span { display: block; }
.offer-footer strong { margin-bottom: 5px; color: var(--navy); }
.offer-footer span { max-width: 620px; color: var(--muted); }
.offer-footer > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.academy-map { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 38px 0 44px; }
.academy-map-intro { grid-column: 1 / -1; padding: 26px 28px; background: linear-gradient(135deg, #092b55, #154e87); border: 1px solid rgba(201,154,46,.42); border-radius: 22px; }
.academy-map-intro h3 { margin-bottom: 10px; color: #fff; font-size: 1.55rem; }
.academy-map-intro p:last-child { max-width: 850px; margin-bottom: 0; color: #dce9f6; }
.academy-map article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; background: #f8fbff; border: 1px solid var(--line); border-radius: 18px; }
.academy-map article > span { display: grid; width: 44px; height: 44px; place-items: center; color: var(--navy); background: #f4e8c9; border: 1px solid #e4c77d; border-radius: 50%; font-size: .78rem; font-weight: 800; }
.academy-map article h3 { margin-bottom: 7px; color: var(--navy); font-size: 1.08rem; }
.academy-map article p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.academy-map article strong { display: block; margin-top: 10px; color: var(--blue); font-size: .82rem; line-height: 1.5; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.filter { min-height: 42px; padding: 9px 16px; color: #44566d; background: var(--white); border: 1px solid #cfdbe5; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.filter:hover, .filter.is-active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.path-card { min-height: 430px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(8,43,92,.055); transition: transform .22s ease, box-shadow .22s ease; }
.path-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.path-card.featured { background: linear-gradient(145deg, var(--navy), #0a4c8f); border-color: transparent; color: var(--white); }
.path-card.featured h3, .path-card.featured .card-number { color: var(--white); }
.path-card.featured p, .path-card.featured li { color: #dfeeff; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.tag { display: inline-flex; padding: 6px 10px; color: var(--blue); background: var(--sky); border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.featured .tag { color: var(--navy); background: #bfeeff; }
.card-number { color: #9baabb; font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 800; }
.path-card h3 { color: var(--navy); font-size: 1.55rem; }
.path-card p { color: var(--muted); }
.path-card ul { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.featured ul { border-color: rgba(255,255,255,.18); }
.path-card li { position: relative; margin: 8px 0; padding-left: 18px; color: #40536a; }
.path-card li::before { content: ""; position: absolute; width: 6px; height: 6px; top: .68em; left: 0; background: var(--azure); border-radius: 50%; }
.card-link { display: inline-flex; margin-top: 20px; color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.path-card[hidden] { display: none; }
.empty-message { padding: 26px; text-align: center; background: var(--ice); border-radius: 14px; }

.academic-activities { background: linear-gradient(180deg, #f4f9fc, #ffffff); }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.activity-grid article { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 28px rgba(8,43,92,.06); }
.activity-grid article > span { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 22px; color: var(--navy); background: #f4e8c9; border: 1px solid #e4c77d; border-radius: 13px; font-size: .78rem; font-weight: 800; }
.activity-grid h3 { color: var(--navy); }
.activity-grid p { color: var(--muted); }
.activity-grid a { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }

.steps { background: var(--ice); }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.step-list li { position: relative; padding: 0 26px; }
.step-list li:first-child { padding-left: 0; }
.step-list li:last-child { padding-right: 0; }
.step-list li:not(:last-child)::after { content: ""; position: absolute; top: 21px; right: -2px; width: 28px; border-top: 1px solid #a9c1d4; }
.step-list li > span { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 22px; color: var(--white); background: var(--blue); border-radius: 50%; font-weight: 800; }
.step-list h3 { color: var(--navy); font-size: 1.07rem; }
.step-list p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.platform-tutorials { background: linear-gradient(180deg, #f4f9ff, #ffffff); scroll-margin-top: 110px; }
.tutorial-heading { max-width: none; display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.tutorial-heading > p { margin: 0; color: var(--muted); font-size: 1.03rem; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tutorial-card { display: flex; flex-direction: column; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 38px rgba(9,43,85,.08); }
.tutorial-card-accent { border-top: 4px solid #c99a2e; }
.tutorial-card-head { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tutorial-card-head p { margin: 0 0 3px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tutorial-card-head h3 { margin: 0; font-size: 1.5rem; }
.tutorial-icon { display: grid; width: 56px; height: 56px; place-items: center; color: var(--navy); background: #f4e8c9; border: 1px solid #e4c77d; border-radius: 50%; font-weight: 800; }
.tutorial-steps { display: grid; gap: 0; margin: 10px 0 28px; padding: 0; list-style: none; }
.tutorial-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 17px 0; border-bottom: 1px solid #e6edf4; }
.tutorial-steps li > span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.tutorial-steps strong { display: block; margin-bottom: 4px; color: var(--navy); }
.tutorial-steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.tutorial-card > .button, .tutorial-actions { margin-top: auto; align-self: flex-start; }
.tutorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tutorial-help { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }
.tutorial-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 22px; padding: 20px 24px; color: #29415d; background: #fff8e8; border: 1px solid #e4c77d; border-radius: 16px; }
.tutorial-note strong { color: var(--navy); }
.tutorial-note p { margin: 0; }

.audience { color: var(--white); background: var(--navy); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.audience h2 { color: var(--white); }
.section-kicker.light { color: #8ad9f1; }
.audience ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.audience li { padding: 13px 16px; color: #eff7ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 21px 35px 21px 0; color: var(--navy); font-weight: 700; cursor: pointer; }
.faq-list p { margin: -5px 0 22px; color: var(--muted); }

.collaboration-section { background: var(--ice); }
.collaboration-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.collaboration-grid article { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(8,43,92,.07); }
.collaboration-grid article:last-child { border-top: 4px solid #d4a842; }
.collaboration-label { margin-bottom: 18px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.collaboration-grid h3 { color: var(--navy); font-size: 1.75rem; }
.collaboration-grid p, .collaboration-grid li { color: var(--muted); }
.collaboration-grid ul { margin: 22px 0 28px; padding-left: 20px; }
.collaboration-grid li { margin: 8px 0; }
.collaboration-note { max-width: 900px; margin: 24px 0 0; color: var(--muted); font-size: .94rem; }

.cta-section { padding: 0 0 90px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 52px; color: var(--white); background: linear-gradient(135deg, #0a4c9a, #087aab); border-radius: 26px; box-shadow: var(--shadow); }
.cta-card h2 { color: var(--white); }
.cta-card p { max-width: 690px; margin-bottom: 0; color: #e4f5ff; }
.cta-actions { min-width: 225px; display: grid; gap: 14px; text-align: center; }
.text-link { color: var(--white); font-weight: 700; }

.site-footer { padding: 62px 0 24px; color: #dce8f5; background: #061d3d; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 70px; }
.footer-brand strong { color: var(--white); }
.footer-brand small { color: #9eb4cb; }
.footer-grid > div:not(.brand) { display: grid; align-content: start; gap: 8px; }
.footer-grid strong { margin-bottom: 7px; color: var(--white); }
.footer-grid a { color: #dce8f5; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid span { color: #9eb4cb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9eb4cb; font-size: .85rem; }
.footer-bottom a { color: #dce8f5; }

/* Continuità visiva con il sito Borse di studio */
:root {
  --navy: #092b55;
  --blue: #154e87;
  --azure: #c99a2e;
  --sky: #eaf4ff;
  --ice: #f8fbff;
  --ink: #14243a;
  --muted: #586779;
  --line: #d7e1eb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(9,43,85,.12);
  --radius: 22px;
}
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: #f8fbff; }
.utility-bar { background: #061d39; }
.site-header { background: rgba(255,255,255,.94); border-bottom-color: rgba(9,43,85,.1); }
.nav { min-height: 74px; }
.brand-mark { width: 44px; height: 44px; background: var(--navy); border: 2px solid #c99a2e; border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.brand strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; }
.brand small { color: var(--muted); }
.nav-links > a:not(.button) { color: #32475f; }
.news-banner { color: #fff; background: linear-gradient(90deg, #092b55, #154e87); border-bottom: 2px solid #c99a2e; }
.news-banner-inner { min-height: 70px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.news-label { display: flex; align-items: center; gap: 9px; color: #ecd593; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.news-label span { width: 9px; height: 9px; background: #ecd593; border-radius: 50%; box-shadow: 0 0 0 5px rgba(236,213,147,.14); }
.news-viewport { min-width: 0; }
.news-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; animation: news-in .34s ease both; }
.news-item[hidden] { display: none; }
.news-item p { margin: 0; color: #f2f7fc; font-size: .92rem; line-height: 1.45; }
.news-item strong { color: #fff; }
.news-item a { flex: 0 0 auto; color: #ecd593; font-size: .85rem; font-weight: 800; text-underline-offset: 4px; }
.news-controls { display: flex; align-items: center; gap: 7px; }
.news-controls button { display: grid; min-width: 32px; height: 32px; padding: 0 9px; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
.news-controls button:hover { color: var(--navy); background: #ecd593; border-color: #ecd593; }
.news-controls span { min-width: 40px; color: #cddbeb; font-size: .76rem; text-align: center; }
.news-controls .news-pause { min-width: auto; padding-inline: 11px; font-size: .73rem; }
@keyframes news-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.button { padding-inline: 23px; background: var(--navy); border-color: var(--navy); border-radius: 999px; }
.button:hover { background: var(--blue); border-color: var(--blue); }
.button-ghost { color: var(--navy); background: #fff; border-color: #c99a2e; }
.button-gold { color: var(--navy); background: #ecd593; border-color: #c99a2e; }
.button-gold:hover { color: #fff; background: #b8871e; border-color: #b8871e; }
.hero { background: linear-gradient(135deg,#fafdff 0%,#eaf4ff 55%,#fff8e8 100%); }
.eyebrow, .section-kicker { color: var(--blue); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); }
h1 { letter-spacing: -.035em; }
.hero-panel { background: linear-gradient(155deg,#092b55,#154e87); border: 1px solid rgba(201,154,46,.38); border-radius: 26px; }
.hero-panel .panel-label { color: #ecd593; }
.hero-panel a:hover { color: #ecd593; }
.hero-panel a span { border: 1px solid #c99a2e; }
.hero-visual { border-color: rgba(201,154,46,.35); border-radius: 26px; box-shadow: var(--shadow); }
.hero-visual figcaption { background: rgba(9,43,85,.9); border-color: rgba(236,213,147,.48); }
.objective-grid article, .path-card, .activity-grid article, .collaboration-grid article { border-radius: 22px; }
.objective-grid article { box-shadow: 0 10px 28px rgba(9,43,85,.06); }
.objective-grid article > span { color: #c99a2e; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.filter { border-color: #d7e1eb; }
.filter:hover, .filter.is-active { background: var(--navy); border-color: var(--navy); }
.path-card.featured { background: linear-gradient(145deg,#092b55,#154e87); }
.tag { color: var(--blue); background: var(--sky); }
.featured .tag { color: var(--navy); background: #ecd593; }
.path-card li::before { background: #c99a2e; }
.card-link, .activity-grid a { color: var(--blue); }
.academic-activities { background: linear-gradient(180deg,#f4f9ff,#fff); }
.activity-grid article > span { color: var(--navy); background: #fff8e8; border-color: #ecd593; border-radius: 50%; }
.step-list li > span { background: var(--navy); border: 2px solid #c99a2e; }
.audience { background: var(--navy); }
.section-kicker.light { color: #ecd593; }
.collaboration-section { background: #f4f9ff; }
.collaboration-grid article:last-child { border-top-color: #c99a2e; }
.collaboration-label { color: var(--blue); }
.cta-card { background: linear-gradient(135deg,#092b55,#154e87); border: 1px solid rgba(201,154,46,.35); }
.site-footer { background: #061d39; border-top: 3px solid #c99a2e; }
:focus-visible { outline-color: #ecd593; }

:focus-visible { outline: 3px solid #ffbd59; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 960px) {
  .news-banner-inner { grid-template-columns: auto 1fr; gap: 8px 18px; padding-block: 12px; }
  .news-controls { grid-column: 2; }
  .offer-choices { grid-template-columns: repeat(2, 1fr); }
  .offer-footer { align-items: flex-start; flex-direction: column; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 116px; left: 20px; right: 20px; display: none; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links .button { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero-panel { max-width: 650px; }
  .split, .audience-grid, .faq-grid, .collaboration-grid, .tutorial-grid, .tutorial-heading { grid-template-columns: 1fr; gap: 36px; }
  .objective-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .paths-heading { grid-template-columns: 1fr; gap: 8px; }
  .step-list { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
  .step-list li:nth-child(2)::after { display: none; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .news-banner-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .news-label { grid-column: 1; }
  .news-viewport { grid-column: 1 / -1; }
  .news-item { align-items: flex-start; flex-direction: column; gap: 8px; }
  .news-controls { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .news-controls .news-pause { display: none; }
  .container { width: min(100% - 28px, 1180px); }
  .offer-start { padding: 23px; }
  .offer-choices, .offer-grid { grid-template-columns: 1fr; }
  .offer-grid > article { padding: 23px; }
  .offer-footer { padding: 22px; }
  .offer-footer > div:last-child, .offer-footer .button { width: 100%; }
  .academy-map { grid-template-columns: 1fr; }
  .academy-map-intro { grid-column: auto; padding: 22px; }
  .utility-inner { min-height: 30px; justify-content: center; }
  .utility-inner span { display: none; }
  .nav { min-height: 70px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { padding: 58px 0 55px; }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { display: grid; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 38px; }
  .hero-panel { padding: 24px; }
  .hero-visual { height: 320px; margin-top: 36px; border-radius: 20px; }
  .hero-visual.institutional-banner { height: auto; aspect-ratio: 3 / 1; }
  .hero-visual img { object-position: 65% center; }
  .hero-visual figcaption { left: 16px; right: 16px; bottom: 16px; max-width: none; border-radius: 13px; text-align: center; }
  .section { padding: 68px 0; }
  .objective-grid, .path-grid, .activity-grid, .step-list { grid-template-columns: 1fr; }
  .tutorial-card { padding: 25px; }
  .tutorial-card-head { grid-template-columns: 48px 1fr; }
  .tutorial-icon { width: 46px; height: 46px; }
  .tutorial-note { grid-template-columns: 1fr; gap: 6px; }
  .path-card { min-height: 0; padding: 24px; }
  .step-list li { padding: 0; }
  .step-list li::after { display: none; }
  .cta-section { padding-bottom: 65px; }
  .cta-card { width: calc(100% - 28px); padding: 32px 24px; }
  .cta-actions { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Video tutorial: palette e tipografia istituzionali esistenti. */
#video-tutorial { scroll-margin-top: 140px; }
.tutorials-section { background: #fff; }
.video-guide-help { display: grid; gap: 5px; margin-bottom: 28px; padding: 20px 24px; border-left: 4px solid #c99a2e; border-radius: 0 14px 14px 0; background: var(--ice); color: var(--navy); }
.video-guide-help span { color: var(--muted); }
.video-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.video-guide-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(9,43,85,.06); }
.video-guide-copy { padding: 26px 26px 20px; flex: 1; }
.video-guide-meta { margin: 0 0 12px; color: var(--blue); font-weight: 700; font-size: .8rem; }
.video-guide-copy h3 { font-size: 1.5rem; line-height: 1.2; }
.video-guide-copy > p:last-child { margin-bottom: 0; color: var(--muted); }
.video-guide-card video { display: block; width: 100%; aspect-ratio: 16/9; background: #092b55; object-fit: contain; }
.video-guide-actions { padding: 17px 26px; background: var(--ice); }
.video-guide-actions a { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.video-guide-note { margin: 26px 0 0; max-width: 960px; color: var(--muted); font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 961px) { .nav { flex-wrap: wrap; gap: 12px; padding-block: 14px; } .nav-links { flex-wrap: wrap; gap: 16px; } }
@media (max-width: 700px) { .video-guide-grid { grid-template-columns: 1fr; } .video-guide-copy { padding: 23px; } .video-guide-help { padding: 18px; } }

.video-guide-card { padding: 0; }

/* Contrasto esplicito nei riquadri scuri e nei pulsanti chiari. */
.hero-panel h2, .offer-start h3, .audience h2, .cta-card h2, .academy-map-intro h3, .path-card.featured h3 { color: #fff; }
.site-footer .footer-brand strong { color: #fff; }
.site-footer .footer-brand small { color: #dce8f5; }
.button.button-light { color: #092b55; background: #fff; border-color: #fff; }
.button.button-light:hover { color: #092b55; background: #ecd593; border-color: #ecd593; }
.video-guide-open { margin-top: 22px; }
.video-guide-card .video-guide-copy h3 { color: #092b55; }
#ballet-teachers-tutorial { scroll-margin-top: 140px; border-top: 4px solid #c99a2e; }

/* Consultazione semplice: gerarchia compatta e testo leggibile. */
body { font-size: 17px; line-height: 1.65; }
h1 { font-size: clamp(2.2rem,4.3vw,3.5rem); line-height: 1.14; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.2; }
h3 { line-height: 1.3; }
.hero { padding: 54px 0 48px; }
.hero-grid { gap: 42px; }
.hero-lead { max-width: 55ch; font-size: 1.12rem; }
.hero-facts { margin-top: 28px; }
.hero-visual { margin-top: 32px; }
.section { padding: 64px 0; scroll-margin-top: 125px; }
.section-heading { margin-bottom: 28px; }
.prose { max-width: 70ch; }
.nav-links { gap: 18px; }
.nav-links > a:not(.button) { font-size: .96rem; }
.course-topics { margin-top: 16px; }
.course-topics summary { padding: 10px 0; color: #154e87; font-weight: 700; cursor: pointer; }
.course-topics ul { margin-top: 0; }
.news-banner-inner { min-height: 90px; }
.news-controls button { min-width: 42px; height: 42px; }
.news-controls .news-pause { display: grid; min-width: 80px; }
.news-label { color: #ffe4a1; }
#contatti { scroll-margin-top: 125px; }
.tutorial-steps { margin-bottom: 18px; }
@media (max-width: 960px) { .nav { flex-wrap: nowrap; } .nav-links { top: 100%; } }
@media (max-width: 650px) {
 .section { padding: 44px 0; }
 .hero { padding: 36px 0; }
 .brand { gap: 8px; }
 .brand strong { font-size: 1.04rem; }
 .brand small { font-size: .64rem; }
 .brand-mark { flex-shrink: 0; }
 .news-banner-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 14px; }
 .news-label, .news-viewport, .news-controls { grid-column: 1; grid-row: auto; }
 .news-viewport { min-height: 132px; }
 .news-controls { justify-content: flex-start; }
 .news-controls .news-pause { display: grid; }
 .news-item p { font-size: 1rem; }
 .news-item a { font-size: .95rem; }
 .hero-facts { gap: 10px; }
 .tutorial-card, .offer-grid > article { padding: 23px; }
}

/* Guide scritte e video riuniti nelle due schede esistenti. */
.platform-tutorials { position: relative; }
.tutorial-anchor { position: absolute; top: 0; scroll-margin-top: 125px; }
.tutorial-video-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }
.tutorial-video-links .button { width: 100%; text-align: center; }
.tutorial-video-links .card-link { margin-top: 2px; font-size: .94rem; }
.tutorial-card > .card-link { align-self: flex-start; margin-top: 14px; }

/* Notizie: titolo cliccabile nel banner e scheda informativa dedicata. */
.hero-grid { grid-template-columns: 1fr; }
.hero-copy { max-width: 1050px; }
.home-introduction { max-width: 76ch; color: #465970; font-size: 1.05rem; line-height: 1.8; margin: 0 0 30px; }
.home-mission { background: #fff; }
.home-study { background: #edf3fa; }
.home-access-actions { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 700px; }
.home-start { padding-block: 36px; }
.home-start h2 { color: #fff; margin-bottom: 24px; font-size: clamp(1.7rem,3vw,2.4rem); }
.home-start .offer-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media(max-width:900px){.home-start .offer-choices{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.home-access-actions,.home-start .offer-choices{grid-template-columns:1fr;}}
.home-mission h2, .home-study h2 { color: #092b55; }
.news-item .news-title { display: inline; color: #fff; font-size: 1rem; line-height: 1.45; text-decoration: underline; text-underline-offset: 4px; }
.news-date { display: block; margin-top: 5px; color: #ffe4a1; font-size: .94rem; }
.news-detail { max-width: 920px; padding-block: 36px 70px; }
.news-back { display: inline-block; margin-bottom: 30px; color: #154e87; font-weight: 700; text-underline-offset: 4px; }
.news-detail h1 { max-width: 850px; }
.news-lead { font-size: 1.15rem; color: #40536a; max-width: 65ch; }
.news-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 40px; }
.news-facts > div { padding: 20px; background: #fff; border: 1px solid #d7e1eb; border-top: 3px solid #c99a2e; border-radius: 14px; }
.news-facts dt { color: #586779; font-size: .9rem; }
.news-facts dd { margin: 6px 0 0; font-weight: 700; color: #092b55; }
.news-detail article > section { margin: 34px 0; }
.news-detail h2 { font-size: 1.7rem; }
.news-detail p, .news-steps { max-width: 72ch; }
.news-steps { padding-left: 24px; }
.news-steps li { padding: 8px 0; }
.news-steps a { color: #154e87; }
.news-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.news-next { background: #fff8e8; border-left: 4px solid #c99a2e; padding: 22px; border-radius: 0 14px 14px 0; }
.news-next p { margin-bottom: 0; }
.news-updated { color: #586779; font-size: .88rem; }
@media (max-width: 650px) { .news-facts { grid-template-columns: 1fr; } .news-actions .button { width: 100%; } }

/* Il banner istituzionale apre la home, senza duplicazioni. */
.opening-banner { margin-block: 20px; }
@media (max-width: 650px) { .opening-banner { margin-block: 14px; } }

.platform-tutorials .tutorial-grid { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; }
.registration-instructions { margin-block: 30px; padding: 12px 24px; border: 1px solid #d7e1eb; background: #fff; border-radius: 20px; }
.registration-instructions .tutorial-steps { margin: 0; }
.registration-instructions .tutorial-steps li:last-child { border-bottom: 0; }
.registration-guide .tutorial-note { grid-template-columns: 1fr; gap: 6px; }

.tutorial-hub-grid { display: grid; gap: 20px; margin-block: 32px; }
.tutorial-hub-card { padding: 26px; border: 1px solid #d7e1eb; border-top: 3px solid #c99a2e; border-radius: 20px; background: #fff; }
.tutorial-hub-card h2 { font-size: 1.65rem; }
.tutorial-hub-card .button { margin-top: 8px; }
@media (max-width: 650px) { .tutorial-hub-card { padding: 22px; } }

/* Azioni iniziali: scopri, registrati, accedi. */
.hero-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: stretch; }
.hero-actions .button { width: 100%; min-height: 54px; padding: 13px 16px; text-align: center; line-height: 1.3; }
@media (max-width: 650px) { .hero-actions { grid-template-columns: 1fr; } }

/* Un ruolo per ogni pagina: home, attività, collaborazioni, guide. */
.offer-guide { margin-top: 0; }
.offer-grid { margin-top: 0; }
.offer-grid > article { display: flex; flex-direction: column; padding: 25px; }
.offer-grid .course-topics { margin-top: auto; padding-top: 12px; }
.offer-grid .course-topics summary { border-top: 1px solid #d7e1eb; }
.offer-heading { align-items: start; }
.offer-heading h3 { font-size: 1.2rem; line-height: 1.3; }
.hero { padding-block: 38px; }
.hero h1 { max-width: 900px; }
.hero-lead { margin-bottom: 24px; }
.subpage-main { padding-top: 28px; }
.subpage-main > .section { padding-top: 20px; }
.subpage-main .section-heading { max-width: 900px; }
.button.button-ghost:hover, .button.button-ghost:focus-visible { color: #fff; background: #154e87; border-color: #154e87; }
.button.button-gold:hover { color: #092b55; background: #ecd593; border-color: #c99a2e; }
.news-banner-inner { min-height: 92px; }
.course-topics summary, .faq-list summary { min-height: 44px; }
@media (max-width: 650px) {
 .news-viewport { min-height: 90px; }
 .hero { padding-block: 28px; }
 .offer-grid > article { padding: 22px; }
 .subpage-main { padding-top: 22px; }
}

/* Navigazione logica: una pagina per argomento, home di solo orientamento. */
.nav-links a[aria-current="page"] { color: #092b55; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-footer { padding-block: 22px; }
.footer-minimal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: #dce8f5; font-size: .9rem; }
.footer-minimal a { color: #fff; text-underline-offset: 4px; }
.news-list-card { padding: 28px; margin-bottom: 42px; border: 1px solid #d7e1eb; border-top: 3px solid #c99a2e; border-radius: 20px; background: #fff; }
.news-list-card h2 { font-size: 1.8rem; max-width: 36ch; }
.activity-links-title { margin-bottom: 24px; font-size: 1.8rem; }
.contact-content { max-width: 850px; }
.contact-list { margin-block: 28px; background: #fff; border: 1px solid #d7e1eb; border-radius: 20px; padding: 8px 26px; }
.contact-list > div { padding-block: 20px; }
.contact-list > div + div { border-top: 1px solid #d7e1eb; }
.contact-list dt { color: #586779; }
.contact-list dd { margin: 5px 0 0; font-size: 1.4rem; font-weight: 700; color: #092b55; }
.contact-list a { text-underline-offset: 5px; }
@media (max-width: 650px) { .news-list-card { padding: 22px; } }

/* Qualification guide: one catalogue, grouped by the Accademia sectors. */
.qualification-intro{max-width:950px;padding:32px 0}.qualification-intro h1{font-size:clamp(2.1rem,4vw,3.5rem);line-height:1.15}.qualification-jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.qualification-jump a{border:1px solid #bccbdd;border-radius:8px;padding:10px 14px;color:#092b55;background:white;font-weight:600}.qualification-jump a:hover{background:#092b55;color:white}.qualification-section{padding:32px 0;border-top:1px solid #d6e1ed;scroll-margin-top:120px}.qualification-section h2{font-size:clamp(1.6rem,3vw,2.1rem);color:#092b55}.qualification-section p{max-width:950px}.qualification-section .course-topics{margin:15px 0;border:1px solid #d6e1ed;border-radius:10px;padding:16px;background:white}.qualification-section summary{color:#092b55;font-weight:700;cursor:pointer}.qualification-table{overflow-x:auto;margin:24px 0;border:1px solid #cbd8e6;border-radius:12px}.qualification-table table{width:100%;border-collapse:collapse;min-width:640px;font-size:16px}.qualification-table caption{text-align:left;padding:16px;background:#edf3fa;color:#092b55;font-weight:700}.qualification-table th,.qualification-table td{padding:15px;text-align:left;vertical-align:top;border-bottom:1px solid #d6e1ed}.qualification-table thead{background:#092b55;color:white}.qualification-table tbody th{color:#092b55;width:25%}.qualification-table tbody tr:nth-child(even){background:#f0f5fa}.qualification-note{font-size:15px;color:#465a72;line-height:1.7}.qualification-list{columns:2;column-gap:35px;padding-left:24px}.qualification-list li{break-inside:avoid;margin:8px 0}.qualification-steps{padding-left:25px;max-width:950px}.qualification-steps li{margin:15px 0}.qualification-request{margin:20px 0 50px;padding:32px;border:1px solid #c99a2e;border-radius:16px;background:#fffaf0}.qualification-request h2{color:#092b55}.qualification-request .button{max-width:100%;white-space:normal;text-align:center}.hero-actions .button{padding-inline:16px}.qualification-request .qualification-note{margin-top:20px}@media(max-width:650px){.qualification-list{columns:1}.qualification-request{padding:22px}.qualification-jump{display:grid}.qualification-jump a{display:block}.qualification-section{scroll-margin-top:90px}}
