/* --- Final Responsive Logo & Header Fix --- */

/* 1. Ensure the container can grow with the logo */
.pkp_site_name_wrapper {
  height: auto !important;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 10px;
}

/* 2. Force the logo to scale properly */
.pkp_site_name .is_img img {
  display: block;
  max-width: 100%;
  height: auto !important;
  max-height: 100px; /* Default desktop height */
  width: auto;
  object-fit: contain;
}

/* 3. Tablet & Mobile Fix (Screens under 1024px) */
@media (max-width: 1023px) {
  .pkp_site_name_wrapper {
    justify-content: center; /* Centers logo for cleaner look */
    min-height: 70px;
  }

  .pkp_site_name .is_img img {
    max-height: 60px; /* Prevents overflow seen in your screenshot */
  }
}

/* 4. Small Smartphone Fix (Screens under 480px) */
@media (max-width: 479px) {
  .pkp_site_name_wrapper {
    padding-left: 45px; /* Pushes logo away from the hamburger menu icon */
  }

  .pkp_site_name .is_img img {
    max-height: 45px;
  }
}

/* --- Original OJS Customizations --- */

.pkp_structure_page {
  margin-top: 0px;
  margin-bottom: 0px;
}

.pkp_navigation_primary_row {
  padding-left: 10px;
  padding-right: 10px;
  color: black;
}

.pkp_site_name {
  padding: 0;
}

.obj_article_details .abstract,
.pkp_structure_main p,
.pkp_structure_main ul {
  text-align: justify;
  font: tahoma, geneva, sans-serif;
}

.pkp_brand_footer {
  display: none;
}

.download-section {
  font-family: Arial, sans-serif;
}

.download-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.download-card {
  background: #e6f2f3;
  padding: 30px 20px;
  width: 280px;
  text-align: center;
  border-radius: 6px;
  position: relative;
}

.download-icon {
  background: #026773;
  color: white;
  width: 80px;
  height: 60px;
  margin: -50px auto 15px auto;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.download-card h4 {
  margin: 15px 0;
  font-size: 18px;
  color: #333;
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #d4b030;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.download-btn:hover {
  background: #b89627;
}

/* Responsive */
@media (max-width: 768px) {
  .download-grid {
    justify-content: center;
  }
}

.journal-box {
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
  max-width: 900px;
}

.journal-title {
  background: #026773;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.journal-table {
  width: 100%;
  border-collapse: collapse;
}

.journal-table td {
  padding: 10px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.journal-table td:first-child {
  width: 200px;
  font-weight: bold;
  background: #f5f5f5;
}
