/* CONTACT: shared stylesheet (replaces the old PHP/include version). */

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: #000;
	color: #fff;
	font: 13px/1.7 "Lucida Grande", Lucida, Verdana, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a:link, a:visited { color: #4b90d5; text-decoration: none; }
a:hover { color: #9a9a9a; text-decoration: underline; }
:focus-visible { outline: 2px solid #4b90d5; outline-offset: 2px; }

#tbws-link {
	position: fixed;
	top: 0;
	right: 10px;
	width: 120px;
	height: 25px;
	background: url(https://telebody.ws/tab-black-on-white.gif) no-repeat left center;
	z-index: 20;
}

/* ---- header ---- */
.top { background: #fff; height: 71px; }
h1 {
	margin: 0;
	padding: 0 0 0 25px;
	color: #333;
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 20px;
	line-height: 70px;
}
.sub { background: #000; }
.subtitle { margin: 0; padding: 12px 26px 9px; color: #828282; font-size: 10px; letter-spacing: 2px; }
.tiles { display: flex; overflow: hidden; }
.tile { display: block; padding-right: 18px; flex: none; line-height: 0; }
.tile img { width: 22px; height: 22px; border-left: 22px solid #fff; box-sizing: content-box; }

/* ---- nav bar ---- */
.navbar { background: #fff; }
.navbar ul { display: flex; flex-wrap: wrap; align-items: flex-end; list-style: none; margin: 0; padding: 10px 0 0 30px; }
.navbar a {
	display: block;
	padding: 5px 5px 6px;
	color: #4f4f4f;
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.navbar a:link, .navbar a:visited { color: #4f4f4f; }
.navbar a:hover { background: #000; color: #cdcdcd; text-decoration: none; }
.navbar a.current, .navbar a.current:link, .navbar a.current:visited {
	padding: 6px 10px 7px;
	background: #000;
	color: #cdcdcd;
	font-size: 12px;
	letter-spacing: 4px;
}

/* ---- content ---- */
main { padding: 35px 20px 35px 50px; }
.column { max-width: 34rem; color: #e6e6e6; letter-spacing: .08em; }
.column.wide { max-width: 46rem; }
.column p { margin: 0 0 1rem; }
.column::after { content: ""; display: block; clear: both; }
figure.inline { float: left; margin: .2rem 1.4rem .6rem 0; line-height: 0; }
figure.inline img { display: block; }

.role { margin-bottom: .5rem !important; }
.bios { margin-top: 1.8rem; }

dl.history { margin: 0; }
.row { display: flex; gap: 12px; margin-bottom: 10px; align-items: baseline; }
.row dt { flex: 0 0 5.4rem; background: #363636; color: #fff; padding: 2px 6px; }
.row dd { margin: 0; min-width: 0; }

h2 { margin: 0 0 .9rem; color: #fff; font-size: 11px; font-weight: normal; letter-spacing: 5px; }
section + section { margin-top: 2.4rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gallery a { display: block; line-height: 0; border: 1px solid #1b1b1b; }
.gallery a:hover { border-color: #207dfc; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

ul.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
a.vid { display: block; padding: 10px; border: 1px solid #1b1b1b; color: #fff; }
a.vid:hover { border-color: #207dfc; text-decoration: none; }
a.vid img { display: block; width: 100%; max-width: 180px; height: auto; margin-bottom: 10px; }
a.vid .itemtitle { display: block; background: #fff; color: #333; padding: 5px 8px; font-size: 10px; letter-spacing: .04em; }
a.vid .itemtitle strong { display: block; font-size: 12px; }

.foot { margin-top: 30px; padding: 8px 20px 30px; border-top: 1px dotted #c1c1c1; color: #828282; font-size: 10px; letter-spacing: .05em; }

/* ---- video overlay ---- */
.tb-overlay { position: fixed; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; padding: 2rem 1rem; background: rgba(0,0,0,.94); z-index: 999; }
.tb-overlay.open { display: flex; }
.tb-overlay video { display: block; max-width: 100%; max-height: 78vh; background: #000; border: 1px solid #444; }
.tb-overlay .tb-cap { max-width: 90ch; color: #ddd; font-size: .9rem; text-align: center; min-height: 1.4em; }
.tb-overlay .tb-cap a { color: #8fb8ee; }
.tb-overlay img { display: block; max-width: 100%; max-height: 80vh; border: 1px solid #444; }
.tb-overlay button { position: absolute; background: rgba(20,20,20,.85); color: #fff; border: 1px solid #555; border-radius: 4px; font: inherit; font-size: 1.5rem; line-height: 1; padding: .45rem .85rem; cursor: pointer; }
.tb-overlay .tb-close { top: 1rem; right: 1.2rem; }
.tb-overlay .tb-nav { top: 50%; transform: translateY(-50%); }
.tb-overlay .tb-prev { left: 1rem; }
.tb-overlay .tb-next { right: 1rem; }

/* ---- narrow screens ---- */
@media (max-width: 640px) {
	h1 { letter-spacing: 12px; padding-left: 16px; }
	.subtitle { padding-left: 16px; padding-right: 16px; line-height: 1.6; }
	.navbar ul { padding-left: 10px; }
	main { padding: 28px 16px; }
	.row { flex-direction: column; gap: 4px; }
	.row dt { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}
