.fav-container h4 {
    font-size: 1.1em;
}

.fav-container .page-header {
  margin: 40px 0 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
}

.fav-container .breadcrumb {
  margin: 0 0 20px;
  padding: 8px 15px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.fav-container .breadcrumb > li {
  display: inline-block;
}

.fav-container .breadcrumb > li + li::before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}

.fav-container .article-info {
  margin-bottom: 10px;
  font-size: 90%;
}

.fav-container .article-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fav-container .article-info li {
  display: inline-block;
  margin-right: 10px;
}

.fav-container .pagination {
  display: inline-block;
  margin: 20px 0;
  padding-left: 0;
  border-radius: 4px;
  list-style: none;
}

.fav-container .pagination > li {
  display: inline;
}

.fav-container .pagination > li > a,
.fav-container .pagination > li > span {
  position: relative;
  float: left;
  margin-left: -1px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  color: #f66;
  background-color: #fff;
  line-height: 1.42857143;
  text-decoration: none;
}

.fav-container .pagination > li:first-child > a,
.fav-container .pagination > li:first-child > span {
  margin-left: 0;
  border-radius: 4px 0 0 4px;
}

.fav-container .pagination > li:last-child > a,
.fav-container .pagination > li:last-child > span {
  border-radius: 0 4px 4px 0;
}

.fav-container .pagination > li > a:hover,
.fav-container .pagination > li > a:focus {
  color: #111;
  background-color: #eee;
  border-color: #ddd;
}

.fav-container .pagination > .active > a,
.fav-container .pagination > .active > span {
  z-index: 2;
  color: #fff;
  background-color: #f66;
  border-color: #f66;
  cursor: default;
}

.fav-container .pagination > .disabled > a,
.fav-container .pagination > .disabled > span {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.fav-container .pager {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

.fav-container .pager::before,
.fav-container .pager::after {
  display: table;
  content: " ";
}

.fav-container .pager::after {
  clear: both;
}

.fav-container .pager .previous {
  float: left;
}

.fav-container .pager .next {
  float: right;
}

.fav-container table,
.fav-container .table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  border-spacing: 0;
}

.fav-container .table th,
.fav-container .table td {
  padding: 8px;
  border-top: 1px solid #ddd;
  line-height: 1.42857143;
  text-align: left;
  vertical-align: top;
}

.fav-container .table thead th {
  border-bottom: 2px solid #ddd;
  vertical-align: bottom;
}

.fav-container .table-bordered {
  border: 1px solid #ddd;
}

.fav-container .table-bordered th,
.fav-container .table-bordered td {
  border: 1px solid #ddd;
}

.fav-container .table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.fav-container .table-responsive {
  min-height: 0.01%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  .fav-container .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    border: 1px solid #ddd;
  }

  .fav-container .table-responsive > .table {
    margin-bottom: 0;
  }
}

/* Panel głównej treści — odpowiednik oryginalnego okna artykułu. */
#fav-mainwrap,
#fav-mapwrap,
#fav-notewrap {
  position: relative;
  display: block;
}

#fav-notewrap {
  background: #3A0E0E;
}

#fav-mainwrap {
  width: 97%;
  margin: 45px auto 10px;
  border: 1px solid #a1a1a1;
  background-color: #fff;
  box-shadow: 0 1px 5px 0 rgb(0 0 0 / 57%);
}

@media (min-width: 768px) {
  #fav-mainwrap:not(.fav-mainwrap--with-lead) {
    margin-top: 125px;
  }
}

@media (min-width: 768px) {
  #fav-mainwrap > .favth-container {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 768px) {
  #fav-notewrap .favth-container {
    width: 100%;
    max-width: none;
  }
}

.blog-featured ul,
div[itemprop="articleBody"] ul {
  padding-left: 25px;
  list-style: none;
  text-indent: -15px;
}

.blog-featured ul li,
.tooltip ul li,
div[itemprop="articleBody"] ul li {
  margin-top: 8px;
  margin-left: 10px;
}

li {
  line-height: 20px;
}

.blog-featured li::before,
.tooltip li::before,
div[itemprop="articleBody"] li::before {
  margin-right: 5px;
  color: green;
  content: "✔";
}

#fav-maincontent h3 {
  color: #fff;
  background-color: #696969;
  font-family: "montserratregular", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

#fav-maincontent h3 strong {
  color: inherit;
}

#fav-maincontent .arr_par {
  float: left;
  width: 1.5em;
  font-size: 1.4em;
  line-height: 1.3;
}

#fav-maincontent .h2_par {
  display: block;
  width: auto;
  margin: 0 0 1.4rem 1.5em;
  font-size: 1.4em;
  line-height: 1.3;
  text-transform: uppercase;
}

