/* =============================================================
   SHORTCODE CSS: Industries-Slider & Blog-Grid
   Lighthouse Enterprises Homepage V2-2026
   
   Add this CSS to the theme's style.css or append it to the
   new-homepage-styles.css file from the previous deliverable.
   ============================================================= */


/* =============================================================
   INDUSTRIES SLIDER
   ============================================================= */

.industries-slider {
	position: relative;
	width: 100%;
	max-width: 1150px;
	margin: 0 auto;
}

/* --- Slide card --- */
.industries-slide-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px;
	border-radius: 14px;
}

.industries-slide-image {
	width: 335px;
	height: 285px;
	border-radius: 25px;
	overflow: hidden;
	box-shadow: 0px 15px 30px -10px rgba(44, 88, 241, 0.2);
}

.industries-slide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 25px;
	transition: transform 0.4s ease;
}

.industries-slide-card:hover .industries-slide-image img {
	transform: scale(1.05);
}

.industries-slide-info {
	padding-left: 5px;
}

/* --- Arrow link (orange, matches Figma) --- */
.arrow-link-orange {
	font-family: 'Lato', sans-serif;
	font-weight: 800;
	font-size: 20px;
	line-height: normal;
	color: #FF7F3F;
	text-decoration: none;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	transition: color 0.3s ease;
}

.arrow-link-orange::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	margin-left:12px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 10px solid #FF7F3F;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.arrow-link-orange:hover {
	color: #003A5C;
	text-decoration: none;
}

.arrow-link-orange:hover::after {
	transform: translateX(5px);
	border-left-color: #003A5C;
}

/* --- Splide arrow overrides (purple circles) --- */
/*
.industries-arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	z-index: 10;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	width: calc(100% + 70px);
	margin-left: -35px;
}

.industries-slider .splide__arrow {
	background: #6941C6 !important;
	border-radius: 22px;
	width: 44px;
	height: 44px;
	opacity: 1;
	pointer-events: auto;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s ease;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.industries-slider .splide__arrow:hover {
	background: #553399 !important;
}

.industries-slider .splide__arrow--prev {
	left: -55px;
}

.industries-slider .splide__arrow--next {
	right: -55px;
}

.industries-slider .splide__arrow svg {
	fill: #FFFFFF;
	width: 18px;
	height: 18px;
}

.industries-slider .splide__arrows:first-child {
    text-align: center;
    display: flex;
    align-items: center;
    padding-right: 5px;
}
.industries-slider .splide__arrows:last-child {
    text-align: center;
    display: flex;
    align-items: center;
    padding-left: 5px;
}
.industries-slider .splide__arrow.splide__arrow--next {
    height: 44px;
    width: 44px;
    background-image: url(https://lighthouseenterprises.org/wp-content/theems/le/img/arrow-slider-right.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-color: transparent;
    border: none;
}
.industries-slider .splide__arrow.splide__arrow--prev {
    height: 44px;
    width: 44px;
    background-image: url(https://lighthouseenterprises.org/wp-content/theems/le/img/arrow-slider-left.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-color: transparent;
    border: none;
}
*/
/* --- Responsive --- */
@media (max-width: 1200px) {
	.industries-slide-image {
		width: 100%;
		height: 240px;
	}
	
	.industries-slider .splide__arrow--prev {
		left: -10px;
	}

	.industries-slider .splide__arrow--next {
		right: -10px;
	}
}

@media (max-width: 767px) {
	.industries-slide-image {
		width: 100%;
		height: 220px;
	}

	.industries-slider .splide__arrow--prev {
		left: 5px;
	}

	.industries-slider .splide__arrow--next {
		right: 5px;
	}
}


/* =============================================================
   BLOG GRID
   ============================================================= */

.blog-grid-v2 {
	display: flex;
	gap: 24px;
	max-width: var(--pagemax, 1321px);
	margin: 0 auto;
	align-items: stretch;
	max-height: 400px;
}

.blog-grid-v2 a {
	text-decoration: none;
	color: inherit;
}

.blog-grid-v2 a:hover {
	text-decoration: none;
	color: inherit;
}

/* --- Featured post (left column) --- */
.blog-grid-featured {
	flex: 0 0 auto;
	width: 649px;
}

.blog-grid-featured-link {
	display: block;
	height: 100%;
}

