/*
 Theme Name:   Eat With Pleasure (GeneratePress Child)
 Theme URI:    https://eatwithpleasure.com
 Description:  Custom Warm Editorial Magazine design for Eat With Pleasure blog, built on GeneratePress.
 Author:       Eat With Pleasure
 Author URI:   https://eatwithpleasure.com
 Template:     generatepress
 Version:      1.1.0
 Text Domain:  generatepress-child
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
	/* Color Palette - Warm Editorial Food Magazine */
	--ewp-cream-bg: #FAF7F2;
	--ewp-cream-card: #FFFFFF;
	--ewp-cream-subtle: #F5EFE6;
	--ewp-cream-alt: #F0E8DC;

	--ewp-dark: #1E1A17;
	--ewp-text: #3D3732;
	--ewp-text-muted: #7A726A;
	--ewp-text-light: #A49B92;

	--ewp-terracotta: #C85A32;
	--ewp-terracotta-hover: #A8441F;
	--ewp-terracotta-soft: #FDF1EB;
	--ewp-terracotta-tint: rgba(200, 90, 50, 0.12);

	--ewp-sage: #526B54;
	--ewp-sage-soft: #EEF3EE;

	--ewp-border: #EAE3D9;
	--ewp-border-light: #F2ECE3;

	/* Footer Dark Palette */
	--ewp-footer-bg: #1B1715;
	--ewp-footer-surface: #24201D;
	--ewp-footer-text: #CCC2BB;
	--ewp-footer-muted: #958B85;

	/* Typography */
	--ewp-font-serif: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
	--ewp-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	/* Elevation & Shadows */
	--ewp-shadow-xs: 0 1px 3px rgba(30, 26, 23, 0.04);
	--ewp-shadow-sm: 0 3px 10px rgba(30, 26, 23, 0.05);
	--ewp-shadow-md: 0 12px 28px -6px rgba(30, 26, 23, 0.08);
	--ewp-shadow-lg: 0 20px 42px -10px rgba(30, 26, 23, 0.13);

	/* Radii */
	--ewp-r-sm: 8px;
	--ewp-r-md: 16px;
	--ewp-r-lg: 24px;
	--ewp-r-full: 9999px;

	/* Transitions */
	--ewp-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--ewp-duration: 0.3s;
}

/* ==========================================================================
   2. GLOBAL FOUNDATIONS & TYPOGRAPHY
   ========================================================================== */
html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--ewp-cream-bg) !important;
	color: var(--ewp-text) !important;
	font-family: var(--ewp-font-sans) !important;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background-color: var(--ewp-terracotta);
	color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ewp-font-serif) !important;
	color: var(--ewp-dark) !important;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

a {
	color: var(--ewp-terracotta);
	text-decoration: none;
	transition: color var(--ewp-duration) ease, opacity var(--ewp-duration) ease;
}

a:hover, a:focus {
	color: var(--ewp-terracotta-hover);
}

.site-content {
	padding-top: 40px;
	padding-bottom: 60px;
}

/* ==========================================================================
   3. HEADER & NAVIGATION STYLING
   ========================================================================== */
.site-header {
	background-color: rgba(255, 255, 255, 0.94) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ewp-border);
	position: sticky;
	top: 0;
	z-index: 999;
	transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.sticky-menu-fade {
	box-shadow: 0 4px 20px rgba(30, 26, 23, 0.05);
}

.inside-header {
	padding: 10px 30px !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
}

.site-logo {
	display: flex;
	align-items: center;
}

.site-logo img,
.site-header .header-image {
	max-height: 38px !important;
	width: auto !important;
	height: auto !important;
	transition: transform 0.3s ease;
}

.site-logo img:hover {
	transform: scale(1.02);
}

.main-navigation {
	background: transparent !important;
	display: flex;
	align-items: center;
}

.main-navigation .inside-navigation {
	display: flex;
	align-items: center;
}

.main-navigation .main-nav ul {
	display: flex;
	align-items: center;
}

.main-navigation .main-nav ul li a {
	font-family: var(--ewp-font-sans) !important;
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--ewp-dark) !important;
	padding: 8px 16px !important;
	line-height: 1.4 !important;
	position: relative;
	transition: color 0.25s ease;
}

