/* ---------------------------------------------------------------------- */
/* Page Categories Shortcode                                             */
/* ---------------------------------------------------------------------- */
.custom-page-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
	gap: 0;
	position: relative;
}
.custom-category-item {
	display: block;
	padding: 26px 24px;
	position: relative;
}
.custom-page-categories .custom-category-item:not(:last-of-type) {
	border-right: 1px solid #B7CEDF4D;
}
.custom-category-title {
	transition: all .3s ease-in-out;
}
.custom-category-image:hover ~ .custom-category-title-link .custom-category-title,
.custom-category-title-link:hover .custom-category-title {
	color: #ff5c00;
}
.custom-category-item:first-child { padding-left: 0; }
.custom-category-item:last-child { padding-right: 0; }
.custom-category-image {
	display: flex;
	width: 100%;
	background: #ded9cf;
	border-radius: 2px;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	text-decoration: none;
}
.custom-category-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	height: 260px !important;
	display: block;
}
.custom-category-placeholder {
	color: #888;
	font-size: 12px;
}
.custom-category-title-link {
	display: block;
	text-decoration: none;
	margin: 0 0 14px;
}
.custom-category-title {
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	margin: 0;
}
.custom-category-description,
.custom-category-description p {
	color: #b7cedf;
	font-size: 13px;
	line-height: 20px;
	font-weight: 400;
	margin: 0;
}
.custom-category-button {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #ff5c00;
	padding: 0px 24px 24px;
	text-decoration: none;
}
.custom-category-button-icon {
	display: inline-block;
	transition: transform .3s ease-in-out;
}
.custom-category-button:hover .custom-category-button-icon {
	transform: translateX(4px);
}
/* Page Category Card - IMPORTANT */
/* FOR_LIGHT_BG */
.SC-prd-cat .custom-page-categories{
	gap: 20px;
}
.SC-prd-cat .custom-category-item{
	padding: 0px;
	border: none !important;
	background: #f8f8f6;
}
.SC-prd-cat .custom-category-description, .SC-prd-cat .custom-category-title{
	padding: 0px 24px !important;
}
.SC-prd-cat .custom-category-title{
	padding-top: 10px !important;
	font-size: 19px;
	color: #082B4C;
}
.SC-prd-cat .custom-category-description{
	padding-bottom: 14px !important;
}
.SC-prd-cat .custom-category-description p{
	color: #6e7781 !important;
}
/* FOR_DARK_BG */
.SC-bg-cat-wrapper .custom-page-categories{
	gap: 20px;
}
.SC-bg-cat-wrapper .custom-category-item{
	border: none !important;
	background: #f8f8f6;
	padding: 0px;
}
.SC-bg-cat-wrapper .custom-category-description, .SC-bg-cat-wrapper .custom-category-title{
	border: none !important;
	padding: 0px 24px !important;
}
.SC-bg-cat-wrapper .custom-category-title{
	color: #082b4c;
	font-size: 19px;
	padding-top: 10px !important;
}
.SC-bg-cat-wrapper .custom-category-description{
	padding-bottom: 24px !important;
}
@media (max-width: 900px) {
	.custom-page-categories { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
@media (max-width: 560px) {
	.custom-page-categories {
		grid-template-columns: 1fr;
		gap: 0px;
	}
	.custom-category-item {
		padding: 26px 0px;
		border: 0px !important;
	}
	.custom-page-categories .custom-category-item:not(:last-of-type) {
		border-bottom: 1px solid #B7CEDF4D !important;
	}
}

/* ---------------------------------------------------------------------- */
/* CaseStudy Sidebar                                                         */
/* ---------------------------------------------------------------------- */
.sticky-sidebar{
    position: sticky !important;
    top: 20px;
}
.csb-wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 340px;
}

.csb-card {
	background: #f8f8f6;
    border-radius: 2px;
    padding: 20px 24px;
}

.csb-card-title {
	font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #082b4c;
    margin: 0 0 20px;
}

.csb-glance-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.csb-glance-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e0da;
}

