/* Dječiji dom Mladost - logo + dežurni telefon patch */

.brand-with-logo {
    min-width: 285px;
}

.brand-logo-wrap,
.footer-logo-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.brand-logo-wrap img,
.footer-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.top-strip-with-duty {
    min-height: 50px;
}

.top-duty-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.top-duty-phone span,
.footer-duty-phone span,
.mobile-duty-card span {
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.top-duty-phone span {
    color: rgba(255, 255, 255, 0.88);
}

.top-duty-phone img {
    width: auto;
    height: 34px;
    display: block;
}

.mobile-brand-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mobile-brand-mini img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}

.mobile-brand-mini div {
    min-width: 0;
}

.mobile-duty-card {
    margin-top: 2px;
    margin-bottom: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #fff7df;
    border: 1px solid rgba(242, 201, 76, 0.42);
    display: grid;
    gap: 10px;
}

.mobile-duty-card span {
    color: #8a5a00;
}

.mobile-duty-card img {
    width: min(200px, 100%);
    height: auto;
    display: block;
}

.footer-brand-logo {
    align-items: center;
    gap: 14px;
}

.footer-logo-wrap {
    width: 68px;
    height: 68px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.footer-duty-phone {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-grid;
    gap: 10px;
}

.footer-duty-phone span {
    color: #f2c94c;
}

.footer-duty-phone img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .brand-with-logo {
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .top-strip-inner.top-strip-with-duty {
        flex-direction: column;
        gap: 8px;
        padding: 8px 0;
    }

    .top-duty-phone {
        padding: 4px 9px 4px 12px;
    }

    .top-duty-phone img {
        height: 30px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        gap: 12px;
    }

    .brand-logo-wrap {
        width: 48px;
        height: 48px;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text small {
        font-size: 11px;
    }

    .top-contact {
        line-height: 1.4;
    }

    .top-duty-phone span {
        font-size: 10px;
    }

    .top-duty-phone img {
        height: 28px;
    }

    .mobile-menu-panel {
        width: min(410px, 92vw);
        padding: 20px;
    }

    .mobile-brand-mini img {
        width: 46px;
        height: 46px;
    }

    .footer-logo-wrap {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 390px) {
    .brand-text small {
        display: none;
    }

    .brand-logo-wrap {
        width: 44px;
        height: 44px;
    }

    .top-duty-phone {
        width: 100%;
        justify-content: center;
    }
}
