/* Desktop / large screens – big logo */
.pkp_site_name .is_img img,
.pkp_site_name img {
    max-height: 130px !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
}

/* Phones and small tablets – smaller logo */
@media (max-width: 767px) {
    .pkp_site_name .is_img img,
    .pkp_site_name img {
        max-height: 45px !important;
        height: auto !important;
    }
}
/* ===== Article page: move PDF button higher ===== */
.page_article .obj_article_details {
    display: flex !important;
    flex-direction: column !important;
}

.page_article .item.galleys,
.page_article .galleys,
.page_article .entry_details .galleys {
    order: -10 !important;          /* pull it near the top */
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}

/* Make sure it appears after the authors on mobile */
@media (max-width: 767px) {
    .page_article .item.galleys,
    .page_article .galleys {
        order: -5 !important;
    }
}