/* =================================================================
   Events Widget — Calendar evenimente
   ================================================================= */

.events-section {
	padding: 3.5rem 0;
}

.events-heading {
	max-width: 720px;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.events-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.8rem;
	font-weight: 600;
	color: #1f5489;
	margin-bottom: 0.65rem;
}

.events-title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.6rem, 2.5vw, 2.25rem);
	line-height: 1.2;
	margin: 0 0 0.75rem 0;
	color: #163d63;
}

.events-intro {
	color: #6c757d;
	font-size: 1rem;
	margin: 0;
}

/* ── Lista ── */
.events-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 900px;
	margin: 0 auto;
}

/* ── Card ── */
.event-card {
	display: flex;
	gap: 1.25rem;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 0.85rem;
	padding: 1.1rem 1.25rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Dată — „pastilă" pătrată albastră */
.event-card__date {
	flex-shrink: 0;
	width: 72px;
	background: linear-gradient(180deg, #1f5489 0%, #163d63 100%);
	color: #ffffff;
	border-radius: 0.55rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0;
	text-align: center;
}

.event-card__day {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	font-family: "Playfair Display", Georgia, serif;
}

.event-card__month {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-top: 0.2rem;
	color: rgba(255, 255, 255, 0.9);
}

/* Body — conținut */
.event-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.event-card__when {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #d9a300;
	margin-bottom: 0.3rem;
}

.event-card__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0 0 0.35rem 0;
	color: #163d63;
}

.event-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.event-card__title a:hover {
	color: #1f5489;
	text-decoration: underline;
}

.event-card__desc {
	font-size: 0.9rem;
	line-height: 1.45;
	color: #555;
	margin: 0 0 0.5rem 0;
}

.event-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.82rem;
	color: #777;
}

.event-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.event-card__meta-item i {
	color: #1f5489;
	opacity: 0.7;
}

/* „Vezi toate" */
.events-footer {
	text-align: center;
	margin-top: 2rem;
}

.events-see-all {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.4rem;
	background: transparent;
	border: 1.5px solid #1f5489;
	color: #1f5489;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.events-see-all:hover,
.events-see-all:focus {
	background: #1f5489;
	color: #ffffff;
	text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
	.event-card {
		flex-direction: column;
		gap: 0.75rem;
	}

	.event-card__date {
		flex-direction: row;
		width: auto;
		padding: 0.4rem 0.75rem;
		gap: 0.5rem;
		align-self: flex-start;
	}

	.event-card__day {
		font-size: 1.3rem;
	}

	.event-card__month {
		margin-top: 0;
	}
}
