/**
 * Spelleverantör profile band — also doubles as the provider page hero.
 */

.mrc-provider-profile {
	margin: 0;
	padding: 1.75rem 0 1.9rem;
	background: #000;
	border-bottom: 1px solid rgba(199, 154, 59, 0.28);
	color: var(--mrc-text-light, #eee9df);
}

.mrc-provider-profile--hero {
	position: relative;
	padding: 2.25rem 0 2.35rem;
	background: #000;
	overflow: hidden;
}

.mrc-provider-profile--hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--mrc-gold, #c79a3b), transparent);
	pointer-events: none;
}

.mrc-provider-profile__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.5rem;
}

.mrc-provider-profile--hero .mrc-provider-profile__inner {
	gap: 1.75rem;
}

.mrc-provider-profile__intro {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.1rem 1.25rem;
	align-items: start;
	max-width: 46rem;
}

.mrc-provider-profile--hero .mrc-provider-profile__intro {
	max-width: 52rem;
	gap: 1.25rem 1.5rem;
}

.mrc-provider-profile__logo {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	padding: 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(199, 154, 59, 0.35);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.mrc-provider-profile__logo--light {
	background: #fff;
	border-color: rgba(199, 154, 59, 0.35);
}

.mrc-provider-profile__logo--dark {
	background: #0b0f16;
	border-color: rgba(255, 255, 255, 0.14);
}

.mrc-provider-profile--hero .mrc-provider-profile__logo {
	width: 96px;
	height: 96px;
	padding: 12px;
	border-radius: 18px;
}

.mrc-provider-profile__logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.mrc-provider-profile__eyebrow {
	margin: 0 0 0.3rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mrc-gold, #c79a3b);
}

.mrc-provider-profile__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #fff;
}

.mrc-provider-profile--hero .mrc-provider-profile__title {
	margin-bottom: 0.65rem;
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.mrc-provider-profile__about {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.6;
	color: rgba(238, 233, 223, 0.88);
}

.mrc-provider-profile--hero .mrc-provider-profile__about {
	font-size: 1.05rem;
	max-width: 40rem;
}

.mrc-provider-profile__highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.mrc-provider-profile__highlight {
	margin: 0;
	padding: 0.28rem 0.65rem;
	border-radius: 4px;
	border: 1px solid rgba(199, 154, 59, 0.22);
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(238, 233, 223, 0.92);
}

.mrc-provider-profile__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: 0.85rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mrc-provider-profile__stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0;
	padding: 0.85rem 0.95rem;
	border-radius: 0;
	border-left: 2px solid rgba(199, 154, 59, 0.75);
	background: rgba(255, 255, 255, 0.03);
}

.mrc-provider-profile__stat-value {
	font-size: 1.125rem;
	font-weight: 750;
	letter-spacing: -0.015em;
	line-height: 1.2;
	color: #fff;
}

.mrc-provider-profile__stat-label {
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(170, 166, 157, 0.95);
}

.mrc-provider-profile__games {
	padding-top: 0.15rem;
	border-top: 1px solid rgba(199, 154, 59, 0.18);
}

.mrc-provider-profile__games-label {
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mrc-gold, #c79a3b);
}

.mrc-provider-profile__games-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mrc-provider-profile__game {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0.35rem 0.7rem;
	border: 1px solid rgba(199, 154, 59, 0.28);
	border-radius: 999px;
	background: rgba(199, 154, 59, 0.08);
}

.mrc-provider-profile__game--has-image {
	padding: 0.3rem 0.75rem 0.3rem 0.3rem;
	border-radius: 12px;
}

.mrc-provider-profile__game-thumb {
	display: block;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.mrc-provider-profile__game-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mrc-provider-profile__game-text {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.1rem;
	min-width: 0;
}

.mrc-provider-profile__game-name {
	font-size: 0.875rem;
	font-weight: 650;
	color: #fff;
}

.mrc-provider-profile__game-note {
	font-size: 0.75rem;
	color: rgba(170, 166, 157, 0.95);
}

.mrc-provider-profile__games--flagship {
	padding-top: 0.85rem;
}

.mrc-provider-profile__game--flagship {
	border-color: rgba(238, 233, 223, 0.22);
	background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 560px) {
	.mrc-provider-profile__intro {
		grid-template-columns: 1fr;
	}

	.mrc-provider-profile__logo {
		width: 64px;
		height: 64px;
	}

	.mrc-provider-profile--hero .mrc-provider-profile__logo {
		width: 72px;
		height: 72px;
	}

	.mrc-provider-profile--hero {
		padding: 1.6rem 0 1.85rem;
	}
}
