/* ══════════════════════════════════════════════════════════════
   MORNIA · Phụ tùng theo hãng xe điện
   Element UX Builder · Giữ chiều rộng Row có sẵn · Responsive
   ══════════════════════════════════════════════════════════════ */

.mornia-ev-brands {
    padding: 12px 0 24px;
    color: #0B1F2D;
}

.mornia-ev-brands .mornia-ev-brands__heading {
    margin-bottom: 20px;
}

.mornia-ev-brands .mornia-ev-brands__heading h2 {
    margin: 0 0 8px;
    color: #0B1F2D;
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0;
    text-transform: none;
}

.mornia-ev-brands .mornia-ev-brands__heading p {
    margin: 0;
    color: rgba(11, 31, 45, 0.75);
    font-size: 15px;
    line-height: 25px;
}

.mornia-ev-brands .mornia-ev-brands__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mornia-ev-brands .mornia-ev-brands__list > li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mornia-ev-brands .mornia-ev-brands__list > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    height: 100%;
    min-height: 100px;
    padding: 16px 12px;
    border: 1px solid rgba(11, 31, 45, 0.12);
    border-radius: 10px;
    background: #fff;
    color: #0B1F2D;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.mornia-ev-brands .mornia-ev-brands__list > li > a svg {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.mornia-ev-brands .mornia-ev-brands__list > li > a:hover {
    border-color: #00B3C7;
    background: rgba(0, 179, 199, 0.04);
    color: #0B1F2D;
}

.mornia-ev-brands .mornia-ev-brands__list > li > a:focus-visible {
    outline: 2px solid #00B3C7;
    outline-offset: 3px;
}

.mornia-ev-brands__empty {
    margin: 12px 0;
    padding: 16px;
    border: 1px dashed rgba(11, 31, 45, 0.25);
    color: #0B1F2D;
    font-size: 14px;
    line-height: 24px;
}

@media (max-width: 1099px) {
    .mornia-ev-brands .mornia-ev-brands__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 849px) {
    .mornia-ev-brands .mornia-ev-brands__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mornia-ev-brands .mornia-ev-brands__heading h2 {
        font-size: 24px;
        line-height: 34px;
    }
}

@media (max-width: 549px) {
    .mornia-ev-brands .mornia-ev-brands__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mornia-ev-brands .mornia-ev-brands__heading h2 {
        font-size: 22px;
        line-height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mornia-ev-brands .mornia-ev-brands__list > li > a {
        transition: none;
    }
}
