/*
Theme Name: Satoshi Prime
Theme URI: https://satoshiprime.io
Author: Wayne Keith
Author URI: https://satoshiprime.io
Description: Custom block theme for Satoshi Prime — personal finance and investing education for teens, young adults, and anyone starting from zero. Dark navy, orange, and white. Built for easy visual editing: every section is a pattern, every menu is a Navigation block, every color lives in Global Styles.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: satoshiprime
Tags: block-theme, full-site-editing, e-commerce, education, one-column
*/

/* ---------- Cards ---------- */
.sp-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sp-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(10, 26, 47, .08);
	border-color: rgba(247, 147, 26, .45);
}
.sp-card-dashed {
	background: var(--wp--preset--color--base);
	border: 1.5px dashed #c9d4e3;
	border-radius: 16px;
}
.sp-card-flush > .wp-block-image { margin: 0; }
.sp-card-flush img { border-radius: 15px 15px 0 0; display: block; width: 100%; }

/* ---------- Chips & pills ---------- */
.sp-chip, .sp-chip-light {
	display: inline-block;
	width: fit-content;
	font-size: .72rem;
	letter-spacing: .08em;
	padding: .3em 1em;
	border-radius: 999px;
}
.sp-chip {
	color: #fac775;
	background: rgba(247, 147, 26, .10);
	border: 1px solid rgba(247, 147, 26, .5);
}
.sp-chip-light {
	color: #9a5e07;
	background: rgba(247, 147, 26, .12);
	border: 1px solid rgba(217, 122, 6, .45);
}
.sp-pill-green, .sp-pill-amber {
	display: inline-block;
	width: fit-content;
	font-size: .72rem;
	font-weight: 600;
	padding: .25em .9em;
	border-radius: 999px;
}
.sp-pill-green { color: #0f5c2e; background: #dcf5e7; }
.sp-pill-amber { color: #633806; background: #fdefd9; }

/* ---------- Checklists (orange check marks) ---------- */
ul.sp-checks { list-style: none; padding-left: 0; }
ul.sp-checks li { padding-left: 1.7em; position: relative; margin-bottom: .5em; }
ul.sp-checks li::before {
	content: "✓";
	color: var(--wp--preset--color--orange-deep);
	font-weight: 700;
	position: absolute;
	left: 0;
}

/* ---------- Step numbers ---------- */
.sp-step-num {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	color: #2a1902;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05rem;
}

/* ---------- Header & footer ---------- */
.sp-header .wp-block-navigation a:hover { color: var(--wp--preset--color--orange) !important; }
.sp-footer a { color: #adbdd2; text-decoration: none; }
.sp-footer a:hover { color: var(--wp--preset--color--base); }

/* ---------- Buttons ---------- */
.wp-block-button.sp-btn-dark .wp-block-button__link {
	background: #0a0a0a;
	color: #fff;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 1.5px;
}

/* ---------- Misc ---------- */
.sp-eyebrow { letter-spacing: .1em; font-size: .78rem; }
.sp-tiny { font-size: .78rem; }
.sp-divider-soft { border-color: rgba(255, 255, 255, .1) !important; }
.sp-rating { color: var(--wp--preset--color--slate); font-size: .85rem; }
.sp-rating .star { color: var(--wp--preset--color--orange-deep); }

/* Course / video tiles keep crisp corners on hover lift */
.sp-card-flush:hover img { filter: brightness(1.06); }

/* Details / FAQ */
details.wp-block-details {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-bottom: .75rem;
}
details.wp-block-details summary { font-weight: 600; cursor: pointer; }

/* Keep embedded video corners rounded */
.sp-video-frame iframe, .sp-video-frame img { border-radius: 12px; }
