/* Layout and components. Values come from tokens.css only. Look: the approved mockup
   (reports/design/mockup-classic.html): logo bar, red menu bar, dark title band, 3-across photo
   grid, obit with grey sidebar. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--tb-color-bg);
	color: var(--tb-color-body);
	font-family: var(--tb-font-body);
	font-size: var(--tb-font-size-base);
	line-height: var(--tb-line-height);
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--tb-color-accent); text-underline-offset: 0.15em; }
a:hover { color: var(--tb-color-accent-hover); }
:focus-visible { outline: var(--tb-focus-ring); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--tb-font-heading); font-weight: 400; color: var(--tb-color-text); line-height: var(--tb-line-height-tight); text-wrap: balance; }
strong, b { color: var(--tb-color-text); }

.tb-wrap { max-width: var(--tb-wrap); margin-inline: auto; padding-inline: var(--tb-gutter); }
.tb-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tb-skip { position: absolute; left: var(--tb-space-2); top: -10rem; z-index: 100; background: var(--tb-color-bg); color: var(--tb-color-accent); padding: var(--tb-space-2) var(--tb-space-3); }
.tb-skip:focus { top: var(--tb-space-2); }

/* ---------------------------------------------------------------- logo bar */
.tb-header { background: var(--tb-color-header-bg); border-top: 3px solid var(--tb-color-text); }
.tb-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--tb-space-3) var(--tb-space-4); padding-block: var(--tb-space-3); }
.tb-brand { display: inline-grid; gap: var(--tb-space-1); text-decoration: none; color: var(--tb-color-muted); }
.tb-brand:hover { color: var(--tb-color-muted); }
.tb-brand__logo { display: block; width: 239px; max-width: 100%; height: auto; }
.tb-brand__tagline { font-size: 0.75rem; font-style: italic; line-height: 1.2; color: var(--tb-color-muted); border-top: 2px solid var(--tb-color-text); padding-top: 0.2rem; }
.tb-header-search { display: flex; border: 1px solid var(--tb-color-border-strong); background: var(--tb-color-bg); border-radius: var(--tb-radius); }
.tb-header-search input { border: 0; font: 400 0.875rem var(--tb-font-body); padding: 0.45rem 0.6rem; width: 11rem; max-width: 50vw; background: none; color: var(--tb-color-text); min-height: 2.25rem; }
.tb-header-search input::placeholder { color: var(--tb-color-muted); opacity: 1; }
.tb-header-search button { border: 0; background: none; color: var(--tb-color-muted); padding: 0 0.7rem; cursor: pointer; font-size: 1rem; min-width: 2.5rem; }
.tb-header-search button:hover { color: var(--tb-color-accent); }

