/*
Theme Name: Tomorrow's Verse
Template: twentytwentyfive
Description: Jam band music, by the numbers. Child theme of Twenty Twenty-Five.
Version: 0.1.0
Text Domain: tomorrowsverse
*/

/* ---------- logo ---------- */
.tv-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; line-height: 1; }
.tv-logo svg { width: 3.3rem; height: auto; flex: none; }
.tv-logo .tv-word { display: flex; flex-direction: column; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; }
.tv-logo .tv-word-top { color: var(--tv-slate); font-weight: 300; font-size: 1.22rem; letter-spacing: .02em; }
.tv-logo .tv-word-bottom { color: var(--tv-red); font-weight: 700; font-size: 2.15rem; letter-spacing: .01em; margin-top: -.08em; }
:root { --tv-slate: var(--wp--preset--color--slate); --tv-red: var(--wp--preset--color--red); }

/* ---------- header ---------- */
.tv-header { border-bottom: 3px solid var(--tv-red); }
.tv-tagline { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: .08em;
  color: var(--wp--preset--color--muted); font-size: .8rem; }
.tv-header .wp-block-navigation { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- section labels ("TOP STORIES" style from the old site) ---------- */
.tv-label { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; font-weight: 500; letter-spacing: .04em;
  font-size: 1.35rem; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: .35rem; margin: 0 0 1rem; }
.tv-label strong { color: var(--tv-red); font-weight: 700; }

/* ---------- cards ---------- */
.tv-card { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line); border-radius: 10px; overflow: hidden; height: 100%; }
.tv-card .wp-block-post-featured-image { margin: 0; }
.tv-card .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; display: block; }
.tv-card-body { padding: .9rem 1rem 1.1rem; }
.tv-kicker, .tv-kicker a { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: .06em;
  font-size: .78rem; color: var(--tv-red); text-decoration: none; }
.tv-card .wp-block-post-title a { text-decoration: none; }
.tv-card .wp-block-post-title a:hover { color: var(--tv-red); }

/* lead story */
.tv-lead .wp-block-post-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; }
.tv-lead .wp-block-post-excerpt { font-size: 1.1rem; }

