/* Pet Wiki Guide: match Wild Kit Guide readability + in-post clipart sizing */
.single .entry-content,
.single .wp-block-post-content {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.125rem;
	line-height: 1.7;
}

@media (max-width: 782px) {
	.single .entry-content,
	.single .wp-block-post-content {
		font-size: 1.125rem;
		line-height: 1.75;
	}
}

.single .entry-content figure,
.single .wp-block-post-content figure {
	width: 100%;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.single .entry-content img,
.single .wp-block-post-content img {
	max-width: 100%;
	height: auto;
}

.single .entry-content figcaption,
.single .wp-block-post-content figcaption {
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: center;
	opacity: 0.85;
}

/* Clear clickable links (Spugger Gold accent-4) — body + TOC */
.single .entry-content a:where(:not(.wp-element-button)),
.single .wp-block-post-content a:where(:not(.wp-element-button)),
.single .wp-block-table-of-contents a {
	color: var(--wp--preset--color--accent-4, #daa520);
	text-decoration: underline; 
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

.single .entry-content a:where(:not(.wp-element-button)):hover,
.single .wp-block-post-content a:where(:not(.wp-element-button)):hover,
.single .wp-block-table-of-contents a:hover {
	color: var(--wp--preset--color--accent-1, #013832);
	text-decoration-thickness: 2px;
}

.single .wp-block-table-of-contents {
	margin: 1.25em 0 1.75em;
	padding: 0.9em 1.1em;
	background: var(--wp--preset--color--accent-3, #f3f4f4);
	border-left: 4px solid var(--wp--preset--color--accent-4, #daa520);
	border-radius: 2px;
}

.single .wp-block-table-of-contents ol,
.single .wp-block-table-of-contents ul {
	margin: 0.35em 0 0;
}

/* Manual TOC fallback when headings live in Custom HTML */
.single .petwiki-toc {
	margin: 1.25em 0 1.75em;
	padding: 0.9em 1.1em;
	background: var(--wp--preset--color--accent-3, #f3f4f4);
	border-left: 4px solid var(--wp--preset--color--accent-4, #daa520);
	border-radius: 2px;
}
.single .petwiki-toc ul {
	margin: 0.35em 0 0;
	padding-left: 1.2em;
}
.single .petwiki-toc a {
	color: var(--wp--preset--color--accent-4, #daa520); 
	text-decoration: underline;
	text-underline-offset: 0.15em;
}


.petwiki-hubs { margin: 1.25rem 0 2rem; }
.petwiki-hubs > .wp-block-columns { margin-bottom: 1rem; }
.petwiki-hub-card {
	  background: #f6f3ea !important;
	  border: 1px solid rgba(1, 56, 50, 0.10);
	  border-radius: 10px;
	  padding: 1.1rem 1.2rem 0.9rem;
}
.petwiki-hubs h2 {
	  text-decoration: none;
	  color: #013832;
}
.petwiki-hub-card h3 { margin-top: 0; }
.petwiki-hub-card p:last-child { margin-bottom: 0; }

/* Full-bleed footer: break out of the constrained page group */
.wp-block-group.is-layout-constrained > .wp-block-template-part:has(> .has-accent-1-background-color) {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* No white seam between the green header and the green post-title band */
header.wp-block-template-part + .wp-block-group.has-accent-1-background-color {
  margin-block-start: 0;
}

/* Hide the header rule only when the next band is also green */
header.wp-block-template-part:has(+ .has-accent-1-background-color) > hr {
  display: none;
}