/**
 * Egg Break Blog Hero Featured Widget Stylesheet
 *
 * @package EggBreakElements
 */

.egg-break-blog-hero-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.egg-break-blog-hero-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr;
	gap: 28px;
	width: 100%;
	box-sizing: border-box;
}

.egg-break-hero-card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	color: inherit !important;
	height: 100%;
}

.egg-break-hero-img-wrap {
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	background-color: #f4f4f4;
	margin-bottom: 14px;
}

.egg-break-hero-img-wrap.main-img-wrap {
	height: 380px;
}

.egg-break-hero-img-wrap.side-img-wrap {
	height: 160px;
}

.egg-break-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.egg-break-hero-card-link:hover .egg-break-hero-img {
	transform: scale(1.05);
}

.egg-break-hero-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.egg-break-hero-title {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-weight: 700;
	color: #222222;
	margin: 0 0 6px 0;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.egg-break-hero-title.main-title {
	font-size: 26px;
}

.egg-break-hero-title.side-title {
	font-size: 16px;
}

.egg-break-hero-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.egg-break-hero-date {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #FBBE05;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.egg-break-hero-meta-row .egg-break-author-info {
	display: flex;
	align-items: center;
	gap: 8px;
}

.egg-break-hero-meta-row .egg-break-author-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.egg-break-hero-meta-row .egg-break-author-avatar.avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #E2E8F0;
	color: #475569;
	font-weight: 700;
	font-size: 12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.egg-break-hero-meta-row .egg-break-author-name {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-weight: 500;
	font-size: 13px;
	color: #475569;
}

.egg-break-hero-side {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: 24px;
}

@media (max-width: 900px) {
	.egg-break-blog-hero-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.egg-break-hero-img-wrap.main-img-wrap {
		height: 280px;
	}

	.egg-break-hero-img-wrap.side-img-wrap {
		height: 200px;
	}
}
