/*
 * Styles for What We Do Block
 */

.what-we-do-section {
	padding: 88px 57px 88px 57px; /* Balanced padding and aligned margins */
	background-color: var(--white);
}

.what-we-do-container {
	display: grid;
	grid-template-columns: 1.8fr 1.1fr; /* 2-column layout */
	gap: 64px; /* Gap of 64px as specified */
	align-items: start; /* Align tops of columns */
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	box-sizing: border-box;
}

.what-we-do-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.what-we-do-right {
	display: flex;
	flex-direction: column;
}

/* Label Pill: same as homepage sections */
.label-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #E9EDFC;
	padding: 10px 25px;
	border-radius: 100px;
	margin-bottom: 20px;
}

.label-dot {
	width: 6px;
	height: 6px;
	background-color: #2342C8;
	border-radius: 50%;
	display: inline-block;
}

.label-pill span:not(.label-dot) {
	font-family: 'Public Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #2342C8;
	letter-spacing: 0.05em;
}

/* Heading: Public Sans, Medium 48px, line-height 58 */
.what-we-do-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 */
.what-we-do-desc {
	font-family: var(--font-nunito);
	font-weight: 400;
	font-size: 16px;
	line-height: 25px;
	letter-spacing: 0.02em;
	color: var(--text-muted);
	margin-top: 0;
	margin-bottom: 24px; /* Space between paragraphs is 24px */
}

.what-we-do-desc:last-child {
	margin-bottom: 0;
}

/* Linear text gradient wrapper */
.what-we-do-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;
}

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

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

.what-we-do-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) {
	.what-we-do-section {
		padding: 60px 24px 60px 24px;
	}
	
	.what-we-do-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.what-we-do-right {
		padding-top: 0;
	}
	
	.what-we-do-heading {
		font-size: 48px;
		line-height: 56px;
	}
}

@media (max-width: 600px) {
	.what-we-do-section {
		padding: 0px 24px 80px 24px;
	}
	
	.what-we-do-container {
		gap: 36px;
	}
	
	.what-we-do-heading {
		font-size: 34px;
		line-height: 42px;
	}
}
