@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700 900; font-stretch: 100% 125%; font-display: swap;
	src: url(https://www.actc.org.uk/wp-content/themes/actc/fonts/Archivo-latin-var.woff2) format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(https://www.actc.org.uk/wp-content/themes/actc/fonts/PublicSans-latin-var.woff2) format('woff2'); }
#content.actc-fp { --ink: #1b1f4b; --cream: #f5f2ea; --line: #ddd8cb; --muted: #4f5368; --yellow: #f2c230;
	padding: 0; color: var(--ink); font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55; }

/* Photo header */
#content.actc-fp .actc-fp-hero { position: relative; display: flex; align-items: flex-end; min-height: 300px; margin: 0; padding: 32px 36px;
	border-radius: 12px 12px 0 0; background: var(--ink); color: #fff; box-sizing: border-box; overflow: hidden; }
#content.actc-fp .actc-fp-hero.has-photo { min-height: 360px;
	background: linear-gradient(to top, rgba(17,20,52,.88) 0%, rgba(17,20,52,.55) 38%, rgba(17,20,52,0) 72%), var(--actc-hero) center 25% / cover no-repeat; }
#content.actc-fp .actc-fp-hero-text { max-width: 760px; }
#content.actc-fp .actc-fp-hero h1 { margin: 0; padding: 0; color: #fff; font-family: 'Archivo', sans-serif; font-stretch: 115%; font-weight: 800;
	font-size: clamp(32px, 4.6vw, 50px); line-height: 1.04; letter-spacing: 0; text-transform: none; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
#content.actc-fp .actc-fp-hero p { margin: 12px 0 0; max-width: 620px; color: #fff; font-size: 18px; line-height: 1.45; }
#content.actc-fp .actc-fp-hero p.actc-ra-buttons { max-width: none; } /* Text lines stay short; button rows use the hero's width. */

/* Body: form + summary */
#content.actc-fp .actc-fp-body { padding: 32px 36px 40px; background: var(--cream); border-radius: 0 0 12px 12px; }
#content.actc-fp .actc-fp-body.has-summary { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; align-items: start; }
#content.actc-fp .actc-fp-main > p { margin: 0 0 20px; max-width: 720px; font-size: 17px; }
#content.actc-fp .actc-fp-main a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
#content.actc-fp .actc-fp-main .gform_wrapper { max-width: none; }
#content.actc-fp .actc-fp-body:not(.has-summary) .actc-fp-main { max-width: 760px; } /* No summary column (Monitoring) */
#content.actc-fp .actc-fp-edit { margin: 12px 0 0; font-size: 14px; }

/* Price tiles */
#content.actc-fp ul.actc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
#content.actc-fp ul.actc-facts li { margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
	list-style: none; background-image: none; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--muted); }
#content.actc-fp ul.actc-facts li::before { display: none; }
#content.actc-fp ul.actc-facts strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 800; font-size: 30px; line-height: 1; }

/* Summary */
#content.actc-fp .actc-summary { position: sticky; top: 24px; padding: 24px; border-radius: 10px; background: var(--ink); color: #fff; }
#content.actc-fp .actc-summary h2 { margin: 0 0 14px; padding: 0; color: #fff; font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 800; font-size: 22px; text-transform: none; }
#content.actc-fp .actc-summary-lines { margin: 0 0 14px; padding: 0; list-style: none; }
#content.actc-fp .actc-summary-lines li { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; padding: 0 0 8px;
	border-bottom: 1px solid #353a75; list-style: none; background: none; font-size: 15px; line-height: 1.35; }
#content.actc-fp .actc-summary-lines li::before { display: none; }
#content.actc-fp .actc-summary-lines small { display: block; color: #c9cbe4; font-size: 13px; }
#content.actc-fp .actc-summary-lines b { flex: none; font-variant-numeric: tabular-nums; }
#content.actc-fp .actc-summary-lines .is-empty { color: #c9cbe4; border: 0; }
#content.actc-fp .actc-summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 700; }
#content.actc-fp .actc-summary-total strong { color: var(--yellow); font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 32px; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
	#content.actc-fp .actc-fp-hero, #content.actc-fp .actc-fp-hero.has-photo { min-height: 240px; padding: 24px 20px; border-radius: 0; }
	#content.actc-fp .actc-fp-body { padding: 20px 12px 96px; border-radius: 0; }
	#content.actc-fp .actc-fp-body.has-summary { display: block; }
	/* Summary becomes a total bar along the bottom of the screen */
	#content.actc-fp .actc-summary { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; top: auto; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		border-radius: 0; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
	#content.actc-fp .actc-summary h2, #content.actc-fp .actc-summary-lines { display: none; }
	#content.actc-fp .actc-summary.is-zero { display: none; }
	#content.actc-fp .actc-summary-total strong { font-size: 26px; }
}