.main-navigation .main-nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 16px;
	right: 16px;
	height: 2px;
	background-color: var(--ewp-terracotta);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s var(--ewp-ease);
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
	color: var(--ewp-terracotta) !important;
}

.main-navigation .main-nav ul li:hover > a::after,
.main-navigation .main-nav ul li.current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Search Modal Trigger */
.menu-bar-items {
	display: inline-flex;
	align-items: center;
}

.menu-bar-items .menu-bar-item a {
	color: var(--ewp-dark) !important;
	padding: 6px 10px !important;
	display: inline-flex;
	align-items: center;
	transition: color 0.2s ease;
}

.menu-bar-items .menu-bar-item a:hover {
	color: var(--ewp-terracotta) !important;
}

/* Hide duplicate mobile search icon & controls on desktop */
@media (min-width: 769px) {
	.has-inline-mobile-toggle .mobile-menu-control-wrapper,
	.mobile-menu-control-wrapper,
	#mobile-menu-control-wrapper {
		display: none !important;
	}
}

/* ==========================================================================
   4. HOMEPAGE EDITORIAL HERO SECTION
   ========================================================================== */
.ewp-hero-banner {
	background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, var(--ewp-cream-bg) 75%);
	border-bottom: 1px solid var(--ewp-border);
	padding: 64px 20px 52px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ewp-hero-banner::before {
	content: '';
	position: absolute;
	top: -60px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 250px;
	background: radial-gradient(ellipse at center, rgba(200, 90, 50, 0.07) 0%, transparent 70%);
	pointer-events: none;
}

.ewp-hero-inner {
	max-width: 840px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.ewp-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--ewp-terracotta-soft);
	color: var(--ewp-terracotta);
	font-family: var(--ewp-font-sans);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 6px 16px;
	border-radius: var(--ewp-r-full);
	border: 1px solid rgba(200, 90, 50, 0.2);
	margin-bottom: 22px;
}

.ewp-sparkle {
	font-size: 0.85rem;
}

.ewp-hero-headline {
	font-size: clamp(2.3rem, 5vw, 3.4rem);
	line-height: 1.18;
	color: var(--ewp-dark);
	margin-bottom: 18px;
}

.ewp-highlight-text {
	color: var(--ewp-terracotta);
	font-style: italic;
	font-weight: 800;
}

.ewp-hero-lead {
	font-size: 1.12rem;
	line-height: 1.68;
	color: var(--ewp-text-muted);
	max-width: 680px;
	margin: 0 auto 32px;
}

.ewp-hero-topics {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ewp-topics-title {
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ewp-text-light);
}

.ewp-topics-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ewp-topic-pill {
	background-color: var(--ewp-cream-card);
	color: var(--ewp-text);
	border: 1px solid var(--ewp-border);
	font-size: 0.86rem;
	font-weight: 500;
	padding: 7px 16px;
	border-radius: var(--ewp-r-full);
	box-shadow: var(--ewp-shadow-xs);
	transition: all 0.25s var(--ewp-ease);
}

.ewp-pill-dot {
	color: var(--ewp-terracotta);
	margin-right: 2px;
}

.ewp-topic-pill:hover {
	background-color: var(--ewp-terracotta);
	border-color: var(--ewp-terracotta);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(200, 90, 50, 0.25);
}

.ewp-topic-pill:hover .ewp-pill-dot {
	color: #ffffff;
}

/* ==========================================================================
   5. EDITORIAL HORIZONTAL CARD FEED (BLOG & ARCHIVES)
   ========================================================================== */
.separate-containers .site-main {
	margin-bottom: 20px;
}

/* Reset parent theme and GP Premium clearfixes that interfere with CSS grid */
.ewp-editorial-card .inside-article::before,
.ewp-editorial-card .inside-article::after,
.ewp-card-grid::before,
.ewp-card-grid::after {
	display: none !important;
	content: none !important;
	clear: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* Container card overrides */
.blog article.post,
.archive article.post,
.search article.post,
.ewp-editorial-card {
	background-color: var(--ewp-cream-card) !important;
	border: 1px solid var(--ewp-border) !important;
	border-radius: var(--ewp-r-md) !important;
	box-shadow: var(--ewp-shadow-sm) !important;
	margin-bottom: 28px !important;
	overflow: hidden;
	transition: transform var(--ewp-duration) var(--ewp-ease), 
	            box-shadow var(--ewp-duration) var(--ewp-ease), 
	            border-color var(--ewp-duration) ease !important;
}

.ewp-editorial-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ewp-shadow-md) !important;
	border-color: rgba(200, 90, 50, 0.3) !important;
}

