/* Strona /faq */

.faq-page {
   display: flex;
   flex-direction: column;
   background: #000;
}

.faq-page #hero {
   overflow: hidden;
   background: #000;
}

.faq-hero-section {
   position: relative;
   box-sizing: border-box;
   display: flex;
   width: 100%;
   flex-shrink: 0;
   flex-direction: column;
   height: 339px;
   min-height: 339px;
   max-height: 339px;
   padding: 0;
   overflow: hidden;
}

@media (min-width: 1920px) {
   .faq-hero-section {
      width: 100vw;
      max-width: none;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
   }
}

.faq-hero-media {
   position: absolute;
   inset: 0;
   z-index: 0;
   display: block;
   overflow: hidden;
}

.faq-hero-media img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: 45% 50%;
}

@media (min-width: 768px) {
   .faq-hero-media img {
      object-position: center center;
   }
}

.faq-page #hero::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: 1;
   background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.1) 100%
   );
   pointer-events: none;
}

@media (max-width: 767px) {
   .faq-page #hero::after {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
   }
}

.faq-hero-content {
   position: absolute;
   z-index: 2;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 1rem;
   color: #fff;
   pointer-events: none;
}

.faq-hero-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   width: 100%;
   max-width: 1024px;
   margin-left: auto;
   margin-right: auto;
   pointer-events: auto;
}

.faq-hero-text {
   width: 100%;
   max-width: 28rem;
   justify-self: center;
   text-align: center;
}

.faq-hero-spacer {
   min-height: 1px;
}

.faq-hero-title {
   font-family: "Open Sans", sans-serif;
   font-size: 2.5rem;
   font-weight: 700;
   line-height: 1.15;
   color: #fff;
   margin: 0;
}

.faq-list-section {
   flex-shrink: 0;
   background: #000;
   color: #fff;
   padding: 2.5rem 1rem 4rem;
}

.faq-list-inner {
   width: 100%;
   max-width: 48rem;
   margin: 0 auto;
}

.faq-group {
   margin-bottom: 2.5rem;
}

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

.faq-group-title {
   font-family: "Open Sans", sans-serif;
   font-size: 1.125rem;
   font-weight: 700;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   margin: 0 0 1rem;
   color: #fff;
}

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

.faq-item summary {
   cursor: pointer;
   list-style: none;
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 1rem;
   padding: 1rem 0;
   font-family: "Open Sans", sans-serif;
   font-size: 1rem;
   font-weight: 600;
   line-height: 1.4;
   color: #fff;
}

.faq-item summary::-webkit-details-marker {
   display: none;
}

.faq-item summary::after {
   content: "+";
   flex-shrink: 0;
   width: 1.25rem;
   text-align: center;
   font-size: 1.25rem;
   font-weight: 400;
   line-height: 1;
   color: #c1b283;
}

.faq-item[open] summary::after {
   content: "–";
}

.faq-answer {
   padding: 0 0 1.25rem;
   font-family: "Open Sans", sans-serif;
   font-size: 0.95rem;
   font-weight: 400;
   line-height: 1.55;
   color: rgba(255, 255, 255, 0.88);
}

.faq-answer p {
   margin: 0 0 0.75rem;
}

.faq-answer p:last-child {
   margin-bottom: 0;
}

@media (min-width: 768px) {
   .faq-hero-content {
      padding: 1.5rem 2rem;
   }

   .faq-list-section {
      padding: 3.5rem 1.5rem 5rem;
   }

   .faq-group-title {
      font-size: 1.25rem;
   }

   .faq-item summary {
      font-size: 1.0625rem;
   }
}

@media (min-width: 1024px) {
   .faq-hero-content {
      padding: 1.5rem 3rem;
   }
}