.blog-grid-featured-card {
	display: flex;
	flex-direction: column;
	gap: 31px;
	background: #FFFFFF;
	border-radius: 25px;
	box-shadow: 0px 15px 30px 0px rgba(44, 88, 241, 0.2);
	padding: 24px;
	height: 100%;
	min-height: 400px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-grid-featured-card:hover {
	box-shadow: 0px 20px 40px 0px rgba(44, 88, 241, 0.28);
	transform: translateY(-2px);
}

.blog-grid-featured-image {
	flex: 1 1 auto;
	min-height: 0;
	border-radius: 25px;
	overflow: hidden;
}

.blog-grid-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 25px;
}

.blog-grid-featured-content {
	display: flex;
	flex-direction: column;
	gap: 10px; /*24px*/
}

/* --- Stacked posts (right column) --- */
.blog-grid-stacked {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.blog-grid-stacked-link {
	display: block;
}

.blog-grid-stacked-card {
	display: flex;
	gap: 10px;/*20px*/
	align-items: flex-start;
	border-radius: 14px;
	transition: transform 0.3s ease;
}

.blog-grid-stacked-card:hover {
	transform: translateX(3px);
}

.blog-grid-stacked-image {
	flex: 0 0 331px;
	height: 190px;
	border-radius: 25px;
	overflow: hidden;
	box-shadow: 0px 15px 30px -10px rgba(44, 88, 241, 0.2);
}

.blog-grid-stacked-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 25px;
}

.blog-grid-stacked-content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* --- Shared typography --- */
.blog-grid-date {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 24px;
	color: #272B2F;
}

.blog-grid-stacked-content .blog-grid-date {
	font-size: 14px;
	line-height: 26px;
}

.blog-grid-title {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 32px;
	color: #003A5C;
	margin: 0;
}

.blog-grid-excerpt {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 24px;
	color: #272B2F;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.blog-grid-stacked-content .blog-grid-excerpt {
	-webkit-line-clamp: 2;
	max-height: 52px;
}

/* --- Blog grid responsive --- */
@media (max-width: 1200px) {
	.blog-grid-featured {
		width: 50%;
	}

	.blog-grid-stacked-image {
		flex: 0 0 200px;
		height: 150px;
	}
}

@media (max-width: 991px) {
	.blog-grid-v2 {
		flex-direction: column;
	}

	.blog-grid-featured {
		width: 100%;
	}

	.blog-grid-featured-card {
		min-height: auto;
	}

	.blog-grid-featured-image {
		height: 250px;
	}

	.blog-grid-stacked-image {
		flex: 0 0 200px;
		height: 160px;
	}
	.blog-grid-v2{display: contents;}
	.blog-grid-stacked{margin-top: 60px;}
}

@media (max-width: 600px) {
	.blog-grid-stacked-card {
		flex-direction: column;
	}

	.blog-grid-stacked-image {
		flex: none;
		width: 100%;
		height: 200px;
	}
}


/* =============================================================
   UPDATED SOLUTIONS SLIDER V2 (optional)
   Only needed if you activate the solutions_slider_v2 function.
   ============================================================= */

.solutions-slider-v2 .splide__slide {
	padding: 10px 0;
}

.solution-card-v2 {
	display: flex;
	flex-direction: column;
	gap: 30px;
	background: #FFFFFF;
	border-radius: 25px;
	box-shadow: 0px 15px 30px 0px rgba(44, 88, 241, 0.2);
	padding: 40px 46px 30px;
	min-height: 370px;
	width: 100%;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.solution-card-v2:hover {
	box-shadow: 0px 20px 40px 0px rgba(44, 88, 241, 0.28);
	transform: translateY(-3px);
}

.solution-card-icon {
	width: 52px;
	height: 52px;
	background: #FF7F3F;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.solution-card-icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.solution-card-icon-default {
	/* Fallback when no custom icon is set */
}

.solution-card-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.solution-card-title {
	font-family: 'Lato', sans-serif;
	font-weight: 800;
	font-size: 28px;
	line-height: 40px;
	color: #003A5C;
	margin: 0;
}

.solution-card-excerpt {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #272B2F;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Solutions V2 purple arrows */
.solutions-v2-arrows {
	pointer-events: none;
}

.solutions-slider-v2 .splide__arrow {
	background: #6941C6 !important;
	border-radius: 22px;
	width: 44px;
	height: 44px;
	opacity: 1;
	pointer-events: auto;
	border: none;
	cursor: pointer;
	transition: background 0.3s ease;
}

.solutions-slider-v2 .splide__arrow:hover {
	background: #553399 !important;
}

.solutions-slider-v2 .splide__arrow svg {
	fill: #FFFFFF;
	width: 18px;
	height: 18px;
}
