<?php
/**
 * Answyr Docs — fallback single template (classic themes).
 * Block themes use their own templates; this keeps output SEO-clean (one H1)
 * where the theme provides nothing for the CPT.
 *
 * @package Answyr
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

get_header();
?>
<main class="answyr-doc" style="max-width:820px;margin:40px auto;padding:0 20px;">
	<?php
	while ( have_posts() ) :
		the_post();
		?>
		<article>
			<h1><?php the_title(); ?></h1>
			<div class="answyr-doc-content"><?php the_content(); ?></div>
		</article>
		<?php
	endwhile;
	?>
</main>
<?php
get_footer();
