/*
Theme Name: The Rested Teacher
Theme URI: https://therestedteacher.com
Description: Block theme for The Rested Teacher. AI lesson planning for grades 3 to 5 teachers. Navy, teal and sunshine yellow, matched to the logo. WooCommerce ready.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rested-teacher
License: GNU General Public License v2 or later
*/

/* Pill buttons everywhere, WooCommerce included */
.wp-element-button,
.wc-block-components-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	border-radius: 999px !important;
	font-weight: 800 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button:not(.is-link) {
	background-color: var(--wp--preset--color--navy) !important;
	color: #fff !important;
}

.woocommerce .price,
.wc-block-components-product-price {
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 700;
	color: var(--wp--preset--color--navy) !important;
}

/* Cards and soft corners */
.rt-card { border-radius: 22px; }
.rt-pill {
	display: inline-block;
	border-radius: 999px;
	padding: 6px 16px;
	font-weight: 800;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Numbered step circles */
.rt-step {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 700;
	font-size: 1.25rem;
	margin: 0 !important;
}

/* FAQ */
.wp-block-details {
	background: #fff;
	border-radius: 18px;
	padding: 20px 24px;
}
.wp-block-details summary {
	font-weight: 800;
	color: var(--wp--preset--color--navy);
	font-size: 1.125rem;
	cursor: pointer;
}

/* Testimonial placeholders: remove the class once real quotes are in */
.rt-placeholder {
	border: 2px dashed #C9B26A;
	border-radius: 24px;
}

/* Brand stripe */
.rt-stripe {
	height: 8px;
	background: linear-gradient(90deg, var(--wp--preset--color--navy) 0 50%, var(--wp--preset--color--teal) 50% 83%, var(--wp--preset--color--sun) 83% 100%);
}

/* MailPoet form: match the brand */
.mailpoet_form input[type="text"],
.mailpoet_form input[type="email"],
.mailpoet_form select {
	border: 2px solid #C5D0DE !important;
	border-radius: 12px !important;
	min-height: 48px;
	padding: 12px 14px !important;
	font: inherit !important;
}
.mailpoet_form .mailpoet_submit {
	background: var(--wp--preset--color--navy) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-weight: 800 !important;
	min-height: 52px;
	padding: 14px 28px !important;
	cursor: pointer;
}

/* Header and footer rules */
.rt-header { border-bottom: 1px solid #E3E8EF; }
.rt-footer { border-top: 1px solid #E3E8EF; }

/* Links on navy panels stay readable */
.has-navy-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--sun); }
