@charset "utf-8";
/* ============================================================
   styleINostriCorsi.css — Stili specifici della pagina I Nostri Corsi
   (header, navbar, social e footer sono in shared.css)
   ============================================================ */

body {
  background: #e1e1e1 url("bg.jpg") repeat-x fixed;
  font-family: "Times New Roman", Times, serif;
  color: #000;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* ---------- HERO VIDEO ---------- */
.hero-video {
  border-radius: 14px;
}

.hero-wrapper {
  position: relative;
}

.hero-video-media,
.hero-gif-fallback {
  display: block;
  width: 100%;
  border-radius: .5rem;
}

.hero-gif-fallback {
  display: none;
}

/* ---------- CONTENUTO PRINCIPALE ---------- */
#contenuto {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 1rem;
}

.quick-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-link {
  display: inline-block;
  margin-top: .35rem;
  padding: .48rem .88rem;
  border-radius: 999px;
  border: 1px solid #b25f2f;
  background: linear-gradient(180deg, #fff3e8 0%, #ffe3cd 100%);
  color: #7a1f00;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: .01em;
  transition: all .2s ease;
}

.cta-link:hover,
.cta-link:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #a84b18 0%, #7a2f0a 100%);
  border-color: #7a2f0a;
  transform: translateY(-1px);
}

.page-title-box {
  max-width: 920px;
  margin: .35rem auto 1rem;
  padding: 1rem;
  border: 1px solid #ecd5c2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfb 0%, #fff3e8 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
}

.page-title-box h1 {
  margin-bottom: .25rem;
  color: #7a1f00;
}

/* ---------- CARD CORSI ---------- */
.corso-card {
  border: 1px solid #ecd5c2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffefc 0%, #fff6ee 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
  padding: 1rem;
}

.corso-card h2,
.corso-card h3 {
  color: #7a1f00;
}

.sedi-lista {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.5;
}

.sedi-lista > li {
  margin-bottom: .95rem;
}

.info-box {
  border: 1px solid #e3c6af;
  border-radius: 10px;
  background: #fffdf9;
  padding: .9rem;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 575.98px) {
  body {
    background-attachment: scroll;
  }

  #contenuto {
    padding: .75rem;
  }

  .corso-card {
    padding: .85rem;
  }

  .cta-link {
    font-size: .93rem;
    padding: .42rem .78rem;
  }
}