/* Button selectors carry their class twice (.x.x) so they outrank Elementor's global button style
   (.elementor-kit-N button) but stay below each widget's own Elementor settings. */
/* Significo content widgets, group C. One block per widget, in widget order. */

/* Accordion */

.sgc-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sgc-accordion__item {
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: #fff;
}

.sgc-accordion__heading {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.sgc-accordion__button.sgc-accordion__button {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 18px 22px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s;
}

.sgc-accordion__button.sgc-accordion__button:hover,
.sgc-accordion__button.sgc-accordion__button:focus {
	background: transparent;
	color: var(--e-global-color-accent, #a85a14);
}

.sgc-accordion__button.sgc-accordion__button:focus-visible {
	outline: 2px solid var(--e-global-color-accent, #a85a14);
	outline-offset: -2px;
}

.sgc-accordion__title {
	flex: 1;
}

.sgc-accordion--icon-left .sgc-accordion__button.sgc-accordion__button {
	flex-direction: row-reverse;
}

.sgc-accordion__icon {
	display: inline-flex;
	flex: none;
	color: var(--e-global-color-accent, #a85a14);
	font-size: 14px;
	line-height: 1;
}

.sgc-accordion__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sgc-accordion__button.sgc-accordion__button[aria-expanded="true"] .sgc-accordion__icon--closed,
.sgc-accordion__button.sgc-accordion__button[aria-expanded="false"] .sgc-accordion__icon--open {
	display: none;
}

.sgc-accordion__panel {
	overflow: hidden;
	transition: height 0.3s ease;
}

.sgc-accordion__content {
	padding: 0 22px 20px;
}

.sgc-accordion__content > :first-child {
	margin-top: 0;
}

.sgc-accordion__content > :last-child {
	margin-bottom: 0;
}

/* Tabs */

.sgc-tabs {
	--sgc-tabs-line: #e5e7eb;
	--sgc-tabs-align: flex-start;
	--sgc-tabs-accent: var(--e-global-color-accent, #a85a14);
	display: flex;
	flex-direction: column;
}

.sgc-tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--sgc-tabs-align);
	border-bottom: 1px solid var(--sgc-tabs-line);
}

.sgc-tabs__tab.sgc-tabs__tab,
.sgc-tabs__toggle.sgc-tabs__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 14px 20px;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.sgc-tabs__tab.sgc-tabs__tab {
	margin-bottom: -1px;
	border-bottom-width: 2px;
	opacity: 0.75;
}

.sgc-tabs__tab.sgc-tabs__tab:hover,
.sgc-tabs__tab.sgc-tabs__tab:focus {
	background: transparent;
	color: inherit;
	opacity: 1;
}

.sgc-tabs__tab.sgc-tabs__tab[aria-selected="true"] {
	border-color: var(--sgc-tabs-accent);
	color: var(--sgc-tabs-accent);
	opacity: 1;
}

.sgc-tabs__tab.sgc-tabs__tab:focus-visible,
.sgc-tabs__toggle.sgc-tabs__toggle:focus-visible,
.sgc-tabs__panel:focus-visible {
	outline: 2px solid var(--sgc-tabs-accent);
	outline-offset: -2px;
}

.sgc-tabs__list .sgc-tabs__tab.sgc-tabs__tab {
	flex-grow: var(--sgc-tabs-grow, 0);
	justify-content: var(--sgc-tabs-tab-justify, flex-start);
}

.sgc-tabs__icon {
	display: inline-flex;
	line-height: 1;
}

.sgc-tabs__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sgc-tabs__toggle.sgc-tabs__toggle {
	display: none;
	width: 100%;
	justify-content: space-between;
	border-bottom: 1px solid var(--sgc-tabs-line);
}

.sgc-tabs__toggle.sgc-tabs__toggle::after {
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s;
}

.sgc-tabs__toggle.sgc-tabs__toggle[aria-expanded="true"] {
	color: var(--sgc-tabs-accent);
}

.sgc-tabs__toggle.sgc-tabs__toggle[aria-expanded="true"]::after {
	transform: translateY(2px) rotate(-135deg);
}

.sgc-tabs__panel {
	padding: 24px 4px;
}

.sgc-tabs__panel > :first-child {
	margin-top: 0;
}

.sgc-tabs__panel > :last-child {
	margin-bottom: 0;
}

/* Vertical */

.sgc-tabs--vertical .sgc-tabs {
	flex-direction: row;
	gap: 32px;
}

.sgc-tabs--vertical .sgc-tabs__list {
	flex: 0 0 240px;
	flex-direction: column;
	flex-wrap: nowrap;
	border-bottom: 0;
	border-left: 1px solid var(--sgc-tabs-line);
}

.sgc-tabs--vertical .sgc-tabs__tab.sgc-tabs__tab {
	margin: 0 0 0 -1px;
	border-bottom-width: 0;
	border-left-width: 2px;
}

.sgc-tabs--vertical .sgc-tabs__panels {
	flex: 1;
	min-width: 0;
}

.sgc-tabs--vertical .sgc-tabs__panel {
	padding-top: 12px;
}

/* Accordion mode on phones. */
@media (max-width: 767px) {
	.sgc-tabs-acc-yes .sgc-tabs {
		flex-direction: column;
		gap: 0;
	}

	.sgc-tabs-acc-yes .sgc-tabs__list {
		display: none;
	}

	.sgc-tabs-acc-yes .sgc-tabs__toggle.sgc-tabs__toggle {
		display: flex;
	}

	.sgc-tabs-acc-yes .sgc-tabs__panel {
		overflow: hidden;
		padding: 16px 4px 20px;
		transition: height 0.3s ease;
	}

	.sgc-tabs--vertical:not(.sgc-tabs-acc-yes) .sgc-tabs {
		flex-direction: column;
		gap: 16px;
	}

	.sgc-tabs--vertical:not(.sgc-tabs-acc-yes) .sgc-tabs__list {
		flex-basis: auto;
	}
}

/* Timeline */

.sgc-timeline {
	--sgc-tl-line: #e5e7eb;
	--sgc-tl-line-w: 2px;
	--sgc-tl-dot: 18px;
	--sgc-tl-dot-color: var(--e-global-color-accent, #a85a14);
	--sgc-tl-gap: 40px;
	--sgc-tl-rail: max(48px, calc(var(--sgc-tl-dot) + 30px)); /* Room for icon dots (dot + 26px). */
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-timeline::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--sgc-tl-rail) / 2);
	width: var(--sgc-tl-line-w);
	background: var(--sgc-tl-line);
	content: "";
	transform: translateX(-50%);
}

.sgc-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: var(--sgc-tl-rail) minmax(0, 1fr);
	grid-template-areas:
		"marker date"
		"marker card";
	column-gap: 20px;
	margin: 0 0 var(--sgc-tl-gap);
	padding: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.sgc-timeline__item:last-child {
	margin-bottom: 0;
}

.sgc-timeline__marker {
	display: flex;
	grid-area: marker;
	justify-content: center;
	align-items: flex-start;
	padding-top: 2px;
}

.sgc-timeline__dot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--sgc-tl-dot);
	height: var(--sgc-tl-dot);
	border: 3px solid var(--sgc-tl-dot-color);
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	background: #fff;
	box-shadow: 0 0 0 5px #fff;
}