.csb-glance-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.csb-glance-label {
	font-size: 14px;
	line-height: 18px;
	color: #082b4c;
	font-weight: 400;
}

.csb-glance-value {
	font-size: 13px;
	color: #111111;
	font-weight: 700;
	text-align: right;
}

.csb-link-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.csb-link {
	font-size: 13px;
	font-weight: 600;
	color: #082b4c;
	text-decoration: none;
	line-height: 1.4;
	transition: all .3s ease-in-out;
}

.csb-link:hover {
	text-decoration: underline;
	color: #ff5c00;
}

@media (max-width: 600px){
	.csb-wrapper {
		max-width: 100%;
	}
}

/* ---------------------------------------------------------------------- */
/* CaseStudy Product Used Block                                              */
/* ---------------------------------------------------------------------- */

.csup-heading {
	font-size: 36px;
	line-height: 42px;
	font-weight: 700;
	color: #082b4c;
	margin: 0 0 25px;
}
/********| Slider |********/

.csup-slider {
	position: relative;
}

.csup-slider-viewport {
	overflow: hidden;
}

.csup-track {
	display: flex;
	gap: 16px;
	transition: transform 0.35s ease;
	will-change: transform;
}

.csup-slide {
	flex: 0 0 calc((100% - (16px * 2)) / 3);
	max-width: calc((100% - (16px * 2)) / 3);
}

.csup-card {
	height: 100%;
    border: 1px solid #e2e0da;
	border-radius: 2px;
	padding: 20px 24px;
    background: #f8f8f6;
	box-sizing: border-box;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.csup-card-title {
	font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #082b4c;
    margin: 0 0 14px;
}

.csup-card-desc {
	font-size: 13px;
	line-height: 20px;
	font-weight: 400;
	color: #6e7781;
	margin: 0 0 14px;
}

.csup-view-link {
	font-size: 13px;
	line-height: 20px;
	font-weight: 600;
	color: #ff5c00;
	text-decoration: none;
}

.csup-view-link:hover {
	color: #082b4c;
}

/* Nav buttons */
.csup-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	border: 1px solid #082b4c !important;
	background: #ffffff !important;
	color: #082b4c !important;
	font-size: 20px !important;
	line-height: 1px !important;
	cursor: pointer;
	display: flex;
	align-items: center !important;
	justify-content: center !important;
	padding: 0px !important;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.csup-nav:hover {
	border: 1px solid #ff5c00 !important;
	color: #ff5c00 !important;
}

.csup-nav[disabled] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.csup-nav-prev {
	left: -20px;
}

.csup-nav-next {
	right: -20px;
}

/* Tablet */
@media (max-width: 900px) {
	.csup-slide {
		flex: 0 0 calc((100% - 16px) / 2);
		max-width: calc((100% - 16px) / 2);
	}
}

/* Mobile */
@media (max-width: 600px) {
	.csup-heading {
		font-size: 32px;
		line-height: 36px;
	}
	.csup-btn {
		flex-grow: 1;
	}
	.csup-nav-prev {
		left: -10px;
	}

	.csup-nav-next {
		right: -10px;
	}
	.csup-slide {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.csup-nav {
		width: 32px;
		height: 32px;
		font-size: 18px;
	}
}

/* ===========================================================
   ACTIONS (Request a Quote / Technical Documents)
=========================================================== */

.csup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 25px;
}

.csup-btn {
	display: inline-block;
	padding: 17px 24px;
	font-size: 15px;
	line-height: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 2px;
	text-align: center;
	transition: all .3s ease-in-out;
}
.csup-btn:hover{
	transform: translateY(-2px);
}
.csup-btn-primary {
	background: #ff5c00;
	color: #000;
	border: 1px solid #ff5c00;
}

.csup-btn-primary:hover {
	color: #fff;
}

.csup-btn-secondary {
	background: transparent;
	color: #000;
	border: 1px solid #000;
}

.csup-btn-secondary:hover {
	background: transparent;
	color: #ff5c00;
	border: 1px solid #ff5c00;
}

/* ---------------------------------------------------------------------- */
/* Resources Post Card                                                      */
/* ---------------------------------------------------------------------- */

/*
.resource-cards-wrap {
	max-width: 1100px;
}
*/

.resource-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.resource-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 2px;
	padding: 20px;
}

