/**
 * Événements / partenariats
 */

.ac-evt {
  --ac-evt-muted: #727272;
  --ac-evt-max: 960px;
  --ac-evt-wide: 1120px;
  --ac-evt-gap: clamp(1.5rem, 3.5vw, 2.75rem);
  color: var(--ac-evt-muted);
}

.ac-evt :where(h1, h2, h3, p, figure) {
  margin: 0;
}

.ac-evt img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ac-evt a:not(.btn) {
  color: inherit;
}

.entry-content .ac-evt a.btn {
  text-decoration: none;
}

.ac-evt__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 36vw, 400px);
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  text-align: center;
  background-color: #e6e6e6;
  background-image: url("../../uploads/2026/07/krakenimages-Y5bvRlcCx8k-unsplash.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.entry-content .ac-evt__hero-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 200;
  line-height: 1.1;
  color: #fff;
}

.entry-content .ac-evt__hero-lead {
  margin-top: 0.75rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: #fff;
}

.ac-evt__section {
  width: min(100%, var(--ac-evt-max));
  margin: 0 auto;
  padding: var(--ac-evt-gap) 1.25rem 0;
}

.entry-content .ac-evt__h2 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ac-evt-muted);
  text-align: center;
  margin-bottom: 1rem;
}

.entry-content .ac-evt__h3 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ac-evt-muted);
  margin-bottom: 0.85rem;
  text-align: center;
}

.ac-evt__prose {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.ac-evt__prose p + p {
  margin-top: 0.85em;
}

.ac-evt__media {
  overflow: hidden;
  border-radius: 2px;
  margin: 1rem 0;
}

.ac-evt__media img {
  width: 100%;
  height: auto;
}

.ac-evt__logo {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.ac-evt__logo img {
  max-height: 88px;
  width: auto;
}

.ac-evt__cta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.ac-evt__video {
  position: relative;
  width: min(100%, 720px);
  margin: 1.25rem auto;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
}

.ac-evt__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ac-evt__events {
  width: min(100%, var(--ac-evt-wide));
  margin: 0 auto;
  padding: var(--ac-evt-gap) 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.ac-evt__event {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ac-evt__event .ac-evt__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.ac-evt__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: clamp(200px, 28vw, 320px);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: #f2f2f2;
}

.entry-content .ac-evt__band-title {
  max-width: 18em;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 200;
  line-height: 1.3;
  color: var(--ac-evt-muted);
}

@media (max-width: 820px) {
  .ac-evt__events {
    grid-template-columns: 1fr;
  }
}
