/* Styles for AI-generated article blocks (FAQ accordion, product cards).
 * Loaded as a real stylesheet on purpose - embedding a <style> tag inside
 * post_content gets mangled by WordPress's content filters (wptexturize
 * rewrites straight quotes to curly ones, wpautop can inject <br>/<p>
 * into it), which breaks the CSS and dumps it as visible text on the page. */

.dermasorb-faq {
	margin: 32px 0;
}

.dermasorb-faq > h2 {
	margin-bottom: 14px;
}

.dermasorb-faq details {
	border: 1px solid #e4e4e7;
	border-radius: 10px;
	margin-bottom: 10px;
	background: #fff;
}

.dermasorb-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 20px;
	font-weight: 600;
	font-size: 1.05em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.dermasorb-faq summary::-webkit-details-marker {
	display: none;
}

.dermasorb-faq summary::after {
	content: "+";
	font-size: 1.4em;
	line-height: 1;
	color: #9a9a9a;
	flex-shrink: 0;
}

.dermasorb-faq details[open] summary::after {
	content: "\2212";
}

.dermasorb-faq details[open] summary {
	border-bottom: 1px solid #eee;
}

.dermasorb-faq .dermasorb-faq-a {
	padding: 14px 20px 18px;
	color: #444;
	line-height: 1.65;
}

.dermasorb-faq .dermasorb-faq-a p {
	margin: 0;
}

.dermasorb-products {
	margin: 32px 0;
	padding: 22px;
	border-radius: 14px;
	background: #f7f7f8;
}

.dermasorb-products > h3 {
	margin: 0 0 16px;
}

.dermasorb-products-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.dermasorb-product-card {
	flex: 1 1 220px;
	display: block;
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #ececec;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, transform 0.2s;
}

.dermasorb-product-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.dermasorb-product-card img {
	width: 100%;
	height: 140px;
	object-fit: contain;
	border-radius: 8px;
	margin-bottom: 10px;
	background: #fafafa;
}

.dermasorb-product-card .dp-name {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
	color: #111;
}

.dermasorb-product-card .dp-blurb {
	display: block;
	font-size: 0.92em;
	color: #5a5a5a;
	line-height: 1.5;
}
