/* Chief Officers Directory - front-end styles */

.co-grid {
	--co-columns: 3;
	display: grid;
	grid-template-columns: repeat( var( --co-columns ), 1fr );
	gap: 24px;
	margin: 24px 0;
}

.co-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.06 );
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.co-card:hover {
	transform: translateY( -4px );
	box-shadow: 0 8px 20px rgba( 0, 0, 0, 0.1 );
}

.co-photo {
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.co-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
	display: block;
}

.co-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 42px;
	font-weight: 700;
	color: #888;
	background: linear-gradient( 135deg, #e9ecf2, #dfe3ea );
}

.co-info {
	padding: 16px 14px 20px;
}

.co-name {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.3;
}

.co-position {
	margin: 0;
	font-size: 13.5px;
	color: #555;
	line-height: 1.5;
}

.co-bio {
	margin-top: 10px;
	font-size: 13.5px;
	color: #444;
	text-align: left;
}

.co-empty {
	font-style: italic;
	color: #777;
}

@media ( max-width: 900px ) {
	.co-grid {
		--co-columns: 2 !important;
	}
}

@media ( max-width: 560px ) {
	.co-grid {
		--co-columns: 1 !important;
	}
}
