/* singles2.css -- staging name, since singles.css is also shared by
   features/revgusto.html, features/noslamdancing.html, and
   features/loosepark.html (same reason about.css -> about2.css).
   Becomes singles.css once everyone else is migrated off the old one.
   .pageBlurb below is a DELIBERATE duplicate of the one in about2.css
   -- not an oversight. Once every page using either file is migrated,
   revisit: pull .pageBlurb out into one shared file (header.css? a
   new site.css? TBD) instead of copy-pasted in two places.
*/

/* same as about2.css */
.pageBlurb {
	margin-top: 20px;
	width: 100%;
	max-width: 800px;
	box-sizing: border-box;
	background-color: black;
	color: white;
	font-family: helvetica, geneva, arial;
	font-size: 12px;
	line-height: 120%;
}
.pageBlurb p {
	margin: 0 0 0 0;
	padding: 1em;
}
.pageBlurb a:link,
.pageBlurb a:visited {
	color: white;
	text-decoration: none;
}
.pageBlurb a:hover {
	color: darkorange;
	text-decoration: underline;
}

/* Each single's card. Was a fixed 670 (no unit -- invalid CSS, fixed
   here) x auto; now fluid up to that same 670px, same shrink pattern
   used everywhere else tonight.

   Shared visual identity (background, shadow, font, link behavior)
   now lives in toolbox.css's .item -- this file just adds .item's
   own spacing here, specific to this page type. Requires toolbox.css
   to be <link>ed BEFORE this file.

   IMPORTANT: this was .single, now renamed to .item to match. Any
   HTML using class="single" needs to become class="item" -- see
   singles.html (and check for any other pages referencing .single). */
.item {
	margin: 10px 0px 0px 30px;
	padding: 20px 30px 50px 30px;
	max-width: 670px;
	box-sizing: border-box;
}

.titleline {
	padding: 3px;
	background: black;
	color: white;
	font-family: helvetica, geneva, arial;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	min-width: 0;
}
.titlered {
	padding: 3px;
	background: #f28500;
	color: white;
	font-family: helvetica, geneva, arial;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	min-width: 0;
}
div.title {
	float: right;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	max-width: 100%;
	border-radius: 0px 25px 25px 0px;
}

/* Was a fixed 180x180. Now fluid width (capped at the original
   180px), aspect-ratio keeps it square as it shrinks instead of
   distorting. */
.thumb {
	width: 27%;
	max-width: 180px;
	height: auto;
	aspect-ratio: 1 / 1;
	float: left;
	margin: 10px 30px 10px 10px;
	transform: rotate(-7deg);
	box-shadow: 5px 5px 5px;
}

/* <audio controls> defaults to a fixed intrinsic width in most
   browsers (often ~300px) that doesn't shrink on its own -- capping
   it here so it doesn't become the next thing forcing .item wider
   than its container on a narrow screen. */
audio {
	max-width: 100%;
}
