/* ------------------------------------------------------------------ *
 * Dovkillia ta Zdorovia — custom theme overrides
 * Upload via: Admin → Settings → Website → Appearance →
 *             Theme → "Additional CSS" (file upload)
 * ------------------------------------------------------------------ */

/* Page header logo: fill the central column instead of being a thumbnail */
.pkp_site_name .is_img,
.pkp_site_name .is_img a {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.pkp_site_name .is_img img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;   /* removes the 2.143rem / 80px cap */
}

/* On mobile the theme absolutely-positions .pkp_site_name with left:2.857rem
   to make room for the burger menu — that pushes the image into the corner.
   Reset to a normal block element. */
.pkp_site_name {
    position: static;
    left: auto;
    right: auto;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: visible;
    white-space: normal;
}

/* The burger button is then placed below the logo on mobile. */
@media (max-width: 991px) {
    .pkp_site_name_wrapper { height: auto; }
    .pkp_site_nav_toggle  { position: relative; }
}

/* Drop the extra top padding the theme adds when a logo is present. */
.has_site_logo .pkp_head_wrapper { padding-top: 0; }
@media (min-width: 992px) {
    .pkp_head_wrapper { padding-top: 0; }
}

/* Footer: match the header logo background (#FCBA63). */
.pkp_structure_footer_wrapper,
.pkp_structure_footer,
.pkp_footer_content {
    background-color: #FCBA63;
}
