/* =========================
   GIRJ Article Card Design
   ========================= */

.obj_article_summary {
    border: 4px solid #0b2a4a;
    border-radius: 18px;
    background: #ffffff;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.obj_article_summary:hover {
    transform: translateY(-4px);
}

/* Article title */
.obj_article_summary .title a {
    color: #0b2a4a !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

/* Authors box (green outline) */
.obj_article_summary .meta {
    border: 2px solid #1e9b50;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 15px 0;
    font-weight: 600;
    background: #f7fff9;
}

/* PDF button */
.obj_article_summary .galleys_links a {
    border: 2px solid #0b6bdc !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 600;
    background: #ffffff !important;
    color: #0b6bdc !important;
}

/* Abstract views & download counter */
.obj_article_summary .views,
.obj_article_summary .downloads {
    display: inline-block;
    border: 2px solid #1e9b50;
    border-radius: 25px;
    padding: 6px 14px;
    margin-right: 8px;
    background: #f3fff7;
    font-weight: 600;
    color: #1e6f45;
}

/* Remove old list styling */
.obj_article_summary ul {
    list-style: none;
    padding-left: 0;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .obj_article_summary {
        padding: 18px;
    }

    .obj_article_summary .title a {
        font-size: 18px;
    }
}

/* ==============================
   FULL-WIDTH GREEN FOOTER FIX
   ============================== */

/* Make entire footer wrapper green */
.pkp_structure_footer_wrapper {
    background-color: #256f24 !important; /* your green */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ===============================
   GIRJ LAYOUT WIDTH ADJUSTMENT
   =============================== */

/* Main content + sidebar container */
.pkp_structure_content {
    display: flex;
    gap: 20px;
}

/* MAIN CONTENT – make it bigger */
.pkp_structure_main {
    flex: 0 0 75%;     /* 75% width */
    max-width: 75%;
}

/* SIDEBAR – make it smaller */
.pkp_structure_sidebar {
    flex: 0 0 25%;     /* 25% width */
    max-width: 25%;
}

/* Sidebar inner blocks compact */
.pkp_structure_sidebar .pkp_block {
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Sidebar buttons / links look cleaner */
.pkp_structure_sidebar a {
    font-size: 14px;
    line-height: 1.4;
}

/* ===============================
   MOBILE RESPONSIVE (IMPORTANT)
   =============================== */
@media (max-width: 992px) {
    .pkp_structure_content {
        flex-direction: column;
    }

    .pkp_structure_main,
    .pkp_structure_sidebar {
        max-width: 100%;
        flex: 0 0 100%;
    }
}
/* Mobile dropdown menu fix */
.navbar-collapse,
#nav-menu {
    background-color: #184d16 !important; /* Your green */
}

/* Mobile menu text color */
#nav-menu a {
    color: #ffffff !important;
}

/* Hover state */
#nav-menu a:hover {
    color: #ffd65a !important; /* Gold-ish highlight */
}

/* Dropdown caret fix */
.navbar-nav .dropdown-menu {
    background-color: #184d16 !important;
}

.dropdown-menu > li > a {
    color: #ffd65a !important;
}

.dropdown-menu > li > a:hover {
    background-color: #0f3a0f !important;
    color: #ffd65a !important;
}

}

/* Fix header banner width */
.header-banner img,
.navbar .header-banner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Remove padding + margin from mobile navbar */
.navbar-header,
.navbar {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove container constraint on header */
#headerNavigationContainer .container-fluid {
    padding: 0 !important;
}

/* Fix the green background filling full width */
#headerNavigationContainer {
    width: 100% !important;
    background-color: #184d16 !important;
}

/* Fix mobile burger button overlap */
.navbar-toggle {
    margin: 8px 10px !important;
}

/* Make header banner wide & taller */
.pkp_site_name {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
}

/* Stretch the image */
.pkp_site_name img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* or 'cover' for tighter crop */
}

/* Keep menu below clean */
.pkp_navigation_primary_wrapper {
    margin-top: 0.5rem;
}
.pkp_site_name img {
    width: 100%;
    height: 120px; /* adjust as needed */
    object-fit: cover;
}
/* Override OJS 3.5 header limits */
.pkp_site_header {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
}

}
/* Center the Logo and make it larger */
.pkp_site_name_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0; /* Adds some space above/below */
}

.pkp_site_name.is_img img {
    max-height: 250px !important; /* Increases the allowed height */
    width: auto;
    max-width: 90%; /* Ensures it fits on mobile */
    margin: 0 auto;
    display: block;
}

/* Adjust navigation to stay below the centered logo */
.pkp_head_wrapper {
    flex-direction: column;
}
/* Center the banner in the header both vertically & horizontally */
.pkp_site_name_wrapper,
.pkp_head_wrapper,
header .pkp_structure_head {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure the wrapper takes full header height */
.pkp_head_wrapper {
    min-height: 170px; /* adjust height to taste */
}

/* Make image neat */
.pkp_site_name.is_img img {
    display: block;
    max-width: 950px;  /* change if you want wider */
    height: auto;
}
.pkp_site_name.is_img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pkp_site_name.is_img img {
    width: auto;
    max-width: 1200px; /* adjust for your image */
    height: auto;
    display: block;
}

