/* Élément injecté dans la diapositive, au-dessus de la vidéo et sous le calque compteur.
   L'ordre de superposition est calculé dans countdown.js pour Slider Revolution 6/7. */
.fmc-video-veil {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: none !important;
}

.fmc-match {
  --fmc-pink: #f57c00;
  --fmc-white: #fff;
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 16px 16px;
  text-align: center;
  color: var(--fmc-white);
  background: var(--fmc-backdrop, rgba(0, 0, 0, .78)); /* Repli hors Slider Revolution */
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}
.fmc-match * { box-sizing: border-box; }
.fmc-match.fmc-on-video { background: transparent; }
.fmc-match .fmc-tagline {
  font-size: clamp(12px, 1.5vw, 19px);
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0 0 7px;
  line-height: 1.2;
}
.fmc-match .fmc-title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 0 4px 9px;
  color: #fff !important;
  font-size: clamp(23px, 3.1vw, 50px) !important;
  font-weight: 900 !important;
  font-style: italic;
  line-height: 1.08 !important;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #0003;
  border-bottom: 3px solid var(--fmc-pink);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.fmc-match.fmc-custom-font .fmc-title {
  font-family: "FactocomCountdownCustom", "Arial Narrow", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}
.fmc-match .fmc-info {
  margin: 0 auto 17px;
  color: #fff;
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.fmc-match .fmc-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}
.fmc-match .fmc-cell {
  border: 1px solid #ffffffbd;
  background: #ffffff0c;
  min-width: 0;
  min-height: 110px;
  padding: 12px 6px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.fmc-match .fmc-number {
  color: #fff;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.1;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.fmc-match .fmc-label {
  color: var(--fmc-pink);
  font-size: clamp(9px, .85vw, 13px);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
}
.fmc-match .fmc-button-wrap { margin-top: 18px; }
.fmc-match .fmc-button {
  display: inline-block !important;
  position: relative;
  background: #fff !important;
  color: #0b2a63 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: 900 !important;
  font-style: italic;
  font-size: clamp(14px, 1.35vw, 19px);
  padding: 9px 23px;
  border: 2px solid var(--fmc-pink);
  line-height: 1.3;
  transition: background-color .15s, color .15s;
}
.fmc-match .fmc-button:hover,
.fmc-match .fmc-button:focus { background: var(--fmc-pink) !important; color: #fff !important; }
.fmc-match[hidden] { display: none !important; }

/* Hauteur réduite automatiquement lorsque le contenu risque de dépasser la vidéo. */
.fmc-match.fmc-condensed { padding-top: 10px; padding-bottom: 10px; }
.fmc-match.fmc-condensed .fmc-tagline { margin-bottom: 4px; font-size: clamp(11px, 1.2vw, 16px); }
.fmc-match.fmc-condensed .fmc-title { font-size: clamp(21px, 2.5vw, 40px) !important; margin-bottom: 6px; padding-bottom: 6px; }
.fmc-match.fmc-condensed .fmc-info { margin-bottom: 10px; font-size: clamp(11px, 1.1vw, 15px); }
.fmc-match.fmc-condensed .fmc-cell { min-height: 86px; padding: 6px 4px; }
.fmc-match.fmc-condensed .fmc-number { font-size: clamp(29px, 4vw, 52px); }
.fmc-match.fmc-condensed .fmc-button-wrap { margin-top: 11px; }
.fmc-match.fmc-condensed .fmc-button { padding: 7px 18px; }
.fmc-match.fmc-tight { padding-top: 5px; padding-bottom: 5px; }
.fmc-match.fmc-tight .fmc-title { font-size: clamp(19px, 2.1vw, 33px) !important; }
.fmc-match.fmc-tight .fmc-clock { gap: 7px; }
.fmc-match.fmc-tight .fmc-cell { min-height: 70px; padding: 4px 3px; }
.fmc-match.fmc-tight .fmc-number { font-size: clamp(25px, 3vw, 40px); }
.fmc-match.fmc-tight .fmc-info { margin-bottom: 6px; }
.fmc-match.fmc-tight .fmc-button-wrap { margin-top: 7px; }

@media (max-width: 650px) {
  .fmc-match { padding: 11px 9px; }
  .fmc-match .fmc-tagline { letter-spacing: .12em; margin-bottom: 5px; }
  .fmc-match .fmc-title { font-size: clamp(20px, 5.2vw, 34px) !important; margin-bottom: 7px; padding-bottom: 6px; }
  .fmc-match .fmc-info { margin-bottom: 11px; letter-spacing: .02em; font-size: clamp(11px, 2.8vw, 14px); }
  .fmc-match .fmc-clock { gap: 6px; }
  .fmc-match .fmc-cell { min-height: 76px; padding: 7px 2px; }
  .fmc-match .fmc-number { font-size: clamp(26px, 7vw, 43px); }
  .fmc-match .fmc-label { font-size: 9px; letter-spacing: .02em; }
  .fmc-match .fmc-button-wrap { margin-top: 12px; }
  .fmc-match .fmc-button { padding: 8px 16px; font-size: 14px; }
  .fmc-match.fmc-condensed .fmc-title { font-size: clamp(19px, 4.7vw, 30px) !important; }
  .fmc-match.fmc-condensed .fmc-cell { min-height: 65px; }
  .fmc-match.fmc-condensed .fmc-number { font-size: clamp(24px, 6vw, 37px); }
  .fmc-match.fmc-tight .fmc-title { font-size: clamp(18px, 4.3vw, 28px) !important; }
  .fmc-match.fmc-tight .fmc-cell { min-height: 57px; }
}
@media (max-width: 350px) {
  .fmc-match .fmc-label { font-size: 8px; }
  .fmc-match .fmc-number { font-size: 26px; }
}
