/* =====================================================
   banniere.css – LARSCED / OMP 3.3 (memoires-theses.larsced.cg)
   À téléverser dans : Paramètres > Site web > Apparence
   > Avancé > Feuille de style de la presse
   ===================================================== */

:root {
  --larsced-bleu: #4b7f96;        /* bleu de la bannière */
  --larsced-bleu-fonce: #1f6191;  /* survol / accents */
  --larsced-gris: #e6e6e6;        /* fond du pied de page */
  --larsced-jaune: #f5b942;       /* ligne sous les titres de blocs */
  --larsced-turquoise: #0b9fc3;   /* boutons latéraux */
}

/* ---------- 1. ENTÊTE : une seule couleur ---------- */
.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper,
.pkp_navigation_primary,
.pkp_navigation_search_wrapper {
  background: var(--larsced-bleu) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Bannière : image sur toute la largeur, sans marges autour */
.pkp_site_name_wrapper,
.pkp_site_name {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
.pkp_site_name .is_img {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pkp_site_name .is_img img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 !important;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_search_wrapper a {
  color: #fff !important;
  background: transparent !important;
  text-transform: uppercase;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* ---------- 2. PIED DE PAGE : fond gris, écrits noirs ---------- */
.pkp_structure_footer_wrapper,
.pkp_structure_footer,
.pkp_footer_content,
.pkp_footer_content * {
  background: var(--larsced-gris) !important;
  box-shadow: none !important;
}

.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div,
.pkp_footer_content span,
.pkp_footer_content strong,
.pkp_footer_content a {
  color: #000 !important;
}

.pkp_footer_content a {
  text-decoration: underline;
}

.pkp_footer_content img {
  background: transparent !important;
}

/* Logo « Platform & workflow by OMP/PKP » masqué */
.pkp_brand_footer {
  display: none !important;
}

/* ---------- 3. DOCUMENTS À TÉLÉCHARGER : une seule ligne jaune ---------- */
.pkp_block {
  border: 0 !important;
  box-shadow: none !important;
}

.pkp_block .title {
  border-top: 0 !important;
  border-bottom: 2px solid var(--larsced-jaune) !important;
  box-shadow: none !important;
  padding-bottom: 8px;
  font-size: 0.95rem;
  white-space: nowrap;          /* titre sur une seule ligne */
}

.pkp_block .title::before,
.pkp_block .title::after,
.pkp_block .content::before,
.pkp_block .content::after,
.pkp_block hr {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

.pkp_block .content {
  border-top: 0 !important;
}

/* ---------- 4. TEXTE JUSTIFIÉ ---------- */
.page p,
.obj_monograph_full .abstract,
.obj_monograph_full .abstract p,
.obj_monograph_summary .summary,
.page_index_press .description,
.pkp_structure_main p {
  text-align: justify;
}
