/* Mis à jour le 14 octobre 2026 (2) : bande tissée : position du tissu en pourcentage (46 %) et répétition dans les deux sens, pour toute taille d'image motif.* (la bande restait vide avec une grande image). Précédemment : 14 octobre 2026 : création : bannière d'une série de l'Expo (ex. KANVO Digital) : photo à droite sous un voile bleu,
   nom en grandes capitales, bande du tissu de la série qui se défait en fibres optiques animées (nvbb-edbanner.js), accroche, mention
   de la photo. Couleurs : #013C80, #E38B0D. Précédemment : aucun (fichier nouveau). */
.mdaa-siam-hero--banner { background: #0f2a5c; min-height: min(86vh, 720px); align-items: flex-end; padding-bottom: 56px; }
.mdaa-siam-hero--banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; z-index: 4; background: linear-gradient(90deg, #013C80 0 60%, #E38B0D 60% 100%); }
.mdaa-siam-hero--banner .mdaa-siam-hero__photo, .mdaa-siam-hero--banner .mdaa-siam-hero__veil { display: none; }
.edb-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 980px); background-size: cover; background-position: 50% 14%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  animation: edb-zoom 18s ease-out both; filter: saturate(1.05) contrast(1.06); }
.edb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #4f8fe0 0%, #3a74c4 50%, #1d4a8f 100%); mix-blend-mode: multiply; opacity: .5; }
@keyframes edb-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.edb-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #0f2a5c 0%, #0f2a5c 28%, rgba(15,42,92,.7) 42%, rgba(15,42,92,.08) 62%, rgba(15,42,92,0) 100%),
    linear-gradient(0deg, #0f2a5c 0%, rgba(15,42,92,.85) 24%, rgba(15,42,92,0) 52%); }
.edb-credit { position: absolute; right: 18px; bottom: 10px; z-index: 3; margin: 0; font-size: 11.5px; color: rgba(255,255,255,.82); text-shadow: 0 1px 2px rgba(0,0,0,.5); }

.mdaa-siam-hero--banner .mdaa-siam-hero__inner { max-width: var(--mdaa-container, 1200px); width: 100%; margin-inline: auto; }
.mdaa-siam-hero--banner .mdaa-siam-hero__badge { margin-bottom: 14px; }
.edb-pill { display: inline-block; margin: 0 0 6px; padding: 7px 18px; border-radius: 999px; background: #E38B0D; color: #1a1a1a; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; box-shadow: 0 6px 18px rgba(227, 139, 13,.35); }
.edb-title { font-family: 'Fraunces', Georgia, serif; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin: 10px 0 0 !important;
  font-size: clamp(36px, 5.4vw, 80px) !important; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.edb-year { text-transform: none; font-variant-numeric: oldstyle-nums; font-weight: 700; white-space: nowrap; }

/* Bande tissée puis fibres */
.edb-weave { position: relative; display: flex; align-items: flex-end; height: clamp(90px, 12vw, 170px); margin: -64px 0 0; pointer-events: none; }
.edb-strip { flex: 0 0 clamp(220px, 46%, 620px); height: 12px; margin-bottom: 0; border-radius: 6px 0 0 6px;
  background: repeating-linear-gradient(90deg, #2D73C9 0 40px, #E38B0D 40px 54px, #2D73C9 54px 66px, #fff 66px 70px, #2D73C9 70px 92px, #111 92px 98px, #1E8E5A 98px 102px);
  background-size: 360px auto; background-repeat: repeat; background-position: 0 46%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 4px 14px rgba(0,0,0,.35); transform-origin: left center; animation: edb-weave 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes edb-weave { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.edb-fibers { flex: 1 1 auto; height: 100%; overflow: visible; margin-left: -1px; }
.edb-fibers .f { fill: none; stroke-width: 1.6; stroke-linecap: round; opacity: .75; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: edb-draw 1.6s ease-out forwards; }
.edb-fibers .p { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 1200; stroke-dashoffset: 26; filter: drop-shadow(0 0 4px currentColor); animation: edb-pulse 3.4s linear infinite; }
.edb-fibers .d { animation: edb-twinkle 2.6s ease-in-out infinite; }
.edb-fibers .h { opacity: .35; }
@keyframes edb-draw { to { stroke-dashoffset: 0; } }
@keyframes edb-pulse { from { stroke-dashoffset: 26; } to { stroke-dashoffset: -1200; } }
@keyframes edb-twinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.edb-tagline { margin-top: 18px !important; font-style: italic; font-weight: 700; color: #FBD9A6 !important; font-size: clamp(16px, 1.6vw, 21px) !important; max-width: 52ch; }

@media (max-width: 760px) {
  .mdaa-siam-hero--banner { min-height: 0; padding-top: 356px; padding-bottom: 40px; }
  .edb-photo { width: 100%; height: 340px; bottom: auto; background-position: 50% 8%; -webkit-mask-image: none; mask-image: none; }
  .edb-veil { background: linear-gradient(0deg, #0f2a5c 0%, #0f2a5c 52%, rgba(15,42,92,.55) 68%, rgba(15,42,92,.05) 100%); }
  .edb-weave { height: 90px; margin-top: -24px; }
  .edb-strip { flex-basis: 58%; }
  .edb-credit { top: 316px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .edb-photo, .edb-strip, .edb-fibers .f, .edb-fibers .p, .edb-fibers .d { animation: none !important; }
  .edb-fibers .f { stroke-dashoffset: 0; }
  .edb-fibers .p { display: none; }
}
