/* =========================
   TRUMED VALUES
========================= */

.trumed-values-section{
    padding:70px 0 80px;
}

.trumed-values-inner{
    width:100%;
}

.trumed-values-head{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:22px;
    padding:0;
}

.trumed-values-eyebrow,
.trumed-values-title{
    margin:0 !important;
    padding:0 !important;
}

.trumed-values-eyebrow{
    margin-bottom:10px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.20em;
    color:#3E99AD;
    text-transform:uppercase;
}

.trumed-values-eyebrow .elementor-heading-title{
    margin:0 !important;
    padding:0 !important;
    font-size:12px !important;
    font-weight:700 !important;
    letter-spacing:.20em !important;
    color:#3E99AD !important;
    text-transform:uppercase !important;
    line-height:1 !important;
}

/* Grid */

.trumed-values-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px 24px;
}

/* Card */

.trumed-value-card{
    height:100%;
    padding:24px 26px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.65);
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 10px 35px rgba(0,0,0,.04);
    transition:transform .35s ease, box-shadow .35s ease;
}

.trumed-value-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.trumed-value-title{
    margin:0 0 10px !important;
    padding:0 !important;
}

.trumed-value-text,
.trumed-value-text p{
    margin:0 !important;
    padding:0 !important;
}

/* Read More */

.trumed-value-readmore{
    display:inline-flex;
    align-items:center;
    gap:7px;
    width:max-content;
    margin-top:4px;
    padding:7px 14px;
    border:1px solid rgba(17,24,39,.08);
    border-radius:999px;
    background:rgba(255,255,255,.72);
    color:#374151;
    font-size:14px;
    font-weight:500;
    line-height:1;
    text-transform:none;
    cursor:pointer;
    transition:all .25s ease;
}

.trumed-value-readmore:hover{
    color:#3E99AD;
    border-color:rgba(62,153,173,.28);
    background:#fff;
}

.trumed-value-readmore svg{
    width:13px;
    height:13px;
    color:currentColor;
    transition:transform .3s ease;
}

.trumed-value-card.is-open .trumed-value-readmore svg{
    transform:rotate(180deg);
}

.trumed-value-more{
    display:block !important;
    max-height:0;
    overflow:hidden;
    opacity:0;
    margin:0 !important;
    transition:max-height .35s ease, opacity .25s ease, margin-top .25s ease;
}

.trumed-value-card.is-open .trumed-value-more{
    max-height:220px;
    opacity:1;
    margin-top:8px !important;
}

/* =========================
   TRUMED STORY TIMELINE
========================= */

.trumed-story-timeline-track{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:24px;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory;
    padding:20px 24px 34px;
    background:transparent !important;
    box-sizing:border-box;
}

.trumed-story-timeline-track{
    scrollbar-width:thin;
    scrollbar-color:#BFC5CB #ECEFF1;
}

.trumed-story-timeline-track::-webkit-scrollbar{
    height:8px;
}

.trumed-story-timeline-track::-webkit-scrollbar-track{
    background:#ECEFF1;
    border-radius:999px;
}

.trumed-story-timeline-track::-webkit-scrollbar-thumb{
    background:#BFC5CB;
    border-radius:999px;
}

.trumed-story-timeline-track::-webkit-scrollbar-thumb:hover{
    background:#9AA3AB;
}

.trumed-timeline-card{
    flex:0 0 380px;
    width:380px;
    min-width:380px;
    min-height:240px;
    height:240px !important;
    overflow:hidden !important;
    padding:28px;
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 45px rgba(16,24,32,.08);
    scroll-snap-align:start;
    box-sizing:border-box;
}

.trumed-timeline-head{
    display:flex;
    flex-direction:column-reverse;
    gap:16px;
    height:auto !important;
    overflow:visible !important;
}

.trumed-timeline-year .elementor-heading-title{
    margin:0;
    color:#339999;
    font-size:18px;
    font-weight:800;
    line-height:1.2;
    text-align:right;
}

.trumed-timeline-title .elementor-heading-title{
    margin:0;
    color:#101820;
    font-size:22px;
    font-weight:700;
    line-height:1.2;
}

.trumed-timeline-text{
    display:block !important;
    height:auto !important;
    max-height:none !important;
    opacity:1 !important;
    visibility:visible !important;
    overflow:visible !important;
    margin-top:18px;
}

.trumed-timeline-text p{
    margin:0;
    color:#374151;
    font-size:17px;
    line-height:1.55;
}

/* Responsive */

@media(max-width:1024px){
    .trumed-values-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:767px){
    .trumed-values-section{
        padding:60px 0 70px;
    }

    .trumed-values-head{
        gap:8px;
        margin-bottom:20px;
    }

    .trumed-values-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .trumed-value-card{
        padding:22px;
        border-radius:20px;
    }

    .trumed-story-timeline-track{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        gap:16px;
        width:100%;
        max-width:100%;
        padding:18px 8px 30px;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        scroll-snap-type:x mandatory;
        box-sizing:border-box;
    }

    .trumed-story-timeline-track > .trumed-timeline-card{
        flex:0 0 calc(100vw - 80px) !important;
        width:calc(100vw - 80px) !important;
        max-width:calc(100vw - 80px) !important;
        min-width:calc(100vw - 80px) !important;
        min-height:230px;
        height:230px !important;
        padding:24px;
        border-radius:22px;
        box-sizing:border-box;
        scroll-snap-align:start;
    }

    .trumed-timeline-title .elementor-heading-title{
        font-size:20px;
    }

    .trumed-timeline-text p{
        font-size:16px;
        line-height:1.55;
    }
}