/*
Theme Name: Walking the Trail
Theme URI: https://walkingthetrail.com
Author: Unblocked
Description: Custom block theme for walkingthetrail.com — coaching, community and the TRAIL Framework with Coach Dani.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: walking-the-trail
*/

/* ---------- Header ---------- */
.wtt-header {
	border-bottom: 1px solid rgba(31, 42, 36, 0.08);
	background: var(--wp--preset--color--stone);
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .wtt-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .wtt-header { top: 46px; }
}
.wtt-header .wp-block-site-title a { text-decoration: none; color: var(--wp--preset--color--forest); }
.wtt-header .wp-block-navigation a { text-decoration: none; }
.wtt-header .wp-block-navigation a:hover { color: var(--wp--preset--color--emerald); }

/* ---------- Eyebrow labels ---------- */
.wtt-eyebrow {
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
}

/* ---------- Topographic texture ---------- */
.wtt-topo {
	background-image: url("assets/images/topo-light.svg");
	background-size: cover;
	background-position: center;
}

/* ---------- Path cards ---------- */
.wtt-card {
	height: 100%;
	box-shadow: 0 1px 2px rgba(31, 42, 36, 0.04), 0 8px 24px rgba(31, 42, 36, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wtt-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(31, 42, 36, 0.05), 0 14px 32px rgba(31, 42, 36, 0.09);
}
.wtt-card .wp-block-buttons { margin-top: auto; }

/* ---------- TRAIL letters ---------- */
.wtt-trail-letter {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(3rem, 6vw, 4.5rem);
	line-height: 1;
	color: var(--wp--preset--color--emerald);
	margin-bottom: 0.25rem;
}

/* ---------- Footer ---------- */
.wtt-footer a { color: var(--wp--preset--color--stone); text-decoration: none; }
.wtt-footer a:hover { color: var(--wp--preset--color--gold); }
.wtt-plain-list { list-style: none; padding-left: 0; }
.wtt-plain-list li { margin-bottom: 0.5rem; }
.wtt-copyright {
	border-top: 1px solid rgba(246, 244, 239, 0.2);
	padding-top: 1.5rem;
	opacity: 0.8;
}

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.wp-block-button.is-style-outline > .wp-block-button__link { border-width: 2px; }

/* ---------- Pricing ---------- */
.wtt-price {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 600;
	line-height: 1.1;
	color: var(--wp--preset--color--forest);
}
.wtt-price small { font-size: 0.45em; font-family: var(--wp--preset--font-family--body); font-weight: 600; }
.wtt-price s { font-size: 0.55em; opacity: 0.55; margin-right: 0.25rem; }
.wtt-card--featured { outline: 2px solid var(--wp--preset--color--emerald); outline-offset: -2px; }
.wtt-badge {
	align-self: flex-start;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest);
	border-radius: 999px;
	padding: 0.2rem 0.8rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- Check lists ---------- */
.wtt-check-list { list-style: none; padding-left: 0; }
.wtt-check-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; }
.wtt-check-list li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.55em;
	width: 0.7rem;
	height: 0.4rem;
	border-left: 2px solid var(--wp--preset--color--emerald);
	border-bottom: 2px solid var(--wp--preset--color--emerald);
	transform: rotate(-45deg);
}

/* ---------- Placeholders (replace with forms / embeds) ---------- */
.wtt-placeholder {
	border: 2px dashed var(--wp--preset--color--sage);
	border-radius: 16px;
	padding: 2rem 1.5rem;
	background: rgba(255, 255, 255, 0.5);
	color: var(--wp--preset--color--forest);
}
