/**
 * Post listings (News & Updates and other category pages, blog, search):
 * template-parts/content.php. The parent theme puts the 300px image right
 * against the text and sets 40px titles at 0.9 line height.
 *
 * @author Fudo
 * @date   2026-12-01
 */
.blog .blog-post .entry-header,
.archive .blog-post .entry-header,
.search .blog-post .entry-header {
    gap: 40px;
    align-items: flex-start;
}

/* Breadcrumb, page title and posts share one left edge. The breadcrumb
   <nav> and each post header sit in Bootstrap rows and got the 12px column
   gutter (style.css removed it for the Blog Posts category only). */
.custom-blog-page .site-content .row > nav,
.blog .blog-post .entry-header,
.archive .blog-post .entry-header,
.search .blog-post .entry-header {
    padding-left: 0;
    padding-right: 0;
}

/* Post titles: Figma H4 (Atkinson Hyperlegible Bold 30/40) */
.blog .blog-post .entry-title,
.archive .blog-post .entry-title,
.search .blog-post .entry-title,
.blog .blog-post .entry-title a,
.archive .blog-post .entry-title a,
.search .blog-post .entry-title a {
    font-size: 30px;
    line-height: 40px;
}

/* Single posts: Elementor pads each column by the column gap (10px by
   default), so post text started right of the title and date. Drop that
   padding on the outer edges of each row (left of the first column, right
   of the last); the gap between columns stays. Phones: columns stack, so
   both sides of every column. */
.single-post .blog-post .elementor-top-section > .elementor-container > .elementor-column:first-child > .elementor-element-populated {
    padding-left: 0;
}

.single-post .blog-post .elementor-top-section > .elementor-container > .elementor-column:last-child > .elementor-element-populated {
    padding-right: 0;
}

@media (max-width: 767px) {
    .single-post .blog-post .elementor-top-section > .elementor-container > .elementor-column > .elementor-element-populated {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .blog .blog-post .entry-header,
    .archive .blog-post .entry-header,
    .search .blog-post .entry-header {
        flex-direction: column;
        gap: 20px;
    }
}
