/* ==========================================================================
   Therapists Team Page Stylesheet (Calm Palette Integration)
   ========================================================================== */

.almasian-therapists-page,
.almasian-therapists-page * {
    box-sizing: border-box;
}

.almasian-therapists-page {
    direction: rtl;
    color: var(--al-comment-text, #27312d);
    background: var(--al-comment-bg, #fcfcfa);
}

.almasian-therapists-page a {
    color: inherit;
    text-decoration: none;
}

.almasian-therapists-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.al-therapists-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.al-therapists-section {
    padding: 48px 0;
}

.al-therapists-section__header {
    margin-bottom: 24px;
}

.al-therapists-section__title,
.al-therapists-hero__title,
.al-therapists-cta__title,
.al-therapist-card__name,
.al-therapists-values__title {
    margin: 0;
    line-height: 1.35;
    letter-spacing: 0;
}

.al-therapists-section__desc,
.al-therapists-hero__subtitle,
.al-therapist-card__bio,
.al-therapists-values__desc,
.al-therapists-cta__text,
.al-therapists-faq__answer p {
    margin: 0;
    line-height: 1.9;
}

/* ---------------- Hero Section ---------------- */
.al-therapists-hero {
    padding: 24px 0 40px;
}

.al-therapists-hero__inner {
    display: grid;
    gap: 24px;
    align-items: center;
}

.al-therapists-hero__content {
    min-width: 0;
}

.al-therapists-hero__content p:last-child {
	font-size: 15px !important;
	margin-top: 0px !important;
}

.al-therapists-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.79rem;
    color: var(--al-comment-accent, #2f9b8e);
    font-weight: 700;
}

.al-therapists-hero__title {
    font-size: 1rem;
	text-align: right !important;
    color: var(--al-comment-text, #27312d);
}

.al-therapists-hero__subtitle {
    margin-top: 14px;
    max-width: 42rem;
    color: var(--al-comment-text-soft, #4f5d57);
}

.al-therapists-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
}

.al-therapists-hero__button,
.al-therapists-cta__button,
.al-therapist-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--al-comment-radius-sm, 14px);
    font-weight: 700;
	font-size: 13px;
    background: var(--al-comment-accent, #2f9b8e);
    color: #ffffff !important;
    transition: transform var(--al-comment-transition-fast, 180ms ease),
                box-shadow var(--al-comment-transition-fast, 180ms ease),
                background-color var(--al-comment-transition-fast, 180ms ease);
    box-shadow: var(--al-comment-shadow-sm, 0 8px 22px rgba(28, 49, 44, 0.05));
}

.al-therapists-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--al-comment-radius-sm, 14px);
    background: var(--al-comment-surface, #ffffff);
    border: var(--al-comment-line, 1px solid var(--al-comment-border));
    color: var(--al-comment-text-soft, #4f5d57);
    font-size: 13px;
    box-shadow: var(--al-comment-shadow-xs, 0 4px 14px rgba(28, 49, 44, 0.03));
}

.al-therapists-hero__media {
    min-height: 140px;
}

.al-therapists-hero__media img,
.al-therapists-hero__fallback {
    width: 100%;
    aspect-ratio: 6 / 3;
    border-radius: var(--al-comment-radius-md, 18px);
    object-fit: cover;
    background: var(--al-comment-surface, #fff);
    border: var(--al-comment-line, 1px solid var(--al-comment-border));
    box-shadow: var(--al-comment-shadow-sm, 0 8px 22px rgba(28, 49, 44, 0.05));
}

.al-therapists-hero__fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--al-comment-accent-soft, #dff3ef), var(--al-comment-surface-soft, #fbfcfa));
}

.al-therapists-hero__fallback-mark {
    width: 88px;
    height: 88px;
    border-radius: var(--al-comment-radius-sm, 14px);
    border: 2px solid rgba(47, 155, 142, 0.22);
}

/* ---------------- Therapists Grid & Cards ---------------- */
.al-therapists-grid {
    display: grid;
    gap: 20px;
}

.al-therapist-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--al-comment-surface, #ffffff);
    border: var(--al-comment-line, 1px solid var(--al-comment-border));
    border-radius: var(--al-comment-radius-md, 18px);
    box-shadow: var(--al-comment-shadow-xs, 0 4px 14px rgba(28, 49, 44, 0.03));
    transition: transform var(--al-comment-transition-fast, 180ms ease),
                box-shadow var(--al-comment-transition-fast, 180ms ease),
                border-color var(--al-comment-transition-fast, 180ms ease);
}

.al-therapist-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--al-comment-bg-soft, #f7f8f4);
    overflow: hidden;
}

