/* ==========================================================================
   ESTONE HOW RFID WORKS IN TABLET SOLUTIONS BLOCK STYLESHEET
   ========================================================================== */

.estone-how-rfid-works-wrapper {
	position: relative;
	width: 100vw !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
	box-sizing: border-box;
	overflow: hidden;
}

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

.estone-how-rfid-works-wrapper * {
	box-sizing: border-box;
}

/* Inner Container */
.estone-hrw-inner {
	margin: 0 auto;
	width: 100%;
	position: relative;
	z-index: 1;
}

/* 2-Column Grid */
.estone-hrw-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.95fr;
	align-items: center;
	gap: 56px;
	width: 100%;
}

/* Left Column: Content */
.estone-hrw-left {
	display: flex;
	flex-direction: column;
}

.estone-hrw-title {
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
	font-size: 34px;
	font-weight: 700;
	color: #0c1a30;
	line-height: 1.25;
	margin: 0 0 20px 0;
	letter-spacing: -0.015em;
}

.estone-hrw-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #4b5563;
	margin: 0 0 20px 0;
}

.estone-hrw-subtitle {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: #374151;
	margin: 0 0 12px 0;
}

.estone-hrw-features-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.estone-hrw-feature-item {
	font-size: 14.5px;
	line-height: 1.55;
	color: #4b5563;
}

.estone-hrw-feature-label {
	font-weight: 700;
	color: #0c1a30;
}

.estone-hrw-feature-sep {
	color: #4b5563;
	margin: 0 4px;
}

.estone-hrw-feature-text {
	color: #4b5563;
}

/* Right Column: Stacked Cards */
.estone-hrw-right {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.estone-hrw-cards-stack {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}

.estone-hrw-card {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 26px 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
	border: 1px solid rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	gap: 24px;
	position: relative;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.estone-hrw-card.has-hover:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 56, 117, 0.07);
	border-color: rgba(0, 56, 117, 0.12);
}

.estone-hrw-card-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.estone-hrw-card-icon-wrap svg {
	display: block;
}

.estone-hrw-card-icon-img {
	object-fit: contain;
	display: block;
}

.estone-hrw-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.estone-hrw-card-title {
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
	font-size: 16.5px;
	font-weight: 700;
	color: #0c1a30;
	line-height: 1.3;
	margin: 0;
	letter-spacing: -0.01em;
}

.estone-hrw-card-desc {
	font-size: 13.5px;
	line-height: 1.45;
	color: #64748b;
	margin-top: 4px;
}

/* ==========================================================================
   GUTENBERG BLOCK EDITOR CONTROLS & ENHANCEMENTS
   ========================================================================== */
.estone-hrw-editor-card-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px dashed #cbd5e1;
	width: 100%;
}

.estone-hrw-editor-add-card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: #f8fafc;
	border: 2px dashed #94a3b8;
	border-radius: 10px;
	color: #003875;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	margin-top: 10px;
}

.estone-hrw-editor-add-card-btn:hover {
	background: #eff6ff;
	border-color: #2563eb;
	color: #1d4ed8;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
	.estone-hrw-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.estone-hrw-title {
		font-size: 28px;
	}

	.estone-hrw-card {
		padding: 22px 24px;
		gap: 20px;
	}
}

@media (max-width: 600px) {
	.estone-hrw-title {
		font-size: 23px;
	}

	.estone-hrw-desc,
	.estone-hrw-subtitle,
	.estone-hrw-feature-item {
		font-size: 13.5px;
	}

	.estone-hrw-card {
		padding: 18px 18px;
		gap: 16px;
	}

	.estone-hrw-card-title {
		font-size: 15px;
	}
}
