/* AGUIPNEUMO — migrated to the shared Science Journal Hub theme system.
   This file was mostly real layout/responsive work (banner sizing,
   homepage image layout, mobile nav toggle) rather than color choices —
   all of that is kept. Only hardcoded colors that duplicated what the
   unified theme's base/accent color now provides were removed. */

.pkp_site_name .is_img img {
    margin-top: 50px;
    margin-bottom: 50px;
    max-height: 210px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pkp_site_name_wrapper {
    height: 300px;
    position: relative;
}

@media (max-width: 768px) {
    .pkp_site_name_wrapper {
        height: 100px;
    }

    .pkp_site_name .is_img img {
        margin-top: 10px;
        margin-bottom: 10px;
        max-height: 90px;
    }
}

.pkp_head_wrapper, .has_site_logo .pkp_head_wrapper {
    position: relative;
    padding-top: 0;
    width: 100%;
}

.pkp_nav_list li.profile {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 16px;
    margin: 5px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease-in-out;
}

/* Homepage image: fixed width, floated left so text wraps beside it */
.pkp_page_index .homepage_image img {
    display: block;
    max-width: 100%;
    width: 180px;
    height: auto;
    margin: 0 20px 20px 0;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    float: left;
}

.pkp_page_index .pkp_button {
    display: inline-block;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 8px;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    margin: 10px 10px;
    transition: all 0.3s ease-in-out;
    border: none;
}

/* Mobile nav toggle (hamburger icon) */
.pkp_site_nav_toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: none;
    z-index: 999;
}

.pkp_site_nav_toggle>span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 19px;
    border-bottom: 3px solid #000000;
    text-indent: -9999px;
    overflow: hidden;
}

.pkp_site_nav_toggle>span:before, .pkp_site_nav_toggle>span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000000;
}
