.gs-support-boxes {
	display: grid;
	--columns: 1;
	gap: 16px;
	margin-top: 16px;
	grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
	@media (min-width: 768px) {
		--columns: 2;
	}
	@media (min-width: 1024px) {
		--columns: 3;
	}
}

.gs-support-box {
	position: relative;
	border: 1px solid var(--growthstack-color-border);
	border-radius: 8px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05);
	background-color: #fff;

	&--faq {
		margin-top: 16px;
	}

	&__inner {
		min-height: 160px;
	}

	&__header {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		justify-content: space-between;
		min-height: 69px;
		padding: 16px 24px;
		border-bottom: 1px solid var(--growthstack-color-border);

		& > * {
			margin: 0;
		}

		svg {
			width: 100%;
			height: auto;
		}

		h3 {
			// color: #2B6450;
			font-size: 18px;
			font-weight: 600;
			text-underline-offset: 2px;
		}
	}

	&__icon {
		display: flex;
		align-items: center;
		line-height: 0;
	}

	&__content {
		padding: 16px 24px;

		& > * {
			margin: 0;
		}

		& > p:not(:last-child) {
			margin-bottom: 1rem;
		}
	}
}

.gs-support-faq {
	&__item {
		padding: 16px;
		transition: background-color 0.2s;

		&:hover {
			background-color: #fcfcfc;
		}

		&[open] .gs-support-faq__question::before {
			rotate: 90deg;
		}
	}

	&__item:not(:last-child) {
		border-bottom: 1px solid var(--growthstack-color-border);
	}

	&__question {
		cursor: pointer;
		position: relative;
		display: flex;
		align-items: center;
		gap: 16px;
		font-size: 14px;
		font-weight: 600;

		&::before {
			content: "\f345";
			display: flex;
			width: 34px;
			height: 34px;
			align-items: center;
			justify-content: center;
			background-color: #fff;
			text-align: center;
			font-family: dashicons;
			font-weight: 400;

			transition: rotate 0.2s;
		}

		&::after {
			position: absolute;
			top: 0;
			left: 0;
			content: "";
			display: block;
			width: 34px;
			height: 34px;
			box-shadow: 0 3px 3px 0 #0000000a;
			border: 1px solid var(--growthstack-color-border);
			border-radius: 50%;
			box-sizing: border-box;
		}
	}

	&__answer {
		margin-top: 8px;
		padding-left: 52px;

		ul {
			margin-left: 16px;
			list-style: disc outside;
		}

		ol {
			margin-left: 16px;
			list-style-position: outside;
		}

		li {
			margin-bottom: 0;
		}

		ul, ol, p {
			margin-top: 0;
			margin-bottom: 0.5rem;
		}

		h3 {
			margin: 1rem 0 0.5rem 0;
			font-size: 14px;
		}
	}
}
