/* Inner pages: fixed header + banner slider */
body.inner-page {
	padding-top: 86px;
	overflow-x: hidden;
}
body.inner-page header,
body.inner-page header .container,
body.inner-page header .row,
body.inner-page header #nav-anim,
body.inner-page header #cssmenu {
	overflow: visible !important;
	max-height: none !important;
}
/* Home one-page scroll adds nav_pad on scroll; inner pages should not shrink/grow the bar */
body.inner-page #nav-anim.nav_pad {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
body.inner-page main .container,
body.inner-page #pl-120 .container,
body.inner-page .inner-page-wrapper,
body.inner-page .inner-page,
body.inner-page .textwidget,
body.inner-page .siteorigin-widget-tinymce,
body.inner-page .about_content,
body.inner-page .panel-grid {
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}
/* CKEditor / page content images — override inline width/height (e.g. 1300px) */
body.inner-page .textwidget img,
body.inner-page .siteorigin-widget-tinymce img,
body.inner-page .textwidget p img,
body.inner-page .siteorigin-widget-tinymce p img,
body.inner-page .about_content img[src*="ckeditor"],
body.inner-page .textwidget img[src*="ckeditor"],
body.inner-page .siteorigin-widget-tinymce img[src*="ckeditor"] {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	float: none !important;
	display: block;
	margin: 0 auto 1.25em;
	box-sizing: border-box;
}
body.inner-page .textwidget p,
body.inner-page .siteorigin-widget-tinymce p {
	max-width: 100%;
	overflow: hidden;
}
body.inner-page .textwidget span,
body.inner-page .siteorigin-widget-tinymce span {
	display: block;
	max-width: 100%;
}
/* Certificates page — intro + card grid */
body.inner-page.certificates-page #certificates-section,
body.inner-page #certificates-section.certificates-page {
	padding: 40px 0 50px;
}
body.inner-page #certificates-section .certificates-intro {
	margin-bottom: 36px;
}
body.inner-page #certificates-section .certificates-intro h2 {
	font-family: "Times New Roman", Times, serif;
	font-size: 32px;
	font-weight: 700;
	color: #222;
	margin: 0 0 10px;
	letter-spacing: 0.02em;
}
body.inner-page #certificates-section .certificates-intro p {
	font-size: 15px;
	color: #666;
	margin: 0;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
body.inner-page #certificates-section .certificates-grid {
	margin-left: -12px;
	margin-right: -12px;
}
body.inner-page #certificates-section .certificates-grid > [class*="col-"] {
	padding-left: 12px;
	padding-right: 12px;
	margin-bottom: 28px;
}
body.inner-page #certificates-section .certificate-card {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}
body.inner-page #certificates-section .certificate-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
body.inner-page #certificates-section .certificate-card .certificate-gallery {
	display: block;
	text-decoration: none;
	color: inherit;
	flex: 1 1 auto;
}
body.inner-page #certificates-section .certificate-card__media {
	position: relative;
	background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
	padding: 16px 14px;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
body.inner-page #certificates-section .certificate-card__media img {
	width: 100% !important;
	height: 400px !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center;
	margin: 0 !important;
	padding: 0;
	border: none !important;
	box-shadow: none !important;
	display: block;
	float: none;
}
body.inner-page #certificates-section .cert_zoom {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(34, 34, 34, 0.45);
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
	pointer-events: none;
}
body.inner-page #certificates-section .cert_zoom i {
	font-size: 32px;
}
body.inner-page #certificates-section .cert_zoom-text {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.inner-page #certificates-section .certificate-card:hover .cert_zoom {
	opacity: 1;
}
body.inner-page #certificates-section .certificate-card__title {
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin: 0;
	padding: 16px 14px 18px;
	border-top: 1px solid #eee;
	line-height: 1.35;
}
@media (max-width: 991px) {
	body.inner-page #certificates-section .certificate-card__media {
		min-height: 320px;
	}
	body.inner-page #certificates-section .certificate-card__media img {
		height: 320px !important;
	}
}
@media (max-width: 767px) {
	body.inner-page #certificates-section {
		padding: 28px 0 36px;
	}
	body.inner-page #certificates-section .certificates-intro h2 {
		font-size: 26px;
	}
	body.inner-page #certificates-section .certificate-card__media {
		min-height: 280px;
		padding: 12px;
	}
	body.inner-page #certificates-section .certificate-card__media img {
		height: 280px !important;
	}
	body.inner-page #certificates-section .cert_zoom i {
		font-size: 26px;
	}
	body.inner-page #certificates-section .certificate-card__title {
		font-size: 16px;
		padding: 14px 12px 16px;
	}
}