.sgc-timeline-dot-filled .sgc-timeline__dot {
	background: var(--sgc-tl-dot-color);
}

.sgc-timeline-dot-square .sgc-timeline__dot {
	border-radius: calc(4px * var(--sg-radius-scale, 1));
	background: var(--sgc-tl-dot-color);
	transform: rotate(45deg);
}

.sgc-timeline__item.has-icon .sgc-timeline__dot {
	width: calc(var(--sgc-tl-dot) + 26px);
	height: calc(var(--sgc-tl-dot) + 26px);
	border-width: 0;
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	background: var(--sgc-tl-dot-color);
	color: #fff;
	transform: none;
}

.sgc-timeline__icon {
	display: inline-flex;
	font-size: 16px;
	line-height: 1;
}

.sgc-timeline__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sgc-timeline__date {
	grid-area: date;
	margin-bottom: 8px;
	color: var(--e-global-color-accent, #a85a14);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.sgc-timeline__card {
	grid-area: card;
	padding: 22px 24px;
	border: 1px solid #e5e7eb;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	background: #fff;
}

.sgc-timeline__image {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 16px;
	border-radius: calc(6px * var(--sg-radius-scale, 1));
}

.sgc-timeline__title {
	margin: 0 0 6px;
	font-size: 1.15rem;
	line-height: 1.3;
}

.sgc-timeline__text {
	margin: 0;
}

/* Alternating sides from tablet up; phones keep one side. */
@media (min-width: 768px) {
	.sgc-timeline--alternate .sgc-timeline::before {
		left: 50%;
	}

	.sgc-timeline--alternate .sgc-timeline__item {
		grid-template-columns: minmax(0, 1fr) var(--sgc-tl-rail) minmax(0, 1fr);
		grid-template-areas: "card marker date";
		column-gap: 28px;
	}

	.sgc-timeline--alternate .sgc-timeline__item:nth-child(even) {
		grid-template-areas: "date marker card";
	}

	.sgc-timeline--alternate .sgc-timeline__date {
		align-self: start;
		margin: 0;
		padding-top: 2px;
	}

	.sgc-timeline--alternate .sgc-timeline__item:nth-child(odd) .sgc-timeline__card {
		text-align: right;
	}

	.sgc-timeline--alternate .sgc-timeline__item:nth-child(even) .sgc-timeline__date {
		text-align: right;
	}
}

.sgc-timeline-reveal-yes .sgc-timeline.is-ready .sgc-timeline__item:not(.is-visible) {
	opacity: 0;
	transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
	.sgc-timeline__item {
		transition: none;
	}

	.sgc-timeline-reveal-yes .sgc-timeline.is-ready .sgc-timeline__item:not(.is-visible) {
		opacity: 1;
		transform: none;
	}
}

/* Process Steps */

.sgc-steps {
	--sgc-steps-cols: 3;
	--sgc-steps-size: 56px;
	--sgc-steps-color: var(--e-global-color-accent, #a85a14);
	--sgc-steps-line: #e5e7eb;
	--sgc-steps-line-style: solid;
	--sgc-steps-gap: 32px;
	display: grid;
	grid-template-columns: repeat(var(--sgc-steps-cols), minmax(0, 1fr));
	gap: 40px var(--sgc-steps-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-steps__step {
	position: relative;
	margin: 0;
	padding: 0;
}

.sgc-steps__head {
	position: relative;
	margin-bottom: 18px;
}

.sgc-steps__marker {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--sgc-steps-size);
	height: var(--sgc-steps-size);
	border: 2px solid var(--sgc-steps-color);
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	background: var(--sgc-steps-color);
	color: #fff;
	font-size: calc(var(--sgc-steps-size) * 0.36);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.sgc-steps-marker-outline .sgc-steps__marker {
	background: #fff;
	color: var(--sgc-steps-color);
}

.sgc-steps-marker-soft .sgc-steps__marker {
	border-color: transparent;
	background: color-mix(in srgb, var(--sgc-steps-color) 14%, #fff);
	color: var(--sgc-steps-color);
}

.sgc-steps__icon {
	display: inline-flex;
	line-height: 1;
}

.sgc-steps__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sgc-steps__title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	line-height: 1.3;
}

.sgc-steps__text {
	margin: 0;
}

/*
 * Horizontal connectors: each step draws the line from the gap before it to its marker (::before)
 * and from its marker to its right edge (::after). --sgc-steps-anchor is the marker centre.
 */
.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__head::before,
.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__head::after {
	position: absolute;
	top: 50%;
	border-top: 2px var(--sgc-steps-line-style) var(--sgc-steps-line);
	content: "";
}

.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__head::before {
	left: calc(var(--sgc-steps-gap) * -1);
	width: calc(var(--sgc-steps-anchor, 50%) + var(--sgc-steps-gap));
}

.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__head::after {
	right: 0;
	left: var(--sgc-steps-anchor, 50%);
}

.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__step:first-child .sgc-steps__head::before,
.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__step:last-child .sgc-steps__head::after {
	display: none;
}

/* Vertical layout (also used by horizontal steps on phones). */
.sgc-steps--vertical .sgc-steps {
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sgc-steps-gap);
}

.sgc-steps--vertical .sgc-steps__step {
	display: grid;
	grid-template-columns: var(--sgc-steps-size) minmax(0, 1fr);
	column-gap: 22px;
	text-align: left !important;
}

.sgc-steps--vertical .sgc-steps__head {
	margin: 0;
}

.sgc-steps--vertical .sgc-steps__body {
	padding-top: calc(var(--sgc-steps-size) / 2 - 0.8em);
}

.sgc-steps-line-yes.sgc-steps--vertical .sgc-steps__step:not(:last-child)::before {
	position: absolute;
	top: var(--sgc-steps-size);
	bottom: calc(var(--sgc-steps-gap) * -1);
	left: calc(var(--sgc-steps-size) / 2 - 1px);
	border-left: 2px var(--sgc-steps-line-style) var(--sgc-steps-line);
	content: "";
}

@media (max-width: 767px) {
	.sgc-steps--horizontal .sgc-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--sgc-steps-gap);
	}

	.sgc-steps--horizontal .sgc-steps__step {
		display: grid;
		grid-template-columns: var(--sgc-steps-size) minmax(0, 1fr);
		column-gap: 22px;
		text-align: left !important;
	}

	.sgc-steps--horizontal .sgc-steps__head {
		margin: 0;
	}

	.sgc-steps--horizontal .sgc-steps__body {
		padding-top: calc(var(--sgc-steps-size) / 2 - 0.8em);
	}

	.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__head::before,
	.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__head::after {
		display: none;
	}

	.sgc-steps-line-yes.sgc-steps--horizontal .sgc-steps__step:not(:last-child)::before {
		position: absolute;
		top: var(--sgc-steps-size);
		bottom: calc(var(--sgc-steps-gap) * -1);
		left: calc(var(--sgc-steps-size) / 2 - 1px);
		border-left: 2px var(--sgc-steps-line-style) var(--sgc-steps-line);
		content: "";
	}
}

/* Logo Grid */

.sgc-logos {
	--sgc-logo-h: 48px;
	--sgc-logo-opacity: 0.7;
	--sgc-logo-opacity-hover: 1;
	--sgc-logo-border: #e5e7eb;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-logos__item {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 110px;
	margin: 0;
	padding: 20px;
}

.sgc-logos__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
}

