/* Meet our artisan */
.ma-meetourartisan {
    font-family: Nunito Sans;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 50px;
    background-color: #9f040405;
}

/* .ma-meetourartisan h1 {
            font-family: Nunito Sans;
            font-weight: 600;
            font-style: SemiBold;
            font-size: 32px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
        }

        .ma-heading .ma-line {
            margin: 15px auto;
            max-width: 262px;
            height: 3px;
            background: #A10404;
            border-radius: 5px;
        } */
.heading-line-exclusive-meet {
    margin-top: 5px;
    border: 1px solid #a10404;
    width: 200px;
}

.ma-carousel-outer {
    width: 100%;
    position: relative;
    margin: auto;
    margin-top: 20px;
}

.ma-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    /* padding-block: 2rem; */
    position: relative;
}

.ma-track {
    display: flex;
    transition: transform 0.6s ease;
    padding-bottom: 5px;
    /* border: 2px solid black; */
}

.ma-card {
    flex-shrink: 0;
    text-align: center;
    transition: 0.35s ease;
    align-items: center;
    margin: auto;
}

.ma-card {
    transform: scale(0.5);
    opacity: 0.4;
}

.ma-artist-card {
    width: 100%;
    max-width: 720px;
    padding: 30px 32px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    background-image: url("~/UiReleted/Assist/master/img-bg.png");
    background-size: cover;
    border-radius: 15px;
    /* box-shadow: 0px 4px 4px 0px #00000040; */
    position: relative;
    /* border: 2px solid purple; */
}

    .ma-artist-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.85);
        border-radius: inherit;
        z-index: 0;
    }

    .ma-artist-card > * {
        position: relative;
        z-index: 1;
    }

.ma-artist-left img {
    max-width: 210px;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 83.5px;
}

.ma-artist-right {
    flex: 1;
    text-align: center;
    /* border: 2px solid orangered; */
    width: 100%;
}

    .ma-artist-right h2 {
        font-family: Nunito Sans;
        font-weight: 600;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: 0%;
        margin-bottom: 10px;
    }

.ma-subtitle {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
}

.ma-card .ma-line {
    max-width: 262px;
    width: 100%;
    height: 2px;
    background: #a10404;
    border-radius: 5px;
    margin: 12px auto 20px auto;
}

.ma-desc {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 14px;
    color: #3f3f3f;
    /* white-space: wrap; */
    text-wrap: wrap;
    white-space: wrap;
    text-align: center;
    padding: 10px;
    /* border: 1px solid black; */
    max-width: 300px;
    width: 100%;
    margin: auto;
}

.ma-card.ma-active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 15px;
}

.ma-nav-btn {
    position: absolute;
    bottom: -50px;
    width: 25px;
    height: 25px;
    background: rgb(15, 23, 43);
    border-radius: 50%;
    display: grid;
    place-content: center;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    z-index: 100;
    transition: 0.3s ease;
}

.ma-prev {
    left: 50%;
    transform: translateX(-130%);
}

.ma-next {
    left: 50%;
    transform: translateX(30%);
}

.ma-nav-btn:hover {
    opacity: 1;
    scale: 1.1;
}

@media (max-width: 768px) {
    .ma-artist-card {
        max-width: 680px;
        width: 100%;
        /* flex-direction: column; */
        text-align: center;
        padding: 30px 20px;
        /* width: ; */
    }

    .fs-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* =====================================================
      FINAL FIX — PERFECT FIT ON SMALL SCREENS (<=660px)
===================================================== */
@media (max-width: 660px) {

    /* Each card fits the full screen width */
    .ma-card {
        min-width: 96%;
        max-width: 96%;
        transform: scale(1) !important;
        opacity: 1 !important;
        padding: 0px; /* slight padding to avoid touching edges */
        box-sizing: border-box;
    }

    /* Card inner container */
    .ma-artist-card {
        max-width: 100% !important; /* REMOVE 720px restriction */
        width: 100%;
        padding: 18px 15px; /* reduced padding to fit */
        gap: 15px;
        display: flex;
        flex-direction: row; /* keep horizontal */
        align-items: center;
        box-sizing: border-box;
    }

    /* Left Section — Image */
    .ma-artist-left {
        width: 40%;
    }

        .ma-artist-left img {
            width: 100%;
            max-width: 160px; /* shrink properly */
            height: 200px;
            object-fit: cover;
            border-radius: 50px;
        }

    /* Right Section — Text */
    .ma-artist-right {
        width: 60%;
        text-align: center;
    }

        .ma-artist-right h2 {
            font-size: 16px;
            margin-bottom: 5px;
        }

    .ma-subtitle {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .ma-line {
        width: 70px;
        height: 2px;
        margin: 8px 0;
    }

    .ma-desc {
        max-width: 100%;
        font-size: 12px;
        padding: 0;
        margin: 0;
        white-space: normal; /* FIX overflow */
        text-align: center;
        line-height: 1.3;
    }
}

@media (max-width:360px) {
    .ma-card {
        min-width: 94%;
        max-width: 94%;
    }

    .ma-artist-right h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .ma-subtitle {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .ma-desc {
        font-size: 10px;
    }

    .ma-card.ma-active {
        transform: scale(0.1);
        opacity: 1;
        box-shadow: 0px 4px 4px 0px #00000040;
        border-radius: 15px;
    }
}
/* end */

/* featured */
.fs-section {
    padding: 0px 30px;
    padding-top: 40px;
    text-align: center;
    width: 100%;
    background-color: #9f040405;
}

/* .fs-section h2 {
        font-size: 28px;
        font-weight: 600;
    }

    .fs-line {
        width: 160px;
        height: 3px;
        background: #000;
        margin: 10px auto 30px;
    } */
.heading-line-featured {
    border: 1px solid #a10404;
    width: 170px;
}

/* MAIN CONTAINER */
.fs-slider-container {
    width: 100%;
    max-width: 1900px;
    margin: auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
    padding-top: 20px;
    /* border: 1px solid black; */
}

/* WRAPPER */
.fs-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 5px;
}

/* EACH SLIDE = 3 ROWS OF FLEX */
.fs-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* ROW GAP */
    padding: 10px 0;
    box-sizing: border-box;
}

/* FLEX ROW */
.fs-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    /* COLUMN GAP */
}

