.faq-module {
    max-width: 1512px;
    margin: 0 auto;
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 167px;
}

.faq-left-column {
  flex: 1;
  max-width: 420px;
  font-weight: 400;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 1);
}

.faq-left-column p {
  color: rgba(255, 255, 255, 0.75);
}

.faq-left-column h2 {
  font-family: "PPNeueMontreal", arial, sans-serif;
  font-weight: 500;
  font-size: 68px;
  line-height: 72px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 1);
}

.faq-right-column {
    flex: 1;
    max-width: 702px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0; 
}

.faq-item {
    background-color: #121216;
    padding: 0; 
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 96px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-top: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 0px;
    padding: 0 0 0 36px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}


.faq-list .faq-item:first-child .faq-question {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.faq-list .faq-item:last-child .faq-question {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

span.faq-question-text {
  color: #FFFFFF !important;
}

.faq-item.open .faq-question,
.faq-question:hover {
    border-top: none !important;
    border-bottom: none !important;
}

.faq-item.open:hover .faq-answer, .faq-answer p {
    opacity: 1; !important;
}

.faq-question:hover,
.faq-question:focus,
.faq-question:active {
    background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05)), linear-gradient(0deg, #121216, #121216);
   border: 0px solid !important;
  border-radius: 6px;
}


.faq-toggle {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    right: 36px;
}

.faq-toggle .line {
    position: absolute;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.line-vertical {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.line-horizontal {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-item:hover .faq-question {
   border-top: 1px solid transparent;
   border-bottom: 1px solid  transparent;
}

.faq-item.open .line-vertical {
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: left center;
}

.faq-answer {
    display: none;
    margin: 0;
    padding: 15px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05)), linear-gradient(0deg, #121216, #121216);
    color: #fff;
}

.faq-item.open{
   border-top: 1px solid rgba(255,255,255,0.1);
   border-bottom: 1px solid rgba(255,255,255,0.1);
}


.faq-item.open:hover {
   border-top: 1px solid transparent;
   border-bottom: 1px solid  transparent;
}


/* Hover nad horní sousední položkou */
.faq-item:not(.open):hover + .faq-item.open {
    border-top: 1px solid transparent !important;
}

/* Hover nad dolní sousední položkou */
.faq-item + .faq-item:not(.open):hover {
    border-bottom: 1px solid transparent !important;
}


.faq-item.open .faq-answer {
    display: block;
    border: none !important;
    background: transparent;
    padding-bottom: 58px;
}

.faq-item.open .faq-question {
    background: transparent; /* linear-gradient(0deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05)), linear-gradient(0deg, #121216, #121216); */
    border: none !important;
    outline: none !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 88px;
    padding-top: 33px;
    padding-bottom: 25px;
}

.faq-item.open:hover .faq-answer, .faq-item.open:hover .faq-question {
   background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05)), linear-gradient(0deg, #121216, #121216);
}

.faq-answer, .faq-answer p {
  font-weight: 400;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: .38px;
  opacity: 0.75;
}


@media (max-width: 768px) {
  
  .faq-module {
    margin-bottom: 99px;
    padding: 0 18px;
  }
  
    .tags-container {
    display: grid;
    gap: 6px;
    margin-top: 24px;   
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
    .faq-module {
        flex-direction: column;
    }
    .faq-left-column,
    .faq-right-column,
    .faq-question,
    .faq-item.open .faq-question,
    .faq-answer {
        width: 100%;
    }
    .faq-item.open .faq-question,
    .faq-item.open .faq-answer {
        border: none !important;
    }
  .faq-left-column h2 {
      font-weight: 500;
      font-size: 38px;
      line-height: 42px;
      letter-spacing: -.08em;
  }
  
  .faq-left-column > p {
      font-weight: 400;
      font-size: 19px;
      line-height: 26px;
      letter-spacing: .02em;
  }
  
  span.faq-question-text {
    font-size: 22px !important;
    line-height: 24px !important;
    max-width: 275px;
    text-align: left !important;
    text-wrap: wrap;
    word-break: break-word;
  }
  
  .faq-toggle {
    right: 18px;
  }
 
}