.al-therapist-card__media img,
.al-therapist-card__fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.al-therapist-card__fallback {
    display: grid;
    place-items: center;
    color: var(--al-comment-text-muted, #85948d);
    background: linear-gradient(135deg, var(--al-comment-accent-soft, #dff3ef), var(--al-comment-warm-soft, #f3ece1));
}

.al-therapist-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.al-therapist-card__meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.al-therapist-card__name {
    font-size: 1rem;
    color: var(--al-comment-text, #27312d);
}

.al-therapist-card__code {
    font-size: 0.8rem;
    color: var(--al-comment-text-muted, #85948d);
    background: var(--al-comment-bg-soft, #f7f8f4);
    padding: 2px 8px;
    border-radius: var(--al-comment-radius-xs, 10px);
}

.al-therapist-card__role {
    font-size: 0.82rem;
    color: var(--al-comment-accent-dark, #1e6a61);
    font-weight: 600;
    margin: 0 0 10px;
}

.al-therapist-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background: var(--al-comment-accent-soft, #dff3ef);
    color: var(--al-comment-accent-strong, #228277);
    border-radius: var(--al-comment-radius-pill, 999px);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.al-therapist-card__bio {
    font-size: 0.85rem;
    color: var(--al-comment-text-soft, #4f5d57);
    line-height: 1.8;
    margin-bottom: 18px;
    flex-grow: 1;
}

.al-therapist-card__action {
    margin-top: auto;
}

.al-therapist-card__btn {
    width: 100%;
    min-height: 40px;
    font-size: 0.83rem;
    background: var(--al-comment-bg-soft, #f7f8f4);
    color: var(--al-comment-accent-dark, #1e6a61) !important;
    border: 1px solid var(--al-comment-border, #e4e9e1);
    box-shadow: none;
}

.al-therapist-card__btn:hover {
    background: var(--al-comment-accent, #2f9b8e);
    color: #ffffff;
    border-color: var(--al-comment-accent, #2f9b8e);
}

/* ---------------- Values & Principles ---------------- */
.al-therapists-section--values {
    background: var(--al-comment-bg-soft, #f7f8f4);
}

.al-therapists-values {
    display: grid;
    gap: 16px;
}

.al-therapists-values__item {
    padding: 22px;
    background: var(--al-comment-surface, #ffffff);
    border: var(--al-comment-line, 1px solid var(--al-comment-border));
    border-radius: var(--al-comment-radius-md, 18px);
    box-shadow: var(--al-comment-shadow-xs, 0 4px 14px rgba(28, 49, 44, 0.03));
}

.al-therapists-values__num {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--al-comment-accent, #2f9b8e);
    margin-bottom: 8px;
}

.al-therapists-values__title {
    font-size: 1.05rem;
    color: var(--al-comment-text, #27312d);
}

.al-therapists-values__desc {
    margin-top: 8px;
    color: var(--al-comment-text-soft, #4f5d57);
}

/* ---------------- FAQ Accordion ---------------- */
.al-therapists-faq {
    display: grid;
    gap: 12px;
}

.al-therapists-faq__item {
    background: var(--al-comment-surface, #ffffff);
    border: var(--al-comment-line, 1px solid var(--al-comment-border));
    border-radius: var(--al-comment-radius-md, 18px);
    overflow: hidden;
    box-shadow: var(--al-comment-shadow-xs, 0 4px 14px rgba(28, 49, 44, 0.03));
}

.al-therapists-faq__summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    color: var(--al-comment-text, #27312d);
    font-weight: 700;
}

.al-therapists-faq__summary::-webkit-details-marker {
    display: none;
}

.al-therapists-faq__summary::after {
    content: "+";
    flex: none;
    font-size: 1.3rem;
    color: var(--al-comment-accent, #2f9b8e);
}

.al-therapists-faq__item[open] .al-therapists-faq__summary::after {
    content: "–";
}

.al-therapists-faq__answer {
    padding: 0 20px 18px;
    color: var(--al-comment-text-soft, #4f5d57);
}

/* ---------------- CTA Section ---------------- */
.al-therapists-cta {
    padding: 20px 0 56px;
}

.al-therapists-cta__inner {
    display: grid;
    gap: 18px;
    align-items: center;
    padding: 24px;
    background: var(--al-comment-surface, #ffffff);
    border: var(--al-comment-line, 1px solid var(--al-comment-border));
    border-radius: var(--al-comment-radius-lg, 22px);
    box-shadow: var(--al-comment-shadow-sm, 0 8px 22px rgba(28, 49, 44, 0.05));
}

.al-therapists-cta__title {
    font-size: 1.3rem;
    color: var(--al-comment-text, #27312d);
}

.al-therapists-cta__text {
    margin-top: 10px;
    color: var(--al-comment-text-soft, #4f5d57);
}

.al-therapists-cta__button {
    min-width: 180px;
}

.almasian-therapists-page :focus-visible {
    outline: 3px solid var(--al-comment-accent, #2f9b8e);
    outline-offset: 2px;
}

/* ---------------- Hover & Motion ---------------- */
@media (hover: hover) and (pointer: fine) {
    .al-therapists-hero__button:hover,
    .al-therapists-cta__button:hover {
        transform: translateY(-1px);
        background-color: var(--al-comment-accent-strong, #228277);
        box-shadow: var(--al-comment-shadow-md, 0 16px 40px rgba(28, 49, 44, 0.07));
    }

    .al-therapist-card:hover {
        transform: translateY(-3px);
        border-color: var(--al-comment-border-strong, #cfd9cb);
        box-shadow: var(--al-comment-shadow-md, 0 16px 40px rgba(28, 49, 44, 0.07));
    }
}

@media (prefers-reduced-motion: reduce) {
    .al-therapists-hero__button,
    .al-therapists-cta__button,
    .al-therapist-card,
    .al-therapist-card__btn {
        transition: none;
    }
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 768px) {
    .al-therapists-grid-section {
		padding: 0 0 0;
	}

	.al-therapists-faq-section {
		padding: 33px 0 30px;
	}

	.al-therapists-hero__title,
	.al-therapists-section__title,
	.al-therapists-cta__title {
		font-size: 1.1rem !important;
	}

	.al-therapists-section__desc {
		font-size: 0.95rem !important;
		margin-top: 8px !important
	}

	.al-therapists-values__title {
		font-size: 0.97rem !important;
	}
	.al-therapists-values__desc {
		font-size: 0.92rem !important;
	}

	.al-therapists-faq__summary {
		font-size: 14px;
	}
	.al-therapists-faq__answer {
		font-size: 13px;
	}
}	

@media (min-width: 768px) {
    .al-therapists-section {
        padding: 64px 0;
    }

    .al-therapists-hero {
        padding-top: 60px !important;
    }

	.al-therapists-hero__eyebrow {
		font-size: 0.80rem;
	}

	.al-therapists-cta__title,
	.al-therapists-section__title,
    .al-therapists-hero__title {
        font-size: 1.1rem !important;
		text-align: right !important;
    }

	.al-therapists-cta__text {
		font-size: 0.9rem;
	}

	.al-therapists-hero__content p:last-child {
		font-size: 0.95rem;
		padding-left: 90px !important;
	}

	.al-therapists-section__desc {
		margin-top: 8px;
		/*padding-left: 220px;*/
	}

	.al-therapists-hero__button,
	.al-therapists-cta__button {
		font-size: 0.90rem;
		color: white !important;
	}

	.al-therapists-hero__badge {
		font-size: 0.90rem;
	}
	
	.al-therapist-card__name {
		font-size: 16px;
	}
	.al-therapist-card__role {
		font-size: 15px;
	}
	.al-therapist-card__bio {
		font-size: 15px;
	}
	.al-therapist-card__btn {
		font-size: 14px;
	}

	.al-therapists-values__desc {
		font-size: 15px;
	}

	.al-therapists-faq__summary {
		font-size: 1rem;
		font-weight: 500;
	}
	.al-therapists-faq__answer {
		font-size: 0.9rem;
	}

    .al-therapists-hero__inner {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 28px;
    }

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

    .al-therapists-values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .al-therapists-cta__inner {
        grid-template-columns: 1fr auto;
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .al-therapists-section {
        padding: 20px 0;
    }
	.al-therapists-grid-section {
		padding: 0 0 60px;
	}
	.al-therapists-section--values {
		padding: 60px 0 60px;
	}
	.al-therapists-faq-section {
		padding: 40px 0 60px;
	}
	.al-therapists-cta {
		padding: 0 0 40px;
	}

    .al-therapists-hero__title {
        font-size: 1rem;
		text-align: right !important;
    }

    .al-therapists-hero__subtitle {
        font-size: 1.05rem;
    }

    .al-therapists-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .al-therapists-cta__inner {
        padding: 32px;
    }
}
