/*
 * Aixactum Portal: the members' pages, the member grid, the meetings and the agenda.
 *
 * The font family always comes from the theme: nothing here sets one.
 *
 * Four sizes, the same as the theme's scale in aixactum-site.css (32, 24, 20,
 * 16), and three weights, nothing else, so the blocks read like the rest
 * of the page:
 *   --axp-xl  32px  the slogan, and only the slogan
 *   --axp-l   20px  every heading: name, section titles, grid titles
 *   --axp-m   15px  all running text, contact details, buttons
 *   --axp-s   13px  labels, dates, notes
 *
 * --axp-accent is the member's own colour on their page and on their card in
 * the grid; elsewhere the house green. It colours headings, labels and buttons.
 * Text on it is white. Links are never underlined.
 */

.axp {
	--axp-accent: #b7c708;
	--axp-ink: #303133;
	/* No grey text: everything that is read is in the text colour. */
	--axp-muted: #303133;
	--axp-line: #e6e6e6;
	--axp-band: #f5f5f5;
	/* The theme's own "std" radius (Uncode: 8px), on every box. */
	--axp-radius: 8px;
	--axp-xl: 32px;
	--axp-l: 20px;
	--axp-m: 16px;
	--axp-s: 16px;
	/* The dark tone of the site: hover of every coloured button, dark buttons. */
	--axp-dark: #1f272b;
	color: var(--axp-ink);
	font-size: var(--axp-m);
	line-height: 1.6;
}

.axp *,
.axp *::before,
.axp *::after {
	box-sizing: border-box;
}

/* Uncode puts a disc on every list inside .post-content; the lists carry its
   own opt-out class no-list, and this covers a theme update that renames it. */
.post-content .axp ul,
.post-content .axp ol,
.axp ul,
.axp ol {
	margin-left: 0;
	list-style: none;
}

.axp p,
.axp li {
	font-size: var(--axp-m);
}

/* Uncode colours every link in the content green, with !important and a
   selector of ten parts (body.textual-accent-color .post-content > div ...).
   :not(#axp-none) matches every link and lends the rule the weight of an id,
   which is the one way to outrank that without listing its parts. */
