/* ==========================================================
   LCS Blog Landing Page CSS
   ========================================================== */

.lcs-blog-page {
	background: #ffffff;
	color: #003466;
	font-family: "Trebuchet MS", sans-serif !important;
}

.lcs-blog-page a {
	text-decoration: none;
	transition: all 0.25s ease;
}

.lcs-blog-page img {
	max-width: 100%;
	height: auto;
}

/* Hero Section */
.lcs-hero-wrap {
	background: linear-gradient(160deg, #003466 0%, #002344 100%);
	padding: 100px 26px;
}

.lcs-hero-inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 16px;
    font-family: "Trebuchet MS", sans-serif !important;
}

.lcs-hero-badge {
	display: inline-flex;
	align-items: center;
	color: #41a8f5;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 999px;
	line-height: 1.2;
}

.lcs-hero-title {
	margin: 0;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: #FFFFFF;
}

.lcs-hero-desc {
	margin: 0;
	color: #CFE0F1;
	font-size: 16px;
	line-height: 1.65;
	max-width: 620px;
	text-align: left;
}

@media (max-width: 767px) {
	.lcs-hero-wrap {
		padding: 44px 16px;
	}

	.lcs-hero-title {
		font-size: 28px;
	}

	.lcs-hero-desc {
		font-size: 14.5px;
	}
}

/* Featured Section */
.lcs-featured-wrap {
	background: #F6F9FC;
	border-bottom: 1px solid #D6E2EF;
	padding: 48px 26px;
}

.lcs-featured-inner {
	max-width: 1180px;
	margin: 0 auto;
	background: #FFFFFF;
	border: 1px solid #D6E2EF;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 30, 60, 0.06);
	overflow: hidden;
	display: grid;
	grid-template-columns: var(--lcs-feat-img, 55%) calc(100% - var(--lcs-feat-img, 55%));
    font-family: "Trebuchet MS", sans-serif !important;
}

.lcs-featured-image {
	min-height: 320px;
	background: #DBE8F5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lcs-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lcs-featured-placeholder {
	color: #7A9CC0;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	padding: 30px;
}

.lcs-featured-content {
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.lcs-post-category {
	color: #298CD8;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.2;
}

.lcs-featured-title {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: #003466;
}

.lcs-featured-title a {
	color: #003466;
}

.lcs-featured-title a:hover {
	color: #298CD8;
}

.lcs-featured-excerpt {
	color: #586A7B;
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

.lcs-post-meta {
	color: #8A9BB0;
	font-size: 13px;
	line-height: 1.5;
}

.lcs-read-link {
	display: inline-flex;
	color: #298CD8;
	font-size: 14px;
	font-weight: 800;
	margin-top: 4px;
}

.lcs-read-link:hover {
	color: #003466;
}

/* Main Layout */
.lcs-main-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 62px 26px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 42px;
	align-items: flex-start;
    font-family: "Trebuchet MS", sans-serif !important;
}

.lcs-posts-grid {
	display: grid;
	grid-template-columns: repeat(var(--lcs-grid-cols, 2), minmax(0, 1fr));
	gap: 24px;
}

/* Blog Cards */
.lcs-post-card {
	background: #FFFFFF;
	border: 1px solid #D6E2EF;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(0, 30, 60, 0.06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lcs-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 26px rgba(0, 30, 60, 0.09);
}

.lcs-card-image {
	background: #DBE8F5;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lcs-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lcs-card-placeholder {
	color: #7A9CC0;
	font-size: 13px;
	font-weight: 600;
	padding: 20px;
	text-align: center;
}

.lcs-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1;
}

.lcs-card-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: #003466;
}

.lcs-card-title a {
	color: #003466;
}

.lcs-card-title a:hover {
	color: #298CD8;
}

.lcs-card-excerpt {
	margin: 0;
	color: #586A7B;
	font-size: 13.5px;
	line-height: 1.6;
}

.lcs-card-meta {
	margin-top: auto;
	color: #8A9BB0;
	font-size: 12px;
	line-height: 1.5;
}

