.au-home-pillars {
	background: var(--au-pillars-background, #fcfcfb);
	margin-block: var(--au-section-margin-y, 0px);
	padding: var(--au-section-spacing, 72px) 24px;
}

.au-home-pillars__inner {
	margin: 0 auto;
	max-width: 1350px;
	width: 100%;
}

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

.au-home-pillars__card {
	--pillar-accent: #5a47f4;
	background: #fff;
	border: 1px solid #e7e5ee;
	border-radius: 8px;
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	min-width: 0;
	overflow: hidden;
	padding: 28px 24px 24px;
	position: relative;
	text-align: left;
	transition: box-shadow 250ms ease, transform 250ms ease;
}

.au-home-pillars__card::before { background: linear-gradient(90deg, #5a47f4, #a042ff); content: ""; height: 4px; inset: 0 0 auto; position: absolute; }

.au-home-pillars__card:hover,
.au-home-pillars__card:focus-within { box-shadow: 0 18px 40px -18px rgba(90, 71, 244, 0.35); transform: translateY(-4px); }


.au-home-pillars__eyebrow {
	color: var(--pillar-accent);
	font-family: "Magallanes Bold", sans-serif;
	font-size: 18px;
	margin: 0 0 8px;
}

.au-home-pillars__heading {
	color: var(--au-pillars-heading, #5a47f4);
	font-family: "Magallanes Black", sans-serif;
	font-size: var(--au-heading-size, 24px);
	line-height: 1.2;
	margin: 0;
}

.au-home-pillars__card ul {
	font-family: "Lato Regular", sans-serif;
	font-size: var(--au-body-size, 16px);
	line-height: 1.45;
	margin: 16px 0 20px;
	list-style: none;
	padding-left: 0;
}

.au-home-pillars__card li { display: flex; gap: 8px; justify-content: flex-start; max-width: 100%; text-align: left; width: 100%; }
.au-home-pillars__card li + li { margin-top: 6px; }
.au-home-pillars__card li::before { color: #a042ff; content: "»"; flex: 0 0 auto; font-family: "Lato Bold", sans-serif; font-size: 20px; line-height: 1; }

.au-home-pillars__card a {
	align-items: center;
	background: var(--au-button-background, #5a47f4);
	border: 2px solid var(--au-button-background, #5a47f4);
	color: var(--au-button-text, #fff);
	display: inline-flex;
	font-family: "Lato Regular", sans-serif;
	font-size: var(--au-button-size, 16px);
	font-weight: 400;
	gap: 8px;
	justify-self: start;
	max-width: 100%;
	margin-top: var(--au-button-margin-top, 16px);
	padding: var(--au-button-padding-y, 12px) var(--au-button-padding-x, 20px);
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.au-home-pillars__card a:hover,
.au-home-pillars__card a:focus-visible { background: #fff; border-color: var(--au-button-background, #5a47f4); color: #000; }
.au-home-pillars__card a:focus-visible { outline: 2px solid #5a47f4; outline-offset: 3px; }
.au-home-pillars__card:hover a,
.au-home-pillars__card:focus-within a { background: #fff; border-color: var(--au-button-background, #5a47f4); color: #000; }

@media (max-width: 1024px) {
	.au-home-pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.au-home-pillars { padding-inline: 20px; }
	.au-home-pillars__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) { .au-home-pillars__card, .au-home-pillars__card a { transition: none; } .au-home-pillars__card:hover, .au-home-pillars__card:focus-within { transform: none; } }

.au-home-pillars__heading > * { color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; margin: 0; }

@media (max-width: 768px) { .au-home-pillars { padding-block: calc(var(--au-section-spacing, 72px) * 0.6); } }
/* Buttons: same width and height in every card, text on the left, arrow on the right */
.au-home-pillars__card a { box-sizing: border-box; justify-content: space-between; justify-self: stretch; line-height: 1.3; min-height: 52px; text-align: left; width: 100%; }
.au-home-pillars__card a > span[aria-hidden] { flex: none; transition: transform 160ms ease; }
.au-home-pillars__card a:hover > span[aria-hidden],
.au-home-pillars__card a:focus-visible > span[aria-hidden] { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .au-home-pillars__card a > span[aria-hidden] { transition: none; } }
/* Line the cards up with each other: every card shares the same rows, so the first bullet
   and the button start at the same height in all four cards, and the buttons match in height */
@supports (grid-template-rows: subgrid) {
	.au-home-pillars__grid { row-gap: 0; }
	.au-home-pillars__card { grid-row: span 4; grid-template-rows: subgrid; margin-bottom: 16px; row-gap: 0; }
	.au-home-pillars__card ul { align-self: start; }
	.au-home-pillars__card a { align-self: stretch; }
}
