/* Article detail page */
.article-detail-breadcrumb {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #e8eef5;
    font-size: 13px;
}

.article-detail-breadcrumb a {
    color: #0a6b5a;
    text-decoration: none;
}

.article-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.article-detail-breadcrumb span {
    color: #94a3b8;
    margin: 0 6px;
}

.article-detail-breadcrumb strong {
    color: #334155;
    font-weight: 600;
}

.article-hospital-bar {
    background: #fff;
    border-bottom: 1px solid #e8eef5;
    padding: 14px 0;
    box-shadow: 0 2px 8px rgba(10, 61, 107, .04);
}

.article-hospital-bar strong {
    color: #0a3d6b;
    font-size: 15px;
}

.article-detail-body {
    padding: 36px 0 60px;
    background: #f7fafd;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.article-detail-main {
    background: #fff;
    border: 1px solid #e3eef5;
    border-radius: 16px;
    padding: 32px 34px 40px;
    box-shadow: 0 8px 24px rgba(10, 61, 107, .05);
}

.article-detail-title {
    color: #0a3d6b;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 22px;
}

.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf2f7;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.article-author-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2efec;
    padding: 4px;
    flex-shrink: 0;
}

.article-author-logo-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef8f6;
    color: #0a8f7a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.article-author-meta strong {
    display: block;
    color: #123a57;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.article-author-meta span {
    color: #64748b;
    font-size: 13px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.article-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dbe7f1;
    background: #fff;
    color: #0a6b5a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.article-share-btn:hover {
    background: #0a6b5a;
    border-color: #0a6b5a;
    color: #fff;
    text-decoration: none;
}

.article-featured-image {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 22px;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

.article-tags {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.article-tags-label {
    margin-right: 8px;
}

.article-tag-pill {
    display: inline-block;
    background: #0a6b5a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
}

.article-content {
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #0a3d6b;
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}

.article-content ul,
.article-content ol {
    margin: 0 0 16px 20px;
}

.article-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-sidebar-card {
    background: #fff;
    border: 1px solid #e3eef5;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 8px 24px rgba(10, 61, 107, .05);
}

.article-sidebar-card h3 {
    color: #0a3d6b;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
}

.article-doctor-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.article-doctor-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-doctor-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef8f6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a8f7a;
}

.article-doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-doctor-info {
    min-width: 0;
    flex: 1;
}

.article-doctor-info h4 {
    margin: 0 0 8px;
    color: #123a57;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.article-doctor-schedule {
    color: #0a6b5a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.article-doctor-schedule:hover {
    text-decoration: underline;
    color: #083d34;
}

.article-related-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
    text-decoration: none;
    color: inherit;
    transition: transform .2s;
}

.article-related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-related-item:hover {
    text-decoration: none;
    color: inherit;
    transform: translateX(2px);
}

.article-related-thumb {
    width: 92px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #083358, #1565c0);
}

.article-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-related-body {
    min-width: 0;
}

.article-related-category {
    display: block;
    color: #0a8f7a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.article-related-title {
    margin: 0;
    color: #123a57;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .article-detail-title {
        font-size: 24px;
    }

    .article-author-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .article-detail-main,
    .article-sidebar-card {
        padding: 22px 18px;
    }
}
