/* DiscoClub editorial cards and homepage editorial selection (child theme only). */
/* Preserve the parent theme structure; tidy metadata and excerpts in archives. */
:is(body.archive, body.blog, body.search) #primary article.post .entry-meta,
:is(body.archive, body.blog, body.search) #primary article.post .post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 3px;
    font-size: 13px;
    line-height: 1.4;
}
/* The child theme already provides complete .dc-archive-card layout.
   Apply generic card spacing only to other post templates. */
:is(body.archive, body.blog, body.search) #primary article.post:not(.dc-archive-card) {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}
:is(body.archive, body.blog, body.search) #primary article.post .entry-title {
    line-height: 1.35;
    margin-bottom: 9px;
}
/* BlogMagazine prints publication and update time in the same metadata row. */
:is(body.archive, body.blog, body.search) #primary article.post .posted-on:has(time.published) time.updated:not(.published),
:is(body.archive, body.blog, body.search) #primary article.post .entry-meta:has(time.published) time.updated:not(.published) {
    display: none !important;
}
:is(body.archive, body.blog, body.search) #primary article.post .more-link,
:is(body.archive, body.blog, body.search) #primary article.post .read-more a {
    margin-left: .4em;
    white-space: nowrap;
    font-weight: 600;
    text-decoration: none;
}
:is(body.archive, body.blog, body.search) #primary article.post .more-link:hover,
:is(body.archive, body.blog, body.search) #primary article.post .read-more a:hover {
    text-decoration: underline;
}
:is(body.archive, body.blog, body.search) #primary article.post :is(.post-thumbnail, .blogmagazine-article-thumb) img {
    height: auto;
    max-width: 100%;
    border-radius: 3px;
}
:is(body.archive, body.blog, body.search) #primary article.post .entry-summary,
:is(body.archive, body.blog, body.search) #primary article.post .entry-content {
    line-height: 1.6;
}

/* Home column: match BlogMagazine's native recent-posts widget typography. */
body .dc-interest-widget ul.dc-interest-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
body .dc-interest-widget ul.dc-interest-list > li.dc-interest-list__item {
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 8px 0 9px 16px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    line-height: 1.43;
}
body .dc-interest-widget ul.dc-interest-list > li.dc-interest-list__item::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 17px;
    line-height: 1;
    color: #7a879a;
}
body .dc-interest-widget .dc-interest-list__category {
    display: block;
    margin-bottom: 2px;
    color: #62738b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}
body .dc-interest-widget ul.dc-interest-list a {
    color: inherit;
    display: inline;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
}
body .dc-interest-widget ul.dc-interest-list a::before,
body .dc-interest-widget ul.dc-interest-list a::after { content: none !important; display: none !important; }
body .dc-interest-widget ul.dc-interest-list a:hover,
body .dc-interest-widget ul.dc-interest-list a:focus-visible { color: #557bb9; text-decoration: underline; }
@media (max-width: 640px) {
    body .dc-interest-widget ul.dc-interest-list > li.dc-interest-list__item { padding: 8px 0 9px 16px; }
    :is(body.archive, body.blog, body.search) #primary article.post .entry-meta { font-size: 12px; }
}

/* A single publication date in the accepted compact archive card. */
:is(body.archive, body.blog, body.search) #primary article.dc-archive-card .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}
:is(body.archive, body.blog, body.search) #primary article.dc-archive-card .entry-meta .posted-on,
:is(body.archive, body.blog, body.search) #primary article.dc-archive-card .entry-meta .byline {
    margin: 0;
}
