/**
 * Corporate pages 2026 — Về HiTechCloud, Định hướng phát triển, Câu chuyện thành công.
 *
 * These three pages are read by people doing due diligence on the company, so
 * the system favours checkable specifics over decorative emphasis: named
 * registries and partners instead of floating counters, flat bordered surfaces
 * instead of gradient blobs, and numbering only where the content is genuinely
 * a sequence.
 *
 * Colour, radii and spacing come from the shared tokens so this family reads as
 * the same system as the 2026 product pages, while staying visually distinct:
 * product pages open cinematic, corporate pages open editorial.
 *
 * Weight and letter-spacing belong to site-typography.css, which loads after
 * template styles; the !important declarations below mirror what
 * product-pages-cloud26.css already does for the same reason.
 */

.corp-page {
	--corp-blue: var(--hc-blue, #0969ff);
	--corp-blue-dark: var(--hc-blue-dark, #082f86);
	--corp-cyan: var(--hc-cyan, #00c2ff);
	--corp-navy: var(--hc-navy, #071832);
	--corp-deep: var(--hc-deep, #041020);
	--corp-text: var(--hc-text, #22304a);
	--corp-muted: var(--hc-muted, #667895);
	--corp-line: var(--hc-border, #d9e7f5);
	--corp-soft: var(--hc-bg, #f5f9ff);
	--corp-radius: 16px;
	--corp-shadow: 0 18px 50px rgba(8, 47, 134, .08);
	background: #fff;
	color: var(--corp-text);
	font-family: inherit;
}

.corp-page * {
	box-sizing: border-box;
}

.corp-page .site-container {
	width: min(1260px, 100%);
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: 24px;
}

.corp-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.corp-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--corp-blue);
	font-size: 14px;
	line-height: 1.4;
}

/* ==========================================================================
   Hero — photo variant and compact band variant
   ========================================================================== */

.corp-hero {
	position: relative;
	background: var(--corp-deep);
	color: #fff;
	overflow: hidden;
}

.corp-hero--photo {
	min-height: 520px;
	padding: 92px 0 0;
}

.corp-hero--band {
	padding: 78px 0 68px;
	background: linear-gradient(160deg, var(--corp-navy) 0%, var(--corp-deep) 100%);
}

.corp-hero__image {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.corp-hero--photo::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 16, 32, .97) 0%, rgba(7, 24, 50, .90) 42%, rgba(4, 16, 32, .38) 72%, rgba(4, 16, 32, .14) 100%);
	pointer-events: none;
}

.corp-hero__inner {
	position: relative;
	z-index: 2;
}

.corp-hero--photo .corp-hero__inner {
	display: flex;
	min-height: 428px;
	align-items: center;
}

.corp-hero__content {
	width: min(720px, 100%);
}

.corp-hero--photo .corp-hero__content {
	width: min(680px, 58%);
	padding-bottom: 58px;
}

.corp-hero .corp-eyebrow {
	color: var(--corp-cyan);
}

.corp-hero h1 {
	margin: 0 0 18px;
	color: #fff !important;
	font-size: clamp(34px, 3.3vw, 46px) !important;
	font-weight: 400 !important;
	line-height: 1.14 !important;
}

.corp-hero__content > p {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 255, 255, .88);
	font-size: 18px !important;
	line-height: 1.65 !important;
}

.corp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.corp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 17px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.corp-btn:hover,
.corp-btn:focus-visible {
	text-decoration: none;
}

.corp-btn--light {
	border-color: #fff;
	background: #fff;
	color: var(--corp-navy);
}

.corp-btn--light:hover,
.corp-btn--light:focus-visible {
	background: #eaf2ff;
	color: var(--corp-blue-dark);
}

.corp-btn--ghost {
	border-color: rgba(255, 255, 255, .5);
	background: transparent;
	color: #fff;
}

.corp-btn--ghost:hover,
.corp-btn--ghost:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.corp-btn--solid {
	border-color: var(--corp-blue);
	background: var(--corp-blue);
	color: #fff;
}

.corp-btn--solid:hover,
.corp-btn--solid:focus-visible {
	border-color: var(--corp-blue-dark);
	background: var(--corp-blue-dark);
	color: #fff;
}

.corp-btn--outline {
	border-color: var(--corp-line);
	background: #fff;
	color: var(--corp-navy);
}

.corp-btn--outline:hover,
.corp-btn--outline:focus-visible {
	border-color: var(--corp-blue);
	color: var(--corp-blue);
}

/* ==========================================================================
   Fact rail — the family signature. Named, checkable specifics rather than
   a row of counters: what a buyer verifying this company actually looks for.
   ========================================================================== */

.corp-factrail {
	border-top: 1px solid var(--corp-line);
	border-bottom: 1px solid var(--corp-line);
	background: #fff;
}

.corp-factrail__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.corp-fact {
	padding: 26px 26px 28px;
}

.corp-fact + .corp-fact {
	border-left: 1px solid var(--corp-line);
}

.corp-fact dt {
	margin-bottom: 8px;
	color: var(--corp-muted);
	font-size: 13px !important;
	line-height: 1.4 !important;
}

.corp-fact dd {
	margin: 0;
	color: var(--corp-navy);
	font-size: 16px !important;
	line-height: 1.55 !important;
}

.corp-fact dd b {
	font-weight: 600 !important;
}

/* ==========================================================================
   Sections and headings
   ========================================================================== */

.corp-section {
	padding: 78px 0;
}

.corp-section--soft {
	background: var(--corp-soft);
}

.corp-heading {
	margin-bottom: 40px;
}

.corp-heading--center {
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}

.corp-heading h2 {
	margin: 0;
	color: var(--corp-navy);
	font-size: clamp(28px, 2.7vw, 38px) !important;
	font-weight: 400 !important;
	line-height: 1.18 !important;
}

.corp-heading p {
	margin: 16px 0 0;
	color: var(--corp-muted);
	font-size: 17px !important;
	line-height: 1.7 !important;
}

.corp-heading--center p {
	margin-inline: auto;
}

.corp-split {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: 56px;
	align-items: start;
}

.corp-split .corp-heading {
	margin-bottom: 0;
}

.corp-prose p {
	margin: 0 0 18px;
	color: var(--corp-text);
	font-size: 17px !important;
	line-height: 1.78 !important;
}

.corp-prose p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.corp-grid {
	display: grid;
	gap: 22px;
}

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

.corp-card {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: #fff;
	box-shadow: var(--corp-shadow);
	transition: border-color .18s ease;
}

.corp-card:hover {
	border-color: rgba(9, 105, 255, .4);
}

.corp-card h3 {
	margin: 0 0 10px;
	color: var(--corp-navy);
	font-size: 19px;
	line-height: 1.32;
}

.corp-card p {
	margin: 0;
	color: var(--corp-muted);
	font-size: 16px !important;
	line-height: 1.68 !important;
}

.corp-card .corp-icon {
	display: block;
	width: 32px;
	height: 32px;
	margin-bottom: 18px;
	color: var(--corp-blue);
	flex: 0 0 auto;
}

/* Bulleted list shared by prose blocks and cards */
.corp-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.corp-list li {
	position: relative;
	padding-left: 26px;
	color: var(--corp-text);
	font-size: 16px !important;
	line-height: 1.65 !important;
}

.corp-list li + li {
	margin-top: 11px;
}

.corp-list li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 2px;
	width: 7px;
	height: 7px;
	border: 2px solid var(--corp-blue);
	border-radius: 999px;
}

/* ==========================================================================
   Steps — used only where the content really is ordered.
   ========================================================================== */

.corp-steps {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: corp-step;
}

.corp-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.corp-step {
	padding: 28px 26px;
	border: 1px solid var(--corp-line);
	border-top: 3px solid var(--corp-blue);
	border-radius: var(--corp-radius);
	background: #fff;
}

.corp-step__num {
	display: block;
	margin-bottom: 13px;
	color: var(--corp-blue);
	font-size: 15px;
	font-weight: 700 !important;
	letter-spacing: .04em;
}

.corp-step h3 {
	margin: 0 0 10px;
	color: var(--corp-navy);
	font-size: 18px;
	line-height: 1.32;
}

.corp-step p {
	margin: 0;
	color: var(--corp-muted);
	font-size: 15.5px !important;
	line-height: 1.68 !important;
}

.corp-step .corp-list {
	margin-top: 14px;
}

.corp-step .corp-list li {
	font-size: 15px !important;
	line-height: 1.6 !important;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.corp-faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.corp-faq__item {
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: #fff;
	overflow: hidden;
}

.corp-faq__item summary {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	color: var(--corp-navy);
	font-size: 17px;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.corp-faq__item summary::-webkit-details-marker {
	display: none;
}

.corp-faq__item summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--corp-blue);
	border-bottom: 2px solid var(--corp-blue);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s ease;
	flex: 0 0 auto;
}

.corp-faq__item[open] summary::after {
	transform: rotate(-135deg) translate(-3px, -3px);
}

.corp-faq__item summary:hover {
	background: var(--corp-soft);
}

.corp-faq__item p {
	margin: 0;
	padding: 0 24px 22px;
	color: var(--corp-muted);
	font-size: 16px !important;
	line-height: 1.72 !important;
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.corp-cta__panel {
	display: flex;
	gap: 40px;
	align-items: center;
	justify-content: space-between;
	padding: 48px;
	border-radius: var(--corp-radius);
	background: var(--corp-navy);
	color: #fff;
}

.corp-cta__text {
	max-width: 640px;
}

.corp-cta__text h2 {
	margin: 0;
	color: #fff !important;
	font-size: clamp(26px, 2.4vw, 34px) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

.corp-cta__text p {
	margin: 13px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: 17px !important;
	line-height: 1.7 !important;
}

.corp-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: 0 0 auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.corp-split {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.corp-grid--3,
	.corp-grid--4,
	.corp-steps--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.corp-fact:nth-child(odd) {
		border-left: 0;
	}

	.corp-fact:nth-child(n + 3) {
		border-top: 1px solid var(--corp-line);
	}

	.corp-cta__panel {
		flex-direction: column;
		align-items: flex-start;
		gap: 26px;
	}
}

@media (max-width: 900px) {
	.corp-hero--photo .corp-hero__content {
		width: 66%;
	}
}

@media (max-width: 760px) {
	.corp-page .site-container {
		padding-inline: 16px;
	}

	.corp-hero--photo {
		min-height: 580px;
		padding-top: 40px;
	}

	.corp-hero--band {
		padding: 48px 0 44px;
	}

	.corp-hero--photo::before {
		background: linear-gradient(180deg, rgba(4, 16, 32, .12) 0%, rgba(4, 16, 32, .36) 34%, rgba(4, 16, 32, .96) 62%, rgba(4, 16, 32, 1) 100%);
	}

	.corp-hero--photo .corp-hero__inner {
		min-height: 540px;
		align-items: flex-end;
	}

	.corp-hero--photo .corp-hero__content {
		width: 100%;
		padding-bottom: 40px;
	}

	.corp-hero h1 {
		font-size: clamp(28px, 8.2vw, 36px) !important;
	}

	.corp-hero__content > p {
		font-size: 16px !important;
	}

	.corp-hero__actions {
		width: 100%;
		flex-direction: column;
	}

	.corp-btn {
		width: 100%;
		min-height: 54px;
		padding-inline: 22px;
		font-size: 16px;
	}

	.corp-factrail__grid,
	.corp-grid--2,
	.corp-grid--3,
	.corp-grid--4,
	.corp-steps--4,
	.corp-faq {
		grid-template-columns: 1fr;
	}

	.corp-fact + .corp-fact {
		border-left: 0;
		border-top: 1px solid var(--corp-line);
	}

	.corp-fact {
		padding: 20px 4px;
	}

	.corp-section {
		padding: 54px 0;
	}

	.corp-heading {
		margin-bottom: 28px;
	}

	.corp-card,
	.corp-step {
		padding: 22px;
	}

	.corp-cta__panel {
		padding: 30px 22px;
	}

	.corp-cta__actions {
		width: 100%;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.corp-page *,
	.corp-page *::after {
		transition: none !important;
	}
}

/* ==========================================================================
   Contact definition list (Về HiTechCloud)
   ========================================================================== */

.corp-contact {
	display: grid;
	gap: 22px;
	margin: 0;
}

.corp-contact > div {
	display: grid;
	gap: 5px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--corp-line);
}

.corp-contact > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.corp-contact dt {
	color: var(--corp-muted);
	font-size: 14px !important;
	line-height: 1.4 !important;
}

.corp-contact dd {
	margin: 0;
	color: var(--corp-navy);
	font-size: 17px !important;
	line-height: 1.6 !important;
}

.corp-contact a {
	color: var(--corp-blue);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.corp-contact a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Câu chuyện thành công — featured story and customer groups
   ========================================================================== */

.success-featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	padding: 32px;
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: #fff;
	box-shadow: var(--corp-shadow);
}

.success-featured__media {
	border-radius: 12px;
	background: var(--corp-soft);
	overflow: hidden;
}

.success-featured__media img {
	display: block;
	width: 100%;
	height: auto;
}

.success-featured__text p {
	margin: 0 0 24px;
	color: var(--corp-text);
	font-size: 17px !important;
	line-height: 1.75 !important;
}

.success-group + .success-group {
	margin-top: 48px;
}

.success-group__title {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0 0 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--corp-line);
	color: var(--corp-navy);
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
}

.success-group__title span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(9, 105, 255, .1);
	color: var(--corp-blue);
	font-size: 13px !important;
	font-weight: 400 !important;
}

.success-story__top {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	margin-bottom: 14px;
}

.success-story__logo {
	width: auto;
	max-width: 110px;
	max-height: 40px;
	object-fit: contain;
	flex: 0 0 auto;
}

/* The tag leads the card: it is the one piece of classifying information the
   reader can use to scan. */
.success-story__tag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--corp-soft);
	color: var(--corp-blue);
	font-size: 13px !important;
	line-height: 1.45 !important;
}

.success-story h4 {
	margin: 0 0 10px;
	color: var(--corp-navy);
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.success-story p {
	margin: 0;
	color: var(--corp-muted);
	font-size: 15.5px !important;
	line-height: 1.66 !important;
}

@media (max-width: 900px) {
	.success-featured {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 22px;
	}
}

/* ==========================================================================
   Định hướng phát triển — submarine cable map
   The map is the argument for the "kết nối khu vực" pillar, so it gets its own
   section rather than being buried behind hero text.
   ========================================================================== */

.direction-cablemap {
	margin: 0 0 28px;
	padding: 20px;
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: #fff;
	overflow-x: auto;
}

.direction-cablemap img {
	display: block;
	width: 100%;
	min-width: 640px;
	height: auto;
}

.direction-cables {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: var(--corp-line);
	overflow: hidden;
}

.direction-cables li {
	display: grid;
	gap: 4px;
	padding: 18px 20px;
	background: #fff;
}

.direction-cables b {
	color: var(--corp-navy);
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.direction-cables span {
	color: var(--corp-muted);
	font-size: 14px !important;
	line-height: 1.5 !important;
}

@media (max-width: 1080px) {
	.direction-cables {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.direction-cablemap {
		padding: 12px;
	}

	.direction-cables {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Partner pages ("HiTechCloud x <partner>") — shared reason list
   ========================================================================== */

.pp-reasons li + li {
	margin-top: 18px;
}

.pp-reasons strong {
	display: block;
	margin-bottom: 3px;
	color: var(--corp-navy);
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
}

.pp-reasons span {
	display: block;
	color: var(--corp-muted);
	font-size: 15.5px !important;
	line-height: 1.65 !important;
}

/* ==========================================================================
   Simple two-column rate table (Affiliate)
   ========================================================================== */

.corp-rate-wrap {
	max-width: 760px;
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: #fff;
	box-shadow: var(--corp-shadow);
	overflow: hidden;
}

.corp-rate {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.corp-rate th,
.corp-rate td {
	padding: 18px 24px;
	border-bottom: 1px solid var(--corp-line);
	font-size: 16px !important;
	line-height: 1.6 !important;
}

.corp-rate thead th {
	background: var(--corp-soft);
	color: var(--corp-muted);
	font-size: 14px !important;
	font-weight: 400 !important;
}

.corp-rate tbody th {
	color: var(--corp-navy);
	font-weight: 600 !important;
}

.corp-rate tbody tr:last-child :is(th, td) {
	border-bottom: 0;
}

.corp-rate__value {
	color: var(--corp-blue) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	text-align: right;
	white-space: nowrap;
}

/* ==========================================================================
   Domain lookup (IT.COM partner page)
   ========================================================================== */

.corp-domain__box {
	padding: 40px;
	border: 1px solid var(--corp-line);
	border-radius: var(--corp-radius);
	background: var(--corp-soft);
}

.corp-domain__head {
	max-width: 720px;
	margin-bottom: 26px;
}

.corp-domain__head h2 {
	margin: 0;
	color: var(--corp-navy);
	font-size: clamp(24px, 2.2vw, 30px) !important;
	font-weight: 400 !important;
	line-height: 1.22 !important;
}

.corp-domain__head p {
	margin: 12px 0 0;
	color: var(--corp-muted);
	font-size: 16px !important;
	line-height: 1.68 !important;
}

.corp-domain__row {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

/* The fixed suffix sits inside the field so the whole thing reads as one
   domain name rather than an input next to a stray label. */
.corp-domain__input {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	padding-right: 14px;
	border: 1px solid var(--corp-line);
	border-radius: 10px;
	background: #fff;
}

.corp-domain__input input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 58px;
	padding: 0 6px 0 16px;
	border: 0;
	background: transparent;
	color: var(--corp-navy);
	font-family: inherit;
	font-size: 17px;
}

.corp-domain__input input:focus {
	outline: none;
}

.corp-domain__input:focus-within {
	border-color: var(--corp-blue);
	box-shadow: 0 0 0 3px rgba(9, 105, 255, .14);
}

.corp-domain__tld {
	color: var(--corp-muted);
	font-size: 17px;
	white-space: nowrap;
}

.corp-domain__form .corp-btn {
	flex: 0 0 auto;
	min-height: 58px;
}

.corp-domain__note {
	margin: 14px 0 0;
	color: var(--corp-muted);
	font-size: 14px !important;
	line-height: 1.6 !important;
}

.corp-domain__note a {
	color: var(--corp-blue);
	text-decoration: none;
}

.corp-domain__note a:hover {
	text-decoration: underline;
}

@media (max-width: 700px) {
	.corp-domain__box {
		padding: 24px;
	}

	.corp-domain__row {
		flex-direction: column;
	}

	.corp-domain__form .corp-btn {
		width: 100%;
	}
}

/* ==========================================================================
   Partnership lockup — sits under the heading that introduces the partnership
   ========================================================================== */

.corp-lockup {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 26px;
	margin-top: 38px;
}

/* Logos arrive at wildly different intrinsic sizes, so cap the height and let
   width follow rather than trusting each file's own dimensions. */
.corp-lockup__mark {
	width: auto;
	max-width: min(260px, 42vw);
	height: 60px;
	min-height: 60px;
	object-fit: contain;
	object-position: left center;
	flex: 0 1 auto;
}

.corp-lockup__x {
	color: var(--corp-muted);
	font-size: 18px;
	line-height: 1;
	flex: 0 0 auto;
}

@media (max-width: 560px) {
	.corp-lockup {
		gap: 16px;
		margin-top: 28px;
	}

	.corp-lockup__mark {
		height: 44px;
		min-height: 44px;
	}
}


/* A fact rail of six sits on one row rather than wrapping four-plus-two. The
 * selector only fires when the rail has exactly six entries, so the four- and
 * five-fact pages keep their existing rhythm. */
.corp-factrail__grid:has(> :nth-child(6):last-child) {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.corp-factrail__grid:has(> :nth-child(6):last-child) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.corp-factrail__grid:has(> :nth-child(6):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
