/**
 * Ethio Shell — content UX (CSS only, zero content removal).
 */

.ee-prose-flow {
	max-width: 860px;
	margin: 0 auto;
	color: #c8c8c8;
	font-size: 1.03rem;
	line-height: 1.78;
}

.ee-prose-flow > *:first-child {
	margin-top: 0;
}

/* Section titles */
.ee-prose-flow h2,
.ee-prose .ee-prose-flow h2,
.ee-prose-flow .elementor-heading-title {
	font-family: var(--ee-font-display, "Playfair Display", Georgia, serif);
	font-size: clamp(1.35rem, 3.2vw, 1.8rem);
	font-weight: 700;
	color: #fff !important;
	line-height: 1.25;
	margin: 2.25rem 0 1rem;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

.ee-prose-flow h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--ee-red, #e63939), transparent);
}

.ee-prose-flow h2:first-child {
	margin-top: 0;
}

/* Sub-headings & FAQ questions */
.ee-prose-flow h3,
.ee-prose-flow h4.elementor-heading-title {
	font-family: var(--ee-font, "DM Sans", system-ui, sans-serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: #f2f2f2 !important;
	margin: 1.35rem 0 0.45rem;
	line-height: 1.4;
}

.ee-prose-flow h4 {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ee-red, #e63939) !important;
	margin: 1.5rem 0 0.5rem;
}

/* Q&A pairs */
.ee-prose-flow h3:has(+ p) {
	margin-bottom: 0;
	padding: 14px 18px 8px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px 14px 0 0;
}

.ee-prose-flow h3:has(+ p) + p {
	margin-top: 0 !important;
	margin-bottom: 1rem !important;
	padding: 0 18px 16px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	color: #b5b5b5 !important;
}

/* Body copy */
.ee-prose-flow p,
.ee-prose-flow li,
.ee-prose-flow .elementor-widget-text-editor {
	color: #b8b8b8;
	margin: 0 0 1.05rem;
	max-width: 72ch;
}

.ee-prose-flow > p:first-of-type {
	color: #d4d4d4;
	font-size: 1.06rem;
}

.ee-prose-flow ul,
.ee-prose-flow ol {
	margin: 0 0 1.2rem 1.2rem;
	padding: 0;
}

.ee-prose-flow li::marker {
	color: var(--ee-red, #e63939);
}

/* Links */
.ee-prose-flow a:not(.elementor-button):not(.ee-btn):not(.ee-contact-btn) {
	color: #ffb4b4 !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 123, 123, 0.35);
	font-weight: 500;
}

.ee-prose-flow a:not(.elementor-button):not(.ee-btn):not(.ee-contact-btn):hover {
	color: #fff !important;
	border-bottom-color: var(--ee-red, #e63939);
}

.ee-prose-flow h2 a,
.ee-prose-flow h3 a {
	color: #fff !important;
	border-bottom-color: rgba(230, 57, 57, 0.45);
}

/* Elementor legacy sections inside flow */
.ee-prose-flow .elementor-top-section {
	background: linear-gradient(165deg, rgba(20, 20, 20, 0.95), rgba(12, 12, 12, 0.9)) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
	border-radius: 18px !important;
	padding: 24px 22px !important;
	margin: 0 0 20px !important;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.ee-prose-flow .elementor-icon-box-wrapper {
	padding: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
}

.ee-prose-flow img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.ee-content-banners {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
	min-height: 60px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ee-content-banners a {
	border: 0 !important;
}

.ee-content-banners img {
	max-height: 60px;
	width: auto;
	margin: 0;
}

/* Homepage legacy area */
body.ee-home-classic .ee-home__legacy-content {
	padding: 48px 20px 72px;
	background: linear-gradient(180deg, rgba(230, 57, 57, 0.03), transparent 240px);
}

body.ee-home-classic .ee-prose--legacy-home {
	max-width: 900px;
}

body.ee-home-classic .ee-home__legacy-content .ee-content-banners,
body.ee-home-classic .ee-home__legacy-content .ee-home-partner-banners {
	margin-top: 32px;
	padding-top: 28px;
}

/* Inner pages */
body.ee-shell-inner .ee-page--inner {
	padding: 32px 20px 56px;
}

body.ee-shell-inner .ee-page--inner .ee-prose {
	max-width: 900px;
	margin-inline: auto;
}

body.ee-shell-inner .ee-page-hero {
	padding: 28px 20px 20px;
	border-bottom: 1px solid var(--ee-border, rgba(255, 255, 255, 0.08));
	background: linear-gradient(180deg, rgba(230, 57, 57, 0.05), transparent);
}

@media (max-width: 767px) {
	.ee-prose-flow {
		font-size: 0.98rem;
	}

	.ee-prose-flow h3:has(+ p),
	.ee-prose-flow h3:has(+ p) + p {
		padding-inline: 14px;
	}
}
