.blog-container-wrapper {
    background:#EAEBEF;
}
.blog-container-wrapper {
    padding-top: 0px;
    padding-bottom: 80px;
}
.blog-container-wrapper.single{
    padding-top:100px;
}
#breadcrumbs {
    font-size: 0.9em;
    color: #181E52;
    margin-bottom: 20px;
    font-weight:500;
}

#breadcrumbs a {
    color: #181E52;
    text-decoration: none;
    line-height: 120%;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}
#breadcrumbs > span{
    display:flex;
    flex-wrap: wrap;
    gap:10px;
}
.breadcrumb_last{
    line-height: 120%;
}
.single-post-header {
    margin: 25px 0;
    padding: 25px 0;
    border-top:1px solid #C4CDD5;
    border-bottom:1px solid #C4CDD5;
}

.single-post-title {
    font-weight: 500;
    font-size: 52px;
    line-height: 120%;
    margin-bottom:20px;
}

.post-meta {
    display:flex;
    flex-direction:column;
}
.post-author{
    font-weight: 500;
    font-size: 36px;
    line-height: 120%;
    margin-bottom:20px;
}
.post-date{
    font-weight: 300;
    font-size: 14px;
}
.post-meta a:hover {
     text-decoration: underline;
}
.single-post-thumbnail {
    margin-bottom: 30px;
}
.single-post-thumbnail img {
    display: block;
    max-width: 100%;
    width: 100%;
    max-height:600px;
    object-fit: cover;
}
.single-post-content{
    max-width: 1000px;
}
.single-post-content-excerpt {
    font-weight: 500;
    font-size: 20px;
    line-height: 160%;
    margin-bottom:40px;
}
.single-post-content-table-of-contents {
    max-width: 1000px;
}
.single-post-content-table-of-contents-title{
    font-weight: 500;
    font-size: 32px;
    line-height: 120%;
    margin-bottom:20px;
    text-transform:uppercase;
}
.table-of-contents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.table-of-contents-list .toc-item {
  --arrow-color: #2A3C6B;
  --arrow-thickness: 2px;
  --arrow-head-size: 7px;
  --arrow-line-length: 11px;
  --arrow-spacing: 12px;
  list-style: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.table-of-contents-list .toc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  transform: translateY(-50%);
  width: var(--arrow-line-length);
  height: var(--arrow-thickness);
  background: var(--arrow-color);
  border-radius: var(--arrow-thickness);
}

.table-of-contents-list .toc-item::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.75em;
  width: var(--arrow-head-size);
  height: var(--arrow-head-size);
  border: solid var(--arrow-color);
  border-width: 0 var(--arrow-thickness) var(--arrow-thickness) 0;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center center;
}
.table-of-contents-list .toc-item a{
    font-weight: 500;
    font-size: 16px;
}
.table-of-contents-list .toc-level-3 {
    margin-left: 20px;
}

#table-of-contents-container {
    padding-left:10px;
    margin: 10px 0 20px 0;
}
.single-post-content h2,.single-post-content h3,.single-post-content h4,.single-post-content h5,.single-post-content h6{
    margin:0 0 20px 0;
    padding-top:40px;
    font-weight: 600;
    line-height: 120%;
}
.single-post-content h2{
    font-size: 32px;
}
.single-post-content h3{
    font-size: 24px;
}
.single-post-content h4{
    font-size: 20px;
}
.single-post-content h5{
    font-size: 18px;
}
.single-post-content h6{
    font-size: 16px;
}
.single-post-content p,.single-post-content li {
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 10px;
}
.single-post-content ul {
    margin-bottom: 10px;
    list-style: disc;
    padding-left: 25px; 
}
.single-post-content ol {
     margin-bottom: 20px;
     list-style: decimal; 
     padding-left: 25px; 
}
.wp-block-quote{
    margin:0;
    padding: 40px 60px 30px;
    background:#fff;
    margin:40px 0;
}
.wp-block-quote .has-large-font-size{
    font-size: 28px !important;
    font-weight:500;
    line-height: 160%;
    margin-bottom:20px;
}
.wp-block-image img{
    width: 100%;
}
.social-share-section {
    margin: 20px 0;
    padding: 25px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content:space-between;
    border-top:1px solid #C4CDD5;
    border-bottom:1px solid #C4CDD5;
    max-width: 1000px;
}
.social-share-section-left{
    display: flex;
}
.social-share-section .share-copy-link {
    position: relative;
    overflow: visible;
    cursor: pointer;
}
.share-button{
    font-weight: 600;
    font-size: 14px;
    color:#181E52;
}
.social-share-section .share-copy-link::after {
    content: 'Skopiowano!';
    position: absolute;
    font-family:montserrat, sans-serif;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}
