/**
 * 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: 1.875rem;
	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;
	padding: 1.25rem;
}

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

.entry article {
	border: 1px solid var(--border);
	border-radius: 0;
	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;
	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.bydh-checklist {
	list-style: none;
	margin: 1rem 0;
	padding-left: 0;
}

.entry ul.bydh-checklist li {
	color: var(--muted-foreground);
	padding-left: 1.5rem;
	position: relative;
}

.entry ul.bydh-checklist li::before {
	color: var(--primary);
	content: "✓";
	font-weight: 700;
	left: 0;
	position: absolute;
}

.entry ul.bydh-checklist li + li {
	margin-top: 0.75rem;
}

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

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