/* ===== Base Typography ===== */
body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: "Merriweather", serif;
  color: #003366;
  margin-bottom: 1rem;
}

h2, h3 {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}

p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* ===== Layout Enhancements ===== */
.container, .pkp_structure_main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

ul {
  margin-left: 1.5rem;
  padding-left: 0.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ===== Editorial Board Formatting ===== */
.editorial-board h3 {
  color: #0b3d91;
  margin-top: 2rem;
}

.editorial-board ul {
  list-style-type: none;
  padding: 0;
}

.editorial-board li {
  margin-bottom: 0.75rem;
  padding-left: 1.2rem;
  position: relative;
}

.editorial-board li::before {
  content: "•";
  color: #0b3d91;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ===== Links & Emails ===== */
a, em {
  color: #0a5cc0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

em {
  font-style: normal;
  font-weight: 500;
}

/* ===== Custom Boxes or Highlights ===== */
.info-box {
  background-color: #f5f9ff;
  border-left: 5px solid #0b3d91;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* ===== Responsive Text Justification for Arabic / RTL Support (optional) ===== */
.rtl p, .rtl li {
  text-align: right;
  direction: rtl;
}
.pkp_brand_footer {
    display: none !important;
}

.footer {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat;
    background-size: contain;
    padding: 2px 0 !important;       /* ✅ Moins de marge interne (haut/bas) */
    min-height: 0 !important;        /* ✅ Supprime toute hauteur minimale forcée */
    height: auto !important;         /* ✅ Laisse la hauteur s'adapter au contenu */
    line-height: 1.2 !important;     /* ✅ Réduit l'espacement vertical du texte */
    font-size: 14px !important;      /* ✅ Texte plus petit = footer plus compact */
}
/* ===== Journal Header Title Fix ===== */
.pkp_site_name .navbar-brand,
.pkp_site_name .navbar-brand a,
.pkp_site_name a {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif !important; /* même style que body */
    font-size: 32px !important;   /* ajuste à la taille que tu avais avant */
    font-weight: bold !important; /* gras si besoin */
    color: #003366 !important;    /* couleur du header */
    margin: 0 !important;         /* enlève marges en trop */
    line-height: 1.2 !important;  /* équilibre verticalement */
    text-decoration: none !important;
}