/* The application block (includes/components/application-block.php): the
   job, the resume, a call. Its own geometry; where it sits on a page is
   that page's call (the home header sets its margin). */
.application-block {
	display: grid;
	/* One set measure for every target, not the width of whatever title it
	   holds. In the home header it deliberately crosses into the timeline's
	   second column at desktop widths: clearly off the grid reads as a
	   choice, nearly on it reads as an accident. */
	max-width: 60ch;
	gap: 0.6rem;
	padding: 1rem;
	/* Optional slots, so a look can make it its own card; undeclared, it's
	   a plain outline on the page's paper. */
	border: 1px solid var(--application-block-stroke, var(--stroke-secondary));
	border-radius: var(--application-block-corners, var(--corners, 0));
	background: var(--application-block-fill, transparent);

	p {
		margin: 0;
	}

	/* The role reads as the card's title, not a sentence link: no
	   underline, and the outbound mark set a step apart carries the
	   linkness (the card pattern - title, then the arrow). */
	.role {
		text-wrap: balance;

		a.link {
			text-decoration: none;

			&::after {
				padding-left: 0.3em;
			}
		}
	}

	.contact {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 1rem;
		margin-top: 0.25rem;
	}
}
