/* 6.14.50: legacy FAQ page (.page-faqs) styles moved out of layout/base.html (they printed inline on every page). Loaded render-blocking, at the same cascade position, on page_type "page" only. */
.page-faqs .custom-accordion {
      width: 100%;
      margin: 0 auto;
    }

    .page-faqs .page-content.page-content--centered { width: 100%; }
    .page-faqs h1.page-heading { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; margin-top: 2rem; }
    .page-faqs .custom-accordion-item.active .custom-accordion-panel ul li::marker {
      color: #713592;
      font-size: 18px;
    }
    .page-faqs .custom-accordion-item {
      margin-bottom: 17px;
      border: 1px solid #969696;
      border-radius: 5px;
    }
  
    .page-faqs .custom-accordion-button {
      width: 100%;
      text-align: left;
      background-color: #f4f4f4;
      color: #333;
      border: none;
      padding: 15px;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      outline: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background-color 0.3s ease;
      position: relative;
    }
  
    .page-faqs .custom-accordion-button:hover {
      background-color: #ccc;
    }
  
    .page-faqs .custom-accordion-panel {
      background-color: #fff;
      padding: 0 15px;
      transition: max-height 0.3s ease, padding 0.3s ease;
      display: none;
    }
  
    .page-faqs .custom-accordion-panel p {
      margin: 0;
      color: #333;
      font-size: 14px;
      font-family: 'Playfair Display', Georgia, serif;
      font-weight: 400;
  }

    .page-faqs .custom-accordion-item.active .custom-accordion-panel {
      display: block;
    }
  
  
    .page-faqs .custom-accordion-item.active .custom-accordion-panel {
      padding: 15px;
      background: #FFFFFF 0% 0% no-repeat padding-box;
      border-radius: 0px 0px 5px 5px;
      opacity: 1;
  }
  .page-faqs .custom-accordion-item.active button.custom-accordion-button {
      border-bottom: unset;
      border-bottom-left-radius: unset;
      border-bottom-right-radius: unset;
  }
  
  .page-faqs .custom-accordion-button::after {
      content: "";
      position: absolute;
      right: 18px;
      width: 17px;
      height: 10px;
      background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216.551%22 height=%2210.397%22 viewBox=%220 0 16.551 10.397%22%3E%3Cpath id=%22Path_32374%22 data-name=%22Path 32374%22 d=%22M0,7.215,7.215,0,14.43,7.215%22 transform=%22translate(15.49 8.276) rotate(180)%22 fill=%22none%22 stroke=%22%23333%22 stroke-width=%223%22/%3E%3C/svg%3E');
      background-size: cover;
      transition: transform 0.3s ease;
    }
  
    .page-faqs .custom-accordion-panel p a {
      font-size: 14px;
      font-weight: bold;
      color: #191919;
      font-family: 'Playfair Display', Georgia, serif;
  }
    .page-faqs .custom-accordion-item.active .custom-accordion-button::after { transform: rotate(180deg); }

    .page-faqs button.custom-accordion-button {
      color: #333333;
      font-size: 16px;
      font-weight: bold;
      background: #ccc 0% 0% no-repeat padding-box;
      border-radius: 5px;
  }
  
  .page-faqs .custom-accordion-item .custom-accordion-panel ul { margin-left: 1.6rem; }

  .page-faqs .custom-accordion-item.active .custom-accordion-panel ul li {
      color: #191919;
      font-size: 14px;
      font-family: 'Playfair Display', Georgia, serif;
      font-weight: 400;
  }

  @media (max-width:800px) {
      .page-faqs button.custom-accordion-button {
          font-size: 16px;
          padding-right: 4rem;
      }
      
    .page-faqs .custom-accordion-panel p {
      font-size: 14px;
    }

    .page-faqs .custom-accordion {
      width: 100%;
    }
  }


    .page-faqs .faq-container {
      margin-top: 20px;
    }

    /* 6.14.4: equal-height Concept C tabs; override inline widths in the page body */
    .page-faqs .taba,
    .page-faqs ul.taba {
      list-style: none;
      display: flex;
      flex-wrap: nowrap;
      align-items: stretch;
      justify-content: stretch;
      border: 1px solid #ECE5EE;
      border-radius: 8px;
      margin: 0;
      padding: 0;
      overflow: hidden;
      background: #fff;
    }
    .page-faqs .page-page ol.breadcrumbs {
        display: none !important;
    }

  .page-faqs ul.taba .tab,
  .page-faqs ul.taba li.tab {
      flex: 1 1 0;
      width: auto !important;
      max-width: none !important;
      min-width: 0;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 10px 12px;
      margin: 0;
      cursor: pointer;
      box-sizing: border-box;
      background: #fff;
      color: #462C59;
      font-family: Jost, sans-serif;
      font-size: 16px;
      font-weight: 500;
      line-height: 1.25;
      border: 0;
      border-right: 1px solid #ECE5EE;
      border-radius: 0;
      white-space: normal;
  }
  .page-faqs ul.taba li.tab:last-child {
      border-right: 0;
  }
  .page-faqs ul.taba li.tab:first-child {
      border-left: 0;
  }

  .page-faqs ul.taba .tab.active,
  .page-faqs ul.taba li.tab.active {
      background: #713592;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      border-right-color: #ECE5EE;
  }

    .page-faqs .taba-content {
      padding: 20px 0;
      border: unset;
    }

    .page-faqs .tab-panel {
      display: none;
    }

    .page-faqs .tab-panel.active {
      display: block;
    }

    /* Accordion */
    .page-faqs .custom-accordion-panel {
      display: none;
      padding: 10px;
      background: #f9f9f9;
    }

    .page-faqs .custom-accordion-item.active .custom-accordion-panel {
      display: block;
    }

    /* 6.14.4: keep equal-height tabs on phone as a 2x2 wrap; hide the duplicate accordion copy */
    @media screen and (max-width: 800px) {
      .page-faqs .taba,
      .page-faqs ul.taba {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex-wrap: unset;
      }
      .page-faqs ul.taba .tab,
      .page-faqs ul.taba li.tab {
        flex: none;
        width: auto !important;
        font-size: 14px;
        min-height: 80px;
        border-right: 1px solid #ECE5EE;
        border-bottom: 1px solid #ECE5EE;
      }
      .page-faqs ul.taba li.tab:nth-child(2n) { border-right: 0; }
      .page-faqs ul.taba li.tab:nth-child(n+3) { border-bottom: 0; }
      .page-faqs .taba-content { padding: 16px 0 0; }
      .page-faqs .faq-container { display: block; }
      .page-faqs .faq-wrapper { display: none !important; }

      .page-faqs .custom-accordion {
        border: 1px solid #ECE5EE;
        margin-bottom: 10px;
      }
    }

  .page-faqs .faq-wrapper { font-family: Jost, sans-serif; }

  .page-faqs .toggle-list {
    border: 0px solid #e0e0e0;
    border-radius: 0px;
    margin-top: 0px;
  }
  .page-faqs .toggle-item { padding: 0px 0px; }

  .page-faqs .toggle-trigger {
      color: #333;
      cursor: pointer;
      padding: 15px;
      width: 100%;
      text-align: left;
      outline: none;
      font-size: 20px;
      transition: background-color 0.3sease;
      background: #FFFFFF 0% 0% no-repeat padding-box;
      border: 1px solid #A2A2A2;
      border-radius: 0px;
      position: relative;
      margin: 10px 0;
      font-family: 'Playfair Display', Georgia, serif;
      font-weight: 400;
  }

  .page-faqs h1.page-heading {
      /*display: none;*/
  }

  .page-faqs h1.page-heading.heading-custom { font-display: block; }

  .page-faqs .toggle-trigger.active {
      background: #713592 0% 0% no-repeat padding-box;
      border: 0px solid #713592;
      border-radius: 0px;
      color: white;
      font-size: 20px;
      position: relative;
      font-weight: 400;
      font-family: 'Playfair Display', Georgia, serif;
  }

  .page-faqs .toggle-panel {
    display: none;
    padding-top: 0px;
    background-color: white;
    border-top: 0px solid #e0e0e0;
  }

  .page-faqs .toggle-panel p {
    margin: 0;
  }

  .page-faqs button.toggle-trigger.active:before {
    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICA8ZyBpZD0iR3JvdXBfNDIxMTgiIGRhdGEtbmFtZT0iR3JvdXAgNDIxMTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zMjQuNSAtMjYxLjUpIj4KICAgIDxsaW5lIGlkPSJMaW5lXzg5MDAiIGRhdGEtbmFtZT0iTGluZSA4OTAwIiB4Mj0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMyNC41IDI3MS41KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz4KICAgIDxsaW5lIGlkPSJMaW5lXzg5MDEiIGRhdGEtbmFtZT0iTGluZSA4OTAxIiB4Mj0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMzNC41IDI2MS41KSByb3RhdGUoOTApIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgb3BhY2l0eT0iMCIvPgogIDwvZz4KPC9zdmc+');
      position: absolute;
      right: 15px;
      top: 18px;
      height: 20px;
      width: 25px;
      display: none;
  }


  .page-faqs button.toggle-trigger:before {
    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICA8ZyBpZD0iR3JvdXBfNDIxMTgiIGRhdGEtbmFtZT0iR3JvdXAgNDIxMTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zMjQuNSAtMjYxLjUpIj4KICAgIDxsaW5lIGlkPSJMaW5lXzg5MDAiIGRhdGEtbmFtZT0iTGluZSA4OTAwIiB4Mj0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMyNC41IDI3MS41KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDExZTQxIiBzdHJva2Utd2lkdGg9IjIiLz4KICAgIDxsaW5lIGlkPSJMaW5lXzg5MDEiIGRhdGEtbmFtZT0iTGluZSA4OTAxIiB4Mj0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMzNC41IDI2MS41KSByb3RhdGUoOTApIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMTFlNDEiIHN0cm9rZS13aWR0aD0iMiIvPgogIDwvZz4KPC9zdmc+');
      position: absolute;
      right: 25px;
      height: 20px;
      width: 20px;
      display: none;
  }


  @media (max-width:800px) {
      .page-faqs .faq-wrapper {
          display: none !important;
      }
      .page-faqs .faq-container {
          display: block;
      }
  }

  @media (min-width:801px) {
      .page-faqs .faq-wrapper {
          display: none;
      }
  }

  @media (max-width:800px) {
    .page-faqs h1.page-heading {
      margin-top: 1rem;
      margin-bottom: 1rem;
    }
  }

  @media (min-width:801px) and (max-width: 1100px) {
    .page-faqs ul.taba .tab,
    .page-faqs ul.taba .tab.active { font-size: 14px; padding: 10px 8px; }
  }
