/* ── Featured Reports Slider ── */
.rm-fs-section {
    /* padding: 60px 0 0 0; */
    max-width: 100% !important;
}
.rm-fs-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 0px;
    position: relative;
}
.rm-fs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.rm-fs-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d2327;
    margin: 0;
    margin-left: -60px;
}
.rm-fs-outer {
    overflow: hidden;
    position: relative;
    outline: none;
    padding-bottom: 30px;
}
.rm-fs-track {
    display: flex;
    align-items: stretch;
    will-change: transform;
}
/* ── Slide wrapper — inherits report-card styles from theme ── */
.rm-fs-slide {
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;        /* make the card inside stretch full height */
    flex-direction: column;
    align-self: stretch;  /* force every slide to the tallest height */
}

/* report-card inside slider */
.rm-fs-slide.report-card {
    background: var(--card, #fff);
    border-radius: 16px;
    border: 1px solid var(--line, #e4e8f0);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    width: 100%;
    margin-top: 4px;
    /* no height:100% — the slide IS the flex item; align-self:stretch handles it */
}
.rm-fs-slide.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.rm-fs-slide .report-img {
    position: relative;
    height: 120px;
    background-image: url('../../../../themes/astra/assets/img/card_silk-4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    overflow: hidden;
    display: none;
}
.report-icon-wrap{
    border-radius: 50%;
    background: linear-gradient(180deg,#f7f7f9 0%, #f1f1f3 100%);
    box-shadow:
        inset 0 2px 10px rgba(255,255,255,0.9),
        0 10px 25px rgba(0,0,0,0.04);
}

/* Top curve line */
.report-icon-wrap::before{
    content: "";
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border-top: 2px solid #bcc7d8;
    opacity: .9;
}

.rm-fs-slide .report-icon-wrap {
    position: relative;
    z-index: 2;
    width: 78px;
    height: 78px;
        display: flex;
    align-items: center;
    justify-content: center;
}
.rm-fs-slide .report-icon-wrap img,
.rm-fs-slide .report-icon-wrap svg {
    width: 90%;
    height: 90%;
    display: block;
    border-radius: 50%;
}
.rm-fs-slide .report-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;          /* fill remaining card height */
    min-height: 0;
}
.rm-fs-slide .report-tag {
    color: var(--teal, #1b8fa8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.rm-fs-slide .report-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--navy, #0f2a4a);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: 2.5em;
    min-height: 2.4em;
    text-overflow: ellipsis;
}
.rm-fs-slide .report-title-link {
    color: inherit;
    text-decoration: none !important;
}
.rm-fs-slide .report-title-link:hover {
    text-decoration: underline;
}
.rm-fs-slide .report-desc {
    color: var(--text-soft, #64748b);
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 24px;
    flex: 1;          /* pushes .report-foot to the bottom */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    line-height: 1.5;
    min-height: 2.5em;
    max-height: 4.5em;
    min-height: 4.4em;
    text-overflow: ellipsis;
}
.rm-fs-slide .report-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rm-fs-slide .premium-pill {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--gold, #b8893d);
    color: var(--gold, #b8893d);
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
}
.rm-fs-slide .arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line, #e4e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue, #1a4fad);
    background: #fff;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
    cursor: pointer;
}
.rm-fs-slide .arrow-circle:hover {
    background: var(--blue, #1a4fad);
    color: #fff;
    transform: translateX(3px);
}
.rm-fs-slide .arrow-circle svg {
    width: 16px;
    height: 16px;
}

/* Controls */
.rm-fs-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-top: 0px;
}
.rm-fs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    color: #374151;
}
.rm-fs-btn:hover:not(:disabled) {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}
.rm-fs-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.rm-fs-dots {
    display: flex;
    gap: 8px;
}
.rm-fs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.rm-fs-dot.is-active {
    background: #2271b1;
    transform: scale(1.3);
}
.rm-fs-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 15px;
}

/* Editor wrap */
.rm-featured-slider-editor-wrap {
    pointer-events: none;
}


/* 2. Shared styles for both buttons (Circular look) */
.rm-fs-btn--prev,
.rm-fs-btn--next {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 2px solid #f0f2f5; /* Light grey border from image */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Static positioning reset if needed */
    margin-top: 0; 
    top: 50%;
    transform: translateY(-50%);
}

/* 3. Left Arrow Content */
.rm-fs-btn--prev::before {
    content: '←';
    font-size: 18px;
    color: #2b59ff;
    font-weight: 400;
}

/* 4. Right Arrow Content (Next Button) */
.rm-fs-btn--next::before {
    content: '→';
    font-size: 18px;
    color: #2b59ff;
    font-weight: 400;
}

/* 5. Hover Effects */
.rm-fs-btn--prev:hover,
.rm-fs-btn--next:hover,.rm-fs-btn:hover:not(:disabled),.rm-fs-btn--next:focus,.rm-fs-btn--prev:focus {
    border-color: #2b59ff !important;
    background-color: #f8faff!important;
}
/* 6. Positioning */
.rm-fs-btn--prev { left: -60px !important;
    position: absolute; } /* Pulls it outside the slider */
.rm-fs-btn--next { right: -60px !important;
    position: absolute; }

@media(max-width:767px){
    .rm-fs-title {
        margin-left: 0px;
    }
}