.sgc-logos__img,
.sgc-logos__name {
	opacity: var(--sgc-logo-opacity);
	transition: opacity 0.25s, filter 0.25s;
}

.sgc-logos__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: var(--sgc-logo-h);
	object-fit: contain;
}

.sgc-logos__name {
	color: #374151;
	font-size: calc(var(--sgc-logo-h) * 0.48);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-align: center;
}

.sgc-logos__item:hover .sgc-logos__img,
.sgc-logos__item:hover .sgc-logos__name,
.sgc-logos__link:focus-visible .sgc-logos__img,
.sgc-logos__link:focus-visible .sgc-logos__name {
	opacity: var(--sgc-logo-opacity-hover);
}

.sgc-logos-gray-yes .sgc-logos__img {
	filter: grayscale(1);
}

.sgc-logos-gray-yes .sgc-logos__item:hover .sgc-logos__img,
.sgc-logos-gray-yes .sgc-logos__link:focus-visible .sgc-logos__img {
	filter: none;
}

.sgc-logos--bordered .sgc-logos {
	gap: 0;
	border-top: 1px solid var(--sgc-logo-border);
	border-left: 1px solid var(--sgc-logo-border);
}

.sgc-logos--bordered .sgc-logos__item {
	border-right: 1px solid var(--sgc-logo-border);
	border-bottom: 1px solid var(--sgc-logo-border);
}

