/* Hubbo Prisma Startrad – ersätter Nimble-sektionen på startsidan */

.hpsr-rad {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 0 40px;
	background: #fff;
	font-family: Montserrat, sans-serif;
	box-sizing: border-box;
}

.hpsr-rad *,
.hpsr-rad *::before,
.hpsr-rad *::after {
	box-sizing: border-box;
}

.hpsr-kol {
	position: relative;
	min-height: 334px;
}

/* Vänster: Kommande evenemang */
.hpsr-evenemang {
	flex: 0 0 30%;
	max-width: 30%;
	padding: 0 0 0 10px;
	background: #fff;
}

.hpsr-evenemang .hpsr-widget {
	margin: 0;
	padding: 0;
}

/* Mitten: Fotofika med bakgrundsbild */
.hpsr-fotofika {
	flex: 0 0 35%;
	max-width: 35%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 10px 20px;
	background-color: #333;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.hpsr-ruta {
	width: calc(100% - 40px);
	margin: 20px 20px 10px;
	padding: 20px 20px 10px;
	background: rgba(132, 132, 132, 0.73);
	color: #fff;
	text-align: center;
	line-height: 1.5;
}

.hpsr-ruta p {
	margin: 0 0 12px;
	color: #fff;
}

.hpsr-fika-rubrik {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.hpsr-fika-text {
	font-size: 18.67px;
}

.hpsr-fika-valkomna {
	font-size: 24px;
}

/* Höger: Vill du bli medlem? */
.hpsr-medlem {
	flex: 0 0 35%;
	max-width: 35%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: #e8e8e8;
	text-align: center;
}

.hpsr-rad .hpsr-medlem-rubrik {
	margin: 0 0 16px;
	padding: 0;
	font-family: Poppins, sans-serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 1.2;
	color: #000;
	text-transform: none;
	letter-spacing: normal;
}

.hpsr-medlem-text {
	margin: 0 0 20px;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	line-height: 27px;
	color: #514f4f;
}

/* Knappar */
.hpsr-rad .hpsr-knapp {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	border: 0;
}

.hpsr-rad .hpsr-knapp:hover,
.hpsr-rad .hpsr-knapp:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.25);
}

.hpsr-rad .hpsr-knapp:active {
	transform: translateY(1px);
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.hpsr-knapp-gron {
	padding: 8px 16px;
	font-family: sans-serif;
	font-size: 16px;
	border-radius: 2px;
	background: #72b237;
}

.hpsr-knapp-rod {
	padding: 9px 18px;
	font-family: Roboto, sans-serif;
	font-size: 18px;
	border-radius: 10px;
	background: #ff595e;
}

/* Mobil och surfplatta: rutorna under varandra */
@media (max-width: 767px) {
	.hpsr-evenemang,
	.hpsr-fotofika,
	.hpsr-medlem {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.hpsr-evenemang {
		padding: 0 10px 20px;
		min-height: 0;
	}

	.hpsr-rad .hpsr-medlem-rubrik {
		font-size: 30px;
	}
}
