/* Force the header link wrapper into a single row */
.pkp_site_name,
.pkp_site_name > a,
.pkp_site_name .is_img {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    text-decoration: none !important;
}

/* Fix logo vertical alignment and sizing */
.pkp_site_name .is_img img {
    display: inline-block !important;
    vertical-align: middle !important;
    max-height: 75px; /* Adjust size if needed */
    width: auto;
}

/* Journal Title text styling */
.pkp_site_name .is_img:after {
    content: "Journal of Clinical and Advanced Medicine (JCAM)";
    display: inline-block !important;
    margin-left: 18px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.2;
    white-space: nowrap; /* Prevents text from breaking unnecessarily */
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .pkp_site_name,
    .pkp_site_name > a,
    .pkp_site_name .is_img {
        flex-direction: column !important;
        text-align: center;
    }
    .pkp_site_name .is_img:after {
        margin-left: 0;
        margin-top: 8px;
        white-space: normal;
        font-size: 1.1rem;
    }
}