/* Globalnie */
body {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

a {
  transition: color .2s ease, opacity .2s ease;
}

a:hover,
a:focus {
  text-decoration: none;
}

.layout-boxed .body-innerwrapper {
  margin-top:30px;
  margin-bottom:30px;
}

/* Menu w top-bar */
#sp-top-bar .menu-gorne ul.nav.menu li {
  display: inline-block;
  margin-left: 10px;
}
#sp-top-bar .menu-gorne ul.nav.menu {
  margin-left: 20px;
}
#sp-top-bar .menu-gorne ul.nav.menu li a:hover {
  color: #fc7b0d;
}
#sp-top-bar {
  border-top:1px;
}

/* Logo wielkość */
img.sp-default-logo { height: 80px; }

/* Menu główne duże litery */
.sp-megamenu-wrapper ul.sp-megamenu-parent > li.sp-menu-item > a {
  text-transform: uppercase;
}

#sp-main-body {
  padding: 10px 0;
}

/* Akcent przy tytułach artykułów */
#sp-main-body .blog > h2 {
  text-transform: uppercase;
  font-size: 16px;
  margin-top: 0;
  border-top: 2px solid #FF9D32;
  line-height: 30px;
  margin-bottom: 40px;
}
#sp-main-body .blog > h2 > span {
  background: #FF9D32;
  color: #fff;
  padding: 7px 15px;
}

#sp-main-body .article-info h2 {
  border-bottom: 2px solid #FF9D32;
}
#sp-main-body .article-info h2 a {
  color: #944d25;
}
#sp-main-body .article-info h2 a:hover {
  color: #fc7b0d;
}

.article-list article.item .entry-header  {
  display:flex;
  flex-direction: column-reverse;
  margin-bottom: 20px;
}

.article-list article.item .entry-header .article-info {
  margin-top:12px;
  font-size:12px;
}
.article-list article.item .entry-header .article-info .createdby {
  font-weight: 700;
}
.article-list article.item .entry-header h2 a {
  color: #944d25;
}
.article-list article.item .entry-header h2 a:hover {
  color: #fc7b0d;
}

/* Kontener i rytm pionowy */
.sp-page-builder .page-content,
.item-page,
.blog,
.blog-featured,
.com-content-category-blog,
.com-content-article {
  font-size: 15px;
  line-height: 1.7;
}

.container,
.sp-page-builder .page-content .container,
.body-innerwrapper .container {
  max-width: 1170px;
}

/* Górna belka */
#sp-top-bar,
.sp-top-bar {
  font-size: 13px;
  line-height: 1.4;
}

#sp-top-bar .sp-module,
.sp-top-bar .sp-module {
  margin: 0;
}

#sp-top-bar a,
.sp-top-bar a {
  color: inherit;
}

/* Header / logo */
#sp-header,
.sp-header {
  min-height: 110px;
  box-shadow: none;
  border-bottom: 0;
}

#sp-header .logo,
.sp-header .logo {
  display: flex;
  align-items: center;
  min-height: 110px;
}

#sp-header .logo img,
.sp-header .logo img {
  max-height: 84px;
  width: auto;
}

#sp-header .logo h1,
#sp-header .logo h2,
.sp-header .logo h1,
.sp-header .logo h2 {
  margin: 0;
  line-height: 1.1;
}

/* Menu główne */
.sp-megamenu-parent {
  margin-top: 0;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  font-size: 15px;
  font-weight: 600;
  line-height: 110px;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 16px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span {
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 18px;
}

.sp-megamenu-parent .sp-dropdown {
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* Breadcrumbs */
.sp-page-title,
.breadcrumbs,
.mod-breadcrumbs {
  margin-bottom: 12px;
}

.breadcrumb,
.mod-breadcrumbs,
.sp-page-title .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  color: #777;
}

.breadcrumb > li + li:before {
  color: #999;
}

/* Tytuły i meta artykułów */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
  line-height: 1.25;
}

.item-page h1,
.item-page .page-header h1,
.blog .page-header h2,
.blog-featured .page-header h2,
.article-details h1,
.article-details h2 {
  font-weight: 700;
}

