/**
 * SJ Morse About Page — Figma frame 78:4
 *
 * Loaded only on the About page (figma-about.css). Uses .sj-abt-* section
 * classes so layout works without relying on body.sj-morse-about.
 * Mirrors the rest of the theme: Barlow Condensed for headings, Source Sans
 * Pro for body, lime #BEC852 CTA. Layout pattern mirrors the Services page
 * (full-width hero + content block + bottom CTA band).
 *
 * Reference artboard width: 1440px.
 */

/* =========================================================================
   Hero — full-width background image with overlay; left-aligned two-line
   title + supporting paragraph below.
   ========================================================================= */
.sj-abt-hero.elementor-section {
	min-height: 884px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.sj-abt-hero > .elementor-background-holder,
.sj-abt-hero > .elementor-element-populated > .elementor-background-holder {
	background-position: center center !important;
	background-size: cover !important;
}

.sj-abt-hero > .elementor-container {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 2;
}

.sj-abt-hero-col > .elementor-widget-wrap,
.sj-abt-hero-col.elementor-column > .elementor-element-populated {
	background-color: transparent !important;
}

/* Hero headline — Figma: Barlow Condensed SemiBold (600) / 100px / Auto /
   0 tracking / white / left. Single block W=1097 H=141 @ X=149 Y=212.
   Implemented as text-editor + <h1> so the line break matches Figma. */
.sj-abt-hero-headline-wrap .elementor-widget-container,
.sj-abt-hero-headline-wrap.elementor-widget-text-editor .elementor-widget-container {
	margin: 0;
	padding: 0;
}

.sj-abt-hero-headline {
	font-family: "Barlow Condensed", sans-serif !important;
	font-weight: 600;
	font-size: 100px;
	line-height: normal;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #ffffff !important;
	margin: 0;
	max-width: 1097px;
}

.sj-abt-hero-body,
.sj-abt-hero-body p {
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif !important;
	font-weight: 400;
	font-size: 32px;
	line-height: 50px;
	letter-spacing: 0;
	color: #ffffff !important;
	max-width: 973px;
	margin: 0;
}

/* =========================================================================
   Who We Are — light-grey band, 2 rows × (text | image).
   ========================================================================= */
.sj-abt-who.elementor-section {
	background-color: #e7e7e7 !important;
	box-sizing: border-box;
	padding-top: 56px !important;
	padding-bottom: 56px !important;
}

.sj-abt-who > .elementor-container {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
}

.sj-abt-who-title.elementor-widget-heading {
	margin-bottom: 32px !important;
}

.sj-abt-who-col .sj-abt-row + .sj-abt-row {
	margin-top: 40px !important;
}

.sj-abt-who-col > .elementor-widget-wrap,
.sj-abt-who-col.elementor-column > .elementor-element-populated {
	background-color: transparent !important;
}

/* Elementor JSON sets 222px / 179px side padding on this column — reset on smaller viewports */
@media (max-width: 1200px) {
	.sj-abt-who-col > .elementor-element-populated,
	.sj-abt-who-col.elementor-column > .elementor-element-populated {
		padding-left: 32px !important;
		padding-right: 32px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* Inner Who We Are rows must span the column (Elementor nests sections inside the column) */
.sj-abt-who-col > .elementor-widget-wrap > .sj-abt-row.elementor-section {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	clear: both;
}

/* Cancel Elementor stretch-section inline math on inner rows. */
.sj-abt-who-col .sj-abt-row.elementor-section.elementor-section-stretched {
	left: 0 !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

.sj-abt-row > .elementor-container,
.sj-abt-row > .elementor-container > .elementor-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	column-gap: 79px;
	align-items: flex-start;
	box-sizing: border-box;
}

.sj-abt-row > .elementor-container > .elementor-row {
	width: 100%;
	max-width: 1039px;
	margin-left: auto;
	margin-right: auto;
}

.sj-abt-row.elementor-section > .elementor-container {
	max-width: none !important;
	width: 100%;
}

/* Figma row: text block ~457px + gap 79px + image 503×348 */
.sj-abt-col-text {
	flex: 0 0 auto;
	width: 457px !important;
	max-width: 457px;
	box-sizing: border-box;
}

.sj-abt-col-img {
	flex: 0 0 auto;
	width: 503px !important;
	max-width: 503px;
	box-sizing: border-box;
}

.sj-abt-who-title .elementor-heading-title {
	font-family: "Barlow Condensed", sans-serif !important;
	font-weight: 700;
	font-size: 50px;
	line-height: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #000000 !important;
	margin: 0;
	max-width: 894px;
}

.sj-abt-who-body,
.sj-abt-who-body p {
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif !important;
	font-weight: 400;
	font-size: 25px;
	line-height: 35px;
	letter-spacing: 0;
	color: #000000 !important;
	margin: 0;
	max-width: 457px;
}

/* Image — Figma: 503 × 348, 3px white stroke inside, radius 0 */
.sj-abt-col-img .elementor-widget-image {
	margin: 0 !important;
	width: 503px;
	max-width: 100%;
}

.sj-abt-col-img .elementor-widget-image .elementor-widget-container,
.sj-abt-col-img .elementor-widget-image .elementor-image,
.sj-abt-col-img .elementor-widget-image figure {
	margin: 0;
	width: 100%;
	max-width: 503px;
}

.sj-abt-col-img .elementor-widget-image img {
	display: block;
	width: 503px;
	max-width: 100%;
	height: 348px;
	object-fit: cover;
	border-radius: 0;
	box-sizing: border-box;
	box-shadow: inset 0 0 0 3px #ffffff;
}

/* =========================================================================
   CTA — Figma: band 1440 × 383, fill #5D5D5D. Headline Source Sans 3
   SemiBold (600) / 45px / Auto / 0, white, centered, max-w 1050.
   Button: Open Sans Condensed Bold 40, 328 × 70 (site CTA standard), lime #BEC852.
   ========================================================================= */
.sj-abt-cta.elementor-section {
	background-color: #5d5d5d !important;
	min-height: 0 !important;
	padding-top: 72px !important;
	padding-bottom: 72px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

.sj-abt-cta > .elementor-container {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	min-height: 0 !important;
}

.sj-abt-cta-col {
	text-align: center;
}

.sj-abt-cta-col > .elementor-widget-wrap,
.sj-abt-cta-col.elementor-column > .elementor-element-populated {
	background-color: transparent !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	row-gap: 32px;
}

.sj-abt-cta-line {
	text-align: center;
	margin: 0 !important;
}

.sj-abt-cta-line .elementor-heading-title {
	font-family: "Source Sans 3", "Source Sans Pro", sans-serif !important;
	font-weight: 600;
	font-size: 45px;
	line-height: normal;
	letter-spacing: 0;
	color: #ffffff !important;
	text-transform: none;
	margin: 0 auto;
	max-width: 1050px;
	text-align: center;
}

/* Lime button — same 328 × 70 spec as Home / Services / Projects CTAs */
.sj-abt-cta-btn {
	text-align: center;
	margin: 0 !important;
}

.sj-abt-cta-btn .elementor-button {
	font-family: "Open Sans Condensed", "Barlow Condensed", sans-serif !important;
	font-weight: 700;
	font-size: 40px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
	color: #000000 !important;
	background-color: #bec852 !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	outline: 0 !important;
	box-sizing: border-box;
	width: 328px !important;
	min-height: 70px !important;
	height: 70px !important;
	padding: 0 20px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* =========================================================================
   Responsive — collapse the 2-column rows on small viewports.
   ========================================================================= */
@media (max-width: 1200px) {
	.sj-abt-hero-col {
		padding-left: 32px !important;
		padding-right: 32px !important;
		padding-top: 160px !important;
	}
	.sj-abt-hero-headline {
		font-size: clamp(40px, 8vw, 100px);
	}
	.sj-abt-col-img .elementor-widget-image {
		width: 100% !important;
		max-width: 100% !important;
	}
	.sj-abt-col-img .elementor-widget-image img {
		width: 100% !important;
		height: auto;
		aspect-ratio: 503 / 348;
		box-shadow: inset 0 0 0 2px #ffffff;
	}
}

@media (max-width: 900px) {
	.sj-abt-hero.elementor-section {
		min-height: min(70vh, 560px);
		height: auto;
	}

	.sj-abt-hero-col > .elementor-element-populated,
	.sj-abt-hero-col > .elementor-widget-wrap {
		padding: 100px 20px 32px 20px !important;
	}

	.sj-abt-hero-headline {
		font-size: clamp(36px, 9vw, 72px);
		max-width: 100%;
	}

	.sj-abt-hero-body,
	.sj-abt-hero-body p {
		font-size: clamp(17px, 4vw, 28px);
		line-height: 1.45;
		max-width: 100%;
	}

	.sj-abt-who-col > .elementor-element-populated,
	.sj-abt-who-col.elementor-column > .elementor-element-populated {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.sj-abt-row > .elementor-container,
	.sj-abt-row > .elementor-container > .elementor-row {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		row-gap: 24px;
		column-gap: 0;
	}
	.sj-abt-col-text,
	.sj-abt-col-img {
		width: 100% !important;
		max-width: 100%;
		flex: 0 0 100%;
		flex-basis: 100%;
	}
	.sj-abt-col-text {
		padding-right: 0 !important;
	}
	.sj-abt-who-body,
	.sj-abt-who-body p {
		max-width: 100%;
	}
	.sj-abt-cta-line .elementor-heading-title {
		font-size: 24px;
		line-height: 1.35;
	}
	.sj-abt-cta-btn .elementor-button {
		font-size: 28px;
		width: 100% !important;
		max-width: 328px;
		height: 70px;
		min-height: 70px;
	}
}
