/**
 * SSDC About Us / Corporate Profile Styles (Figma 112:18831)
 */

:root {
	--ab-primary-red: #E20004;
	--ab-eyebrow-red: #AE0404;
	--ab-primary-blue: #01319D;
	--ab-navy-text: #0F172A;
	--ab-body-text: #334155;
	--ab-muted-text: #475569;
	--ab-light-gray: #F8FAFC;
	--ab-border-color: #E2E8F0;
	--ab-font-display: var(--font-heading, 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
	--ab-font-body: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
}

/* ==========================================================================
   Global Page Background for About Us
   Dots live on the hero only so they stop before Mission / Core Values.
   ========================================================================== */
.ssdc-about-page {
	position: relative;
	background-color: #ffffff !important;
	background-image: none;
	padding-top: 0 !important;
	min-height: 0 !important;
	width: 100%;
}

/* ==========================================================================
   Global / Shared Styles for About Us
   ========================================================================== */
.ab-eyebrow-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.ab-eyebrow-bar {
	display: inline-block;
	width: 22px;
	height: 2px;
	background-color: var(--ab-eyebrow-red);
	border-radius: 1px;
	vertical-align: middle;
}

.ab-eyebrow-text {
	margin: 0;
	font-family: var(--ab-font-body);
	font-size: 16px; /* Font size/text-md */
	font-weight: 600;
	line-height: 24px; /* Line height/text-md */
	text-transform: uppercase;
	letter-spacing: 0;
	vertical-align: middle;
	color: rgba(174, 4, 4, 1);
}

/* ==========================================================================
   1. About Hero Section
   ========================================================================== */
.abh-hero {
	position: relative;
	background-color: transparent;
	padding: 64px 0 64px;
	overflow: hidden;
}

/* Right-side dot grid — clipped to hero so it never crosses into Mission */
.abh-hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background-image: url('../img/page-bg.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 100% auto;
	pointer-events: none;
	z-index: 0;
}

@media (max-width: 1024px) {
	.abh-hero::before {
		width: 60%;
	}
}

@media (max-width: 768px) {
	.abh-hero::before {
		width: 80%;
	}
}

.abh-hero__bands {
	display: none !important;
}

.abh-hero__bands img {
	position: absolute;
	left: 0;
	top: 0;
	width: 2036px;
	max-width: none;
	height: 431px;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.abh-hero {
		padding: 48px 0 48px;
	}

	.abh-hero__bands {
		opacity: 0.6;
		transform: translate(-50%, -50%) scale(0.85);
	}
}

@media (max-width: 768px) {
	.abh-hero__bands {
		display: none;
	}
}

.abh-hero--awards {
	padding: 64px 0 20px;
}

.abh-hero .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.abh-wrap {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
}

.abh-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.abh-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	z-index: 2;
}

.abh-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.abh-crumb-home,
.abh-crumb-link {
	display: inline-flex;
	align-items: center;
	color: #64748B;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	transition: color 0.2s ease;
}

.abh-crumb-home svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	flex-shrink: 0;
}

.abh-crumb-home:hover,
.abh-crumb-link:hover {
	color: #03287C;
}

.abh-crumb-sep {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #CBD5E1;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.abh-crumb-current {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #03287C;
}

.abh-title {
	font-family: var(--ab-font-display);
	font-size: clamp(34px, 4.5vw, 48px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--ab-navy-text);
	margin: 0 0 20px 0;
}

.abh-desc {
	font-family: var(--ab-font-body);
	font-size: clamp(16px, 1.8vw, 18px);
	font-weight: 400;
	line-height: 1.55;
	color: var(--ab-body-text);
	margin: 0 0 32px 0;
	max-width: 600px;
}

.abh-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.abh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 9999px;
	font-family: var(--ab-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	text-decoration: none !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
}

