
/* ============================================
   THE REST: JOURNAL OF POLITICS AND DEVELOPMENT
   OJS CUSTOM DESIGN — UPDATED VERSION
   ============================================ */


/* 1. HIDE AUTOMATIC "ABOUT THE JOURNAL" HEADING */

.page_index_journal .homepage_about > h2:first-of-type {
    display: none !important;
}


/* 2. NAVY BLUE HEADER */

.pkp_structure_head,
.pkp_structure_head .pkp_head_wrapper {
    background-color: #182439 !important;
}


/* 3. JOURNAL COVER — SMALLER AND CENTERED */

.pkp_structure_sidebar .pkp_block img {
    display: block !important;
    width: 90% !important;
    max-width: 250px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
}


/* 4. SUBMISSION BUTTON — CORPORATE ORANGE */

.pkp_structure_sidebar .block_make_submission a,
.pkp_structure_sidebar .block_make_submission .block_make_submission_link {
    background-color: #E75D29 !important;
    border-color: #E75D29 !important;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: 600;
}

.pkp_structure_sidebar .block_make_submission a:hover {
    background-color: #C94B20 !important;
    border-color: #C94B20 !important;
    color: #ffffff !important;
}


/* 5. RESPONSIVE COVER SIZE */

@media (max-width: 768px) {

    .pkp_structure_sidebar .pkp_block img {
        width: 85% !important;
        max-width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

/* THE REST - HEADER LOGO */

.pkp_structure_head .pkp_site_name img {
    max-width: 220px !important;
    width: auto !important;
    height: auto !important;
}

/* ==========================================
   THE REST — OJS HEADER LOGO FIX
   Bootstrap-based theme
   ========================================== */

/* Desktop logo */

@media (min-width: 1100px) {

  #headerNavigationContainer
  .navbar-brand-logo {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 18px !important;
  }

  #headerNavigationContainer
  .navbar-brand-logo img {
    display: block !important;
    width: 260px !important;
    max-width: 260px !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
  }

}

/* Tablet and smaller desktop */

@media (min-width: 768px)
and (max-width: 1099px) {

  #headerNavigationContainer
  .navbar-brand-logo img {
    width: 195px !important;
    max-width: 195px !important;
    max-height: none !important;
    height: auto !important;
  }

}

/* Mobile */

@media (max-width: 767px) {

  #headerNavigationContainer
  .navbar-brand-logo img {
    width: 210px !important;
    max-width: 100% !important;
    max-height: 55px !important;
    height: auto !important;
  }

}
