/* =============================================================== */
/* Contact and Terms of Use                                         */
/* INFERRED: Figma has no frames for these pages. They reuse the    */
/* page hero, white card, team panel and tokens from the rest of    */
/* the site. Loaded only on pages whose content uses these classes */
/* (functions.php: mba_enqueue_info_styles).                        */
/* =============================================================== */

/* ------------------------------ Contact ------------------------------ */
.mba-section.mba-contact { padding-block: 80px 60px; }
.mba-contact .mba-section__inner { display: flex; flex-direction: column; gap: 40px; }
.mba-contact .mba-section__inner > * { margin: 0; }
.mba-contact__grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mba-contact__card {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
}
.mba-contact__card > * { margin: 0; }
.mba-contact__card p { font-size: 18px; line-height: 30px; }
.mba-contact__card a { color: var(--wp--preset--color--slate); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mba-contact__card a:is(:hover, :focus-visible) { color: var(--wp--preset--color--ink); }
.mba-contact__card a.mba-address-link { white-space: normal; } /* a two-line address link must wrap inside the card; phone links stay on one line */

/* Team panel with four people (shares .mba-people and .mba-team with About). */
.mba-team.mba-team--four { column-gap: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; }
.mba-team--four .mba-team__member { align-items: center; align-self: start; }
.mba-team__bio { color: var(--wp--preset--color--ink); font-size: 16px; line-height: 26px; }

/* ------------------------------ Terms ------------------------------ */
.mba-section.mba-legal { padding-block: 80px 120px; }
.mba-legal .mba-section__inner { display: flex; flex-direction: column; gap: 24px; }
.mba-legal .mba-section__inner > * { margin-block: 0; margin-inline: 0; max-inline-size: 760px; }
.mba-legal p { font-size: 18px; line-height: 30px; }
.mba-legal__heading {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--libre-baskerville);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.25;
	margin-top: 16px !important;
}

@media (max-width: 1199px) {
	.mba-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mba-team.mba-team--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.mba-section.mba-contact { padding-block: 48px 32px; }
	.mba-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.mba-contact__card { padding: 24px; }
	.mba-team.mba-team--four { grid-template-columns: minmax(0, 1fr); }
	.mba-section.mba-legal { padding-block: 48px 80px; }
	.mba-legal__heading { font-size: 24px; }
}

/* ------------------------------ Forms (documents) ------------------------------ */
.mba-section.mba-docs { padding-block: 80px 120px; }
.mba-docs .mba-section__inner { display: flex; flex-direction: column; gap: 20px; }
.mba-docs .mba-section__inner > * { margin-block: 0; margin-inline: 0; max-inline-size: 760px; }
.mba-docs__heading {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--libre-baskerville);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.25;
}
.mba-docs__heading:not(:first-child) { margin-top: 28px !important; }
.mba-docs__list { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.mba-docs__list li { margin: 0; padding: 0; }
.mba-docs__link {
	align-items: center;
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	box-sizing: border-box;
	color: var(--wp--preset--color--ink);
	display: flex;
	font-size: 18px;
	font-weight: 500;
	gap: 16px;
	line-height: 28px;
	min-height: 64px;
	padding: 16px 24px;
	text-decoration: none;
	transition: background-color var(--wp--custom--motion--fast), border-color var(--wp--custom--motion--fast);
}
.mba-docs__name { flex: 1 1 auto; }
.mba-docs__type { color: var(--wp--preset--color--steel); font-size: var(--wp--preset--font-size--small); font-weight: 500; letter-spacing: 0.04em; }
.mba-docs__link::after {
	background-color: currentColor;
	content: "";
	flex: none;
	height: 20px;
	width: 20px;
}
.mba-docs__link--pdf::after {
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 3v10m-4-4 4 4 4-4M4 17h12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 3v10m-4-4 4 4 4-4M4 17h12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.mba-docs__link--ext::after {
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M7 13 15 5m-6 0h6v6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M7 13 15 5m-6 0h6v6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.mba-docs__link:is(:hover, :focus-visible) { background-color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--slate); }
.mba-docs__link:focus-visible { outline: 2px solid var(--wp--preset--color--slate); outline-offset: 2px; }
.mba-docs .screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
@media (max-width: 767px) {
	.mba-section.mba-docs { padding-block: 48px 80px; }
	.mba-docs__heading { font-size: 24px; }
	.mba-docs__link { font-size: 16px; line-height: 26px; padding: 14px 18px; }
}

/* ------------------------ Long-form service pages ------------------------ */
/* Plain bullet lists inside a text band (Medical IT, Bookkeeping, Consulting). */
.mba-longform__list { margin: 0; padding-inline-start: 1.25em; }
.mba-longform__list li { margin: 0 0 8px; padding-inline-start: 4px; }
.mba-longform__list li:last-child { margin-bottom: 0; }
/* Long text bands: the heading sits at the top of its band, not in the middle of a tall column. */
.mba-editorial__inner--top { align-items: start; }

/* ------------------------- Neurosurgery (draft) ------------------------- */
/* Plain reading column (.mba-legal) is shared with Terms. Photo beside the opening text; states as a four-column list. */
.mba-split__art--photo img { aspect-ratio: 16 / 9; border-radius: 20px; max-width: 560px; object-fit: cover; }
.mba-section.mba-states { padding-block: 60px 120px; }
.mba-states .mba-section__inner { display: flex; flex-direction: column; gap: 32px; }
.mba-states .mba-section__inner > * { margin: 0; }
.mba-states__list { column-count: 4; column-gap: 32px; list-style: none; padding: 0; }
.mba-states__list li { break-inside: avoid; font-size: 18px; line-height: 28px; margin: 0 0 8px; padding: 0; }
@media (max-width: 1199px) { .mba-states__list { column-count: 3; } }
@media (max-width: 767px) { .mba-section.mba-states { padding-block: 32px 80px; } .mba-states__list { column-count: 2; column-gap: 24px; } }
