/* Publication components
   -------------------------------------------------- */

/* BEGIN CARD GRID STYLES */

.pub-card-grid-block {
	margin: 2.5rem 0;
}

.pub-section-title {
	margin: 0 0 1.5rem;
}

.pub-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.pub-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.pub-card-image {
	display: block;
	width: 100%;
	height: auto;
}

.pub-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem;
}

.pub-card-title {
	margin: 0 0 0.75rem;
}

.pub-card-text {
	margin: 0 0 1rem;
}

.pub-card-link {
	margin-top: auto;
	align-self: flex-start;
}

/* Tablet and larger */
@media (min-width: 768px) {
	.pub-cards-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pub-cards-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Desktop */
@media (min-width: 992px) {
	.pub-cards-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* END CARD GRID */

/* ---------------------------------------------------------
   Photo Group
   --------------------------------------------------------- */

.pub-photo-group {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 2.5rem 0;
}

.pub-photo {
	margin: 0;
	min-width: 0;
}

.pub-photo-image {
	display: block;
	width: 100%;
	height: auto;
}

.pub-photo-caption {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.45;
}

/* Tablet and larger */
@media (min-width: 768px) {
	.pub-photos-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pub-photos-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
/* END PHOTO GROUP */