/* ==========================================================================
   EnterprisePress — Main Editorial Stylesheet
   Inspired by Foxiz Enterprise: Royal Navy Header, Yellow CTAs, Coral Wavy
   Dividers, High-Contrast Sans-Serif Typography, Light & Dark Mode.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	font-size: var(--ep-font-size, 16px);
}

body {
	margin: 0;
	font-family: var(--ep-font-body, 'Inter', sans-serif);
	line-height: var(--ep-body-lh, 1.68);
	color: var(--ep-body, #4B5563);
	background-color: var(--ep-bg, #FFFFFF);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color 0.25s ease, color 0.25s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, transform 0.2s ease; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ep-font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: var(--ep-heading-weight, 800);
	line-height: var(--ep-heading-lh, 1.22);
	color: var(--ep-heading, #0F172A);
	margin: 0 0 0.65rem;
	letter-spacing: -0.02em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ep-container {
	width: 100%;
	max-width: var(--ep-container, 1280px);
	margin: 0 auto;
	padding: 0 24px;
}

/* Buttons */
.ep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 7px;
	font-family: var(--ep-font-meta, 'Plus Jakarta Sans', sans-serif);
	font-weight: 700;
	font-size: 0.875rem;
	border: 0;
	cursor: pointer;
	line-height: 1.2;
	white-space: nowrap;
}
.ep-btn-yellow { background: var(--ep-yellow, #FFCA28); color: var(--ep-yellow-tx, #111827); }
.ep-btn-yellow:hover { filter: brightness(0.95); transform: translateY(-1px); }
.ep-btn-cta { background: var(--ep-cta-bg, #FFCA28); color: var(--ep-cta-tx, #111827); }
.ep-btn-cta:hover { filter: brightness(0.95); transform: translateY(-1px); }
.ep-btn-orange { background: var(--ep-orange, #FF6B00); color: #FFFFFF; }
.ep-btn-orange:hover { filter: brightness(0.93); transform: translateY(-1px); }
.ep-btn-block { width: 100%; }

/* ==========================================================================
   TOP NOTICE BAR
   ========================================================================== */
.ep-notice-bar {
	background: var(--ep-notice-bg, #0B1638);
	color: var(--ep-notice-tx, #E2E8F0);
	font-size: 0.8125rem;
	padding: 9px 0;
}
.ep-notice-bar[hidden] { display: none; }
.ep-notice-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.ep-notice-text { margin: 0; }
.ep-notice-btn {
	background: rgba(255, 255, 255, 0.14);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 5px;
	padding: 5px 14px;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}
.ep-notice-btn:hover { background: var(--ep-yellow, #FFCA28); color: #111827; border-color: transparent; }

/* ==========================================================================
   MAIN STICKY HEADER (ROYAL NAVY)
   ========================================================================== */
.ep-site-header {
	background: var(--ep-header-bg, #112255);
	color: var(--ep-header-tx, #FFFFFF);
	height: var(--ep-header-h, 72px);
	position: relative;
	z-index: 900;
	box-shadow: 0 2px 12px rgba(11, 22, 56, 0.16);
}
.ep-site-header.is-sticky { position: sticky; top: 0; }
.admin-bar .ep-site-header.is-sticky { top: 32px; }

.ep-header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 28px;
}
.ep-header-layout-center-nav .ep-primary-nav { margin: 0 auto; }
.ep-header-layout-center-logo .ep-header-brand-wrap { order: 2; margin: 0 auto; }
.ep-header-layout-center-logo .ep-primary-nav { order: 1; }
.ep-header-layout-center-logo .ep-header-controls { order: 3; }

.ep-header-brand-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Signature Enterprise Wordmark + Yellow Swoosh */
.ep-brand {
	display: inline-flex;
	align-items: center;
	position: relative;
	font-family: var(--ep-font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: 800;
	font-size: 1.55rem;
	letter-spacing: -0.035em;
	color: var(--ep-header-tx, #FFFFFF);
	padding-right: 8px;
}
.ep-brand-text { position: relative; z-index: 2; }
.ep-brand-swoosh {
	position: absolute;
	right: 0;
	bottom: 2px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ep-yellow, #FFCA28);
	opacity: 0.92;
	z-index: 1;
	transform: rotate(-14deg) scaleY(0.72);
}
.ep-brand-footer { color: var(--ep-footer-hd, #0F172A); font-size: 1.35rem; }

/* Primary Navigation */
.ep-primary-nav { flex: 1; }
.ep-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}
.ep-nav-list > li { position: relative; }
.ep-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 7px;
	font-family: var(--ep-font-meta, 'Plus Jakarta Sans', sans-serif);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ep-header-tx, #FFFFFF);
}
.ep-nav-list > li.current-menu-item > a,
.ep-nav-list > li.current_page_item > a,
.ep-nav-list > li > a:hover {
	background: var(--ep-header-pill, rgba(255, 255, 255, 0.16));
}

/* Submenus */
.ep-nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	background: var(--ep-bg, #FFFFFF);
	color: var(--ep-heading, #0F172A);
	border: 1px solid var(--ep-border, #E5E7EB);
	border-radius: 10px;
	padding: 8px;
	list-style: none;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.18s ease;
	z-index: 950;
}
.ep-nav-list li:hover > .sub-menu,
.ep-nav-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.ep-nav-list .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ep-heading, #0F172A);
}
.ep-nav-list .sub-menu a:hover { background: var(--ep-surface, #F4F6F9); color: var(--ep-primary, #112255); }

/* Header Right Controls */
.ep-header-controls {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex-shrink: 0;
}
.ep-icon-btn {
	background: transparent;
	border: 0;
	color: inherit;
	padding: 7px;
	border-radius: 7px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ep-icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.ep-header-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.24); }
.ep-mobile-trigger { display: none; }

/* Dark / Light Mode Pill Toggle */
.ep-theme-switch {
	width: 50px;
	height: 28px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.24);
	padding: 3px;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
}
.ep-switch-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #FFFFFF;
	color: #112255;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}
.ep-switch-thumb .ep-ico-moon { display: none; }
[data-theme="dark"] .ep-switch-thumb {
	transform: translateX(22px);
	background: var(--ep-orange, #FF6B00);
	color: #FFFFFF;
}
[data-theme="dark"] .ep-switch-thumb .ep-ico-sun { display: none; }
[data-theme="dark"] .ep-switch-thumb .ep-ico-moon { display: inline-flex; }

/* Single-Post Sticky Reading Title & Progress Bar */
.ep-reading-title-bar {
	display: none;
	flex: 1;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 0.9rem;
}
.ep-site-header.is-reading .ep-primary-nav { display: none; }
.ep-site-header.is-reading .ep-reading-title-bar { display: flex; }
.ep-reading-label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--ep-yellow, #FFCA28);
	flex-shrink: 0;
}
.ep-reading-post-title {
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ep-reading-progress {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 0%;
	background: var(--ep-yellow, #FFCA28);
	transition: width 0.08s linear;
}

/* Search Modal & Mobile Drawer */
.ep-search-modal, .ep-mobile-drawer { position: fixed; inset: 0; z-index: 1200; }
.ep-search-modal[hidden], .ep-mobile-drawer[hidden] { display: none; }
.ep-search-backdrop, .ep-drawer-backdrop { position: absolute; inset: 0; background: rgba(11, 22, 56, 0.72); backdrop-filter: blur(4px); }
.ep-search-dialog {
	position: relative;
	max-width: 640px;
	margin: 12vh auto 0;
	background: var(--ep-bg, #FFFFFF);
	padding: 32px;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.ep-search-close { position: absolute; top: 14px; right: 14px; color: var(--ep-heading); }
.ep-search-form { display: flex; gap: 10px; margin-top: 14px; }
.ep-search-form input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid var(--ep-border);
	background: var(--ep-surface);
	color: var(--ep-heading);
	font-size: 1rem;
}

.ep-drawer-panel {
	position: relative;
	width: min(320px, 86vw);
	height: 100%;
	background: var(--ep-header-bg, #112255);
	color: #FFFFFF;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow-y: auto;
}
.ep-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.ep-mobile-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ep-mobile-menu a { display: block; padding: 10px 12px; border-radius: 7px; font-weight: 600; color: #FFFFFF; }
.ep-mobile-menu a:hover { background: rgba(255, 255, 255, 0.14); }
.ep-drawer-cta { margin-top: auto; width: 100%; }

/* ==========================================================================
   SECTIONS, HEADERS & SIGNATURE DIVIDERS
   ========================================================================== */
.ep-section { padding: 38px 0 18px; }
.ep-surface-subtle { background: var(--ep-surface, #F4F6F9); padding: 48px 0; }
.ep-surface-dark-navy {
	background: var(--ep-primary, #112255);
	color: #CBD5E1;
	padding: 54px 0;
	margin: 24px 0;
}
.ep-surface-dark-navy h2,
.ep-surface-dark-navy h3,
.ep-surface-dark-navy .ep-card-title a,
.ep-surface-dark-navy .ep-author-name,
.ep-surface-dark-navy .ep-view-all { color: #FFFFFF; }
.ep-surface-dark-navy .ep-card-excerpt,
.ep-surface-dark-navy .ep-meta-readtime,
.ep-surface-dark-navy .ep-sec-subtitle { color: #CBD5E1; }

.ep-sec-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.ep-sec-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.6rem;
	margin: 0;
}
.ep-sec-subtitle {
	display: block;
	font-size: 0.875rem;
	color: var(--ep-muted);
	margin-top: 4px;
	font-weight: 500;
}
.ep-curved-arrow { flex-shrink: 0; transform: translateY(-2px); }
.ep-view-all {
	font-family: var(--ep-font-meta);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ep-heading);
	white-space: nowrap;
}
.ep-view-all:hover { color: var(--ep-coral); }

.ep-wavy-divider {
	width: 100%;
	height: 12px;
	margin: 34px 0 8px;
	overflow: hidden;
}
.ep-wavy-divider svg { width: 100%; height: 12px; display: block; }

/* ==========================================================================
   FLEXIBLE RESPONSIVE GRIDS (1 TO 6 COLUMNS)
   ========================================================================== */
.ep-grid { display: grid; gap: 26px; }
.ep-cols-1 { grid-template-columns: 1fr; }
.ep-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ep-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ep-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ep-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ep-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ==========================================================================
   POST CARDS & META ELEMENTS
   ========================================================================== */
.ep-card { display: flex; flex-direction: column; min-width: 0; }
.ep-card-media {
	position: relative;
	display: block;
	border-radius: var(--ep-radius, 10px);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 13px;
	background: var(--ep-surface);
}
.ep-card-hero-featured .ep-card-media { aspect-ratio: 16 / 10.5; margin-bottom: 16px; }
.ep-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.ep-card:hover .ep-thumb-img { transform: scale(1.03); }
.ep-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.32);
	font-size: 3rem;
	font-weight: 800;
}

.ep-cat-badge {
	display: inline-block;
	font-family: var(--ep-font-meta);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.ep-cat-badge:hover { opacity: 0.8; }

.ep-card-title a:hover { color: var(--ep-coral, #E63946); }
.ep-surface-dark-navy .ep-card-title a:hover { color: var(--ep-yellow, #FFCA28); }
.ep-title-sm { font-size: 0.98rem; line-height: 1.32; margin-bottom: 0; }
.ep-title-md { font-size: 1.15rem; line-height: 1.28; margin-bottom: 8px; }
.ep-title-xl { font-size: 1.95rem; line-height: 1.16; margin-bottom: 12px; }

.ep-card-excerpt {
	font-size: 0.91rem;
	color: var(--ep-body);
	margin: 0 0 12px;
	line-height: 1.55;
}

.ep-meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--ep-font-meta);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ep-muted);
	margin-top: auto;
}
.ep-meta-author { display: inline-flex; align-items: center; gap: 7px; color: var(--ep-heading); }
.ep-author-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ep-sponsored-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--ep-orange); }

/* Segmented Review Score Bar (e.g. 9.4 OUT OF 10) */
.ep-review-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 10px;
}
.ep-review-segments { display: flex; gap: 3px; width: 92px; }
.ep-review-seg { height: 5px; flex: 1; border-radius: 2px; }
.ep-review-label { font-family: var(--ep-font-meta); font-size: 0.74rem; font-weight: 800; color: var(--ep-heading); }
.ep-review-label em { font-style: normal; font-weight: 600; color: var(--ep-muted); }

/* Video Play Badges */
.ep-play-badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(17, 34, 85, 0.78);
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
	pointer-events: none;
}
.ep-play-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ep-play-lg { width: 62px; height: 62px; }
.ep-play-corner { right: 12px; bottom: 12px; width: 34px; height: 34px; }
.ep-play-corner svg { width: 14px; height: 14px; }

/* Compact Circle Thumbnail Card */
.ep-card-compact-circle {
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ep-border);
	position: relative;
}
.ep-card-compact-circle:last-child { border-bottom: 0; padding-bottom: 0; }
.ep-circle-thumb {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--ep-surface);
}
.ep-card-compact-circle .ep-card-body { flex: 1; min-width: 0; }

/* Numbered Right Rail & Strip Cards */
.ep-card-numbered {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 0;
	border-bottom: 1px solid var(--ep-border);
}
.ep-card-numbered:first-child { padding-top: 4px; }
.ep-card-numbered:last-child { border-bottom: 0; }
.ep-watermark-num {
	font-family: var(--ep-font-heading);
	font-size: 2.15rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ep-border);
	flex-shrink: 0;
	letter-spacing: -0.04em;
}
.ep-numbered-strip { margin-top: 22px; }
.ep-numbered-strip .ep-card-compact-circle { border-bottom: 0; padding-bottom: 0; }

/* Horizontal Split Cards (Business Solutions) */
.ep-card-horizontal {
	flex-direction: row;
	align-items: center;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ep-border);
}
.ep-card-horizontal .ep-card-body { flex: 1; min-width: 0; }
.ep-media-split { width: 42%; aspect-ratio: 4 / 3; margin-bottom: 0; flex-shrink: 0; }

/* Full-Bleed Overlay Cards */
.ep-card-overlay { position: relative; border-radius: var(--ep-radius); overflow: hidden; min-height: 310px; }
.ep-overlay-link { display: block; width: 100%; height: 100%; position: relative; }
.ep-overlay-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ep-overlay-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,56,0.08) 25%, rgba(11,22,56,0.9) 100%); }
.ep-overlay-content { position: relative; z-index: 2; padding: 22px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; color: #FFFFFF; }
.ep-overlay-content .ep-card-title { color: #FFFFFF; margin-bottom: 8px; }
.ep-overlay-meta { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; opacity: 0.85; display: flex; gap: 6px; }

/* ==========================================================================
   SPECIFIC FOXIZ ENTERPRISE HOMEPAGE LAYOUTS
   ========================================================================== */

/* 1. Hero 3-Column Asymmetrical (25% / 50% / 25%) */
.ep-hero-3col {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 28px;
	align-items: start;
}
.ep-hero-left { display: flex; flex-direction: column; gap: 22px; }
.ep-rail-heading {
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

/* 2. Latest News Asymmetrical (30% Left List / 70% Right Banner + Grid) */
.ep-latest-asym {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.ep-latest-left { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--ep-header-h, 72px) + 20px); }

/* Promo Banners (Dark Royal Navy + Yellow Button) */
.ep-promo-banner {
	background: linear-gradient(115deg, var(--ep-primary, #112255) 0%, #1B3678 100%);
	color: #FFFFFF;
	border-radius: 12px;
	padding: 26px 30px;
	margin-bottom: 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	position: relative;
}
.ep-promo-mid { margin: 28px 0; }
.ep-promo-title { color: #FFFFFF; font-size: 1.32rem; margin: 0 0 14px; max-width: 540px; }
.ep-promo-art { position: relative; width: 120px; height: 90px; flex-shrink: 0; }
.ep-promo-orb {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--ep-yellow, #FFCA28);
}
.ep-promo-card-mock {
	position: absolute;
	right: 26px;
	top: 8px;
	width: 64px;
	height: 78px;
	border-radius: 8px;
	background: #FFFFFF;
	color: var(--ep-primary);
	font-weight: 900;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(-10deg);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* 3. By Categories Portrait Overlay Cards */
.ep-cat-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 3 / 4;
	border-radius: var(--ep-radius);
	overflow: hidden;
	background-color: var(--ep-primary);
	background-size: cover;
	background-position: center;
	padding: 20px 18px;
}
.ep-cat-card:hover { transform: translateY(-4px); }
.ep-cat-card-grad { position: absolute; inset: 0; }
.ep-cat-card-inner { position: relative; z-index: 2; color: #FFFFFF; }
.ep-cat-card-title { display: block; font-family: var(--ep-font-heading); font-size: 1.15rem; font-weight: 800; line-height: 1.22; margin-bottom: 4px; }
.ep-cat-card-count { font-family: var(--ep-font-meta); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0.88; }

/* 4. 50/50 Featured Spotlight */
.ep-spotlight-hero {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 36px;
	align-items: center;
}
.ep-spotlight-title { font-size: 2rem; line-height: 1.18; margin-bottom: 14px; }
.ep-spotlight-media { display: block; border-radius: var(--ep-radius); overflow: hidden; aspect-ratio: 16 / 10; }

/* 5. Full-Width Dark Video Showcase */
.ep-video-hero {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 34px;
	align-items: center;
	margin-bottom: 34px;
	padding-bottom: 34px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ep-video-hero-media { position: relative; display: block; border-radius: var(--ep-radius); overflow: hidden; aspect-ratio: 16 / 9.5; }

/* 7. Dual Promo & Newsletter Row */
.ep-dual-promo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}
.ep-newsletter-box {
	background: var(--ep-surface);
	border-radius: 14px;
	padding: 36px;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--ep-border);
}
.ep-nl-icon { position: absolute; top: 20px; right: 24px; color: var(--ep-border); opacity: 0.8; }
.ep-nl-title { font-size: 1.45rem; margin-bottom: 18px; max-width: 400px; }
.ep-nl-input-row { display: flex; gap: 10px; margin-bottom: 12px; }
.ep-nl-input-row input[type="email"] {
	flex: 1;
	padding: 12px 15px;
	border-radius: 8px;
	border: 1px solid var(--ep-border);
	background: var(--ep-bg);
	color: var(--ep-heading);
	font-size: 0.92rem;
}
.ep-nl-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 0.78rem; color: var(--ep-muted); cursor: pointer; }

.ep-gradient-promo {
	background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 55%, #4F46E5 100%);
	color: #FFFFFF;
	border-radius: 14px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
.ep-gp-kicker { font-family: var(--ep-font-meta); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; margin-bottom: 8px; }
.ep-gp-title { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 20px; }

/* 8. Grid + Sticky Right Sidebar */
.ep-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 36px;
	align-items: start;
}
.ep-sidebar-sticky { position: sticky; top: calc(var(--ep-header-h, 72px) + 24px); display: flex; flex-direction: column; gap: 24px; }
.ep-widget { background: var(--ep-surface); border: 1px solid var(--ep-border); border-radius: 12px; padding: 24px; }
.ep-mag-card {
	background: linear-gradient(150deg, #0F172A 0%, var(--ep-primary, #112255) 100%);
	color: #FFFFFF;
	border: 0;
}
.ep-mag-issue { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ep-yellow); margin-bottom: 8px; }
.ep-mag-title { color: #FFFFFF; font-size: 1.45rem; margin-bottom: 10px; }
.ep-mag-desc { font-size: 0.88rem; color: #CBD5E1; margin: 0 0 18px; }
.ep-widget-kicker { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ep-coral); margin-bottom: 4px; }
.ep-widget-title { font-size: 1.15rem; margin-bottom: 14px; }

/* Load More Button */
.ep-load-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.ep-load-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 26px;
	border-radius: 999px;
	border: 1.5px solid var(--ep-border);
	background: var(--ep-bg);
	color: var(--ep-heading);
	font-family: var(--ep-font-meta);
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
}
.ep-load-more-btn:hover { border-color: var(--ep-primary); color: var(--ep-primary); }

/* Social Buttons */
.ep-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-social-btn {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: var(--ep-bg);
	border: 1px solid var(--ep-border);
	color: var(--ep-heading);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ep-social-btn:hover { background: var(--ep-primary); color: #FFFFFF; border-color: var(--ep-primary); }

/* ==========================================================================
   SINGLE POST & COMMENTS (FOXIZ ENTERPRISE STYLE)
   ========================================================================== */
.ep-single-article { padding: 44px 0 60px; }
.ep-single-centered { max-width: 820px; margin: 0 auto; }
.ep-single-header { margin-bottom: 24px; }
.ep-single-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.14; margin-bottom: 14px; }
.ep-single-subtitle { font-size: 1.15rem; color: var(--ep-body); line-height: 1.55; margin: 0 0 22px; }

.ep-single-meta-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--ep-border);
	border-bottom: 1px solid var(--ep-border);
}
.ep-single-author-info { display: flex; align-items: center; gap: 12px; }
.ep-single-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ep-single-byline { font-family: var(--ep-font-meta); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ep-heading); }
.ep-single-date { font-size: 0.74rem; color: var(--ep-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.ep-single-meta-right { display: flex; align-items: center; gap: 14px; }
.ep-single-readtime { font-family: var(--ep-font-meta); font-size: 0.75rem; font-weight: 800; color: var(--ep-muted); letter-spacing: 0.05em; }

.ep-share-inline { display: inline-flex; gap: 6px; }
.ep-share-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--ep-border);
	background: var(--ep-surface);
	color: var(--ep-heading);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.ep-share-btn:hover { background: var(--ep-primary); color: #FFFFFF; border-color: var(--ep-primary); }

.ep-single-featured { margin: 26px 0; }
.ep-single-hero-img { width: 100%; border-radius: 12px; }
.ep-single-caption { font-size: 0.82rem; color: var(--ep-muted); margin-top: 8px; text-align: center; }

/* Auto Collapsible 2-Column TOC */
.ep-toc-box {
	background: var(--ep-surface);
	border: 1px solid var(--ep-border);
	border-radius: 10px;
	padding: 18px 22px;
	margin: 24px 0;
}
.ep-toc-summary { font-family: var(--ep-font-heading); font-weight: 800; font-size: 1rem; color: var(--ep-heading); cursor: pointer; }
.ep-toc-list {
	margin: 14px 0 0;
	padding-left: 20px;
	columns: 2;
	column-gap: 28px;
}
.ep-toc-list li { margin-bottom: 6px; font-size: 0.9rem; break-inside: avoid; }
.ep-toc-list a:hover { color: var(--ep-coral); }

/* Article Body + Drop Cap + Orange Blockquotes */
.ep-entry-content { font-size: 1.06rem; line-height: 1.78; color: var(--ep-body); }
.ep-entry-content p { margin: 0 0 1.35em; }
.ep-entry-content h2 { font-size: 1.55rem; margin: 2em 0 0.7em; }
.ep-entry-content h3 { font-size: 1.25rem; margin: 1.6em 0 0.6em; }
.ep-entry-content.has-dropcap > p:first-of-type::first-letter {
	float: left;
	font-family: var(--ep-font-heading);
	font-size: 3.6rem;
	line-height: 0.86;
	font-weight: 800;
	padding: 6px 12px 2px 0;
	color: var(--ep-heading);
}
.ep-entry-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 24px 28px 24px 48px;
	background: var(--ep-surface);
	border-left: 4px solid var(--ep-orange, #FF6B00);
	border-radius: 0 10px 10px 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--ep-heading);
}
.ep-entry-content blockquote::before {
	content: "\201C";
	position: absolute;
	left: 14px;
	top: 8px;
	font-size: 3.2rem;
	line-height: 1;
	color: var(--ep-orange, #FF6B00);
	font-family: Georgia, serif;
}

.ep-dotted-divider { border: 0; border-top: 2px dotted var(--ep-border); margin: 32px 0; }

.ep-post-tax-rows { display: flex; flex-direction: column; gap: 12px; }
.ep-tax-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ep-tax-label { font-family: var(--ep-font-meta); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ep-muted); min-width: 82px; }
.ep-tax-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-tag-chip { padding: 4px 11px; border-radius: 999px; background: var(--ep-surface); border: 1px solid var(--ep-border); font-size: 0.8rem; font-weight: 600; }
.ep-tag-chip:hover { background: var(--ep-primary); color: #FFFFFF; border-color: var(--ep-primary); }

.ep-inline-newsletter { background: var(--ep-surface); border: 1px solid var(--ep-border); border-radius: 12px; padding: 28px; }
.ep-share-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.ep-author-bio-card {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: var(--ep-surface);
	border: 1px solid var(--ep-border);
	border-radius: 12px;
	padding: 24px;
}
.ep-bio-img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.ep-author-bio-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.ep-author-bio-name { font-family: var(--ep-font-heading); font-weight: 800; font-size: 1.05rem; color: var(--ep-heading); }
.ep-author-role { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 999px; background: var(--ep-bg); border: 1px solid var(--ep-border); color: var(--ep-muted); }
.ep-author-bio-desc { margin: 0; font-size: 0.92rem; }

/* Comments (3-Column Author/Email/Website Row + Orange Submit) */
.ep-comments-area { margin-top: 12px; }
.ep-comment-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 18px; }
.ep-comment-list .comment-body { padding: 18px; border-radius: 10px; background: var(--ep-surface); border: 1px solid var(--ep-border); }
.comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.comment-form-comment, .comment-form-cookies-consent, .form-submit, .logged-in-as { grid-column: 1 / -1; }
.comment-form label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 5px; color: var(--ep-heading); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border-radius: 8px;
	border: 1px solid var(--ep-border);
	background: var(--ep-surface);
	color: var(--ep-heading);
	font-family: inherit;
	font-size: 0.92rem;
}

/* ==========================================================================
   FOOTER (ORANGE TOP BORDER + WAVY DIVIDERS + 2-COL EDITORIAL / WIDGETS)
   ========================================================================== */
.ep-site-footer {
	background: var(--ep-footer-bg, #F4F6F9);
	color: var(--ep-footer-tx, #4B5563);
	border-top: var(--ep-footer-border-w, 3px) solid var(--ep-footer-border, #FF6B00);
	padding: 36px 0 32px;
	margin-top: 48px;
}
.ep-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	font-family: var(--ep-font-meta);
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--ep-footer-hd);
}
.ep-footer-links a:hover { color: var(--ep-orange); }

.ep-footer-middle {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 44px;
	align-items: center;
	padding: 26px 0;
}
.ep-footer-about { position: relative; }
.ep-footer-plane { display: inline-block; color: var(--ep-muted); opacity: 0.45; margin-bottom: 8px; }
.ep-footer-nl-heading { color: var(--ep-footer-hd); font-size: 1.45rem; margin-bottom: 10px; }
.ep-footer-desc { font-size: 0.92rem; margin: 0 0 18px; max-width: 480px; }

.ep-footer-widgets { padding: 26px 0; }
.ep-footer-widget-title { color: var(--ep-footer-hd); font-size: 1rem; margin-bottom: 14px; }

.ep-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 18px;
}
.ep-copyright { margin: 0; font-size: 0.84rem; }

/* Scroll-to-Top Orange Button */
.ep-scroll-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--ep-orange, #FF6B00);
	color: #FFFFFF;
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
	cursor: pointer;
	z-index: 800;
}
.ep-scroll-top[hidden] { display: none; }
.ep-scroll-top:hover { transform: translateY(-3px); }

/* Pagination & 404 */
.ep-pagination { margin-top: 38px; display: flex; justify-content: center; }
.ep-pagination .nav-links { display: flex; gap: 8px; }
.ep-pagination .page-numbers { padding: 8px 14px; border-radius: 7px; border: 1px solid var(--ep-border); font-weight: 700; font-size: 0.88rem; }
.ep-pagination .page-numbers.current { background: var(--ep-primary); color: #FFFFFF; border-color: var(--ep-primary); }
.ep-404-inner { text-align: center; padding: 64px 0; }
.ep-404-code { font-size: 5rem; font-weight: 900; color: var(--ep-coral); line-height: 1; }
.ep-empty-state { padding: 48px 0; text-align: center; color: var(--ep-muted); }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
	.ep-hero-3col { grid-template-columns: 1fr 1.6fr; }
	.ep-hero-right { grid-column: 1 / -1; }
	.ep-cols-5, .ep-cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ep-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ep-latest-asym { grid-template-columns: 1fr; }
	.ep-latest-left { position: static; }
	.ep-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.ep-primary-nav, .ep-header-cta { display: none; }
	.ep-mobile-trigger { display: inline-flex; }
	.ep-hero-3col, .ep-spotlight-hero, .ep-video-hero, .ep-dual-promo, .ep-footer-middle { grid-template-columns: 1fr; }
	.ep-cols-3, .ep-cols-2, .ep-cols-5, .ep-cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ep-toc-list { columns: 1; }
	.comment-form { grid-template-columns: 1fr; }
	.ep-promo-art { display: none; }
}

@media (max-width: 580px) {
	.ep-cols-2, .ep-cols-3, .ep-cols-4, .ep-cols-5, .ep-cols-6 { grid-template-columns: 1fr; }
	.ep-card-horizontal { flex-direction: column-reverse; align-items: stretch; }
	.ep-media-split { width: 100%; }
	.ep-nl-input-row { flex-direction: column; }
	.ep-footer-bottom { flex-direction: column; text-align: center; }
}
