 
 
/* ===== Section Head ===== */
.relatedSection .sectionHeadwrap {
    text-align: left;
}

/* ===== Grid ===== */
.relatedSection .secWrapper {
   display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    max-width: 100%;
    gap: 0 112px;
    width: 100%;
}

/* ===== Row ===== */
.relatedCard {
    display: flex;
    align-items: center;
    max-width: 540px;
    width: 100%;
    border-bottom: 1px solid #E4F2FF;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: padding 0.25s ease;
}

/* First row (items 1 & 2) get top border */
.relatedCard:nth-child(-n+2) {
    border-top: 1px solid #E4F2FF;
}

/* Hover fill from left */
.relatedCard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary-lighter, #EEF3FC);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.relatedCard:hover::before { transform: scaleX(1); }
.relatedCard:hover { padding: 0 16px; }

/* ===== Number ===== */
.sl-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    flex-shrink: 0;
    width: 68px;
    padding: 17px 0;
    margin-right: 18px;
    position: relative;
    z-index: 1;
    transition: color 0.22s ease;
}

.sl-dash {
    display: inline-block;
    width: 31px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.22s ease;
}

.relatedCard:hover .sl-num {
    color: var(--color-primary, #3A66D4);
}

.relatedCard:hover .sl-dash {
    width: 40px;
}

/* ===== Label ===== */
.sl-label {
    flex: 1;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-heading, #1F2937);
    line-height: 1.3;
    padding: 26px 0;
    position: relative;
    z-index: 1;
    transition: color 0.22s ease;
}

.relatedCard:hover .sl-label {
    color: var(--color-primary, #3A66D4);
}

/* ===== Tag (appears on hover) ===== */
.sl-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-primary, #3A66D4);
    background: rgba(58, 102, 212, 0.08);
    border: 1px solid var(--color-border-light, #D8E7FF);
    border-radius: 100px;
    padding: 5px 14px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    white-space: nowrap;
    margin-right: 16px;
}

.relatedCard:hover .sl-tag {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Arrow ===== */
.sl-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border-light, #D8E7FF);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9E0F2;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.relatedCard:hover .sl-arrow {
    background: var(--color-primary, #3A66D4);
    border-color: var(--color-primary, #3A66D4);
    color: #fff;
    transform: translateX(4px);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .relatedSection .secWrapper {
        grid-template-columns: 1fr;
    }

    .relatedCard:nth-child(odd) {
        border-right: none;
    }

    .relatedCard:nth-last-child(-n+2) {
        border-bottom: 1px solid #E4F2FF;
    }

    .relatedCard:last-child {
        border-bottom: none;
    }

    .relatedCard:last-child:nth-child(odd) {
        grid-column: span 1;
    }

    .sl-tag {
        display: none;
    }
}

@media (max-width: 575px) {
    .sl-label {
        font-size: 16px;
    }
.sl-arrow {
    width: 35px;
    height: 35px;
    margin-left: 10px;}
    .relatedCard:hover {
        padding: 0 8px;
    }
}