.abh-btn--primary {
	background-color: var(--ab-primary-red);
	color: #FFFFFF !important;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05), inset 0px -2px 0px 0px rgba(0, 0, 0, 0.05), inset 0px 0px 0px 1px rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.abh-btn--primary:hover {
	background-color: #C20003;
	transform: translateY(-2px);
	box-shadow: 0px 4px 12px rgba(226, 0, 4, 0.3);
}

.abh-btn--secondary {
	background-color: #FFFFFF;
	color: var(--ab-body-text) !important;
	border: 1px solid #CBD5E1;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.abh-btn--secondary:hover {
	background-color: #F8FAFC;
	border-color: #94A3B8;
	color: var(--ab-navy-text) !important;
	transform: translateY(-2px);
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.06);
}

.abh-media-wrap {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.abh-grid-bg {
	position: absolute;
	width: 135%;
	height: 135%;
	top: -15%;
	right: -15%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	opacity: 0.85;
	pointer-events: none;
	z-index: 1;
}

.abh-image-box {
	position: relative;
	width: 100%;
	max-width: 584px;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
	z-index: 2;
}

.abh-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.abh-image-box:hover .abh-image {
	transform: scale(1.02);
}

/* ==========================================================================
   2. Mission & Vision Section
   ========================================================================== */
.abm-section {
	background-color: transparent;
	padding: 80px 0 40px;
}

.abm-wrap {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
}

.abm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
}

.abm-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.abm-text {
	font-family: var(--ab-font-display);
	font-size: clamp(24px, 2.8vw, 36px);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: var(--ab-navy-text);
	margin: 0;
}

/* ==========================================================================
   3. Core Values Section (WHY SSDC / S · S · D · C)
   ========================================================================== */
.abv-section {
	background-color: transparent;
	padding: 80px 0;
}

.abv-wrap {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
}

.abv-header {
	margin-bottom: 40px;
}

.abv-title {
	font-family: var(--ab-font-display);
	font-size: clamp(28px, 3.2vw, 36px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ab-navy-text);
	margin: 0;
}

.abv-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.abv-card {
	background-color: var(--ab-light-gray);
	border: 1px solid var(--ab-border-color);
	border-radius: 16px;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.abv-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
	border-color: #CBD5E1;
}

.abv-badge {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05), inset 0px -2px 0px 0px rgba(0, 0, 0, 0.05), inset 0px 0px 0px 1px rgba(0, 0, 0, 0.18);
}

.abv-badge span {
	font-family: var(--ab-font-body);
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	color: #FFFFFF;
}

.abv-badge--red {
	background-color: var(--ab-primary-red);
}

.abv-badge--blue {
	background-color: var(--ab-primary-blue);
}

.abv-card-title {
	font-family: var(--ab-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	color: var(--ab-navy-text);
	margin: 0 0 10px 0;
}

.abv-card-text {
	font-family: var(--ab-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--ab-body-text);
	margin: 0;
}

/* ==========================================================================
   4. Circuit & Metrics Section
   ========================================================================== */
.abmt-section {
	background-color: var(--ab-light-gray);
	padding: 80px 0;
	border-top: 1px solid var(--ab-border-color);
	border-bottom: 1px solid var(--ab-border-color);
}

.abmt-wrap {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
}

.abmt-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	margin-bottom: 48px;
}

.abmt-media {
	width: 100%;
	max-width: 584px;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.1);
}

.abmt-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.abmt-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.abmt-title {
	font-family: var(--ab-font-display);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ab-navy-text);
	margin: 0 0 16px 0;
}

.abmt-desc {
	font-family: var(--ab-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: #1E293B;
	margin: 0 0 32px 0;
}

.abmt-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
	width: 100%;
}

.abmt-stat-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.abmt-stat-val {
	font-family: var(--ab-font-display);
	font-size: clamp(36px, 4vw, 48px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ab-primary-blue);
}

.abmt-stat-lbl {
	font-family: var(--ab-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ab-body-text);
}

.abmt-bottom-wrap {
	padding: 0 var(--ssdc-gutter, 32px);
	text-align: center;
}

