/* Stage 181: Blog listing uses the homepage typography and spacing system directly.
   This file contains only Blog-specific structural/layout rules. */

.blog-page {
    padding: 0 !important;
}

/* The Blog hero uses the homepage .hero class directly.  Do not attach the
   legacy .blog-hero class: blog-modern.css gives that class its own padding.
   Only the text column is wider because the Blog headline is substantially
   longer than the homepage headline; typography and hero spacing remain
   inherited from home-modern.css. */
.blog-page .hero .hero-copy {
    max-width: 1080px;
}

/* .section supplies the same 18px vertical rhythm as the homepage. */
.blog-page .blog-category-section .blog-categories {
    margin: 0;
    padding: 0;
}

.blog-page .blog-grid {
    gap: 22px;
}

/* Keep Blog-card structure (image above copy) while typography comes from
   homepage classes assigned in application/blog/index.php. */
.blog-page .blog-card {
    padding: 0 !important;
    overflow: hidden;
}

.blog-page .blog-card-body {
    padding: 26px;
}

.blog-page .blog-card .patient-shortcut-title {
    margin-top: 13px !important;
    margin-bottom: 10px !important;
    height: 2.4em;
    min-height: 2.4em;
    max-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page .blog-card .patient-shortcut-title a {
    color: inherit;
    text-decoration: none;
}

.blog-page .blog-card .patient-shortcut-copy {
    margin-bottom: 18px;
    min-height: 5.1em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page .blog-card .blog-read {
    margin-top: auto;
}

.blog-page .blog-empty {
    text-align: center;
}

.blog-page .blog-empty .section-copy {
    margin-left: auto;
    margin-right: auto;
}
