
/* LEGEND MOTORS - MAGAZINE HORIZONTAL */
.mag-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding-bottom: 35px !important;
}
.mag-card {
    display: flex !important;
    flex-direction: row !important;
    min-height: 190px;
    border-radius: 16px;
    overflow: hidden;
}
.mag-card .mag-cover {
    width: 31% !important;
    min-width: 31% !important;
    height: auto !important;
    min-height: 190px;
    border-radius: 0 !important;
    align-items: flex-end;
}
.mag-card .mag-card-body {
    flex: 1;
    padding: 22px 28px;
    min-width: 0;
}
.mag-card h2 {
    font-size: clamp(19px, 2.3vw, 25px);
    margin: 10px 0;
    line-height: 1.25;
}
.mag-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}
.mag-card .mag-button {
    margin-top: 14px;
    padding: 10px 17px;
}
.mag-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0 75px;
}
.mag-pagination button {
    cursor: pointer;
    background: #252c35;
    border: 1px solid #46505b;
    border-radius: 9px;
    color: #fff;
    padding: 12px 16px;
    font-size: 13px;
}
.mag-pagination button.active {
    background: #c5a46d;
    color: #171b21;
    border-color: #c5a46d;
    font-weight: 700;
}
.mag-pagination button:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.mag-card[hidden] {
    display: none !important;
}
@media(max-width:650px) {
    .mag-card {
        flex-direction: column !important;
    }
    .mag-card .mag-cover {
        width: 100% !important;
        min-width: 100% !important;
        height: 155px !important;
        min-height: 155px;
    }
    .mag-card .mag-card-body {
        padding: 19px;
    }
    .mag-card h2 {
        font-size: 20px;
    }
}
