/* Y Bento1 — base layout & defaults
   Colors/fonts/spacing set here are safe fallbacks; the Elementor widget's
   Style tab (and the Settings > Y Bento1 defaults) override these per-instance
   via inline selectors, so this file mainly defines structure. */

.ybento1-wrapper {
	font-family: Georgia, "Times New Roman", serif;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ---------- Hero card ---------- */
.ybento1-hero {
	position: relative;
	overflow: hidden;
	background-color: #4c5a30;
	--ybento1-hero-glow: #6b7a3f;
	border-radius: 20px;
	padding: 48px;
	color: #f4efe4;
}

.ybento1-hero::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -60px;
	width: 260px;
	height: 260px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at center, var(--ybento1-hero-glow) 0%, transparent 72%);
	opacity: 0.55;
	pointer-events: none;
}

.ybento1-hero > * {
	position: relative;
	z-index: 1;
}

/* ---------- Grid of cards ---------- */
.ybento1-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ybento1-card {
	background-color: #f4efe6;
	border-radius: 20px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ---------- Shared text elements ---------- */
.ybento1-number {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
	color: #c98a4b;
}

.ybento1-title {
	font-size: 22px;
	line-height: 1.25;
	margin-bottom: 12px;
}

.ybento1-hero .ybento1-title {
	font-size: 40px;
}

.ybento1-desc {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 16px;
	flex-grow: 1;
}

.ybento1-refs {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 8px;
}

.ybento1-pill {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	font-size: 12.5px;
	letter-spacing: 0.02em;
	line-height: 1;
	color: #c98a4b;
	background-color: transparent;
	border: 1px solid #c98a4b;
	border-radius: 999px;
	padding: 8px 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ybento1-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ybento1-grid {
		grid-template-columns: 1fr;
	}
	.ybento1-hero {
		padding: 32px;
	}
	.ybento1-hero .ybento1-title {
		font-size: 30px;
	}
}
