/**
 * Therapists Grid Section Styles
 * Lucky Relaxation Center / Pur Theme
 */

.lucky-therapists-section {
    padding: 60px 20px;
    margin: 0 auto;
    max-width: 1240px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.lucky-therapists-header {
    text-align: center;
    margin-bottom: 40px;
}

.lucky-therapists-title,
.lucky-therapists-title .vamtam-heading-text {
    font-family: "EB Garamond", Georgia, serif !important;
    font-size: 49.2px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    color: #2C396B !important;
    margin: 0 0 14px 0;
    letter-spacing: 0;
}

.lucky-therapists-subtitle {
    font-family: 'Montserrat', Georgia, serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    max-width: 720px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 400;
}

/* Grid Layout */
.lucky-therapists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-content: center;
}

/* Therapist Card */
.lucky-therapist-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.lucky-therapist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #d8d8d8;
}

/* Image Container */
.lucky-therapist-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f6f6f6;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.lucky-therapist-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.lucky-therapist-card:hover .lucky-therapist-photo-wrap img {
    transform: scale(1.04);
}

/* Card Content / Details */
.lucky-therapist-content {
    padding: 16px 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    flex-grow: 1;
}

.lucky-therapist-meta {
    flex: 1;
    min-width: 0;
}

.lucky-therapist-name {
    font-family: Georgia, 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 3px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lucky-therapist-country {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #737373;
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
}

/* Book Now Button */
.lucky-therapist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #222222;
    border-radius: 7px;
    background-color: #ffffff;
    color: #222222 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.lucky-therapist-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff !important;
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Beaver Builder Integration */
.fl-module-vamtam-team-member .team-member.lucky-therapist-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fl-module-vamtam-team-member .team-member.lucky-therapist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.fl-module-vamtam-team-member .team-member.lucky-therapist-card .thumbnail {
    border-radius: 13px 13px 0 0;
    margin: 0;
    aspect-ratio: 1 / 1;
}

.fl-module-vamtam-team-member .team-member.lucky-therapist-card .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fl-module-vamtam-team-member .team-member.lucky-therapist-card .team-member-info {
    padding: 16px 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 1024px) {
    .lucky-therapists-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .lucky-therapists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .lucky-therapists-section {
        padding: 40px 15px;
    }
    .lucky-therapist-name {
        font-size: 18px;
    }
    .lucky-therapist-content {
        padding: 14px 14px 18px;
    }
    .lucky-therapist-btn {
        padding: 7px 12px;
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    .lucky-therapists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lucky-therapist-content {
        padding: 12px 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .lucky-therapist-btn {
        width: 100%;
        text-align: center;
        padding: 8px 10px;
    }
}
