/*
Theme Name: Amadou
Theme URI: https://amadou.co.uk
Author: Amadou Consulting Limited
Author URI: https://amadou.co.uk
Description: Block theme for Amadou Consulting. Two brand colours, Deep Berry and Vanilla Cloud, with Plus Jakarta Sans bundled locally so no fonts are loaded from third-party servers.
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: amadou
Tags: block-theme, business, one-column, custom-colors, custom-logo, custom-menu, full-site-editing
*/

/* Plus Jakarta Sans is licensed under the SIL Open Font License 1.1.
   See assets/fonts/LICENSE.txt */

/* ---- No gaps between top-level sections.
       Every section carries its own padding, so the default block gap only
       shows as a white seam between the header and the first section. ---- */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* ---- Eyebrow line above a hero heading ---- */
.amadou-eyebrow {
	letter-spacing: 0.02em;
	opacity: 0.78;
	margin-bottom: 0.4rem;
}

/* ---- Lead-in phrase inside the problem columns ---- */
.amadou-lead-in {
	font-weight: 600;
}

/* ---- Cards ----
   Equal heights only when a card is the whole column. Applied to every card
   it stretches one that sits above other blocks and pushes them off the page. */
.wp-block-column > .amadou-card:only-child {
	height: 100%;
}

/* ---- Price figure ---- */
.amadou-price {
	font-weight: 700;
	line-height: 1.1;
}

/* ---- Numbered steps ---- */
.amadou-step-number {
	font-weight: 700;
	line-height: 1;
	opacity: 0.35;
}

/* ---- Contact form ---- */
.amadou-form {
	max-width: 34rem;
}
.amadou-form p {
	margin: 0 0 1.25rem;
}
.amadou-form label {
	display: block;
	font-weight: 600;
	font-size: 0.9375rem;
	margin-bottom: 0.35rem;
}
.amadou-form input[type="text"],
.amadou-form input[type="email"],
.amadou-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--wp--preset--color--berry-tint);
	border-radius: 6px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--deep-berry);
	background: #fff;
}
.amadou-form input:focus,
.amadou-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--deep-berry);
	outline-offset: 1px;
}
.amadou-form textarea { min-height: 9rem; resize: vertical; }
.amadou-form button {
	background: var(--wp--preset--color--deep-berry);
	color: var(--wp--preset--color--vanilla-cloud);
	border: 0;
	border-radius: 6px;
	padding: 0.8rem 1.6rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}
.amadou-form button:hover { opacity: 0.9; }
.amadou-form .amadou-hp { position: absolute; left: -9999px; }
.amadou-form-notice {
	padding: 1rem 1.15rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	font-weight: 600;
}
.amadou-form-notice.is-success {
	background: var(--wp--preset--color--vanilla-cloud);
	color: var(--wp--preset--color--deep-berry);
	border: 1px solid var(--wp--preset--color--deep-berry);
}
.amadou-form-notice.is-error {
	background: #fdecec;
	color: #8a1f1f;
	border: 1px solid #8a1f1f;
}
.amadou-form-required { font-weight: 400; opacity: 0.7; }

/* ---- Skip link visibility on Deep Berry ---- */
.skip-link:focus { color: #fff; }

/* ---- Keep long legal pages readable ---- */
.amadou-legal h2 { margin-top: 2.5em; }
.amadou-legal h3 { margin-top: 2em; }
.amadou-legal table { width: 100%; border-collapse: collapse; }
.amadou-legal th,
.amadou-legal td {
	border: 1px solid var(--wp--preset--color--berry-tint);
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
}