.ewp-editorial-card .inside-article {
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
}

/* Grid split: Image on Left (340px), Content on Right */
.ewp-card-grid {
	display: grid !important;
	grid-template-columns: 340px 1fr !important;
	align-items: stretch !important;
	width: 100% !important;
	min-height: 260px;
}

@media (max-width: 900px) {
	.ewp-card-grid {
		grid-template-columns: 280px 1fr !important;
	}
}

@media (max-width: 768px) {
	.ewp-card-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Left Media Wrap */
.ewp-card-media-wrap {
	position: relative !important;
	background-color: var(--ewp-cream-subtle) !important;
	overflow: hidden !important;
	float: none !important;
	margin: 0 !important;
	min-height: 240px;
	height: 100% !important;
}

@media (max-width: 768px) {
	.ewp-card-media-wrap {
		aspect-ratio: 16 / 10;
		height: auto !important;
		min-height: 200px;
	}
}

.ewp-media-link {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	position: relative !important;
	overflow: hidden;
}

.ewp-card-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.6s var(--ewp-ease) !important;
	float: none !important;
	margin: 0 !important;
}

@media (max-width: 768px) {
	.ewp-card-image {
		position: relative !important;
	}
}

.ewp-editorial-card:hover .ewp-card-image {
	transform: scale(1.06) !important;
}

/* Fallback image when no featured image exists */
.ewp-card-fallback-image {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--ewp-cream-subtle) 0%, var(--ewp-cream-alt) 100%);
	color: var(--ewp-text-muted);
	padding: 40px 20px;
}

.ewp-fallback-icon {
	font-size: 2.4rem;
	margin-bottom: 8px;
}

.ewp-fallback-text {
	font-family: var(--ewp-font-serif);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ewp-dark);
}

/* Category Badge Overlay */
.ewp-card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--ewp-terracotta) !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 12px;
	border-radius: var(--ewp-r-full);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 2;
	transition: all 0.25s ease;
}

.ewp-card-badge:hover {
	background: var(--ewp-terracotta);
	color: #ffffff !important;
}

/* Right Content Column */
.ewp-card-body {
	padding: 30px 32px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@media (max-width: 600px) {
	.ewp-card-body {
		padding: 22px 20px 20px;
	}
}

/* Top Meta Row (Date & Reading Time) */
.ewp-meta-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--ewp-text-muted);
	margin-bottom: 12px;
}

.ewp-meta-date,
.ewp-meta-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ewp-meta-dot {
	color: var(--ewp-border);
}

/* Title */
.ewp-card-body .entry-title {
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
	line-height: 1.3;
	margin: 0 0 14px 0;
}

.ewp-card-body .entry-title a {
	color: var(--ewp-dark) !important;
	transition: color 0.25s ease;
}

.ewp-editorial-card:hover .entry-title a,
.ewp-card-body .entry-title a:hover {
	color: var(--ewp-terracotta) !important;
}

/* Excerpt */
.ewp-card-body .entry-summary {
	color: var(--ewp-text-muted);
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 22px;
}

.ewp-card-body .entry-summary p {
	margin-bottom: 0;
}

/* Card Footer */
.ewp-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--ewp-border-light);
	padding-top: 18px;
	margin-top: auto;
}

.ewp-author-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: var(--ewp-text);
}

.ewp-author-thumb {
	border-radius: 50% !important;
	width: 26px !important;
	height: 26px !important;
}

.ewp-author-by {
	color: var(--ewp-text-light);
	font-size: 0.8rem;
}

.ewp-author-name {
	font-weight: 600;
	color: var(--ewp-dark);
}

/* Read Story Link Button */
.ewp-read-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ewp-terracotta) !important;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition: all 0.25s var(--ewp-ease);
}

.ewp-read-button svg {
	transition: transform 0.25s var(--ewp-ease);
}

.ewp-editorial-card:hover .ewp-read-button svg,
.ewp-read-button:hover svg {
	transform: translateX(4px);
}

.ewp-read-button:hover {
	color: var(--ewp-terracotta-hover) !important;
}

