/*
Theme Name: Pagecraft Base
Description: ธีมเปล่าขั้นต่ำสำหรับใช้คู่กับปลั๊กอิน Pagecraft Builder (Header / Footer / หน้า แก้ได้ด้วย builder)
Version: 0.2.0
Requires at least: 6.5
Requires PHP: 8.1
Author: Pagecraft
License: GPL-2.0-or-later
Text Domain: pagecraft-base
*/

html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Thai", Tahoma, sans-serif;
	line-height: 1.65;
	color: #1f2937;
	background: #fff;
}
img { max-width: 100%; height: auto; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	clip: auto;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

/* ใช้เมื่อยังไม่ได้สร้าง Header/Footer/เนื้อหาด้วย Pagecraft */
.pc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.pc-header { border-bottom: 1px solid #e8ecf2; }
.pc-header .pc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.pc-header a { color: inherit; text-decoration: none; }
.pc-site-title { font-size: 1.25rem; font-weight: 700; }
.pc-nav ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.pc-footer { padding: 28px 0; border-top: 1px solid #e8ecf2; color: #64748b; text-align: center; }
.pc-entry { padding-block: 40px; }
.pc-title { margin: 0 0 16px; }
.pc-post { margin-bottom: 28px; }

.pcb-site { position: relative; }