/* ---------- stat boxes ---------- */
.tv-stats { display: grid; gap: .8rem; }
.tv-stat { background: var(--wp--preset--color--ink); color: #f4efe6; border-radius: 10px; padding: .9rem 1rem; }
.tv-stat .n { font-family: var(--wp--preset--font-family--oswald); font-size: 2.1rem; font-weight: 600; color: #f2a65a; line-height: 1; }
.tv-stat .what { font-size: .92rem; margin-top: .3rem; line-height: 1.35; }
.tv-stat .src { font-size: .72rem; color: #9aa3c7; margin-top: .35rem; text-transform: uppercase; letter-spacing: .05em; }
.tv-stat a { color: #f4efe6; }

/* ---------- article ---------- */
.tv-dek { font-size: 1.2rem; color: var(--wp--preset--color--muted); font-style: italic; }
.entry-content table, .wp-block-post-content table { width: 100%; border-collapse: collapse; font-family: var(--wp--preset--font-family--inter); font-size: .92rem; }
.wp-block-post-content th { text-align: left; border-bottom: 2px solid var(--wp--preset--color--ink); padding: .4rem .5rem; }
.wp-block-post-content td { border-bottom: 1px solid var(--wp--preset--color--line); padding: .4rem .5rem; vertical-align: top; }
.wp-block-post-content figure.wp-block-image img { border-radius: 8px; }
.wp-block-post-content h2 { margin-top: 2rem; }
@media (max-width: 600px) { .wp-block-post-content table { display: block; overflow-x: auto; } }

/* ---------- footer ---------- */
.tv-footer { background: var(--wp--preset--color--ink); color: #c9cde0; }
.tv-footer a { color: #f4efe6; }
.tv-footer .tv-word-top { color: #9fb6cc; }
.tv-footer .tv-word-bottom { color: #e2474c; }
.tv-stat a { text-decoration: none; border-bottom: 1px dotted #9aa3c7; }
.tv-stat a:hover { color: #f2a65a; }
.tv-stat-asof { color: var(--wp--preset--color--muted); font-family: var(--wp--preset--font-family--inter); }
.wp-block-post-content img, .tv-card img { max-width: 100%; height: auto; }
.wp-block-post-content figure { margin-left: 0; margin-right: 0; }

/* ---------- band & song data pages ---------- */
.tv-data-main { max-width: 1000px; margin: 0 auto; padding: 2rem var(--wp--preset--spacing--50) 1rem; }
.tv-dp h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .2rem 0 .4rem; }
.tv-dp h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: .3rem; }
.tv-dp h3 { font-size: 1.05rem; margin: .2rem 0 .4rem; }
.tv-crumbs { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin: 0; }
.tv-crumbs a { text-decoration: none; }
.tv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.tv-fact { background: var(--wp--preset--color--ink); color: #f4efe6; border-radius: 10px; padding: .8rem .9rem; }
.tv-fact .n { font-family: var(--wp--preset--font-family--oswald); font-size: 1.7rem; font-weight: 600; color: #f2a65a; line-height: 1.05; }
.tv-fact .what { font-size: .85rem; margin-top: .25rem; line-height: 1.3; color: #d9dcea; }
.tv-table-wrap { overflow-x: auto; }
.tv-table { width: 100%; border-collapse: collapse; font-family: var(--wp--preset--font-family--inter); font-size: .92rem; }
.tv-table th { text-align: left; border-bottom: 2px solid var(--wp--preset--color--ink); padding: .4rem .5rem; white-space: nowrap; }
.tv-table td { border-bottom: 1px solid var(--wp--preset--color--line); padding: .4rem .5rem; vertical-align: top; }
.tv-table a { text-decoration: none; }
.tv-yearbars { margin: 1rem 0; }
.tv-yearbars svg { width: 100%; height: auto; max-height: 190px; }
.tv-yearbars rect.b { fill: var(--wp--preset--color--slate); }
.tv-yearbars rect.hi { fill: var(--wp--preset--color--red); }
.tv-yearbars text { font: 10px var(--wp--preset--font-family--inter); fill: var(--wp--preset--color--muted); }
.tv-yearbars figcaption { font: .8rem var(--wp--preset--font-family--inter); color: var(--wp--preset--color--muted); }
.tv-callout { background: #fff3e6; border-left: 4px solid #f28c28; padding: .6rem .9rem; border-radius: 4px; }
.tv-note, .tv-credit { font: .82rem var(--wp--preset--font-family--inter); color: var(--wp--preset--color--muted); }
.tv-credit { margin-top: 2.5rem; }
.tv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tv-two ul { list-style: none; padding: 0; margin: 0; font-family: var(--wp--preset--font-family--inter); }
.tv-two li { padding: .25rem 0; border-bottom: 1px solid var(--wp--preset--color--line); display: flex; justify-content: space-between; }
.tv-two li span { color: var(--wp--preset--color--muted); }
@media (max-width: 600px) { .tv-two { grid-template-columns: 1fr; } }
.tv-songindex { font-family: var(--wp--preset--font-family--inter); font-size: .9rem; line-height: 1.9; }
.tv-songindex a { text-decoration: none; }
.tv-bandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.tv-bandcard { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; background: var(--wp--preset--color--card);
  border: 1px solid var(--wp--preset--color--line); border-left: 5px solid var(--tv-red); border-radius: 10px; text-decoration: none; color: inherit; }
.tv-bandcard:hover { border-color: var(--tv-red); }
.tv-bandcard .name { font-family: var(--wp--preset--font-family--oswald); font-size: 1.5rem; font-weight: 600; color: var(--wp--preset--color--ink); }
.tv-bandcard .nums, .tv-bandcard .span { font: .9rem var(--wp--preset--font-family--inter); color: var(--wp--preset--color--muted); }
.tv-bandcard .nums b { color: var(--wp--preset--color--text); }

.tv-two a, .tv-dp td a { text-decoration: none; }
.tv-two a:hover, .tv-dp td a:hover { text-decoration: underline; }

/* ---------- archive stories ---------- */
.tv-archive-note { font: .85rem var(--wp--preset--font-family--inter); color: var(--wp--preset--color--muted); background: var(--wp--preset--color--card);
  border: 1px solid var(--wp--preset--color--line); border-radius: 6px; padding: .45rem .7rem; }
.tv-legacy-hero img { width: 100%; height: auto; border-radius: 8px; }
.tv-legacy-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; display: block; }
.tv-embed { margin: 1.2rem 0; width: 100%; }
.tv-embed iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; }
.wp-block-post-content iframe { max-width: 100%; }
.tv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; margin: 1.2rem 0; }
.tv-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.tv-box { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line); border-radius: 8px; padding: .8rem 1rem; margin: 1rem 0; }
.tv-toggle { border: 1px solid var(--wp--preset--color--line); border-radius: 8px; padding: .5rem .9rem; margin: 1rem 0; }
.tv-toggle summary { cursor: pointer; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: .04em; }
.wp-block-post-content .wp-caption { max-width: 100% !important; }
.wp-block-post-content .wp-caption-text { font: .82rem var(--wp--preset--font-family--inter); color: var(--wp--preset--color--muted); }

.tv-yearlinks { font-family: var(--wp--preset--font-family--inter); line-height: 2; }
.tv-yearlinks a { text-decoration: none; font-weight: 600; }
.tv-yearlinks span { color: var(--wp--preset--color--muted); font-size: .85rem; }
@media (max-width: 600px) { .tv-showtable th:nth-child(3), .tv-showtable td:nth-child(3) { display: none; } }

.tv-storylist { list-style: none; padding: 0; font-family: var(--wp--preset--font-family--inter); }
.tv-storylist li { padding: .35rem 0; border-bottom: 1px solid var(--wp--preset--color--line); display: flex; justify-content: space-between; gap: 1rem; }
.tv-storylist a { text-decoration: none; }
.tv-storylist span { color: var(--wp--preset--color--muted); white-space: nowrap; font-size: .85rem; }

.tv-muted { color: var(--wp--preset--color--muted); font-size: .85em; }
