/**
 * Module: Reunert Group Section (3x3 card slider + copy + CTA).
 * Loaded only when a `reunrt_group_section` layout is present.
 * Button + arrow-icon colours come from ACF (inline styles).
 */

/* Slider */
.reunert-section .reunert-slider {
	overflow: visible;
}
.reunert-section .reunert-grid {
	margin: 0 -0.5rem;
}

/* Card tile */
.reunert-section .reunert-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	padding: 1.25rem;
	background-color: #fff;
	border: 1px solid var(--fuchs-200, #D3D2D2);
	border-radius: 12px;
	text-decoration: none;
	transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}
.reunert-section a.reunert-card:hover,
.reunert-section a.reunert-card:focus {
	box-shadow: 0 12px 28px rgba(15, 31, 65, 0.12);
	transform: translateY(-2px);
}

.reunert-section .reunert-card-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
}
.reunert-section .reunert-card-logo img {
	max-width: 100%;
	max-height: 68px;
	object-fit: contain;
}

/* Corner arrow icon (block_icon on the brand colour). */
.reunert-section .reunert-card-arrow {
	position: absolute;
	right: 0.6rem;
	bottom: 0.6rem;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background-color: var(--fuchs-primary, #1260A9);
}
.reunert-section .reunert-card-arrow img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

/* Dot indicators sit below the grid. */
.reunert-section .reunert-indicators {
	position: static;
	margin: 1.25rem 0 0;
}
.reunert-section .reunert-indicators [data-bs-target] {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background-color: var(--fuchs-300, #BDBCBC);
	opacity: 1;
}
.reunert-section .reunert-indicators .active {
	background-color: var(--fuchs-primary, #1260A9);
}

/* Copy column */
.reunert-section .reunert-sub {
	font-size: 1.05rem;
	margin-bottom: 1.75rem;
}
.reunert-section .reunert-btn {
	color: #fff;
}
.reunert-section .reunert-btn:hover,
.reunert-section .reunert-btn:focus {
	color: #fff;
	filter: brightness(0.94);
}

@media (min-width: 992px) {
	.reunert-section .reunert-content {
		padding-left: 1.5rem;
	}
}