.axp a:not(.btn):not(#axp-none),
.axp a:not(.btn):not(#axp-none):visited {
	color: var(--axp-ink) !important;
	text-decoration: none !important;
}

.axp a:not(.btn):not(#axp-none):hover,
.axp a:not(.btn):not(#axp-none):focus-visible {
	color: var(--axp-accent) !important;
}

.axp-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 36px;
}

@media (max-width: 959px) {
	.axp-wrap {
		padding: 0 18px;
	}
}

/* ---------------------------------------------------------------- type */

.axp .axp-section-title,
.axp .axp-member-title,
.axp .axp-card-name,
.axp .axp-grid-title,
.axp .axp-post-title,
.axp .axp-meeting-when,
.axp .axp-agenda-title {
	margin: 0;
	color: var(--axp-ink);
	font-size: var(--axp-l);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.axp-label,
.axp .axp-kicker,
.axp .axp-meeting-kind {
	display: block;
	margin: 0 0 4px;
	color: var(--axp-accent);
	font-size: var(--axp-s);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

/* ---------------------------------------------------------------- buttons */

/*
 * The buttons are the theme's (btn btn-accent btn-flat): size, font, letter
 * spacing and shape come from Uncode, so they match every other button on the
 * site. Only the colour is set here, to the member's; Uncode sets its colours
 * with !important, so this has to as well.
 */
.axp .btn.axp-btn {
	margin: 0;
	background-color: var(--axp-accent) !important;
	border-color: var(--axp-accent) !important;
	color: #fff !important;
}

/* Hover is the dark tone for every colour. Uncode sets its own (a green) with
   !important and two classes, hence the weight here. */
.axp .btn.axp-btn:not(#axp-none):hover,
.axp .btn.axp-btn:not(#axp-none):focus-visible {
	background-color: var(--axp-dark) !important;
	border-color: var(--axp-dark) !important;
	color: #fff !important;
}

.axp .btn.axp-btn-outline {
	background-color: transparent !important;
	color: var(--axp-accent) !important;
}



.axp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
}

.axp-notice {
	padding: 12px 16px;
	border-left: 4px solid #b7c708;
	background: #f5f5f5;
}

/* ------------------------------------------------------------ member page */

.axp-banner {
	aspect-ratio: 10 / 3;
	max-height: 560px;
	overflow: hidden;
	background: var(--axp-band);
}

.axp-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.axp-member-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
	gap: 64px;
	padding-top: 56px;
	padding-bottom: 64px;
}

/* One step up from the other small headings: the name of the company. */
.axp .axp-member-title {
	margin-bottom: 16px;
	font-size: 24px;
}

.axp .axp-slogan {
	margin: 0 0 28px;
	color: var(--axp-accent);
	font-size: var(--axp-xl);
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.axp .axp-text p {
	margin: 0 0 1em;
	line-height: 1.75;
}

/* The contact card: plain, a thin line round it, nothing on top. */
.axp-card {
	align-self: start;
	position: sticky;
	top: 120px;
	padding: 32px;
	border: 1px solid var(--axp-line);
	border-radius: var(--axp-radius);
	background: #fff;
	text-align: center;
}

.axp .axp-card .axp-portrait {
	display: flex;
	width: 160px;
	margin: 0 auto 20px;
}

.axp .axp-card-role {
	margin: 4px 0 0;
	color: var(--axp-muted);
}

.axp-logo {
	display: block;
	max-width: 180px;
	max-height: 80px;
	margin: 24px auto 0;
	object-fit: contain;
}

.axp .axp-card .axp-contact {
	margin: 28px 0 0 !important;
	padding: 28px 0 0 !important;
	border-top: 1px solid var(--axp-line);
	text-align: left;
}

.axp .axp-contact li {
	margin: 0 0 16px;
	padding: 0;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.axp .axp-contact li:last-child {
	margin-bottom: 0;
}

.axp .axp-card .axp-qr {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--axp-line);
}

.axp-qr img {
	display: block;
	width: 160px;
	height: 160px;
	margin: 0 auto 12px;
	image-rendering: pixelated;
}

.axp .axp-qr p {
	margin: 0;
	color: var(--axp-muted);
	font-size: var(--axp-m);
	line-height: 1.6;
}

.axp .axp-qr a:not(.btn):not(#axp-none) {
	color: var(--axp-accent) !important;
	font-weight: 600;
}

.axp .axp-section-title {
	margin-bottom: 24px;
}

/* 10-minute presentations */

.axp-band {
	padding: 56px 0;
	background: var(--axp-band);
}

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

.axp a.axp-post,
.axp a.axp-post:visited {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--axp-radius);
	background: #fff;
	color: var(--axp-ink);
}

.axp a.axp-post:hover .axp-post-title {
	color: var(--axp-accent);
}

.axp-post-image {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.axp-post-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 24px 24px;
}

.axp-post-date {
	color: var(--axp-muted);
	font-size: var(--axp-s);
}

.axp .axp-post-title {
	margin-top: 4px;
}

.axp-post-excerpt {
	flex: 1;
	margin-top: 8px;
	color: var(--axp-muted);
}

.axp-more {
	margin-top: 16px;
	color: var(--axp-accent);
	font-size: var(--axp-s);
	font-weight: 600;
}

/* Invitation: one grey box, the button inside under the text. */

.axp-invite {
	margin-top: 56px;
	margin-bottom: 56px;
}

.axp-invite > div {
	padding: 36px 40px;
	border-radius: var(--axp-radius);
	background: var(--axp-band);
}

.axp-invite .axp-section-title {
	margin-bottom: 8px;
}

.axp-invite p {
	margin: 0;
}

.axp-invite .axp-actions {
	margin-top: 24px;
}

.axp-others {
	padding-bottom: 72px;
}

@media (max-width: 959px) {
	.axp-member-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		padding-top: 36px;
	}

	.axp-card {
		position: static;
	}

	.axp-posts {
		grid-template-columns: minmax(0, 1fr);
	}

	.axp-invite > div {
		padding: 28px 24px;
	}

	.axp .axp-slogan {
		font-size: 26px;
	}
}

/* ------------------------------------------------------------ member grid */

/* Flex rather than grid so a short last row sits in the middle. */
.axp-grid {
	--axp-cols: 4;
	--axp-gap: 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 56px var(--axp-gap);
	margin: 0;
	padding: 0;
}

.axp .axp-grid li {
	flex: 0 0 calc((100% - (var(--axp-cols) - 1) * var(--axp-gap)) / var(--axp-cols));
	min-width: 0;
	margin: 0;
	padding: 0;
}

.axp .axp-grid a,
.axp .axp-grid a:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.axp-face {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 230px;
	max-width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--axp-band);
	transition: transform .2s ease;
}

