/* ========================================
   统一Logo样式系统
   ======================================== */

/* 基础Logo样式 - 桌面端 */
.logo-img {
    height: auto !important;
    max-height: 56px !important; /* 适配固定60px头部高度 */
    width: auto !important;
    max-width: 300px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    display: block !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: all 0.3s ease;
}

/* 平板端适配 */
@media (max-width: 1024px) {
    .logo-img {
        max-height: 56px !important;
        max-width: 220px !important;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .logo-img {
        max-height: 44px !important;
        max-width: 200px !important;
        vertical-align: middle !important;
        margin-top: 0 !important;
    }
}

/* 小屏幕移动端 */
@media (max-width: 480px) {
    .logo-img {
        max-height: 40px !important;
        max-width: 180px !important;
    }
}

/* 高DPI设备优化 */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 悬停效果 - 仅桌面端 */
@media (min-width: 769px) {
    .logo-img:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

/* 移动端禁用悬停效果 */
@media (max-width: 768px) {
    .logo-img:hover {
        transform: none !important;
        filter: none !important;
    }
}