/* ==========================================================================
   6. SIDEBAR ENHANCEMENTS & CUSTOM MODULES
   ========================================================================== */
.sidebar .widget,
.ewp-sidebar-widget {
	background-color: var(--ewp-cream-card) !important;
	border: 1px solid var(--ewp-border) !important;
	border-radius: var(--ewp-r-md) !important;
	box-shadow: var(--ewp-shadow-sm) !important;
	padding: 30px 26px !important;
	margin-bottom: 30px !important;
}

/* Author Profile Module */
.ewp-sidebar-author-widget {
	text-align: center;
	background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #FAF6F0 100%) !important;
}

.ewp-sidebar-avatar-wrap {
	margin-bottom: 14px;
}

.ewp-sidebar-avatar {
	border-radius: 50%;
	border: 3px solid #ffffff;
	box-shadow: 0 6px 18px rgba(30, 26, 23, 0.1);
	transition: transform 0.3s ease;
}

.ewp-sidebar-avatar:hover {
	transform: scale(1.05);
}

.ewp-sidebar-tag {
	display: inline-block;
	background-color: var(--ewp-sage-soft);
	color: var(--ewp-sage);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 3px 12px;
	border-radius: var(--ewp-r-full);
	margin-bottom: 10px;
}

.ewp-sidebar-author-title {
	font-size: 1.25rem !important;
	margin-bottom: 12px !important;
}

.ewp-sidebar-author-text {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--ewp-text-muted);
	margin-bottom: 20px;
}

.ewp-sidebar-author-socials {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.ewp-sidebar-author-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: var(--ewp-cream-subtle);
	color: var(--ewp-dark) !important;
	transition: all 0.25s var(--ewp-ease);
}

.ewp-sidebar-author-socials a:hover {
	background-color: var(--ewp-terracotta);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(200, 90, 50, 0.3);
}

/* Newsletter Module */
.ewp-sidebar-newsletter-widget {
	background: linear-gradient(145deg, #FFF9F5 0%, #FFFFFF 100%) !important;
	border: 1px solid rgba(200, 90, 50, 0.25) !important;
	position: relative;
}


.ewp-newsletter-subtitle {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ewp-terracotta);
	margin-bottom: 4px;
}

.ewp-newsletter-title {
	font-size: 1.35rem !important;
	line-height: 1.3 !important;
	margin-bottom: 10px !important;
}

.ewp-newsletter-text {
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--ewp-text-muted);
	margin-bottom: 18px;
}

.ewp-form-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 8px;
}

.ewp-newsletter-input {
	width: 100%;
	padding: 12px 16px !important;
	border: 1px solid var(--ewp-border) !important;
	background-color: #ffffff !important;
	border-radius: var(--ewp-r-sm) !important;
	font-size: 0.9rem !important;
	color: var(--ewp-text) !important;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ewp-newsletter-input:focus {
	border-color: var(--ewp-terracotta) !important;
	box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.15) !important;
	outline: none;
}

.ewp-newsletter-submit {
	width: 100%;
	background-color: var(--ewp-terracotta) !important;
	color: #ffffff !important;
	border: none !important;
	padding: 12px 20px !important;
	border-radius: var(--ewp-r-sm) !important;
	font-family: var(--ewp-font-sans) !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: all 0.25s var(--ewp-ease) !important;
	box-shadow: 0 4px 14px rgba(200, 90, 50, 0.25);
}

.ewp-newsletter-submit:hover {
	background-color: var(--ewp-terracotta-hover) !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(200, 90, 50, 0.35);
}

.ewp-newsletter-privacy {
	display: block;
	font-size: 0.74rem;
	color: var(--ewp-text-light);
	text-align: center;
}

/* Sidebar Top Posts & Block Widgets */
.sidebar .widget#block-9 {
	margin-bottom: 0 !important;
	border-bottom: none !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	padding-bottom: 8px !important;
}

.sidebar .widget#block-8 {
	border-top: none !important;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	padding-top: 4px !important;
}

.sidebar .widget_block h2 {
	font-size: 1.25rem !important;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 18px !important;
}

.sidebar .widget_block h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 36px;
	height: 2px;
	background-color: var(--ewp-terracotta);
}

.wp-block-latest-posts__list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--ewp-border-light);
	transition: transform 0.2s ease;
}

