/**
 * SimpliScada custom styles.
 * Loaded site-wide. Everything here is a reusable, page-independent component
 * (prefix "sc-"); custom page templates are built by combining these classes.
 *
 * 1.  Tokens & fonts
 * 2.  Page wrapper & layout (sc-page, sc-container, sc-section, sc-grid)
 * 3.  Colour contexts (sc-dark, sc-soft)
 * 4.  Typography (sc-eyebrow, sc-title, sc-meta)
 * 5.  Buttons & links (sc-btn, sc-link-arrow)
 * 6.  Navigation (sc-breadcrumb, sc-tabs, sc-pills, sc-pagination)
 * 7.  Forms (sc-search)
 * 8.  Cards (sc-card, sc-link-card, sc-author)
 * 9.  Page blocks (sc-hero, sc-toolbar, sc-section-head, sc-cta, sc-empty)
 * 10. States & responsive
 * 11. Article (single post) & content components (sc-prose, sc-callout,
 *     sc-panels, sc-stats, sc-table, sc-video, sc-steps, sc-faq,
 *     sc-next-step, sc-pdf-cta, sc-author-box, sc-toc, sc-side-cta, sc-banner)
 * 12. Site footer (sc-footer; content from Appearance → Footer Settings)
 * 13. Site header (sc-header; content from Appearance → Header Settings)
 *
 * JS hooks use data-* attributes, never these classes.
 */

/* ==========================================================================
   1. Tokens & fonts
   ========================================================================== */


:root {
	--sc-teal: #004646;
	--sc-teal-deep: #003838;
	--sc-green: #52b956;
	--sc-green-dark: #3f9a43;
	--sc-ink: #0f2a2a;
	--sc-text: #4a5656;
	--sc-muted: #7a8585;
	--sc-line: #e3e8e8;
	--sc-soft: #f3f6f5;
	--sc-radius: 6px;
	--sc-font-heading: "Apotek", "Inter", "Open Sans", Helvetica, Arial, sans-serif;
	--sc-font-body: "Inter", "Open Sans", Helvetica, Arial, sans-serif;
	--sc-container: 1400px;
	--sc-gutter: 20px;
	--sc-section-space: 48px;
	/* Height of the sticky site header at the current breakpoint (set by JS). */
	--sc-header-offset: 0px;
	/* Where sticky elements and anchor targets stop: below the header + 24px. */
	--sc-sticky-top: calc(var(--sc-header-offset) + 24px + var(--wp-admin--admin-bar--height, 0px));
}

/* ==========================================================================
   2. Page wrapper & layout
   ========================================================================== */

/* Wrapper for custom templates: neutralises Divi defaults inside it. */
.sc-page {
	padding: 0 !important;
	background: #fff;
	color: var(--sc-text);
	font-family: var(--sc-font-body);
	font-size: 15px;
	line-height: 1.6;
}

.sc-page *,
.sc-page *::before,
.sc-page *::after {
	box-sizing: border-box;
}

.sc-page h1,
.sc-page h2,
.sc-page h3,
.sc-page h4,
.sc-page p,
.sc-page ul,
.sc-page ol {
	margin: 0;
	padding: 0;
}

.sc-page ul,
.sc-page ol {
	list-style: none;
}

.sc-page a {
	color: inherit;
	text-decoration: none;
}

/* .sc-page a:focus-visible,
.sc-page button:focus-visible,
.sc-page input:focus-visible {
	outline: 2px solid var(--sc-green);
	outline-offset: 2px;
} */

.sc-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Centred content with responsive side gutters. */
.sc-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sc-container);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--sc-gutter);
	padding-left: var(--sc-gutter);
}

/* Vertical rhythm for full-width page sections. */
.sc-section {
	padding: var(--sc-section-space) 0;
	scroll-margin-top: var(--sc-sticky-top);
}

/* Responsive card grid: 3 → 2 → 1 columns, or 2 → 1. */
.sc-grid {
	display: grid;
	gap: 28px 24px;
}

.sc-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-grid--tight {
	gap: 16px;
}

/* ==========================================================================
   3. Colour contexts
   ========================================================================== */

.sc-dark {
	background: var(--sc-teal);
	color: rgba(255, 255, 255, 0.82);
}

