.field-info-trigger {
  cursor: pointer;
}

div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99999999;
  background-color: white;
}

.field-info-trigger em {
  font-size: 19px;
  color: rgba(0, 0, 0, 0.5);
}

.field-info-text {
  width: 100%;
  display: inline-block;
  position: relative;
  display: none;
}

.field-info-text p {
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 12px;
  display: inline-block;
  width: 100%;
}

.custom-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.custom-switch .custom-control-label::after {
  top: calc(.25rem + 4px);
  left: calc(-2.25rem + 4px);
  width: calc(1.5rem - 8px);
  height: calc(1.5rem - 8px);
}

.custom-control-label::before {
  height: 1.5rem;
  border: #adb5bd solid 2px;
}

.custom-switch .custom-control-label::before {
  width: 2.5rem;
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
  -webkit-transform: translateX(1rem);
  transform: translateX(1rem);
}

.custom-control.custom-checkbox,
.custom-control.custom-radio {
  margin-bottom: 10px;
}

.custom-checkbox .custom-control-label::before,
.custom-radio .custom-control-label::before {
  width: 19px;
  height: 19px;
  top: 0;
  left: -25px;
}

.custom-checkbox .custom-control-label::after .custom-radio .custom-control-label::after {
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.custom-radio .custom-control-label::after {
  height: 11px;
  width: 11px;
  border-radius: 50%;
  left: -21px;
  top: 4px;
}

.custom-checkbox .custom-control-label::after {
  background-size: 12px 12px;
  top: 2px;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
  background-color: #fff;
}

.ns-ext-form {
  margin-top: 20px;
}

.ns-ext-form .card {
  margin-bottom: 30px;
}

hr {
  margin: 30px 0;
}

.custom-control-label em {
  color: #666;
  margin-left: 5px;
}

#plugin-tx_nsfaq_faq-styleSettings-toggleSymbol-faqIcon option:not(:first-child),
#plugin-tx_nsfaq_faq-styleSettings-toggleSymbol-faqIcon {
  font-family: 'FontAwesome';
}

#plugin-tx_nsfaq_faq-styleSettings-toggleSymbol-categoryIcon option:not(:first-child),
#plugin-tx_nsfaq_faq-styleSettings-toggleSymbol-categoryIcon {
  font-family: 'FontAwesome';
}

#plugin-tx_nsfaq_faq-styleSettings-toggleSymbol-faqIcon option[value=''] {
  font-family: 'Verdana' !important;
}

#typo3-docbody #typo3-inner-docbody {
  position: relative;
}

/* ============================================
   FAQ Section — Two-Column Category Layout
   ============================================ */

/* ---- Sidebar ---- */
.faq-section .faq-sidebar {
  position: sticky;
  top: 20px;
  padding-right: 15px;
  border-right: 1px solid rgba(128, 128, 128, 0.15);
  height: 100%;
}

.faq-section .faq-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #B31218;
  margin-bottom: 20px;
}

.faq-section .faq-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

@media (min-width: 1150px) {
  .faq-section .faq-sidebar .btn.btn-primary {
    display: inline-flex;
    padding: 11px 60px 10px 46px;
    text-align: left;
  }
}


.faq-section .faq-sidebar__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 30px;
  cursor: pointer;
  color: #000;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

.faq-section .faq-sidebar__item::before {
  content: none;
}

.faq-section .faq-sidebar__item:hover {
  color: #B31218;
}

.faq-section .faq-sidebar__item:hover .faq-sidebar__icon svg,
.faq-section .faq-sidebar__item:hover .faq-sidebar__icon svg path {
  fill: #B31218;
  color: #B31218;
}

/* Active sidebar item */
.faq-section .faq-sidebar__item.is-active {
  color: #B31218;
}

.faq-section .faq-sidebar__item.is-active .faq-sidebar__label {
  color: #B31218;
  font-weight: 700;
}

.faq-section .faq-sidebar__item.is-active .faq-sidebar__icon svg,
.faq-section .faq-sidebar__item.is-active .faq-sidebar__icon svg path {
  fill: #B31218;
  color: #B31218;
  stroke: none;
}

.faq-section .faq-sidebar__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.faq-section .faq-sidebar__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.faq-section .faq-sidebar__icon svg path {
  stroke: none;
}

/* Hide all panels by default */
.faq-section .faq-panel {
  display: none;
}

/* Show only the active panel */
.faq-section .faq-panel.is-active {
  display: block;
}

/* ---- Accordion overrides to match design ---- */
.faq-section .accordion-item {
  border: none;
  border-radius: 0 !important;
  background-color: transparent !important;
}

.faq-section .accordion {
  position: relative;
  z-index: 0;
}

.faq-section .accordion-button {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  padding: 20px 0 15px;
  border-bottom: 0;
  box-shadow: none !important;
  background-color: transparent !important;
  transition: all 0.2s ease 0s !important;
  width: 100%;
  text-align: left;
}

.faq-section .accordion-button * {
  transition: all 0.2s ease 0s !important;
}

@media (min-width: 992px) {
  .faq-section .accordion-button {
    padding: 25px 8.5px 25px;
    align-items: center;
    font-size: 24px;
    line-height: 28px;
  }

  .faq-section .faq-sidebar__item {
    font-size: 18px;
    line-height: 28px;
  }
}

.faq-section .accordion-button.collapsed:hover,
.faq-section .accordion-button:not(.collapsed):hover,
.faq-section .accordion-button:hover {
  color: #B31218;
  border-bottom-color: #B31218;
}

.faq-section .accordion-button * {
  margin-bottom: 0;
}

