/* Core blocks inside the theme's own layouts — loaded on the site and in the editor.
   (inc/editor-experience.php)                                                     */

/* Separator block = the theme's short black rule (same look as the old <hr> in section text). */
.text-component hr.wp-block-separator {
	border: none;
	opacity: 1;
}

/* ------------------------------------------------------------------ FAQ list
   A group with the class "lux-faq-accordion": headings + Details blocks (question / answer). */
.lux-faq-accordion { max-width: 1100px; margin: 40px auto 60px; padding: 0 20px; }
.lux-faq-accordion h2 { margin: 30px 0 10px; padding-top: 20px; border-top: 2px solid #ccdec1; font-size: 22px; color: #333; }
.lux-faq-accordion h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.lux-faq-accordion details { border-bottom: 1px solid #e5e5e5; padding: 0; }
.lux-faq-accordion details > summary { cursor: pointer; font-weight: 600; padding: 16px 40px 16px 8px; list-style: none; position: relative; color: #2a2a2a; font-size: 16px; transition: color 0.2s; }
.lux-faq-accordion details > summary::-webkit-details-marker { display: none; }
.lux-faq-accordion details > summary:hover { color: #B88746; }
.lux-faq-accordion details > summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: #B88746; transition: transform 0.2s; }
.lux-faq-accordion details[open] > summary::after { content: "-"; }
.lux-faq-accordion details > :not(summary) { margin: 0; padding: 0 8px 20px; color: #555; line-height: 1.6; }
.lux-faq-accordion details > :not(summary) a { color: #B88746; }

/* Editor only: let editors see answers while they edit a closed question. */
.editor-styles-wrapper .lux-faq-accordion details:not([open]) > summary { color: #2a2a2a; }
