.elementor-1018 .elementor-element.elementor-element-1f87bb8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1018 .elementor-element.elementor-element-a6a082b{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:40px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1018 .elementor-element.elementor-element-7075db1{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1018 .elementor-element.elementor-element-1c8c5d6 .elementor-repeater-item-30993c0{display:none !important;}.elementor-1018 .elementor-element.elementor-element-1c8c5d6.elementor-element{--align-self:center;}.elementor-1018 .elementor-element.elementor-element-1c8c5d6 .ts-inline-filter .ts-input-icon > span{left:15px;}.elementor-1018 .elementor-element.elementor-element-1c8c5d6 .ts-search-btn{color:#fff;--ts-icon-color:#fff;background:var( --e-global-color-accent );}.elementor-1018 .elementor-element.elementor-element-1c8c5d6 .ts-inline-filter .range-slider-wrapper .range-value{font-size:20px;}.elementor-1018 .elementor-element.elementor-element-1c8c5d6 .ts-filter-toggle{border-radius:5px;}.elementor-1018 .elementor-element.elementor-element-c80398f{--display:flex;}.elementor-1018 .elementor-element.elementor-element-dde6650 > .post-feed-grid{grid-template-columns:repeat(3, minmax(0, 1fr));grid-gap:20px;}@media(min-width:768px){.elementor-1018 .elementor-element.elementor-element-7075db1{--content-width:1200px;}.elementor-1018 .elementor-element.elementor-element-c80398f{--content-width:1200px;}}/* Start custom CSS for ts-post-feed, class: .elementor-element-dde6650 *//* =========================================================
   1. WRAPPER FIX: Force all cards to be uniform height
   ========================================================= */
.post-feed-grid .ts-preview,
.post-feed-grid .elementor,
.post-feed-grid .e-con,
.post-feed-grid .e-con-inner,
.post-feed-grid .elementor-widget-html {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* =========================================================
   2. THE GRID & 5-ITEM CENTERING TRICK
   ========================================================= */
/* Create a 6-column grid so we can do half-spans */
.post-feed-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 24px !important;
}

/* Each normal card takes up 2 out of 6 columns (3 per row) */
.post-feed-grid .ts-preview {
    grid-column: span 2 !important;
}

/* 
   MAGIC TRICK: If there are EXACTLY 5 team members,
   shift the 4th item over by 1 column. 
   This perfectly centers the 4th and 5th item! 
*/
.post-feed-grid .ts-preview:nth-child(1):nth-last-child(5) ~ .ts-preview:nth-child(4),
.post-feed-grid .ts-preview:nth-child(1):nth-last-child(6) ~ .ts-preview:nth-child(4) {
    grid-column: 2 / span 2 !important;
}

/* =========================================================
   3. CARD STYLES (With Height stretch added)
   ========================================================= */
.scf-team-card { 
    display: flex !important; 
    flex-direction: column !important;
    flex-grow: 1 !important; /* Stretches card to fill grid cell */
    text-decoration: none !important; 
    background-color: #FFFFFF !important; 
    border: 1px solid rgba(0, 0, 0, 0.06) !important; 
    border-radius: 12px !important; 
    overflow: hidden !important; 
    transition: all 200ms ease !important; 
    color: inherit !important; 
}

.scf-team-card:hover { 
    border-color: rgba(0, 0, 0, 0.12) !important; 
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06) !important; 
}

.scf-team-card-img { 
    position: relative !important; 
    width: 100% !important; 
    aspect-ratio: 3/4 !important; 
    overflow: hidden !important; 
    background-color: #F7F8FA !important; 
}

.scf-team-card-img img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    display: block !important; 
}

.scf-team-card-info { 
    padding: 24px !important; 
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* Forces info box to stretch down */
}

.scf-team-card-role { 
    font-size: 0.6875rem !important; 
    font-weight: 600 !important; 
    text-transform: uppercase !important; 
    color: #174c9d !important; 
    margin-bottom: 8px !important; 
    display: block !important; 
}

.scf-team-card-name { 
    font-size: 1.125rem !important; 
    font-weight: 600 !important; 
    margin-bottom: 8px !important; 
}

.scf-team-card-desc { 
    font-size: 0.9375rem !important; 
    color: #687076 !important; 
    margin-bottom: 16px !important; 
}

.scf-team-card-link { 
    font-size: 0.875rem !important; 
    font-weight: 600 !important; 
    margin-top: auto !important; /* Pushes the 'View Profile' link to the absolute bottom perfectly */
}

/* =========================================================
   4. RESPONSIVE QUERIES
   ========================================================= */
@media (max-width: 900px) { 
    .post-feed-grid { grid-template-columns: repeat(2, 1fr) !important; } 
    .post-feed-grid .ts-preview { grid-column: span 1 !important; }
    
    /* Disable the centering shift on tablet since it's a 2-column layout now */
    .post-feed-grid .ts-preview:nth-child(1):nth-last-child(5) ~ .ts-preview:nth-child(4),
    .post-feed-grid .ts-preview:nth-child(1):nth-last-child(6) ~ .ts-preview:nth-child(4) {
        grid-column: span 1 !important;
    }
}

@media (max-width: 600px) { 
    .post-feed-grid { grid-template-columns: 1fr !important; } 
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-a6a082b *//* ── Team Section Styles ── */
    .scf-team-section { font-family: 'Inter', sans-serif !important; background-color: #F7F8FA !important; padding: 96px 0 !important; }
    .scf-team-container { max-width: 1200px !important; margin: 0 auto !important; padding: 0 24px !important; }
    .scf-team-header { text-align: center !important; margin-bottom: 56px !important; }
    .scf-team-badge { display: inline-block !important; padding: 4px 10px !important; font-size: 0.7rem !important; font-weight: 600 !important; border-radius: 6px !important; margin-bottom: 16px !important; text-transform: uppercase !important; background-color: rgba(89, 45, 144, 0.1) !important; color: #592d90 !important; }
    .scf-team-header h2 { font-size: 2.25rem !important; font-weight: 600 !important; margin-bottom: 12px !important; }
    .scf-team-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; }
    
    /* Card Styles */
    .scf-team-card { display: block !important; text-decoration: none !important; background-color: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.06) !important; border-radius: 12px !important; overflow: hidden !important; transition: all 200ms ease !important; color: inherit !important; }
    .scf-team-card:hover { border-color: rgba(0, 0, 0, 0.12) !important; box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06) !important; }
    .scf-team-card-img { position: relative !important; width: 100% !important; aspect-ratio: 3/4 !important; overflow: hidden !important; background-color: #F7F8FA !important; }
    .scf-team-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
    .scf-team-card-info { padding: 24px !important; }
    .scf-team-card-role { font-size: 0.6875rem !important; font-weight: 600 !important; text-transform: uppercase !important; color: #174c9d !important; margin-bottom: 8px !important; display: block !important; }
    .scf-team-card-name { font-size: 1.125rem !important; font-weight: 600 !important; margin-bottom: 8px !important; }
    .scf-team-card-desc { font-size: 0.9375rem !important; color: #687076 !important; margin-bottom: 16px !important; }
    .scf-team-card-link { font-size: 0.875rem !important; font-weight: 600 !important; }

    @media (max-width: 900px) { .scf-team-grid { grid-template-columns: repeat(2, 1fr) !important; } }
    @media (max-width: 600px) { .scf-team-grid { grid-template-columns: 1fr !important; } }/* End custom CSS */