/* ===================================================================
   Certified Therapists section — about.php only
   Scoped to .therapist-section / .therapist-card so it never touches
   the shared .r-n-img-container / .GalleryImgCall / .GalleryImgWhat
   classes used across gallery.php and other pages.
   =================================================================== */

.therapist-section {
    padding-top: 10px;
}

.therapist-section__intro {
    max-width: 720px;
    margin: 0 auto;
}

.therapist-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 28px;
    margin-top: 10px;
}

@media (min-width: 576px) {
    .therapist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .therapist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.therapist-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 14px rgba(20, 24, 40, 0.08);
    border: 1px solid rgba(20, 24, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.therapist-card:hover,
.therapist-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(20, 24, 40, 0.16);
}

.therapist-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.therapist-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.therapist-card:hover .therapist-card__media img {
    transform: scale(1.06);
}

.therapist-card__status {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    border-radius: 20px;
}

.therapist-card__status i {
    color: #2ecc71;
    font-size: 8px;
    animation: therapistPulse 1.6s ease-in-out infinite;
}

@keyframes therapistPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.therapist-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 14px 12px;
    background: linear-gradient(to top, rgba(10, 12, 24, 0.88) 0%, rgba(10, 12, 24, 0.55) 55%, rgba(10, 12, 24, 0) 100%);
    color: #fff;
}

.therapist-card__name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.therapist-card__role {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #e7c98c;
    font-weight: 600;
}

.therapist-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.therapist-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 14px;
}

.therapist-card__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
}

.therapist-card__tags li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #283d68;
    background: #eef1f8;
    border-radius: 20px;
    padding: 5px 11px;
}

.therapist-card__tags li i {
    font-size: 11px;
    color: #8a6a1f;
}

.therapist-card__tags li.is-certified {
    color: #1f7a3f;
    background: #e7f6ec;
}

.therapist-card__tags li.is-certified i {
    color: #1f7a3f;
}

.therapist-card__tags li a {
    color: inherit;
}

.therapist-card__actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.therapist-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 10px;
    border-radius: 22px;
    color: #fff !important;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.therapist-btn:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
    text-decoration: none;
}

.therapist-btn--call {
    background: #0077b6;
}

.therapist-btn--chat {
    background: #1a7a4c;
}

.therapist-showcase-cta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.therapist-showcase-cta .button1 {
    max-width: 320px;
}

.therapist-lead-note {
    font-weight: 700;
    color: #283d68;
}
