/*
 * Shared in-article components for blog posts: CTA box, FAQ accordion,
 * trust badge, and body images. The CTA box mirrors the .eem-cta-box /
 * .eem-btn pattern already used in the site's homepage CTA sections; the
 * FAQ box mirrors the .faq-box <details> pattern already used on several
 * location pages. Reused here (not reinvented) for visual consistency.
 */

.entry-content .eem-cta-box {
	background: linear-gradient(135deg, #0b2d5c, #163d75);
	padding: 36px 30px;
	border-radius: 12px;
	text-align: center;
	margin: 36px 0;
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.entry-content .eem-cta-box h3 {
	color: #fff;
	margin: 0 0 10px;
	font-size: 26px;
}

.entry-content .eem-cta-box p {
	color: #fff;
	margin: 0 0 22px;
	font-size: 16px;
}

.entry-content .eem-btn {
	display: inline-block;
	background: #ff6b00;
	color: #fff !important;
	padding: 13px 32px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s ease;
}

.entry-content .eem-btn:hover {
	background: #e65f00;
	color: #fff !important;
	transform: translateY(-3px);
}

@media (max-width: 768px) {
	.entry-content .eem-cta-box { padding: 26px 18px; }
	.entry-content .eem-cta-box h3 { font-size: 21px; }
}

/* ---------- FAQ accordion ---------- */
.entry-content .faq-box {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	margin: 36px 0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.entry-content .faq-box h3 {
	text-align: left;
	font-size: 1.35em;
	margin: 0 0 16px;
	color: #12374f;
}

.entry-content .faq-box details {
	padding: 14px 16px;
	margin-bottom: 10px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #f9fafb;
}

.entry-content .faq-box details[open] {
	background: #fff;
	border-color: #f5b301;
}

.entry-content .faq-box summary {
	cursor: pointer;
	font-weight: 600;
	color: #222;
	list-style: none;
}

.entry-content .faq-box summary::-webkit-details-marker {
	display: none;
}

.entry-content .faq-box summary::after {
	content: '+';
	float: right;
	font-weight: 700;
	color: #ff6b00;
}

.entry-content .faq-box details[open] summary::after {
	content: '\2212';
}

.entry-content .faq-box details p {
	margin: 10px 0 2px;
	color: #444;
}

/* ---------- Trust badge ---------- */
.entry-content .epm-trust-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff8e8;
	border: 1px solid #f5dfa3;
	border-radius: 10px;
	padding: 12px 18px;
	margin: 26px 0;
	font-size: 14.5px;
	color: #7a5b00;
}

.entry-content .epm-trust-badge .epm-stars {
	color: #f5b301;
	font-size: 17px;
	letter-spacing: 1px;
}

/* ---------- In-article images ---------- */
.entry-content .epm-body-image {
	margin: 28px 0;
	text-align: center;
}

.entry-content .epm-body-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.entry-content .epm-body-image figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: #64748b;
	font-style: italic;
}

/* ---------- External/internal link emphasis ---------- */
.entry-content a {
	color: #12374f;
	font-weight: 600;
	text-decoration: underline;
}

.entry-content a:hover {
	color: #ff6b00;
}

/*
 * Headings and body copy matched to the site's landing-page typography
 * (the .page-content styling already used on service/quote pages), so
 * blog posts read consistently with the rest of the site instead of
 * falling back to the theme's unstyled/inconsistent global h2-h6 rules.
 */
.entry-content {
	font-family: 'Poppins', 'Helvetica', 'Arial', sans-serif;
	line-height: 1.8;
}

.entry-content h2 {
	font-family: 'Poppins', 'Helvetica', 'Arial', sans-serif;
	font-size: 2.4rem;
	font-weight: 700;
	color: #04192b;
	text-align: left;
	margin-bottom: 25px;
	position: relative;
	line-height: 1.3;
}

.entry-content h2::after {
	content: "";
	display: block;
	height: 5px;
	width: 160px;
	background: linear-gradient(90deg, #ffcc00, #0077b6);
	border-radius: 3px;
	margin-top: 10px;
}

.entry-content h3 {
	font-size: 20px;
	font-weight: 600;
	color: #04192b;
	margin-bottom: 12px;
}

.entry-content h4 {
	font-size: 18px;
	font-weight: 600;
	color: #04192b;
}

.entry-content h5 {
	font-size: 16px;
	font-weight: 600;
	color: #04192b;
}

.entry-content h6 {
	font-size: 14px;
	font-weight: 600;
	color: #04192b;
}

.entry-content p {
	text-align: left;
	font-size: 17px;
	color: #444444;
	font-family: 'Helvetica', 'Arial', sans-serif;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.entry-content h2 { font-size: 1.9rem; }
	.entry-content h2::after { width: 110px; }
	.entry-content h3 { font-size: 18px; }
	.entry-content p { font-size: 16px; }
}

/* ---------- Comparison tables (scroll inside the box on small screens) ---------- */
.entry-content .epm-table-wrap {
	overflow-x: auto;
	margin: 26px 0;
	-webkit-overflow-scrolling: touch;
}

.entry-content .epm-table-wrap table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content .epm-table-wrap th,
.entry-content .epm-table-wrap td {
	border: 1px solid #e2e8f0;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.entry-content .epm-table-wrap thead th {
	background: #12374f;
	color: #fff;
}

.entry-content .epm-table-wrap tbody tr:nth-child(even) {
	background: #f8fafc;
}
