/* 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 */
@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 box style */
.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;
}

/* Hide current issue on main page */
.current_issue {
  display: none;
}

/* 🔧 Compact lists and paragraphs */
ul li p {
  margin: 0 !important;
  padding: 0 !important;
}

ul li {
  margin-bottom: 4px !important;
  line-height: 1.4em !important;
}

h2, h3, h4 {
  margin-top: 14px !important;
  margin-bottom: 6px !important;
  line-height: 1.3em !important;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
  margin-bottom: 10px !important;
}

h2 + ul, h3 + ul, h4 + ul {
  margin-top: 4px !important;
}

p {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  line-height: 1.4em !important;
}

h2 + p, h3 + p, h4 + p {
  margin-top: 4px !important;
}

/* --------------------- */
/* Umer edit: Abstract button */
.btn-abstract {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  background-color: #007bff;
  border: 1px solid #007bff;
  border-radius: 4px;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background 0.3s ease;
  vertical-align: middle;
  margin-right: 6px;
}

.btn-abstract:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  text-decoration: none;
}

/* Umer edit: PDF button style */
.obj_galley_link {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  background-color: #28a745;
  border: 1px solid #28a745;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1.4;
  transition: background 0.3s ease;
  vertical-align: middle;
}

.obj_galley_link:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  text-decoration: none;
}

/* Umer edit: Counters (eye & download) */
.cmp_button_wire {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  background-color: #fff;
  margin-left: 6px;
  vertical-align: middle;
}

/* Umer edit: Keep everything inline */
.article-buttons-inline,
.galleys_links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.galleys_links li {
  display: inline-block;
  margin: 0;
}
