/**
 * 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;
}

/* Related services / projects */
.company-core-related {
	margin: 32px 0;
}

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

/* FAQ accordion */
.company-core-faqs {
	margin: 24px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.company-core-faq-item {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 12px 16px;
}

.company-core-faq-question {
	cursor: pointer;
	font-weight: 600;
}

.company-core-faq-answer {
	margin-top: 8px;
	color: #444;
}

/* Testimonials */
.company-core-testimonials {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 24px 0;
}

.company-core-testimonial-card {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	text-align: center;
}

.company-core-testimonial-photo img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 8px;
}

.company-core-testimonial-rating {
	color: #d98500;
	letter-spacing: 2px;
	margin-bottom: 8px;
}

.company-core-testimonial-name {
	font-weight: 600;
	margin-top: 8px;
}

.company-core-testimonial-role {
	color: #777;
	font-size: 0.9rem;
}

/* WhatsApp CTA */
.company-core-whatsapp-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.company-core-whatsapp-cta:hover,
.company-core-whatsapp-cta:focus {
	background: #1ebc59;
	color: #fff;
}