/* ---------------------------------------------------------------- red menu bar */
.tb-nav { background: var(--tb-color-accent); position: relative; z-index: 10; font-family: var(--tb-font-nav); }
.tb-nav :focus-visible { outline-color: var(--tb-color-focus-on-dark); outline-offset: -3px; }
.tb-nav .tb-drop :focus-visible { outline-color: var(--tb-color-focus); outline-offset: 1px; }
.tb-nav__bar { max-width: var(--tb-wrap); margin-inline: auto; padding-inline: var(--tb-gutter); }
.tb-nav-toggle { display: none; }
.tb-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.tb-menu__item { position: relative; }
.tb-menu__link {
	display: flex; align-items: center; color: var(--tb-color-on-accent); text-decoration: none; font: 400 1rem/1 var(--tb-font-nav);
	padding: 0.8rem 0.9rem; background: none; border: 0; cursor: pointer; min-height: 2.75rem;
}
.tb-menu__item:first-child > .tb-menu__link { margin-left: -0.9rem; }
.tb-menu__link:hover, .tb-menu__link[aria-current], .tb-menu__toggle[aria-expanded="true"] { background: var(--tb-color-accent-hover); color: var(--tb-color-on-accent); }
.tb-menu__toggle::after {
	content: ""; display: inline-block; width: 0.35em; height: 0.35em; border: solid currentColor;
	border-width: 0 1.5px 1.5px 0; transform: translateY(-0.15em) rotate(45deg); margin-left: 0.5em;
}
.tb-drop {
	display: none; position: absolute; top: 100%; left: 0; background: var(--tb-color-bg);
	border: 1px solid var(--tb-color-border); border-top: 3px solid var(--tb-color-accent-hover);
	box-shadow: 0 8px 20px rgb(0 0 0 / 0.12); padding: 1rem 1.1rem; min-width: 15rem; font-family: var(--tb-font-body);
}
.tb-menu__item.is-open > .tb-drop { display: block; }
.tb-menu__item.is-open > .tb-drop--years { display: grid; }
/* without JS: open on hover / keyboard focus */
.tb-nav:not(.is-js) .tb-menu__item--drop:hover > .tb-drop,
.tb-nav:not(.is-js) .tb-menu__item--drop:focus-within > .tb-drop { display: block; }
.tb-nav:not(.is-js) .tb-menu__item--drop:hover > .tb-drop--years,
.tb-nav:not(.is-js) .tb-menu__item--drop:focus-within > .tb-drop--years { display: grid; }
.tb-drop ul { list-style: none; margin: 0; padding: 0; }
.tb-drop li { break-inside: avoid; }
.tb-drop a { display: block; color: var(--tb-color-text); text-decoration: none; font-size: 0.9375rem; line-height: 1.35; padding: 0.3rem 0; }
.tb-drop a:hover { color: var(--tb-color-accent); text-decoration: underline; }
.tb-drop__n { color: var(--tb-color-muted); font-size: 0.8125rem; margin-left: 0.3rem; }
.tb-drop__cols { columns: 2; column-gap: 2rem; }
.tb-drop__all { border-top: 1px solid var(--tb-color-border); margin: 0.5rem 0 0; padding-top: 0.5rem; }
.tb-drop__all a { font-weight: 600; color: var(--tb-color-accent); }
.tb-drop--cause { min-width: 26rem; }
.tb-drop--promo { min-width: 24rem; }
.tb-drop--years { grid-template-columns: repeat(5, minmax(6.5rem, 1fr)); gap: 0 1.5rem; min-width: 40rem; }
.tb-drop__head { margin: 0 0 0.35rem; font: 500 1rem var(--tb-font-heading); }
.tb-drop__head a { font: inherit; color: var(--tb-color-text); padding: 0; }
.tb-drop--years ul a { padding: 0.2rem 0; font-size: 0.875rem; } /* 25px tall: WCAG 2.2 target size */
.tb-menu__item:nth-child(n+5) > .tb-drop { left: auto; right: 0; }

@media (max-width: 56rem) {
	.tb-nav.is-js .tb-nav-toggle {
		display: flex; align-items: center; gap: 0.5rem; color: var(--tb-color-on-accent); background: none; border: 0;
		font: 400 1rem var(--tb-font-nav); padding: 0.75rem 0; min-height: 2.75rem; cursor: pointer;
	}
	.tb-nav-toggle__icon { width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; }
	.tb-nav.is-js:not(.is-open) .tb-menu { display: none; }
	.tb-menu { flex-direction: column; padding-bottom: 0.5rem; }
	.tb-menu__link { width: 100%; text-align: left; padding: 0.75rem 0; border-top: 1px solid rgb(255 255 255 / 0.18); }
	.tb-menu__item:first-child > .tb-menu__link { margin-left: 0; }
	.tb-menu__link:hover, .tb-menu__link[aria-current], .tb-menu__toggle[aria-expanded="true"] { background: none; text-decoration: underline; }
	.tb-drop, .tb-menu__item:nth-child(n+5) > .tb-drop { position: static; min-width: 0; box-shadow: none; border: 0; margin-bottom: 0.5rem; border-radius: var(--tb-radius); }
	.tb-drop--cause, .tb-drop--promo { min-width: 0; }
	.tb-drop--years { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; gap: 0.75rem 1rem; }
	.tb-drop__cols { columns: 1; }
	.tb-drop a { padding-block: 0.45rem; }
}

/* ---------------------------------------------------------------- title band */
.tb-band {
	background-color: var(--tb-color-title-bg);
	background-image: linear-gradient(90deg, rgb(0 0 0 / 0.35), transparent 60%), repeating-linear-gradient(115deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 9px);
}
.tb-band :focus-visible { outline-color: var(--tb-color-focus-on-dark); }
.tb-band__title { margin: 0; padding-block: 1.6rem; color: var(--tb-color-title-text); font: 400 var(--tb-font-size-2xl)/1.15 var(--tb-font-heading); letter-spacing: 0.01em; }

