/*
Theme Name: Dr. Paul Preston
Theme URI: https://drpaulpreston.com
Author: Happy Camper Productions
Description: A warm, minimal Full Site Editing theme for Dr. Paul Preston's emotional wellness coaching practice. Features a non-pathologizing brand voice, warm typography, and a clean design that honors emotional intelligence.
Requires at least: 6.1
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-paul-preston

This theme supports Full Site Editing (FSE) and block-based design.
Color Palette: Primary Teal (#2C5F6F), Secondary Sage (#8B9D83), Accent Gold (#D4A373), Neutral Off-White (#F5F3EF)
Typography: Georgia for headings, System sans-serif for body text.
*/

/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1c1c1c;
	background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Georgia', 'Garamond', serif;
	font-weight: normal;
	line-height: 1.3;
	margin-bottom: 1.5rem;
	color: #2c5f6f;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1.5rem;
}

a {
	color: #2c5f6f;
	text-decoration: none;
	border-bottom: 2px solid #F4EF30;
	transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
	color: #8b9d83;
	border-bottom-color: #F4EF30;
}

/* Navigation */
.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-page-list a,
.wp-block-pages-list__item__link {
	color: #FFFFFF;
	text-decoration: none;
	border-bottom: 2px solid #F4EF30;
	transition: border-color 0.2s ease, color 0.2s ease;
	padding-bottom: 3px;
}

.wp-block-navigation a:hover,
.wp-block-page-list a:hover,
.wp-block-pages-list__item__link:hover {
	color: #F4EF30;
	border-bottom-color: #F4EF30;
}

/* Nav item spacing */
.wp-block-navigation .wp-block-navigation__container,
.wp-block-page-list.wp-block-navigation__container {
	gap: 2.5rem !important;
}

/* Site title link */
.wp-block-site-title a {
	border-bottom: none;
}
.wp-block-site-title a:hover {
	color: #F4EF30;
	border-bottom: none;
}

/* Hide front page "Home" from page-list nav — logo already links home */
.wp-block-page-list .wp-block-pages-list__item:has(> a[href="https://drpaulpreston.com/"]) {
	display: none;
}

button, .button, .wp-block-button__link {
	background-color: #d4a373;
	color: #1c1c1c;
	border: none;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-family: inherit;
	text-decoration: none;
	display: inline-block;
}

button:hover, .button:hover, .wp-block-button__link:hover {
	background-color: #8b9d83;
	color: #ffffff;
}

/* Lists */
ul, ol {
	margin-left: 2rem;
	margin-bottom: 1.5rem;
}

li {
	margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
	border-left: 4px solid #2c5f6f;
	padding-left: 1.5rem;
	margin-left: 0;
	margin-bottom: 1.5rem;
	color: #2c5f6f;
	font-style: italic;
}

/* Images */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

th, td {
	padding: 0.75rem;
	text-align: left;
	border-bottom: 1px solid #f5f3ef;
}

th {
	background-color: #f5f3ef;
	font-weight: bold;
}

/* Entry Content */
.wp-block-post-content {
	line-height: 1.8;
	word-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	h3 {
		font-size: 1.25rem;
	}
	
	body {
		font-size: 15px;
	}
}
