/**
 * Symptom & condition detail article pages
 */
.med-post {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
    color: #1e293b;
    padding: 12px 0 40px;
    line-height: 1.7;
}

.med-post h1,
.med-post h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.med-post__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.med-post-breadcrumb {
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 20px 0;
}

.med-post__header {
    margin-bottom: 20px;
}

.med-post__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 14px;
}

.med-post__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
}

.med-post__spec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.med-post__body {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.med-post__body h2 {
    font-size: 1.05rem;
    color: #0f172a;
    margin: 22px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.med-post__body h2:first-child {
    margin-top: 0;
}

.med-post__body p {
    margin: 0 0 12px;
    color: #334155;
    font-size: 15px;
}

.med-post__when {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 14px 16px;
    border-radius: 8px;
    margin: 12px 0 4px;
}

.med-post__when p {
    margin: 0;
    color: #92400e;
}

.med-post-care {
    margin-top: 20px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border-radius: 12px;
    border: 1px solid #ccfbf1;
}

.med-post-care h2 {
    font-size: 1rem;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 0;
}

.med-post-care h2 i {
    color: #0d9488;
}

.med-post-care__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.med-post-care__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    min-height: 44px;
    background: #fff;
    color: #0f766e;
    border: 1px solid #99f6e4;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.med-post-care__links a:hover {
    background: #0d9488;
    color: #fff;
}

.med-post__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #0f766e;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.med-post__back:hover {
    text-decoration: underline;
}

.med-post .health-tool-bottom {
    max-width: 760px;
    margin-top: 24px;
    padding: 0;
}

@media (max-width: 640px) {
    .med-post__body {
        padding: 18px 16px;
    }

    .med-post-care__links {
        flex-direction: column;
    }

    .med-post-care__links a {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .med-post-care__links a {
        transition: none;
    }
}
