/*
Theme Name: DANAPR Marking
Theme URI: https://www.danapr-marking.com/
Author: DANAPR Marking
Description: Production-ready migration theme for the DANAPR industrial coding and marking website. It preserves approved URL paths and supports progressive Gutenberg migration.
Version: 0.3.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: danapr-marking
License: GPL-2.0-or-later
*/

:root {
	--danapr-content-width: 1280px;
}

body.admin-bar .danapr-site-header {
	top: 32px;
}

.danapr-wp-content {
	padding: 72px 0;
}

.danapr-wp-content > .container {
	max-width: var(--danapr-content-width);
}

.danapr-wp-content .entry-header {
	margin-bottom: 32px;
}

.danapr-wp-content .entry-title {
	margin: 0;
	color: #101a35;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.12;
}

.danapr-wp-content .entry-content > * + * {
	margin-top: 1.25em;
}

.danapr-wp-content .entry-content img {
	height: auto;
	max-width: 100%;
}

.danapr-wp-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.danapr-wp-card {
	padding: 28px;
	border: 1px solid #dce3ec;
	background: #fff;
}

.danapr-wp-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.danapr-wp-card-meta {
	margin: 14px 0 8px;
	color: #6b7280;
	font-size: 0.875rem;
}

.danapr-wp-card h2,
.danapr-wp-card h3 {
	margin: 0 0 12px;
}

.danapr-wp-pagination {
	margin-top: 40px;
}

.danapr-wp-notice {
	padding: 20px;
	border-left: 4px solid #f6c515;
	background: #f6f8fb;
}

@media (max-width: 782px) {
	body.admin-bar .danapr-site-header {
		top: 46px;
	}

	.danapr-wp-card-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 783px) and (max-width: 991px) {
	.danapr-wp-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
