/* "Who pays for a stair lift" table on city pages and county hubs.
   Plain table, site fonts and colours; no badges, pills, uppercase labels or check lists. */
.slf { --f-ink: #23382b; --f-green: #08632b; --f-gold: #facb6e; --f-paper: #faf9f0; --f-line: #e4e9e3; }
section.slf { background: var(--f-paper); padding: 64px 0; }
.slf .slf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; width: 100%; }
.slf .slf-wrap > *, .slf .slh-wrap > * { width: 100%; box-sizing: border-box; }
.slf h2 { font-family: 'Lora', Georgia, serif; color: var(--f-ink); font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
.slf p { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.slf-answer { font-size: 19px; line-height: 1.55; max-width: 880px; color: #2d3b32; margin: 0 0 8px; }
.slf-city { font-size: 15px; color: #55655a; margin: 0 0 26px; }
.slf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; align-items: start; }

.slf-group { background: #fff; border: 1px solid var(--f-line); margin: 0 0 14px; }
.slf-group > summary { list-style: none; cursor: default; padding: 10px 14px; background: #f3f1e6; font-family: 'Lora', Georgia, serif; font-weight: 700; color: var(--f-ink); font-size: 16px; }
.slf-group > summary::-webkit-details-marker { display: none; }
.slf-count { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 500; color: #6b776f; font-size: 14px; }
.slf-table { width: 100%; border-collapse: collapse; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; }
.slf-table th { text-align: left; color: var(--f-ink); font-weight: 700; font-size: 13.5px; padding: 10px 12px; border-bottom: 2px solid var(--f-ink); }
.slf-table td { padding: 11px 12px; border-bottom: 1px solid #eef1ec; vertical-align: top; line-height: 1.42; color: #2d3b32; }
.slf-table tr:last-child td { border-bottom: 0; }
.slf-name { font-weight: 600; color: var(--f-ink) !important; width: 27%; }
.slf-summary { display: block; font-weight: 400; color: #55655a; font-size: 13.5px; margin-top: 5px; line-height: 1.45; }
.slf-pays { font-weight: 700; white-space: nowrap; color: #7a6a2f !important; }
.slf-pays.slf-yes { color: var(--f-green) !important; }
.slf-pays.slf-no { color: #9a3b2f !important; }
.slf-contact a { display: block; color: var(--f-green); font-weight: 600; text-decoration: none; white-space: nowrap; }
.slf-contact a.slf-src { font-weight: 500; font-size: 13.5px; margin-top: 3px; }

.slf-office { background: #fff; border: 1px solid var(--f-line); border-left: 4px solid var(--f-gold); padding: 18px; margin: 0 0 16px; }
.slf-office h3 { font-family: 'Lora', Georgia, serif; color: var(--f-ink); font-size: 18px; margin: 0 0 6px; }
.slf-office p { font-size: 14.5px; line-height: 1.5; margin: 0 0 6px; color: #2d3b32; }
.slf-office-name { font-weight: 700; }
.slf-call { display: inline-block; margin-top: 6px; background: var(--f-gold); color: var(--f-ink) !important; font-weight: 700; padding: 9px 14px; border-radius: 8px; text-decoration: none; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.slf-note { font-size: 14px; color: #55655a; margin: 14px 0 0; }
.slf-note a { color: var(--f-green); font-weight: 700; text-decoration: none; }

@media (max-width: 991px) {
	.slf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	section.slf { padding: 44px 0; }
	.slf h2 { font-size: 27px; }
	.slf-answer { font-size: 17px; }
	.slf-group > summary { cursor: pointer; position: relative; padding-right: 40px; }
	.slf-group > summary::after { content: "+"; position: absolute; right: 14px; top: 8px; font-size: 20px; color: var(--f-green); }
	.slf-group[open] > summary::after { content: "\2212"; }
	.slf-table thead { display: none; }
	.slf-table, .slf-table tbody, .slf-table tr, .slf-table td { display: block; width: auto; }
	.slf-table tr { padding: 12px 14px; border-bottom: 1px solid #eef1ec; }
	.slf-table td { border: 0; padding: 2px 0; }
	.slf-name { width: auto; }
	.slf-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 400; color: #6b776f; }
	.slf-contact { margin-top: 6px !important; }
	.slf-contact a { display: inline-block; margin-right: 14px; }
}

@media (min-width: 768px) {
	.slf-group > summary { pointer-events: none; }
}

/* The city stylesheet centres and pads generic paragraphs; the funding text sits flush left. */
.slf p.slf-answer, .slf p.slf-city, .slf p.slf-note {
	margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; text-align: left !important;
}
.slf p.slf-answer { margin-top: 0 !important; margin-bottom: 8px !important; }
.slf p.slf-city { margin-top: 0 !important; margin-bottom: 26px !important; }
