/* =========================================================================
   AMDT -- Congres Tiznit -- editorial title system.

   Generalizes the approved Presentation title treatment (eyebrow + navy
   title + italic blue serif accent + short underline) into a reusable
   piece, applied ONLY to the major section titles identified as fitting
   this pattern: Tarifs (#formules) and Inscription (#inscription).

   Deliberately reuses the site's EXISTING tokens (--navy, --blue,
   --gold-soft) and the EXISTING #amdt-congres h2 default (already navy
   Montserrat 700) and .eyebrow (already a gold tick + blue uppercase
   label) instead of introducing new hex constants -- this is what makes
   the result actually match the approved Presentation reference, which
   itself uses these same tokens. Presentation (#exposition) is NOT
   touched by this file.

   Programme Scientifique's own hero (.cndt-programme) intentionally
   keeps its own distinct cyan-on-navy palette (--pc-cyan/--pc-navy*,
   established in earlier work) -- it already follows the same STRUCTURE
   (small tick eyebrow -> bold title -> italic colour-accent line), just
   correctly adapted for its dark photographic background. Recoloring it
   navy/gold would make the title illegible against that background, so
   it is left untouched here, per "do not modify Programme hero".

   .cndt-title-accent is the one new reusable class: the italic serif
   blue continuation line of a two-line title. Everything else reuses
   the site's existing .eyebrow / h2 / .rule mechanisms as-is.
   ========================================================================= */

#amdt-congres .cndt-title-accent {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

/* Blue underline for these two sections specifically (the sitewide
   .rule::after default is gold, intentionally kept as-is everywhere
   else, including the approved Presentation reference). */
#amdt-congres #formules .rule::after,
#amdt-congres #inscription .rule::after,
#amdt-congres #intervenants .rule::after,
#amdt-congres #hebergement .rule::after,
#amdt-congres #faq .rule::after,
#amdt-congres #contact .rule::after {
  background: linear-gradient(90deg, var(--blue), var(--gold-soft));
}

@media (max-width: 640px) {
  #amdt-congres .cndt-title-accent { line-height: 1.15; }
}
