/* Justify text for specific sections */
.obj_article_details .abstract {
  text-align: justify;
}

.obj_article_details .author_bios {
  text-align: justify;
}

.obj_article_details .references {
  text-align: justify;
}

.pkp_page_index .homepage_about {
  text-align: justify;
}

/* Blinking effect for the Make a Submission link */
.block_make_submission_link {
  animation-name: blinker;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  font-size: 15px !important;
  line-height: 35px !important;
}

/* Blinking effect keyframes (applies to all blinking elements) */
@keyframes blinker {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

/* Custom button with blinking red text */
.custom-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f9f9f9;
  color: red;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  font-weight: bold;
  animation: blinker 1s linear infinite; /* Blinking text effect */
}

/* Blinking box style for the main text section */
.blinking-box {
  display: inline-block;
  padding: 15px;
  background-color: #f9f9f9;
  border: 3px solid #333;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  max-width: 400px;
  margin: 20px auto;
  text-align: justify;
  font-family: Arial, sans-serif;
  animation: blinker 1s linear infinite; /* Blinking effect on the entire box */
}

/* Hide current issue on main page */
.current_issue {
  display: none;
}

/* 🔧 FIX: Remove extra spacing in list items */
ul li p {
  margin: 0 !important;   /* kill extra space inside list items */
  padding: 0 !important;
}

ul li {
  margin-bottom: 4px !important;  /* tighter spacing between bullet points */
  line-height: 1.4em !important;  /* readable but compact */
}

/* 🔧 FIX: Reduce extra spacing around section headings */
h2, h3, h4 {
  margin-top: 14px !important;   /* control space above heading */
  margin-bottom: 6px !important; /* control space below heading */
  line-height: 1.3em !important; /* compact line spacing */
}

/* Reduce space after headings and before lists */
h2 + ul, h3 + ul, h4 + ul {
  margin-top: 4px !important;    /* tighten space between heading and list */
}

/* 🔧 Extra compact paragraphs inside policy sections */
p {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  line-height: 1.4em !important;
}

/* 🔧 Remove extra gap between headings and following paragraphs */
h2 + p, h3 + p, h4 + p {
  margin-top: 4px !important;
}
/* Add a clean line under section headings */
h2, h3, h4 {
  border-bottom: 2px solid #ddd;  /* light gray line */
  padding-bottom: 4px;            /* space between text and line */
  margin-bottom: 10px !important; /* tighten gap after heading */
}