.wp-block-latest-posts__list li:hover {
	transform: translateX(4px);
}

.wp-block-latest-posts__list li:last-child {
	border-bottom: none;
}

.wp-block-latest-posts__featured-image img {
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wp-block-latest-posts__post-title {
	font-family: var(--ewp-font-serif) !important;
	font-size: 0.96rem !important;
	font-weight: 600 !important;
	color: var(--ewp-dark) !important;
	line-height: 1.4 !important;
}

.wp-block-latest-posts__post-title:hover {
	color: var(--ewp-terracotta) !important;
}

/* ==========================================================================
   7. SINGLE POST ENHANCEMENTS
   ========================================================================== */
.single .site-main article.post {
	background-color: var(--ewp-cream-card) !important;
	border: 1px solid var(--ewp-border) !important;
	border-radius: var(--ewp-r-md) !important;
	box-shadow: var(--ewp-shadow-sm) !important;
	padding: 40px 50px !important;
}

@media (max-width: 600px) {
	.single .site-main article.post {
		padding: 24px 20px !important;
	}
}

.single .entry-header .entry-title {
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1.22;
	margin-bottom: 16px;
}

.single .entry-meta {
	font-size: 0.88rem;
	color: var(--ewp-text-muted);
	padding-bottom: 24px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--ewp-border-light);
}

.single .post-image img {
	border-radius: var(--ewp-r-md);
	box-shadow: var(--ewp-shadow-md);
	margin-bottom: 35px;
}

.single .entry-content {
	font-size: 1.08rem;
	line-height: 1.85;
	color: var(--ewp-text);
}

.single .entry-content p {
	margin-bottom: 1.6em;
}

/* First paragraph drop cap */
.single .entry-content > p:first-of-type::first-letter {
	font-family: var(--ewp-font-serif);
	font-size: 3.8em;
	line-height: 0.8;
	float: left;
	margin: 8px 12px 0 0;
	color: var(--ewp-terracotta);
	font-weight: 700;
}

/* Styled Blockquotes */
blockquote {
	border-left: 3px solid var(--ewp-terracotta) !important;
	background-color: var(--ewp-cream-subtle);
	padding: 24px 30px !important;
	margin: 36px 0 !important;
	border-radius: 0 var(--ewp-r-sm) var(--ewp-r-sm) 0;
	font-family: var(--ewp-font-serif) !important;
	font-size: 1.25rem !important;
	font-style: italic;
	line-height: 1.6 !important;
	color: var(--ewp-dark) !important;
	position: relative;
}

blockquote::before {
	content: '“';
	font-size: 3.5rem;
	line-height: 1;
	color: rgba(200, 90, 50, 0.25);
	position: absolute;
	top: 8px;
	left: 10px;
	pointer-events: none;
}

/* Single Author Box below content */
.ewp-single-author-card {
	display: flex;
	gap: 24px;
	align-items: center;
	background-color: var(--ewp-cream-subtle);
	border: 1px solid var(--ewp-border);
	border-radius: var(--ewp-r-md);
	padding: 28px 32px;
	margin-top: 45px;
	margin-bottom: 25px;
}

@media (max-width: 600px) {
	.ewp-single-author-card {
		flex-direction: column;
		text-align: center;
		padding: 24px 20px;
	}
}

.ewp-author-box-avatar img {
	border-radius: 50%;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 12px rgba(30, 26, 23, 0.1);
}

.ewp-author-box-label {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ewp-terracotta);
	margin-bottom: 4px;
}

.ewp-author-box-name {
	font-size: 1.35rem !important;
	margin-bottom: 8px !important;
}

.ewp-author-box-bio {
	font-size: 0.93rem;
	line-height: 1.6;
	color: var(--ewp-text-muted);
	margin-bottom: 12px;
}

.ewp-author-box-link {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ewp-terracotta);
}

.ewp-author-box-link:hover {
	color: var(--ewp-terracotta-hover);
}

