.ev-list { display: grid; gap: 48px; max-width: 1120px; margin: 0 auto; }
.ev-course { background: radial-gradient(circle at 8% 5%, rgba(167, 48, 127, .08), transparent 30%), radial-gradient(circle at 94% 92%, rgba(185, 195, 90, .13), transparent 32%), rgba(242, 235, 229, .62); border: 1px solid rgba(92, 73, 151, .14); border-radius: clamp(24px, 3vw, 40px); box-shadow: 0 30px 70px -58px rgba(66, 51, 104, .55); padding: clamp(24px, 5vw, 56px); scroll-margin-top: 110px; }
.ev-course__head { padding-bottom: 28px; border-bottom: 1px solid var(--linea); }
.ev-course__head h2, .ev-empty h2 { font-family: var(--serif); font-weight: 600; color: var(--viola-deep); font-size: clamp(2.35rem, 5.2vw, 4.2rem); line-height: 1.06; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.ev-course__head h2 { max-width: 20ch; }
.ev-course__head h2::after { content: ''; display: block; width: 76px; height: 3px; margin-top: 22px; background: var(--magenta); border-radius: 999px; }
.ev-course__location { color: var(--inchiostro-soft); margin-top: 20px; font-size: .9rem; line-height: 1.65; }
.ev-course__body { margin-top: 28px; color: var(--inchiostro-soft); line-height: 1.8; }
.ev-course__body > p { max-width: 75ch; }
.ev-course__body p + p { margin-top: 18px; }
.ev-course__body .ev-course__lead { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); font-style: italic; font-weight: 500; line-height: 1.5; max-width: 51ch; color: var(--viola-deep); }
.ev-course__subheading { font-family: var(--serif); font-weight: 600; color: var(--magenta); font-size: clamp(1.6rem, 2.5vw, 1.9rem); line-height: 1.25; margin: 30px 0 14px; }
.ev-course__body .ev-practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; padding: 0; margin: 24px 0 0; list-style: none; }
.ev-course__body .ev-practices li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 13px; }
.ev-practices li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 65ch; }
.ev-practice__number { font-family: var(--serif); font-size: 1.65rem; font-style: italic; line-height: 1.25; color: var(--magenta); }
.ev-practices strong { display: block; font-weight: 600; color: var(--viola-deep); font-size: 1.06rem; margin-bottom: 4px; }
.ev-course__schedule { margin-top: 42px; }
.ev-course__schedule h3 { display: flex; align-items: center; gap: 20px; font-family: var(--serif); font-weight: 600; color: var(--magenta); font-size: clamp(1.75rem, 3vw, 2.15rem); line-height: 1.2; margin-bottom: 18px; }
.ev-course__schedule h3::after { content: ''; flex: 1; min-width: 24px; height: 1px; background: rgba(167, 48, 127, .2); }
.ev-session { --ev-text: #352653; --ev-meta: #48334c; --ev-past: #513650; --ev-date-line: #8a4770; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 30px 12px; margin: 0 -12px; color: var(--ev-text); border-bottom: 1px solid rgba(66, 51, 104, .18); border-radius: 12px; position: relative; isolation: isolate; }
.ev-course__schedule h3 + .ev-session { border-top: 1px solid rgba(66, 51, 104, .22); }
.ev-session::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(92, 73, 151, .09), rgba(167, 48, 127, .045), rgba(185, 195, 90, .07)); opacity: 0; transition: opacity 300ms ease; z-index: -1; pointer-events: none; }
.ev-session__number { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #6e2056; transition: transform 300ms ease; }
.ev-session h4 { display: inline-block; position: relative; font-family: var(--serif); font-weight: 600; color: var(--ev-text); font-size: clamp(1.4rem, 2.2vw, 1.7rem); line-height: 1.25; margin: 0; text-wrap: balance; transition: color 300ms ease; }
.ev-session h4::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms ease; }
.ev-session__meta { color: var(--ev-meta); font-size: .94rem; font-weight: 500; margin-top: 9px; line-height: 1.7; }
.ev-session__dates { display: flex; flex-wrap: wrap; list-style: none; gap: 8px 18px; padding: 0; margin: 15px 0 0; color: var(--ev-text); }
.ev-session__dates li { font-size: .94rem; padding-bottom: 3px; border-bottom: 2px solid var(--ev-date-line); }
.ev-session__dates .ev-session__past { color: var(--ev-past); border-bottom-style: dashed; }
.ev-session__status { display: inline-block; padding: 4px 9px; border-radius: 6px; vertical-align: middle; font: 600 .75rem var(--sans); color: #423368; background: #f1eafb; white-space: nowrap; }
.ev-session__contact .btn { white-space: normal; max-width: 100%; gap: 12px; color: #423368; background: rgba(249, 244, 244, .6); border: 1px solid rgba(92, 73, 151, .28); box-shadow: none; transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms ease; }
.ev-session__contact .btn:hover { color: #352653; background: #f1eafb; border-color: #f1eafb; }
.ev-session__contact .btn > span { transition: transform 300ms ease; }
.ev-session__contact .btn:focus-visible { outline: 3px solid #352653; outline-offset: 5px; }
.ev-session:focus-within::before { opacity: 1; }
.ev-empty { max-width: 54ch; text-align: center; margin: 0 auto; padding: 40px 20px; }
.ev-empty p { color: var(--inchiostro-soft); margin: 24px 0; line-height: 1.75; }
@media (hover: hover) and (pointer: fine) {
  .ev-session:hover::before { opacity: 1; }
  .ev-session:hover h4 { color: #6e2056; }
  .ev-session:hover h4::after { transform: scaleX(1); }
  .ev-session:hover .ev-session__number { transform: translateX(-3px); }
  .ev-session__contact .btn:hover > span { transform: translateX(3px); }
}
@media (max-width: 760px) {
  .ev-session { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 24px 12px; align-items: start; }
  .ev-session__contact { grid-column: 2; margin-top: 4px; }
  .ev-session__contact .btn { width: 100%; padding: 14px 16px; gap: 8px; justify-content: center; }
  .ev-course { border-radius: 22px; }
  .ev-course__head { padding-bottom: 24px; }
  .ev-course__body .ev-practices { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ev-course__schedule { margin-top: 34px; }
  .ev-course__schedule h3 { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-session::before, .ev-session h4, .ev-session h4::after, .ev-session__number, .ev-session__contact .btn, .ev-session__contact .btn > span { transition: none !important; }
  .ev-session:hover .ev-session__number { transform: none; }
  .ev-session__contact .btn:hover > span { transform: none; }
}