/* LOGO CARD */
.fs-card {
    background: #f3dfe0;
    border-radius: 4px;
    max-width: 250px;
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .fs-card img {
        max-width: 240px;
        width: 95%;
        max-height: 63px;
        height: 100%;
        object-fit: contain;
    }

    .fs-card a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

/* BUTTONS */
.fs-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(15, 23, 43, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0.9;
    transition: 0.3s ease;
}

    .fs-btn:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.fs-prev {
    right: 60px;
}

.fs-next {
    right: 10px;
}
/* Default — 5 logos per row */
.fs-row {
    display: flex;
    justify-content: center;
    gap: 50px;
}

/* Make each card flexible */
.fs-card {
    flex: 1 1 calc(20% - 50px); /* 5 per row */
    max-width: 200px;
}

/*Tablet Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .fs-row {
        display: contents;
    }

    .fs-slide {
        display: grid;
        gap: 15px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .fs-slide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fs-card {
        flex: 0 0 calc(33.33% - 30px);
        max-width: none;
    }

    .fs-btn {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {

    /* Remove row boundaries */
    .fs-row {
        display: contents;
    }

    /* Turn the slide into a grid */
    .fs-slide {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        /* 🔒 CRITICAL */
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .fs-card {
        width: 100%;
        max-width: none;
    }

        .fs-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .fs-slider-container {
        padding: 20px 5px 40px;
    }

    .fs-btn {
        width: 20px;
        height: 20px;
    }

    .fs-prev {
        right: 45px;
    }

    .fs-next {
        right: 10px;
    }
}

/* end */

/* footer */
.er-footer {
    font-family: Nunito Sans;
    bottom: 0;
    width: 100%;
    background: #a10404;
    /* Deep red */
    color: white;
    padding: 50px 70px;
    padding-bottom: 10px;
    font-family: Nunito Sans, sans-serif;
}

/* Inner container */
.er-container {
    max-width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Columns */
.er-col h2,
.er-col h3 {
    color: white;
    margin-bottom: 20px;
}

.er-logo {
    color: rgb(255, 255, 255);
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
}

.er-heading {
    font-family: Nunito Sans;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.er-desc {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #d9d9d9;
    margin-bottom: 20px;
}

/* Links */
.er-col a {
    display: block;
    color: #d9d9d9;
    text-decoration: none;
    margin-bottom: 15px;
    opacity: 0.9;
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

    .er-col a:hover {
        opacity: 1;
    }

/* Contact items */
.er-contact-part {
    display: flex;
    flex-direction: column;
}

.er-contact {
    margin-bottom: 15px;
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #d9d9d9;
    display: flex;
    align-items: center;
    gap: 15px;
}

.er-copy {
    margin-top: 20px;
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #d9d9d9;
}

/* Subscribe box */
.er-subscribe {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

    .er-subscribe button {
        padding: 10px 20px;
        font-family: Nunito Sans;
        font-weight: 400;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0%;
        border: none;
        border-radius: 8px;
        color: #a10404;
        cursor: pointer;
        background-color: white;
    }

        .er-subscribe button:hover {
            opacity: 0.9;
        }

/* Social Icons */
.er-social {
    margin-top: 145px;
    display: flex;
    gap: 20px;
    font-size: 18px;
    justify-content: flex-end;
}

/* ---------- RESPONSIVE ---------- */

/* Tablets */
@media (max-width: 992px) {
    .er-footer {
        padding: 50px 30px;
        padding-bottom: 10px;
    }

    .er-container {
        gap: 10px;
    }

    .er-contact {
        margin-bottom: 5px;
    }

    .er-social {
        margin-top: 60px;
        display: flex;
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 595px) {
    .er-footer {
        padding: 20px 25px;
    }

    .er-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .quick-link, .payments {
        display: none;
    }

    .er-col {
        padding-top: 20px;
    }

    .er-subscribe {
        flex-direction: column;
        align-items: flex-start;
    }

        .er-subscribe button {
            margin: 10px 0 0;
        }

    .er-social {
        margin-top: 40px;
    }
}

@media (max-width:595px) {
    .heading-line-exclusive-meet {
        width: 150px;
    }

    .heading-line-wood {
        width: 220px;
    }

    .heading-line-featured {
        width: 120px;
    }

    .heading-line-customer {
        width: 170px;
    }
}

/* end */
