/*
Theme Name: Coach Lite
Theme URI: https://wixservices.com
Author: Wix Services Ltd
Author URI: https://wixservices.com
Description: A light, fast, no-page-builder WordPress theme for coaches and service businesses. Warm editorial design, full block editor support, ready-made patterns for hero/services/testimonials/FAQ/contact sections. No jQuery, no bundled page builder, no bloat.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coach-lite
*/

/* ==========================================================================
   Base
   ========================================================================== */

:root {
	--ink: #2b2622;
	--paper: #f6f1ea;
	--paper-deep: #efe6d8;
	--clay: #a5583c;
	--clay-deep: #8f4830;
	--moss: #5c6b4f;
	--moss-deep: #3f4a37;
	--line: #d9cdb9;
	--white: #fffdf9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: var(--paper);
	color: var(--ink);
	font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
}

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

a { color: var(--clay); text-decoration: none; }
a:hover { color: var(--moss-deep); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 500;
	line-height: 1.15;
	color: var(--moss-deep);
	margin: 0 0 0.6em;
}

p { margin: 0 0 1.2em; }

.screen-reader-text {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	background: var(--white);
	padding: 0.75rem 1.25rem;
	z-index: 10000;
	border-radius: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 32px;
}

.wp-site-blocks,
.entry-content {
	max-width: 740px;
	margin: 0 auto;
}
.alignwide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(246, 241, 234, 0.94);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--line);
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 32px;
	max-width: 1080px;
	margin: 0 auto;
}

.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 22px;
	font-weight: 500;
	color: var(--moss-deep);
	margin: 0;
}
.site-title a { color: var(--moss-deep); text-decoration: none; }
.site-description { font-size: 13px; color: #736b5e; margin: 0; }
.custom-logo { max-height: 44px; width: auto; display: block; }

.primary-navigation ul {
	list-style: none;
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
}
.primary-navigation a {
	color: var(--ink);
	text-decoration: none;
	font-size: 15px;
	padding-bottom: 4px;
	border-bottom: 1px solid transparent;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	color: var(--clay);
	border-color: var(--clay);
}
.primary-navigation ul ul {
	display: none;
	position: absolute;
	background: var(--white);
	border: 1px solid var(--line);
	flex-direction: column;
	padding: 8px 0;
	gap: 0;
	min-width: 180px;
}
.primary-navigation li { position: relative; }
.primary-navigation li:hover > ul { display: flex; }
.primary-navigation ul ul a { padding: 8px 16px; display: block; }

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--moss-deep);
	border-radius: 2px;
	padding: 8px 12px;
	font-size: 15px;
	color: var(--moss-deep);
	cursor: pointer;
}

@media (max-width: 860px) {
	.primary-navigation { display: none; width: 100%; }
	.primary-navigation.is-open { display: block; }
	.primary-navigation ul { flex-direction: column; gap: 0; padding: 16px 0; }
	.primary-navigation ul ul { position: static; border: none; padding-left: 16px; }
	.primary-navigation li:hover > ul { display: none; }
	.site-header-inner { flex-wrap: wrap; }
	.menu-toggle { display: block; }
}

/* ==========================================================================
   Buttons / Blocks
   ========================================================================== */

.wp-block-button__link {
	padding: 14px 28px !important;
	font-weight: 500;
	letter-spacing: 0.01em;
	border-radius: 2px !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--moss-deep);
	color: var(--moss-deep);
	background: transparent !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--moss-deep) !important;
	color: var(--white) !important;
}

.wp-block-quote {
	border-left: 2px solid var(--clay);
	padding-left: 24px;
	font-family: 'Fraunces', Georgia, serif;
	font-style: italic;
	font-size: 1.25em;
	color: var(--moss-deep);
}

.wp-block-separator { border-color: var(--line); }

/* Card-style group (apply "Card" block style to Group blocks) */
.is-style-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: 32px;
}

.is-style-panel-moss {
	background: var(--moss-deep);
	color: var(--paper);
	border-radius: 3px;
	padding: 40px;
}
.is-style-panel-moss h1, .is-style-panel-moss h2, .is-style-panel-moss h3 {
	color: var(--white);
}

/* ==========================================================================
   Post content / archives
   ========================================================================== */

.site-main { padding: 56px 0 80px; }

.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(28px, 4vw, 40px); }
.entry-meta { font-size: 13.5px; color: #8a8172; letter-spacing: 0.02em; }
.entry-meta a { color: inherit; }

.post-thumbnail { margin-bottom: 24px; border-radius: 3px; overflow: hidden; }

.archive-title, .page-title { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 8px; }
.archive-description { color: #544c43; margin-bottom: 40px; }

.post-list { display: flex; flex-direction: column; gap: 40px; }
.post-summary { border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.post-summary:last-child { border-bottom: none; }
.post-summary .entry-title { font-size: 24px; }
.post-summary .entry-title a { color: var(--moss-deep); text-decoration: none; }
.post-summary .entry-title a:hover { color: var(--clay); }
.read-more { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 14.5px; }

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 56px;
}
.pagination a, .pagination span {
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-size: 14px;
	color: var(--ink);
	text-decoration: none;
}
.pagination .current { background: var(--clay); color: var(--white); border-color: var(--clay); }
.pagination a:hover { border-color: var(--clay); }

.comments-area { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { margin-bottom: 28px; }
.comment-author { font-weight: 600; font-size: 14.5px; color: var(--moss-deep); }
.comment-metadata { font-size: 12.5px; color: #8a8172; margin-bottom: 8px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: 3px;
	font-family: inherit;
	font-size: 15px;
	background: var(--white);
	color: var(--ink);
}
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #736b5e; }
.comment-form p { margin-bottom: 16px; }
.comment-reply-title { font-size: 20px; }

/* ==========================================================================
   Widgets / Footer
   ========================================================================== */

.site-footer {
	background: var(--moss-deep);
	color: #c9c0ab;
	padding: 56px 0 32px;
	margin-top: 60px;
}
.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-widgets .widget-title {
	color: var(--white);
	font-size: 16px;
	margin-bottom: 14px;
}
.footer-widgets a { color: #c9c0ab; }
.footer-widgets a:hover { color: var(--white); }
.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets li { margin-bottom: 8px; font-size: 14.5px; }

.site-footer-bottom {
	padding-top: 24px;
	font-size: 13px;
	color: #948c78;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; margin-bottom: 12px; }

@media (max-width: 640px) {
	.site-container, .site-header-inner { padding-left: 20px; padding-right: 20px; }
	.site-main { padding: 40px 0 56px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
