/**
 * Default page/post typography — styles apply via parent `.entry`.
 */

.entry {
	color: var(--foreground);
	font-size: 1rem;
	line-height: 1.75;
}

.entry > * + * {
	margin-top: 1.25rem;
}

.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	color: var(--foreground);
	font-weight: 700;
	line-height: 1.3;
}

.entry h2 {
	font-size: var(--text-xl);
	margin-top: 2.5rem;
}

.entry h3 {
	font-size: 1.25rem;
	margin-top: 2rem;
}

.entry h4 {
	font-size: 1.125rem;
}

.entry h5 {
	font-size: 1rem;
}

.entry h6 {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.entry > :first-child,
.entry section > :first-child,
.entry article > :first-child {
	margin-top: 0;
}

.entry p {
	color: var(--muted-foreground);
}

.entry a {
	color: var(--secondary);
	font-weight: 600;
	text-decoration: none;
}

.entry a:hover {
	text-decoration: underline;
}

.entry strong {
	color: var(--foreground);
	font-weight: 700;
}

.entry em,
.entry cite {
	font-style: italic;
}

.entry small {
	color: var(--muted-foreground);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry blockquote {
	border-left: 4px solid var(--secondary);
	color: var(--muted-foreground);
	font-style: italic;
	margin: 1.5rem 0;
	padding-left: 1rem;
}

.entry ul,
.entry ol {
	color: var(--muted-foreground);
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.entry ul {
	list-style: disc;
}

.entry ol {
	list-style: decimal;
}

.entry li + li {
	margin-top: 0.5rem;
}

.entry li > ul,
.entry li > ol {
	margin-top: 0.5rem;
}

.entry section {
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	padding: 1.25rem;
}

.entry section + section {
	margin-top: 0.75rem;
}

.entry article {
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	padding: 2rem;
}

.entry article header {
	border-bottom: 1px solid var(--border);
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
}

.entry article footer {
	border-top: 1px solid var(--border);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.entry ul li h2 {
	font-size: 1.5rem;
	margin-top: 0.25rem;
}

.entry ul li h2 a {
	color: var(--foreground);
}

.entry ul li h2 a:hover {
	color: var(--secondary);
}

.entry img {
	border-radius: 0.5rem;
	height: auto;
	max-width: 100%;
}

.entry table {
	border-collapse: collapse;
	width: 100%;
}

.entry th,
.entry td {
	border: 1px solid var(--border);
	padding: 0.75rem;
	text-align: left;
}

.entry th {
	color: var(--foreground);
	font-weight: 700;
}

.entry ul.nmc4j-checklist,
.entry ul.list-check {
	list-style: none;
	margin: 1rem 0;
	padding-left: 0;
}

.entry ul.nmc4j-checklist li,
.entry ul.list-check li {
	color: var(--muted-foreground);
	display: flex;
	gap: 0.625rem;
	padding-left: 0;
}

/* Accessibility-style checklist: primary checkmark character */
.entry ul.nmc4j-checklist li::before {
	color: var(--primary);
	content: "✓";
	flex: 0 0 auto;
	font-size: 1rem;
	line-height: 1.5;
}

/* Donate-style checklist: secondary SVG check icon */
.entry ul.list-check li::before {
	background-color: var(--secondary);
	content: "";
	flex: 0 0 1rem;
	height: 1rem;
	margin-top: 0.3rem;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	width: 1rem;
}

.entry ul.nmc4j-checklist li + li,
.entry ul.list-check li + li {
	margin-top: 0.75rem;
}

.entry a.text-primary {
	color: var(--primary);
	font-weight: 500;
}

.entry a.text-primary:hover {
	text-decoration: underline;
}

.nmc4j-info-block-guide-sample {
	border-bottom: 1px dashed var(--border);
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
}

.nmc4j-info-block-guide-sample:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.nmc4j-info-block-guide-label {
	background: color-mix(in oklab, var(--secondary) 12%, transparent);
	border-radius: 0.25rem;
	color: var(--secondary);
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-bottom: 1rem;
	padding: 0.25rem 0.625rem;
	text-transform: uppercase;
}

.nmc4j-info-block-guide-label__slug {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0;
	opacity: 0.85;
	text-transform: none;
}