.axp-face > img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* The member's logo on the lower edge of the photo, on a white disc. */
.axp-face-logo {
	position: absolute;
	right: 2%;
	bottom: 2%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34%;
	aspect-ratio: 1;
	padding: 7%;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.axp-face-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.axp-initials {
	color: var(--axp-accent);
	font-size: var(--axp-xl);
	font-weight: 600;
}

.axp .axp-grid a:hover .axp-face,
.axp .axp-grid a:focus-visible .axp-face {
	transform: scale(1.03);
}

.axp .axp-grid a:hover .axp-grid-title,
.axp .axp-grid a:focus-visible .axp-grid-title {
	color: var(--axp-accent);
}

.axp .axp-grid-title {
	margin-top: 20px;
}

.axp-grid-industry {
	margin-top: 4px;
	color: var(--axp-muted);
	font-size: var(--axp-s);
}

.axp-grid.axp-grid-small {
	--axp-cols: 6;
	--axp-gap: 20px;
	row-gap: 32px;
}

.axp-grid-small .axp-face {
	width: 140px;
}

.axp .axp-grid-small .axp-grid-title {
	font-size: var(--axp-m);
}


@media (max-width: 959px) {
	.axp-grid {
		--axp-cols: 2;
		--axp-gap: 20px;
		row-gap: 40px;
	}

	.axp-grid.axp-grid-small {
		--axp-cols: 3;
	}
}

@media (max-width: 479px) {
	.axp-grid {
		--axp-cols: 1;
	}

	.axp-grid.axp-grid-small {
		--axp-cols: 2;
	}
}

/* --------------------------------------------------------------- meetings */

.axp-meetings {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.axp .axp-meetings > li {
	margin: 0;
	padding: 0;
}

.axp-meeting {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px;
	border: 1px solid var(--axp-line);
	border-radius: var(--axp-radius);
	background: #fff;
}

.axp-date {
	flex: 0 0 auto;
	width: 76px;
	padding: 10px 0;
	border-radius: var(--axp-radius);
	background: var(--axp-accent);
	color: #fff;
	font-size: var(--axp-s);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.axp-date span {
	display: block;
	font-size: var(--axp-xl);
	font-weight: 600;
	line-height: 1.1;
}

.axp-meeting-body {
	flex: 1;
	min-width: 0;
}

.axp .axp-meeting-body p {
	margin: 0;
}

.axp-meeting-program {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 12px 0 0;
	padding: 0;
}

.axp .axp-meeting-program li {
	margin: 0;
	padding: 0;
}

.axp-xl .axp-meeting {
	border-color: var(--axp-accent);
}

@media (max-width: 767px) {
	.axp-meeting {
		flex-wrap: wrap;
		gap: 16px;
	}

	.axp-meeting .axp-button {
		width: 100%;
		text-align: center;
	}
}

/* ----------------------------------------------------------------- agenda */

.axp-agenda {
	position: relative;
	margin: 0;
	padding: 0;
}

.axp-agenda::before {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 70px;
	width: 2px;
	background: var(--axp-line);
	content: "";
}

.axp .axp-agenda li {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 36px;
	margin: 0 0 24px;
	padding: 0;
}

.axp-agenda li::before {
	position: absolute;
	top: 6px;
	left: 65px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--axp-accent);
	content: "";
}

.axp-agenda-time {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.axp .axp-agenda-title {
	margin-bottom: 4px;
	font-size: var(--axp-m);
}

.axp .axp-agenda p {
	margin: 0;
	color: var(--axp-muted);
}

/* ------------------------------------------------------------- programme */

.axp-center {
	justify-content: center;
}

.axp .axp-programme-when {
	margin: 0 0 24px;
	color: var(--axp-muted);
	text-align: center;
}

.axp-programme-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
}

.axp-programme-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--axp-radius);
	background: var(--axp-band);
}

.axp-programme-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.axp-programme-body {
	padding: 28px 32px 32px;
}

.axp .axp-programme-title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.axp .axp-programme-speaker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-weight: 600;
}

.axp-programme-speaker img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.axp .axp-programme-text {
	margin: 0;
	color: var(--axp-muted);
	line-height: 1.75;
}

.axp-programme .axp-actions {
	margin-top: 32px;
}