/* Certificates lightbox — above fixed header (header z-index: 9999) */
body.gallery-lightbox-open .fancybox-overlay {
	z-index: 100000 !important;
}
body.gallery-lightbox-open .fancybox-wrap {
	z-index: 100001 !important;
}
body.gallery-lightbox-open .fancybox-opened {
	z-index: 100002 !important;
}
body.gallery-lightbox-open #fancybox-loading {
	z-index: 100003 !important;
}
body.inner-page.gallery-lightbox-open .fancybox-skin {
	background: #fff !important;
	padding: 14px !important;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
body.inner-page.gallery-lightbox-open .fancybox-image {
	max-width: 92vw;
	max-height: calc(88vh - 70px);
}
body.inner-page.gallery-lightbox-open .fancybox-close {
	background-image: none !important;
	background-color: rgba(0, 0, 0, 0.85) !important;
	border: 2px solid #fff;
	border-radius: 50%;
	width: 40px !important;
	height: 40px !important;
	top: 78px !important;
	right: 15px !important;
	z-index: 100004 !important;
}

/* Community help page */
body.inner-page.community-help-page .inner-page-wrapper {
	padding: 40px 0 50px;
}
body.inner-page.community-help-page .compli-info p {
	margin: 0;
}
body.inner-page.community-help-page .compli-pic {
	margin-bottom: 15px;
}
body.inner-page.community-help-page .compli-pic img {
	object-fit: cover;
}

/* Machineries page */
body.inner-page.machineries-page .inner-page-wrapper {
	padding: 40px 0 50px;
}
body.inner-page.machineries-page .machineries-grid-wrap {
	display: flex;
	flex-wrap: wrap;
}
body.inner-page.machineries-page .compli-pic {
	margin-bottom: 24px;
}
body.inner-page.machineries-page .compli-pic img {
	object-fit: cover;
}

/* Clients page */
body.inner-page.clients-page .inner-page-wrapper {
	padding: 40px 0 50px;
}
body.inner-page.clients-page .clients-grid-wrap {
	display: flex;
	flex-wrap: wrap;
}
body.inner-page.clients-page .compli-pic {
	margin-bottom: 20px;
	text-align: center;
}
body.inner-page.clients-page .compli-pic a {
	display: block;
}
body.inner-page.clients-page .compli-pic img {
	object-fit: contain;
	background: #fff;
}

/* Keep client logos / product grids unchanged */
body.inner-page .compli-pic:not(.certificate-item) img,
body.inner-page .product-grid6 img,
body.inner-page .g_wrapper img,
body.inner-page section.slider-wrap img {
	width: auto;
	max-width: none;
	height: auto;
	float: none;
	margin: 0;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .item img {
	width: 100% !important;
	height: 300px !important;
	margin: 0;
}
body.inner-page header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
}
body.inner-page section.slider-wrap:not(#home) {
	height: 300px;
	overflow: hidden;
	padding: 0;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap.owl-carousel,
body.inner-page section.slider-wrap:not(#home) #slider-wrap .owl-wrapper-outer,
body.inner-page section.slider-wrap:not(#home) #slider-wrap .owl-wrapper,
body.inner-page section.slider-wrap:not(#home) #slider-wrap .owl-item,
body.inner-page section.slider-wrap:not(#home) #slider-wrap .item {
	height: 300px !important;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .item {
	position: relative;
	overflow: hidden;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .item:before {
	z-index: 1;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .item img {
	width: 100%;
	height: 300px !important;
	object-fit: cover;
	object-position: center center;
	display: block;
}
/* Center caption in middle of inner banner (reference design) */
body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%);
	width: 90% !important;
	max-width: 100%;
	height: auto !important;
	margin: 0 !important;
	padding: 0 15px;
	box-sizing: border-box;
	text-align: center !important;
	z-index: 3;
	display: block;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption h1,
body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption h2 {
	color: #fff !important;
	text-align: center !important;
	margin: 0 !important;
	font-weight: bold;
	width: 100%;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption h1 {
	font-size: 36px;
	line-height: 1.2;
}
body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption h2 {
	font-size: 22px;
	line-height: 1.3;
	margin-top: 8px !important;
}
@media (max-width: 767px) {
		body.inner-page {
		padding-top: 70px;
	}
	body.inner-page section.slider-wrap:not(#home),
	body.inner-page section.slider-wrap:not(#home) #slider-wrap.owl-carousel,
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .owl-wrapper-outer,
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .owl-wrapper,
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .owl-item,
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .item {
		height: 220px !important;
	}
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .item img {
		height: 220px !important;
	}
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption h1 {
		font-size: 24px;
	}
	body.inner-page section.slider-wrap:not(#home) #slider-wrap .slider_caption h2 {
		font-size: 16px;
	}
}

/* Contact page (Details/contact/Contact-Us.html) */
body.inner-page.contact-page #pl-120 {
	padding: 40px 0 50px;
}
body.inner-page.contact-page #contact .contact_content h4 {
	font-weight: 600;
	margin-bottom: 12px;
}
body.inner-page.contact-page #contact .contact_content p {
	line-height: 1.6;
}
body.inner-page.contact-page #contact .cd-form {
	margin-top: 0;
}
body.inner-page.contact-page .contact-form-alert {
	margin-bottom: 16px;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 4px;
}
body.inner-page.contact-page .contact-form-alert--success {
	background: rgba(40, 167, 69, 0.9);
	color: #fff;
}
body.inner-page.contact-page .contact-form-alert--error {
	background: rgba(220, 53, 69, 0.9);
	color: #fff;
}
body.inner-page.contact-page .contact-form-alert--error ul {
	margin: 0;
	padding-left: 18px;
}
/* Captcha: static label above input (not floating-label overlay) */
body.inner-page.contact-page #contact .contact-captcha-field {
	position: relative;
	margin: 28px 0;
}
body.inner-page.contact-page #contact .contact-captcha-label {
	display: block;
	position: static;
	margin: 0 0 10px;
	padding: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.4;
	color: #cfd9db;
	cursor: default;
}
body.inner-page.contact-page #contact .contact-captcha-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid #cfd9db;
	border-radius: 0.25em;
	background: transparent;
	color: #cfd9db;
	font-family: "Open Sans", sans-serif;
	font-size: 1.6rem;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: none;
}
body.inner-page.contact-page #contact .contact-captcha-input:focus {
	outline: none;
	border-color: #0ece61;
	box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
}
body.inner-page.contact-page #contact .contact-captcha-input::-webkit-outer-spin-button,
body.inner-page.contact-page #contact .contact-captcha-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
body.inner-page.contact-page #contact .contact-captcha-input::placeholder {
	color: rgba(207, 217, 219, 0.55);
}

/* CMS pages (/page/{slug}) — Details/page/About_Us/Production-Detail--Capacity.html */
body.inner-page.cms-page #pl-107 {
	margin: 0;
}
body.inner-page.cms-page .panel-row-style-about_content.about_content {
	padding: 50px 0 !important;
	color: #cccccc !important;
	background-color: #000 !important;
	background-repeat: no-repeat;
	background-size: cover;
}
body.inner-page.cms-page .about_content .textwidget,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce {
	height: auto;
	min-height: 350px;
}
body.inner-page.cms-page .about_content .textwidget p,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce p,
body.inner-page.cms-page .about_content .textwidget li,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce li,
body.inner-page.cms-page .about_content .textwidget span,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce span {
	color: #cccccc;
}
body.inner-page.cms-page .about_content .textwidget strong,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce strong {
	color: #fff;
	font-weight: 700;
}
body.inner-page.cms-page .about_content .textwidget ul,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce ul {
	padding-left: 1.5em;
	margin: 0 0 1em;
}
body.inner-page.cms-page .about_content .cms-page-short {
	font-size: 16px;
	margin-bottom: 1.5em;
	opacity: 0.9;
}
body.inner-page.cms-page .about_content .textwidget .Table,
body.inner-page.cms-page .about_content table.Table {
	border-collapse: collapse;
	border: solid #666666 1pt;
	width: 269.5pt;
	max-width: 100%;
	text-align: center;
	display: block;
	margin: 0 auto 1.5em;
}
body.inner-page.cms-page .about_content .textwidget p img,
body.inner-page.cms-page .about_content .siteorigin-widget-tinymce p img {
	margin: 0 auto;
	display: block;
}
