/* ==========================================================================
   ESTONE CERTIFICATION & COMPLIANCE SECTION STYLESHEET
   ========================================================================== */

/* Frontend Full Screen Edge-to-Edge Container Breakout */
.estone-certification-wrapper {
	position: relative;
	width: 100vw !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: #ffffff;
	padding: 4rem 3rem;
	overflow: hidden;
	color: #000000;
	box-sizing: border-box;
}

/* Gutenberg Admin Block Editor Canvas Containment ONLY */
.editor-styles-wrapper .estone-certification-wrapper,
.block-editor-block-list__layout .estone-certification-wrapper,
.block-editor-block-list__block .estone-certification-wrapper,
.block-editor-iframe__html .estone-certification-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.estone-certification-wrapper * {
	box-sizing: border-box;
}

/* Inner Container */
.estone-cert-inner-container {
	margin: 0 auto;
	width: 100%;
}

/* Header */
.estone-cert-header {
	width: 100%;
	margin-bottom: 2.5rem;
}

.estone-cert-title {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 2.15rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #000000;
	margin: 0;
	line-height: 1.25;
	word-wrap: break-word;
}

/* 6-Card Compliance Grid Stage */
.estone-cert-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
	width: 100%;
}

/* Card Box */
.estone-cert-card {
	background-color: #e8f1f8;
	border-radius: 8px;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.estone-cert-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 56, 117, 0.1);
}

/* Icon Container */
.estone-cert-icon-box {
	margin-bottom: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.estone-cert-svg-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.estone-cert-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.estone-cert-custom-icon {
	object-fit: contain;
	display: block;
}

/* Card Title & Desc */
.estone-cert-card-title {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #000000;
	margin: 0 0 0.75rem 0;
	line-height: 1.3;
}

.estone-cert-card-desc {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 0.9rem;
	color: #334155;
	line-height: 1.6;
	margin: 0;
}

.estone-cert-card-desc strong {
	color: #003875;
	font-weight: 700;
}

/* Canvas Interactive Icon Picker */
.estone-cert-canvas-icon-picker {
	cursor: pointer;
	position: relative;
	display: inline-block;
}

.estone-cert-canvas-icon-picker:hover::after {
	content: '📷';
	position: absolute;
	inset: 0;
	background: rgba(0, 56, 117, 0.75);
	color: #ffffff;
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

/* Responsive Breakdown */
@media (max-width: 768px) {
	.estone-certification-wrapper {
		padding: 2.5rem 1.25rem;
	}

	.estone-cert-grid {
		grid-template-columns: 1fr;
	}
}