/* Post cards on a white page get a hairline, on the grey band they do not. */
.axp a.axp-post {
	border: 1px solid var(--axp-line);
}

.axp-band a.axp-post {
	border-color: transparent;
}

.axp .axp-programme-kicker,
.axp .axp-programme-heading {
	margin: 0;
	text-align: center;
}

.axp .axp-programme-heading {
	margin: 4px 0 8px;
}

/* ------------------------------------------------------------- logos */

/* The wordmark above the member's text; only when one was uploaded. */
.axp-wordmark {
	display: block;
	width: auto;
	max-width: 280px;
	height: auto;
	max-height: 90px;
	margin: 0 0 24px;
	object-fit: contain;
}

.axp .axp-programme-tbd {
	color: var(--axp-muted);
	font-weight: 400;
	font-style: italic;
}

/* ---------------------------------------------------------- rotation */

.axp-rotation {
	position: relative;
	height: var(--axp-height);
	overflow: hidden;
	background: #f7f7f7;
}

.axp-rotation-slide {
	position: absolute;
	inset: 0;
}

.axp-rotation-moving .axp-rotation-slide {
	opacity: 0;
	animation: var(--axp-fade) var(--axp-cycle) infinite;
}

.axp-rotation-moving .axp-rotation-slide:first-of-type {
	opacity: 1;
}

.axp-rotation .axp-rotation-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

@media (max-width: 959px) {
	.axp-rotation {
		height: min(var(--axp-height), 60vw);
	}
}

@media (prefers-reduced-motion: reduce) {
	.axp-rotation-moving .axp-rotation-slide {
		animation: none;
	}
}

/* ------------------------------------------------------------ footer */

.axp-footer-contacts ul {
	margin: 0;
	padding: 0;
}

.axp-footer-contacts li {
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.axp-footer-contacts li:first-child {
	padding-top: 0;
}

/* The element is itself the .axp block, so no descendant selector here. */
.axp-footer-contacts a:not(.btn):not(#axp-none),
.axp-footer-contacts a:not(.btn):not(#axp-none):hover {
	display: flex;
	align-items: center;
	gap: 20px;
	color: #fff !important;
}

.axp-footer-contacts img {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.axp-footer-contacts strong {
	display: block;
	color: #fff !important;
	font-weight: 600;
}

.axp-contact-role {
	display: block;
	color: #fff !important;
}

.axp-venue,
.axp-venue p {
	color: #fff !important;
}

.axp-venue p {
	margin: 0 0 12px;
}

.axp-venue a:not(.btn):not(#axp-none),
.axp-venue a:not(.btn):not(#axp-none):hover {
	color: #fff !important;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Cards and timelines read from the left, also in a centred column. */
.axp-meeting,
.axp-agenda,
.axp-programme-card,
.axp-post {
	text-align: left;
}

/* --------------------------------------------- programme: who, then what */

.axp .axp-programme-speaker {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 8px 0 20px;
}

.axp .axp-programme-speaker p {
	margin: 0;
	line-height: 1.5;
}

.axp .axp-programme-face {
	flex: 0 0 auto;
	width: 72px;
}

.axp .axp-programme-face .axp-face-logo {
	width: 40%;
	padding: 4px;
}

.axp .axp-programme-text + .axp-programme-text {
	margin-top: 12px;
}

/* ------------------------------------- pictures that fill the hero column */

/* In the hero the pictures take the height of the coloured box beside them,
   at least their own; otherwise the box stands taller and leaves white. */
.uncell:has(> .uncont > .axp-rotation),
.uncell:has(.axp-rotation) {
	height: 100%;
	padding: 0 !important;
}

.uncont:has(> .axp-rotation) {
	height: 100%;
}

.axp-rotation {
	height: 100%;
	min-height: var(--axp-height);
	/* The theme spaces every element of a column but the first. */
	margin-top: 0 !important;
}

/* ---------------------------------------------------------------- gallery */

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

.axp-gallery-item {
	display: block;
	overflow: hidden;
	border-radius: var(--axp-radius);
	aspect-ratio: 3 / 2;
}

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

.axp-gallery-item:hover .axp-gallery-image {
	transform: scale(1.04);
}

@media (max-width: 959px) {
	.axp-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.axp .axp-programme-speaker .axp-programme-face > img {
	width: 72px;
	height: 72px;
}

/* A member's name with their photo, wherever a name appears. */
.axp a.axp-person,
.axp span.axp-person {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	vertical-align: middle;
}

.axp .axp-person img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.axp .axp-meeting-program li {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.axp-meeting-topic {
	display: block;
}

/* ------------------------------------------------------------ post cards */

.axp .axp-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--axp-line);
	border-radius: var(--axp-radius);
	background: #fff;
}

.axp-band .axp-post {
	border-color: transparent;
}

.axp-post-picture {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--axp-band);
}

.axp-post-picture .axp-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.axp-post:hover .axp-post-image {
	transform: scale(1.03);
}

.axp .axp-post-title {
	margin: 4px 0 0;
	font-size: var(--axp-l);
	font-weight: 600;
	line-height: 1.3;
}

.axp .axp-post-speaker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin-top: 16px;
}

.axp-post-company {
	flex-basis: 100%;
	padding-left: 50px;
	margin-top: -8px;
}

.axp .axp-post-action {
	margin: 20px 0 0;
}

/* ------------------------------------------------------------ article page */

/* The theme's head with the picture behind the title, and its meta line,
   give way to the article's own head. */
.axp-article-page #page-header,
.axp-article-page .post-info {
	display: none !important;
}

.axp-article {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 0 24px;
}

.axp .axp-article-title {
	margin: 4px 0 24px;
	font-size: var(--axp-xl);
	font-weight: 600;
	line-height: 1.25;
}

.axp-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--axp-line);
}

.axp-article-speaker {
	display: flex;
	align-items: center;
	gap: 20px;
}

.axp .axp-article-speaker p,
.axp .axp-article-date {
	margin: 0;
	line-height: 1.5;
}

.axp .axp-article-face {
	flex: 0 0 auto;
	width: 88px;
}

.axp .axp-article-face > img {
	width: 88px;
	height: 88px;
}

.axp-article-body {
	padding-top: 40px;
}

.axp-article-with-image {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 48px;
	align-items: start;
}

.axp .axp-article-text p {
	margin: 0 0 1em;
	line-height: 1.75;
}

.axp-article-figure {
	position: sticky;
	top: 120px;
	margin: 0;
}

.axp-article-figure .axp-article-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--axp-radius);
}

