/* profile.css — Shared styles for therapist profile pages */

body { color: var(--color-mist); background: var(--color-deep-forest); line-height: 1.7; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--color-warm-glow); margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; color: var(--color-sunbeam); margin-bottom: 0.5rem; }
p { color: var(--color-mist); margin-bottom: 1rem; }
a { color: var(--color-sage); }

.back-link { font-size: 0.9rem; color: var(--color-sage); display: flex; align-items: center; gap: 0.5rem; }
.back-link:hover { color: var(--color-golden-hour); }

/* Hero */
.hero { padding: 120px 0 60px; background: linear-gradient(180deg, var(--color-deep-forest) 0%, var(--color-forest) 70%, var(--color-moss) 100%); }
.hero-grid { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: center; }
.photo-frame { width: 280px; height: 350px; background: linear-gradient(145deg, var(--color-moss), var(--color-sage)); border-radius: 140px 140px 20px 20px; display: flex; align-items: center; justify-content: center; color: var(--color-mist); font-family: var(--font-display); font-style: italic; box-shadow: 0 20px 50px rgba(0,0,0,0.3); overflow: hidden; position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-text h1 { color: var(--color-warm-glow); margin-bottom: 0.5rem; }
.credentials { color: var(--color-golden-hour); font-size: 1.05rem; margin-bottom: 1.25rem; }
.hero-bio { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.tag { padding: 0.4rem 0.9rem; background: rgba(212,165,116,0.2); border: 1px solid rgba(212,165,116,0.4); border-radius: 2rem; font-size: 0.8rem; color: var(--color-sunbeam); }

/* Content Layout */
.content { background: var(--color-forest); padding: 4rem 0; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
.section-block { margin-bottom: 2.5rem; }
.section-block h2::before { content: ''; display: block; width: 40px; height: 3px; background: var(--color-golden-hour); margin-bottom: 0.75rem; }

/* Specialties */
.specialties-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1rem; }
.spec-card { background: rgba(74, 103, 65, 0.4); padding: 1rem; border-radius: 0.75rem; border-left: 3px solid var(--color-sage); }
.spec-card.featured { border-left-color: var(--color-golden-hour); }
.spec-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--color-sunbeam); margin-bottom: 0.2rem; }
.spec-card p { font-size: 0.8rem; margin-bottom: 0; }

/* Approach Tags */
.approach-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.approach-tag { padding: 0.4rem 0.8rem; background: rgba(122, 158, 122, 0.3); border-radius: 2rem; font-size: 0.8rem; border: 1px solid rgba(122, 158, 122, 0.5); }

/* Sidebar */
.sidebar { position: sticky; top: 90px; }
.card { background: var(--color-deep-forest); padding: 1.5rem; border-radius: 1rem; margin-bottom: 1.25rem; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.card h3 { font-size: 1rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(122, 158, 122, 0.3); }
.contact-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
.contact-row a { color: var(--color-mist); }
.contact-row a:hover { color: var(--color-golden-hour); }
.fee-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid rgba(122, 158, 122, 0.2); font-size: 0.9rem; }
.fee-row:last-child { border-bottom: none; }
.fee-row span:last-child { font-weight: 500; color: var(--color-golden-hour); }
.ins-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ins-tag { padding: 0.2rem 0.5rem; background: rgba(122, 158, 122, 0.3); border-radius: 1rem; font-size: 0.7rem; }

/* Blog/Vlog Section */
.blog { background: var(--color-moss); padding: 4rem 0; }
.blog h2 { text-align: center; margin-bottom: 0.5rem; }
.blog h2::before { content: ''; display: block; width: 50px; height: 3px; background: var(--color-golden-hour); margin: 0 auto 1rem; }
.blog > .container > p.blog-intro { text-align: center; max-width: 600px; margin: 0 auto 2.5rem; }
.posts { max-width: 800px; margin: 0 auto; }
.post { background: var(--color-deep-forest); border-radius: 1rem; padding: 2rem; margin-bottom: 2rem; scroll-margin-top: 100px; }
.post:target { box-shadow: 0 0 0 3px var(--color-golden-hour); }
.post-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.post-date { font-size: 0.8rem; color: var(--color-sage); }
.post-link { font-size: 0.75rem; color: var(--color-sage); opacity: 0.7; }
.post-link:hover { color: var(--color-golden-hour); opacity: 1; }
.post h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.post p:last-child { margin-bottom: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.post-tag { padding: 0.25rem 0.6rem; background: rgba(122,158,122,0.3); border-radius: 1rem; font-size: 0.7rem; color: var(--color-sage); }

/* Video embeds */
.video-container { position: relative; width: 100%; padding-bottom: 56.25%; margin: 1rem 0; border-radius: 0.5rem; overflow: hidden; background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.tiktok-container { display: flex; justify-content: center; margin: 1rem 0; }
.tiktok-container blockquote { margin: 0 !important; }

/* Post images */
.post-image { margin: 1rem 0; }
.post-image img { max-width: 100%; border-radius: 0.5rem; height: auto; }

/* Post audio player */
.post-audio { margin: 1rem 0; }
.post-audio audio { width: 100%; border-radius: 0.5rem; }

/* Post body (rich text from Quill) */
.post-body { margin-bottom: 0.5rem; }
.post-body p { margin-bottom: 0.75rem; }
.post-body p:last-child { margin-bottom: 0; }
.post-body blockquote { border-left: 3px solid var(--color-golden-hour); padding-left: 1rem; margin: 1rem 0; color: var(--color-sage); font-style: italic; }
.post-body ul, .post-body ol { margin: 0.75rem 0 0.75rem 1.5rem; }
.post-body a { color: var(--color-golden-hour); text-decoration: underline; }

/* Journey */
.journey { background: linear-gradient(180deg, var(--color-forest), var(--color-deep-forest)); padding: 4rem 0; }
.journey h2 { text-align: center; margin-bottom: 0.5rem; }
.journey h2::before { display: none; }
.journey > .container > p { text-align: center; max-width: 550px; margin: 0 auto 2.5rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { text-align: center; }
.step-num { width: 45px; height: 45px; background: var(--color-golden-hour); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--color-deep-forest); }
.step h4 { color: var(--color-sunbeam); font-size: 1rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.85rem; margin-bottom: 0; }

/* Footer */
footer { background: var(--color-deep-forest); color: var(--color-sage); padding: 2.5rem 0; text-align: center; }
footer p { font-size: 0.85rem; margin-bottom: 0.3rem; }
.crisis { display: inline-block; margin-top: 0.75rem; padding: 0.4rem 0.8rem; background: rgba(212,165,116,0.15); border-radius: 2rem; font-size: 0.8rem; color: var(--color-sunbeam); }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .photo-frame { margin: 0 auto; width: 220px; height: 280px; }
    .tags { justify-content: center; }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .specialties-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .post { padding: 1.5rem; }
}
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
