/* =====================================================================
   FLUISCE — pagina Videocorsi
   ===================================================================== */
.vc-cover { display: block; width: 100%; height: auto; }

/* Formato delle lezioni */
.vc-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.vc-fmt { background: var(--surface); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.vc-fmt-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.05em; color: var(--fg); }
.vc-fmt:first-child .vc-fmt-n { color: var(--accent-text); }
.vc-fmt-n small { margin-left: 0.35rem; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--fg-2); }
.vc-fmt > p:last-child { margin-top: 0.6rem; font-size: 0.9rem; color: var(--fg-2); }
@media (max-width: 900px) { .vc-formats { grid-template-columns: 1fr 1fr; } }

/* Chip e dettagli comuni */
.vc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vc-chip { padding: 0.28rem 0.65rem; border-radius: 99px; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.vc-chip--live { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.vc-chip--live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.4rem; border-radius: 50%; background: var(--accent-ink); vertical-align: 1px; }
.vc-desc { color: var(--fg-2); font-size: 0.97rem; line-height: 1.6; }
.vc-learn { display: grid; gap: 0.5rem; }
.vc-learn li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.55rem; font-size: 0.92rem; line-height: 1.45; color: var(--fg-2); }
.vc-learn li::before { content: ""; width: 1.05rem; height: 1.05rem; margin-top: 0.12rem; border-radius: 5px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0b05' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 72% no-repeat; }
.vc-teacher { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; font-weight: 600; color: var(--fg); }
.vc-teacher small { display: block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.vc-teacher .post-avatar { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(90% 70% at 85% 5%, rgba(255,107,61,0.4), transparent 60%), var(--ink); }
.vc-teacher .team-initials { font-size: 0.9rem; letter-spacing: -0.02em; }
.vc-teacher .team-waves { display: none; }
.vc-teacher img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Prossime lezioni */
.vc-next-list { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.vc-next { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; padding: clamp(1rem, 2vw, 1.25rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.vc-next-cover { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.vc-next-body { display: grid; gap: 0.95rem; padding: 0.5rem clamp(0.25rem, 2vw, 1.25rem) 0.5rem 0; }
.vc-next h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; }
.vc-when { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--accent-text); }
.vc-next-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.vc-next-foot .btn { margin-left: auto; }
.vc-seats { font-size: 0.85rem; color: var(--fg-2); }
.vc-seats b { font-family: var(--font-display); font-size: 1.25rem; color: var(--fg); margin-right: 0.2rem; }
.vc-date { position: absolute; z-index: 2; left: clamp(1.6rem, 3vw, 2.1rem); top: clamp(1.6rem, 3vw, 2.1rem); display: grid; justify-items: center; min-width: 72px; padding: 0.5rem 0.6rem 0.55rem; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 40px -18px rgba(0,0,0,0.6); text-align: center; line-height: 1; }
.vc-date span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.vc-date span:first-child { color: #b8390c; }
.vc-date b { font-family: var(--font-display); font-size: 2.1rem; letter-spacing: -0.04em; margin: 0.2rem 0 0.15rem; }
@media (max-width: 900px) {
  .vc-next { grid-template-columns: 1fr; }
  .vc-next-body { padding: 0 0.25rem 0.25rem; }
  .vc-next-foot .btn { margin-left: 0; width: 100%; justify-content: center; }
  .vc-date { position: static; justify-self: start; grid-auto-flow: column; align-items: baseline; gap: 0.45rem; min-width: 0; padding: 0.45rem 0.8rem; border-radius: 99px; box-shadow: none; }
  .vc-date b { font-size: 1.15rem; margin: 0; }
}

/* Catalogo */
.vc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.vc-card { display: flex; flex-direction: column; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.vc-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(11,13,16,0.45); }
.vc-card-cover { margin: 6px 6px 0; border-radius: 20px; overflow: hidden; }
.vc-card-body { display: flex; flex-direction: column; gap: 0.9rem; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.vc-card h3 { font-size: 1.45rem; line-height: 1.18; letter-spacing: -0.025em; }
.vc-history { font-size: 0.82rem; color: var(--fg-2); padding: 0.55rem 0.8rem; border-radius: 12px; background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.vc-history b { color: var(--accent-text); }
.vc-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.vc-card-foot .link-arrow { font-size: 0.9rem; }
@media (max-width: 800px) { .vc-grid { grid-template-columns: 1fr; } }

/* Come si organizza */
.vc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); counter-reset: s; }
.vc-steps li { position: relative; padding: 1.4rem 1.3rem 1.5rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.vc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.35rem; right: -0.85rem; width: 0.7rem; height: 2px; background: var(--accent); }
.vc-step-n { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.05em; color: var(--accent); }
.vc-steps h3 { margin-top: 0.7rem; font-size: 1.15rem; }
.vc-steps p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--fg-2); }
.vc-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 900px) { .vc-steps { grid-template-columns: 1fr 1fr; } .vc-steps li::after { display: none; } }
@media (max-width: 520px) { .vc-steps { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .vc-card { transition: none; } }
