/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme for Hello Elementor with team popup functionality
Author: Studio Lore
Version: 1.0.1
*/

/* Team Member Popup Styles */
#team-member-popup-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px;
    font-family: inherit;
}

.tmp-field {
    display: none;
}

/* Header */
.tmp-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.tmp-avatar {
    width: 110px !important;
    height: 110px !important;
    border-radius: 8px;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
    display: none;
}

.tmp-header-text {
    flex: 1;
    min-width: 0;
}

.tmp-name {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.tmp-position {
    font-size: 15px;
    color: #666;
    margin-top: 4px;
}

.tmp-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 10px;
}

.tmp-contact-item {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.tmp-icon {
    font-size: 13px;
    color: #999;
    width: 14px;
    text-align: center;
}

/* Body */
.tmp-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tmp-section {
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.tmp-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tmp-section h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    margin: 0 0 10px 0;
}

.tmp-section > div {
    font-size: 15px;
    line-height: 1.65;
    color: #333;
}

.tmp-section > div p {
    margin: 0 0 10px 0;
}

.tmp-section > div p:last-child {
    margin-bottom: 0;
}

/* Style dividers that come from inside the WYSIWYG content itself */
.tmp-section > div hr {
    border: none;
    border-top: 1px solid #ececec;
    margin: 14px 0;
}

.tmp-section > div strong {
    color: #1a1a1a;
}

@media (max-width: 600px) {
    #team-member-popup-content {
        padding: 20px;
    }

    .tmp-header {
        gap: 14px;
    }

    .tmp-avatar {
        width: 72px;
        height: 72px;
    }

    .tmp-name {
        font-size: 20px;
    }

    .tmp-position {
        font-size: 13px;
    }

    .tmp-contact {
        flex-direction: column;
        gap: 6px;
    }

    .tmp-section h3 {
        font-size: 12px;
    }

    .tmp-section > div {
        font-size: 14px;
    }
}