/**
 * Egg Break Category & Archive Pages Stylesheet
 *
 * @package EggBreak
 */

/* ==========================================================================
   1. CATEGORY HERO BANNER (MATCHING SIGNATURE SITE DESIGN & IMAGE 2)
   ========================================================================== */

.egg-break-category-hero-banner {
	position: relative;
	width: 100%;
	background-color: #FBBE05;
	background-image: url("../images/hero-bg.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 60px 24px 80px 24px;
	box-sizing: border-box;
	text-align: center;
}

.egg-break-hero-inner-container {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Tilted Pink Sticker Badge (Matching "Recipes" / "Farming" Pink Badge) */
.egg-break-single-categories {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.egg-break-cat-sticker {
	display: inline-block;
	background-color: #E23F97;
	color: #FFFFFF !important;
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 800;
	padding: 6px 22px;
	border-radius: 12px;
	transform: rotate(-3deg);
	box-shadow: 0 6px 18px rgba(226, 63, 151, 0.4);
	text-decoration: none !important;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
	cursor: pointer;
}

.egg-break-cat-sticker:hover {
	transform: rotate(0deg) scale(1.08);
	box-shadow: 0 10px 26px rgba(226, 63, 151, 0.55);
}

/* Category Title (H1) */
.egg-break-category-title {
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 48px;
	font-weight: 900;
	line-height: 1.15;
	color: #1C1C1C;
	margin: 0 0 20px 0;
	letter-spacing: -0.02em;
	text-transform: capitalize;
}

.egg-break-category-desc {
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	color: #333333;
	max-width: 680px;
	margin: 0 auto 20px auto;
}

/* Glassmorphic White Breadcrumbs Pill Container */
.egg-break-breadcrumbs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 600;
	color: #2D2D2D;
	margin-top: 16px;
	margin-bottom: 0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 10px 24px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.egg-break-breadcrumbs a {
	color: #1C1C1C;
	text-decoration: none;
	transition: color 0.2s ease;
}

.egg-break-breadcrumbs a:hover {
	color: #E23F97;
}

.egg-break-breadcrumbs .separator {
	color: #888888;
	font-size: 12px;
}

.egg-break-breadcrumbs .current-page {
	color: #E23F97;
	font-weight: 700;
	max-width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==========================================================================
   2. CATEGORY BLOG GRID (3 COLUMNS)
   ========================================================================== */

.egg-break-category-archive {
	width: 100%;
	padding: 56px 0 80px 0;
}

.egg-break-category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 56px;
}

.egg-break-category-card {
	background: #FFFFFF;
	border: 1px solid #EAEAEA;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.egg-break-category-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
	border-color: #FBBE05;
}

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

.egg-break-card-img-wrap {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background-color: #F4F4F6;
	position: relative;
}

.egg-break-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.egg-break-category-card:hover .egg-break-card-img-wrap img {
	transform: scale(1.06);
}

.egg-break-card-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #FBBE05;
	color: #1C1C1C;
	font-weight: 900;
	font-size: 24px;
}

.egg-break-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.egg-break-card-top-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #E23F97;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.egg-break-card-read-time {
	color: #777777;
	font-weight: 500;
}

.egg-break-card-title {
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
	color: #1C1C1C;
	margin: 0 0 20px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.egg-break-card-footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #F0F0F0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.egg-break-author-box {
	display: flex;
	align-items: center;
	gap: 10px;
}

.egg-break-author-box .egg-break-author-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #FBBE05;
}

.egg-break-author-box .egg-break-author-name {
	font-size: 13px;
	font-weight: 700;
	color: #333333;
}

.egg-break-read-more-arrow {
	font-size: 18px;
	font-weight: 800;
	color: #E23F97;
	transition: transform 0.2s ease;
}

.egg-break-category-card:hover .egg-break-read-more-arrow {
	transform: translateX(4px);
}

/* ==========================================================================
   3. PAGINATION & NO POSTS STYLING
   ========================================================================== */

