/**
 * Company Core — front-end styles for the services grid, archive and
 * single templates. Intentionally minimal/unopinionated so themes can
 * easily override it.
 *
 * @package CompanyCore
 */

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

@media (max-width: 782px) {
	.company-core-services-grid {
		grid-template-columns: 1fr;
	}
}

.company-core-service-card {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.company-core-service-thumb img {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.company-core-service-title {
	margin: 0;
	font-size: 1.15rem;
}

.company-core-service-excerpt {
	margin: 0;
	color: #555;
}

.company-core-service-button {
	display: inline-block;
	margin-top: auto;
	padding: 8px 16px;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	text-decoration: none;
	text-align: center;
}

.company-core-header {
	margin-bottom: 16px;
}

.company-core-subtitle {
	color: #555;
	margin-top: 4px;
}

.company-core-thumbnail {
	margin-bottom: 24px;
}

.company-core-thumbnail img {
	max-width: 100%;
	max-height: 420px;
	width: auto;
	height: auto;
	border-radius: 8px;
	display: block;
}

.company-core-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0;
}

.company-core-gallery-item img {
	width: 160px;
	height: auto;
	border-radius: 6px;
}

.company-core-short-description {
	font-size: 1.05rem;
	color: #333;
	margin-bottom: 16px;
}

.company-core-cta {
	margin: 24px 0;
}

.company-core-meta-footer {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid #e2e2e2;
	font-size: 0.9rem;
}

.company-core-taxonomy {
	margin-bottom: 4px;
}

.company-core-taxonomy + .company-core-taxonomy {
	margin-top: 4px;
}

.company-core-empty {
	color: #777;
}