/* Pagination */
.lcs-pagination {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.lcs-pagination .page-numbers {
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #D6E2EF;
	border-radius: 9px;
	color: #003466;
	background: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
}

.lcs-pagination .page-numbers.current,
.lcs-pagination .page-numbers:hover {
	background: #298CD8;
	border-color: #298CD8;
	color: #FFFFFF;
}

/* Sidebar */
.lcs-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.lcs-sidebar-box {
	background: #FFFFFF;
	border: 1px solid #D6E2EF;
	border-radius: 14px;
	padding: 24px;
    font-family: "Trebuchet MS", sans-serif !important;
}

.lcs-sidebar-title {
	margin: 0 0 16px;
	color: #003466;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
}

/* Categories */
.lcs-categories-list,
.lcs-categories-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lcs-categories-list li {
	border-bottom: 1px solid #EEF3F8;
	padding: 10px 0;
	color: #8A9BB0;
	font-size: 13.5px;
}

.lcs-categories-list li:first-child {
	padding-top: 0;
}

.lcs-categories-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.lcs-categories-list a {
	color: #586A7B;
	font-size: 13.5px;
	font-weight: 600;
}

.lcs-categories-list a:hover {
	color: #298CD8;
}

/* Popular Posts */
.lcs-popular-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.lcs-popular-item {
	border-bottom: 1px solid #EEF3F8;
	padding-bottom: 15px;
}

.lcs-popular-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.lcs-popular-item a {
	display: block;
	color: #003466;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.lcs-popular-item a:hover {
	color: #298CD8;
}

.lcs-popular-date {
	display: block;
	margin-top: 5px;
	color: #8A9BB0;
	font-size: 12px;
}

/* CTA */
.lcs-cta-box {
	background: linear-gradient(160deg, #003466 0%, #002344 100%);
	border-radius: 14px;
	padding: 28px 24px;
	color: #FFFFFF;
    font-family: "Trebuchet MS", sans-serif !important;
}

.lcs-cta-box h4 {
	margin: 0 0 12px;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.lcs-cta-box p {
	margin: 0 0 18px;
	color: #CFE0F1;
	font-size: 13.5px;
	line-height: 1.6;
}

.lcs-cta-box .lcs-cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: #298CD8;
	color: #FFFFFF;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 800;
	text-align: center;
}

.lcs-cta-box .lcs-cta-button:hover {
	background: #41A8F5;
	color: #FFFFFF;
}

.lcs-cta-box .lcs-cta-note {
	text-align: center;
	margin-top: 12px;
	margin-bottom: 0;
	color: #8FB3D6;
	font-size: 12px;
}

/* Newsletter */
.lcs-newsletter-text {
	color: #586A7B;
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 14px;
}

/* Contact Form 7 styling to match original design */
.lcs-newsletter-form .wpcf7-form p {
	margin: 0;
}

.lcs-newsletter-form .wpcf7-form label {
	display: block;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.lcs-newsletter-form .wpcf7-form-control-wrap {
	display: block;
}

.lcs-newsletter-form input[type="email"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #D6E2EF;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	margin-bottom: 8px;
	outline: none;
	color: #003466;
	background: #FFFFFF;
	box-sizing: border-box;
}

.lcs-newsletter-form input[type="email"]:focus {
	border-color: #298CD8;
	box-shadow: 0 0 0 3px rgba(41, 140, 216, 0.12);
}

.lcs-newsletter-form input[type="submit"] {
	width: 100%;
	padding: 11px;
	background: #298CD8;
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}

.lcs-newsletter-form input[type="submit"]:hover {
	background: #41A8F5;
}

.lcs-newsletter-form .wpcf7-spinner {
	display: none;
}

.lcs-newsletter-form .wpcf7-not-valid-tip {
	font-size: 12px;
	margin-top: 4px;
}

.lcs-newsletter-form .wpcf7-response-output {
	margin: 10px 0 0;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 12.5px;
}

/* No Posts */
.lcs-no-posts {
	background: #FFFFFF;
	border: 1px solid #D6E2EF;
	border-radius: 14px;
	padding: 28px;
	color: #586A7B;
}

/* Responsive */
@media (max-width: 1024px) {
	.lcs-featured-inner {
		grid-template-columns: 1fr;
	}

	.lcs-main-wrap {
		grid-template-columns: 1fr;
	}

	.lcs-sidebar {
		width: 100%;
	}

	.lcs-featured-image {
		min-height: 260px;
	}
}

@media (max-width: 767px) {
	.lcs-featured-wrap {
		padding: 30px 16px;
	}

	.lcs-main-wrap {
		padding: 40px 16px;
		gap: 30px;
	}

	.lcs-featured-content {
		padding: 26px 22px;
	}

	.lcs-featured-title {
		font-size: 22px;
	}

	.lcs-posts-grid {
		grid-template-columns: 1fr;
	}

	.lcs-sidebar-box,
	.lcs-cta-box {
		padding: 22px;
	}
}

/* ==========================================================
   Elementor version helpers
   ========================================================== */
.lcs-el-gap > .elementor-widget-wrap > .elementor-widget:not(:last-child),
.lcs-el-gap > .elementor-column-wrap > .elementor-widget-wrap > .elementor-widget:not(:last-child) {
	margin-bottom: 20px;
	margin-block-end: 20px;
}

.lcs-el-flush > .elementor-widget-wrap > .elementor-widget,
.lcs-el-flush > .elementor-column-wrap > .elementor-widget-wrap > .elementor-widget {
	margin-bottom: 0;
	margin-block-end: 0;
}

/* Elementor main area: same fixed 340px sidebar + 42px gap as .lcs-main-wrap */
@media (min-width: 1025px) {
	.lcs-blog-page .lcs-el-main .elementor-column.lcs-col-posts {
		width: calc(100% - 361px);
	}

	.lcs-blog-page .lcs-el-main .elementor-column.lcs-sidebar-col {
		width: 361px;
	}
}

/* Sticky sidebar (desktop). Top offset is set by assets/js/sticky-sidebar.js */
@media (min-width: 1025px) {
	.lcs-sidebar,
	.lcs-sidebar-col > .elementor-widget-wrap,
	.lcs-sidebar-col > .elementor-column-wrap {
		position: sticky;
		top: var(--lcs-sticky-top, 100px);
		align-self: flex-start;
	}
}
