/* Company logo in the header (Mobirise .navbar-logo slot) and the footer.
   Loaded after the original theme CSS; sizes only, so the original layout is otherwise untouched. */

/* ---- Header ---- */
.cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo {
    font-size: 0;               /* theme sets 4rem for icon logos; avoid extra line height */
    line-height: 0;
    margin-right: .6rem;
    flex-shrink: 0;
}
.cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo a {
    display: flex;
    align-items: center;
}
.cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo img,
.navbar-dropdown .navbar-logo.tk-logo img {
    height: 2.5rem;             /* 40px */
    width: auto;
    max-width: none;
}
/* Header shrinks on scroll (theme adds .navbar-short) */
.cid-qzZl0Gh8Bo .navbar.navbar-short .navbar-logo.tk-logo img,
.navbar-dropdown.navbar-short .navbar-logo.tk-logo img {
    height: 2rem !important;    /* 32px */
}

/* Small laptops (992–1279px): the full menu is shown in one row; a smaller logo keeps it from wrapping */
@media (min-width: 992px) and (max-width: 1279px) {
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo img {
        height: 1.75rem;        /* 28px */
    }
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo {
        margin-right: .4rem;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo img {
        height: 1.5rem;         /* 24px */
    }
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo {
        margin-right: .35rem;
    }
    /* theme default 2rem; frees room so the menu stays on one row where it did before */
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-caption-wrap .navbar-caption {
        padding-right: 1rem !important;
    }
}

/* 1101–1149px: the original menu just fits one row here; slightly tighter item gaps keep it that way with the logo */
@media (min-width: 1101px) and (max-width: 1149px) {
    .cid-qzZl0Gh8Bo .nav-item a {
        margin: 0 .45rem !important; /* theme: .65rem */
    }
}
@media (min-width: 1101px) and (max-width: 1139px) {
    .cid-qzZl0Gh8Bo .nav-item a {
        margin: 0 .3rem !important;
    }
    .cid-qzZl0Gh8Bo .navbar-buttons .btn {
        padding-left: 1.1rem;   /* theme: 1.5rem */
        padding-right: 1.1rem;
    }
}
@media (min-width: 1101px) and (max-width: 1109px) {
    .cid-qzZl0Gh8Bo .nav-item a {
        margin: 0 .2rem !important;
    }
}

/* Tablet / phone: collapsed menu with hamburger.
   (!important needed: the theme forces every header image to 3.8rem !important below 992px.) */
@media (max-width: 991px) {
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo img {
        height: 2rem !important; /* 32px */
    }
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo {
        margin-right: .5rem;
    }
}
/* Very small phones: keep logo + name clear of the hamburger button */
@media (max-width: 360px) {
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-logo.tk-logo img,
    .cid-qzZl0Gh8Bo .navbar.navbar-short .navbar-logo.tk-logo img {
        height: 1.75rem !important; /* 28px */
    }
    .cid-qzZl0Gh8Bo .menu-logo .navbar-brand .navbar-caption-wrap .navbar-caption {
        padding-right: 1rem;
    }
}

/* ---- Footer: logo in its own left column ---- */
.cid-qzZrdgbWeG .tk-footer-logo-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: .3rem;           /* lines the logo up with the first line of the address */
}
.cid-qzZrdgbWeG .tk-footer-logo-col a {
    display: block;
    width: 100%;
    max-width: 160px;
}
.cid-qzZrdgbWeG .tk-footer-logo {
    display: block;
    width: 100%;
    height: auto;
}
/* Phones: columns stack → logo centred above the address */
@media (max-width: 767px) {
    .cid-qzZrdgbWeG .tk-footer-logo-col {
        justify-content: center;
        padding-top: 0;
        margin-bottom: 1.5rem;
    }
    .cid-qzZrdgbWeG .tk-footer-logo-col a {
        max-width: 120px;
    }
}