.faq-section .accordion-button:not(.collapsed) {
  color: #B31218;
  transition: all 0.2s ease 0s !important;
}

@media (min-width: 992px) {
  .faq-section .accordion-button:not(.collapsed) {
    color: #000;
  }
}

.faq-section .accordion-button {
  border: 0;
}

.faq-section .accordion-button.collapsed {
  background-color: transparent;
  color: #000;
  border-bottom: 1px solid #000;
}

.faq-section .accordion-button.collapsed:hover {
  background-color: rgba(0, 35, 69, 0.04);
}

.faq-section.bg-color-primary .accordion-button.collapsed:hover {
  color: #ffffff;
}

/* Chevron icon */
.faq-section .accordion-button::after {
  content: "chevron_down";
  font-family: "Icons-csi";
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  min-width: 15px;
  width: 15px;
  height: 16px;
  transition: all 0.2s ease 0s;
  margin-top: 3px;

  @media (max-width: 1150px) {
    color: #B31218;
  }

  @media (min-width: 768px) {
    margin-top: 0;
  }
}

.faq-section .accordion-button:not(.collapsed)::after {
  content: "chevron_up";
}

.faq-section .accordion-body {
  padding: 4px 0 22px;
  font-size: 18px;
  line-height: 28px;
  color: #000;
  background-color: transparent !important;
}

.faq-section .accordion-body a.moreLink {
  position: relative;
}

.faq-section .accordion-body a.moreLink:hover {
  text-decoration: none !important;
}

.faq-section .accordion-body a.moreLink::after {
  content: "arrow_right";
  font-family: "Icons-csi";
  font-size: 14px;
  margin-left: 5px;
  transition: margin-left 0.3s ease;
  vertical-align: baseline;
}

.faq-section .accordion-body a.moreLink:hover::after {
  margin-left: 10px;
}

@media (min-width: 992px) {
  .faq-section .accordion-body {
    padding: 4px 0 22px 8.5px;
    font-size: 20px;
  }

  .faq-section .accordion-body p {
    margin-bottom: 25px;
  }
}

.faq-section .accordion-collapse {
  border: none;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}

/* Desktop layout: visible on lg+, hidden on mobile */
.faq-section .faq-desktop {
  display: none;
}

/* Mobile layout: visible on mobile, hidden on lg+ */
.faq-section .faq-mobile {
  display: block;
  position: relative;
  z-index: 1;
}

/* ---- Mobile stacked groups ---- */
.faq-section .faq-mobile__group {
  margin-bottom: 60px;
}

.faq-section .faq-mobile__group:last-child {
  margin-bottom: 0;
}

.faq-section .faq-mobile__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.faq-section .faq-mobile__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B31218;
}

.faq-section .faq-mobile__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.faq-section .faq-mobile__icon svg path {
  fill: currentColor;
  stroke: none;
}

.faq-section .faq-mobile__title {
  color: #808080;
  font-size: 20px;
  line-height: 28px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

.faq-section .faq-sidebar__title,
.faq-section .category__title-text {
  color: #808080;
  font-size: 20px;
  line-height: 28px;
  font-weight: 900;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.faq-section .faq-sidebar__title {
  margin-bottom: 38px;
}

.faq-section .more-link {
  position: relative;
  display: inline-block;
}

.faq-section .more-link::after {
  position: absolute;
  content: '';
  width: 15px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 7px);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 17 13.2' height='20' class='img-default' width='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ed1c24' d='M10.4.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4l3.9 3.9H1c-.6 0-1 .4-1 1s.4 1 1 1h11.9L9 11.5c-.4.4-.4 1 0 1.4s1 .4 1.4 0L16 7.3c.4-.4.4-1 0-1.4L10.4.3z'%3E%3C/path%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: currentColor;
}

.faq-section .faq-headline {
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.faq-section .accordion-wrapper {
  z-index: 0;
  position: relative;
}

.faq-section .faq-headline .ce-header {
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.faq-section .accordion-button p {
  max-width: 85%;
}

.faq-section .faq-headline .ce-header::before,
.faq-section .faq-headline .ce-header::after {
  display: none;
}

@media (min-width: 768px) {
  .faq-section .faq-headline {
    margin-bottom: 50px;
  }
}

.faq-section .faq-headline * {
  margin-bottom: 0;
}

.faq-section.bg-color-secondary {
  padding: 60px 0;
}

@media (min-width: 992px) {
  .faq-section.bg-color-secondary {
    padding-bottom: 80px;
  }
}

@media (min-width: 1150px) {
  .faq-section.bg-color-secondary {
    padding: 85px 0 110px;
  }

  .faq-section .accordion-button p {
    max-width: 620px;
  }
}

.faq-section .collapse:not(.show) {
  display: none;
}

@media (min-width: 1150px) {
  .faq-section .faq-mobile {
    display: none;
  }

  .faq-section .faq-desktop {
    display: flex;
    padding-top: 30px;
  }

  .faq-desktop .col-lg-3 {
    flex: 0 0 27%;
    max-width: 27%;
  }

  .faq-desktop .col-lg-9 {
    flex: 0 0 73%;
    max-width: 73%;
    padding-left: 0;
  }

  .faq-section .category__title-text {
    padding-left: 8.5px;
  }
}

@media (min-width: 1440px) {
  .faq-section .faq-sidebar {
    padding-right: 64px;
  }
  
  .faq-section .faq-panels {
    padding-left: 20px;
  }

  .faq-desktop .col-lg-9 {
    padding-left: 15px;
  }
}