/* Post Navigation (Next / Previous) */
.post-navigation {
	margin-top: 40px;
	padding-top: 25px;
	border-top: 1px solid var(--ewp-border);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.post-navigation a {
	font-family: var(--ewp-font-serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ewp-dark);
}

.post-navigation a:hover {
	color: var(--ewp-terracotta);
}

/* ==========================================================================
   8. MODERN MULTI-COLUMN FOOTER
   ========================================================================== */
.ewp-main-footer {
	background-color: var(--ewp-footer-bg);
	color: var(--ewp-footer-text);
	padding: 70px 20px 50px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ewp-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1.2fr 1.2fr 1.8fr;
	gap: 40px;
}

@media (max-width: 900px) {
	.ewp-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
}

@media (max-width: 600px) {
	.ewp-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.ewp-footer-logo img {
	max-height: 42px;
	width: auto;
	filter: brightness(0) invert(1);
	margin-bottom: 16px;
}

.ewp-footer-desc {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--ewp-footer-muted);
	margin-bottom: 20px;
}

.ewp-footer-social-links {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
	font-weight: 600;
}

.ewp-footer-social-links a {
	color: var(--ewp-footer-text);
}

.ewp-footer-social-links a:hover {
	color: #ffffff;
}

.ewp-footer-bullet {
	color: rgba(255, 255, 255, 0.2);
}

.ewp-footer-heading {
	font-size: 1.15rem !important;
	color: #ffffff !important;
	margin-bottom: 20px !important;
	position: relative;
	padding-bottom: 10px;
}

.ewp-footer-heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 28px;
	height: 2px;
	background-color: var(--ewp-terracotta);
}

.ewp-footer-menu {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.ewp-footer-menu li {
	margin-bottom: 10px;
}

.ewp-footer-menu li a {
	color: var(--ewp-footer-muted);
	font-size: 0.9rem;
	transition: color 0.2s ease, transform 0.2s ease;
	display: inline-block;
}

.ewp-footer-menu li a:hover {
	color: #ffffff;
	transform: translateX(3px);
}

.ewp-footer-cta-text {
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--ewp-footer-muted);
	margin-bottom: 16px;
}

.ewp-footer-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ewp-footer-input {
	background-color: var(--ewp-footer-surface) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #ffffff !important;
	padding: 12px 16px !important;
	border-radius: var(--ewp-r-sm) !important;
	font-size: 0.88rem !important;
	box-sizing: border-box;
}

.ewp-footer-input:focus {
	border-color: var(--ewp-terracotta) !important;
	outline: none;
}

.ewp-footer-btn {
	background-color: var(--ewp-terracotta) !important;
	color: #ffffff !important;
	border: none !important;
	padding: 12px 20px !important;
	border-radius: var(--ewp-r-sm) !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ewp-footer-btn:hover {
	background-color: var(--ewp-terracotta-hover) !important;
}

/* Bottom Copyright Bar */
.site-info {
	background-color: #14110F !important;
	border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
	color: var(--ewp-footer-muted) !important;
	font-size: 0.82rem !important;
	padding: 22px 20px !important;
	text-align: center;
}

.site-info a {
	color: var(--ewp-footer-text);
}

.site-info a:hover {
	color: #ffffff;
}

/* Back to Top Smooth Button */
a.generate-back-to-top {
	background-color: var(--ewp-terracotta) !important;
	border-radius: 50% !important;
	width: 44px !important;
	height: 44px !important;
	line-height: 44px !important;
	box-shadow: 0 4px 14px rgba(200, 90, 50, 0.35) !important;
	transition: all 0.25s var(--ewp-ease) !important;
}

a.generate-back-to-top:hover {
	background-color: var(--ewp-terracotta-hover) !important;
	transform: translateY(-3px) !important;
}

/* ==========================================================================
   9. JUMP TO RECIPE & PREMIUM RECIPE CARD STYLING
   ========================================================================== */

/* Jump to Recipe Button */
.ewp-jump-recipe-wrap {
	margin: 18px 0 28px 0;
	display: flex;
	align-items: center;
}

.ewp-jump-recipe-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: var(--ewp-terracotta-soft);
	color: var(--ewp-terracotta) !important;
	border: 1px solid rgba(200, 90, 50, 0.25);
	padding: 9px 20px;
	border-radius: var(--ewp-r-full);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: all 0.25s var(--ewp-ease);
	box-shadow: 0 2px 6px rgba(200, 90, 50, 0.08);
}

.ewp-jump-recipe-btn svg {
	transition: transform 0.2s ease;
}

