/* Custom Table — Feature Cards Widget
   ------------------------------------------------------------------ */

.ct-fc-wrap {
    width: 100%;
}

.ct-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 22px;
    row-gap: 30px;
    width: 100%;
}

.ct-fc-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ----- Header area (badge + bar) ----- */
.ct-fc-head {
    position: relative;
    width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: -38px; /* badge overlaps the body panel below */
    z-index: 2;
}

/* The darker horizontal bar that peeks out behind the badge */
.ct-fc-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 32%;
    height: 52px;
    width: 100%;
    z-index: 1;
}

/* Rounded badge (square-ish with big corner radius) */
.ct-fc-badge {
    position: relative;
    z-index: 2;
    width: 72%;
    height: 100%;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.ct-fc-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #ffffff;
}

/* ----- Description body ----- */
.ct-fc-body {
    background: #EEEEEE;
    padding: 70px 22px 28px;
    border-radius: 4px;
    flex: 1;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.ct-fc-desc {
    margin: 0;
    color: #2B3A4A;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

/* ------------------------------------------------------------------
   Responsive — handled by Elementor's Columns control
   (defaults: 4 cols desktop / 2 cols tablet / 1 col mobile).
   Small visual tweaks below for mobile only.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .ct-fc-head {
        height: 150px;
        margin-bottom: -34px;
    }
    .ct-fc-badge {
        width: 68%;
        border-radius: 30px;
    }
    .ct-fc-bar {
        height: 46px;
    }
    .ct-fc-title {
        font-size: 20px;
    }
    .ct-fc-body {
        padding: 60px 20px 24px;
    }
    .ct-fc-desc {
        font-size: 15px;
    }
}
