/* Coach Profile Page Styles */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.profile-header h1 {
    color: var(--color-0);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-content {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-content .rich-text-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.profile-content .rich-text-content h2,
.profile-content .rich-text-content h3,
.profile-content .rich-text-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-0);
}

.profile-content .rich-text-content p {
    margin-bottom: 1.25rem;
}

.profile-content .rich-text-content ul,
.profile-content .rich-text-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.profile-content .rich-text-content li {
    margin-bottom: 0.5rem;
}

.profile-footer {
    text-align: center;
    padding-top: 1rem;
}

.back-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: var(--color-0);
    text-decoration: none;
    border: 2px solid var(--color-0);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: var(--color-0);
    color: white;
    text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-container {
        padding: 1.5rem 1rem;
    }

    .profile-photo {
        width: 240px;
        height: 240px;
    }

    .profile-header h1 {
        font-size: 1.75rem;
    }

    .profile-content {
        padding: 1.5rem;
    }

    .profile-content .rich-text-content {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 1rem 0.75rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .profile-header h1 {
        font-size: 1.5rem;
    }

    .profile-content {
        padding: 1rem;
        border-radius: 12px;
    }

    .profile-content .rich-text-content {
        font-size: 0.95rem;
    }

    .back-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Coach's blog posts */
.coach-posts {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.coach-posts h2 {
    font-size: 1.25rem;
    color: var(--color-2);
    margin-bottom: 1rem;
}

.coach-posts ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.coach-posts li {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.coach-posts li a {
    color: var(--color-2);
    font-weight: 600;
}

.coach-posts li span {
    color: var(--color-5);
    font-size: 0.85rem;
}

.coach-posts-all {
    color: var(--color-1);
    font-weight: 600;
}

.course-back {
    display: inline-block;
    color: var(--color-5);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.course-back:hover {
    color: var(--color-1);
    text-decoration: none;
}
