/* Hide the automatic OJS/PKP footer logo */
.pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer,
.pkp_structure_footer_wrapper .pkp_brand_footer,
.pkp_structure_footer img[src*="ojs_brand.png"] {
    display: none !important;
}

/* Keep the custom logo visible */
.pkp_structure_footer .custom-footer .footer-logo img {
    display: block !important;
}

.pkp_structure_page {
    max-width: 1160px !important;
}

.custom-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding: 30px 35px;
    box-sizing: border-box;
}

.footer-text {
    flex: 1;
    line-height: 1.4;
}

.footer-logo {
    flex: 0 0 200px;
    text-align: right;
}

.footer-logo img {
    display: block !important;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-left: auto;
}

/* Apply to all links */
a {
  display: inline-block; /* required for transform */
  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 */
.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; /* optional */
}

/* 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;   /* Light gray background */
    border-radius: 10px;         /* Rounded corners */
    padding: 20px;               /* Inner spacing */
    margin: 20px;                /* Outer spacing (adds gap from edges) */
    border: 1px solid #ddd;      /* Light border */
    text-align: justify;         /* Justify text */
}
/* References Section Styling */
.item.references,
.article-summary .references,
.article-details .references,
.pkp_structure_main .references,
.citation-list {
    background-color: #f2f2f2;   /* Light gray background */
    border-radius: 10px;         /* Rounded corners */
    padding: 20px;               /* Inner spacing */
    margin: 20px;                /* Outer spacing */
    border: 1px solid #ddd;      /* Light border */
    text-align: justify;         /* Justify text */
}
/* Abstract and References Section Titles */
.item.abstract .title,
.item.references .title,
.article-details .references h2,
.article-details .references h3 {
    text-align: justify;   /* Justify the title */
    font-weight: bold;     /* Keep it bold */
    margin-bottom: 10px;   /* Add spacing below */
}
.page_title {
    text-align: justify !important;
}
/* Shift About Journal and Keywords sections slightly left */
.pkp_block.block_custom.about,
.pkp_block.block_custom.keywords {
    margin-left: -10px;  /* adjust this value to your preference */
}

/* Optional: make sure text aligns cleanly and stays consistent */
.pkp_block.block_custom.about p,
.pkp_block.block_custom.about li,
.pkp_block.block_custom.about strong,
.pkp_block.block_custom.keywords p {
    text-align: left;
    margin-left: 0;
}
