.faq {
    padding: 40px 0 40px;
    position: relative;
}

.faq .faq-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 64px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}

.faq .faq-sidebar {
    width: 35%;
    position: sticky;
    top: 100px;
}
.faq .faq-sidebar h4 {
    font-size: 28px;
}

.faq .faq-main {
    width: 65%;
    display: flex;
    flex-direction: column;
    /* gap: 100px; */
    gap: 20px
}
.faq .faq-single h3 span svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 15px;
    height: 15px;
}
/* .faq h3 {
    font-weight: 900;
    font-size: 31px;
    margin-bottom: 29px;
} */

.faq .faq-single h3 span {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}
.faq .faq-questions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    /* display: none; */
}
.faq .download-category .faq-questions-wrapper{
    display: none;
}
.faq .download-category.active .faq-questions-wrapper{
    display: flex;
}
.faq .download-category .faq-cat-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:20px;
    padding: 15px;
    border-bottom: 1px solid var(--black-75, #c2c2c29b);
    box-shadow: 0px 0px 0px 0px var(--black-75, #5C5559);
    border-radius: 10px;
    cursor: pointer;
}
.faq .download-category .faq-cat-title h3{
    margin: 0;
    font-size: 21px;

}
.faq .download-category .faq-cat-title span{
    position: relative;
}
.faq .download-category .faq-cat-title span svg{
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 20px;
    height: 20px;
}
.faq .download-category .faq-cat-title span svg path{
    fill:black
}

.faq .download-category.active .faq-cat-title{
    box-shadow: 0px 4px 0px 0px var(--black-75, #5C5559);
}

.faq .download-category.active .faq-cat-title .fa-vertical{
    opacity: 0;
}
.faq .contact-block-inner {
    padding: 15px 24px;
    border-radius: 20px;
    border: 1px solid var(--black-50, #C2C2C2);
    display: flex;
    gap: 15px 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.faq .contact-block-inner h5 {
    margin-bottom: 30px;
}

.contact-mess__wrap{
    align-self: center;
 }
.faq .contact-mess {
     border-radius: 10px;
     background: #0FA2EC;
     border:2px solid #0FA2EC;
     transition: all 0.3s linear;
     padding: 10px 15px;
     display: flex;
     align-items: center;
     align-self: center;
     gap: 15px;
     color: #000;
     font-size: 18px;
     font-weight: 700;
     max-width: 392px;
 }
.faq .contact-mess p{
     color:#fff;
 }
.faq .contact-mess:hover {
     background:none;
     border:2px solid #0FA2EC;
 }
.faq .contact-mess:hover p {
     color:#0FA2EC;
 }
.faq .contact-mess:hover svg path {
     fill:#0FA2EC;
 }
.faq .contact-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.faq .contact-links div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq .contact-links svg {
    max-width: 65px;
}

.faq .contact-links a {
    color: #E81F76;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.2;
}

.faq .faq-menu ul, .faq .faq-menu ol {
    list-style-type: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.faq .faq-answer ul, .faq .faq-answer ol{
    margin-bottom: 25px!important;
}
.faq .faq-answer ul li, .faq .faq-answer ol li{
    margin-bottom: 15px!important;
}
.faq .faq-menu a {
    text-transform: uppercase;
}

.faq .faq-categories {
    display: flex;
    flex-direction: column;
    margin: 20px 0 30px;
    gap: 10px;
}

.faq .faq-categories h5 {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    /* text-decoration-line: underline; */
    transition: color .3s ease;
    cursor: pointer;
}

.faq .faq-categories h5:hover {
    color: #E81F76;
}

.faq .faq-single {
    padding: 15px 25px;
    border-radius: 10px;
    background: #FFF;
    border: 1px solid var(--black-75, #c2c2c29b);
    box-shadow: 0px 0px 0px 0px var(--black-75, #5C5559);
    transition: all 0.3s linear;
    cursor: pointer;
}
.faq .faq-single:hover, .faq .faq-single.active{
    box-shadow: 0px 2px 0px 0px var(--black-75, #5C5559);
}


.faq .faq-single h4 {
    position: relative;
    padding-right: 40px;
    font-size: 18px;
    font-weight: 400;
}

.faq .faq-single h4 span {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.faq .faq-single h4 span svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 15px;
    height: 15px;
}

.faq .faq-single .fa-vertical {
    opacity: 1;
    transition: opacity .3s ease;
}

.faq .faq-single.active .fa-vertical {
    opacity: 0;
}

.faq .faq-answer {
    color: #5C5559;
    font-size: 16px;
    font-weight: 400;
}

.faq .faq-answer {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 30px;
    border-top: 1px solid #C2C2C2;
    transition: border .3s ease;
}
.faq .faq-answer p{
    margin-bottom: 15px;
    font-weight: 300;
    font-size: 16px;
}
/* table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 14px;
  } */
  
/*   th, td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
  } */
  
/*   thead {
    background-color: #f5f5f5;
    font-weight: bold;
  } */
.warning{
	    padding: 20px;
    background: #f1f1f1;
    margin-bottom: 20px;
    border-radius: 10px;
}
  /* desktop */
.faq-answer table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
	margin: 1em 0;
  }
  .faq-answer table th, .faq-answer table td {
      border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
  }
  .faq-answer table thead {
    background-color: #f5f5f5;
    font-weight: bold;
  }
  
  /* mobile: karty */
  @media (max-width: 640px) {
    .faq-answer table thead {
      display: none;
    }
    .faq-answer table,  .faq-answer table tbody,  .faq-answer table tr,  .faq-answer table td {
      display: block;
      width: 100%;
    }
     .faq-answer table tr {
      margin-bottom: 12px;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 1px 2px rgba(0,0,0,.04);
      background: #fff;
    }
    .faq-answer table td {
      border: 0;
      border-bottom: 1px solid #f1f5f9;
      /* padding: 10px 12px 10px 120px;  */
      position: relative;
      min-height: 44px;              /* wygodny tap target */
      white-space: normal;
    }
   .faq-answer table td:last-child {
      border-bottom: 0;
    }
   .faq-answer table td::before {
      content: attr(data-label);
      position: absolute;
      left: 12px;
      top: 10px;
      width: 100px;                  /* szer. etykiety */
      font-weight: 600;
      opacity: .7;
    }
  }
@media (max-width:1400px) {
 .faq .contact-links a{
    font-size: 21px;
 }
 
}

@media (max-width:768px) {
    .faq .faq-wrapper {
        padding: 15px;
    }

    .faq .faq-single {
        padding: 24px;
    }

    .faq .faq-answer {
        padding-top: 15px;
        margin-top: 15px;
    }

    .faq .faq-answer p {
        font-size: 14px;
    }

}

@media (max-width:1199px) {
    .faq .faq-wrapper {
        flex-wrap: wrap;
        padding: 20px;
    }

    .faq .faq-sidebar {
        position: relative;
        top: auto;
        width: 100%;
        order: 2;
    }

    .faq .faq-main {
        width: 100%;
    }
}

@media (max-width:768px) {

    .faq .contact-links a {
        font-size: 22px;
    }

    .faq .contact-block-inner {
        padding: 20px 15px;
    }

    .faq .contact-mess {
        max-width: 100%;
        padding: 10px;
        width: 100%;
    }

    .faq .faq-sidebar {
        gap: 60px;
    }

    .faq .faq-single {
        flex-direction: column;
        padding: 20px;
        /* text-align: center; */
    }

    .faq .faq-single a {
        font-size: 14px;
    }

    .faq .contact-block-inner h4 {
        margin-bottom: 15px;
    }

}

@media (max-width:479px) {
    .faq{
        padding-bottom: 10px;
    }
    .faq .download-category .faq-cat-title h3{
        font-size: 21px;
    }
    .faq .faq-single h4 {
        font-size: 16px;
    }
    .faq .contact-links a {
        font-size: 14px;
    }
    .faq .contact-links a {
        font-size: 14px;
    }
    .faq .contact-mess{
        font-size: 14px;
    }
    .faq .container{
        padding: 0;
    }
    .faq .faq-sidebar h4 {
        font-size: 21px;
    }
}