/* ── DocAI Health Blog ── */

.blog-page {
    background: #fff;
    overflow-x: hidden;
}

.blog-listing__intro {
    margin-bottom: 2.5rem;
    max-width: 42rem;
}

.blog-listing__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3d6aa0;
    margin-bottom: 0.6rem;
}

.blog-listing__title {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: #1e4274;
    margin: 0 0 0.75rem;
}

.blog-listing__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4a5568;
    margin: 0;
}

.blog-article__header {
    margin-bottom: 1.75rem;
}

.blog-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.blog-article__title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1e4274;
    margin: 0 0 0.85rem;
}

.blog-article__lead {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #4a5568;
    margin: 0;
}

/* Listing */
.blog-listing {
    padding: 3.5rem 0 5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eef5;
    box-shadow: 0 4px 24px rgba(30, 66, 116, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 66, 116, 0.12);
}

.blog-card__image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.04);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #6b7c93;
    margin-bottom: 0.65rem;
}

.blog-card__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b0bec9;
}

.blog-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.blog-card__title a {
    color: #1e4274;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: #2a5a96;
}

.blog-card__excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5a6b7d;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e4274;
    text-decoration: none;
    margin-top: auto;
}

.blog-card__link:hover {
    color: #2a5a96;
}

.blog-card__link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.blog-card__link:hover i {
    transform: translateX(3px);
}

.blog-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.blog-empty {
    text-align: center;
    padding: 4rem 1rem;
}

/* Article */
.blog-article {
    padding: 2.5rem 0 5rem;
}

.blog-article__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .blog-article__layout {
        grid-template-columns: 1fr 280px;
    }
}

.blog-article__content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #3a4a5c;
}

.blog-article__figure {
    margin: 0 0 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-article__cover {
    width: 100%;
    height: auto;
    display: block;
}

.blog-article__content h2,
.blog-article__content h3 {
    color: #1e4274;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article__content h2 {
    font-size: 1.45rem;
}

.blog-article__content h3 {
    font-size: 1.2rem;
}

.blog-article__content p {
    margin-bottom: 1.15rem;
}

.blog-article__content ul,
.blog-article__content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.35rem;
}

.blog-article__content li {
    margin-bottom: 0.45rem;
}

.blog-article__content strong {
    color: #1e4274;
}

/* Fixed Symptom Checker invitation (all articles) */
.blog-symptom-cta {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-top: 2.75rem;
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f7f5 0%, #eef4fb 55%, #f5f9fc 100%);
    border: 1px solid rgba(30, 66, 116, 0.12);
}

.blog-symptom-cta__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d9488 0%, #1e4274 100%);
    color: #fff;
    font-size: 1.25rem;
}

.blog-symptom-cta__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e4274;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.blog-symptom-cta__text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 1.15rem;
}

.blog-symptom-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d9488 0%, #1e4274 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.blog-symptom-cta__btn:hover {
    color: #fff !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30, 66, 116, 0.35);
}

@media (max-width: 575.98px) {
    .blog-symptom-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 1.35rem 1.15rem;
    }

    .blog-symptom-cta__btn {
        justify-content: center;
        width: 100%;
    }
}

.blog-sidebar__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e4274;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8eef5;
}

.blog-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-sidebar__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    text-decoration: none;
    padding: 0.65rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.blog-sidebar__item:hover {
    background: #f4f8fc;
}

.blog-sidebar__thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.blog-sidebar__item-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1e4274;
}

.blog-sidebar-symptom {
    margin-top: 1.5rem;
    padding: 1.1rem 1rem;
    border-radius: 12px;
    background: linear-gradient(160deg, #e8f7f5 0%, #eef4fb 100%);
    border: 1px solid rgba(30, 66, 116, 0.1);
    text-align: center;
}

.blog-sidebar__list + .blog-sidebar-symptom {
    margin-top: 1.75rem;
}

.blog-sidebar-symptom__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e4274;
    line-height: 1.35;
    margin: 0 0 0.4rem;
}

.blog-sidebar-symptom__text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #5a6b7d;
    margin: 0 0 0.9rem;
}

.blog-sidebar-symptom__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d9488 0%, #1e4274 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(13, 148, 136, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.blog-sidebar-symptom__btn:hover {
    color: #fff !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Landing section */
.landing-blog {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.landing-blog__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.landing-blog__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2a5a96;
    margin-bottom: 0.65rem;
}

.landing-blog__title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #1e4274;
    margin-bottom: 0.75rem;
}

.landing-blog__subtitle {
    font-size: 1rem;
    color: #5a6b7d;
    line-height: 1.6;
    margin: 0;
}

.landing-blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.landing-blog__cta {
    text-align: center;
}

.landing-blog__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: #1e4274;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.landing-blog__btn:hover {
    background: #2a5a96;
    transform: translateY(-1px);
    color: #fff;
}