.item-page h1,
.item-page .page-header h1 {
  font-size: 34px;
  margin: 0 0 14px;
}

.blog .page-header h2,
.blog-featured .page-header h2,
.items-row .item .page-header h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.article-info,
.article-info-wrap,
.item-page .article-info,
.blog .article-info {
  font-size: 13px;
  color: #888;
  margin: 0 0 18px;
}

.article-info > span,
.article-info-wrap > span {
  margin-right: 14px;
}

/* Strona główna / listing aktualności */
.blog .items-row,
.blog-featured .items-row,
.com-content-category-blog .items-row {
  margin-bottom: 36px;
}

.blog .item,
.blog-featured .item,
.com-content-category-blog .item {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ececec;
}

.blog .item:last-child,
.blog-featured .item:last-child,
.com-content-category-blog .item:last-child {
  border-bottom: 0;
}

.blog .item img,
.blog-featured .item img,
.item-page img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.blog .item-introtext,
.blog .introtext,
.item-page .articleBody,
.item-page .entry-content {
  font-size: 15px;
  line-height: 1.75;
}

/* Przycisk "czytaj więcej" i paginacja */
.readmore a,
.btn,
.button,
.pagenav li a,
.pagination li a,
.pagination li span {
  border-radius: 0;
}

.pagination {
  margin-top: 28px;
}

.pagination > li > a,
.pagination > li > span {
  color: #555;
}

/* Moduły i stopka */
.sp-module {
  margin-bottom: 28px;
}

.sp-module .sp-module-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

#sp-footer,
.sp-footer {
  font-size: 14px;
  line-height: 1.6;
}

#sp-footer a,
.sp-footer a {
  color: inherit;
}

/* Ikony social */
.social-icons,
ul.social-icons {
  margin-top: 10px;
}

.social-icons > li a,
ul.social-icons > li a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  text-align: center;
}

/* Kontakt – wyrównanie prostego layoutu tekstowego */
.item-page p,
.item-page ul,
.item-page ol {
  margin-bottom: 1rem;
}

.item-page .page-header + .article-info + * {
  margin-top: 0;
}

/* FAQ / podpowiadacze – styl zbliżony do starego, ale schludny */
.ob-accordion {
  margin: 1.5rem 0;
}

.ob-accordion details {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 0 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

.ob-accordion summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 14px 46px 14px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  background: #fafafa;
  color: #222;
}

.ob-accordion summary::-webkit-details-marker {
  display: none;
}

.ob-accordion summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #f28c28;
}

.ob-accordion details[open] summary::after {
  content: "–";
}

.ob-accordion .ob-accordion__content {
  padding: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.ob-helper-meta {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ob-helper-meta li {
  margin: 0 0 .35rem;
}

.ob-helper-label {
  font-weight: 700;
}

/* Cookie / komunikaty */
.alert,
.notice,
.message,
.cookieinfo,
.cookie-warning {
  font-size: 14px;
}

#sp-footer {
  border-bottom: 1px;
}

/* Responsywność */
@media (max-width: 991px) {
  #sp-header,
  .sp-header,
  #sp-header .logo,
  .sp-header .logo {
    min-height: 88px;
  }

  #sp-header .logo img,
  .sp-header .logo img {
    max-height: 68px;
  }

  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span {
    line-height: 88px;
    padding: 0 12px;
  }

  .item-page h1,
  .item-page .page-header h1 {
    font-size: 28px;
  }

  .blog .page-header h2,
  .blog-featured .page-header h2,
  .items-row .item .page-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .item-page h1,
  .item-page .page-header h1 {
    font-size: 24px;
  }

  .blog .page-header h2,
  .blog-featured .page-header h2,
  .items-row .item .page-header h2 {
    font-size: 21px;
  }

  .ob-accordion summary {
    font-size: 17px;
    padding: 12px 42px 12px 14px;
  }

  .ob-accordion .ob-accordion__content {
    padding: 14px;
  }
}