.euregha-sections {
	--euregha-icon-width: 175px;
	--euregha-button: #36558f;
	--euregha-active: #36558f;
	--euregha-panel: #f0f4f9;
	--euregha-text: #263a64;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
}

.euregha-sections__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.625rem);
}

.euregha-sections__item {
	display: grid;
	grid-template-rows: 1fr auto;
	justify-items: center;
	gap: 1rem;
	min-width: 0;
}

.euregha-sections img.euregha-sections__icon {
	width: min(100%, var(--euregha-icon-width));
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	align-self: end;
}

.euregha-sections button.euregha-sections__button {
	grid-row: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 3.5rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--euregha-button);
	border-radius: 0.5rem;
	background: #fff;
	color: var(--euregha-button);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
}

.euregha-sections button.euregha-sections__button:hover,
.euregha-sections button.euregha-sections__button[aria-expanded="true"] {
	border-color: var(--euregha-active);
	background: var(--euregha-active);
	color: #fff;
}

.euregha-sections button.euregha-sections__button:focus-visible {
	outline: 2px solid var(--euregha-button);
	outline-offset: 3px;
}

.euregha-sections__toggle {
	flex: none;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
}

.euregha-sections__panel {
	margin-top: 1.5rem;
	padding: clamp(1rem, 3vw, 2rem);
	border-inline-start: 5px solid #839f39;
	border-radius: 0.625rem;
	background: var(--euregha-panel);
	color: var(--euregha-text);
	overflow-wrap: anywhere;
}

.euregha-sections__panel[hidden] {
	display: none !important;
}

.euregha-sections__panel h3 {
	margin: 0 0 0.75rem;
	color: inherit;
}

.euregha-sections__panel > :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.euregha-sections {
		--euregha-icon-width: 130px;
	}

	.euregha-sections__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.euregha-sections button.euregha-sections__button {
		font-size: 0.875rem;
	}
}
