/*
 * Identite lot05 aktien-meldungen.de.
 *
 * Palette du paquet : encre #353535, papier #ffffff, accent #00ade0.
 * Le logo professionnel n'est ni redessine ni recolore ; sur graphite il vit
 * dans un cartouche blanc (reserve d'un quart de sa hauteur au minimum).
 * Pied compose selon le brief : marque a gauche, marches et entreprises sur
 * deux listes compactes, mentions au pied. Aucun manifeste, aucune methode
 * numerotee.
 */
html body {
  --dn-id-ink: #353535;
  --dn-id-paper: #ffffff;
  --dn-id-accent: #00ade0;
  --dn-id-graphite: #353535;
  --dn-id-line: rgba(255, 255, 255, 0.22);
  --dn-id-muted: rgba(255, 255, 255, 0.72);
}

html body .dn-id-foot,
html body .dn-id-page {
  color: var(--dn-id-ink);
  background: var(--dn-id-paper);
  font-family: inherit;
}

/* --- pied graphite ------------------------------------------------------ */

html body .dn-id-foot--aktien {
  display: block;
  background: var(--dn-id-graphite);
  color: var(--dn-id-paper);
  padding: 34px 0 20px;
  border-top: 3px solid var(--dn-id-accent);
}

html body .dn-id-foot--aktien .dn-id-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 26px 34px;
}

html body .dn-id-foot__cartouche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dn-id-paper);
  padding: 16px 18px;
  border-radius: 4px;
}

html body .dn-id-foot__cartouche img {
  display: block;
  width: auto;
  height: auto;
  min-width: 180px;
  max-width: 100%;
  max-height: 56px;
}

html body .dn-id-foot__label {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dn-id-accent);
}

html body .dn-id-foot__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

html body .dn-id-foot__list a {
  color: var(--dn-id-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.25;
}

html body .dn-id-foot__list a:hover,
html body .dn-id-foot__list a:focus-visible {
  color: var(--dn-id-paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body .dn-id-foot__ads p {
  margin: 0 0 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--dn-id-muted);
  max-width: 32rem;
}

html body .dn-id-foot__ads a {
  display: inline-block;
  color: var(--dn-id-paper);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  border-bottom: 1px solid var(--dn-id-accent);
  padding-bottom: 2px;
}

html body .dn-id-foot__ads a:hover,
html body .dn-id-foot__ads a:focus-visible {
  color: var(--dn-id-accent);
}

html body .dn-id-foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--dn-id-line);
  font-size: 0.78rem;
  color: var(--dn-id-muted);
}

html body .dn-id-foot__base nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

html body .dn-id-foot__base a,
html body .dn-id-foot__base button {
  color: var(--dn-id-muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

html body .dn-id-foot__base a:hover,
html body .dn-id-foot__base a:focus-visible,
html body .dn-id-foot__base button:hover,
html body .dn-id-foot__base button:focus-visible {
  color: var(--dn-id-paper);
  text-decoration: underline;
}

/* --- etats hover/focus des roles interactifs ---------------------------- */

html body .dn-breadcrumb a,
html body main article a,
html body .pagination a,
html body .page-numbers a,
html body [class*="share"] a,
html body [rel="author"],
html body a[href*="/author/"] {
  transition: color 0.15s ease;
}

html body .dn-breadcrumb a:hover,
html body .dn-breadcrumb a:focus-visible,
html body main article a:hover,
html body main article a:focus-visible,
html body .pagination a:hover,
html body .pagination a:focus-visible,
html body .page-numbers a:hover,
html body .page-numbers a:focus-visible,
html body [class*="share"] a:hover,
html body [class*="share"] a:focus-visible,
html body [rel="author"]:hover,
html body [rel="author"]:focus-visible,
html body a[href*="/author/"]:hover,
html body a[href*="/author/"]:focus-visible {
  color: var(--dn-id-accent);
  text-decoration: underline;
}

html body a:focus-visible {
  outline: 2px solid var(--dn-id-accent);
  outline-offset: 2px;
}

/* --- page de confiance -------------------------------------------------- */

/*
 * Blocs commerciaux/publicitaires : ne pas les etirer a la hauteur de la
 * rangee, sinon une zone morte domine (P1 vu sur des domaines voisins). Ils
 * prennent leur hauteur de contenu.
 */
html body .dn-trust__contact-commercial,
html body .dn-trust__commercial-grid,
html body .dn-trust__marketplace {
  align-self: start;
  height: auto;
  min-height: 0;
}

/*
 * Un div vide injecte dans l'aside contact occupait la colonne large et
 * repoussait le texte dans la colonne etroite de 210 px : le bloc rankSource
 * s'affichait tasse a gauche avec une zone morte a droite (P1). On retire le
 * div vide ; le contenu reprend la colonne large.
 */
html body .dn-trust__contact-commercial > div:empty,
html body .dn-trust__marketplace > div:empty,
html body .dn-trust__commercial-grid > div:empty {
  display: none;
}

@media (min-width: 821px) {
  html body .dn-trust__contact-commercial {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) !important;
  }
  html body .dn-trust__contact-commercial > div {
    grid-column: 2;
  }
}

/*
 * Le formulaire de contact et d'annonceurs etait pose a `margin: 38px 0 0`
 * dans son conteneur : largeur intermediaire collee a gauche, refusee par le
 * gate forms_layout. On le centre a marges symetriques sans changer sa
 * largeur utile.
 */
html body .dn-trust .dn-contact {
  margin-left: auto;
  margin-right: auto;
}

/* Sur Contact, le formulaire etait un enfant de grille place dans une seule
 * colonne : largeur intermediaire collee a gauche. La coquille de page est
 * ramenee en flux pleine largeur, puis le formulaire est centre. */
html body main.dn-page .dn-page-layout {
  display: block !important;
}

html body main.dn-page .dn-page-content {
  width: 100% !important;
  max-width: none !important;
}

html body .dn-trust--contact .dn-contact {
  grid-column: 1 / -1;
  width: min(860px, 100%);
}

html body .dn-id-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dn-id-accent);
}

html body .dn-id-page__head h1 {
  margin: 0 0 18px;
}

/* --- reCAPTCHA --------------------------------------------------------- */

html body .dn-recaptcha-attribution {
  margin: 14px 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--dn-id-muted);
}

html body .dn-recaptcha-attribution a {
  color: inherit;
  text-decoration: underline;
}

/*
 * Pont de survol du mega-menu desktop. Le panneau est servi 6 a 8 px sous le
 * bas du declencheur : traverser ce vide fait tomber le `li:hover` et le
 * panneau disparait avant le clic. Le pseudo-element couvre exactement ce
 * vide, sans agrandir ni deplacer le panneau.
 */
html body .navigation .menu > li.item-mega-menu > .sub-menu.mega-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  html body .dn-id-foot--aktien .dn-id-foot__top {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 1fr);
  }
  html body .dn-id-foot__ads {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  html body .dn-id-foot--aktien .dn-id-foot__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  html body .dn-id-foot__cartouche {
    justify-self: start;
  }
  html body .dn-id-foot__cartouche img {
    min-width: 160px;
    max-height: 48px;
  }
  html body .dn-id-foot__base {
    flex-direction: column;
  }
}