.ewp-jump-recipe-btn:hover {
	background-color: var(--ewp-terracotta);
	color: #ffffff !important;
	border-color: var(--ewp-terracotta);
	box-shadow: 0 4px 14px rgba(200, 90, 50, 0.25);
	transform: translateY(-2px);
}

.ewp-jump-recipe-btn:hover svg {
	transform: translateY(2px);
}

/* Recipe Card Container */
.ewp-recipe-card {
	background-color: #FFFFFF;
	border: 1.5px solid var(--ewp-border);
	border-radius: var(--ewp-r-lg);
	box-shadow: var(--ewp-shadow-md);
	padding: 42px 46px;
	margin: 50px 0 40px;
	position: relative;
	overflow: hidden;
}

@media (max-width: 768px) {
	.ewp-recipe-card {
		padding: 28px 20px;
		margin: 36px 0;
		border-radius: var(--ewp-r-md);
	}
}

/* Card Top Bar & Header */
.ewp-rc-header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ewp-border-light);
}

.ewp-rc-header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}

.ewp-rc-badge {
	display: inline-flex;
	align-items: center;
	background-color: var(--ewp-terracotta-soft);
	color: var(--ewp-terracotta);
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 5px 14px;
	border-radius: var(--ewp-r-full);
	border: 1px solid rgba(200, 90, 50, 0.2);
}

/* Print Button */
.ewp-rc-print-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background-color: #ffffff;
	color: var(--ewp-text);
	border: 1px solid var(--ewp-border);
	padding: 7px 16px;
	border-radius: var(--ewp-r-full);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s var(--ewp-ease);
	box-shadow: var(--ewp-shadow-xs);
}

.ewp-rc-print-btn:hover {
	background-color: var(--ewp-terracotta);
	color: #ffffff;
	border-color: var(--ewp-terracotta);
	box-shadow: 0 4px 12px rgba(200, 90, 50, 0.2);
	transform: translateY(-1px);
}

.ewp-rc-print-btn svg {
	flex-shrink: 0;
}

.ewp-rc-title {
	font-family: var(--ewp-font-serif) !important;
	font-size: 2.15rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: var(--ewp-dark) !important;
	margin: 0 0 12px 0 !important;
}

@media (max-width: 768px) {
	.ewp-rc-title {
		font-size: 1.65rem !important;
	}
}

.ewp-rc-byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 0.88rem;
	color: var(--ewp-text-muted);
}

.ewp-rc-byline strong {
	color: var(--ewp-dark);
}

.ewp-rc-dot {
	color: var(--ewp-border);
}

/* Meta Specs Grid (Prep, Cook, Servings, etc.) */
.ewp-rc-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px;
	margin-bottom: 34px;
}

.ewp-rc-meta-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: var(--ewp-cream-subtle);
	border: 1px solid var(--ewp-border-light);
	border-radius: var(--ewp-r-sm);
	padding: 12px 14px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.ewp-rc-meta-item:hover {
	border-color: var(--ewp-border);
	transform: translateY(-2px);
}

.ewp-rc-meta-icon {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 50%;
	background-color: #ffffff;
	color: var(--ewp-terracotta);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(30, 26, 23, 0.05);
}

.ewp-rc-meta-data {
	display: flex;
	flex-direction: column;
}

.ewp-rc-meta-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ewp-text-muted);
	line-height: 1.2;
}

.ewp-rc-meta-value {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ewp-dark);
	margin-top: 2px;
	line-height: 1.2;
}

/* Recipe Sub-Sections */
.ewp-rc-section {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--ewp-border-light);
}

.ewp-rc-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.ewp-rc-section-heading {
	font-family: var(--ewp-font-serif) !important;
	font-size: 1.45rem !important;
	font-weight: 700 !important;
	color: var(--ewp-dark) !important;
	margin: 0 !important;
}

.ewp-rc-pill-count {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ewp-text-muted);
	background-color: var(--ewp-cream-subtle);
	border: 1px solid var(--ewp-border-light);
	padding: 4px 12px;
	border-radius: var(--ewp-r-full);
}

/* Ingredients Checklist */
.ewp-rc-ingredients-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ewp-rc-ingredient-item {
	padding: 8px 10px;
	border-radius: 6px;
	border-bottom: 1px dashed var(--ewp-border-light);
	transition: background-color 0.15s ease;
}

.ewp-rc-ingredient-item:last-child {
	border-bottom: none;
}

