/* ============================================================
   Science Act – Minimal Custom Stylesheet for OJS 3.x
   ONLY changes:
     1. "BLOCK TITLE"  →  "Latest Articles"
     2. "Platform & workflow by OJS/PKP"  →  "Science Act Platform"
   Everything else (colors, fonts, spacing, other blocks) stays original.
   ============================================================ */


/* ---------- 1. Change only the "BLOCK TITLE" text ---------- */
/* This targets the first sidebar block that currently shows the
   placeholder "BLOCK TITLE". Other blocks (Announcements, Keywords…)
   keep their real titles. */

.pkp_structure_sidebar .pkp_block:first-of-type .title,
.pkp_structure_sidebar .pkp_block:first-child .title {
  font-size: 0 !important;          /* hide the original text */
  line-height: 0 !important;
}

.pkp_structure_sidebar .pkp_block:first-of-type .title::before,
.pkp_structure_sidebar .pkp_block:first-child .title::before {
  content: "Latest Articles";
  font-size: 1rem !important;       /* restore size */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: inherit;                   /* keep original color */
  line-height: 1.4 !important;
  display: block;
}


/* ---------- 2. Replace footer branding text ---------- */
/* Hides the PKP logo + "Platform & workflow by OJS/PKP"
   and shows "Science Act Platform" instead. */

.pkp_brand_footer {
  font-size: 0 !important;
  line-height: 0 !important;
  position: relative;
  min-height: 2.2rem;
  text-align: center;
}

.pkp_brand_footer img {
  display: none !important;         /* hide PKP image */
}

.pkp_brand_footer a {
  font-size: 0 !important;
}

.pkp_brand_footer::after {
  content: "Science Act Platform";
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;                   /* keep original footer color */
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.5;
  padding: 0.5rem 0;
}