.sgc-logos--boxed .sgc-logos__item {
	border: 1px solid var(--sgc-logo-border);
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	background: #fff;
}

@media (max-width: 767px) {
	.sgc-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Business Hours */

.sgc-hours {
	--sgc-hours-line: #e5e7eb;
	--sgc-hours-line-style: solid;
	--sgc-hours-today: var(--e-global-color-accent, #a85a14);
	--sgc-hours-today-bg: transparent;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-hours__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 0;
	padding: 12px 0;
}

.sgc-hours-lines-yes .sgc-hours__row + .sgc-hours__row {
	border-top: 1px var(--sgc-hours-line-style) var(--sgc-hours-line);
}

.sgc-hours__day {
	font-weight: 600;
}

.sgc-hours__time {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.sgc-hours__row.is-closed .sgc-hours__time {
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-hours__row.is-today {
	background: var(--sgc-hours-today-bg);
	color: var(--sgc-hours-today);
}

.sgc-hours__row.is-today .sgc-hours__day,
.sgc-hours__row.is-today .sgc-hours__time {
	color: inherit;
	font-weight: 700;
}

.sgc-hours__badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: calc(99px * var(--sg-radius-scale, 1));
	background: var(--sgc-hours-today);
	color: #fff;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Contact Info */

.sgc-contact {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-contact--inline .sgc-contact {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 16px 40px;
}

.sgc-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
}

.sgc-contact__icon {
	flex: none;
	font-size: 20px;
	padding-top: 2px;
}

.sgc-contact__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sgc-contact__label {
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: color-mix(in srgb, currentColor 70%, transparent);
	text-transform: uppercase;
}

.sgc-contact__value {
	color: inherit;
	overflow-wrap: anywhere;
	text-decoration: none;
}

a.sgc-contact__value:hover,
a.sgc-contact__value:focus-visible {
	color: var(--e-global-color-accent, #a85a14);
	text-decoration: underline;
}

/* Alert */

.sgc-alert {
	--sgc-alert-accent: #2563eb;
	--sgc-alert-bg: #eff6ff;
	--sgc-alert-text: #1e3a8a;
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 20px;
	border: 1px solid color-mix(in srgb, var(--sgc-alert-accent) 25%, transparent);
	border-left: 4px solid var(--sgc-alert-accent);
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: var(--sgc-alert-bg);
	color: var(--sgc-alert-text);
	transition: opacity 0.25s ease;
}

.sgc-alert--success .sgc-alert {
	--sgc-alert-accent: #16a34a;
	--sgc-alert-bg: #f0fdf4;
	--sgc-alert-text: #14532d;
}

.sgc-alert--warning .sgc-alert {
	--sgc-alert-accent: #d97706;
	--sgc-alert-bg: #fffbeb;
	--sgc-alert-text: #78350f;
}

.sgc-alert--danger .sgc-alert {
	--sgc-alert-accent: #dc2626;
	--sgc-alert-bg: #fef2f2;
	--sgc-alert-text: #7f1d1d;
}

.sgc-alert__icon {
	display: inline-flex;
	flex: none;
	color: var(--sgc-alert-accent);
	font-size: 22px;
	line-height: 1;
}

.sgc-alert__icon svg {
	width: 1em;
	height: 1em;
}

.sgc-alert__icon i {
	line-height: 1;
}

.sgc-alert__body {
	flex: 1;
	min-width: 0;
}

.sgc-alert__title {
	margin: 0 0 4px;
	color: inherit;
	font-weight: 700;
	line-height: 1.35;
}

.sgc-alert__text {
	color: inherit;
}

.sgc-alert__text > :first-child {
	margin-top: 0;
}

.sgc-alert__text > :last-child {
	margin-bottom: 0;
}

.sgc-alert__close.sgc-alert__close {
	display: none;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -6px -10px 0 0;
	padding: 0;
	border: 0;
	border-radius: calc(6px * var(--sg-radius-scale, 1));
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0.7;
}

.sgc-alert.is-ready .sgc-alert__close.sgc-alert__close {
	display: inline-flex;
}

.sgc-alert__close.sgc-alert__close:hover,
.sgc-alert__close.sgc-alert__close:focus-visible {
	background: color-mix(in srgb, var(--sgc-alert-accent) 12%, transparent);
	color: inherit;
	opacity: 1;
}

.sgc-alert__close.sgc-alert__close svg {
	width: 18px;
	height: 18px;
}

.sgc-alert.is-dismissing {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.sgc-accordion__panel,
	.sgc-tabs__panel,
	.sgc-toc__body,
	.sgc-alert {
		transition: none;
	}
}

/* Data Table */

.sgc-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.sgc-table-wrap:focus-visible {
	outline: 2px solid var(--e-global-color-accent, #a85a14);
	outline-offset: 2px;
}

.sgc-table {
	--sgc-table-head-bg: var(--e-global-color-primary, #1f3a5f);
	--sgc-table-head-color: #fff;
	--sgc-table-bg: transparent;
	--sgc-table-stripe: #f6f7f9;
	--sgc-table-hover: #eef2f7;
	--sgc-table-border: #e5e7eb;
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: var(--sgc-table-bg);
	font-variant-numeric: tabular-nums;
}

.sgc-table th,
.sgc-table td {
	padding: 12px 16px;
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: top;
}

.sgc-table thead th {
	background: var(--sgc-table-head-bg);
	color: var(--sgc-table-head-color);
	font-weight: 700;
	white-space: nowrap;
}

.sgc-table tbody th {
	font-weight: 600;
}

.sgc-table-striped-yes .sgc-table tbody tr:nth-child(even) > * {
	background: var(--sgc-table-stripe);
}

.sgc-table-hover-yes .sgc-table tbody tr:hover > * {
	background: var(--sgc-table-hover);
}

.sgc-table-borders-rows .sgc-table tbody tr > *,
.sgc-table-borders-outer .sgc-table tbody tr > * {
	border-bottom: 1px solid var(--sgc-table-border);
}

.sgc-table-borders-grid .sgc-table th,
.sgc-table-borders-grid .sgc-table td {
	border: 1px solid var(--sgc-table-border);
}

.sgc-table-borders-outer .sgc-table-wrap {
	border: 1px solid var(--sgc-table-border);
}

.sgc-table-borders-outer .sgc-table tbody tr:last-child > * {
	border-bottom: 0;
}

.sgc-table__caption {
	padding: 10px 0 0;
	caption-side: bottom;
	font-size: 0.9em;
	color: color-mix(in srgb, currentColor 75%, transparent);
	text-align: left;
}

.sgc-table__sort.sgc-table__sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: inherit;
	cursor: pointer;
}

.sgc-table__sort.sgc-table__sort:hover,
.sgc-table__sort.sgc-table__sort:focus {
	background: transparent;
	color: inherit;
}

.sgc-table__sort.sgc-table__sort:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.sgc-table__sort.sgc-table__sort::after {
	width: 0;
	height: 0;
	border-right: 4px solid transparent;
	border-bottom: 5px solid currentColor;
	border-left: 4px solid transparent;
	content: "";
	opacity: 0.35;
}

th[aria-sort="ascending"] .sgc-table__sort.sgc-table__sort::after {
	opacity: 1;
}

th[aria-sort="descending"] .sgc-table__sort.sgc-table__sort::after {
	opacity: 1;
	transform: rotate(180deg);
}

/* Table of Contents */

.sgc-toc {
	--sgc-toc-active: var(--e-global-color-accent, #a85a14);
	padding: 20px 24px;
	border: 1px solid #e5e7eb;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	background: #fff;
}

.sgc-toc__head {
	display: flex;
	align-items: center;
}

.sgc-toc__title {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}

.sgc-toc__toggle.sgc-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.sgc-toc__toggle.sgc-toc__toggle:hover,
.sgc-toc__toggle.sgc-toc__toggle:focus {
	background: transparent;
	color: inherit;
}

.sgc-toc__toggle.sgc-toc__toggle:focus-visible {
	outline: 2px solid var(--sgc-toc-active);
	outline-offset: 4px;
}

.sgc-toc__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s;
}

.sgc-toc__toggle.sgc-toc__toggle[aria-expanded="true"] .sgc-toc__chevron {
	transform: translateY(2px) rotate(-135deg);
}

.sgc-toc__body {
	overflow: hidden;
	padding-top: 14px;
	transition: height 0.3s ease;
}

.sgc-toc__list {
	margin: 0;
	padding-left: 1.4em;
}

.sgc-toc__list .sgc-toc__list {
	margin-top: 4px;
	padding-left: 1.2em;
}

.sgc-toc__list--none {
	padding-left: 0;
	list-style: none;
}

.sgc-toc__list--none .sgc-toc__list--none {
	padding-left: 1em;
}

.sgc-toc__list li {
	margin-top: 6px;
	padding-left: 2px;
}

.sgc-toc__list li:first-child {
	margin-top: 0;
}

.sgc-toc__list a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}

.sgc-toc__list a:hover,
.sgc-toc__list a:focus-visible,
.sgc-toc__list a.is-active {
	color: var(--sgc-toc-active);
}

.sgc-toc__list a.is-active {
	font-weight: 600;
}

.sgc-toc__empty {
	margin: 0;
	color: #6b7280;
	font-size: 0.9em;
}

/* Breadcrumbs */

.sgc-breadcrumbs {
	font-size: 0.92rem;
}

.sgc-breadcrumbs__list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.sgc-breadcrumbs a {
	color: inherit;
	opacity: 0.75;
	text-decoration: none;
	transition: opacity 0.15s, color 0.15s;
}

.sgc-breadcrumbs a:hover,
.sgc-breadcrumbs a:focus-visible {
	color: var(--e-global-color-accent, #a85a14);
	opacity: 1;
}

.sgc-breadcrumbs__sep {
	display: inline-flex;
	margin: 0 8px;
	opacity: 0.5;
	line-height: 1;
}

.sgc-breadcrumbs__sep svg {
	width: 0.7em;
	height: 0.7em;
	fill: currentColor;
}

.sgc-breadcrumbs__sep i {
	font-size: 0.7em;
}

.sgc-breadcrumbs__text[aria-current="page"] {
	font-weight: 600;
}
