/* ==========================================================================
   ESTONE ADVANCED SCREEN PROTECTION TECHNOLOGIES BLOCK STYLESHEET
   ========================================================================== */

.estone-screen-protection-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-screen-protection-wrapper,
.block-editor-block-list__layout .estone-screen-protection-wrapper,
.block-editor-block-list__block .estone-screen-protection-wrapper,
.block-editor-iframe__html .estone-screen-protection-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

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

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

/* Section Header */
.estone-sp-header {
	margin-bottom: 36px;
}

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

.estone-sp-subtitle {
	font-size: 15px;
	color: #4b5563;
	line-height: 1.6;
	margin-top: 10px;
	margin-bottom: 0;
}

/* Cards Grid */
.estone-sp-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	width: 100%;
}

/* Card Container */
.estone-sp-card {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 34px 34px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
	border: 1px solid rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	position: relative;
	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-sp-card.has-hover:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 56, 117, 0.08);
	border-color: rgba(0, 56, 117, 0.12);
}

/* Card Top Row (Icon + Number Badge) */
.estone-sp-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
}

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

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

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

.estone-sp-card-number {
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #0c1a30;
	line-height: 1;
	letter-spacing: 0.02em;
}

/* Card Body */
.estone-sp-card-title {
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #0c1a30;
	line-height: 1.35;
	margin: 0 0 14px 0;
	letter-spacing: -0.01em;
}

.estone-sp-card-desc {
	font-size: 14px;
	line-height: 1.55;
	color: #4b5563;
	margin: 0 0 16px 0;
}

/* Feature Points List */
.estone-sp-features-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

.estone-sp-feature-item {
	font-size: 13.5px;
	line-height: 1.5;
	color: #4b5563;
}

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

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

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

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

.estone-sp-editor-feature-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 5px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 4px 8px;
}

.estone-sp-editor-feature-row input {
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 12px;
}

.estone-sp-editor-feature-row .feature-label-input {
	font-weight: 600;
	width: 35%;
}

.estone-sp-editor-feature-row .feature-text-input {
	flex: 1;
}

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

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

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

	.estone-sp-title {
		font-size: 26px;
	}

	.estone-sp-card {
		padding: 28px 24px;
	}
}

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

	.estone-sp-card {
		padding: 22px 18px;
	}

	.estone-sp-card-title {
		font-size: 16.5px;
	}

	.estone-sp-card-desc,
	.estone-sp-feature-item {
		font-size: 13px;
	}
}
