@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-italic-400.woff2") format("woff2");
}
.msg[data-unit="168"],
.cadets-cal-unite[data-unit="168"] {
  --band: #0e2238;
  --band2: #17406b;
  --accent: #c9a24a;
  --deco: #c9a24a;
  --accent-text: #c9a24a;
  --on-band: #f4f1e6;
  --panel: #e8eef5;
  --panel-ink: #0e2238;
  --rail: #17406b;
}

.msg[data-unit="2595"],
.cadets-cal-unite[data-unit="2595"] {
  --band: #26331f;
  --band2: #4b5a35;
  --accent: #e9e2c8;
  --deco: #ff6b57;
  --accent-text: #e9e2c8;
  --on-band: #e9e2c8;
  --panel: #eceee3;
  --panel-ink: #26331f;
  --rail: #4b5a35;
}

.msg {
  --band: #1f2937;
  --band2: #4b5563;
  --accent: #9ca3af;
  --deco: #9ca3af;
  --accent-text: #f3f4f6;
  --on-band: #ffffff;
  --panel: #f3f4f6;
  --panel-ink: #111827;
  --rail: #374151;
  background: #fafaf8;
  color: #17191a;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  height: auto;
  overflow: visible;
}
.msg img {
  border-radius: 0;
}
.msg *,
.msg *::before,
.msg *::after {
  box-sizing: border-box;
}
.msg a {
  color: inherit;
}
.msg :focus-visible {
  outline: 3px solid var(--rail);
  outline-offset: 3px;
}
.msg h2,
.msg h3,
.msg h4 {
  font-family: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  color: inherit;
  text-transform: none;
}
.msg p {
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 14px;
}

main.weekly-messages-page {
  flex-shrink: 0;
  height: auto;
  overflow: visible;
}

.msg__band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--band) 55%, var(--band2));
  color: var(--on-band);
  padding: 40px 24px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 220px;
}
.msg__band--sans-logo {
  grid-template-columns: 1fr;
}

.msg__logo {
  height: 120px;
  display: flex;
  align-items: center;
  flex: none;
}
.msg__logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.msg__id {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.msg__branche {
  margin: 0 0 6px;
  font: 600 20px/1 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  color: var(--accent-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msg__nom {
  margin: 0;
  font: 700 clamp(38px, 6vw, 64px)/0.95 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: 0.01em;
  color: var(--on-band);
  overflow-wrap: anywhere;
}

.msg__semaine {
  margin: 12px 0 0;
  font: 400 18px/1.3 "Source Serif 4", Georgia, "Times New Roman", serif;
}

.msg__band :focus-visible {
  outline-color: var(--on-band);
}

.msg__numeral {
  position: absolute;
  right: -14px;
  bottom: -34px;
  z-index: 0;
  pointer-events: none;
  font: 700 clamp(150px, 26vw, 300px)/0.8 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  color: transparent;
  -webkit-text-stroke: 3px var(--accent);
  opacity: 0.9;
  letter-spacing: -0.02em;
  user-select: none;
}

.msg__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  padding: 40px 24px 56px;
}

.msg__main {
  max-width: 66ch;
  min-width: 0;
}

.msg__body--sans-aside {
  grid-template-columns: minmax(0, 1fr);
}
.msg__body--sans-aside .msg__main {
  max-width: 860px;
}

.msg__aside {
  min-width: 0;
}

.msg section {
  margin: 0 0 40px;
}

.msg h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 6px solid var(--rail);
}

.msg__for {
  margin: 0 0 34px;
  padding: 16px 18px;
  background: var(--panel);
  color: var(--panel-ink);
}
.msg__for p {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
}
.msg__for p:last-child {
  margin-bottom: 0;
}

.msg__content p,
.msg__autres p {
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: #17191a;
}

.msg__content ul,
.msg__content ol {
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 14px;
  padding-left: 1.3em;
}
.msg__content img {
  max-width: 100%;
  height: auto;
}

.msg__autres {
  margin: 0;
}

.msg__activites {
  display: grid;
  gap: 12px;
}

.msg__activite {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d9dad6;
  border-left: 6px solid var(--rail);
}
.msg__activite h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}
.msg__activite .msg__activite-contenu p {
  font-size: 17px;
  line-height: 1.5;
}
.msg__activite--annulee {
  border-left-color: #555b5e;
}
.msg__activite--annulee h3 {
  text-decoration: line-through;
}

.msg__badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 10px;
  background: var(--panel);
  color: var(--panel-ink);
  font: 600 16px/1.4 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: 0.03em;
}
.msg__badge--annule {
  background: #17191a;
  color: #ffffff;
}

.msg__evenements {
  display: grid;
  gap: 8px;
}

.msg__evenement {
  border: 1px solid #d9dad6;
  background: #ffffff;
}

.msg__evenement-bouton {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: none;
  border: 0;
  color: #17191a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.msg__evenement-bouton:hover {
  background: var(--panel);
}

