/*
 * Single Hepatologist Styles
 * Fluent Design system for Hepatologist Profile
 */

.nxh-single-wrap {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
}

/* Header Info Section */
.nxh-single-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.nxh-sh-img {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.nxh-sh-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nxh-sh-no-img {
    color: #a0aec0;
    font-size: 1rem;
}

.nxh-sh-info {
    flex-grow: 1;
}

.nxh-sh-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nxh-verified {
    flex-shrink: 0;
}

.nxh-sh-designation {
    font-size: 1.15rem;
    color: #4a5568;
    margin: 0 0 20px;
    font-weight: 500;
}

.nxh-sh-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.nxh-sh-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 0.95rem;
}

.nxh-sh-meta-item svg {
    width: 18px;
    height: 18px;
    color: #718096;
}

/* Navigation Pills */
.nxh-sh-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nxh-nav-link {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nxh-nav-link:hover,
.nxh-nav-link.active {
    background: #0066ff;
    color: #ffffff;
    border-color: #0066ff;
}

/* Main Body Layout */
.nxh-single-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f0f3f6;
}

.nxh-section {
    margin-bottom: 50px;
}

.nxh-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.nxh-content {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
}

.nxh-content p {
    margin-bottom: 16px;
}

/* Lists */
.nxh-list-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f3f6;
}

.nxh-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nxh-li-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a1a1a;
}

.nxh-li-subtitle {
    font-size: 1rem;
    color: #0066ff;
    margin: 0 0 8px;
}

.nxh-li-meta {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

/* Sidebar Widget */
.nxh-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
}

.nxh-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #1a1a1a;
}

.nxh-practice-card {
    margin-bottom: 30px;
}

.nxh-practice-card:last-child {
    margin-bottom: 0;
}

.nxh-pc-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.nxh-pc-header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.nxh-pc-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: #2d3748;
}

.nxh-pc-body {
    margin-left: 32px;
}

.nxh-pc-meta {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0 0 6px;
    line-height: 1.5;
}

.nxh-pc-meta strong {
    color: #2d3748;
}

/* Responsive */
@media (max-width: 900px) {
    .nxh-single-body {
        grid-template-columns: 1fr;
    }

    .nxh-single-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nxh-sh-name {
        justify-content: center;
    }

    .nxh-sh-meta {
        align-items: center;
    }

    .nxh-sh-nav {
        justify-content: center;
    }
}