/**
 * SF Beer Week - Activities Page Styles
 * Extends participants.css with activity-specific styling
 * Maintains exact visual fidelity to https://sfbeerweek.org/activities
 */

/* Include all participant card styles - they apply to activities too */
@import url('participants.css');

#activities
{
	padding-top: 2rem;
}

/* Date Slate Overrides for Activities */
div.card div.slate
{
	/* Activities have different content than participants */
	display: flex;
	width: 6rem;
	height: 100%;
	min-height: 6.5rem;
	align-items: center !important;
	justify-content: center;
	flex-direction: column;
	background-color: #55575b;
	color: #fff;
	font-size: 1.5rem;
	font-variant: small-caps;
	font-weight: 200;
	text-align: center;
	text-transform: lowercase;
	border-right-width: 0.4rem;
	border-right-style: solid;
	border-right-color: #55575b;
}

/* Region-specific date slate right border colors */
div.card.region-sf div.slate { border-right-color: #EEA31B; }
div.card.region-nb div.slate { border-right-color: #a3a983; }
div.card.region-eb div.slate { border-right-color: #af95a6; }
div.card.region-sv div.slate { border-right-color: #e08433; }
div.card.region-co div.slate { border-right-color: #91b6bb; }

div.card div.slate > span
{
	display: block;
	margin-bottom: -4px;
	padding: 0;
	font-size: 1.6em;
	font-weight: 400;
	line-height: 0.8em;
}

/* Activity Status Badges */
span.acts.avail
{
	position: absolute;
	top: 1rem;
	left: 1rem;
	background-color: rgba(85, 87, 91, 0.9);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.4rem 0.8rem;
}

span.acts.avail.now
{
	background-color: #EEA31B;
}

span.acts.avail.soldout
{
	background-color: #dc3545;
	font-weight: 700;
}

/* Time Badges - Override Bootstrap .ratio > * defaults */
div.card div.card-img-top.ratio > span.acts.times
{
	position: absolute;
	top: auto !important;
	bottom: 0;
	left: 0;
	width: 6rem !important;
	height: auto !important;
	padding: 5px 10px 2px;
	background-color: #55575b;
	color: #fff;
	font-size: 1.3rem;
	font-variant: small-caps;
	text-align: center;
	border-right-width: 0.4rem;
	border-right-style: solid;
	border-right-color: #55575b;
	z-index: 2;
}

/* Region-specific time badge border colors */
div.card.region-sf div.card-img-top > span.acts.times {
	border-right-color: #EEA31B;
}
div.card.region-nb div.card-img-top > span.acts.times {
	border-right-color: #a3a983;
}
div.card.region-eb div.card-img-top > span.acts.times {
	border-right-color: #af95a6;
}
div.card.region-sv div.card-img-top > span.acts.times {
	border-right-color: #e08433;
}
div.card.region-co div.card-img-top > span.acts.times {
	border-right-color: #91b6bb;
}

/* Legacy time badge styling (for backwards compatibility) */
span.times
{
	font-size: 0.8rem;
	font-weight: 300;
}

span.times
{
	font-size: 0.7rem;
	font-weight: 200;
}

/* Setting Icons (Virtual/In-Person) */
p.card-loc i.fa-vr-cardboard,
p.card-loc i.fa-at
{
	color: #55575b;
	font-size: 1rem;
}

/* Theme Icons */
div.controls div.themes
{
	margin-top: 1rem;
}

div.controls div.themes,
div.controls div.themes div,
div.controls div.themes img.img-fluid
{
	margin: 0;
	padding: 0;
}

div.controls div.themes img.img-fluid
{
	max-width: 1.45rem;
}

/* Activity Card Typography - Larger/bolder than participants */
div.card div.caption h5.card-title
{
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.3rem;
}

div.card div.caption p.card-loc
{
	font-size: 0.95rem;
	font-weight: 400;
}
