/* Purpose: Post-responsive overrides — proof strip, section rhythm, careers CTA sizing (“giant corp calm”).
 * Source: Antlab giant-corp refresh plan. Notes: Load after css/responsive.css; replace em-dash placeholders when metrics are approved. */
/* ── Trust Cert Strip ─────────────────────────────────────────────────────── */
.trust-cert-strip {
	background: #fff;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	padding: 0.6rem 0;
}
.trust-cert-strip__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.trust-cert-strip__item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 1.25rem;
	border-right: 1px solid #d0dae4;
	font-family: 'IBM Plex Sans', 'Proxima Nova Regular', system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	color: #1a2840;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1;
}
.trust-cert-strip__item:last-child {
	border-right: none;
}
.trust-cert-strip__icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: #0a7abf;
	stroke: #0a7abf;
}
@media (max-width: 991px) {
	.trust-cert-strip__item {
		padding: 0.3rem 0.9rem;
		font-size: 0.68rem;
	}
}
@media (max-width: 575px) {
	.trust-cert-strip__list {
		justify-content: flex-start;
	}
	.trust-cert-strip__item {
		padding: 0.35rem 0.7rem;
		font-size: 0.65rem;
		border-right: none;
		border-bottom: 1px solid #e8edf2;
		width: 50%;
	}
	.trust-cert-strip__item:nth-child(odd) {
		border-right: 1px solid #d0dae4;
	}
	.trust-cert-strip__item:last-child,
	.trust-cert-strip__item:nth-last-child(2):nth-child(odd) {
		border-bottom: none;
	}
}
/* ── End Trust Cert Strip ─────────────────────────────────────────────────── */

/* ── Certificates Section Redesign ───────────────────────────────────────── */
.certificates {
	background: url("../images/footer-bg.png") center/cover no-repeat;
	padding: 4rem 0;
}
.certi-header {
	text-align: center !important;
	margin-bottom: 2.75rem;
}
.certi-headline {
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: clamp(1.45rem, 3vw, 2.1rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.7rem;
	letter-spacing: -0.015em;
	line-height: 1.25;
	text-align: center;
}
.certi-headline span {
	color: #00adef;
}
.certi-subhead {
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.7);
	max-width: 540px;
	margin: 0 auto;
	line-height: 1.65;
	text-align: center;
}
/* Always 4 cards in one row — override Bootstrap's wrap at every viewport ≥480px */
.certi-badges-row {
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-ms-flex-wrap: nowrap !important;
	flex-wrap: nowrap !important;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch !important;
	margin-bottom: 2.25rem;
	margin-left: -8px;
	margin-right: -8px;
}
.certi-badge-col {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%;
	padding-left: 8px;
	padding-right: 8px;
	margin-bottom: 1rem;
}
@media (max-width: 575px) {
	.certi-badges-row {
		-ms-flex-wrap: wrap !important;
		flex-wrap: wrap !important;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-left: 0;
		margin-right: 0;
	}
	.certi-badge-col {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
		box-sizing: border-box;
	}
}
.certi-badge-card {
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-orient: vertical !important;
	-webkit-box-direction: normal !important;
	-ms-flex-direction: column !important;
	flex-direction: column !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	-webkit-box-pack: start !important;
	-ms-flex-pack: start !important;
	justify-content: flex-start !important;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 10px;
	padding: 1.75rem 1rem 1.4rem;
	height: 100%;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	cursor: default;
	text-align: center;
}
.certi-badge-card:hover {
	background: rgba(0, 173, 239, 0.1);
	border-color: rgba(0, 173, 239, 0.45);
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.certi-badge-card img {
	display: block !important;
	max-height: 72px;
	width: auto;
	max-width: 110px;
	-o-object-fit: contain;
	object-fit: contain;
	margin: 0 auto 1.1rem !important;
	filter: brightness(0) invert(1);
	opacity: 0.88;
	transition: opacity 0.2s ease;
	-ms-flex-item-align: center;
	align-self: center;
}
.certi-badge-card:hover img {
	opacity: 1;
}
.certi-badge-name {
	display: block;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 0.73rem;
	font-weight: 700;
	color: #fff;
	text-align: center !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.35;
	margin-bottom: 0.3rem;
	width: 100%;
}
.certi-badge-desc {
	display: block;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 0.67rem;
	color: rgba(255, 255, 255, 0.5);
	text-align: center !important;
	line-height: 1.45;
	width: 100%;
}
.certi-cta-note {
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 0.83rem;
	color: rgba(255, 255, 255, 0.55);
	text-align: center !important;
	margin: 0;
}
.certi-cta-link {
	color: #00adef;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.certi-cta-link:hover {
	color: #33c3f5;
}
/*
 * Home certificates: responsive.min.css sets .certificates .row { flex-direction: column } at
 * max-width 991px / 767px (legacy layout). That stacks .certi-badges-row and reads as left-heavy;
 * keep the redesigned horizontal badge row and explicit centering for the headline block.
 */
@media (max-width: 991px) {
	#page.home .certificates .certi-header {
		text-align: center !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
	}
	#page.home .certificates .certi-headline,
	#page.home .certificates .certi-subhead {
		text-align: center !important;
	}
	#page.home .certificates .row.certi-badges-row {
		-webkit-box-orient: horizontal !important;
		-webkit-box-direction: normal !important;
		-ms-flex-direction: row !important;
		flex-direction: row !important;
		-webkit-box-align: stretch !important;
		-ms-flex-align: stretch !important;
		align-items: stretch !important;
	}
}
/* ── End Certificates Redesign ─────────────────────────────────────────────── */