.abmt-bottom-text {
	font-family: var(--ab-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #1E293B;
	margin: 0 auto;
	max-width: 1100px;
}

/* ==========================================================================
   Awards Listing Page (page-awards.php) - Matches Competitions Header UI
   ========================================================================== */
.ssdc-awards-page {
	position: relative;
	background-color: #ffffff !important;
	background-image: url('../img/page-bg.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 50% auto;
	overflow-x: clip;
	padding-top: 0 !important;
	padding-bottom: 72px;
	min-height: calc(100vh - 400px);
}

@media (max-width: 1024px) {
	.ssdc-awards-page {
		background-size: 60% auto;
		padding-top: 0 !important;
	}
}

@media (max-width: 768px) {
	.ssdc-awards-page {
		background-size: 80% auto;
		padding-top: 0 !important;
	}
}

.ssdc-awards-page .awp-container,
.ssdc-awards-page .aba-section {
	position: relative;
	z-index: 1;
}

.ssdc-awards-page .aba-section {
	padding: 0 0 64px 0;
}

/* Breadcrumbs — exactly matches .comp-crumbs */
.awp-crumbs,
.ssdc-awards-page .comp-crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #64748B;
	margin-bottom: 24px;
}

.awp-crumbs__home,
.awp-crumbs__link,
.ssdc-awards-page .comp-crumbs__home,
.ssdc-awards-page .comp-crumbs__link {
	color: #64748B;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	transition: color 0.15s ease;
}

.awp-crumbs__home:hover,
.awp-crumbs__link:hover,
.ssdc-awards-page .comp-crumbs__home:hover,
.ssdc-awards-page .comp-crumbs__link:hover {
	color: #03287C;
}

.awp-crumbs__sep,
.ssdc-awards-page .comp-crumbs__sep {
	color: #CBD5E1;
	opacity: 1;
}

.awp-crumbs__current,
.ssdc-awards-page .comp-crumbs__current {
	color: #03287C;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
}

/* Header container — exactly matches .comp-hero__intro */
.awp-header,
.ssdc-awards-page .comp-hero__intro {
	max-width: 520px;
	margin-bottom: 40px;
}

/* Title — exactly matches .comp-hero__title */
.awp-title,
.ssdc-awards-page .comp-hero__title {
	margin: 0 0 14px;
	font-family: "Hanken Grotesk", "Inter", sans-serif;
	font-size: clamp(34px, 4.2vw, 48px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.08;
	color: #020617;
	text-transform: uppercase;
}

/* Description — exactly matches .comp-hero__text */
.awp-desc,
.ssdc-awards-page .comp-hero__text {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.65;
	color: #1e293b;
	max-width: 420px;
}

/* ==========================================================================
   5. Awards & Recognition Section
   ========================================================================== */
.aba-section {
	background-color: transparent;
	padding: 80px 0;
}

.aba-wrap {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
}

.aba-header {
	margin-bottom: 40px;
}

.aba-title {
	font-family: var(--ab-font-display);
	font-size: clamp(28px, 3.2vw, 36px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ab-navy-text);
	margin: 0;
}

.aba-desc {
	font-family: var(--ab-font-body);
	font-size: 16px;
	line-height: 26px;
	color: var(--ab-muted-text);
	margin: 12px 0 0 0;
	max-width: 720px;
}

.aba-slider-container {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.aba-grid {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	margin-bottom: 36px;
	padding-bottom: 8px;
}

.aba-grid::-webkit-scrollbar {
	display: none;
}

.aba-card {
	flex: 0 0 calc((100% - 48px) / 3);
	min-width: 280px;
	scroll-snap-align: start;
	box-sizing: border-box;
	background-color: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aba-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
	border-color: #CBD5E1;
}

.aba-card-media {
	width: 100%;
	height: 240px;
	overflow: hidden;
	background-color: #F1F5F9;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	display: block;
}

.aba-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.aba-card:hover .aba-card-img {
	transform: scale(1.03);
}

.aba-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.aba-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background-color: #EFF2FB;
	border: 1px solid #B1C6F6;
	border-radius: 9999px;
	margin-bottom: 14px;
	align-self: flex-start;
}

.aba-badge span {
	font-family: var(--ab-font-body);
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	color: #03287C;
}

.aba-card-title {
	font-family: var(--ab-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	color: var(--ab-navy-text);
	margin: 0 0 8px 0;
}

.aba-card-title-link {
	color: inherit;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.aba-card-title-link:hover {
	color: var(--ab-primary-red);
}

.aba-card-text {
	font-family: var(--ab-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ab-muted-text);
	margin: 0 0 20px 0;
	flex-grow: 1;
}

.aba-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--ab-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--ab-muted-text);
	text-decoration: none !important;
	transition: all 0.2s ease;
	margin-top: auto;
	cursor: pointer;
}

.aba-card-link:hover {
	color: var(--ab-primary-red);
	transform: translateX(3px);
}

.aba-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}

.aba-controls[hidden] {
	display: none !important;
}

.aba-pagination,
.aba-arrows {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aba-dot {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background-color: #CBD5E1;
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aba-dot:hover {
	background-color: #94A3B8;
}

.aba-dot--active {
	background-color: var(--ab-primary-blue);
	width: 24px;
}

.aba-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	background: #fff;
	color: #64748b;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.aba-arrow:hover:not(:disabled) {
	border-color: var(--ab-primary-blue);
	color: var(--ab-primary-blue);
	background: #f8fafc;
}

.aba-arrow:disabled {
	opacity: .42;
	cursor: default;
}

@media (max-width: 1024px) {
	.aba-grid {
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 20px;
		padding-bottom: 16px;
		scrollbar-width: none;
	}
	.aba-grid::-webkit-scrollbar {
		display: none;
	}
	.aba-card {
		flex: 0 0 320px;
		max-width: 85vw;
		scroll-snap-align: start;
	}
}

@media (max-width: 640px) {
	.aba-card {
		flex: 0 0 290px;
	}
}

.aba-dot--active {
	background-color: var(--ab-primary-blue);
	width: 24px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
	.abh-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.abh-image-box {
		max-width: 100%;
		max-height: 480px;
	}

	.abm-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.abv-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.abmt-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.abmt-media {
		max-width: 100%;
		max-height: 480px;
	}

	.aba-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.abh-hero {
		padding: 36px 0 48px;
	}

	.abh-wrap,
	.abm-wrap,
	.abv-wrap,
	.abmt-wrap,
	.aba-wrap {
		padding: 0 var(--ssdc-gutter, 20px);
	}

	.abh-actions {
		flex-direction: column;
		width: 100%;
	}

	.abh-btn {
		width: 100%;
	}

	.abm-section,
	.abv-section,
	.abmt-section,
	.aba-section {
		padding: 48px 0;
	}

	.abv-grid {
		grid-template-columns: 1fr;
	}

	.abmt-stats-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.aba-card-media {
		height: 200px;
	}
}

/* ==========================================================================
   Gutenberg Block Editor Live Preview Styles (Exact match with Frontend)
   ========================================================================== */
.editor-styles-wrapper,
.editor-styles-wrapper .is-root-container.block-editor-block-list__layout,
.post-type-page .editor-styles-wrapper .is-root-container.block-editor-block-list__layout {
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box;
}

.editor-styles-wrapper .wp-block[data-type^="acf/ssdc-about"],
.editor-styles-wrapper .block-editor-block-list__block[data-type^="acf/ssdc-about"],
.wp-block[data-type^="acf/ssdc-about"],
.block-editor-block-list__block[data-type^="acf/ssdc-about"] {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.editor-styles-wrapper .aba-slider-container,
.editor-styles-wrapper .aba-wrap,
.editor-styles-wrapper .abv-wrap,
.editor-styles-wrapper .abh-wrap,
.editor-styles-wrapper .abm-wrap,
.editor-styles-wrapper .abmt-wrap {
	width: 100% !important;
	box-sizing: border-box;
}

/* In Gutenberg editor, parent grid containers must be block/flex so InnerBlocks wrapper spans 100% */
.editor-styles-wrapper .aba-grid,
.editor-styles-wrapper .abv-grid {
	display: block !important;
	width: 100% !important;
}

.editor-styles-wrapper .aba-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .abv-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .block-editor-inner-blocks {
	display: block !important;
	width: 100% !important;
}

/* Apply 3-column and 4-column grids to the actual Gutenberg inner blocks list layout */
.editor-styles-wrapper .aba-grid .block-editor-block-list__layout {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	margin-bottom: 36px !important;
}

.editor-styles-wrapper .abv-grid .block-editor-block-list__layout {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
}

/* Ensure child card block wrappers occupy 100% of their grid cell */
.editor-styles-wrapper .aba-grid .block-editor-block-list__layout > .wp-block,
.editor-styles-wrapper .abv-grid .block-editor-block-list__layout > .wp-block,
.editor-styles-wrapper .wp-block[data-type="acf/ssdc-about-award-card"],
.editor-styles-wrapper .wp-block-acf-ssdc-about-award-card,
.editor-styles-wrapper .wp-block[data-type="acf/ssdc-about-value-card"],
.editor-styles-wrapper .wp-block-acf-ssdc-about-value-card {
	max-width: none !important;
	width: 100% !important;
	min-width: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

.editor-styles-wrapper .aba-card,
.editor-styles-wrapper .abv-card,
.aba-card,
.abv-card {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

/* Fallbacks for iframe / modern Gutenberg Site Editor */
.aba-grid > .block-editor-inner-blocks,
.abv-grid > .block-editor-inner-blocks {
	display: block !important;
	width: 100% !important;
}

.aba-grid .block-editor-block-list__layout {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	margin-bottom: 36px !important;
}

.abv-grid .block-editor-block-list__layout {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
}

.aba-grid .block-editor-block-list__layout > .wp-block,
.abv-grid .block-editor-block-list__layout > .wp-block {
	max-width: none !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

/* CTA — desktop inset; no white rail; margin-bottom to footer like other pages */
.ssdc-about-page,
.ssdc-about-page.st-page {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0 !important;
}

.ssdc-about-page .td-cta-section {
	margin-top: 8px;
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.ssdc-about-page .td-cta-section .ssdc-cta-banner,
.ssdc-about-page .td-cta-section .ssdc-faq-banner {
	margin-top: 0;
	margin-bottom: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ssdc-about-page.st-page .ssdc-cta-banner {
	margin-top: 0;
}

.ssdc-about-page .td-cta-section .ssdc-cta-banner__title,
.ssdc-about-page .td-cta-section .ssdc-faq-banner__title {
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.ssdc-about-page .td-cta-section {
		max-width: var(--ssdc-page-max, none);
		margin-left: auto;
		margin-right: auto;
		padding-left: var(--ssdc-gutter, 112px);
		padding-right: var(--ssdc-gutter, 112px);
		margin-bottom: 48px;
		box-sizing: border-box;
	}

	.ssdc-about-page .td-cta-section .ssdc-cta-banner,
	.ssdc-about-page .td-cta-section .ssdc-faq-banner {
		border-radius: 20px;
	}
}

@media (min-width: 768px) and (max-width: 1100px) {
	.ssdc-about-page .td-cta-section {
		padding-left: var(--ssdc-gutter, 24px);
		padding-right: var(--ssdc-gutter, 24px);
	}
}

@media (max-width: 767px) {
	.ssdc-about-page .td-cta-section {
		padding: 0;
		margin: 0;
		max-width: none;
		width: 100%;
	}

	.ssdc-about-page .td-cta-section .ssdc-cta-banner,
	.ssdc-about-page .td-cta-section .ssdc-faq-banner {
		border-radius: 0;
	}
}
