/*
 * Plowline — the few things core blocks have no setting for.
 * Everything else (colours, type, spacing, borders, shadows) is block settings + theme.json.
 * Each rule is tied to a block style you pick in the editor (Styles panel of the block).
 */

/* Template parts and the page sit flush: no gap between header, content and footer. */
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > header { position: relative; z-index: 20; }

/* Paragraph › Styles › Eyebrow — small uppercase label above headings. */
.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* List › Styles › Checkmarks */
.wp-block-list.is-style-checks { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.wp-block-list.is-style-checks > li { display: flex; gap: 12px; margin: 0; }
.wp-block-list.is-style-checks > li::before { content: "✓"; color: var(--wp--preset--color--sky); font-weight: 800; flex: none; }

/* Group › Styles › Overlap next section — keeps hanging content (the badges) above the next section. */
.wp-block-group.is-style-overlap { position: relative; z-index: 3; }

/* Image › Styles › Hanging logo — logo drops below the header bar. */
.wp-block-image.is-style-logo-hang { margin: -6px 0 -42px; flex: none; }
.wp-block-image.is-style-logo-hang img { display: block; height: auto; filter: drop-shadow(0 6px 10px rgba(11, 31, 46, 0.45)); }
@media (max-width: 781px) {
	.wp-block-image.is-style-logo-hang { margin: -4px 0 -20px; }
	.wp-block-image.is-style-logo-hang img { width: 88px !important; }
}

/* Buttons: same height whatever the style. */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; box-sizing: border-box; }


/* Images set to "cover" with an aspect ratio fill their column. */
.wp-block-image img { display: block; }

/* FAQ accordion: navy +/- icon, no button chrome. */
.wp-block-accordion-heading__toggle { color: inherit; }
.wp-block-accordion-heading__toggle-icon { color: var(--wp--preset--color--blue); font-weight: 800; }

/* Quote form (Custom HTML block) */
.plowline-quote-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.plowline-quote-form p { margin: 0; }
.plowline-field { display: flex; flex-direction: column; gap: 6px; }
.plowline-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.plowline-field label { font-size: 14px; font-weight: 700; color: var(--wp--preset--color--navy); }
.plowline-field input, .plowline-field select {
	min-height: 50px; padding: 0 14px; border: 2px solid var(--wp--preset--color--navy); border-radius: 0;
	font: inherit; font-size: 16px; color: var(--wp--preset--color--navy); background: var(--wp--preset--color--white); box-sizing: border-box; width: 100%;
}
.plowline-field input:focus, .plowline-field select:focus { outline: 2px solid var(--wp--preset--color--sky); outline-offset: 2px; }
.plowline-submit {
	min-height: 56px; padding: 0 24px; cursor: pointer; font: inherit; font-size: 17px; font-weight: 800;
	background: var(--wp--preset--color--sky); color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy); box-shadow: 4px 4px 0 var(--wp--preset--color--navy);
}
.plowline-submit:hover { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.plowline-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plowline-notice { margin: 0; padding: 12px 14px; border: 2px solid var(--wp--preset--color--navy); background: var(--wp--preset--color--ice); font-weight: 700; }