.sc-soft {
	background: var(--sc-soft);
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

/* Small uppercase label above a title. */
.sc-eyebrow {
	margin-bottom: 14px !important;
	color: var(--sc-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sc-eyebrow--green {
	color: var(--sc-green-dark);
}

.sc-dark .sc-eyebrow {
	color: #fff;
}

/* Headings: base + size modifiers (xl hero, lg CTA, md feature, sm section). */
.sc-title {
	color: var(--sc-teal) !important;
	font-family: var(--sc-font-heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25 !important;
	padding: 0 !important;
}

.sc-title--xl {
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1.08 !important;
}

.sc-title--lg {
	font-size: clamp(26px, 3.4vw, 36px);
	line-height: 1.15 !important;
}

.sc-title--md {
	font-size: clamp(22px, 2.6vw, 34px) !important;
	line-height: 1.15 !important;
}

.sc-title a:hover {
	color: var(--sc-green-dark);
}

.sc-dark .sc-title {
	color: #fff !important;
}

/* Highlighted part of a title. */
.sc-title__accent {
	color: var(--sc-green);
}

/* Secondary small text: dates, counts, read time. */
.sc-meta {
	color: var(--sc-muted);
	font-size: 12px;
}

.sc-meta__sep {
	margin: 0 4px;
}

/* ==========================================================================
   5. Buttons & links
   ========================================================================== */

.sc-btn {
	display: inline-block;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: var(--sc-radius);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.sc-btn--primary {
	background: var(--sc-green);
	color: #fff !important;
}

.sc-btn--primary:hover {
	background: var(--sc-green-dark);
}

.sc-btn--outline {
	border-color: var(--sc-teal);
	color: var(--sc-teal) !important;
}

.sc-btn--outline:hover {
	background: rgba(0, 70, 70, 0.06);
}

.sc-dark .sc-btn--outline {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff !important;
}

.sc-dark .sc-btn--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

/* Text link with a diagonal arrow icon. */
.sc-link-arrow {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--sc-teal) !important;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.sc-link-arrow svg {
	color: var(--sc-green);
	transition: transform 0.2s;
}

.sc-link-arrow:hover svg {
	transform: translate(2px, -2px);
}

/* ==========================================================================
   6. Navigation
   ========================================================================== */

.sc-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
}

.sc-breadcrumb li + li::before {
	content: "/";
	margin-right: 6px;
	opacity: 0.6;
}

.sc-breadcrumb a:hover,
.sc-breadcrumb [aria-current] {
	color: var(--sc-teal);
}

.sc-dark .sc-breadcrumb a:hover,
.sc-dark .sc-breadcrumb [aria-current] {
	color: #fff;
}

/* Pill-shaped filter tabs, with an optional count. */
.sc-tabs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sc-tab {
	display: inline-flex;
	align-items: flex-start;
	gap: 3px;
	padding: 7px 14px;
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	color: var(--sc-teal) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	transition: background-color 0.2s, border-color 0.2s;
}

.sc-tab__count {
	top: 0;
	font-size: 10px;
	line-height: 1;
	opacity: 0.75;
}

.sc-tab:hover {
	border-color: var(--sc-green);
}

.sc-tab.is-active {
	background: var(--sc-green);
	border-color: var(--sc-green);
	color: #fff !important;
}

.sc-dark .sc-tab {
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff !important;
}

.sc-dark .sc-tab.is-active,
.sc-dark .sc-tab:hover {
	border-color: var(--sc-green);
}

/* Small tag links (e.g. categories). */
.sc-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sc-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sc-soft);
	color: var(--sc-teal) !important;
	font-size: 12px;
	font-weight: 600;
}

a.sc-pill:hover {
	background: #e3ece9;
}

/* Works with paginate_links( array( 'type' => 'list' ) ). */
.sc-pagination {
	margin-top: 44px;
}

.sc-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.sc-pagination .page-numbers {
	display: inline-block;
	min-width: 38px;
	padding: 8px 12px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	color: var(--sc-teal);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.sc-pagination a.page-numbers:hover {
	border-color: var(--sc-green);
}

.sc-pagination .page-numbers.current {
	background: var(--sc-teal);
	border-color: var(--sc-teal);
	color: #fff;
}

.sc-pagination .page-numbers.dots {
	border-color: transparent;
}

/* ==========================================================================
   7. Forms
   ========================================================================== */

/* Search field with icon and attached submit button. */
.sc-search {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 360px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	background: #fff;
	overflow: hidden;
}

.sc-dark .sc-search {
	border-color: transparent;
}

.sc-search__icon {
	position: absolute;
	top: 50%;
	left: 12px;
	color: var(--sc-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.sc-search__input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px 10px 36px;
	border: 0;
	background: transparent;
	color: var(--sc-ink);
	font: inherit;
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}

/* Hide the browser's own clear icon; .sc-search__clear replaces it. */
.sc-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	display: none;
}

/* Clear (×) control, shown while the field has a value. */
.sc-search__clear {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	color: var(--sc-muted) !important;
	cursor: pointer;
	transition: color 0.2s;
}

.sc-search__clear:hover {
	color: var(--sc-ink) !important;
}

.sc-search__clear[hidden] {
	display: none;
}

.sc-search__button {
	padding: 0 20px;
	border: 0;
	background: var(--sc-green);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.sc-search__button:hover {
	background: var(--sc-green-dark);
}

/* ==========================================================================
   8. Cards
   ========================================================================== */

/* Vertical card: image, eyebrow, title, excerpt, footer. */
.sc-card {
	display: flex;
	flex-direction: column;
}

.sc-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	margin-bottom: 14px;
	border-radius: var(--sc-radius);
	background: var(--sc-soft);
	overflow: hidden;
}

.sc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.sc-card:hover .sc-card__media img {
	transform: scale(1.03);
}

.sc-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.sc-card__eyebrow {
	margin-bottom: 6px !important;
	color: var(--sc-green-dark);
	font-size: 12px;
	font-weight: 600;
}

.sc-card__title {
	margin-bottom: 8px !important;
	font-size: 24px;
}

.sc-card__excerpt {
	margin-bottom: 14px !important;
	font-size: 14px;
}

.sc-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--sc-line);
}

/* Bordered variant: framed card, image flush to the top, padded content. */
.sc-card--bordered {
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.sc-card--bordered:hover {
	border-color: var(--sc-green);
	box-shadow: 0 4px 16px rgba(0, 70, 70, 0.08);
}

.sc-card--bordered .sc-card__media {
	margin-bottom: 0;
	border-radius: 0;
}

.sc-card--bordered .sc-card__body {
	padding: 20px;
}

/* Horizontal variant: image left, content right, bordered (feature card). */
.sc-card--horizontal {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	overflow: hidden;
}

.sc-card--horizontal .sc-card__media {
	aspect-ratio: auto;
	min-height: 100%;
	margin: 0;
	border-radius: 0;
}

.sc-card--horizontal .sc-card__media img {
	aspect-ratio: 16 / 10;
}

.sc-card--horizontal .sc-card__body {
	gap: 14px;
	padding: 32px;
}

.sc-card--horizontal .sc-card__body > * {
	margin-bottom: 0 !important;
}

.sc-card--horizontal .sc-card__excerpt {
	font-size: 15px;
}

.sc-card--horizontal .sc-card__footer {
	padding-top: 16px;
}

/* Card without an image: content spans the full width. */
.sc-card--no-media {
	grid-template-columns: 1fr;
}

/* Bordered link tile with title, description and arrow icon. */
.sc-link-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px 40px 18px 18px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.sc-link-card:hover {
	border-color: var(--sc-green);
	box-shadow: 0 4px 16px rgba(0, 70, 70, 0.08);
}

.sc-link-card__title {
	color: var(--sc-teal);
	font-family: var(--sc-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.sc-link-card__desc {
	color: var(--sc-muted);
	font-size: 13px;
}

.sc-link-card__icon {
	position: absolute;
	top: 20px;
	right: 18px;
	color: var(--sc-green);
}

/* Author avatar + name + meta line. */
.sc-author {
	display: flex;
	gap: 10px;
	align-items: center;
}

.sc-author__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.sc-author__name {
	color: var(--sc-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.sc-author__name a:hover {
	color: var(--sc-green-dark);
}

/* ==========================================================================
   9. Page blocks
   ========================================================================== */

/* Page hero: breadcrumb, title column + description column. */
.sc-hero {
	padding: 40px 0;
}

.sc-hero__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 40px;
	align-items: end;
	padding: 34px 0 30px;
	border-bottom: 1px solid var(--sc-line);
}

.sc-dark .sc-hero__intro {
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sc-hero__eyebrow {
	margin-bottom: 12px !important;
	font-size: 12px;
	letter-spacing: 0.08em;
}

.sc-hero__desc {
	/* max-width: 380px; */
	padding-bottom: 6px !important;
	font-size: 18px;
}

/* Row with filters on one side and an action/search on the other. */
.sc-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding-top: 22px;
}

/* Section title with an aside (count, link) on the right. */
.sc-section-head {
	display: flex;
	gap: 16px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 18px;
}

.sc-section-head__desc {
	margin-top: 6px !important;
}

/* Call-to-action band: text left, buttons right. */
.sc-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
}

.sc-cta__text {
	max-width: 460px;
	margin-top: 6px !important;
}

.sc-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Empty / no-results message. */
.sc-empty {
	padding: 48px 24px;
	border: 1px dashed var(--sc-line);
	border-radius: var(--sc-radius);
	text-align: center;
}

.sc-empty p {
	margin-bottom: 18px !important;
}

/* Spacing helpers. */
.sc-mb-lg {
	margin-bottom: 44px !important;
}

.sc-mt-md {
	margin-top: 22px !important;
}

/* ==========================================================================
   10. States & responsive
   ========================================================================== */

/* Region being refreshed (set aria-busy="true" from JS). */
.sc-page [aria-busy="true"] {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.2s;
}

@media (max-width: 980px) {
	.sc-hero__intro {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 26px 0 24px;
	}

	

	.sc-toolbar .sc-search {
		max-width: none;
	}

	.sc-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-card--horizontal {
		grid-template-columns: 1fr;
	}

	.sc-card--horizontal .sc-card__body {
		padding: 24px;
	}
}

@media (max-width: 640px) {
	:root {
		--sc-gutter: 16px;
		--sc-section-space: 36px;
	}

	.sc-grid--2,
	.sc-grid--3 {
		grid-template-columns: 1fr;
	}

	/* Tabs scroll horizontally instead of wrapping. */
	.sc-tabs {
		width: 100%;
	}

	.sc-tabs ul {
		flex-wrap: nowrap;
		margin: 0 calc(-1 * var(--sc-gutter)) !important;
		padding: 0 var(--sc-gutter) 4px !important;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.sc-tabs ul::-webkit-scrollbar {
		display: none;
	}

	.sc-card--horizontal .sc-card__body {
		padding: 20px;
	}

	.sc-mb-lg {
		margin-bottom: 32px !important;
	}

	.sc-cta__actions,
	.sc-cta__actions .sc-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-page * {
		transition: none !important;
	}
}

/* ==========================================================================
   11. Article (single-post.php) & content components
   Components (sc-prose, sc-callout, sc-panels, sc-stats, sc-figure, sc-video,
   sc-steps, sc-faq, sc-author-box, sc-side-cta, sc-toc, sc-banner)
   can be reused on any page.
   ========================================================================== */

/* Pill colour variants. */
.sc-pill--green {
	background: #e3f3e4;
	color: var(--sc-green-dark) !important;
}

.sc-pill--white {
	background: #fff;
}

/* Compact card: smaller title, tighter body (resources, related posts). */
.sc-card--compact .sc-card__body {
	padding: 16px 18px 18px;
}

.sc-card--compact .sc-card__title {
	margin-bottom: 6px !important;
	font-size: 18px;
}

.sc-card--compact .sc-card__label {
	margin-bottom: 8px !important;
	font-size: 10px;
}

.sc-card--compact .sc-card__meta {
	margin-bottom: 6px !important;
}

.sc-card--compact .sc-card__excerpt {
	margin-bottom: 12px !important;
	font-size: 13px;
}

.sc-card__cta {
	margin-top: auto;
}

.sc-section-head__eyebrow {
	margin-bottom: 6px !important;
}

.sc-section-head__link {
	color: var(--sc-teal) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.sc-section-head__link:hover {
	color: var(--sc-green-dark) !important;
}

/* --- Article hero -------------------------------------------------------- */

.sc-article-hero {
	padding-top: 28px;
}

.sc-article-hero .sc-breadcrumb [aria-current] {
	color: var(--sc-ink);
	font-weight: 600;
}

.sc-article-hero__pills {
	margin-top: 22px !important;
}

.sc-article-hero__title {
	/* max-width: 820px; */
	margin-top: 18px !important;
	font-size: clamp(30px, 4.4vw, 48px);
	line-height: 1.1 !important;
}

.sc-article-hero__subtitle {
	/* max-width: 640px; */
	margin-top: 16px !important;
	color: var(--sc-text);
	font-size: 17px;
	line-height: 1.6;
}

.sc-article-hero__byline {
	margin-top: 22px;
}

.sc-article-hero__byline .sc-author__avatar {
	width: 36px;
	height: 36px;
}

.sc-article-hero__role {
	color: var(--sc-muted);
	font-weight: 400;
}

.sc-article-hero__media {
	margin: 28px 0 0;
}

.sc-article-hero__media img {
	width: 100%;
	max-height: 560px;
	border-radius: 12px;
	object-fit: cover;
}

/* --- Article layout: content + sticky sidebar ---------------------------- */

.sc-article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 64px;
	padding-top: 48px;
	padding-bottom: 72px;
}

.sc-article__main {
	min-width: 0;
}

.sc-article__sticky {
	position: sticky;
	top: var(--sc-sticky-top);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* --- Prose: rich text from the editor / text sections --------------------- */

.sc-prose {
	color: var(--sc-text);
	font-size: 16px;
	line-height: 1.75;
}

.sc-prose > * + * {
	margin-top: 1.1em !important;
}

.sc-prose > p,
.sc-prose > ul,
.sc-prose > ol {
	margin-bottom: 0 !important;
	padding-bottom: 0;
}

.sc-prose > h2,
.sc-prose > .sc-faq > h2 {
	margin-top: 2.4em !important;
	color: var(--sc-teal) !important;
	font-family: var(--sc-font-heading);
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 700;
	line-height: 1.2 !important;
	padding: 0 !important;
	scroll-margin-top: var(--sc-sticky-top);
}

.sc-prose > h3 {
	margin-top: 1.9em !important;
	color: var(--sc-ink) !important;
	font-family: var(--sc-font-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3 !important;
	padding: 0 !important;
}

.sc-prose > h2 + *,
.sc-prose > h3 + * {
	margin-top: 0.6em !important;
}

.sc-prose > :first-child {
	margin-top: 0 !important;
}

.sc-prose a {
	color: var(--sc-ink);
	font-weight: 700;
	text-decoration: none;
}

.sc-prose a:hover {
	color: var(--sc-green-dark);
	/* text-decoration: underline; */
}

.sc-prose > ul {
	padding-left: 1.25em !important;
	list-style: square;
}

.sc-prose > ol {
	padding-left: 1.4em !important;
	list-style: decimal;
}

.sc-prose > ul li::marker {
	color: var(--sc-teal);
}

.sc-prose > ul li + li,
.sc-prose > ol li + li {
	margin-top: 0.35em;
}

.sc-prose strong {
	color: var(--sc-ink);
}

.sc-prose > figure,
.sc-prose > .wp-block-image {
	margin-right: 0;
	margin-left: 0;
}

.sc-prose > figure img,
.sc-prose > .wp-block-image img {
	border-radius: 8px;
}

.sc-prose figcaption {
	margin-top: 8px;
	color: var(--sc-muted);
	font-size: 12px;
	font-style: italic;
}

.sc-prose > blockquote {
	margin-right: 0;
	margin-left: 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--sc-green);
	color: var(--sc-ink);
	font-style: italic;
}

/* Space around components inside prose. */
.sc-prose > .sc-callout,
.sc-prose > .sc-panels,
.sc-prose > .sc-stats,
.sc-prose > .sc-figure,
.sc-prose > .sc-video,
.sc-prose > .sc-steps,
.sc-prose > .sc-table {
	margin-top: 28px !important;
	margin-bottom: 28px;
}

.sc-prose > .sc-next-step,
.sc-prose > .sc-pdf-cta {
	margin-top: 36px !important;
	margin-bottom: 36px;
}

/* --- Callout ------------------------------------------------------------- */

.sc-callout {
	border-radius: 8px;
}

.sc-callout--dark {
	padding: 26px 28px;
	background: var(--sc-teal);
}

.sc-callout__eyebrow {
	margin-bottom: 8px !important;
	color: var(--sc-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sc-callout--dark .sc-callout__text {
	color: #fff;
	font-family: var(--sc-font-heading);
	font-size: clamp(19px, 2.2vw, 23px);
	font-weight: 700;
	line-height: 1.3;
}

.sc-callout--highlight {
	padding: 18px 22px;
	background: #e9f6ea;
}

.sc-callout--highlight .sc-callout__text {
	color: var(--sc-ink);
	font-weight: 700;
	line-height: 1.6;
}

/* --- List panels --------------------------------------------------------- */

.sc-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.sc-panel {
	padding: 20px 22px;
	border: 1px solid var(--sc-line);
	border-radius: 8px;
	background: #e9f6ea;
}

.sc-panel__title {
	margin-bottom: 10px !important;
	color: var(--sc-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.sc-panel__list {
	padding-left: 1.1em !important;
	list-style: square !important;
	font-size: 14px;
	line-height: 1.5;
}

.sc-panel__list li + li {
	margin-top: 6px;
}

/* --- Stats --------------------------------------------------------------- */

.sc-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.sc-stat {
	padding: 18px 22px;
	border-radius: 8px;
	background: #e9f6ea;
}

.sc-stat--green {
	background: #e9f6ea;
}

.sc-stat__value {
	color: var(--sc-teal);
	font-family: var(--sc-font-heading);
	font-size: clamp(28px, 3.4vw, 36px);
	font-weight: 700;
	line-height: 1.1;
}

.sc-stat__label {
	margin-top: 4px !important;
	color: var(--sc-ink);
	font-size: 13px;
	line-height: 1.45;
}

.sc-stat__source {
	display: block;
	color: var(--sc-muted);
	font-size: 12px;
}

.sc-stat--inline {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 22px 26px;
}

.sc-stat--inline .sc-stat__value {
	flex-shrink: 0;
	font-size: clamp(36px, 5vw, 52px);
}

.sc-stat--inline .sc-stat__label {
	margin-top: 0 !important;
}

/* --- Table (comparison) -------------------------------------------------- */

.sc-table__title {
	margin-bottom: 12px !important;
	color: var(--sc-teal);
	font-family: var(--sc-font-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

/* Scrolls sideways when the table is wider than the article column. */
.sc-table__scroll {
	overflow-x: auto;
	border: 1px solid var(--sc-line);
	border-radius: 10px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.sc-table__scroll:focus-visible {
	outline: 2px solid var(--sc-green);
	outline-offset: 2px;
}

/* Each column keeps a readable width (~170px), so wide tables scroll instead of squeezing. */
.sc-table__table {
	width: 100%;
	min-width: calc(var(--sc-table-cols, 3) * 170px);
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
}

.sc-table__table th,
.sc-table__table td {
	padding: 14px 16px !important;
	border: 0 !important;
	border-top: 1px solid var(--sc-line) !important;
	background: #fff;
	color: var(--sc-text);
	vertical-align: top;
}

.sc-table__table th + th,
.sc-table__table th + td,
.sc-table__table td + td {
	border-left: 1px solid var(--sc-line) !important;
}

.sc-table__table tr:first-child > * {
	border-top: 0 !important;
}

/* Column headings. */
.sc-table__table thead th {
	background: #e9f6ea;
	color: var(--sc-green-dark);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.sc-table__table tbody tr:nth-child(even) > * {
	background: var(--sc-soft);
}

/* First column as row labels: bold, and kept in view while scrolling sideways. */
.sc-table--row-headers tbody th {
	width: 26%;
	min-width: 170px;
	color: var(--sc-ink);
	font-weight: 700;
}

.sc-table--row-headers tr > :first-child {
	/* position: sticky;
	left: 0;
	z-index: 1; */
	/* border-right: 1px solid var(--sc-line) !important; */
}

/* .sc-table--row-headers tr > :first-child + * {
	border-left: 0 !important;
} */

.sc-table__note {
	margin-top: 10px !important;
	color: var(--sc-muted);
	font-size: 13px;
	font-style: italic;
}

/* --- Figure -------------------------------------------------------------- */

.sc-figure img {
	width: 100%;
	border-radius: 8px;
}

.sc-figure__caption {
	margin-top: 8px;
	color: var(--sc-muted);
	font-size: 12px;
	font-style: italic;
}

/* --- Video (click-to-load) ---------------------------------------------- */

.sc-video__head {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.sc-video__head .sc-eyebrow {
	margin: 0 !important;
	font-size: 16px;
	font-weight: 800;
}

.sc-video__subscribe {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #e00;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}

.sc-video__subscribe:hover {
	background: #c00;
}

.sc-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background: #0b1414;
	overflow: hidden;
}

.sc-video__frame iframe,
.sc-video__poster {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	object-fit: cover;
}

.sc-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--sc-green);
	color: #fff !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
	transform: translate(-50%, -50%);
	transition: transform 0.2s, background-color 0.2s;
}

.sc-video__play:hover,
.sc-video__play:focus-visible {
	background: var(--sc-green-dark);
	transform: translate(-50%, -50%) scale(1.06);
}

.sc-video__foot {
	display: flex;
	flex-wrap: wrap-reverse;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	margin-top: 10px;
}

.sc-video__title {
	color: var(--sc-ink);
	font-size: 22px;
	font-weight: 700;
}

.sc-video__more {
	color: var(--sc-teal) !important;
	font-size: 12px !important;
	white-space: nowrap;
}

.sc-video__text {
	margin-top: 4px !important;
	color: var(--sc-muted);
	font-size: 13px;
	line-height: 1.55;
}

/* --- Numbered checklist -------------------------------------------------- */

.sc-steps {
	padding: 8px 22px !important;
	border: 1px solid var(--sc-line);
	border-radius: 10px;
	background: #e9f6ea;
	list-style: none !important;
}

.sc-steps__item {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
}

.sc-steps__item + .sc-steps__item {
	border-top: 1px solid var(--sc-line);
}

.sc-steps__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #e3f3e4;
	color: var(--sc-green-dark);
	font-size: 12px;
	font-weight: 700;
}

.sc-steps__text {
	font-size: 14px;
	line-height: 1.6;
}

.sc-steps__text h3 {
	display: inline;
    font-size: 14px;
    font-family: var(--sc-font-body);
    font-weight: 700;
}

/* --- FAQ ----------------------------------------------------------------- */

.sc-faq__list {
	margin-top: 18px;
	border-top: 1px solid var(--sc-line);
}

.sc-faq__item {
	border-bottom: 1px solid var(--sc-line);
}

.sc-faq__question {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	color: var(--sc-ink);
	font-family: var(--sc-font-heading);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.sc-faq__question:hover h3 {
	color: var(--sc-teal);
}

.sc-faq__question::-webkit-details-marker {
	display: none;
}

.sc-faq__question:hover {
	color: var(--sc-teal);
}

.sc-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	transition: transform 0.2s;
}

.sc-faq__icon::before,
.sc-faq__icon::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: var(--sc-green);
}

.sc-faq__icon::after {
	transform: rotate(90deg);
}

.sc-faq__item[open] .sc-faq__icon {
	transform: rotate(45deg);
}

.sc-faq__answer {
	padding: 0 30px 18px 0;
	font-size: 15px;
}

.sc-faq__answer > * + * {
	margin-top: 0.8em !important;
}

/* --- CTA sections: "Next step" + PDF download (placed in the article body) -- */

.sc-next-step,
.sc-pdf-cta {
	border-radius: 16px;
	background: var(--sc-teal-deep);
	line-height: 1.5;
	overflow: hidden;
}

.sc-prose > .sc-next-step + .sc-pdf-cta,
.sc-prose > .sc-pdf-cta + .sc-next-step {
	margin-top: 24px !important;
}

.sc-next-step {
	padding: 40px;
}

.sc-next-step__eyebrow,
.sc-pdf-cta__eyebrow {
	margin-bottom: 10px !important;
	font-size: 14px;
	letter-spacing: 0.04em;
}

.sc-next-step__title {
	max-width: 560px;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2 !important;
}

.sc-next-step__text {
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	line-height: 1.65;
}

.sc-next-step__text p {
	padding-bottom: 0;
}

.sc-next-step__text > * + * {
	margin-top: 14px !important;
}

.sc-next-step__text a,
.sc-next-step__text strong {
	color: #fff;
}

.sc-next-step__text a {
	text-decoration: underline;
}

.sc-next-step__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-top: 28px;
}

.sc-next-step__button {
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 700;
}

.sc-dark .sc-next-step__button.sc-btn--outline {
	border-color: #fff;
}

/* PDF download: cover panel left, text + email form right. */
.sc-pdf-cta {
	display: grid;
	grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
}

.sc-pdf-cta__media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: var(--sc-teal);
}

.sc-pdf-cta__image {
	display: block;
	width: 100%;
	max-width: 172px;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.sc-pdf-cta__body {
	padding: 40px 32px;
}

.sc-pdf-cta__title {
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.2 !important;
}

.sc-pdf-cta__text {
	margin-top: 12px !important;
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	line-height: 1.65;
}

.sc-pdf-cta__form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 22px;
}

.sc-pdf-cta__input {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px !important;
	border: 1px solid transparent;
	border-radius: 4px;
	background: #fff;
	color: var(--sc-ink);
	font-family: inherit;
	font-size: 15px;
}

.sc-pdf-cta__input::placeholder {
	color: var(--sc-muted);
	opacity: 1;
}

.sc-pdf-cta__input:focus {
	border-color: var(--sc-green);
	outline: 2px solid var(--sc-green);
	outline-offset: 1px;
}

.sc-pdf-cta__button {
	position: relative;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 700;
}

.sc-pdf-cta__button:disabled {
	cursor: progress;
}

/* Loading: the label is hidden (keeps the button size) and a spinner is shown. */
.sc-pdf-cta__button.is-loading {
	color: transparent !important;
}

.sc-pdf-cta__button.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sc-spin 0.7s linear infinite;
}

@keyframes sc-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-pdf-cta__button.is-loading::after {
		animation-duration: 1.6s;
	}
}

.sc-pdf-cta__input[aria-invalid="true"] {
	border-color: #f2a39b;
	outline: 2px solid #f2a39b;
}

/* Spam trap: off-screen, filled in only by bots. */
.sc-pdf-cta__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Result message after submitting (role="status"). */
.sc-pdf-cta__status {
	margin-top: 14px !important;
	padding: 10px 14px 10px 12px !important;
	border-left: 3px solid;
	border-radius: 4px;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
}

.sc-pdf-cta__status[hidden] {
	display: none;
}

.sc-pdf-cta__status.is-success {
	border-color: var(--sc-green);
	background: rgba(82, 185, 86, 0.16);
}

.sc-pdf-cta__status.is-error {
	border-color: #f2a39b;
	background: rgba(242, 163, 155, 0.14);
}

.sc-pdf-cta__note {
	margin-top: 14px !important;
	font-size: 12px;
	line-height: 1.5;
}

.sc-pdf-cta__note a {
	color: #fff !important;
}

.sc-pdf-cta__note a:hover {
	text-decoration: underline;
}

/* Generated cover, used when no cover image is set. */
.sc-pdf-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 172px;
	aspect-ratio: 172 / 222;
	padding: 18px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 6px;
	background: var(--sc-teal-deep);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.sc-pdf-cover::after {
	content: "";
	position: absolute;
	right: -34px;
	bottom: -34px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(82, 185, 86, 0.2);
	pointer-events: none;
}

.sc-pdf-cover > * {
	position: relative;
}

.sc-pdf-cover__logo {
	width: 76px;
	height: auto;
}

.sc-pdf-cover__title {
	margin-top: 26px !important;
	color: #fff;
	font-family: var(--sc-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.sc-pdf-cover__tag {
	margin-top: auto !important;
	color: var(--sc-green);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.7;
	text-transform: uppercase;
}

/* --- Author box ---------------------------------------------------------- */

.sc-author-box {
	margin-top: 40px;
	padding: 24px;
	border: 1px solid var(--sc-line);
	border-radius: 10px;
}

.sc-author-box__head {
	display: flex;
	gap: 16px;
	align-items: center;
}

.sc-author-box__avatar {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.sc-author-box__who {
	flex: 1;
	min-width: 0;
}

.sc-author-box__eyebrow {
	margin-bottom: 2px !important;
	font-size: 10px;
}

.sc-author-box__name {
	color: var(--sc-teal);
	font-family: var(--sc-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.sc-author-box__name a:hover {
	color: var(--sc-green-dark);
}

.sc-author-box__social {
	align-self: flex-start;
	color: var(--sc-teal) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sc-author-box__social:hover {
	color: var(--sc-green-dark) !important;
}

.sc-author-box__bio {
	margin-top: 16px;
	color: var(--sc-text);
	font-size: 14px;
	line-height: 1.65;
}

.sc-author-box__bio > * + * {
	margin-top: 0.7em !important;
}

/* Clamped until "Read more" (JS adds the button only when the text overflows). */
.sc-author-box__bio[data-sc-clamp] {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.sc-author-box__bio.is-expanded {
	display: block;
}

.sc-author-box__more {
	margin-top: 12px;
	padding: 0 0 2px;
	border: 0;
	border-bottom: 2px solid var(--sc-green);
	background: none;
	color: var(--sc-teal);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

/* --- Sidebar: table of contents + CTA card -------------------------------- */

.sc-toc__title {
	margin-bottom: 12px;
	color: var(--sc-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	list-style: none;
}

.sc-toc__title::-webkit-details-marker {
	display: none;
}

/* Chevron shown only on mobile, where the TOC is collapsible. */
.sc-toc__icon {
	display: none;
}

.sc-toc__list {
	border-left: 1px solid var(--sc-line);
	list-style: none !important;
}

.sc-toc__link {
	display: block;
	margin-left: -1px;
	padding: 5px 0 5px 14px;
	border-left: 2px solid transparent;
	color: var(--sc-muted) !important;
	font-size: 13px;
	line-height: 1.4;
	transition: color 0.2s, border-color 0.2s;
}

.sc-toc__link:hover {
	color: var(--sc-teal) !important;
}

.sc-toc__link.is-active {
	border-left-color: var(--sc-green);
	color: var(--sc-ink) !important;
	font-weight: 700;
}

.sc-side-cta {
	position: relative;
	padding: 22px;
	border-radius: 12px;
	overflow: hidden;
}

.sc-side-cta::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(82, 185, 86, 0.18);
	pointer-events: none;
}

.sc-side-cta > * {
	position: relative;
}

.sc-side-cta__eyebrow {
	color: var(--sc-green);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sc-side-cta__title {
	margin-top: 8px !important;
	color: #fff;
	font-family: var(--sc-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.sc-side-cta__text {
	margin-top: 8px !important;
	font-size: 13px;
	line-height: 1.55;
}

.sc-side-cta__button {
	display: block;
	margin-top: 16px;
}

.sc-side-cta__secondary {
	display: block;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 12px;
	text-align: center;
}

.sc-side-cta__secondary:hover {
	color: #fff !important;
	text-decoration: underline !important;
}

.sc-side-cta__footer {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px !important;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 12px;
}

.sc-side-cta__footer a {
	color: #fff !important;
	font-weight: 700;
	white-space: nowrap;
}

/* --- After the article: resources, related, newsletter ------------------ */

.sc-article-resources {
	padding-top: 8px;
}

/* PDF covers are portrait: show the top of the document. */
.sc-article-resources .sc-card__media img {
	object-position: top;
}

.sc-article-related + .sc-banner {
	margin-top: 48px;
}

/* CTA banner: text left, button right, decorative circle. */
.sc-banner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
	align-items: center;
	justify-content: space-between;
	padding: 40px;
	border-radius: 12px;
	overflow: hidden;
	/* Clip without being scrollable: the embedded Zoho form scrolls itself into view
	   (e.g. its thank-you screen), which would otherwise shift the banner content. */
	overflow: clip;
}

.sc-banner::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 55%;
	padding-bottom: 55%;
	border-radius: 50%;
	background: rgba(82, 185, 86, 0.16);
	pointer-events: none;
}

.sc-banner > * {
	position: relative;
}

.sc-banner__intro {
	flex: 1 1 420px;
	max-width: 620px;
}

.sc-banner__eyebrow {
	margin-bottom: 8px !important;
}

.sc-banner__title {
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.15 !important;
}

.sc-banner__text {
	margin-top: 10px !important;
	font-size: 14px;
}

.sc-banner__button {
	padding: 13px 28px;
	white-space: nowrap;
}

/* Newsletter signup banner: embedded Zoho form, note below. */
.sc-newsletter {
	flex: 1 1 380px;
	max-width: 480px;
}

/* Height is set from the form's own height messages (js/simpliscada-custom.js). */
.sc-newsletter__frame {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
	border-radius: 8px;
	background: #fff;
}

.sc-newsletter__note {
	margin-top: 10px !important;
	font-size: 12px;
	line-height: 1.5;
}

.sc-newsletter__note a {
	color: #fff !important;
}

.sc-newsletter__note a:hover {
	text-decoration: underline;
}

/* --- Article responsive -------------------------------------------------- */

@media (max-width: 980px) {
	.sc-article {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-top: 32px;
	}

	/* Sidebar children join the main grid: TOC before the content, CTA after. */
	.sc-article__sidebar,
	.sc-article__sticky {
		display: contents;
	}

	.sc-toc {
		order: -1;
		padding: 14px 18px;
		border: 1px solid var(--sc-line);
		border-radius: 8px;
	}

	.sc-toc__title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 0;
		cursor: pointer;
	}

	.sc-toc__details[open] .sc-toc__title {
		margin-bottom: 12px;
	}

	.sc-toc__icon {
		display: block;
		flex-shrink: 0;
		width: 8px;
		height: 8px;
		margin-top: -4px;
		border-right: 2px solid var(--sc-green);
		border-bottom: 2px solid var(--sc-green);
		transform: rotate(45deg);
		transition: transform 0.2s, margin-top 0.2s;
	}

	.sc-toc__details[open] .sc-toc__icon {
		margin-top: 4px;
		transform: rotate(-135deg);
	}
}

@media (min-width: 981px) {
	/* The TOC is always expanded on desktop. */
	.sc-toc__title {
		pointer-events: none;
	}
}

@media (max-width: 640px) {
	.sc-article-hero__media img {
		border-radius: 8px;
	}

	.sc-banner {
		padding: 24px 20px;
	}

	.sc-banner__action,
	.sc-banner__button {
		width: 100%;
	}

	.sc-next-step {
		padding: 28px 20px;
	}

	.sc-next-step__button,
	.sc-pdf-cta__button {
		width: 100%;
	}

	.sc-pdf-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	.sc-pdf-cta__media {
		padding: 28px 20px;
	}

	.sc-pdf-cta__body {
		padding: 28px 20px;
	}

	.sc-pdf-cta__form {
		align-items: stretch;
	}

	.sc-stat--inline {
		flex-direction: column;
		gap: 6px;
		align-items: flex-start;
	}

	.sc-author-box__head {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   12. Site footer (template-parts/footer/footer.php)
   ========================================================================== */

.sc-footer {
	padding: 44px 0 26px;
	background: var(--sc-teal-deep);
	font-family: var(--sc-font-body);
	font-size: 14px;
	line-height: 1.6;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sc-footer *,
.sc-footer *::before,
.sc-footer *::after {
	box-sizing: border-box;
}

.sc-footer p,
.sc-footer ul {
	margin: 0;
	padding: 0;
}

.sc-footer ul {
	list-style: none;
}

.sc-footer a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
	transition: color 0.2s;
}

.sc-footer a:hover {
	color: #fff;
}

.sc-footer a:focus-visible {
	outline: 2px solid var(--sc-green);
	outline-offset: 3px;
	border-radius: 2px;
}

/* CTA band */
.sc-footer__cta {
	display: flex;
	gap: 24px 40px;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 38px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sc-footer .sc-footer__eyebrow {
	margin-bottom: 8px !important;
	color: var(--sc-green);
	letter-spacing: 0.16em;
}

.sc-footer__cta-title {
	max-width: 420px;
	color: #fff;
	font-family: var(--sc-font-heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}

.sc-footer__cta-actions {
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 0;
	gap: 12px;
}

.sc-footer__cta-actions .sc-btn {
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 700;
}

.sc-footer .sc-btn--outline {
	border-color: rgba(255, 255, 255, 0.85);
}

/* Brand + link columns */
.sc-footer__main {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px;
	padding: 48px 0 44px;
}

/* Extra breathing room between the brand column and the link columns. */
@media (min-width: 1181px) {
	.sc-footer__main {
		grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
	}

	.sc-footer__brand {
		padding-right: 56px;
	}
}

.sc-footer__logo {
	display: inline-block;
	margin-bottom: 18px;
}

.sc-footer__logo img {
	display: block;
	width: auto;
	max-width: 190px;
	height: 42px;
	object-fit: contain;
	object-position: left center;
}

.sc-footer__desc {
	max-width: 250px;
	margin-bottom: 22px !important;
	color: rgba(255, 255, 255, 0.82);
}

.sc-footer__contact li + li {
	margin-top: 8px;
}

.sc-footer__contact a {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: #fff;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.sc-footer__contact svg {
	flex-shrink: 0;
	color: var(--sc-green);
}

.sc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px !important;
}

.sc-footer__social a {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transition: background-color 0.2s;
}

.sc-footer__social a:hover {
	background: var(--sc-green);
}

.sc-footer__group + .sc-footer__group {
	margin-top: 32px;
}

.sc-footer__heading {
	margin-bottom: 16px !important;
	color: var(--sc-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sc-footer__links li + li {
	margin-top: 10px;
}

.sc-footer__links a {
	font-size: 14px;
	line-height: 1.45;
}

.sc-footer__links a:hover {
	color: var(--sc-green);
}

/* Bottom bar */
.sc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.sc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.sc-footer__legal a {
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1180px) {
	.sc-footer__main {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Brand spans the row: logo + text | contact | social. */
	.sc-footer__brand {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 0 40px;
		align-items: center;
	}

	.sc-footer__logo,
	.sc-footer__desc {
		grid-column: 1;
	}

	.sc-footer__contact {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.sc-footer__social {
		grid-column: 3;
		grid-row: 1 / span 2;
		margin-top: 0 !important;
	}

	.sc-footer__desc {
		max-width: 420px;
		margin-bottom: 0 !important;
	}
}

@media (max-width: 980px) {
	.sc-footer {
		padding-top: 40px;
	}

	.sc-footer__cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.sc-footer__cta-title {
		max-width: 460px;
		font-size: 26px;
	}

	.sc-footer__brand {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 16px 32px;
	}

	.sc-footer__social {
		grid-column: 2;
		grid-row: 2;
	}

	.sc-footer__contact {
		grid-row: 1;
	}

	.sc-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 32px;
		padding: 40px 0;
	}

	/* Flatten columns so each group is its own grid cell and headings line up across each row. */
	.sc-footer__col {
		display: contents;
	}

	.sc-footer__group + .sc-footer__group {
		margin-top: 0;
	}
}

@media (max-width: 640px) {
	.sc-footer {
		padding: 36px 0 24px;
	}

	.sc-footer__cta {
		padding-bottom: 32px;
	}

	.sc-footer__cta-title {
		font-size: 23px;
	}

	.sc-footer__cta-actions {
		flex-direction: column;
		width: 100%;
	}

	.sc-footer__cta-actions .sc-btn {
		width: 100%;
	}

	.sc-footer__brand {
		display: block;
	}

	.sc-footer__desc {
		margin-bottom: 20px !important;
	}

	.sc-footer__social {
		margin-top: 20px !important;
	}

	.sc-footer__main {
		gap: 32px 16px;
	}

	.sc-footer__links a {
		font-size: 13.5px;
	}

	.sc-footer__bottom {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
}

@media (max-width: 340px) {
	.sc-footer__main {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   13. Site header (template-parts/header/header.php)
   Desktop dropdowns from 1300px; below that a checkbox-toggled drawer.
   ========================================================================== */

.sc-header {
	--sc-header-ink: #17302f;
	--sc-header-muted: #5d7371;
	--sc-header-line: #e0ebe9;
	--sc-header-soft: #f3f8f7;
	--sc-header-height: 90px;
	--sc-header-responsive-height: 75px;
	position: relative;
	z-index: 1000;
	background: #fff;
	box-shadow: inset 0 -1px 0 var(--sc-header-line);
	color: var(--sc-header-ink);
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

.sc-header--sticky {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
}

.sc-header *,
.sc-header *::before,
.sc-header *::after {
	box-sizing: border-box;
}

.sc-header ul,
.sc-header li,
.sc-header p {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-header a {
	border: 0;
	color: var(--sc-header-ink);
	text-decoration: none;
	transition: color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.sc-header img {
	display: block;
	max-width: 100%;
}

.sc-header button {
	margin: 0;
	font-family: inherit;
}

.sc-header a:focus-visible,
.sc-header summary:focus-visible {
	outline: none;
}

.sc-header__bar {
	display: flex;
	position: relative;
	gap: 20px;
	align-items: center;
	width: 100%;
	max-width: var(--sc-container);
	height: var(--sc-header-height);
	margin: 0 auto;
	padding: 0 var(--sc-gutter);
}

/* Logo */
.sc-header__logo {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.sc-header__logo svg,
.sc-header__logo img {
	display: block;
	width: auto;
	height: 40px;
}

/* Desktop nav */
.sc-header__nav {
	display: flex;
	flex: 0 1 auto;
	min-width: 0;
	height: 100%;
}

.sc-header__menu {
	display: flex;
	align-items: stretch;
	height: 100%;
}

.sc-header__item {
	display: flex;
	position: relative;
}

/* Wide (grouped) panels are centred under the bar instead of their trigger. */
.sc-header__item--wide {
	position: static;
}

.sc-header .sc-header__trigger {
	display: flex;
	gap: 5px;
	align-items: center;
	padding: 0 7px;
	border: 0;
	background: transparent;
	box-shadow: inset 0 -2px 0 transparent;
	color: var(--sc-header-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.15s, box-shadow 0.15s;
}

.sc-header .sc-header__trigger:hover {
	color: var(--sc-teal);
}

/* Single link to the page being viewed. */
.sc-header .sc-header__trigger.is-current {
	box-shadow: inset 0 -2px 0 var(--sc-green);
	color: var(--sc-teal);
}

.sc-header__trigger:focus {
	outline: none;
}

.sc-header .sc-header__trigger:focus-visible {
	outline: 2px solid var(--sc-green);
	outline-offset: -4px;
	border-radius: 5px;
}

.sc-header__chev {
	display: block;
	transition: transform 0.15s;
}

/* Dropdown panels: open on hover, keyboard focus or click (.is-open, set by JS). */
.sc-header__panel {
	position: absolute;
	top: 100%;
	left: -8px;
	padding-top: 8px;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.sc-header__item--wide .sc-header__panel {
	right: 0;
	left: 0;
	width: max-content;
	max-width: 100%;
	margin: 0 auto;
}

.sc-header__item--dropdown:hover .sc-header__panel,
.sc-header__item--dropdown:focus-within .sc-header__panel,
.sc-header__item--dropdown.is-open .sc-header__panel {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.sc-header .sc-header__item--dropdown:hover .sc-header__trigger,
.sc-header .sc-header__item--dropdown:focus-within .sc-header__trigger,
.sc-header .sc-header__item--dropdown.is-open .sc-header__trigger {
	box-shadow: inset 0 -2px 0 var(--sc-green);
	color: var(--sc-teal);
}

.sc-header__item--dropdown:hover .sc-header__chev,
.sc-header__item--dropdown:focus-within .sc-header__chev,
.sc-header__item--dropdown.is-open .sc-header__chev {
	transform: rotate(180deg);
}

/* Hovering one item closes the others (e.g. one still holding focus). */
.sc-header__menu:hover .sc-header__item--dropdown:not(:hover) .sc-header__panel {
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
}

.sc-header .sc-header__menu:hover .sc-header__item--dropdown:not(:hover) .sc-header__trigger {
	box-shadow: inset 0 -2px 0 transparent;
	color: var(--sc-header-ink);
}

.sc-header__menu:hover .sc-header__item--dropdown:not(:hover) .sc-header__chev {
	transform: none;
}

/* Closed with Escape / a second click while still focused or hovered (JS). */
.sc-header__item--dropdown.is-dismissed .sc-header__panel {
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
}

.sc-header .sc-header__item--dropdown.is-dismissed .sc-header__trigger {
	box-shadow: inset 0 -2px 0 transparent;
	color: var(--sc-header-ink);
}

.sc-header__item--dropdown.is-dismissed .sc-header__chev {
	transform: none;
}

.sc-header__panel-box {
	display: flex;
	width: 560px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(93, 115, 113, 0.18), 0 14px 32px rgba(0, 55, 56, 0.1);
}

.sc-header__item--wide .sc-header__panel-box {
	width: 1100px;
	max-width: 100%;
}

.sc-header__panel-box--plain {
	width: 360px;
}

/* List layout: title + description links */
.sc-header__links {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	gap: 2px;
	padding: 12px !important;
}

.sc-header__links a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 5px;
}

.sc-header__links a:hover,
.sc-header__links a:focus-visible {
	background: var(--sc-header-soft);
	outline: none;
}

.sc-header__link-title {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--sc-header-ink);
	font-size: 15px;
	font-weight: 700;
}

.sc-header__links a:hover .sc-header__link-title {
	color: var(--sc-teal);
}

.sc-header__link-desc {
	color: var(--sc-header-muted);
	font-size: 13px;
	line-height: 1.4;
}

/* Grouped layout: up to 3 titled columns */
.sc-header__groups {
	display: grid;
	flex: 1 1 0%;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
}

.sc-header__group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 16px 16px;
	box-shadow: inset -1px 0 0 var(--sc-header-line);
}

.sc-header__group-title {
	padding: 0 8px;
	color: var(--sc-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sc-header__group ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sc-header .sc-header__group a {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
	padding: 4px 8px;
	border-radius: 5px;
	color: var(--sc-header-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.sc-header .sc-header__group a:hover,
.sc-header .sc-header__group a:focus-visible {
	background: var(--sc-header-soft);
	color: var(--sc-teal);
	outline: none;
}

.sc-header__tag {
	flex-shrink: 0;
	padding: 2px 7px;
	border-radius: 30px;
	background: #eaf7eb;
	color: var(--sc-teal);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* Featured card */
.sc-header__feat {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	gap: 10px;
	width: 200px;
	padding: 16px;
	background: var(--sc-header-soft);
	box-shadow: inset 1px 0 0 var(--sc-header-line);
}

.sc-header__feat img {
	width: 100%;
	height: 112px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.sc-header__feat-eyebrow {
	color: #7bdd80;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sc-header__feat-title {
	color: var(--sc-teal);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.sc-header .sc-header__feat-cta {
	display: flex;
	gap: 6px;
	align-items: center;
	color: var(--sc-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sc-header .sc-header__feat-cta:hover {
	color: var(--sc-teal);
}

.sc-header__feat-cta svg {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
}

.sc-header__feat--dark {
	width: 220px;
	background: #003738;
	box-shadow: none;
}

.sc-header__feat--dark img {
	height: 110px;
	border-radius: 5px;
	background: #0d5e5c;
	object-fit: cover;
	mix-blend-mode: normal;
}

.sc-header__feat--dark .sc-header__feat-title {
	color: #fff;
	line-height: 1.35;
}

.sc-header .sc-header__feat--dark .sc-header__feat-cta {
	margin-top: auto;
	color: #7bdd80;
}

.sc-header .sc-header__feat--dark .sc-header__feat-cta:hover {
	color: #fff;
}

/* Actions */
.sc-header__actions {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
	align-items: center;
	margin-left: auto;
}

.sc-header .sc-header__login {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 5px;
	color: var(--sc-teal);
}

.sc-header .sc-header__login:hover {
	background: var(--sc-header-soft);
	color: var(--sc-green);
}

.sc-header__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 14px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.sc-header .sc-header__btn--outline {
	box-shadow: inset 0 0 0 1px var(--sc-teal);
	color: var(--sc-teal);
}

.sc-header .sc-header__btn--outline:hover {
	background: var(--sc-teal);
	color: #fff;
}

.sc-header .sc-header__btn--primary {
	background: var(--sc-green);
	color: #fff;
}

.sc-header .sc-header__btn--primary:hover {
	background: #47a64b;
	color: #fff;
}

/* Burger: label for the visually hidden checkbox (no JS needed) */
.sc-header__toggle {
	position: absolute;
	top: 18px;
	right: var(--sc-gutter);
	width: 44px;
	height: 44px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.sc-header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border-radius: 5px;
	background: var(--sc-header-soft);
	color: var(--sc-teal);
	cursor: pointer;
}

.sc-header__burger svg {
	display: block;
}

.sc-header__ic-close,
.sc-header__toggle:checked ~ .sc-header__bar .sc-header__ic-open {
	display: none !important;
}

.sc-header__toggle:checked ~ .sc-header__bar .sc-header__ic-close {
	display: block !important;
}

.sc-header__toggle:focus-visible ~ .sc-header__bar .sc-header__burger {
	outline: 2px solid var(--sc-green);
	outline-offset: 2px;
}

/* Mobile drawer */
.sc-header__drawer {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	max-height: calc(100vh - var(--sc-header-height));
	max-height: calc(100dvh - var(--sc-header-height) - var(--wp-admin--admin-bar--height, 0px));
	padding: 8px 24px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	box-shadow: inset 0 1px 0 var(--sc-header-line), 0 18px 40px rgba(0, 55, 56, 0.12);
}

.sc-header__toggle:checked ~ .sc-header__drawer {
	display: block;
}

.sc-header__acc {
	box-shadow: inset 0 -1px 0 var(--sc-header-line);
}

.sc-header__acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	color: var(--sc-header-ink);
	font-size: 17px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.sc-header__acc summary::-webkit-details-marker {
	display: none;
}

.sc-header__acc summary::marker {
	content: "";
}

.sc-header__acc summary .sc-header__chev {
	width: 14px;
	height: 14px;
}

.sc-header__acc[open] summary {
	color: var(--sc-teal);
}

.sc-header__acc[open] summary .sc-header__chev {
	transform: rotate(180deg);
}

.sc-header .sc-header__acc ul {
	display: flex;
	flex-direction: column;
	padding: 0 0 12px 14px;
	box-shadow: inset 2px 0 0 var(--sc-green);
}

.sc-header .sc-header__acc ul a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--sc-header-ink);
	font-size: 15px;
	font-weight: 600;
}

.sc-header .sc-header__acc ul a:hover {
	color: var(--sc-green);
}

.sc-header .sc-header__drawer-link {
	display: flex;
	align-items: center;
	min-height: 56px;
	box-shadow: inset 0 -1px 0 var(--sc-header-line);
	color: var(--sc-header-ink);
	font-size: 17px;
	font-weight: 600;
}

.sc-header .sc-header__drawer-link.is-current {
	box-shadow: inset 0 -1px 0 var(--sc-header-line), inset 2px 0 0 var(--sc-green);
	padding-left: 14px;
	color: var(--sc-teal);
}

.sc-header__drawer-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.sc-header__drawer-cta .sc-header__btn {
	height: auto;
	min-height: 54px;
	font-size: 17px;
}

/* Primary buttons first in the drawer. */
.sc-header__drawer-cta .sc-header__btn--primary {
	order: -1;
}

.sc-header .sc-header__drawer-login {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	color: var(--sc-teal);
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 1299px) {
	.sc-header__nav,
	.sc-header__actions {
		display: none;
	}

	.sc-header__burger {
		display: flex;
	}
	.sc-header__logo svg, .sc-header__logo img {
		height: 32px;
	}
	.sc-header__bar {
		height: var(--sc-header-responsive-height);
	}
}

@media (min-width: 1300px) {
	.sc-header__toggle,
	.sc-header__drawer {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.sc-header__drawer {
		padding: 8px var(--sc-gutter) 24px;
	}
}

/* The admin bar scrolls away on small screens, so stick to the very top. */
@media (max-width: 600px) {
	.sc-header--sticky {
		top: 0;
	}
}
