/*
 * Styles for About Hero Block
 */

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

.about-hero-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end; /* Align bottom to match design */
	gap: 64px;
	margin-bottom: 48px;
	width: 100%;
}

.about-hero-left {
	flex: 1.3;
}

.about-hero-right {
	flex: 1;
	padding-bottom: 8px; /* Align description line height baselines */
}

/* Heading: Public Sans, Medium 48px, line-height 58 */
.about-hero-heading {
	font-family: 'Public Sans', sans-serif;
	font-weight: 500;
	font-size: 60px;
	line-height: 70px;
	letter-spacing: -0.02em;
	color: #0F172A;
	margin: 0;
}

/* Description: Nunito regular 16px, line height 25 */
.about-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;
}

/* Linear text gradient wrapper */
.about-hero-heading .gradient-text,
.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;
}

/* Image row: full container width, corner radius 24px */
.about-hero-image-wrapper {
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-hero-image {
	width: 100%;
	height: auto;
	max-height: 367px;
	object-fit: cover;
	display: block;
}

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

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

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

/* ==========================================
   Responsive Rules
   ========================================== */
@media (max-width: 1024px) {
	.about-hero-section {
		padding: 60px 24px 80px 24px;
	}
	
	.about-hero-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 32px;
	}
	
	.about-hero-left,
	.about-hero-right {
		width: 100%;
		flex: none;
	}
	
	.about-hero-heading {
		font-size: 48px;
		line-height: 56px;
	}
}

@media (max-width: 600px) {
	.about-hero-heading {
		font-size: 34px;
		line-height: 42px;
	}
}