/* ── About page typography normalisation ─────────────────────────────────── */

/* Paragraphs in the main about-right text column */
.aboutpage .about-right p,
.aboutpage .about-right > p {
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 0.9375rem;   /* 15px — consistent with credential list below */
	line-height: 1.75;
	color: #333;
	margin-bottom: 1.1rem;
}

/* Subheading tagline (h6.au) — resolves conflict between style.css 19px and .aboutpage override 17px */
.aboutpage .au,
.about h6.au {
	font-size: 1rem !important;
	font-weight: 600;
	line-height: 1.55;
	color: #222;
}

/* Credentials strip list items — match paragraph text exactly */
.about-credentials .credentials-list {
	margin: 1rem 0 0;
	padding-left: 0;
	list-style: none;
	line-height: 1.6;
}
.about-credentials .credentials-list li {
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 0.9375rem;   /* 15px */
	line-height: 1.75;
	color: #333;
	margin-bottom: 0.75rem;
	padding-left: 0;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 0.6rem;
}
.about-credentials .credentials-list li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.about-credentials .credentials-list li strong {
	font-weight: 600;
	color: #111;
	min-width: 11rem;
	display: inline-block;
}
/* ── End About page typography normalisation ──────────────────────────────── */

/* Section titles placed as direct .row children pick up Bootstrap's -15px gutter offset */
.row > h2.section-title,
.row > h1.section-title {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	text-align: center;
}

.proof-strip {
	background: #0d1b2a;
	color: #fff;
	padding: 3rem 0;
}
.proof-strip__row {
	justify-content: center;
	text-align: center;
}
.proof-strip__item {
	padding: 1rem 0.5rem;
}
.proof-strip__number {
	display: block;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.35rem;
	color: #fff;
}
.proof-strip__label {
	display: block;
	font-family: 'IBM Plex Sans', 'Proxima Nova Regular', sans-serif;
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.88);
}
/* Calm vertical rhythm — scoped; tune per breakpoint if needed */
.home .about.section-gap,
.home .brand.section-gap,
.home .wecare.section-gap,
.home .certificates,
.home .our-client {
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}

.policy-doc-wrap {
	padding: 2rem 0 4rem;
	max-width: 960px;
}
.policy-doc-body {
	font-family: 'IBM Plex Sans', 'Proxima Nova Regular', sans-serif;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.95rem;
	line-height: 1.55;
	background: #fafafa;
	padding: 1.5rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin: 0;
}

/* Careers CTA: centered, ~20% smaller visual than default btn-lg */
.careers-cta-wrap {
	text-align: center;
	margin-top: 1.75rem;
}
.careers-cta-wrap .btn-careers-cta.btn-lg {
	font-size: 1rem;
	line-height: 1.45;
	padding: 0.5rem 1.2rem;
	border-radius: 0.28rem;
}

/* Purpose: Enterprise B2B layout for sustainability, quality, careers — lead, pillar cards, callout.
 * Source: enterprise_page_redesign plan. Notes: Scoped to .corp-*; IBM Plex via fonts.css on those pages. */