.social-share-section .share-copy-link.copied::after {
    opacity: 1;
    visibility: visible;
}
.social-share-section-right{
    display:flex;
    gap:20px;
}
.related-posts-section {
    padding: 20px 0;
}
.related-posts-title {
    text-transform:uppercase;
    margin-bottom:20px;
    font-size:28px;
    font-weight:500;
}
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 20px;
}
.blog-post-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.blog-post-text {
    padding-bottom:20px;
}
.blog-post-category {
    font-size: 0.8em;
    color: #181E52;
    margin-bottom: 15px;
}

.blog-post-category a {
    font-weight: 600;
    font-size: 14px;
}
.blog-post-category a:hover {
    text-decoration: underline;
}
.blog-post-item-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    margin:0 0 15px 0;
    color:#181E52;
}
.blog-post-meta {
    font-size: 0.8em;
    color: #999;
}
.blog-post-meta span {
    margin-right: 10px;
}
.blog-post-date{
    font-weight:300;
}
.blog-post-thumbnail {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.blog-post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-post-item:hover .related-post-thumbnail img {
    transform: scale(1.05);
}
.container-wrapper.blog-hero{
    margin:40px 0;
    overflow:hidden;
    position: relative;
}
.blog-categories{
    margin:20px 0 40px 0;
    padding:20px 0;
    border-bottom:1px solid #C4CDD5;
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}
li.cat-item-none, li.cat-item{
    list-style-type:none;
    font-weight:600;
}
li.cat-item-none a, li.cat-item a,.cat-item-blog{
    padding:12px 24px;
    background:#fff;
    border-radius:40px;
    display:inline-block;
}
li.cat-item-none.current-cat a, li.cat-item.current-cat a,.current-cat.cat-item-blog,li.cat-item-none a:hover, li.cat-item a:hover{
    background:#181E52;
    color:#fff;;
}
.blog-highlighted-post{
    margin-bottom:60px;
}
article.blog-highlighted-post-item {
    display: grid;
    grid-template-columns: calc(33.333% - 10px) calc(66.666% - 10px);
    gap: 20px;
}
.blog-highlighted-post-item .blog-post-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:20px 0;
}
.blog-highlighted-post-item .blog-post-meta{
    margin-bottom:10px;
}

.blog-highlighted-post-thumbnail img{
    width: 100%;
    max-height:550px;
    display: block;
    object-fit: cover;
}
.blog-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.5em;
    line-height:160%;
}

