/* OJS Springer-style Indexing – Single Column */
.ojs-indexing-single {
  margin: 30px 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* OJS Springer-style Indexing – Single Column */
.ojs-indexing-single {
  margin: 30px 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Each indexing item */
.ojs-indexing-single details {
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 0;
  overflow: hidden;
  transition: all 0.4s ease; /* smooth open/close */
}

/* Indexing agency name */
.ojs-indexing-single summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 22px;
  color: #000;
}

/* Remove default marker */
.ojs-indexing-single summary::-webkit-details-marker {
  display: none;
}

/* Left chevron (Springer-like) */
.ojs-indexing-single summary::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  color: #0077b6;
  transition: transform 0.2s ease;
}

/* Rotate chevron on open */
.ojs-indexing-single details[open] summary::before {
  transform: rotate(90deg);
}

/* Hover underline */
.ojs-indexing-single summary:hover {
  text-decoration: underline;
}

/* Description text */
.ojs-indexing-single p {
  margin: 10px 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  text-align: justify; /* justified text */
}

/* Springer-style grid */
.springer-indexing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.springer-indexing details {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 12px;
  overflow: hidden;
  transition: all 0.4s ease; /* smooth open/close */
}

.springer-indexing summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 22px;
}

/* remove default marker */
.springer-indexing summary::-webkit-details-marker {
  display: none;
}

/* left chevron */
.springer-indexing summary::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  transition: transform 0.2s ease;
}

/* rotate chevron when open */
.springer-indexing details[open] summary::before {
  transform: rotate(90deg);
}

.springer-indexing p {
  margin: 10px 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  text-align: justify; /* justified text */
}

/* mobile */
@media (max-width: 768px) {
  .springer-indexing {
    grid-template-columns: 1fr;
  }
}

.homepage_about {
    text-align: justify;
}

.pkp_structure_page {
    max-width: 1300px !important;  /* try 1300px if you want wider */
    margin: 0 auto !important;
    box-sizing: border-box;
}
/* Global blink animation */
@keyframes galleyBlink {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}
/* Load Montserrat globally */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* FORCE Montserrat everywhere */
html, body,
p, span, div,
table, th, td,
ul, ol, li,
a, label,
input, textarea, select, button,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* OJS STRUCTURE OVERRIDES */
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_site_name,
.pkp_page_title,
.cmp_navigation,
.obj_article_summary,
.cmp_footer {
    font-family: 'Montserrat', sans-serif !important;
}

/* Apply to ALL PDF galley links */
a[href*="/article/view/"][href$=".pdf"],
a.galley-link.pdf,
a.obj_galley_link.pdf {
    animation: galleyBlink 1.0s infinite linear;
}

/* Stop blinking when hovered */
a[href*="/article/view/"][href$=".pdf"]:hover,
a.galley-link.pdf:hover,
a.obj_galley_link.pdf:hover {
    animation: none;
    opacity: 1;
}

/* Hide OJS footer brand */
.pkp_brand_footer {
    display: none !important;
}

/* Apply to all links */
a {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect: move slightly down */
a:hover {
    transform: translateY(3px);
}

/* Bounce animation */
@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(3px); }
    100% { transform: translateY(0); }
}

/* ARTICLE button blink effect */
.obj_galley_link.blink-article {
    animation: blinkEffect 2.5s infinite;
}

/* Sidebar section headings hover bounce */
.pkp_block .title {
    display: inline-block;
    position: relative;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

/* Bounce animation on hover */
.pkp_block .title:hover {
    animation: bounce 0.3s ease;
}

/* Justify Abstract Text */
.article-summary .abstract,
.item.abstract p,
.pkp_structure_main .abstract p {
    text-align: justify;
}

/* Force Abstract Justification */
div.abstract, 
div.abstract p, 
section.abstract, 
section.item.abstract, 
.article-details .abstract, 
.article-summary .abstract {
    text-align: justify !important;
}

/* Abstract Section Styling */
.item.abstract,
.article-summary .abstract,
.article-details .abstract,
.pkp_structure_main .abstract {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ddd;
    text-align: justify;
}

/* References Section Styling */
.item.references,
.article-summary .references,
.article-details .references,
.pkp_structure_main .references,
.citation-list {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ddd;
    text-align: justify;
}

/* Abstract and References Section Titles */
.item.abstract .title,
.item.references .title,
.article-details .references h2,
.article-details .references h3 {
    text-align: justify;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Page Title Justify */
.page_title {
    text-align: justify !important;
}

/* Fix and align About Journal & Keywords section */
.pkp_block.block_custom.about,
.pkp_block.block_custom.keywords {
    margin-left: -10px;      /* shift slightly left */
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 0; /* reset first */
}
/* Force justify for most-read article links */
.pkp_block.block_most_read ul li a {
    text-align: justify;
    display: block;
}
/* Justify text in Most Read Articles sidebar */
.block_most_read .title,
.block_most_read a {
    text-align: justify;
}
/* =========================
   ARTICLES GRID (CARD VIEW)
========================= */
.obj_issue_toc .articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-top: 20px;
/* =========================
   ARTICLE CARD (EQUAL HEIGHT)
========================= */
.obj_article_summary {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 18px 20px;
    min-height: 200px; /* Adjust if needed */
    
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background-color: #f2f2f2;
    
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease-in-out;
}

/* Hover effect */
.obj_article_summary:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* =========================
   ARTICLE TITLE
========================= */
.obj_article_summary .title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;

    text-align: justify;
    text-justify: inter-word;

    /* Optional: limit to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FORCE TITLE COLOR TO BLACK */
.obj_article_summary .title a,
.obj_article_summary .title a:visited,
.obj_article_summary .title a:hover,
.obj_article_summary .title a:focus {
    color: #000000;
    text-decoration: none;
}

/* =========================
   GALLEY (PDF) BUTTON
========================= */
.obj_article_summary .galleys_links {
    margin-top: auto; /* Push button to bottom */
}

.obj_article_summary .galleys_links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;

    border-radius: 6px;
    border: none;
    text-decoration: none;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease-in-out;
}

/* Hover effect */
.obj_article_summary .galleys_links a:hover {
    background-color: #245b6d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
/* Abstract Views as button with eye icon */
.abstractViews,
.item.abstractViews,
.pk_article_details .abstractViews {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background-color: #0073e6;
    color: #ffffff;

    padding: 8px 14px;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    cursor: default;
    margin-bottom: 12px;

    transition: background-color 0.25s ease;
}

/* Eye icon before text */
.abstractViews::before,
.item.abstractViews::before {
    content: "👁";
    font-size: 16px;
    line-height: 1;
}

/* Hover (optional, visual only) */
.abstractViews:hover {
    background-color: #005bb5;
}