/* ---------------------------------------------------------------- main */
.tb-main { padding-bottom: var(--tb-space-7); }
.tb-main:focus { outline: none; }
.tb-main > .tb-wrap, .tb-main > article.tb-wrap, .tb-layout { padding-top: 1.75rem; }
.tb-title { font-size: var(--tb-font-size-2xl); margin: 0 0 var(--tb-space-4); }
.tb-content { max-width: var(--tb-measure); }
/* Long URLs used as link text (common in old posts) must wrap, or phones get a horizontal scroll. */
.tb-content, .tb-facts, .tb-comments, .tb-result { overflow-wrap: anywhere; }
.tb-content p { margin: 0 0 1rem; }
.tb-content h2 { font-size: var(--tb-font-size-xl); margin: 1.5rem 0 0.75rem; }
.tb-content h3 { font-size: 1.375rem; margin: 1.5rem 0 0.6rem; }
.tb-content h4 { font-size: 1.1875rem; margin: 1.25rem 0 0.5rem; }
.tb-page .tb-content, .tb-archive__desc { max-width: none; }
.tb-content > * { max-width: var(--tb-measure); }
.tb-page .tb-content > * { margin-inline: auto; }
.tb-content > .tb-grid, .tb-content > .tb-biglist { max-width: none; }
.tb-content img { display: block; margin-block: var(--tb-space-3); }
.tb-content .alignright { float: right; margin: 0.3rem 0 var(--tb-space-3) var(--tb-space-5); max-width: 50%; }
.tb-content .alignleft { float: left; margin: 0.3rem var(--tb-space-5) var(--tb-space-3) 0; max-width: 50%; }
.tb-content .aligncenter { margin-inline: auto; }
/* Captions carry WordPress's inline width (e.g. 600px); cap them to the column on every template.
   The extra .tb-single selector outranks `.tb-single .tb-content > * { max-width: none; }` below. */
.tb-content .wp-caption, .tb-single .tb-content > .wp-caption { max-width: 100%; height: auto; }
.tb-content .wp-caption img { max-width: 100%; height: auto; margin-bottom: 0.35rem; }
.tb-content .wp-caption-text { font-size: 0.75rem; line-height: 1.4; color: var(--tb-color-muted); }
.tb-content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.tb-content blockquote { margin: var(--tb-space-4) 0; padding-left: var(--tb-space-4); border-left: 4px solid var(--tb-color-border); }
.tb-content hr { border: 0; border-top: 1px solid var(--tb-color-border); clear: both; margin-block: var(--tb-space-5); }
.tb-col { margin-bottom: var(--tb-space-4); }
@media (min-width: 40rem) {
	.tb-col { display: inline-block; vertical-align: top; width: calc(50% - var(--tb-space-3)); }
	.tb-col + .tb-col { margin-left: var(--tb-space-4); }
}
@media (max-width: 30rem) {
	.tb-content .alignright, .tb-content .alignleft { float: none; margin-inline: 0; max-width: 100%; }
}

/* ---------------------------------------------------------------- buttons + forms */
.tb-button {
	display: inline-block; font-family: var(--tb-font-body); font-size: var(--tb-font-size-sm); font-weight: 600;
	background: var(--tb-color-accent); color: var(--tb-color-on-accent); border: 0; border-radius: var(--tb-radius);
	padding: var(--tb-space-3) var(--tb-space-5); text-decoration: none; min-height: 44px; cursor: pointer;
}
.tb-button:hover { background: var(--tb-color-accent-hover); color: var(--tb-color-on-accent); }
.tb-button--small { padding: var(--tb-space-2) var(--tb-space-3); }
.tb-label { display: block; font-size: var(--tb-font-size-sm); font-weight: 600; color: var(--tb-color-text); margin-bottom: var(--tb-space-1); }
.tb-input {
	font: inherit; width: 100%; min-height: 44px; padding: var(--tb-space-2) var(--tb-space-3);
	border: 1px solid var(--tb-color-muted); border-radius: var(--tb-radius); background: var(--tb-color-bg); color: var(--tb-color-text);
}
.tb-search { display: grid; grid-template-columns: 1fr auto; gap: var(--tb-space-2); align-items: end; max-width: 32rem; margin-bottom: var(--tb-space-4); }
.tb-search__label { grid-column: 1 / -1; margin: 0; }

