/* Daily Today post listings: compact cards on desktop, one column on mobile. */
body.home .site-main > article .entry-content,
body.blog .site-main > article .entry-content,
body.archive .site-main > article .entry-content,
body.search .site-main > article .entry-content,
body.home .site-main > article .entry-summary,
body.blog .site-main > article .entry-summary,
body.archive .site-main > article .entry-summary,
body.search .site-main > article .entry-summary {
  display: none;
}

/* Keep archive thumbnails consistent even when the source files use different ratios. */
body.home .site-main > article .post-image,
body.blog .site-main > article .post-image,
body.archive .site-main > article .post-image,
body.search .site-main > article .post-image,
body.home .site-main > article .featured-image,
body.blog .site-main > article .featured-image,
body.archive .site-main > article .featured-image,
body.search .site-main > article .featured-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.home .site-main > article .post-image > a,
body.blog .site-main > article .post-image > a,
body.archive .site-main > article .post-image > a,
body.search .site-main > article .post-image > a,
body.home .site-main > article .featured-image > a,
body.blog .site-main > article .featured-image > a,
body.archive .site-main > article .featured-image > a,
body.search .site-main > article .featured-image > a {
  display: block;
  height: 100%;
}

body.home .site-main > article .post-image img,
body.blog .site-main > article .post-image img,
body.archive .site-main > article .post-image img,
body.search .site-main > article .post-image img,
body.home .site-main > article .featured-image img,
body.blog .site-main > article .featured-image img,
body.archive .site-main > article .featured-image img,
body.search .site-main > article .featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tags remain available on each article but are omitted from compact listing cards. */
body.home .site-main > article .tags-links,
body.blog .site-main > article .tags-links,
body.archive .site-main > article .tags-links,
body.search .site-main > article .tags-links {
  display: none;
}

@media (min-width: 769px) {
  body.home .site-main,
  body.blog .site-main,
  body.archive .site-main,
  body.search .site-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  body.home .site-main > .page-header,
  body.blog .site-main > .page-header,
  body.archive .site-main > .page-header,
  body.search .site-main > .page-header,
  body.home .site-main > .paging-navigation,
  body.blog .site-main > .paging-navigation,
  body.archive .site-main > .paging-navigation,
  body.search .site-main > .paging-navigation {
    grid-column: 1 / -1;
  }

  body.home .site-main > article,
  body.blog .site-main > article,
  body.archive .site-main > article,
  body.search .site-main > article {
    width: auto;
    min-width: 0;
    margin: 0;
  }

  body.home .site-main > article .inside-article,
  body.blog .site-main > article .inside-article,
  body.archive .site-main > article .inside-article,
  body.search .site-main > article .inside-article {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  body.home .site-main > article .entry-title,
  body.blog .site-main > article .entry-title,
  body.archive .site-main > article .entry-title,
  body.search .site-main > article .entry-title {
    min-height: 3.75em;
    line-height: 1.25;
  }

  body.home .site-main > article footer.entry-meta,
  body.blog .site-main > article footer.entry-meta,
  body.archive .site-main > article footer.entry-meta,
  body.search .site-main > article footer.entry-meta {
    margin-top: auto;
  }
}