.ewp-rc-ingredient-item:hover {
	background-color: var(--ewp-cream-subtle);
}

.ewp-rc-ingredient-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	user-select: none;
	width: 100%;
	margin: 0;
}

/* Hidden Native Checkbox */
.ewp-rc-checkbox {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

/* Custom Checkbox */
.ewp-rc-checkbox-custom {
	width: 19px;
	height: 19px;
	min-width: 19px;
	border: 2px solid var(--ewp-border);
	border-radius: 5px;
	background-color: #ffffff;
	margin-top: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	position: relative;
}

.ewp-rc-ingredient-label:hover .ewp-rc-checkbox-custom {
	border-color: var(--ewp-terracotta);
}

.ewp-rc-checkbox:checked + .ewp-rc-checkbox-custom {
	background-color: var(--ewp-terracotta);
	border-color: var(--ewp-terracotta);
}

.ewp-rc-checkbox:checked + .ewp-rc-checkbox-custom::after {
	content: '';
	position: absolute;
	width: 5px;
	height: 9px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

/* Ingredient Text Crossout */
.ewp-rc-ingredient-text {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ewp-text);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.ewp-rc-checkbox:checked ~ .ewp-rc-ingredient-text {
	text-decoration: line-through;
	color: var(--ewp-text-light);
	opacity: 0.65;
}

/* Instructions List */
.ewp-rc-instructions-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ewp-rc-instruction-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 10px 0;
}

.ewp-rc-step-badge {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 50%;
	background-color: var(--ewp-terracotta-soft);
	color: var(--ewp-terracotta);
	font-family: var(--ewp-font-serif);
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	box-shadow: 0 2px 6px rgba(200, 90, 50, 0.12);
}

.ewp-rc-step-body {
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--ewp-text);
	flex: 1;
}

/* Chef's Notes */
.ewp-rc-notes-section {
	background-color: var(--ewp-sage-soft);
	border-left: 4px solid var(--ewp-sage);
	border-radius: var(--ewp-r-sm);
	padding: 24px 26px;
	margin-top: 36px;
}

.ewp-rc-notes-heading {
	font-family: var(--ewp-font-serif) !important;
	font-size: 1.18rem !important;
	font-weight: 700 !important;
	color: var(--ewp-dark) !important;
	margin: 0 0 12px 0 !important;
}

.ewp-rc-notes-list {
	margin: 0 !important;
	padding-left: 20px !important;
	color: var(--ewp-text);
	font-size: 0.96rem;
	line-height: 1.7;
}

.ewp-rc-notes-list li {
	margin-bottom: 8px;
}

.ewp-rc-notes-list li:last-child {
	margin-bottom: 0;
}

/* Recipe Card Footer */
.ewp-rc-footer {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--ewp-border-light);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.ewp-rc-share-text {
	font-size: 0.88rem;
	color: var(--ewp-text-muted);
}

.ewp-rc-share-text strong {
	color: var(--ewp-terracotta);
}

/* ==========================================================================
   10. PRINT STYLESHEET FOR RECIPES
   ========================================================================== */
@media print {
	.site-header,
	.site-footer,
	.ewp-main-footer,
	.site-info,
	.sidebar,
	.widget-area,
	.comments-area,
	.ewp-single-author-card,
	.post-navigation,
	.ewp-hero-banner,
	.ewp-jump-recipe-wrap,
	.ewp-rc-print-btn,
	.entry-header,
	.page-header-image-single,
	.entry-meta,
	.generate-back-to-top {
		display: none !important;
	}

	body,
	.site-content,
	.content-area,
	.inside-article {
		background: #ffffff !important;
		color: #000000 !important;
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.ewp-recipe-card {
		border: 1px solid #cccccc !important;
		box-shadow: none !important;
		padding: 20px !important;
		margin: 0 !important;
		page-break-inside: avoid;
	}

	.ewp-rc-meta-item {
		border: 1px solid #eeeeee !important;
		background: #fafafa !important;
	}

	.ewp-rc-checkbox-custom {
		border: 1px solid #333333 !important;
	}

	.ewp-rc-step-badge {
		background: #eeeeee !important;
		color: #000000 !important;
	}

	.ewp-rc-notes-section {
		background: #f7f7f7 !important;
		border-left: 3px solid #666666 !important;
	}
}
