/* Container Base */
.shea-card-container {
    --primary-green: #539633;
    --deep-brown: #539633;
    --text-gray: #4a4a4a;
    --glass-white: rgba(255, 255, 255, 0.85);
    
    width: 100%;
    margin: 40px auto;
    display: flex;
    flex-direction: row;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: hidden; /* This clips the image to the border radius */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    font-family: 'Inter', sans-serif;
    transition: transform 0.3s ease;
}

/* Image Section - Left */
.shea-card-image {
    flex: 1.2; /* Takes 1.2 units of space */
    position: relative;
    overflow: hidden;
    min-height: 500px; 
    margin-right: 0; /* Ensures no gap between image and text */
}

.shea-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Removes bottom whitespace */
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Content Section - Right */
.shea-card-content {
    flex: 1; /* Takes 1 unit of space */
    
    /* ADJUST THESE VALUES TO CONTROL TEXT PADDING */
    padding-top: 20px;      /* Top Gap */
    padding-bottom: 20px;   /* Bottom Gap */
    padding-left: 20px;     /* Left Gap (near image) */
    padding-right: 20px;    /* Right Gap (near border) */

    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers text inside the padding */
    position: relative;
    z-index: 2;
}

.shea-card-badge {
    display: inline-block;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.shea-card-title {
    color: var(--deep-brown) !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    text-transform: none !important;
}

.shea-card-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.shea-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--primary-green);
    color: white !important;
    text-decoration: none !important;
    border-radius: 100px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(83, 150, 51, 0.2);
}

/* Background Decoration */
.shea-card-content::before {
    content: 'Shea';
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(83, 150, 51, 0.03);
    z-index: -1;
    pointer-events: none;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .shea-card-container {
        flex-direction: column;
        margin: 20px auto;
        border-radius: 24px;
    }

    .shea-card-image {
        min-height: 250px;
        max-height: 350px;
        flex: none;
    }

    .shea-card-content {
        /* Mobile Specific Padding: T R B L */
        padding: 40px 25px 40px 25px; 
        text-align: center;
        align-items: center;
    }

    .shea-card-content::before {
        display: none;
    }
}

/* Hover Effects */
@media (hover: hover) {
    .shea-card-container:hover .shea-card-image img {
        transform: scale(1.05);
    }
    .shea-card-cta:hover {
        transform: translateY(-2px);
        background: #467e2b;
    }
}