/* FAQ – style uzupełniające do Bootstrap 5 i style.css */

.faq-hero {
  padding: 2.2rem 0 3.6rem;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd 0%, #0756b5 100%);
}

.faq-hero .breadcrumb,
.faq-hero .breadcrumb a {
  color: rgba(255,255,255,.85);
}

.faq-hero .breadcrumb-item.active {
  color: #fff;
}

.faq-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.65);
}

.faq-heading {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .9;
}

.faq-heading h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.faq-heading > p {
  max-width: 720px;
  margin: 0 auto 1.7rem;
  color: rgba(255,255,255,.92);
  font-size: 1.08rem;
  line-height: 1.65;
}

.faq-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 690px;
  margin: 0 auto;
  padding: .35rem .5rem .35rem 1.15rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
}

.faq-search-wrap > i {
  color: #0d6efd;
  font-size: 1.2rem;
}

.faq-search-wrap .form-control {
  min-height: 48px;
  border: 0;
  box-shadow: none;
  font-size: 1rem;
}

.faq-search-wrap .btn {
  color: #687383;
  text-decoration: none;
}

.faq-search-hint {
  margin-top: .65rem;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
}

.faq-content {
  padding-top: 2.7rem;
  padding-bottom: 4rem;
}

.faq-categories {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 3rem;
}

.faq-category {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem .45rem;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  background: #fff;
  color: #263548;
  font: inherit;
  font-weight: 650;
  text-align: center;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.faq-category i {
  color: #0d6efd;
  font-size: 1.55rem;
}

.faq-category:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
}

.faq-category.active {
  border-color: #0d6efd;
  background: #0d6efd;
  color: #fff;
}

.faq-category.active i {
  color: #fff;
}

.faq-results-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.faq-results-line h2 {
  margin: 0;
  color: #172638;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 750;
}

.faq-results-line > span {
  color: #6c757d;
  white-space: nowrap;
  font-size: .9rem;
}

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

.faq-group-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .85rem;
  color: #0d6efd;
  font-size: 1.2rem;
  font-weight: 750;
}

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

.faq-accordion {
  display: grid;
  gap: .65rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e3e8ef !important;
  border-radius: 10px !important;
  background: #fff;
}

.faq-item .accordion-button {
  padding: 1.1rem 1.25rem;
  color: #233247;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
  box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
  background: #f1f6ff;
  color: #0756b5;
}

.faq-item .accordion-button:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);
}

.faq-item .accordion-body {
  padding: .25rem 1.25rem 1.25rem;
  color: #4d5968;
  line-height: 1.75;
}

.faq-no-results {
  padding: 3rem 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
}

.faq-no-results > i {
  color: #0d6efd;
  font-size: 2rem;
}

.faq-no-results h3 {
  margin: .8rem 0 .5rem;
  font-size: 1.25rem;
  font-weight: 750;
}

.faq-no-results p {
  color: #667085;
}

.faq-contact {
  padding: 3rem 0;
  color: #fff;
  background: #0d6efd;
}

.faq-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.faq-contact h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.faq-contact p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
}

.faq-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  flex-shrink: 0;
}

.faq-contact-actions .btn {
  font-weight: 650;
}

.faq-footer {
  padding: 1.25rem 0;
  background: #f1f3f5;
  color: #5b6572;
  font-size: .88rem;
  text-align: center;
}

.faq-footer .container {
  min-height: 34px;
}

.faq-item[hidden],
.faq-group[hidden] {
  display: none !important;
}

@media (max-width: 991.98px) {
  .faq-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .faq-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .faq-hero {
    padding: 1.4rem 0 2.5rem;
  }

  .faq-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 2.2rem;
  }

  .faq-category {
    min-height: 86px;
    flex-direction: row;
    justify-content: flex-start;
    padding: .7rem .85rem;
    text-align: left;
  }

  .faq-category i {
    font-size: 1.35rem;
  }

  .faq-results-line {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }

  .faq-item .accordion-button {
    padding: 1rem;
    font-size: .96rem;
  }

  .faq-item .accordion-body {
    padding: .2rem 1rem 1rem;
  }

  .faq-contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .faq-contact-actions .btn {
    width: 100%;
  }
}
