/* ==========================================================================
   ESTONE ELECTRONIC DESIGN SECTION STYLESHEET
   ========================================================================== */

/* Frontend Full Screen Edge-to-Edge Container Breakout */
.estone-electronic-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-electronic-wrapper,
.block-editor-block-list__layout .estone-electronic-wrapper,
.block-editor-block-list__block .estone-electronic-wrapper,
.block-editor-iframe__html .estone-electronic-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

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

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

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

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

/* Main 2-Column Grid Stage */
.estone-elec-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 3.5rem;
	align-items: center;
	width: 100%;
}

.estone-elec-left-col {
	display: flex;
	flex-direction: column;
}

.estone-elec-subtitle {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 0.95rem;
	color: #334155;
	line-height: 1.6;
	margin: 0 0 1.75rem 0;
}

/* Numbered Feature Bullet List */
.estone-elec-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.estone-elec-item {
	display: flex;
	align-items: flex-start;
	gap: 1.15rem;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 0.95rem;
	color: #1e293b;
	line-height: 1.6;
}

.estone-elec-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #003875;
	margin-top: 0.55rem;
	flex-shrink: 0;
}

.estone-elec-item-text strong {
	color: #000000;
	font-weight: 700;
}

/* Right Column PCB Hero Image Stage */
.estone-elec-right-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.estone-elec-hero-wrap {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.estone-elec-hero-img {
	width: 100%;
	display: block;
}

/* Interactive Canvas Image Picker */
.estone-elec-canvas-img-picker {
	cursor: pointer;
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.estone-elec-canvas-img-picker:hover::after {
	content: '📷 Click to Change Hero Image';
	position: absolute;
	inset: 0;
	background: rgba(0, 56, 117, 0.75);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

/* Responsive Breakdown */
@media (max-width: 992px) {
	.estone-elec-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 600px) {
	.estone-electronic-wrapper {
		padding: 2.5rem 1.25rem;
	}
}