/* ---------------------------------------------------------------- photo grid */
.tb-grid {
	list-style: none; margin: 0 auto var(--tb-space-5); padding: 0; display: grid; gap: 1.6rem 1.75rem;
	grid-template-columns: repeat(var(--tb-tile-cols), minmax(0, 1fr)); max-width: calc(var(--tb-wrap) - 2rem);
}
.tb-photo {
	display: block; aspect-ratio: 3 / 2; border: 1px solid var(--tb-color-border); padding: 3px;
	background: var(--tb-color-bg); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}
.tb-photo img, .tb-tile__img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.tb-tile__img--none { background: linear-gradient(160deg, #3a3634, #161413); }
.tb-tile__link { display: block; text-decoration: none; text-align: center; }
.tb-tile__link:hover .tb-photo { border-color: var(--tb-color-accent); }
.tb-tile__caption { display: block; margin-top: 0.55rem; color: var(--tb-color-accent); font-size: 1rem; line-height: 1.35; }
.tb-tile__link:hover .tb-tile__caption { text-decoration: underline; color: var(--tb-color-accent-hover); }
.tb-tile__year { display: none; font-size: 0.8125rem; color: var(--tb-color-muted); }
.is-by-year .tb-tile__year { display: block; }
.tb-grid__head { grid-column: 1 / -1; }
.tb-grid__head h2 { margin: 0.5rem 0 0; font-size: 1.375rem; border-bottom: 2px solid var(--tb-color-accent); padding-bottom: 0.2rem; }
.tb-grid-empty { color: var(--tb-color-muted); }

/* ---------------------------------------------------------------- Dead before 50 intro + sort */
.tb-intro { max-width: var(--tb-measure); margin: 0 auto 1.75rem; }
.tb-intro p { margin: 0 0 0.8rem; }
.tb-intro__src { font-size: 0.8125rem; color: var(--tb-color-muted); line-height: 1.55; }
.tb-toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; max-width: calc(var(--tb-wrap) - 2rem); margin: 0 auto 1rem; font-size: 0.875rem; }
.tb-toolbar__count { margin: 0; color: var(--tb-color-muted); }
.tb-sortbar { display: inline-flex; gap: 0.25rem; align-items: center; }
.tb-sortbar button {
	font: 600 0.8125rem var(--tb-font-body); border: 1px solid var(--tb-color-border-strong); background: var(--tb-color-bg); color: var(--tb-color-body);
	padding: 0.3rem 0.7rem; border-radius: var(--tb-radius); cursor: pointer; min-height: 2rem;
}
.tb-sortbar button[aria-pressed="true"] { border-color: var(--tb-color-accent); color: var(--tb-color-accent); box-shadow: inset 0 -2px 0 var(--tb-color-accent); }

/* ---------------------------------------------------------------- obit */
.tb-layout--side { display: grid; grid-template-columns: minmax(0, 1fr) var(--tb-sidebar); gap: 2.25rem; align-items: start; }
.tb-single > h2:first-child { font-size: var(--tb-font-size-xl); margin: 0 0 1rem; }
.tb-single .tb-content { max-width: none; }
.tb-single .tb-content > * { max-width: none; }
.tb-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; background: var(--tb-color-surface); border: 1px solid var(--tb-color-border); padding: 1rem; margin-bottom: 0.75rem; }
.tb-facts--photo { grid-template-columns: minmax(0, 1fr) 15rem; }
.tb-facts__list { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.3rem 1rem; font-size: var(--tb-font-size-sm); align-content: start; }
.tb-facts dt { font: 500 0.8125rem/1.8 var(--tb-font-heading); text-transform: uppercase; letter-spacing: 0.06em; color: var(--tb-color-muted); }
.tb-facts dd { margin: 0; color: var(--tb-color-text); }
.tb-facts__photo { margin: 0; }
.tb-facts__photo .tb-photo { aspect-ratio: auto; }
.tb-facts__photo img { height: auto; }
.tb-facts figcaption { font-size: 0.75rem; color: var(--tb-color-muted); line-height: 1.4; margin-top: 0.35rem; }
.tb-tieback { font-size: var(--tb-font-size-sm); margin: 0 0 1.5rem; padding: 0.55rem 0.8rem; border-left: 3px solid var(--tb-color-accent); background: var(--tb-color-bg); color: var(--tb-color-body); }
.tb-help { margin-top: 2rem; border: 1px solid var(--tb-color-border); border-left: 3px solid var(--tb-color-text); padding: 0.8rem 1rem; clear: both; }
.tb-help p { font-size: var(--tb-font-size-sm); margin: 0; }
.tb-help strong { white-space: nowrap; }
.tb-meta { font-size: 0.875rem; color: var(--tb-color-muted); border-top: 1px solid var(--tb-color-border); padding-top: 0.8rem; margin-top: 1.5rem; clear: both; }
.tb-meta p { margin: 0 0 0.35rem; }
.tb-meta__label { font-weight: 600; }
.tb-side { background: var(--tb-color-surface); padding: 1.25rem; }
.tb-side__title { font-size: var(--tb-font-size-lg); margin: 0 0 0.9rem; }
.tb-grid--side { --tb-tile-cols: 1; gap: 1.25rem; margin-bottom: 0; }
.tb-grid--side .tb-tile__caption { font-size: var(--tb-font-size-sm); }