.egg-break-pagination-wrap {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.egg-break-pagination-wrap .nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.egg-break-pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border-radius: 14px;
	background: #FFFFFF;
	border: 1px solid #EAEAEA;
	color: #1C1C1C;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: all 0.25s ease;
}

.egg-break-pagination-wrap .page-numbers.current,
.egg-break-pagination-wrap .page-numbers:hover {
	background-color: #FBBE05;
	color: #1C1C1C;
	border-color: #FBBE05;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(251, 190, 5, 0.35);
}

.egg-break-no-posts {
	text-align: center;
	padding: 80px 24px;
	background: #FFFFFF;
	border-radius: 24px;
	border: 1px solid #EAEAEA;
	max-width: 600px;
	margin: 0 auto;
}

.egg-break-no-posts h3 {
	font-size: 24px;
	font-weight: 800;
	color: #1C1C1C;
	margin-top: 0;
}

.egg-break-no-posts p {
	font-size: 16px;
	color: #666666;
	margin-bottom: 24px;
}

.egg-break-back-home-btn {
	display: inline-block;
	background-color: #E23F97;
	color: #FFFFFF !important;
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 14px;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(226, 63, 151, 0.35);
	transition: transform 0.2s ease;
}

.egg-break-back-home-btn:hover {
	transform: translateY(-2px);
}

/* Responsive Rules */
@media (min-width: 769px) {
	body:not(.elementor-device-mobile) .egg-break-show-on-mobile {
		display: none !important;
	}
	body:not(.elementor-device-mobile) .egg-break-hide-on-mobile {
		display: block !important;
	}
}

@media (max-width: 991px) {
	.egg-break-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.egg-break-category-title {
		font-size: 40px;
	}
}

@media (max-width: 640px) {
	.egg-break-category-grid {
		grid-template-columns: 1fr;
	}
	.egg-break-category-title {
		font-size: 32px;
	}
}

@media (max-width: 768px), body.elementor-device-mobile {
	.egg-break-hide-on-mobile {
		display: none !important;
	}

	.egg-break-show-on-mobile {
		display: block !important;
	}

	/* Top Hero Banner Mobile Rules (700px Height, Content Positioned Up in Yellow Space) */
	.egg-break-single-hero-banner,
	.egg-break-category-hero-banner {
		height: 700px !important;
		min-height: 700px !important;
		width: 100% !important;
		background-size: cover !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		padding-top: 85px !important;
		padding-bottom: 20px !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		text-align: center !important;
	}

	.egg-break-single-hero-banner[style*="--hero-bg-mobile"],
	.egg-break-category-hero-banner[style*="--hero-bg-mobile"] {
		background-image: var(--hero-bg-mobile) !important;
	}

	.egg-break-hero-inner-container {
		align-items: center !important;
		justify-content: flex-start !important;
		text-align: center !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		padding: 0 16px !important;
	}

	.egg-break-single-title,
	.egg-break-category-title {
		text-align: center !important;
		font-size: 26px !important;
		line-height: 1.25 !important;
		margin: 8px auto 14px auto !important;
		width: 100% !important;
		max-width: 92% !important;
	}

	.egg-break-single-meta-bar {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		margin: 0 auto 12px auto !important;
		padding: 10px 16px !important;
		border-radius: 24px !important;
		width: auto !important;
		max-width: 92% !important;
		gap: 8px !important;
	}

	.egg-break-meta-left {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 6px !important;
		width: 100% !important;
		text-align: center !important;
	}

	.egg-break-single-share {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 8px !important;
		margin-top: 4px !important;
	}

	.egg-break-breadcrumbs {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		align-self: center !important;
		margin: 6px auto 0 auto !important;
		text-align: center !important;
	}

	/* Bottom Callout Banner Mobile Rules (Hidden Completely on Mobile) */
	.egg-break-bottom-callout-banner {
		display: none !important;
	}
}



