/**
 * 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;
}

div.card div.slate > span.slate-dates
{
	font-size: 1em;
	line-height: 1em;
}

/* 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 - Horizontal bar inside image area, bottom-right */
div.card div.card-img-top.ratio > div.acts.themes-bar
{
	position: absolute;
	top: auto !important;
	left: auto !important;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: row;
	gap: 0.25rem;
	padding: 2px;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 0.25rem 0 0 0;
	width: auto !important;
	height: auto !important;
	z-index: 2;
}

div.acts.themes-bar img
{
	width: 2rem;
	height: 2rem;
	display: block;
}

/* Sold Out Badge - Bottom right of card */
div.card .sold-out-badge
{
	position: absolute;
	bottom: 0.3rem;
	right: 0.3rem;
	background: rgb(228, 67, 37);
	color: #fff;
	text-transform: uppercase;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.25rem 0.3rem 0.15rem;
	border-radius: 0.2rem;
	line-height: 1;
	z-index: 2;
}

/* Card typography and layout now inherited from participants.css */

/* Mobile region label overrides */
@media (max-width: 991.98px)
{
	#activities_region
	{
		position: static !important;
		display: inline !important;
		font-size: inherit !important;
	}

	#activities h1
	{
		margin-bottom: .75rem !important;
	}

	#activities_sub
	{
		display: none !important;
	}
}
