/* Therapist public profile — 65/35 layout with inline booking */

.tp-page {
    width: min(1320px, 92vw);
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.tp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    color: rgba(58, 58, 58, 0.72);
}

.tp-breadcrumb a {
    color: var(--md-purple);
    text-decoration: none;
}

.tp-breadcrumb a:hover {
    text-decoration: underline;
}

.tp-layout {
    display: grid;
    grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
    gap: 1.75rem;
    align-items: start;
}

.tp-layout__main {
    min-width: 0;
}

.tp-layout__booking {
    min-width: 0;
    position: sticky;
    top: 1.25rem;
}

.tp-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.35rem 1.5rem;
    align-items: start;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--md-white);
    border-radius: var(--md-radius);
    box-shadow: var(--md-shadow);
}

.tp-hero__media {
    grid-row: 1 / -1;
}

.tp-hero__media img,
.tp-hero__placeholder {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.tp-hero__placeholder {
    display: grid;
    place-items: center;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--md-purple);
    background: linear-gradient(145deg, rgba(202, 196, 210, 0.45), rgba(248, 245, 242, 0.9));
}

.tp-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    min-width: 0;
}

.tp-hero__title-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    min-width: 0;
}

.tp-hero__name {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    color: var(--md-purple);
    line-height: 1.2;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-hero__designation {
    margin: 0;
    color: rgba(58, 58, 58, 0.78);
    font-size: 0.98rem;
}

.tp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.15rem;
}

.tp-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(97, 70, 125, 0.1);
    color: var(--md-purple);
}

.tp-badge--price {
    background: rgba(132, 161, 141, 0.18);
    color: #4a6b52;
}

.tp-hero__experience {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(132, 161, 141, 0.22) 0%, rgba(132, 161, 141, 0.12) 100%);
    border: 1px solid rgba(111, 146, 120, 0.28);
    color: #2f5538;
    line-height: 1.2;
    width: fit-content;
    max-width: 100%;
    flex: 0 0 auto;
}

.tp-hero__experience-value {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #2a4d32;
}

.tp-hero__experience-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #3f6a4a;
}

.tp-hero__meta,
.tp-hero__languages {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(58, 58, 58, 0.72);
    line-height: 1.45;
}

.tp-hero__languages {
    color: rgba(58, 58, 58, 0.82);
}

.tp-hero__focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.tp-focus-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.tp-hero__audio {
    min-width: 0;
    margin-top: 0.35rem;
}

.tp-hero__audio .ft-audio-player--profile {
    width: 100%;
    max-width: 22rem;
}

.tp-section {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--md-white);
    border-radius: var(--md-radius);
    box-shadow: var(--md-shadow);
}

.tp-section__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    color: var(--md-purple);
    font-weight: 600;
}

.tp-prose {
    line-height: 1.7;
    color: rgba(58, 58, 58, 0.9);
}

.tp-prose--clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.tp-read-more.is-expanded .tp-prose--clamp {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.tp-read-more__btn {
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--md-purple);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.tp-read-more__btn:hover {
    color: var(--lav800);
}

.tp-read-more__btn[hidden] {
    display: none;
}

.tp-pricing-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-pricing-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(202, 196, 210, 0.35);
}

.tp-pricing-list li:last-child {
    border-bottom: none;
}

.tp-pricing-list__name {
    font-weight: 500;
}

.tp-pricing-list__price {
    color: rgba(58, 58, 58, 0.75);
    font-size: 0.92rem;
    white-space: nowrap;
}

.tp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tp-tag {
    display: inline-block;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(97, 70, 125, 0.1);
    color: var(--md-purple);
}

.tp-tag--soft {
    background: rgba(132, 161, 141, 0.15);
    color: #4a6b52;
}

.tp-clinic-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-clinic-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(202, 196, 210, 0.35);
}

.tp-clinic-list li:last-child {
    border-bottom: none;
}

.tp-clinic-list span {
    display: block;
    font-size: 0.9rem;
    color: rgba(58, 58, 58, 0.72);
}

.tp-note {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: rgba(58, 58, 58, 0.68);
}

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

    .tp-layout__booking {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .tp-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tp-hero__media {
        grid-row: auto;
        justify-self: center;
    }

    .tp-hero__media img,
    .tp-hero__placeholder {
        width: 148px;
        height: 148px;
    }

    .tp-hero__content {
        grid-template-columns: 1fr;
    }

    .tp-hero__title-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tp-hero__name {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        flex: 1 1 100%;
    }
}

@media (max-width: 640px) {
    .tp-page {
        padding-top: 1rem;
    }

    .tp-section,
    .tp-hero {
        padding: 1rem 1.1rem;
    }
}
