/*GLOBALNE*/
/* 
.single-layout-1 {
  margin: 0 160px;
} */

.home.ast-single-post .ast-container #primary {
  margin-top: 0;
  margin-bottom: 0;
}

/* 
.single-layout-1, 
.ast-single-post .entry-content p,
.ast-single-post .entry-content  p,
.ast-single-post .entry-content a,
.ast-single-post .entry-content li,
.ast-single-post .entry-content ul,
.ast-single-post .entry-content ul li,
.ast-single-post .entry-content ul a,
.ast-single-post .entry-content ol,
.ast-single-post .entry-content ol li,
.ast-single-post .entry-content ol a,
.ast-single-post .entry-content table th,
.ast-single-post .entry-content table td,
.ast-single-post .entry-content table tr{
    margin:0 160px;
} */
/* 
.ast-single-post .entry-content ul li ul li,
.ast-single-post .entry-content .wp-block-columns p,
.ast-single-post .entry-content .wp-block-columns a,
.ast-single-post .entry-content .wp-block-columns li,
.ast-single-post .entry-content .wp-block-columns ul,
.ast-single-post .entry-content .wp-block-columns ul li,
.ast-single-post .entry-content .wp-block-columns ul a,
.ast-single-post .entry-content .wp-block-columns ol,
.ast-single-post .entry-content .wp-block-columns ol li,
.ast-single-post .entry-content .wp-block-columns ol a,
.ast-single-post .entry-content .wp-block-columns table th,
.ast-single-post .entry-content .wp-block-columns table td,
.ast-single-post .entry-content .wp-block-columns table t {
    margin-right: 0;
    margin-left: 0;
} */

/* 
.home .ast-single-post .entry-content{
    margin: 0;
}

.ast-single-post .entry-content .wp-block-columns{
    margin-left: -160px!important;
    margin-right: -160px!important;
}

.ast-single-post .entry-content .wp-block-columns .wp-block-column .wp-block-columns{
    margin-left: 0!important;
    margin-right: 0!important;
} */

/*DODATKOWE AKTUALNOŚCI*/

#page .custom-other-news-header {
  margin-bottom: 50px;
}

#page .custom-other-news {
  margin-left: 0 !important;
}

#page .custom-other-news img {
  aspect-ratio: 4 / 3;
  max-width: none;
  width: max-content;
}

#page .custom-other-news .wp-block-latest-posts__post-title {
  font-size: 1.5em;
  line-height: 32px;
  color: #343434;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding-bottom: 0;
}

#page .custom-other-news .wp-block-latest-posts__post-excerpt {
  margin-left: 315px;
  color: #4a4a49;
}

#page .custom-other-news .wp-block-latest-posts__post-excerpt a {
  color: #192878;
  text-decoration: none;
  text-transform: uppercase;
}

#page .custom-other-news .wp-block-latest-posts__post-excerpt a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .custom-other-news li:hover .read-more a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .custom-other-news li {
  margin-bottom: 32px;
  height: 235px;
  position: relative;
}

#page .custom-other-news li:last-child {
  margin-bottom: 50px;
}

/*BREADCRUMBS*/

.ast-breadcrumbs-wrapper .trail-items .trail-end {
  color: #192878;
}

.ast-breadcrumbs .trail-items li::after {
  padding: 0 20.8px;
}

.ast-breadcrumbs .trail-items li a:hover {
  color: #192878;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: auto;
}

.ast-breadcrumbs {
  width: 85%;
}

#page .ast-breadcrumbs .trail-items {
  margin-left: 0;
}

@media (max-width: 781px) {
  .ast-breadcrumbs {
    width: 78;
    line-height: 2.5;
  }
}

/*POJEDYNCZA AKTUALNOSC*/


.post-template-default.single-post #primary {
  line-height: 2em;
}

.ast-single-post .ast-container #primary {
  margin: 100px 0 50px 0;
}

.ast-single-post .ast-container #primary .ast-breadcrumbs-wrapper {
  margin: 0 0 40px 0;
}

.group-blog.ast-single-post
  .ast-container
  #primary
  .post-thumb-img-content
  img {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

#page .button-print {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: -27px;
  margin-top: -85px;
}

#page .button-print a {
  font-weight: 600;
  color: #343434;
  width: 125px;
}

#page .button-print a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .button-print::after {
  content: "";
  background: url(/wp-content/uploads/2023/11/Vector-2.svg);
  background-size: 20px;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: -50px;
  z-index: -1;
  background-color: #19287825;
}

@media (min-width: 1600px) {
  .group-blog.ast-single-post
    .ast-container
    #primary
    .post-thumb-img-content
    img {
    height: 500px !important;
  }
}

@media (max-width: 781px) {
  #page .button-print {
    margin-bottom: -60px;
    margin-top: -10px;
  }
}

/*POJEDYNCZA GALERIA ZDJĘĆ*/

#page .type-gallery.ast-article-single .post-thumb-img-content {
  display: none;
}

#page .type-gallery .wp-block-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

#page .type-gallery .wp-block-gallery .wp-block-image {
  width: 100% !important;
  height: 250px;
}

@media (max-width: 1400px) {
  #page .type-gallery .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 781px) {
  #page .type-gallery .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 450px) {
  #page .type-gallery .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*ARCHIWUM GALERIA ZDJĘĆ*/

.post-type-archive-gallery #content {
  background: white;
}

.post-type-archive-gallery .ast-archive-description {
  padding: 0 !important;
  border-bottom: 0 !important;
}

