/*
 * Styles for Service Detail Hero Block
 */

.service-detail-hero-section {
	padding: 88px 57px 88px 57px; /* Align with global margins */
	background-color: var(--white);
	overflow: hidden;
}

.service-detail-hero-container {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr; /* 2-column layout */
	gap: 44px; /* Gap of 64px to match design theme */
	align-items: start; /* Align tops of columns */
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	box-sizing: border-box;
}

.service-detail-hero-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.service-detail-hero-right {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

/* Heading: Public Sans, Medium 60px, line-height 70, letter spacing -3% */
.service-detail-hero-heading {
	font-family: 'Public Sans', sans-serif;
	font-weight: 500;
	font-size: 60px;
	line-height: 70px;
	letter-spacing: -0.03em;
	color: #0F172A;
	margin: 0 0 24px 0; /* Space between heading and description is 24px */
}

/* Linear text gradient wrapper */
.service-detail-hero-heading .gradient-text {
	background: linear-gradient(180deg, #0E2795 0%, rgba(1, 49, 255, 0.75) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline;
}

/* Description: Nunito regular 16px, line height 25 */
.service-detail-hero-desc {
	font-family: var(--font-nunito);
	font-weight: 400;
	font-size: 16px;
	line-height: 25px;
	letter-spacing: 0.02em;
	color: var(--text-muted);
	margin: 0;
}

/* Image: corner radius 24px, subtle premium shadow */
.service-detail-image-wrapper {
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.service-detail-image {
	width: 100%;
	height: 300px;
	display: block;
	object-fit: cover;
}

/* Block Editor specific adjustments */
.service-detail-hero-editor-wrapper {
	padding: 20px;
	background-color: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	margin-bottom: 25px;
}

.service-detail-hero-editor-wrapper h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-family: 'Public Sans', sans-serif;
	color: #0f172a;
}

.service-detail-hero-editor-wrapper .editor-preview-label {
	font-weight: bold;
	color: #64748b;
	margin-top: 25px;
	margin-bottom: 10px;
	font-size: 14px;
	letter-spacing: 0.05em;
}

.service-detail-hero-editor-wrapper label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #475569;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
}

.service-detail-hero-editor-wrapper [contenteditable] {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	padding: 10px 14px;
	border-radius: 4px;
	min-height: 40px;
	font-family: inherit;
	color: #1e293b;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
	margin-bottom: 15px;
}

.service-detail-hero-editor-wrapper [contenteditable]:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 1px var(--primary-color);
}

/* ==========================================
   Responsive Rules
   ========================================== */
@media (max-width: 1024px) {
	.service-detail-hero-section {
		padding: 60px 24px 60px 24px;
	}
	
	.service-detail-hero-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.service-detail-hero-heading {
		font-size: 48px;
		line-height: 56px;
		margin-bottom: 20px;
	}
	
	.service-detail-hero-right {
		margin-top: 10px;
	}
}

@media (max-width: 600px) {
	.service-detail-hero-section {
		padding: 40px 24px 60px 24px;
	}
	
	.service-detail-hero-heading {
		font-size: 34px;
		line-height: 42px;
	}
}
