/**
 * Estone MIL-STD Drop Test Standards (810G vs 810H) Comparison Styles
 */

.estone-drop-test-comparison-wrapper {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
}

.estone-drop-test-comparison-wrapper.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.editor-styles-wrapper .estone-drop-test-comparison-wrapper,
.block-editor-block-list__layout .estone-drop-test-comparison-wrapper,
.block-editor-block-list__block .estone-drop-test-comparison-wrapper,
.block-editor-iframe__html .estone-drop-test-comparison-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.estone-drop-test-comparison-wrapper * {
	box-sizing: border-box;
}

.estone-dtc-inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.estone-dtc-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	width: 100%;
}

.estone-dtc-grid.estone-dtc-img-left {
	grid-template-columns: 0.85fr 1.15fr;
}

.estone-dtc-grid.estone-dtc-img-left .estone-dtc-image-col {
	order: 1;
}

.estone-dtc-grid.estone-dtc-img-left .estone-dtc-content-col {
	order: 2;
}

/* Content Column */
.estone-dtc-content-col {
	display: flex;
	flex-direction: column;
}

.estone-dtc-heading {
	font-family: inherit;
	font-weight: 800;
	margin: 0 0 0.65rem 0;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.estone-dtc-subtitle {
	font-family: inherit;
	font-weight: 600;
	margin-bottom: 0.75rem;
	line-height: 1.5;
}

.estone-dtc-desc {
	font-family: inherit;
	font-weight: 400;
	line-height: 1.65;
}

.estone-dtc-upgrades-intro {
	font-family: inherit;
}

.estone-dtc-upgrades-list {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.estone-dtc-list-item {
	position: relative;
	padding-left: 18px;
	line-height: 1.6;
	font-family: inherit;
}

.estone-dtc-list-item::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 18px;
	line-height: 1.2;
	color: #0072b2;
}

.estone-dtc-list-item a {
	color: #0072b2;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.estone-dtc-list-item a:hover {
	color: #c90000;
}

/* Image Column */
.estone-dtc-image-col {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.estone-dtc-image-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #ffffff;
}

.estone-dtc-img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.estone-dtc-image-frame:hover .estone-dtc-img {
	transform: scale(1.015);
}

.estone-dtc-img-placeholder {
	width: 100%;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f5f9;
	color: #64748b;
	font-size: 15px;
	font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
	.estone-dtc-grid,
	.estone-dtc-grid.estone-dtc-img-left {
		grid-template-columns: 1fr;
		gap: 2.5rem !important;
	}

	.estone-dtc-grid.estone-dtc-img-left .estone-dtc-image-col {
		order: 2;
	}

	.estone-dtc-grid.estone-dtc-img-left .estone-dtc-content-col {
		order: 1;
	}

	.estone-dtc-heading {
		font-size: 22px !important;
	}
}

@media (max-width: 600px) {
	.estone-drop-test-comparison-wrapper {
		padding-left: 20px !important;
		padding-right: 20px !important;
		padding-top: 48px !important;
		padding-bottom: 48px !important;
	}

	.estone-dtc-heading {
		font-size: 20px !important;
	}
}