.resource-card__icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	background: #eef2f7;
	color: #3b4758;
}

.resource-card__icon.is-pdf {
	background: #fdeceb;
	color: #d9362f;
}

.resource-card__icon.is-docx {
	background: #eaf1fd;
	color: #2158c4;
}

.resource-card__icon.is-xlsx {
	background: #eaf8ef;
	color: #1a8a44;
}

.resource-card__body {
	flex: 1 1 auto;
	min-width: 0;
}

.resource-card__title {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 600;
	color: #082b4c;
	line-height: 23px;
}

.resource-card__meta {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: #6e7781;
}

.resource-card__btn {
	flex: 0 0 auto;
	border: 1px solid #082b4c;
	color: #f8f8f6;
	background: #082b4c;
	padding: 13px 18px;
	border-radius: 2px;
	font-size: 15px;
	line-height: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: all .3s ease-in-out;
}

.resource-card__btn:hover {
	background: transparent;
	color: #082b4c;
}

.resource-cards-loadmore-wrap {
	text-align: center;
	margin-top: 35px;
}

.resource-cards-loadmore {
	background: #ff5c00 !important;
	color: #000 !important; 
	border: none !important;
	padding: 14px 24px !important;
	font-size: 15px !important;
	line-height: 15px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all .3s ease-in-out !important;
}

.resource-cards-loadmore:hover {
	background: #ff5c00 !important;
	color: #f8f8f6 !important;
	transform: translatey(-2px) !important;
}

.resource-cards-loadmore:disabled {
	opacity: 0.6;
	cursor: default;
}


/* Responsive - Tablet */
@media (max-width: 900px) {
	.resource-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.resource-card {
		flex-wrap: wrap;
	}
}
/* Responsive - Mobile */
@media (max-width: 600px) {
	.resource-cards-grid {
		grid-template-columns: 1fr;
	}
}

/* Helix: 6-category layout (3 x 2 desktop, 2 x 3 tablet) */
.custom-page-categories .custom-category-item:not(:last-of-type) { border-right: none; }
.custom-page-categories .custom-category-item:not(:nth-of-type(3n)) { border-right: 1px solid #B7CEDF4D; }
@media (max-width: 900px) {
    .custom-page-categories .custom-category-item:not(:nth-of-type(3n)) { border-right: none; }
    .custom-page-categories .custom-category-item:nth-of-type(2n+1) { border-right: 1px solid #B7CEDF4D; }
}
/* Column-edge padding for 3 x 2 grid */
.custom-page-categories .custom-category-item:nth-child(3n+1) { padding-left: 0; }
.custom-page-categories .custom-category-item:nth-child(3n) { padding-right: 0; }
@media (max-width: 900px) {
    .elementor-element:not(.SC-prd-cat):not(.SC-bg-cat-wrapper) > .elementor-shortcode > .custom-page-categories .custom-category-item:nth-child(n) { padding-left: 24px; padding-right: 24px; }
    .elementor-element:not(.SC-prd-cat):not(.SC-bg-cat-wrapper) > .elementor-shortcode > .custom-page-categories .custom-category-item:nth-child(2n+1) { padding-left: 0; }
    .elementor-element:not(.SC-prd-cat):not(.SC-bg-cat-wrapper) > .elementor-shortcode > .custom-page-categories .custom-category-item:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 560px) {
    .custom-page-categories .custom-category-item:nth-of-type(2n+1) { border-right: none; }
    .elementor-element:not(.SC-prd-cat):not(.SC-bg-cat-wrapper) > .elementor-shortcode > .custom-page-categories .custom-category-item:nth-child(n) { padding-left: 0; padding-right: 0; }
}
