/* Rich HTML content in product/category descriptions (SEO landing texts) */
.rich-content {
	clear: both;
	color: #333;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.65;
	word-wrap: break-word;
}

.rich-content p,
.rich-content li {
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
	margin: 0 0 1em;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
	font-family: inherit !important;
	color: #111 !important;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}

.rich-content h2 { font-size: 22px; }
.rich-content h3 { font-size: 18px; }
.rich-content h4 { font-size: 16px; }

.rich-content hr {
	border: 0;
	border-top: 1px solid #EAEDF7;
	margin: 1.5em 0;
}

.rich-content ul,
.rich-content ol {
	margin: 0 0 1.25em 1.25em;
	padding: 0;
}

.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }

.rich-content li {
	margin-bottom: 0.45em;
}

.rich-content a {
	color: inherit;
	text-decoration: underline;
}

.rich-content img {
	max-width: 100%;
	height: auto;
	display: block;
}

.rich-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 1em 0 1.5em;
	font-size: 14px;
}

.rich-content table th,
.rich-content table td {
	border: 1px solid #D8DEEA;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.rich-content table thead th,
.rich-content table thead td,
.rich-content table tr:first-child th {
	background: #F0F3FA;
	font-weight: 600;
	color: #111;
}

.rich-content table tbody td:first-child {
	font-weight: 500;
	color: #222;
}

.rich-content p strong,
.rich-content li strong,
.rich-content .rich-content-lead strong {
	font-weight: 600;
}

.rich-content blockquote {
	margin: 1em 0;
	padding: 12px 16px;
	border-left: 3px solid #EAEDF7;
	background: #F7F8FB;
}

/* Intro lead */
.rich-content .rich-content-lead {
	margin: 0 0 1.25em;
	padding: 16px 18px;
	background: #F7F8FB;
	border-left: 4px solid #2E6BE6;
	border-radius: 0 8px 8px 0;
}

.rich-content .rich-content-lead p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
}

/* Section accordions */
.rich-content .content-sections {
	margin: 0.5em 0 0;
}

.rich-content .content-section {
	margin: 0 0 10px;
	border: 1px solid #D8DEEA;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.rich-content .content-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border: 0;
	background: #F7F8FB;
	color: #111;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease;
}

.rich-content .content-section-head:hover,
.rich-content .content-section.is-open .content-section-head {
	background: #EEF2FB;
}

.rich-content .content-section-title {
	flex: 1;
	padding-right: 12px;
}

.rich-content .content-section-icon {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-right: 2px solid #555;
	border-bottom: 2px solid #555;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.rich-content .content-section.is-open .content-section-icon {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.rich-content .content-section-body {
	display: none;
	padding: 16px 18px 6px;
	border-top: 1px solid #EAEDF7;
}

.rich-content .content-section.is-open .content-section-body {
	display: block;
}

.rich-content .content-section-body > :last-child {
	margin-bottom: 0.5em;
}

/* PDF / pricing images */
.rich-content .rich-content-figure {
	margin: 1em 0 0;
	padding: 8px;
	background: #F7F8FB;
	border: 1px solid #EAEDF7;
	border-radius: 8px;
	text-align: center;
}

.rich-content .rich-content-figure img {
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* CTA block */
.rich-content .rich-content-cta {
	margin: 1.25em 0 0;
	padding: 14px 18px;
	background: #E8F5E9;
	border: 1px solid #C8E6C9;
	border-radius: 8px;
	text-align: center;
}

.rich-content .rich-content-cta p,
.rich-content .rich-content-cta {
	margin-bottom: 0;
}

/* FAQ accordion */
.rich-content .content-faq-wrap {
	margin: 1.25em 0 0;
}

.rich-content .content-faq-accordion {
	border: 1px solid #D8DEEA;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.rich-content .content-faq-accordion > .faq-section-title {
	margin: 0;
	padding: 16px 18px;
	font-size: 18px;
	border-bottom: 1px solid #EAEDF7;
	background: #F7F8FB;
}

.rich-content .content-faq-item {
	border-top: 1px solid #EAEDF7;
}

.rich-content .content-faq-item:first-of-type {
	border-top: 0;
}

.rich-content .content-faq-question {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 14px 42px 14px 18px;
	border: 0;
	background: transparent;
	color: #222;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.rich-content .content-faq-question:hover,
.rich-content .content-faq-item.is-open .content-faq-question {
	background: #F7F8FB;
}

.rich-content .content-faq-question:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 18px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.rich-content .content-faq-item.is-open .content-faq-question:after {
	transform: rotate(-135deg);
	margin-top: -3px;
}

.rich-content .content-faq-answer {
	padding: 0 18px 16px;
	color: #333;
}

.rich-content .content-faq-answer[hidden] {
	display: none;
}

.rich-content .content-faq-answer p:last-child {
	margin-bottom: 0;
}

.category_description .rich-content,
#tab-description .rich-content {
	padding-top: 0;
}

@media (max-width: 767px) {
	.rich-content {
		font-size: 14px;
	}

	.rich-content h2 { font-size: 20px; }
	.rich-content h3 { font-size: 17px; }
	.rich-content .content-section-head { font-size: 15px; }

	.rich-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
