/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 17 2026 | 20:31:57 */
/* --- TEAM CARDS ENGINE --- */

/* 1. Card Container (Apply the class 'team-card' to the Elementor Column or Flexbox Container) */
.team-card {
    background-color: var(--kv-white-bg) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important; /* Subtle initial shadow */
    transition: all 0.3s ease-in-out !important;
    overflow: hidden !important;
    border-bottom: 2px solid var(--kv-green-natural) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important; /* Removes default Elementor padding */
}

/* Card Hover State (Lifts up and increases shadow) */
.team-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important;
}

/* 2. Image Widget Wrapper */
.team-card .elementor-widget-image {
    aspect-ratio: 3 / 4 !important; /* Forces the portrait aspect ratio */
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.team-card .elementor-widget-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

/* Image Zoom on Card Hover */
.team-card:hover .elementor-widget-image img {
    transform: scale(1.05) !important;
}

/* 3. Text/Paragraph Widget Wrapper */
.team-card .elementor-widget-text-editor {
    padding: 15px !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Force paragraph tags to have no margins and be GREEN */
.team-card .elementor-text-editor p {
    margin: 0 !important; /* Kills the large gap */
    padding: 0 !important;
    color: var(--kv-green-natural) !important; /* Forces the #0a6b3e green */
    font-family: 'Open Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.1 !important;
}

/* Formatting the Name (Overrides the green for the strong tag) */
.team-card .elementor-text-editor strong {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    color: var(--kv-dark-grey) !important; 
    display: block !important;
    margin-bottom: 2px !important; /* The exact, small gap you want */
    text-transform: uppercase !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .team-card .elementor-text-editor strong { font-size: 14px !important; }
    .team-card .elementor-text-editor { font-size: 10px !important; }
}

