.sendpal-home-stats-group {
	background: #ffffff;
	padding: 0;
	margin: 0;
}

.sendpal-home-stats {
	font-family: "Roboto", sans-serif;
	background: transparent;
	padding: 0;
	margin: 0;
}

.sendpal-home-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	align-items: stretch;
}

.sendpal-home-stats__item {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	border-right: 1px solid #ecf0f1;
	box-sizing: border-box;
}

.sendpal-home-stats__item:last-child {
	border-right: none;
}

.sendpal-home-stats__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	max-width: 220px;
	padding: 0 20px;
	margin: 0 auto;
}

.sendpal-home-stats__icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: #040066;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

.sendpal-home-stats__stat {
	margin: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sendpal-home-stats__value {
	margin: 0 0 6px;
	padding: 0;
	width: 100%;
	text-align: center;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #2c3e50;
	letter-spacing: -0.01em;
}

.sendpal-home-stats__value--text {
	font-size: 1.15rem;
	line-height: 1.35;
	margin-bottom: 4px;
}

.sendpal-home-stats__label {
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	font-size: 1rem;
	line-height: 1.5;
	color: #7f8c8d;
	font-weight: 400;
}

/*
 * Fixed-height flex row: line is always vertically centered in this band,
 * directly above the Explore Trips block (not inside the stats group).
 */
.sendpal-section-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 88px;
	margin: 0;
	padding: 0 20px;
	background: #ffffff;
	clear: both;
}

.sendpal-section-divider__line {
	display: block;
	width: 30%;
	min-width: 120px;
	max-width: 320px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #dce3ea;
}

html[dir="rtl"] .sendpal-home-stats__item {
	border-right: none;
	border-left: 1px solid #ecf0f1;
}

html[dir="rtl"] .sendpal-home-stats__item:last-child {
	border-left: none;
}

.sendpal-home-stats-seo-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sendpal-section-divider + .sendpal-trip-listings,
.sendpal-home-stats-group + .sendpal-section-divider + .sendpal-trip-listings,
.sendpal-home-stats-group ~ .sendpal-trip-listings {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.sendpal-home-stats-group .container {
    padding-bottom: 20px !important;
}

.sendpal-section-divider + .sendpal-trip-listings .trip-listings-title,
.sendpal-home-stats-group ~ .sendpal-trip-listings .trip-listings-title {
	margin-top: 0 !important;
}

@media (max-width: 991px) {
	.sendpal-home-stats-group {
		padding-top: 10px;
	}

	.sendpal-home-stats__grid {
		--stats-row-gap: 36px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 0;
	}

	.sendpal-home-stats__item {
		border-right: none;
		border-bottom: none;
	}

	html[dir="rtl"] .sendpal-home-stats__item {
		border-left: none;
	}

	.sendpal-home-stats__item:nth-child(odd) {
		border-right: 1px solid #ecf0f1;
	}

	html[dir="rtl"] .sendpal-home-stats__item:nth-child(odd) {
		border-right: none;
		border-left: 1px solid #ecf0f1;
	}

	.sendpal-home-stats__item:nth-child(-n + 2) {
		padding-bottom: calc((var(--stats-row-gap) - 1px) / 2);
		border-bottom: 1px solid #ecf0f1;
	}

	.sendpal-home-stats__item:nth-child(n + 3) {
		padding-top: calc((var(--stats-row-gap) - 1px) / 2);
	}

	.sendpal-section-divider {
		height: 76px;
	}
}

@media (max-width: 575px) {
	.sendpal-home-stats-group {
		padding-top: 8px;
	}

	/* Keep 2×2 grid; center horizontal rule in the row gap (not under top tiles) */
	.sendpal-home-stats__grid {
		--stats-row-gap: 28px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 0;
		column-gap: 0;
	}

	.sendpal-home-stats__item {
		justify-content: center;
		border-right: none;
		border-bottom: none;
	}

	html[dir="rtl"] .sendpal-home-stats__item {
		border-left: none;
	}

	.sendpal-home-stats__item:nth-child(odd) {
		border-right: 1px solid #ecf0f1;
	}

	html[dir="rtl"] .sendpal-home-stats__item:nth-child(odd) {
		border-right: none;
		border-left: 1px solid #ecf0f1;
	}

	.sendpal-home-stats__item:nth-child(-n + 2) {
		padding-bottom: calc((var(--stats-row-gap) - 1px) / 2);
		border-bottom: 1px solid #ecf0f1;
	}

	.sendpal-home-stats__item:nth-child(n + 3) {
		padding-top: calc((var(--stats-row-gap) - 1px) / 2);
	}

	.sendpal-home-stats__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		max-width: 100%;
		padding: 0 12px;
	}

	.sendpal-home-stats__icon {
		width: 44px;
		height: 44px;
		font-size: 18px;
		margin: 0 auto 12px;
	}

	.sendpal-home-stats__value {
		font-size: 1.35rem;
	}

	.sendpal-home-stats__value--text {
		font-size: 1rem;
	}

	.sendpal-home-stats__label {
		font-size: 0.9rem;
		line-height: 1.4;
	}

	.sendpal-section-divider {
		height: 64px;
	}

	.sendpal-section-divider__line {
		width: 40%;
	}
}
