/* Timecoded stories: homepage band and /timecoded/ archive. Colors come from the theme palette. */
.th-tc { --th-tc-gap: 2rem; }
.th-tc .th-tc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--th-tc-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-tc .th-tc-item { display: flex; flex-direction: column; gap: .5rem; margin: 0; min-width: 0; }
.th-tc .th-tc-item[hidden] { display: none; }
.th-tc .th-tc-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(127, 127, 127, .15); margin-bottom: .25rem; }
.th-tc .th-tc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.th-tc .th-tc-thumb:hover img { transform: scale(1.03); }
.th-tc .th-tc-thumb--none { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.th-tc .th-tc-thumb--none span { font-family: var(--wp--preset--font-family--display, serif); font-size: 1.6rem; letter-spacing: .08em; opacity: .55; color: var(--wp--preset--color--gold, currentColor); }
.th-tc .wp-block-rss__item-title a { overflow-wrap: anywhere; }
.th-tc .wp-block-rss__item-title a:focus-visible, .th-tc .th-tc-all:focus-visible, .th-tc .th-tc-more:focus-visible { outline: 2px solid var(--wp--preset--color--gold, currentColor); outline-offset: 3px; }
.th-tc .wp-block-rss__item-publish-date { display: block; }
.th-tc .wp-block-rss__item-excerpt { margin: 0; }
.th-tc--section .th-tc-actions { margin-bottom: 2rem; }
.th-tc .th-tc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: var(--th-tc-gap); }
.th-tc .th-tc-more { cursor: pointer; border: 1px solid var(--wp--preset--color--gold, currentColor); background: transparent; color: inherit; font: inherit; font-weight: 600; padding: .8rem 1.4rem; min-height: 44px; border-radius: 0; }
.th-tc .th-tc-more:hover { background: var(--wp--preset--color--gold, #c9a227); color: var(--wp--preset--color--ink, #111); }
.th-tc .th-tc-more[hidden] { display: none; }
.th-tc .th-tc-all { font-weight: 600; text-underline-offset: .2em; color: inherit; }
.th-tc .th-tc-count { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.5rem; opacity: .75; }
.th-tc--archive .th-tc-more { border-color: var(--wp--preset--color--bronze, currentColor); }
.th-tc--archive .th-tc-more:hover { background: var(--wp--preset--color--ink, #111); color: var(--wp--preset--color--parchment, #fff); }
.th-tc--archive .th-tc-thumb--none span { color: var(--wp--preset--color--bronze, currentColor); }
@media (max-width: 900px) { .th-tc .th-tc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.th-tc { --th-tc-gap: 1.5rem; }
	.th-tc .th-tc-list { grid-template-columns: minmax(0, 1fr); }
	.th-tc .th-tc-actions { flex-direction: column; align-items: stretch; text-align: center; }
	.th-tc .th-tc-more { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .th-tc .th-tc-thumb img { transition: none; } }
/* Timecoded page hero (dark band): the theme's lede (graphite) and outline button (ink) were dark on dark. */
.th-section.has-night-background-color .th-lede { color: var(--wp--preset--color--stone, #E8E1D5); }
.th-section.has-night-background-color .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--parchment, #F4EFE6); border-color: var(--wp--preset--color--gold, #C9A458); background: transparent; }
.th-section.has-night-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.th-section.has-night-background-color .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible { color: var(--wp--preset--color--ink, #1F1D1A); background: var(--wp--preset--color--gold, #C9A458); border-color: var(--wp--preset--color--gold, #C9A458); }
.th-section.has-night-background-color .wp-block-button__link:focus-visible { outline-color: var(--wp--preset--color--gold, #C9A458); }