/* multi-page posts */
.tb-pages { display: flex; flex-wrap: wrap; gap: var(--tb-space-2); align-items: center; margin-block: var(--tb-space-5); clear: both; }
.tb-pages a, .tb-pages > .tb-pages__n { display: inline-block; min-width: 44px; min-height: 44px; line-height: 44px; text-align: center; border: 1px solid var(--tb-color-border); border-radius: var(--tb-radius); text-decoration: none; }
.tb-pages .current .tb-pages__n, .tb-pages > .tb-pages__n { background: var(--tb-color-accent); color: var(--tb-color-on-accent); border-color: var(--tb-color-accent); }
.tb-pages__label { font-weight: 600; margin-right: var(--tb-space-2); }

/* ---------------------------------------------------------------- promotion index */
.tb-promo-index { list-style: none; padding: 0; margin: 0 auto; max-width: var(--tb-measure); columns: 2 16rem; column-gap: 2rem; }
.tb-promo-index li { break-inside: avoid; padding-block: 0.3rem; border-bottom: 1px solid var(--tb-color-border); }
.tb-count { color: var(--tb-color-muted); font-size: 0.875rem; }

/* ---------------------------------------------------------------- big list */
.tb-biglist__tools { max-width: 28rem; margin-bottom: var(--tb-space-3); }
.tb-biglist__count { font-size: var(--tb-font-size-sm); color: var(--tb-color-muted); min-height: 1.5em; margin: var(--tb-space-1) 0 0; }
.tb-table-wrap { overflow-x: auto; border: 1px solid var(--tb-color-border); border-radius: var(--tb-radius); }
.tb-table { border-collapse: collapse; width: 100%; font-size: var(--tb-font-size-sm); }
.tb-table caption { text-align: left; padding: var(--tb-space-2) var(--tb-space-3); color: var(--tb-color-muted); }
.tb-table th, .tb-table td { text-align: left; padding: var(--tb-space-2) var(--tb-space-3); border-top: 1px solid var(--tb-color-border); vertical-align: top; }
.tb-table thead th { position: sticky; top: 0; background: var(--tb-color-surface); white-space: nowrap; color: var(--tb-color-text); }
.tb-table tbody tr:nth-child(even) { background: var(--tb-color-surface); }
.tb-table .tb-sort { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: var(--tb-color-text); cursor: pointer; min-height: 44px; }
.tb-sort__icon::after { content: "↕"; margin-left: var(--tb-space-1); color: var(--tb-color-muted); }
[aria-sort="ascending"] .tb-sort__icon::after { content: "↑"; color: var(--tb-color-text); }
[aria-sort="descending"] .tb-sort__icon::after { content: "↓"; color: var(--tb-color-text); }

/* ---------------------------------------------------------------- search results */
.tb-results { list-style: none; padding: 0; }
.tb-result { border-bottom: 1px solid var(--tb-color-border); padding-block: var(--tb-space-3); }
.tb-result__title { font-size: var(--tb-font-size-lg); margin: 0 0 var(--tb-space-1); }
.tb-result p { margin: 0 0 var(--tb-space-1); }

