/* RMC Featured Calculator (Single Column) - Styles */
.rmc-fc-sc-section-bg{
    background:#FAFAFA;
    padding: 24px;
    border-radius: 16px;
}

.rmc-fc-sc-list{
    display:block; /* single column */
}

.rmc-fc-sc-card{
    margin: 12px 0;
}

.rmc-fc-sc-card-inner{
    background:#FFFFFF;
    border-radius:16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    padding:16px;
    display:flex;
    flex-direction:column;
    min-height: 170px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rmc-fc-sc-card-inner:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.09), 0 0 0 2px var(--rmc-accent, #007BFF, 1);
}

.rmc-fc-sc-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.rmc-fc-sc-emoji{
    font-size: var(--rmc-emoji-size, 28px);
    line-height:1;
}

.rmc-fc-sc-chip{
    background: var(--rmc-accent, #007BFF);
    color:#fff;
    font-size:12px;
    padding:6px 10px;
    border-radius:999px;
    white-space:nowrap;
}

.rmc-fc-sc-title{
    color: var(--rmc-heading, #111);
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight:700;
    margin:10px 0 6px;
}

.rmc-fc-sc-meta{
    color:#6b7280; /* gray-500 */
    font-size:14px;
    margin-bottom:12px;
}

.rmc-fc-sc-actions{
    margin-top:auto; /* push to bottom for equal height */
}

.rmc-fc-sc-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 16px;
    border-radius:999px;
    background: var(--rmc-accent, #007BFF);
    color:#fff;
    text-decoration:none;
    position:relative;
    transition: filter .2s ease;
    overflow:hidden;
}

.rmc-fc-sc-btn:hover .rmc-fc-sc-btn-text{
    filter: brightness(115%);
}

.rmc-fc-sc-underline{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    bottom:8px;
    height:2px;
    background: linear-gradient(90deg, rgba(255,255,255,.2), #fff, rgba(255,255,255,.2));
    opacity:.0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.rmc-fc-sc-btn:hover .rmc-fc-sc-underline{
    opacity:.9;
    transform: translateY(0);
    animation: rmc-underglow var(--rmc-undertime, 1.5s) linear infinite;
}

@keyframes rmc-underglow {
    0% { left:14px; right:60%; }
    50% { left:14px; right:14px; }
    100% { left:60%; right:14px; }
}

/* Fade-in on scroll */
.rmc-observe{
    opacity:0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .4s ease;
}
.rmc-observe.in-view{
    opacity:1;
    transform: translateY(0);
}

/* Load more */
.rmc-fc-sc-loadmore-wrap{
    text-align:center;
    margin-top:14px;
}
.rmc-fc-sc-loadmore{
    background:#fff;
    border:2px solid var(--rmc-accent, #007BFF);
    color: var(--rmc-accent, #007BFF);
    border-radius:999px;
    padding:10px 16px;
    cursor:pointer;
}
