/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* FAQ (inc/faq.php): accordion a <details>, uguale nella pagina /faq/ e nei widget per categoria */
.ftfaq { max-width: 960px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--5xl); }
.ftfaq__title { margin: 0; }
.ftfaq__group { display: flex; flex-direction: column; }
.ftfaq__cat { margin: 0 0 var(--2xl); font-size: 32px; line-height: 42px; font-weight: 600; }
.ftfaq__item { border-top: 1px solid var(--border-secondary); scroll-margin-top: 120px; }
.ftfaq__group .ftfaq__item:last-child { border-bottom: 1px solid var(--border-secondary); }
.ftfaq__q { cursor: pointer; list-style: none; position: relative; padding: var(--2xl) var(--7xl) var(--2xl) 0; font-size: 22px; line-height: 30px; font-weight: 500; }
.ftfaq__q::-webkit-details-marker { display: none; }
.ftfaq__q::after { content: "+"; position: absolute; right: var(--xs); top: var(--2xl); width: 32px; height: 32px; border: 1px solid currentcolor; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; }
.ftfaq__item[open] > .ftfaq__q::after { content: "\2212"; }
.ftfaq__q:hover, .ftfaq__q:focus-visible { color: var(--text-brand); }
.ftfaq__a { padding: 0 0 var(--4xl); font-size: 18px; line-height: 30px; max-width: 800px; }
.ftfaq__a > :first-child { margin-top: 0; }
.ftfaq__a p, .ftfaq__a ul, .ftfaq__a ol { margin: 0 0 var(--lg); }
.ftfaq__a ul, .ftfaq__a ol { padding-left: var(--3xl); }
.ftfaq__a li { margin-bottom: var(--sm); }
.ftfaq__a a { text-decoration: underline; text-underline-offset: 3px; }
.ftfaq__a a:hover { color: var(--text-brand); }
@media (max-width: 900px) {
  .ftfaq__q { font-size: 18px; line-height: 26px; padding-right: var(--6xl); }
  .ftfaq__cat { font-size: 26px; line-height: 35px; }
  .ftfaq__item { scroll-margin-top: 88px; }
}

/* Selettore di lingua IT / EN (footer, shortcode [ftech_lang_switch]) */
.lang-switch { display: inline-flex; align-items: center; gap: 0.5em; font-size: inherit; line-height: 1; }
.lang-switch__item { color: inherit; text-decoration: none; opacity: 0.7; }
a.lang-switch__item:hover, a.lang-switch__item:focus-visible { opacity: 1; text-decoration: underline; }
.lang-switch__item.is-current { opacity: 1; font-weight: 600; }
.lang-switch__sep { opacity: 0.4; }
/* Nel footer sta sulla riga dei link legali, a destra (su mobile resta sotto, a sinistra) */
#brxe-lgsw01 { flex: 0 0 auto; width: max-content; }
@media (min-width: 768px) { #brxe-lgsw01 { margin-left: auto; } }
