/* Logo Styles (extracted exactly from original CSS) */
.custom-logo {
    max-height: 80px;
    width: auto;
}

/* From "Header Branding Styles" section */
.custom-logo {
    max-height: 80px;
    width: auto;
}

/* From animation section */
.custom-logo {
    opacity: 0;
    transform: scale(0.8);
    animation: logoEntrance 1.5s cubic-bezier(0.2, 0.7, 0.4, 1.5) forwards;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1.1);
    }
    50% {
        transform: scale(0.95);
    }
    70% {
        transform: scale(1.05);
    }
    85% {
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* From logo focus removal section */
.custom-logo-link,
.custom-logo-link:focus,
.custom-logo-link:active,
.custom-logo,
.custom-logo:focus,
.custom-logo:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    outline-style: none !important;
}

/* Mobile logo styles */
@media (max-width: 768px) {
    .custom-logo {
        max-height: 60px;
    }
}

/* Nuclear option for hiding logo */
body.no-logo .custom-logo-wrapper,
body.no-logo .custom-logo-link,
body.no-logo .custom-logo {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
}

.custom-logo-wrapper {
    flex-shrink: 0;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .custom-logo {
        max-height: 60px;
    }
}