:root {
    --te-blue: #2244ec;
    --te-blue-dark: #1939c8;
    --te-blue-light: #4f6ff2;
    --te-bg: #f5f6f8;
    --te-card: #ffffff;
    --te-border: #cfd7ff;
    --te-text: #111827;
    --te-muted: #667085;
}

body.team-example-page {
    margin: 0;
    background: var(--te-blue);
    color: var(--te-text);
    font-family: Arial, sans-serif;
}

.te-page {
    min-height: 100vh;
    background: var(--te-blue);
}

.te-company-bar {
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.te-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 190px;
    gap: 20px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 18px;
}

.te-company-rail,
.te-content,
.te-tip-card {
    min-width: 0;
}

.te-company-rail {
    color: #fff;
    text-align: center;
}

.te-company-card-slot {
    min-height: 420px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.45);
}

.te-company-rail__title {
    margin: 26px 0 22px;
    font-size: 1.25rem;
}

.te-archive-link {
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.te-content {
    background: var(--te-bg);
    padding: 20px;
}

.te-team-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    background: #fff;
    border: 1px solid var(--te-border);
    border-radius: 16px;
    overflow: hidden;
}

.te-team-main {
    padding: 22px;
}

.te-team-main h2,
.te-team-main h3,
.te-team-profile h2,
.te-section h2 {
    margin-top: 0;
}

.te-team-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 18px;
}

.te-team-tab {
    border: 0;
    border-radius: 999px;
    background: #eef0f5;
    color: #596174;
    padding: 10px 18px;
    cursor: pointer;
}

.te-team-tab.is-active {
    background: var(--te-blue);
    color: #fff;
}

.te-members {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.te-member-card {
    min-height: 92px;
    background: #f1f2f5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
}

.te-member-avatar {
    width: 44px;
    height: 44px;
    margin: 0 auto 7px;
    border-radius: 50%;
    overflow: hidden;
    background: #dfe4ee;
    flex-shrink: 0;
}

.te-member-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.te-member-name {
    font-size: 0.9rem;
    font-weight: 700;
}

.te-member-role {
    margin-top: 3px;
    color: var(--te-muted);
    font-size: 0.78rem;
}

.te-subsection {
    margin-top: 22px;
}

.te-subsection h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.te-offices {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.te-office {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--te-muted);
    font-size: 0.78rem;
}

.te-office-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8ebf1;
    border: 2px solid transparent;
}

.te-office-dot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.te-office.is-active .te-office-dot {
    border-color: var(--te-blue);
    padding: 2px;
    background: #fff;
}

.te-office.is-active span {
    color: var(--te-blue);
}

.te-products {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.te-product-chip {
    border: 1px solid #d7dce8;
    border-radius: 999px;
    background: #fff;
    color: #677085;
    padding: 9px 16px;
    cursor: pointer;
}

.te-product-chip.is-active {
    background: var(--te-blue);
    color: #fff;
    border-color: var(--te-blue);
}

.te-team-profile {
    background: var(--te-blue);
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.te-team-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    background: rgba(255,255,255,.18);
    border-radius: 999px;
    font-weight: 700;
    margin: 8px 0 14px;
}

.te-profile-points {
    display: grid;
    gap: 14px;
}

.te-profile-point h3 {
    margin: 0 0 5px;
    font-size: 0.95rem;
}

.te-profile-point p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #eef2ff;
}

.te-profile-point.is-warning h3 {
    color: #ffdddd;
}

.te-profile-actions {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    gap: 8px;
}

.te-profile-button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
    background: rgba(255,255,255,.2);
    color: #fff;
}

.te-profile-button.is-active {
    background: #fff;
    color: var(--te-blue);
}

.te-section {
    margin-top: 34px;
}

.te-carousel {
    position: relative;
    min-height: 390px;
}

.te-carousel-track {
    display: grid;
    grid-template-columns: minmax(260px, 430px);
    gap: 18px;
    align-items: start;
}

.te-carousel-track--two {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.te-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e0e3ea;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}

.te-carousel-arrow--left { left: -12px; }
.te-carousel-arrow--right { right: -12px; }

.te-backend-slot {
    background: #fff;
    border: 1px solid #dfe3eb;
    border-radius: 18px;
}

.te-product-card-slot,
.te-brand-card-slot {
    min-height: 360px;
}

.te-media-section {
    margin-top: 28px;
}

.te-section-pill {
    display: inline-flex;
    background: #eef0ff;
    color: var(--te-blue);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}

.te-media-carousel {
    margin-top: 12px;
    min-height: 240px;
}

.te-media-slot {
    min-height: 220px;
}

.te-media-slot--short {
    min-height: 140px;
}

.te-tip-card {
    align-self: start;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    color: var(--te-blue);
    margin-top: 34px;
}

.te-tip-card p {
    font-style: italic;
    line-height: 1.55;
}

@media (max-width: 1200px) {
    .te-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .te-tip-card {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .te-layout {
        grid-template-columns: 1fr;
    }

    .te-company-rail {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 18px;
        align-items: start;
    }

    .te-company-card-slot {
        min-height: 260px;
    }

    .te-team-panel {
        grid-template-columns: 1fr;
    }

    .te-team-profile {
        min-height: 420px;
    }
}

@media (max-width: 700px) {
    .te-layout {
        padding: 10px;
    }

    .te-content {
        padding: 12px;
    }

    .te-company-rail {
        display: block;
    }

    .te-company-card-slot {
        min-height: 220px;
    }

    .te-members {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .te-carousel-track--two {
        grid-template-columns: 1fr;
    }

    .te-member-avatar {
        width: 40px;
        height: 40px;
    }

    .te-office-dot {
        width: 46px;
        height: 46px;
    }
}
