/**
 * SF Beer Week - Participants Page Styles
 * Extracted from original SFBW template-2022/styles.css
 * Maintains exact visual fidelity to https://sfbeerweek.org/participants
 */

/* Page Container */
#participants
{
	padding-top: 2rem;
}

/* Card Base Styles */
div.card
{
	cursor: pointer;
}

div.card div.card-img-top
{
	border-bottom: 0.5px solid #444649;
	overflow: hidden;
	position: relative;
}

div.card div.card-img-top div.img
{
	background-size: cover !important;
	background-position: 50% 50%;
	background-repeat: no-repeat !important;
	transition: transform .5s;
}

div.card:hover div.card-img-top div.img
{
	transform: scale(1.2);
}

/* Card Body Layout */
div.card div.card-body
{
	flex-direction: row !important;
	display: flex !important;
	padding: 0;
}

/* Logo Slate - WHITE background for participants (not dark gray like activities) */
div.card div.slate
{
	display: flex;
	width: 6rem;
	height: 100%;
	min-height: 6.5rem;
	align-items: center !important;
	background-color: #ffffff;
	color: #fff;
	font-size: 1.5rem;
	font-variant: small-caps;
	font-weight: 200;
	text-align: center;
	text-transform: lowercase;
	justify-content: center;
	flex-direction: column;
	border: 0;
}

/* Region Color Borders - REMOVED (original SFBW has NO borders on participant cards) */

/* Card Caption */
div.card div.caption
{
	width: calc(100% - 9rem);
	height: 100%;
	left: 5rem;
	padding: 0.6rem 0.6rem 0rem 0.6rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1em;
	text-align: left;
}

div.card div.caption.caption-extend
{
	width: calc(100% - 3rem);
	left: 0;
	padding: 1rem 0.6rem 0rem 0.6rem;
}

div.card div.caption .card-title,
div.caption .card-text,
div.card div.caption .card-loc
{
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

div.card div.caption .card-title
{
	display: block;
	white-space: nowrap;
	color: #111111;
}

div.card div.caption .card-text
{
	height: 2.5rem;
	color: #55575b;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-height: 1.2rem;
}

div.card div.caption .card-loc
{
	display: block;
	margin-top: 0.4rem;
	margin-right: 1rem;
	font-size: 1rem;
	text-align: left;
	white-space: nowrap;
	color: #111111;
}

/* Controls Sidebar */
div.card div.controls
{
	width: 3rem;
	align-items: flex-start !important;
	padding: 0;
	padding-top: 0.7rem;
	font-size: 1.5rem;
	text-align: center;
}

div.card div.controls i.fa-bookmark
{
	margin-bottom: 0.2rem;
	color: #000;
	cursor: grab;
}

div.card div.controls i.fa-bookmark:active
{
	cursor: grabbing;
}

/* Activity Count Badges - Position OUTSIDE card with negative values */
div.card-img-top span.acts.listed
{
	position: absolute !important;
	top: -0.5rem !important;
	right: -0.5rem !important;
	left: auto !important;
	background-color: #EEA31B;
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	padding: 0.5rem;
	min-width: 3rem;
	height: 3rem;
	width: 3rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: none !important;
	transition: none !important;
	z-index: 10;
}

/* Prevent badge from being affected by parent hover transforms */
div.card:hover span.acts.listed,
div.card div.card-img-top:hover span.acts.listed
{
	transform: none !important;
}

div.card-img-top span.acts.soon
{
	position: absolute !important;
	top: -0.25rem !important;
	right: -0.25rem !important;
	left: auto !important;
	background-color: rgba(85, 87, 91, 0.9);
	color: #fff;
	font-weight: 400;
	font-size: 0.9rem;
	padding: 0.4rem 0.8rem;
	width: auto;
	height: auto;
	transform: none !important;
	transition: none !important;
	z-index: 10;
}

/* Prevent "Coming Soon" badge from being affected by parent hover transforms */
div.card:hover span.acts.soon,
div.card div.card-img-top:hover span.acts.soon
{
	transform: none !important;
}

/* Sponsor Star Icon - SF Beer Week Red/Orange */
i.icon-ftd,
div.card div.controls i.fa-star
{
	color: #E44325 !important;
	font-size: 19.2px !important;
}

/* List View Override */
.fltr_list div.card-img-top
{
	display: none;
}

/* Responsive Breakpoints */
@media screen and (max-width: 992px)
{
	div.card div.slate
	{
		font-weight: 400;
	}

	div.card div.caption .card-loc
	{
		margin-right: 1rem;
		text-align: left;
	}
}

/* Filter Control Utilities */
.ctrl_clear.hidden
{
	display: none;
}

.ctrl_options .btn-group
{
	margin-left: 0.25rem;
}

/* Region Button Colors */
/* Region Buttons - Solid colored backgrounds (always, not just when active) */
.btn-sf
{
	background-color: #EEA31B !important;
	border-color: #EEA31B !important;
	color: #fff !important;
}

.btn-nb
{
	background-color: #a3a983 !important;
	border-color: #a3a983 !important;
	color: #fff !important;
}

.btn-eb
{
	background-color: #af95a6 !important;
	border-color: #af95a6 !important;
	color: #fff !important;
}

.btn-sv
{
	background-color: #e08433 !important;
	border-color: #e08433 !important;
	color: #fff !important;
}

.btn-co
{
	background-color: #91b6bb !important;
	border-color: #91b6bb !important;
	color: #fff !important;
}
