/* ============================================================
   Help — strona główna /pomoc
   (resolved from HelpPage.module.scss)
   ============================================================ */

.help-home {
  width: 100%;
  background: #ffffff;
  color: #22252a;
  padding: 73px 0 96px;
  padding: 73px 0 0;
}

.help-home__secondary{
  padding-bottom: 96px;
}

@media only screen and (max-width: 991px) {
  .help-home {
    padding: 48px 0 72px;
    padding: 48px 0 0;
  }

  .help-home__secondary{
    padding-bottom: 72px;
  }
}

.help-home__container {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

@media only screen and (max-width: 991px) {
  .help-home__container {
    max-width: calc(100% - 32px);
  }
}

.help-home__heading {
  margin: 0;
  color: #22252a;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 33.6px;
}

/* ─── Tabs ───────────────────────────────────────────────────────────────── */

.help-tabs {
  position: relative;
  width: 100%;
  margin-top: 53px;
  border-bottom: 1px solid #dfe1e6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

@media only screen and (max-width: 991px) {
  .help-tabs {
    margin-top: 32px;
    justify-content: start;
  }
}

.help-tab {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 8px;
  position: relative;
  min-height: 27px;
  color: #22252a;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.6px;
}

.help-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: '';
}

.help-tab--active {
  color: #0daa76;
}

.help-tab--active::after {
  background: #0daa76;
}

/* ─── Search ─────────────────────────────────────────────────────────────── */

.help-search {
  width: 792px;
  max-width: 100%;
  height: 40px;
  margin: 40px auto 40px;
  padding: 0 40px 0 16px;
  border: 1px solid #dfe1e6;
  border-radius: 20px;
  background: #ffffff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

@media only screen and (max-width: 991px) {
  .help-search {
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.help-search:focus-within {
  border-color: #e40148;
}

.help-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #22252a;
  background: transparent;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

.help-search input::placeholder {
  color: #9096a3;
}

.help-search input::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

.help-search__icon {
  flex: 0 0 auto;
  color: #9096a3;
  display: block;
}

/* ─── Grid + cards ───────────────────────────────────────────────────────── */

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

@media only screen and (max-width: 991px) {
  .help-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
}

.help-grid[hidden] {
  display: none;
}

.help-card {
  border: 8px solid #f8f9fb;
  border-radius: 20px;
  background: #ffffff;
  min-height: 379px;
  padding: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: column nowrap;
  gap: 24px;
}

.help-card[hidden] {
  display: none;
}

@media only screen and (max-width: 640px) {
  .help-card {
    min-height: auto;
    padding: 24px;
    border-width: 6px;
  }
}

.help-card h2 {
  margin: 0;
  color: #020408;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 33.6px;
}

@media only screen and (max-width: 640px) {
  .help-card h2 {
    font-size: 24px;
    line-height: 28.8px;
  }
}

.help-card ul {
  width: 100%;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: column nowrap;
  gap: 16px;
}

.help-card__question-link {
  color: #22252a;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22.4px;
}

.help-card__question-link:hover {
  color: #e40148;
}

.help-card__more {
  min-width: auto;
  margin-top: auto;
}

/* ─── Empty state ────────────────────────────────────────────────────────── */

.help-empty {
  border: 8px solid #f8f9fb;
  border-radius: 20px;
  background: #ffffff;
  width: 792px;
  max-width: 100%;
  margin: 56px auto 0;
  padding: 40px;
  text-align: center;
}

.help-empty[hidden] {
  display: none;
}

.help-empty h2 {
  margin: 0 0 12px;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 33.6px;
}

.help-empty p {
  margin: 0;
  color: #9096a3;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

@media only screen and (max-width: 991px) {
  .help-nav{
      order:2;
  }
}
/* ============================================================
   Help — strona kategorii /pomoc/:audience/:category
   (resolved from HelpCategoryPage / HelpCategoryHeader /
    HelpCategoryNav / HelpCategoryNavItem / HelpCategoryContent /
    HelpBreadcrumbs .module.scss)
   ============================================================ */

.help-category {
  width: 100%;
  padding: 73px 0 96px;
  background: #ffffff;
  color: #22252a;
}

@media only screen and (max-width: 991px) {
  .help-category {
    padding: 48px 0 72px;
  }
}

.help-category__container {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

@media only screen and (max-width: 991px) {
  .help-category__container {
    max-width: calc(100% - 32px);
  }
}

.help-category__layout {
  display: grid;
  grid-template-columns: 307px minmax(0, 1fr);
  gap: 42px;
  margin-top: 56px;
}

@media only screen and (max-width: 991px) {
  .help-category__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
}

/* ─── Search (z chipami) ─────────────────────────────────────────────────── */

.help-csearch {
  width: 792px;
  max-width: 100%;
  min-height: 40px;
  margin: 40px auto 0;
  padding: 4px 16px;
  border: 1px solid #dfe1e6;
  border-radius: 20px;
  background: #ffffff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

@media only screen and (max-width: 991px) {
  .help-csearch {
    margin-top: 32px;
  }
}

.help-csearch:focus-within {
  border-color: #e40148;
}

.help-csearch__terms {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row wrap;
  gap: 8px;
}

.help-csearch__input-wrapper {
  min-width: 160px;
  flex: 1;
}

.help-csearch__input {
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #22252a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.help-csearch__input:focus {
  border: 0;
}

.help-csearch__input::placeholder {
  color: #9096a3;
}

.help-csearch__input::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

/* ─── Tag chip (deletable) — inline (brak w produkcyjnym redesign-components) ─ */

.tag-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  border-radius: 20px;
  border: none;
  padding: 3px 13px;
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: normal;
  white-space: nowrap;
  cursor: default;
  background-color: rgba(13, 170, 118, 0.15);
  color: #0daa76;
}

.tag-chip--deletable {
  background-color: #0daa76;
  color: #ffffff;
  padding-left: 12px;
  padding-right: 5px;
  gap: 4px;
}

.tag-chip--deletable .tag-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.tag-chip__delete-btn {
  appearance: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.tag-chip__delete-btn:focus-visible {
  outline: 2px solid #e40148;
  outline-offset: 2px;
}

.tag-chip__icon {
  flex-shrink: 0;
  color: inherit;
  display: block;
}

/* ─── Nav (sidebar) ──────────────────────────────────────────────────────── */

.help-nav ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-flow: column nowrap;
  gap: 0;
}

.help-nav__item {
  color: #22252a;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.6px;
}

.help-nav__item a {
  box-sizing: border-box;
  min-height: 43px;
  width: 100%;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
}

.help-nav__item a:hover {
  color: #e40148;
}

.help-nav__item--active > a,
.help-nav__item--open > a {
  /*
  background: #22252a;
  color: #ffffff;
  */
}

.help-nav__item > a > .accordion__icon--minus {
  display: none;
}

.help-nav__item > a > .accordion__icon--plus {
  display: block;
}

.help-nav__item.help-nav__item--open > a > .accordion__icon--minus {
  display: block;
}

.help-nav__item.help-nav__item--open > a > .accordion__icon--plus {
  display: none;
}

.help-nav__children {
  padding: 0;
  background: #f8f9fb;
}

.help-nav__children .help-nav__item {
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
}

.help-nav__children .help-nav__item a {
  min-height: 48px;
  padding-left: 32px;
  font-size: 16px;
  line-height: 22.4px;
}

.help-nav__children .help-nav__item a:hover {
  color: #e40148;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.help-nav__children .help-nav__item--active > a {
  background: #22252a;
  color: #f8f9fb;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  border-radius: 5px;
}

/* ─── Content ────────────────────────────────────────────────────────────── */

.help-content {
  min-width: 0;
}

.help-content__title {
  margin: 18px 0 32px;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  font-size: 31px;
  font-style: normal;
  font-weight: 400;
  line-height: 37.2px;
  letter-spacing: -1px;
}

@media only screen and (max-width: 991px) {
  .help-content__title {
    font-size: 28px;
    line-height: 33.6px;
    letter-spacing: normal;
  }
}

.help-content__description {
  max-width: 860px;
  margin: 0;
  color: #22252a;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

.help-content__faq {
  margin-top: 42px;
}

.help-content__faq h2 {
  margin: 0 0 24px;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 33.6px;
}

/* ─── Search results ─────────────────────────────────────────────────────── */

.help-results {
  margin-top: 48px;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-flow: column nowrap;
  gap: 0;
}

.help-results__item {
  min-height: 72px;
  border-bottom: 1px solid #dfe1e6;
  color: #22252a;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
  gap: 24px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

.help-results__item:hover {
  color: #e40148;
}

.help-results__item[hidden] {
  display: none;
}

.help-results__icon {
  display: block;
  flex-shrink: 0;
}

/* ─── Empty (search) ─────────────────────────────────────────────────────── */

.help-content__empty {
  padding: 40px 0;
}

.help-content__empty h2 {
  margin: 0 0 12px;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 33.6px;
}

.help-content__empty p {
  margin: 0;
  color: #9096a3;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

/* ─── Breadcrumbs ────────────────────────────────────────────────────────── */

.help-breadcrumbs {
  color: #22252a;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row wrap;
  gap: 6px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.help-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  line-height: 19.6px;
  font-style: normal;
  font-weight: 400;
}

.help-breadcrumbs a:hover {
  color: #e40148;
}

/* ============================================================
   Help — strona artykułu /pomoc/artykul/:audience/:category
   (resolved from HelpArticlePage / HelpArticleContent .module.scss)
   Nawigacja, breadcrumbs i accordion współdzielone z help-category.css
   i accordion.css.
   ============================================================ */

.help-article {
  width: 100%;
  padding: 90px 0 96px;
  background: #ffffff;
  color: #22252a;
}

@media only screen and (max-width: 991px) {
  .help-article {
    padding: 48px 0 72px;
  }
}

.help-article__container {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

@media only screen and (max-width: 991px) {
  .help-article__container {
    max-width: calc(100% - 32px);
  }
}

.help-article__header {
  margin-bottom: 42px;
}

.help-article__title {
  margin: 18px 0 0;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -1px;
}

@media only screen and (max-width: 991px) {
  .help-article__title {
    font-size: 28px;
    line-height: 33.6px;
    letter-spacing: normal;
  }
}

.help-article__layout {
  display: grid;
  grid-template-columns: 307px minmax(0, 1fr);
  gap: 42px;
}

@media only screen and (max-width: 991px) {
  .help-article__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.help-article__content {
  min-width: 0;
}

.help-article__content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
}

.help-article__description {
  max-width: 940px;
  margin: 0;
  color: #22252a;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

.help-article__faq h2 {
  margin: 0 0 24px;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 33.6px;
}

.help-article__description h2,
.help-article__description h3 {
  margin: 0 0 18px;
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: 0;
}

@media only screen and (max-width: 991px) {
  .help-article__section {
    margin-top: 24px;
  }

  .help-article__description h2,
  .help-article__description h3 {
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 0;
  }
}


.help-article__description p,
.help-article__description ul,
.help-article__description ol {
  margin: 0 0 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

.help-article__description ul li,
.help-article__description ol li{
  margin-left: 1.3em;
}

.help-article__description p a{
  font-size: 1em;
  text-decoration: underline;
  text-underline-position: from-font;
}

.help-article__description a:hover{
  opacity: 0.7;
}

.help-article__description .wpcf7-form p{
  margin-bottom:0;
}

.help-article__description p.user-data__hint{
  font-family: 'DMSans', Helvetica Neue, Arial;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  color: #9096a3;
  margin: 6px 0 0 0;
}

.help-article__description p.wpcf7-not-valid-tip {
  font-size: 14px;
  line-height: 19.6px;
}
/* ============================================================
   Accordion (single-open)
   (resolved from Accordion.module.scss)
   ============================================================ */

.accordion {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-flow: column nowrap;
  gap: 0;
}

.accordion__item {
  width: 100%;
  border-bottom: 1px solid #dfe1e6;
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
  gap: 16px;
}

.accordion__header:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 991px) {
  .accordion__header {
    padding: 16px 0;
  }
}

.accordion__title {
  font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

@media only screen and (max-width: 991px) {
  .accordion__title {
    font-size: 14px;
    line-height: 19.6px;
  }
}

.accordion__icon {
  flex-shrink: 0;
  display: block;
}

.accordion__icon--minus {
  display: none;
}

.accordion__header[aria-expanded="true"] .accordion__icon--plus {
  display: none;
}

.accordion__header[aria-expanded="true"] .accordion__icon--minus {
  display: block;
}

.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}

.accordion__body--open {
  grid-template-rows: 1fr;
}

.accordion__body-inner {
  overflow: hidden;
}

.accordion__body-inner p {
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  color: #22252a;
  max-width: 995px;
  padding-bottom: 24px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

@media only screen and (max-width: 991px) {
  .accordion__body-inner p {
    padding-bottom: 16px;
  }
}
