/* ============================================================
   VAKAPP — Event pages premium layer
   Dedicated stylesheet to bypass long CDN cache on the main CSS.
   ============================================================ */

:root {
  --gold-dark: #a9852a;
}

.event-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 9.5rem 2rem 6rem;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.event-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--event-image, url('../images/guide-palais-festivals-cannes.jpg')) center/cover no-repeat;
  transform: scale(1.04);
  opacity: .5;
  filter: saturate(.86) contrast(1.05);
}

.event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 201, 122, .18), transparent 27rem),
    linear-gradient(115deg, rgba(7, 20, 34, .97) 0%, rgba(9, 25, 42, .9) 48%, rgba(7, 20, 34, .58) 100%),
    linear-gradient(0deg, rgba(7, 20, 34, .86) 0%, transparent 65%);
}

.event-hero .container {
  position: relative;
  z-index: 1;
}

.event-hero + .container {
  padding-inline: 2rem;
}

.event-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .54fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.event-hero-copy {
  max-width: 900px;
}

.event-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.1rem;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-breadcrumb a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
}

.event-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.2rem;
  padding: .5rem .82rem;
  border: 1px solid rgba(232, 201, 122, .45);
  border-radius: 999px;
  background: rgba(13, 27, 42, .55);
  color: #e8c97a;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.event-hero h1 {
  max-width: 900px;
  margin: 0 0 1.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.event-hero h1 em {
  color: #e8c97a;
  font-weight: 400;
}

.event-hero-lead {
  max-width: 760px;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.event-hero-micro {
  margin-top: 1.35rem;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-showcase {
  position: relative;
  isolation: isolate;
}

.event-showcase::before {
  content: "";
  position: absolute;
  inset: 2rem -1rem -1.2rem 1.5rem;
  border: 1px solid rgba(232, 201, 122, .35);
  border-radius: 28px;
  z-index: -1;
}

.event-showcase-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 122, .32);
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 35px 100px rgba(0,0,0,.35);
}

.event-showcase-main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.01);
}

.event-showcase-main figcaption,
.event-gallery figcaption span,
.event-visual-stack figcaption,
.event-feature-card figcaption {
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  line-height: 1.45;
}

.event-showcase-main figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .9rem;
  padding: .5rem .7rem;
  border-radius: 999px;
  background: rgba(7,20,34,.62);
  backdrop-filter: blur(10px);
}

.event-showcase-card {
  position: absolute;
  right: -1.2rem;
  bottom: 2rem;
  max-width: 260px;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(232, 201, 122, .42);
  border-radius: 18px;
  background: rgba(247, 243, 236, .96);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.event-showcase-card span,
.event-showcase-card small {
  display: block;
  color: var(--text-mid);
  font-size: .7rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.event-showcase-card strong {
  display: block;
  margin: .3rem 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}

.event-proof-strip {
  position: relative;
  z-index: 5;
  margin-top: -2.6rem;
  padding: 0 2rem 1rem;
}

.event-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, .32);
  border-radius: 20px;
  background: rgba(201, 168, 76, .28);
  box-shadow: var(--shadow-lg);
}

.event-proof-grid > div {
  padding: 1.35rem 1.55rem;
  background: rgba(255,255,255,.96);
}

.event-proof-grid strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.1;
}

.event-proof-grid span {
  display: block;
  margin-top: .45rem;
  color: var(--text-mid);
  font-size: .86rem;
  line-height: 1.55;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 1.8rem 0 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, .28);
  border-radius: 16px;
  background: rgba(201, 168, 76, .28);
  box-shadow: var(--shadow-lg);
}

.event-fact {
  padding: 1.45rem 1.6rem;
  background: #fff;
}

.event-fact small {
  display: block;
  margin-bottom: .38rem;
  color: var(--gold-dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.event-fact strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.45;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.event-copy h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
}

.event-copy h3 {
  margin: 2.25rem 0 .75rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.event-copy p {
  color: var(--text-mid);
  line-height: 1.9;
}

.event-copy ul {
  display: grid;
  gap: .7rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.event-copy li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.event-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.event-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 2.3rem;
}

.event-benefit-grid article {
  padding: 1.2rem;
  border: 1px solid rgba(13,27,42,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, rgba(247,243,236,.72));
  box-shadow: var(--shadow-sm);
}

.event-benefit-grid span {
  display: inline-flex;
  margin-bottom: .75rem;
  color: var(--gold-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.event-benefit-grid h3 {
  margin: 0 0 .45rem;
  font-size: 1.25rem;
}

.event-benefit-grid p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.65;
}

.event-side-card {
  position: sticky;
  top: 96px;
  padding: 1.9rem;
  border: 1px solid rgba(201,168,76,.28);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.96), rgba(237,232,223,.9)),
    var(--ivory-dark);
  box-shadow: var(--shadow-md);
}

.event-side-card h2 {
  margin: 0 0 .85rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
}

.event-side-card p {
  margin: 0 0 1.25rem;
  color: var(--text-mid);
  font-size: .9rem;
  line-height: 1.75;
}

.event-side-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: .6rem;
}

.event-side-note {
  margin-top: 1rem !important;
  font-size: .76rem !important;
  color: var(--text-light) !important;
}

.event-side-facts {
  display: grid;
  gap: .8rem;
  margin: 1.25rem 0;
}

.event-side-facts div {
  padding: .85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.62);
}

