/* PSL Site Update: news and update-section styles. Uses the Pitch & Pavilion tokens, with fallbacks. */

/* Featured image on single posts */
.pslu-hero-img { margin: 0 0 var(--s-lg, 24px); }
.pslu-hero-img img {
	display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
	border-radius: var(--r-md, 12px); border: 1px solid var(--c-border, #e1e8e4);
}

/* Sources box under posts */
.pslu-sources {
	margin-top: var(--s-xl, 32px); padding: var(--s-md, 16px) var(--s-lg, 20px);
	background: var(--c-surface-low, #edf6ef); border: 1px solid var(--c-border, #e1e8e4);
	border-radius: var(--r-md, 12px); font-size: 0.9375rem;
}
.pslu-sources h2 { font-size: 1rem; margin: 0 0 6px; }
.pslu-sources ul { margin: 0 0 8px; padding-left: 1.1em; }
.pslu-sources p { margin: 0; color: var(--c-muted, #56655e); font-size: 0.875rem; }

/* News archive (theme's .post-list) */
.post-list { list-style: none; margin: var(--s-lg, 24px) 0; padding: 0; display: grid; gap: var(--s-md, 16px); }
.post-list__item {
	background: var(--c-card, #fff); border: 1px solid var(--c-border, #e1e8e4);
	border-radius: var(--r-md, 12px); padding: var(--s-md, 16px) var(--s-lg, 20px);
}
.post-list__item .label { margin: 0 0 4px; color: var(--c-muted, #56655e); font-size: 0.8125rem; }
.post-list__title { font-size: 1.25rem; line-height: 1.3; margin: 0 0 6px; }
.post-list__title a { color: var(--c-ink, #121a16); text-decoration: none; }
.post-list__title a:hover { color: var(--c-primary, #026838); text-decoration: underline; }
.post-list__item p:last-child { margin: 0; }

/* "Latest PSL news" (core Latest Posts block) */
.wp-block-latest-posts.pslu-news-list { list-style: none; margin: var(--s-md, 16px) 0; padding: 0; display: grid; gap: 12px; }
.wp-block-latest-posts.pslu-news-list li {
	background: var(--c-card, #fff); border: 1px solid var(--c-border, #e1e8e4);
	border-left: 4px solid var(--c-lime, #d7df27); border-radius: var(--r-sm, 8px); padding: 12px 16px; margin: 0;
}
.wp-block-latest-posts.pslu-news-list .wp-block-latest-posts__post-title { font-family: var(--f-head, inherit); font-weight: 800; color: var(--c-ink, #121a16); text-decoration: none; line-height: 1.3; }
.wp-block-latest-posts.pslu-news-list .wp-block-latest-posts__post-title:hover { color: var(--c-primary, #026838); text-decoration: underline; }
.wp-block-latest-posts.pslu-news-list .wp-block-latest-posts__post-date { display: block; color: var(--c-muted, #56655e); font-size: 0.8125rem; margin-top: 2px; }
.wp-block-latest-posts.pslu-news-list .wp-block-latest-posts__post-excerpt { margin: 6px 0 0; font-size: 0.9375rem; }
.wp-block-latest-posts.pslu-news-list .wp-block-latest-posts__post-excerpt a { display: none; } /* hide "Read more" duplicate link */

/* Tables inside update sections and posts: the theme styles them; only tidy borders and captions. */
.pslu-section .wp-block-table, .single-post .wp-block-table { margin: var(--s-md, 16px) 0; overflow-x: auto; }
.pslu-section .wp-block-table td, .pslu-section .wp-block-table th,
.single-post .wp-block-table td, .single-post .wp-block-table th { border-left: 0; border-right: 0; border-top: 0; padding: 10px 12px; }
.pslu-section .wp-block-table figcaption, .single-post .wp-block-table figcaption { font-size: 0.8125rem; color: var(--c-muted, #56655e); margin-top: 6px; }