/* ---------------------------------------------------------------- comments */
.tb-comments { margin-top: var(--tb-space-7); }
.tb-comment-list { list-style: none; padding: 0; }
.tb-comment-list .children { list-style: none; padding-left: var(--tb-space-5); }
.tb-comment-list .comment-body { border-top: 1px solid var(--tb-color-border); padding-block: var(--tb-space-3); }
.tb-comment-list .comment-metadata, .tb-comment-list .comment-metadata a { font-size: var(--tb-font-size-xs); color: var(--tb-color-muted); }
.tb-comments label { display: block; font-weight: 600; color: var(--tb-color-text); }
.tb-comments input[type="text"], .tb-comments input[type="email"], .tb-comments input[type="url"], .tb-comments textarea {
	font: inherit; width: 100%; padding: var(--tb-space-2); border: 1px solid var(--tb-color-muted); border-radius: var(--tb-radius); color: var(--tb-color-text);
}
.tb-comments .submit { font: inherit; font-weight: 600; background: var(--tb-color-accent); color: var(--tb-color-on-accent); border: 0; border-radius: var(--tb-radius); padding: var(--tb-space-3) var(--tb-space-5); min-height: 44px; cursor: pointer; }
.tb-comments .submit:hover { background: var(--tb-color-accent-hover); }

/* ---------------------------------------------------------------- pagination */
.nav-links { display: flex; flex-wrap: wrap; gap: var(--tb-space-2); justify-content: center; }
.page-numbers { padding: var(--tb-space-2) var(--tb-space-3); border: 1px solid var(--tb-color-border); border-radius: var(--tb-radius); text-decoration: none; }
.page-numbers.current { background: var(--tb-color-accent); color: var(--tb-color-on-accent); border-color: var(--tb-color-accent); }

/* ---------------------------------------------------------------- footer */
.tb-footer { background: var(--tb-color-footer-bg); font-size: 0.875rem; color: var(--tb-color-body); }
.tb-footer__inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 1.25rem; }
.tb-footer__copy { margin: 0; }
.tb-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.tb-footer a { color: var(--tb-color-body); display: inline-block; padding-block: 0.2rem; }
.tb-footer a:hover { color: var(--tb-color-accent-hover); }

/* ---------------------------------------------------------------- popup */
.tb-popup { max-width: min(28rem, calc(100vw - 2rem)); border: 0; border-radius: var(--tb-radius); padding: var(--tb-space-5); color: var(--tb-color-body); }
.tb-popup::backdrop { background: rgb(0 0 0 / 0.55); }
.tb-popup__close-form { position: absolute; top: var(--tb-space-1); right: var(--tb-space-1); margin: 0; }
.tb-popup__close { font-size: var(--tb-font-size-xl); line-height: 1; background: none; border: 0; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--tb-color-text); }
.tb-popup__title { font-size: var(--tb-font-size-lg); margin: 0 var(--tb-space-6) var(--tb-space-2) 0; }
.tb-popup__form { display: grid; gap: var(--tb-space-2); }
.tb-popup__error { color: var(--tb-color-accent); margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 52rem) {
	:root { --tb-tile-cols: 2; }
	.tb-layout--side { grid-template-columns: minmax(0, 1fr); }
	.tb-facts--photo { grid-template-columns: minmax(0, 1fr); }
	.tb-facts__photo { order: -1; max-width: 22rem; }
	.tb-side .tb-grid--side { --tb-tile-cols: 2; }
}
@media (max-width: 30rem) {
	:root { --tb-tile-cols: 1; }
	.tb-band__title { font-size: 1.6rem; padding-block: 1.2rem; }
	.tb-header-search { width: 100%; }
	.tb-header-search input { width: 100%; max-width: none; }
	.tb-side .tb-grid--side { --tb-tile-cols: 1; }
}

/* print: the obit, without chrome */
@media print {
	.tb-header, .tb-nav, .tb-footer, .tb-side, .tb-comments, .tb-popup { display: none !important; }
	.tb-band { background: none; }
	.tb-band__title { color: #000; }
	.tb-layout--side { display: block; }
}
