/* DOB Starter Theme | css/14-projects.css | v0.1.0 | 2026-04-30 | Generated by Claude, DOB-S8 (IA restructure Bundle A) */
/* Project Portfolio grid: cards rendered by [dob_projects] shortcode.
   Each card: optional uppercase short label, title (linked to external
   URL when set), short description, and a quiet link-arrow showing the
   external host. Cards stack 1-up on mobile, 2-up on tablet, 3-up on
   desktop. */

.dob-projects-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-5);
}

@media (min-width: 600px) {
	.dob-projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.dob-projects-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--s-5);
	}
}

.dob-project-card {
	background: var(--c-white);
	border: 1px solid color-mix(in srgb, var(--c-stone) 12%, transparent);
	padding: var(--s-5);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
}

.dob-project-card__short {
	font-family: var(--f-label);
	font-size: var(--fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-brick);
	margin-bottom: var(--s-3);
	font-weight: 500;
	display: block;
}

.dob-project-card__title {
	font-size: var(--fs-h3);
	font-weight: 500;
	margin: 0 0 var(--s-3);
	letter-spacing: -0.015em;
	color: var(--c-ink);
}

.dob-project-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.15s, color 0.15s;
}

.dob-project-card__title a:hover,
.dob-project-card__title a:focus {
	color: var(--c-brick);
	background-size: 100% 1px;
}

.dob-project-card__body {
	color: var(--c-stone);
	margin: 0 0 var(--s-4);
	flex: 1;
}

.dob-project-card__link {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	font-family: var(--f-label);
	font-size: var(--fs-label);
	letter-spacing: 0.06em;
	text-transform: lowercase;
	color: var(--c-brick);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	min-height: var(--tt-min);
	align-self: flex-start;
	font-weight: 500;
}

.dob-project-card__link:hover,
.dob-project-card__link:focus {
	color: var(--c-brick-dark);
}

.dob-projects-empty {
	color: var(--c-stone);
	font-style: italic;
	margin: 0;
}