.event-side-facts small {
  display: block;
  margin-bottom: .2rem;
  color: var(--text-light);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.event-side-facts strong {
  color: var(--navy);
  font-size: .92rem;
}

.event-light-outline {
  color: var(--navy) !important;
  border-color: rgba(13,27,42,.25) !important;
}

.event-light-outline:hover {
  color: #fff !important;
}

.event-hub-intro {
  max-width: 850px;
  margin: 0 auto 3rem;
  text-align: center;
}

.event-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.event-feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13,27,42,.09);
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.event-feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 24px 70px rgba(13,27,42,.18);
}

.event-feature-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.event-feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s ease;
}

.event-feature-card:hover img {
  transform: scale(1.04);
}

.event-feature-card figcaption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  max-width: calc(100% - 1.5rem);
  padding: .38rem .55rem;
  border-radius: 999px;
  background: rgba(7,20,34,.64);
  backdrop-filter: blur(10px);
}

.event-feature-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.event-card-date {
  color: var(--gold-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.event-feature-card h3 {
  margin: .8rem 0 .65rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.event-feature-card p {
  margin: 0 0 1.2rem;
  color: var(--text-mid);
  font-size: .88rem;
  line-height: 1.7;
}

.event-card-link {
  margin-top: auto;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-visual-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.event-visual-copy h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.event-visual-copy p {
  margin-bottom: 1.8rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.event-visual-stack {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 1rem;
  align-items: end;
}

.event-visual-stack figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.event-visual-stack figure:nth-child(2) {
  transform: translateY(2rem);
}

.event-visual-stack img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.event-visual-stack figcaption {
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .8rem;
  padding: .45rem .6rem;
  border-radius: 999px;
  background: rgba(7,20,34,.62);
  backdrop-filter: blur(10px);
}

.event-timeline {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(13,27,42,.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.event-timeline-row {
  display: grid;
  grid-template-columns: minmax(165px, .55fr) minmax(190px, .8fr) minmax(180px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(13,27,42,.08);
  color: inherit;
  text-decoration: none;
  transition: background .22s ease;
}

.event-timeline-row:last-child {
  border-bottom: 0;
}

.event-timeline-row:hover {
  background: rgba(201,168,76,.08);
}

.event-timeline-row-priority {
  background: rgba(255,255,255,.86);
}

.event-timeline-date {
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-timeline-row strong {
  color: var(--navy);
  line-height: 1.35;
}

.event-timeline-row span:not(.event-timeline-date) {
  color: var(--text-mid);
  font-size: .86rem;
}

.event-timeline-row em {
  color: var(--gold-dark);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-gallery {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.event-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.event-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  opacity: .92;
  transition: transform .45s ease, opacity .45s ease;
}

.event-gallery figure:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.event-gallery figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(7,20,34,.68);
  color: #fff;
  backdrop-filter: blur(12px);
}

.event-gallery figcaption strong,
.event-gallery figcaption span {
  display: block;
}

.event-gallery figcaption strong {
  margin-bottom: .25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.event-source {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--ivory-dark);
  color: var(--text-mid);
  font-size: .8rem;
  line-height: 1.65;
}

.event-source a {
  color: var(--navy);
  font-weight: 700;
}

.event-faq {
  max-width: 900px;
  margin: 0 auto;
}

.event-faq details {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(13,27,42,.13);
}

.event-faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
}

.event-faq p {
  margin: .8rem 0 0;
  color: var(--text-mid);
  line-height: 1.8;
}

.event-final-cta {
  text-align: center;
}

.event-final-cta .section-title {
  color: #fff;
}

.event-final-cta p {
  margin: 0 auto 2rem;
  max-width: 760px;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
}

.event-final-cta .hero-actions {
  justify-content: center;
}

.brand-disclosure {
  color: rgba(255,255,255,.48);
  font-size: .76rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .event-hero-grid,
  .event-visual-section,
  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-showcase {
    max-width: 520px;
  }

  .event-side-card {
    position: static;
  }

  .event-feature-grid,
  .event-proof-grid,
  .event-benefit-grid,
  .event-gallery {
    grid-template-columns: 1fr;
  }

  .event-visual-stack {
    max-width: 640px;
  }

  .event-timeline-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .event-timeline-row em {
    margin-top: .35rem;
  }
}

@media (max-width: 640px) {
  .event-hero {
    min-height: auto;
    padding: 7.6rem 1rem 4rem;
  }

  .event-hero + .container {
    padding-inline: 1rem;
  }

  .event-hero::after {
    background: linear-gradient(0deg, rgba(7,20,34,.96), rgba(7,20,34,.72));
  }

  .event-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
  }

  .event-showcase::before {
    display: none;
  }

  .event-showcase-card {
    position: static;
    max-width: none;
    margin-top: .75rem;
  }

  .event-proof-strip {
    margin-top: -1.4rem;
    padding-inline: 1rem;
  }

  .event-proof-grid > div {
    padding: 1.1rem 1.2rem;
  }

  .event-facts {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .event-fact {
    padding: 1.1rem 1.25rem;
  }

  .event-feature-card {
    min-height: 0;
  }

  .event-visual-stack {
    grid-template-columns: 1fr;
  }

  .event-visual-stack figure:nth-child(2) {
    transform: none;
  }

  .event-gallery img {
    min-height: 260px;
  }
}