.msg__evenement-resume {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.msg__evenement-titre {
  font: 700 20px/1.2 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}

.msg__evenement-date {
  font-size: 16px;
  color: #555b5e;
}

.msg__evenement-icone {
  flex: none;
  font: 700 24px/1 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  transition: transform 0.2s ease;
}

.msg__evenement-bouton[aria-expanded=true] .msg__evenement-icone {
  transform: rotate(45deg);
}

.msg__evenement-details {
  padding: 4px 14px 14px;
  border-top: 1px solid #d9dad6;
}
.msg__evenement-details p {
  font-size: 17px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.msg__evenement-details[hidden] {
  display: none;
}

.msg__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.msg__categorie {
  padding: 2px 10px;
  font: 600 15px/1.5 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: 0.03em;
}

.msg__vide-evenements p {
  color: #555b5e;
  font-size: 17px;
}

.msg__bas {
  padding: 0 24px 56px;
}
.msg__bas .msg__section--evenements {
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid #d9dad6;
}
.msg__bas:empty {
  display: none;
}

.msg__soiree {
  padding: 24px 26px 10px;
  background: var(--panel, #f3f4f6);
  color: var(--panel-ink, #111827);
  border-top: 8px solid var(--deco, #9ca3af);
  box-shadow: 0 2px 0 #d9dad6;
}
.msg__soiree h2 {
  font-size: 32px;
}

.msg__periode {
  margin: 0 0 18px;
  padding: 0 0 0 14px;
  border-left: 4px solid var(--deco, #9ca3af);
}

.msg__periode-titre {
  margin: 0 0 6px;
  font: 700 26px/1.2 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: 0.02em;
}

.msg__niveaux {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.msg__niveau {
  padding: 2px 10px;
  border: 2px solid currentColor;
  font: 600 16px/1.5 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}

.msg__periode-cours,
.msg__periode-instructeur {
  margin: 2px 0;
  font-size: 17px;
}

.msg__bouton {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  background: var(--band);
  color: var(--on-band);
  font: 600 17px "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 4px solid var(--deco);
}
.msg__bouton:hover {
  background: var(--band2);
}

.msg .msg__bouton {
  color: var(--on-band);
}

.msg__tenue {
  background: var(--panel);
  color: var(--panel-ink);
  padding: 0 0 18px;
  margin: 0 0 32px;
}
.msg__tenue h2 {
  margin: 0;
  padding: 16px 18px 10px;
  border: 0;
  font-size: 26px;
}

.msg__tenue-photo {
  display: flex;
  justify-content: center;
  margin: 0 18px 14px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d9dad6;
}
.msg__tenue-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
}

.msg__tenue .msg__tenue-code {
  margin: 0 18px 6px;
  font: 700 22px/1.1 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  text-align: center;
}

.msg__tenue-description {
  margin: 0 18px;
}
.msg__tenue-description p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.msg__tenue--sans-photo {
  padding-bottom: 22px;
  text-align: center;
}
.msg__tenue--sans-photo h2 {
  padding-bottom: 6px;
}
.msg__tenue--sans-photo .msg__tenue-code {
  font-size: 28px;
}

.msg__aside .msg__aside-titre {
  font: 700 22px/1.1 "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.msg__liste {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.msg__liste li {
  padding: 7px 0;
  border-bottom: 1px solid #d9dad6;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.msg__liste a {
  font-weight: 600;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--rail);
}
.msg__liste a:hover {
  background: var(--panel);
}

.msg__ext {
  color: #555b5e;
  font-size: 15px;
  white-space: nowrap;
}

.msg__pied {
  padding: 28px 24px 36px;
  border-top: 1px solid #d9dad6;
  background: #ffffff;
}
.msg__pied p {
  font-size: 17px;
}

.msg__vide {
  padding: 56px 24px 72px;
}
.msg__vide p {
  max-width: 56ch;
}

@media (max-width: 820px) {
  .msg__band {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 18px 56px;
    min-height: 0;
  }
  .msg__logo {
    height: 84px;
  }
  .msg__numeral {
    font-size: 160px;
    right: -10px;
    bottom: -26px;
  }
  .msg__body {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 18px 40px;
  }
  .msg__vide {
    padding: 36px 18px 48px;
  }
  .msg__bas {
    padding: 0 18px 40px;
  }
  .msg__soiree {
    padding: 20px 18px 6px;
  }
  .msg__soiree h2 {
    font-size: 28px;
  }
  .msg__pied {
    padding: 24px 18px 32px;
  }
  .msg p {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .msg__id,
  .msg__logo {
    animation: msg-monte 0.5s ease-out both;
  }
  .msg__id {
    animation-delay: 0.08s;
  }
  .msg__numeral {
    animation: msg-apparait 0.8s ease-out 0.15s both;
  }
}
@keyframes msg-monte {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes msg-apparait {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .msg *,
  .msg *::before,
  .msg *::after {
    animation: none !important;
    transition: none !important;
  }
}

/*# sourceMappingURL=message-unit.css.map */
