/*
 * Page builder sections on the public website. Text, fonts and link colours come from the theme;
 * this file only arranges the sections and styles buttons and boxes.
 */
.sscms-sections {
	--sscms-gap: clamp(1.75rem, 5vw, 3rem);
	display: flex;
	flex-direction: column;
	gap: var(--sscms-gap);
}
.sscms-section {
	min-width: 0;
	overflow-wrap: break-word;
}
.sscms-section > :first-child,
.sscms-section > div > :first-child {
	margin-top: 0;
}
.sscms-section > :last-child,
.sscms-section > div > :last-child {
	margin-bottom: 0;
}
.sscms-section img {
	max-width: 100%;
	height: auto;
}
.sscms-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.6rem 1.25rem;
	border: 2px solid var(--sscms-accent, #0e2a47);
	border-radius: 8px;
	background: var(--sscms-accent, #0e2a47);
	color: var(--sscms-on-accent, #fff);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.sscms-sections a.sscms-button,
.sscms-sections a.sscms-button:hover,
.sscms-sections a.sscms-button:visited {
	color: var(--sscms-on-accent, #fff);
}
.sscms-button:hover {
	text-decoration: underline;
}
.sscms-sections :focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}
.sscms-search label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}
.sscms-search span {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.sscms-search input,
.sscms-search select {
	flex: 1 1 14rem;
	box-sizing: border-box;
	min-width: 0;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid #6b7280;
	border-radius: 8px;
	font: inherit;
}
.sscms-popular,
.sscms-tasks,
.sscms-cards {
	list-style: none;
	margin: 1rem 0;
	padding: 0;
}
.sscms-popular {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}
.sscms-popular a {
	display: inline-block;
	padding: 0.5rem 0;
}
.sscms-tasks,
.sscms-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}
.sscms-tasks li,
.sscms-cards li {
	margin: 0;
}
.sscms-tasks a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	box-sizing: border-box;
	height: 100%;
	padding: 1rem 1.25rem;
	border: 1px solid #9ca3af;
	border-left: 6px solid var(--sscms-accent, #0e2a47);
	border-radius: 10px;
	text-decoration: none;
}
.sscms-tasks strong {
	text-decoration: underline;
}
.sscms-tasks span {
	color: inherit;
}
.sscms-cards > li {
	box-sizing: border-box;
	padding: 1rem 1.25rem;
	border: 1px solid #9ca3af;
	border-radius: 10px;
}
.sscms-cards h3 {
	margin: 0 0 0.35rem;
	font-size: 1.15em;
}
.sscms-cards p {
	margin: 0.5rem 0 0;
}
.sscms-cards img {
	display: block;
	margin-bottom: 0.75rem;
	border-radius: 8px;
}
.sscms-team__role {
	font-weight: 600;
}
.sscms-split {
	display: grid;
	gap: 1.5rem;
}
.sscms-split img {
	display: block;
	border-radius: 10px;
}
@media (min-width: 700px) {
	.sscms-split {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
	.sscms-split--right .sscms-split__image {
		order: 2;
	}
	.sscms-split--plain {
		grid-template-columns: 1fr;
	}
}
.sscms-callout,
.sscms-cta {
	padding: 1.25rem 1.5rem;
	border: 1px solid #9ca3af;
	border-radius: 10px;
}
.sscms-callout {
	border-left: 6px solid var(--sscms-accent, #0e2a47);
}
.sscms-callout--important {
	border: 3px solid #a3140f;
	border-left-width: 10px;
}
.sscms-callout__level {
	margin: 0 0 0.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.sscms-cta {
	text-align: center;
}
.sscms-faq details {
	border-bottom: 1px solid #9ca3af;
}
.sscms-faq summary {
	min-height: 44px;
	padding: 0.75rem 0;
	font-weight: 600;
	cursor: pointer;
}
.sscms-details dt {
	margin-top: 0.75rem;
	font-weight: 700;
}
.sscms-details dd {
	margin: 0;
}
.sscms-preview {
	padding: 0.75rem 1rem;
	border: 2px dashed #7c4a03;
	border-radius: 8px;
	background: #fff4d6;
	color: #1f2937;
}
.sscms-fields {
	display: grid;
	grid-template-columns: minmax(8rem, max-content) 1fr;
	gap: 0.35rem 1.25rem;
	margin: 0 0 1.5rem;
}
.sscms-fields dt {
	font-weight: 700;
}
.sscms-fields dd {
	min-width: 0;
	margin: 0;
}
.sscms-fields img {
	max-width: 100%;
	height: auto;
}
@media (max-width: 480px) {
	.sscms-fields {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.sscms-fields dd {
		margin-bottom: 0.75rem;
	}
}
