.sc-sm-main {
    margin-top: 64px;
    margin-bottom: 64px;
    padding: 0 5%;
}

/* Heading */
.sc-sm-head {
    text-align: center;
    margin: 0 auto 24px;
}

.sc-sm-head h2 {
    color: #141252;
    margin: 0 0 8px;
}

.sc-sm-head p {
    color: #141252;
    margin: 0;
}

/* Grid */
.sc-sm-grid {
    display: grid;
    gap: 24px;
}

/* Card */
.sc-sm-card {
    background: #F3F2FE;
    border-radius: 24px;
    padding: 24px;
    min-width: 0;
}

.sc-sm-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #6F4EBF;
    padding: 8px;
}

.sc-sm-title a,
.sc-sm-title>span:last-child {
    color: #6F4EBF;
    text-decoration: none;
}

.sc-sm-title a:hover {
    color: #141252;
}

.sc-sm-ico {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6F4EBF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Links */
.sc-sm-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Newsletter */
.sc-newsletter>.sc-container>* {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* ============ ROW LAYOUT (Main Pages jaisa) ============ */
.sc-sm-list.is-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.sc-sm-list.is-row a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px;
    border: 0.5px solid #6F4EBF;
    border-radius: 8px;
    background: transparent;
    color: #6F4EBF;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* right side chevron */
.sc-sm-list.is-row a::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.sc-sm-list.is-row a:hover {
    background: #6F4EBF;
    border-color: #6F4EBF;
    color: #fff;
}

.sc-sm-list.is-row a:hover::after {
    transform: translateX(3px) rotate(45deg);
}

@media screen and (max-width: 1024px) {
    .sc-sm-list.is-row {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .sc-sm-list.is-row a {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .sc-sm-list.is-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sc-sm-list.is-row a {
        font-size: 14px;
    }
    .sc-sm-main {
        margin: 50px 0;
    }
}



