/* Pré-header 1re Soirée des Weppes.
   Chargé par includes/layout.php jusqu’à la fin de la soirée du 19 octobre 2026. */

.lw-soiree {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  min-height: 52px;
  padding: 8px 16px;
  background: #06402a;
  color: #f6f1e6;
  text-decoration: none;
  border-bottom: 3px solid #f14c14;
  flex-shrink: 0;
}
.lw-soiree:hover,
.lw-soiree:focus {
  color: #f6f1e6;
  background: #053524;
  text-decoration: none;
}
.lw-soiree:focus-visible {
  outline: 2px solid #f6f1e6;
  outline-offset: -4px;
}
.lw-soiree__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
}
.lw-soiree__kicker {
  flex-shrink: 0;
  font: 500 11px/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f14c14;
}
.lw-soiree__title {
  flex-shrink: 0;
  font: 700 16px/1.1 'Archivo', Helvetica, Arial, sans-serif;
  letter-spacing: -.02em;
  color: #f6f1e6;
}
.lw-soiree__meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 400 13.5px/1.3 'DM Sans', Helvetica, Arial, sans-serif;
  color: rgba(246, 241, 230, .84);
}
.lw-soiree__when {
  margin-left: auto;
  flex-shrink: 0;
  font: 500 11px/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f6f1e6;
  border: 1px solid rgba(246, 241, 230, .4);
  border-radius: 999px;
  padding: 6px 10px;
}
.lw-soiree__cta {
  flex-shrink: 0;
  background: #f14c14;
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 13.5px/1 'DM Sans', Helvetica, Arial, sans-serif;
}
.lw-soiree:hover .lw-soiree__cta,
.lw-soiree:focus .lw-soiree__cta {
  background: #d9410e;
}

@media (min-width: 1101px) {
  .lw-soiree {
    padding-left: max(24px, calc((100% - 1560px) / 2 + 24px));
    padding-right: max(24px, calc((100% - 1560px) / 2 + 24px));
  }
}

@media (max-width: 980px) {
  .lw-soiree__meta { display: none; }
}

@media (max-width: 720px) {
  .lw-soiree__kicker { display: none; }
}

@media (max-width: 640px) {
  .lw-soiree {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    min-height: 52px;
    padding: 7px 12px;
  }
  .lw-soiree__logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
  }
  .lw-soiree__title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
  }
  .lw-soiree__when {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
    justify-self: start;
    border: 0;
    border-radius: 0;
    padding: 0;
    letter-spacing: .06em;
    color: rgba(246, 241, 230, .82);
  }
  .lw-soiree__cta {
    grid-column: 3;
    grid-row: 1 / span 2;
    padding: 8px 12px;
  }
}

@media print {
  .lw-soiree { display: none !important; }
}

/* Affiche de la soirée : on la montre entière, sans le voile des photos d’événement. */
.s583--poster {
  background: #06402a;
}
.s583--poster .s1009 {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
}
.s583--poster .s1010 {
  display: none;
}
.s583--poster .s1011 {
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #06402a;
}
.s583--poster .s511 {
  margin-left: 0;
}
.s1024.lw-soiree-reserve {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #06402a;
  color: #f6f1e6;
  font-weight: 600;
}
.s1024.lw-soiree-reserve a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.s1024.lw-soiree-reserve a:hover {
  color: #ffd7c8;
}

.s583--poster .s1012,
.s583--poster .s1016 {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
