/* === Team Single Page — CasaXpert v1.1.6 === */

.cx-team-hero {
    background: #0E0E0E;
    padding: 160px 0 48px;
}
.cx-team-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.cx-team-hero h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
    margin: 0 0 14px;
    line-height: 1.1;
}
.cx-team-hero-role {
    display: inline-block;
    background: #FB5B11;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 16px;
    border-radius: 2px;
    font-family: 'Barlow', sans-serif;
}
.cx-team-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cx-team-hero-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    transition: color 0.2s;
}
.cx-team-hero-breadcrumb a:hover { color: #fff; }
.cx-team-hero-breadcrumb .cx-bc-sep {
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    margin: 0 8px;
}
.cx-team-hero-breadcrumb .cx-bc-current {
    color: #FB5B11;
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
}

/* Container + back button (shared with portfolio) */
.cx-pf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.cx-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FB5B11;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
    transition: color 0.2s;
}
.cx-back-btn:hover { color: #e04d00; }
.cx-back-btn i { font-size: 16px; }

/* === Main section === */
.cx-team-single {
    padding: 64px 0 80px;
    background: #f5f5f5;
}
.cx-team-profile {
    display: flex;
    flex-direction: row;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 6px 36px rgba(0,0,0,0.09);
    overflow: hidden;
}

/* Left column */
.cx-team-left {
    flex: 0 0 310px;
    width: 310px;
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
    padding: 48px 28px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cx-team-photo-wrap {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FB5B11;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cx-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cx-team-photo-placeholder {
    font-size: 60px;
    color: #ccc;
}
.cx-team-card-name {
    font-family: 'Jost', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0E0E0E;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
}
.cx-team-card-role {
    background: #FB5B11;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    margin-bottom: 16px;
}
.cx-team-card-exp {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FB5B11;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cx-team-card-exp i { font-size: 16px; }
/* Right column */
.cx-team-right {
    flex: 1;
    padding: 48px 44px;
    min-width: 0;
}
.cx-team-bio-block {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #f0f0f0;
}
.cx-team-bio-text {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 8px 0 0;
}

/* Section labels */
.cx-team-section-label {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #FB5B11;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cx-team-section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #FB5B11;
    display: block;
}
.cx-team-section-title {
    font-family: 'Jost', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0E0E0E;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 28px;
    line-height: 1.2;
}
.cx-team-resp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cx-team-resp-list li {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    color: #444;
    padding: 13px 0 13px 28px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
}
.cx-team-resp-list li:last-child { border-bottom: none; }
.cx-team-resp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #FB5B11;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Fallback: editor content rendered on non-Elementor posts */
.cx-team-content-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    font-family: 'Barlow', sans-serif;
}
.cx-team-content-text p { margin-bottom: 16px; }

/* Mobile */
@media (max-width: 768px) {
    .cx-team-profile { flex-direction: column; }
    .cx-team-left { flex: none; width: 100%; border-right: none; border-bottom: 1px solid #f0f0f0; padding: 36px 24px; }
    .cx-team-right { padding: 32px 24px; }
}
@media (max-width: 767px) {
    .cx-team-hero { padding: 150px 0 28px; }
    .cx-team-hero h1 { font-size: 28px; }
    .cx-team-single { padding: 32px 0; }
    .cx-team-section-title { font-size: 20px; }
}
