/*
 * faqs.css — FAQ accordion (core/details blocks) on /faqs/.
 *
 * Geometry ported from the Magic Castle SiteOrigin accordion
 * (sow-accordion-default, magiccastle.com/faqs): 10px between panels,
 * 15px/30px question bar at 20px, answer area 30px/30px/15px at 18px,
 * 3px borders with 3px radius. Colors adapted to the parchment — the
 * MC grays (#828282/#626262) would fight the parchment texture; the
 * open/hover red #98282a is the MC accordion's own open-state color.
 */

/* Panel: MC .sow-accordion-panel { margin-bottom: 10px } + .panel-border box */
.parchment details.wp-block-details {
	margin: 0 0 10px;
	border: 3px solid #c9a462;
	border-radius: 3px;
	overflow: hidden; /* rounds the square summary corners at the top */
	background: rgba(255, 252, 242, 0.55);
}

/* Question bar: MC .sow-accordion-panel-header */
.parchment details.wp-block-details > summary {
	display: block;
	list-style: none; /* drop the native disclosure triangle */
	cursor: pointer;
	padding: 15px 30px;
	background: #d5b273;
	font-size: 20px;
	line-height: 1.3;
	color: #3c0d0d;
}
.parchment details.wp-block-details > summary::-webkit-details-marker {
	display: none;
}
.parchment details.wp-block-details > summary:hover,
.parchment details.wp-block-details > summary:focus {
	color: #98282a;
}
.parchment details.wp-block-details[open] > summary {
	color: #98282a; /* MC: .sow-accordion-panel-open header color */
}

/* +/− affordance where the MC accordion showed its chevrons (right side) */
.parchment details.wp-block-details > summary::after {
	content: "+";
	float: right;
	font-size: 22px;
	font-weight: 700;
	line-height: inherit;
	color: inherit;
}
.parchment details.wp-block-details[open] > summary::after {
	content: "\2212"; /* minus sign */
}

/* Answer area: MC .sow-accordion-panel-border padding 30/30/15, font 18px.
   Paragraphs sit directly in <details>, so the padding is per-paragraph
   with first/last shaping the 30/15 edges. */
.parchment details.wp-block-details > p {
	margin: 0;
	padding: 12px 30px 0;
	font-size: 18px;
	line-height: 150%;
}
.parchment details.wp-block-details > p:first-of-type {
	padding-top: 30px;
}
.parchment details.wp-block-details > p:last-of-type {
	padding-bottom: 15px;
}
