/* =====================================================
   PESTBYTES JOURNAL - HOMEPAGE REFINEMENTS
   OJS 3.5 + Bootstrap3
===================================================== */

/* ---------- LOGO ---------- */

.navbar-brand.navbar-brand-logo {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    height: auto !important;
}

.navbar-brand.navbar-brand-logo img {
    max-height: 150px !important;
    width: auto !important;
}

/* Adjust header height accordingly */

.navbar {
    min-height: 100px !important;
}

/* ---------- HOMEPAGE BANNER ---------- */

#main-content.page_index_journal {
    padding-top: 0 !important;
}

/* Attempt full-width breakout */

/* Homepage Banner */

.homepage-image {
    width: 150% !important;
    margin-bottom: 40px !important;
}

.homepage-image img {
    width: 150% !important;
    height: auto !important;
    display: block !important;

    object-fit: contain !important;

    border-radius: 8px;
}

    height: auto !important;

    display: block !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}

/* ---------- HOMEPAGE CONTENT ---------- */

.journal-description {

    max-width: 1100px;

    margin: 0 auto 50px auto;

    font-size: 17px;

    line-height: 1.9;

    color: #2c3e50;
}

/* ---------- SECTION HEADINGS ---------- */

.page_index_journal h2 {

    font-size: 32px !important;

    font-weight: 700 !important;

    color: #003865 !important;

    border-bottom: 3px solid #2BB673;

    padding-bottom: 10px;

    margin-bottom: 25px;
}

/* ---------- SIDEBAR ---------- */

/* Push sidebar below hero image */

.pkp_structure_sidebar {
    margin-top: 150px !important;
}

/* Cleaner sidebar cards */

.pkp_block {
    border-radius: 10px !important;

    overflow: hidden !important;

    box-shadow: 0 3px 10px rgba(0,0,0,0.08) !important;
}

.pkp_block .title {

    background: #003865 !important;

    color: white !important;

    font-weight: 700 !important;
}

/* ---------- ARTICLE TITLES ---------- */

.obj_article_summary .title a {

    font-size: 24px !important;

    font-weight: 700 !important;

    color: #003865 !important;

    transition: 0.3s ease;
}

.obj_article_summary .title a:hover {

    color: #2BB673 !important;

    text-decoration: none !important;
}

/* ---------- LINKS ---------- */

a {
    transition: 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .navbar-brand.navbar-brand-logo img {
        max-height: 70px !important;
    }

    .pkp_structure_sidebar {
        margin-top: 30px !important;
    }

    .journal-description {
        font-size: 16px;
    }
}
/* =====================================================
PESTBYTES HOMEPAGE FIXES
Add at END of stylesheet
===================================================== */

/* ---------- LOGO ---------- */

.navbar-brand.navbar-brand-logo img {
max-height: 150px !important;
width: auto !important;
}

.navbar {
min-height: 100px !important;
}

/* ---------- HOMEPAGE BANNER ---------- */

.homepage-image {
width: 150% !important;
margin-bottom: 40px !important;
}

.homepage-image img {
    width: 150% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ---------- HOMEPAGE LAYOUT ---------- */

#main-content.page_index_journal {
padding-top: 0 !important;
}

/* ---------- SIDEBAR ---------- */

.pkp_structure_sidebar {
padding-top: 60px !important;
}

/* ---------- TYPOGRAPHY ---------- */

.journal-description {
font-size: 18px;
line-height: 1.8;
color: #2c3e50;
}

.page_index_journal h2 {
color: #003865;
font-weight: 700;
border-bottom: 3px solid #2BB673;
padding-bottom: 10px;
margin-bottom: 25px;
}

/* ---------- ARTICLE TITLES ---------- */

.obj_article_summary .title a {
font-size: 24px !important;
font-weight: 700 !important;
color: #003865 !important;
}

.obj_article_summary .title a:hover {
color: #2BB673 !important;
}

/* PestBytes Knowledge Hub Widget */

#customblock-pestbytes-knowledge-hub {
    background: #f8f9fa;
    border-left: 4px solid #0B4F6C;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

#customblock-pestbytes-knowledge-hub .title {
    color: #0B4F6C;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

#customblock-pestbytes-knowledge-hub .content {
    font-size: 13px;
    line-height: 1.6;
}