
/*
 * modifikasi.css — OJS custom stylesheet
 * Safe, scoped tweaks for logo and footer layout + mobile responsiveness.
 * Upload via: Website Settings → Appearance → Upload Stylesheet.
 */

/* ===== Logo / Site Name image ===== */
.pkp_site_name .is_img img {
  display: inline-block;
  max-height: 165px;   /* cap the logo height */
  max-width: 100%;     /* prevent overflow */
  width: auto;
  height: auto;
}

/* Keep text-based site name from wrapping awkwardly */
.pkp_site_name .is_text {
  white-space: normal;
  line-height: 1.2;
}

/* ===== Footer layout ===== */
.pkp_footer_content {
  float: left;
  width: 70%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.pkp_brand_footer {
  float: right;
  width: 30%;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: right;
}

/* Ensure images in footer don’t overflow */
.pkp_brand_footer img,
.pkp_footer_content img {
  max-width: 100%;
  height: auto;
}

/* Clearfix to avoid collapsing parent issues */
.pkp_footer_content::after,
.pkp_brand_footer::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== Accessibility niceties ===== */
/* Ensure sufficient contrast for typical themes; adjust as needed */
.pkp_footer_content a,
.pkp_brand_footer a {
  text-decoration: none;
}
.pkp_footer_content a:hover,
.pkp_brand_footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 992px) {
  .pkp_footer_content { width: 68%; }
  .pkp_brand_footer { width: 32%; }
}

@media (max-width: 768px) {
  .pkp_footer_content,
  .pkp_brand_footer {
    float: none;
    width: 100%;
    text-align: center;
  }
  .pkp_footer_content { margin-bottom: 8px; }
}

/* ===== Optional: soft separator line above footer (toggle as needed) ===== */
/*
.pkp_structure_footer {
  border-top: 1px solid rgba(0,0,0,0.08);
}
*/