.corp-lead {
	padding-top: 2.5rem;
	padding-bottom: 0.5rem;
	text-align: center;
}
.corp-lead__text {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-size: 1.1rem;
	line-height: 1.7;
	color: #444;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}
.corp-pillar-grid {
	padding: 2.5rem 0 1rem;
}
/* CSS Grid: stable 2-column layout at all zoom levels (Bootstrap alpha flex + unequal heights caused staircase misalignment). */
.corp-pillar-grid .row {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	text-align: left;
}
.corp-pillar-grid .row > [class*="col-"] {
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	flex: none;
}
@media (max-width: 767px) {
	.corp-pillar-grid .row {
		grid-template-columns: 1fr;
	}
}
.pillar-card {
	border-left: 3px solid #00adef;
	padding: 1.5rem 1.5rem 1.5rem 1.75rem;
	background: #fff;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
	height: 100%;
	margin-bottom: 0;
	box-sizing: border-box;
}
.pillar-card__icon {
	display: block;
	margin-bottom: 1rem;
	color: #00adef;
	flex-shrink: 0;
}
.pillar-card__title {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	color: #111;
	margin: 0 0 0.5rem;
	line-height: 1.35;
}
.pillar-card__body {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-weight: 400;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #444;
	margin: 0;
}
.corp-callout {
	background: #f4f8fb;
	border-top: 1px solid #d8e8f0;
	padding: 2.5rem 0;
	margin-top: 0.5rem;
	text-align: center;
}
.corp-callout__text {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-size: 0.97rem;
	line-height: 1.65;
	color: #333;
	max-width: 640px;
	margin: 0 auto 1.25rem;
}
.corp-callout__cta {
	text-align: center;
}
.corp-callout .btn-careers-cta.btn-lg {
	font-size: 1rem;
	line-height: 1.45;
	padding: 0.5rem 1.2rem;
	border-radius: 0.28rem;
}

/* Header nav stacking: see css/style.css (#header .header-top / .breadcrumb / .megamenu). */

/* Purpose: Home “Our Premium Brands” — center tab buttons after jQuery UI removal (plain #tabs > ul).
 * Source: index.php #tabs; former .ui-tabs-nav flex centering no longer applied.
 * Notes: responsive.css adds margin-left:220px to .btn-primary/.btn-secondary in mobile breakpoints; reset here scoped to #tabs only. */
.home .brand #tabs > ul {
	list-style: none;
	padding-left: 0;
	margin: 50px auto 50px;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem 1.25rem;
}
.home .brand #tabs > ul > li {
	float: none;
	margin: 0;
	padding: 0;
}
.home .brand #tabs > ul a.btn-primary,
.home .brand #tabs > ul a.btn-secondary {
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	max-width: 300px;
	text-align: center;
}

/* reCAPTCHA v3 disclosure — required copy + links; used by inc/recaptcha-v3-legal.php on forms that call grecaptcha.execute */
.antlab-recaptcha-legal {
	font-size: 11px;
	color: #888;
	margin: 0 0 0.75rem;
	line-height: 1.4;
	width: 100%;
}
.antlab-recaptcha-legal a {
	color: #666;
	text-decoration: underline;
}
#footer .antlab-recaptcha-legal {
	margin-top: 0.35rem;
}

/* Purpose: PDP “Download Technical Datasheet” in .product .down — keep button centered on small/tablet widths.
 * Source: responsive.css @media (max-width:767px) sets .btn-primary { margin-left:220px }; (max-width:479px) repeats it before margin:0 auto.
 * Notes: Override only .product .down so other legacy banner buttons keep existing layout. */
@media only screen and (max-width: 767px) {
	.product .down {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		box-sizing: border-box;
	}
	.product .down .btn-primary {
		margin: 0 !important;
		float: none;
		display: inline-flex !important;
		flex-direction: row !important;
		justify-content: center;
		align-items: center;
	}
}

/* TDS datasheet modal: center Close + Submit; undo floated title */
#exampleModal2 .modal-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	text-align: center;
}
#exampleModal2 .modal-footer .btn,
#exampleModal2 .modal-footer input[type="submit"] {
	margin: 0;
}
#exampleModal2 .modal-header {
	position: relative;
	text-align: center;
	justify-content: center;
}
#exampleModal2 .modal-title {
	float: none !important;
	width: 100%;
	margin: 0 auto;
	padding: 0 2.75rem;
	box-sizing: border-box;
}
#exampleModal2 .modal-header .close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	margin: 0;
	float: none;
}