.axp-article .axp-invite {
	margin: 56px 0 0;
	padding: 0;
	max-width: none;
}

.axp-article-more {
	margin-top: 56px;
}

@media (max-width: 959px) {
	.axp-article {
		padding: 32px 18px 16px;
	}

	.axp-article-with-image {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.axp-article-figure {
		position: static;
		order: -1;
	}
}

/* Tabs in the size of the text, like every other label. */
.nav-tabs > li > a,
.nav-tabs > li > a span {
	font-size: 16px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* Meeting cards: date box level with the first line, button under the text. */
.axp .axp-meeting {
	align-items: flex-start;
}

.axp .axp-meeting .axp-actions {
	margin-top: 20px;
}

.axp .axp-meeting .axp-date {
	margin-top: 2px;
}

/* Every notice and every empty state in the size of the text. */
.axp .axp-notice,
.axp-notice {
	font-size: var(--axp-m, 16px) !important;
	line-height: 1.7;
}

.axp .axp-xl-empty {
	padding: 32px 36px;
	border: 2px solid var(--axp-accent);
	border-radius: var(--axp-radius);
	background: #fff;
}

.axp .axp-xl-empty .axp-section-title {
	margin-bottom: 8px;
}

.axp .axp-xl-empty p {
	margin: 0;
}

/* ------------------------------------------------- tiles that arrange themselves */

/*
 * A column with the class axp-tiles lays its tiles out in two columns. With an
 * agenda tile, the agenda takes the right side and the others stack on the
 * left; without one (no XL planned yet), the tiles share both sides.
 */
.axp-tiles .uncont {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
}

.axp-tiles .uncont > * {
	margin: 0 !important;
}

.axp-tiles .uncont > .vc_empty_space,
.axp-tiles .uncont > .empty-space {
	display: none;
}

.axp-tiles .uncont:has(> .axp-agenda-tile) > :not(.axp-agenda-tile) {
	grid-column: 1;
}

.axp-tiles .uncont > .axp-agenda-tile {
	grid-column: 2;
	grid-row: 1 / span 6;
}

/* Only the column itself: the tiles inside have columns of their own. */
.axp-tiles .uncont .uncont {
	display: block;
}

.axp-tiles .uncont .uncont > * {
	grid-column: auto !important;
	grid-row: auto !important;
}

.axp-tiles .uncont .uncont > :not(:first-child) {
	margin-top: 16px !important;
}

.axp-tiles .uncont .uncont > .vc_empty_space,
.axp-tiles .uncont .uncont > .empty-space {
	display: none;
}

@media (max-width: 959px) {
	.axp-tiles .uncont {
		grid-template-columns: minmax(0, 1fr);
	}

	.axp-tiles .uncont > .axp-agenda-tile,
	.axp-tiles .uncont:has(> .axp-agenda-tile) > :not(.axp-agenda-tile) {
		grid-column: 1;
		grid-row: auto;
	}
}

.axp-tile {
	padding: 36px;
	border-radius: var(--axp-radius);
	background: #f7f7f7;
}

.axp .axp-tile-kicker {
	margin: 0 0 8px;
}

.axp .axp-tile-title {
	margin: 0 0 32px;
}

/* Until the next XL is planned: a green box that cannot be missed. */
.axp-xl-empty,
.axp.axp-xl-empty {
	padding: 40px 44px;
	border: 0;
	border-radius: var(--axp-radius);
	background: var(--axp-accent);
	color: #fff;
}

.axp-xl-empty p,
.axp-xl-empty .axp-xl-empty-title,
.axp-xl-empty .axp-xl-empty-kicker {
	color: #fff !important;
}

.axp-xl-empty-kicker {
	margin: 0 0 4px;
}

.axp-xl-empty-title {
	margin: 0 0 12px;
}

.axp-xl-empty .axp-actions {
	margin-top: 24px;
}

/* The green box beside the picture, filled by the plugin (XL page): white on
   green, in the three sizes of every hero box. */
.axp-hero-box,
.axp-hero-box p,
.axp-hero-box h1 {
	color: #fff !important;
	text-align: center;
}

.axp-hero-box .axp-hero-kicker {
	margin: 0 0 8px;
}

.axp-hero-box .axp-hero-title {
	margin: 0 0 16px;
}

.axp-hero-box .axp-hero-text {
	margin: 0;
}

.axp-hero-box .axp-actions {
	margin-top: 24px;
}

/*
 * Three sizes for headings, the same on every page: the light line above a
 * title (24px, the theme's h3 at weight 300), the title (32px, h1 and h2),
 * and card titles (20px). The section titles of the plugin follow the page
 * titles; nothing is green except the member's own colour on their page.
 */
.axp .axp-section-title {
	font-size: 32px;
	line-height: 1.25;
}

.axp .axp-article-kicker {
	margin: 0 0 4px;
	color: #303133;
}

.axp .axp-article-text .axp-article-kicker {
	margin-bottom: 16px;
}

.axp .axp-article-title {
	font-size: 32px;
}

/*
 * One kind of box on the whole site: light grey (#f7f7f7), rounded with the
 * theme's 8px, no border. On a grey band the same box is white. The contact
 * card, the meeting cards and the post cards had borders and their own
 * corners; they follow the grey tiles of the theme now.
 */
.axp .axp-card,
.axp .axp-meeting,
.axp .axp-post,
.axp .axp-programme-card,
.axp-tile,
.axp-invite > div {
	border: 0 !important;
	border-radius: var(--axp-radius);
	background: #f7f7f7;
	box-shadow: none;
}

.style-color-lxmt-bg .axp .axp-meeting,
.style-color-lxmt-bg .axp .axp-post,
.axp-band .axp-post {
	background: #fff;
}

/*
 * The head of a member's page in the sizes of every other page: the industry
 * as the light line above (24px), the company as the title (32px), the slogan
 * below in the member's colour at the size of the light line, bold. Before,
 * the industry was a 16px label, the company 20 to 24px and the slogan 32px
 * capitals in 900: three sizes found nowhere else on the site.
 */
.axp .axp-member-main .axp-kicker {
	margin: 0 0 4px;
	color: #303133;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.3;
}

.axp .axp-member-title {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.25;
}

.axp .axp-slogan {
	margin: 0 0 28px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
}

/* The round logo fills its circle, edge to edge, on white: no ring around it,
   and a transparent PNG does not show the photo through. */
.axp-face-logo,
.axp .axp-programme-face .axp-face-logo {
	padding: 0 !important;
	overflow: hidden;
	background: #fff;
}

.axp-face-logo img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	border-radius: 50%;
	object-fit: cover;
}