.post-type-archive-gallery .ast-archive-post img {
  height: 245px;
  object-fit: cover;
}

.post-type-archive-gallery .ast-archive-post {
  border-bottom: 0;
}

.post-type-archive-gallery .ast-row {
  margin: 0 -1.5em !important;
}

.post-type-archive-gallery h2 {
  font-size: 1.25em !important;
}

/* .post-type-archive-gallery h2{
	font-size:1.5em;
} */

.post-type-archive-gallery .post-content .entry-content,
.post-type-archive-gallery .posted-on {
  display: none;
}

/*STRONA BLOGA*/

.blog-layout-1 h2 {
  font-size: 1.2em;
  color: #343434;
  font-weight: 600;
  padding-bottom: 0;
  margin-bottom: 0;
}

.blog-layout-1 .entry-content p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.blog-layout-1 .entry-content .read-more {
  margin-top: 1em;
}

.blog-layout-1 .entry-content .read-more a {
  font-size: 1em;
  font-weight: 500;
  color: #192878;
}

.blog-layout-1 .posted-on {
  display: none;
}

.archive #primary {
  margin-top: 20px;
}

.post-type-archive .ast-archive-post img,
.blog .post-content img,
.category #primary .post-thumb-img-content img {
  aspect-ratio: 4/3;
}

.archive .ast-archive-description,
.archive .blog-layout-1,
.blog .blog-layout-1 {
  border-bottom: 0;
  padding: 0 0 1em 0 !important;
}

.archive .ast-archive-description h1 {
  display: none;
}

.archive .read-more a,
.blog .read-more a {
  padding: 0;
  border: 0;
  /* font-size: 0.82em; */
  color: #192878;
  font-weight: 500;
  background-color: transparent;
  text-transform: uppercase;
}

.archive .read-more a:hover,
.blog .read-more a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 950px) {
  .archive .ast-row,
  .blog .ast-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .archive .ast-row article,
  .blog .ast-row article {
    width: 100%;
  }
}

@media (max-width: 781px) {
  .ast-separate-container #content .ast-container {
    padding: 0 20px;
  }

  .post-type-archive-gallery .ast-row {
    margin: 0 -20px !important;
  }
}

@media (max-width: 668px) {
  .archive .ast-row,
  .blog .ast-row {
    grid-template-columns: 1fr;
  }
}

/*STRONA JEDNOSTKI*/

.units-template-default .unit-type,
.units-template-default .address-email,
.units-template-default .phone-number,
.units-template-default .fax-number,
.units-template-default .website-page {
  display: flex;
}

.units-template-default .unit-type .type-label,
.units-template-default .address-email .email-label,
.units-template-default .phone-number .phone-label,
.units-template-default .fax-number .fax-label,
.units-template-default .website-page .website-label {
  margin-right: 5px;
  font-weight: 600;
}

.units-template-default .unit-description .decription-label {
  font-weight: 600;
  margin-bottom: 0.6em;
}

.units-template-default .unit-adress-header {
  font-weight: 600;
  margin-bottom: 0.6em;
  margin-top: 1em;
}

.units-template-default .address-email .email-label,
.units-template-default .phone-number .phone-label,
.units-template-default .fax-number .fax-label,
.units-template-default .address-email .email,
.units-template-default .phone-number .phone,
.units-template-default .fax-number .fax,
.units-template-default .website-page .website {
  margin-bottom: 0.6em;
}

.units-template-default .unit-contact {
  font-weight: 600;
  margin-bottom: 0.6em;
}

/*WYNIKI WYSZUKIWANIA*/

.ast-separate-container #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-right-sidebar #primary {
  margin: 1em 0;
}

#page .ast-archive-description {
  padding: 0 !important;
}

#page .ast-archive-description h1.ast-archive-title {
  font-weight: 500;
  margin: 32px 0;
  text-transform: none;
}

#page .ast-archive-description h1.ast-archive-title span {
  color: #192878;
  font-weight: 600;
}

#page .read-more a {
  text-transform: uppercase;
}

#page .read-more a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search .ast-row {
  display: grid !important;
}

.search .entry-content p {
  display: none !important;
}

.search .ast-post-format- {
  padding: 0 !important;
}

.search .entry-header {
  margin: 1em 0;
}

.search .entry-header a {
  font-size: 18px;
  font-weight: 400;
}

.search .entry-header:hover a {
  text-decoration: underline;
}

.search article {
  width: 100%;
  border-bottom: solid 2px #afe1fa !important;
}

.search .ast-pagination {
  padding: 0;
  margin: 40px 0 24px 0;
}

.ast-pagination .nav-links {
  width: auto;
}

.search .ast-blog-featured-section {
  display: none;
}

.ast-pagination .next.page-numbers,
.ast-pagination .prev.page-numbers {
  padding: 2px 20px;
  margin-left: 5px;
  height: auto;
}

.ast-pagination .next.page-numbers:hover,
.ast-pagination .prev.page-numbers:hover,
.ast-pagination .page-numbers:hover {
  background-color: #192878;
  color: #fff !important;
}

.search .post-page-numbers.current .page-link,
.search .ast-pagination .page-numbers.current,
.search .ast-pagination .page-numbers {
  margin-left: 0;
  border: 1px solid #192878;
  color: #343434;
}

.post-page-numbers.current .page-link,
.ast-pagination .page-numbers.current {
  background-color: #192878;
  color: white !important;
}

.ast-pagination .next.page-numbers::after,
.ast-pagination .prev.page-numbers::after {
  display: none;
}

.pagination {
  justify-content: center;
}