#fav-maincontent .h2_par + p,
#fav-maincontent .h2_par + div,
#fav-maincontent .h2_par + ul {
  clear: left;
}

#fav-maincontent .p_par {
  margin: 5px 0 10px 24px;
}

#fav-maincontent .p_par p {
  padding-left: 30px;
  text-indent: -30px;
}

#fav-maincontent .acc-content ol,
#fav-maincontent .agr ul {
  list-style: decimal !important;
  text-indent: 0 !important;
}

#fav-maincontent .agr li::before,
#fav-maincontent .nav li::before {
  content: "" !important;
  margin-right: 0 !important;
}

#fav-maincontent .favth-h6,
#fav-maincontent h6 {
  font-size: 13px;
  background-color: #d3d3d3;
}

#fav-maincontent .association a {
  margin-right: 8px;
}

#fav-maincontent .me {
  max-width: 28%;
  height: auto;
  margin: 0 2%;
}

#fav-maincontent p img {
  padding: 7px;
  background-color: rgb(17 17 17 / 10%);
}

#fav-maincontent .accordion {
  width: 99%;
  margin: 5px auto;
  border: 0;
  font-size: 16px;
}

#fav-maincontent .accordion li.acc-header::before {
  content: none !important;
  margin: 0 !important;
}

#fav-maincontent .accordion details > summary {
  display: block;
  box-sizing: border-box;
  height: 32px;
  overflow: hidden;
  padding: 5px;
  border-bottom: 1px solid #aaa;
  background: #444;
  color: #f2f2f2;
  font-family: "montserratmedium", "montserratregular", sans-serif;
  line-height: 20px;
  text-shadow: 1px 1px 1px #000;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

#fav-maincontent .accordion details > summary::-webkit-details-marker {
  display: none;
}

#fav-maincontent .accordion details > summary::marker {
  content: "";
}

#fav-maincontent .accordion details > summary:hover {
  padding-left: 15px;
  transition: 0.5s;
}

#fav-maincontent .accordion .acc-content {
  padding: 14px;
  font-family: "montserratlight", "montserratregular", sans-serif;
}

#fav-maincontent .accordion .acc-content a {
  display: unset;
  border: 0;
  background: transparent;
}

/* Treść rozwijanych sekcji */
#fav-maincontent .accordion .acc-content {
  font-family: "montserratlight", "montserratregular", sans-serif;
}

/* Tabela możliwości technologicznych */
#fav-maincontent .accordion .tabela_bw {
  width: 95%;
  margin: 0 auto;
}

/* Obrazy w sekcjach details: jeden pod drugim, bez opływania */
#fav-maincontent .accordion details .acc-content img {
  display: block;
  float: none;
  clear: both;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  margin: 10px auto;
}

/* Reset wyłącznie listy nadrzędnej akordeonu */
#fav-maincontent .accordion > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-indent: 0;
}

#fav-maincontent .accordion > ul > li {
  margin: 0;
}

#fav-maincontent .accordion > ul > li::before {
  content: none;
  margin: 0;
}

/* Reset list zagnieżdżonych akordeonów, nie list treści */
#fav-maincontent .accordion .acc-content ul:has(> li > details) {
  margin: 0;
  padding: 0;
  list-style: none;
  text-indent: 0;
}

#fav-maincontent .accordion .acc-content ul:has(> li > details) > li {
  margin: 0;
}

#fav-maincontent .accordion .acc-content ul:has(> li > details) > li::before {
  content: none;
  margin: 0;
}

/* Zwykłe listy w treści sekcji */
#fav-maincontent .accordion .acc-content ul:not(:has(> li > details)) {
  padding-left: 25px;
  list-style: none;
  text-indent: -15px;
}

#fav-maincontent .accordion .acc-content ul:not(:has(> li > details)) > li {
  margin-top: 8px;
  margin-left: 10px;
}

#fav-maincontent .accordion .acc-content ul:not(:has(> li > details)) > li::before {
  content: "✔";
  margin-right: 5px;
  color: green;
}

/* Czcionka treści sekcji — nagłówki summary zachowują własny styl */
#fav-maincontent .accordion details .acc-content,
#fav-maincontent .accordion details .acc-content p,
#fav-maincontent .accordion details .acc-content li,
#fav-maincontent .accordion details .acc-content td {
  font-family: "montserratlight", "montserratregular", sans-serif;
}

/* Kropkowana dolna krawędź wierszy tabeli */
#fav-maincontent .accordion .tabela_bw tr {
  border-bottom: 1px dotted #d3d3d3;
}