.container-wrapper.blog-hero .container{
    padding-top: 80px;
    position: relative;
    z-index: 1;
    display:flex;
    justify-content:space-between;
}
.blog-hero-right{
    position: relative;
    height: 500px;
}
.blog-hero-right::after{
    position: absolute;
    content: "";
    display: block;
    width: 400px;
    height: 400px;
    border: 2px solid #fff;
    right: 60px;
    bottom: -60px;
    z-index: -1;
    border-bottom: unset;
}
.blog-hero-right img{
    position: absolute;
    top: 0;
    right: 100px;
    display: block;
}
.blog-hero-img-wrapper{
    position: absolute;
    top:0;
    left:0;
    height:600px;
}
img.blog-hero-img{
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.blog-hero-left{
    position: relative;
    z-index: 1;
}
img.blog-hero-logo{
    height:30px;
    width:auto;
    background:#181E52;
    padding:12px 24px;
}
.blog-hero-title{
    text-transform:uppercase;
    font-weight:400;
    line-height: 120%;
    height: 54px;
}
.blog-hero-top {
    display:flex;
    align-items:center;
    margin-bottom: 20px;
    gap: 24px;
}
.blog-hero-desc{
    font-size:48px;
    font-weight:500;
    line-height:120%;
}
.page-numbers{
	list-style-type:none;
	display:flex;
	flex-wrap:wrap;
	gap:20px;
}
span.page-numbers.dots{
    background: #fff;
    padding: 12px 24px;
    color: #181E52;
    border-radius: 40px;
    display: inline-block;
    font-weight: 500;
}
.page-numbers a{
	padding: 12px 24px;
    background: #fff;
    border-radius: 40px;
    display: inline-block;
	font-weight:500;
}
.page-numbers a:hover{
    color: #fff;
    background:#181E52;
}
span.page-numbers.current{
	background:#181E52;
	padding: 12px 24px;
    color:#fff;
    border-radius: 40px;
    display: inline-block;
	font-weight:500;
}
.blog-archive-pagination{
    margin: 40px 0 20px 0;
    padding: 20px 0;
    border-bottom: 1px solid #C4CDD5;
    border-top: 1px solid #C4CDD5;
}
@media (max-width: 768px) {
    .single-post-title{
        font-size: 36px;
    }
    .post-author{
        font-size: 24px;
        margin-bottom: 10px;
    }
    .single-post-content-excerpt{
        font-size: 18px;
    }
    .single-post-content-table-of-contents-title,.single-post-content h2,.single-post-content h2 a{
        font-size: 28px;
    }
    .single-post-content h3,.single-post-content h3 a{
        font-size: 20px;
    }
    .single-post-content h4,.single-post-content h5,.single-post-content h4 a,.single-post-content h5 a{
        font-size: 18px;
    }
    .single-post-content h6,.single-post-content h6 a{
        font-size:16px;
    }
    .single-post-content p, .single-post-content li{
        font-size:16px;
    }
    .wp-block-quote{
        padding: 20px 30px 10px;
    }
    .wp-block-quote .has-large-font-size{
        font-size: 22px !important;
        margin-bottom:10px;
    }
    .wp-block-quote p.has-medium-font-size{
        font-size:16px !important;
    }
    figure.wp-block-image{
        margin-bottom:0;
    }
    .social-share-section-left span,.share-button{
        font-size:12px;
    }
    .social-share-section-right{
        gap:10px
    }
    .related-posts-grid {
        grid-template-columns: 1fr; 
        gap:40px;
    }
    .related-post-thumbnail {
        height: 250px; 
    }
    .container-wrapper.blog-hero .container{
        flex-direction:column;
    }
    .blog-hero-img-wrapper{
        height:100%;
    }
    .blog-hero-right{
        height: 360px;
    }
    .blog-hero-right img{
        position: absolute;
        right: 50%;
        top: unset;
        transform: translatex(50%);
    }
    .blog-hero-right::after{
        width: 270px;
        height: 270px;
        right: 50%;
        transform: translatex(50%);
    }
    .blog-hero-desc{
        font-size: 32px;
    }
    img.blog-hero-logo{
        width: 120px;
    }
    img.blog-hero-logo{
        padding: 12px 18px;
    }
    .blog-hero-title{
        font-size: 38px;
        height:unset;
    }
    li.cat-item-none a, li.cat-item a{
        font-size:14px;
        padding: 8px 16px;
    }
    .blog-categories{
        gap:10px;
    }
    .blog-posts-grid{
        grid-template-columns: 1fr;
    }
    article.blog-highlighted-post-item{
        grid-template-columns: 1fr;
    }
    .page-numbers{
		gap:10px;
	}
    span.page-numbers.current,.page-numbers a,span.page-numbers.dots{
        font-size: 14px;
        padding: 8px 16px;
    }
    .blog-hero-top{
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 576px){

}