/*
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
*/
.blg-page-content {
  width: 100%;
  padding: 30px 0 50px;
}
.blg-page-content ul{

     list-style:inherit;
}
.blg-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.blg-layout {
  display: grid;
  //grid-template-columns: 260px minmax(0, 1fr) 300px;
  grid-template-columns:    minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

/* =========================
   SIDEBARY
   ========================= */

.blg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blg-sidebar-left,
.blg-sidebar-right {
  position: sticky;
  top: 20px;
}

.blg-box {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 20px;
}

.blg-box h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
}

.blg-side-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blg-side-box li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
}

.blg-side-box a {
  font-size: 16px;
  line-height: 1.45;
  color: #222;
  text-decoration: none;
}

.blg-side-box a:hover {
  color: #b33a2f;
}

.blg-ad-placeholder {
  min-height: 250px;
  border: 2px dashed #cfcfcf;
  border-radius: 8px;
  background: #fafafa;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* =========================
   GŁÓWNA KOLUMNA ARTYKUŁU
   ========================= */

.blg-article-main {
  min-width: 0;
}

.blg-article-post {
  background: #ffffff;

  padding: 28px;
}

/* =========================
   BREADCRUMBS
   ========================= */

.blg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #777;
}

.blg-breadcrumbs a {
  color: #777;
  text-decoration: none;
}

.blg-breadcrumbs a:hover {
  color: #444;
  text-decoration: underline;
}

/* =========================
   HEADER ARTYKUŁU
   ========================= */

.blg-article-header {
  margin-bottom: 24px;
}

.blg-article-category {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b33a2f;
  text-decoration: none;
}

.blg-article-category:hover {
  text-decoration: underline;
}

.blg-article-title {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
  color: #111;
}

.blg-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  justify-content:center;
}

.blg-article-meta a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
}

.blg-article-meta a:hover {
  text-decoration: underline;
}

.blg-meta-separator {
  color: #aaa;
}



/* =========================
   HERO IMAGE
   ========================= */

.blg-article-hero {
  margin: 0 0 30px;
  border-radius: 12px;
  overflow: hidden;
}

.blg-article-hero img {
  width: 100%;
}

/* =========================
   BOX "NAJWAŻNIEJSZE INFORMACJE"
   ========================= */

.blg-article-facts {
  margin-bottom: 30px;
  padding: 22px;
  background: #f8f6ef;
  border: 1px solid #e8e2d2;
  border-radius: 12px;
}

.blg-article-facts h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
}

.blg-article-facts ul {
  margin: 0;
  padding-left: 20px;
}

.blg-article-facts li + li {
  margin-top: 10px;
}

/* =========================
   SPIS TREŚCI
   ========================= */

.blg-table-of-contents {
  margin-bottom: 34px;
  padding: 22px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}

.blg-table-of-contents h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
}

.blg-table-of-contents ul {
  margin: 0;
  padding-left: 20px;
}

.blg-table-of-contents li + li {
  margin-top: 8px;
}

.blg-table-of-contents a {
  color: #222;
  text-decoration: none;
}

.blg-table-of-contents a:hover {
  color: #b33a2f;
  text-decoration: underline;
}

/* =========================
   TREŚĆ ARTYKUŁU
   ========================= */

.blg-article-content {
  font-size: 19px;
  line-height: 1.75;
  color: #222;

}

.blg-article-lead{  
   text-align: left ;
   font-weight:bold;
   font-size:20px;
   margin-bottom:20px;
}
.blg-lead-image {

  max-width:100%;
}
 .blg-lead-wrap p{
     text-align:left;
     font-size:18px;
 }

.blg-article-content section + section {
  margin-top: 34px;
}

.blg-article-content img{
    max-width:100%;
    height:auto;
}

.blg-article-content h1 {
    margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  
 
}
.blg-article-content h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
  padding-bottom:5px;
  border-bottom: 3px solid #000;
  color:#000;
 
}

.blg-article-content h3 {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  background: #F0F0F0;
  padding:10px;
}

.blg-article-content p {
  margin: 0 0 18px;
}

.blg-article-content ul,
.blg-article-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.blg-article-content li + li {
  margin-top: 8px;
}

.blg-article-content a {
  
  text-decoration: underline;

}

.blg-article-content strong {
  font-weight: 700;
}

/* =========================
   FAQ
   ========================= */

.blg-article-faq {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #ececec;
}

.blg-article-faq h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.2;
}

.blg-faq-item + .blg-faq-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
}

.blg-faq-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.blg-faq-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

/* =========================
   BOX AUTORA
   ========================= */

.blg-article-author-box {
  margin-top: 40px;
  padding: 22px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}

.blg-article-author-box h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.blg-article-author-box p {
  margin: 0;
  font-size: 17px;
}

.blg-article-author-box a {
  color: #b33a2f;
  font-weight: 600;
  text-decoration: none;
}

.blg-article-author-box a:hover {
  text-decoration: underline;
}

/* =========================
   PODOBNE ARTYKUŁY POD TREŚCIĄ
   ========================= */

.blg-related-posts {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #ececec;
}

.blg-related-posts h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.2;
}

.blg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blg-related-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px;
}

.blg-related-card a {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.blg-related-card a:hover {
  color: #b33a2f;
}
.blg-article-content,
.blg-article-content p,
.blg-article-content li,
.blg-faq-item p {
  text-align: left;
}
.blg-article-title{
  text-align: center;
}
figure{
margin:0;
padding:0;
margin-bottom:30px;
}
figcaption{
  font-size:0.8rem;
  text-align:center;
  line-height:0.8rem;
}

 figure.image {
  margin: 28px 0;
  display: block;
}

figure.image img {   
  width: 100%;
  height: auto;
  display: block;

}

figure.image figcaption {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  text-align: center;
  
}
.article-toc {
    margin: 30px 0 40px;
    padding: 24px 50px;
    background: #f7f7f7;
    border: 1px solid #A0A0A0;

}

.article-toc__title {
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #111;
}

.article-toc__list,
.article-toc__sublist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-toc__item {
    margin: 0;
    padding: 0;
}

.article-toc__item > a {
    display: block;
    //padding: 6px 0;
    color: #111;
    text-decoration: none;
    line-height: 1.5;
    text-align: left;
}

.article-toc__item > a:hover {
    text-decoration: underline;
}

.article-toc__item--level-2 > a {
    //font-weight: 600;
    font-size: 18px;
}

.article-toc__sublist {
  //  margin-top: 8px;
    margin-left: 18px;
    padding-left: 26px;
    border-left: 1px solid #ddd;
}



.article-toc__item--level-3 > a {
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.article-toc__item--level-4 > a {
    font-size: 15px;
    color: #555;
}

@media (max-width: 768px) {
    .article-toc {
        padding: 18px 16px;
    }

    .article-toc__title {
        font-size: 22px;
    }

    .article-toc__item--level-2 > a {
        font-size: 17px;
    }

    .article-toc__item--level-3 > a,
    .article-toc__item--level-4 > a {
        font-size: 15px;
    }
}
/* =========================
   TABLET
   ========================= */

@media (max-width: 1199px) {
  .blg-layout {
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .blg-article-title {
    font-size: 36px;
  }

  .blg-article-lead {
    font-size: 19px;
  }

  .blg-article-content {
    font-size: 18px;
  }

  .blg-article-content h2,
  .blg-article-faq h2,
  .blg-related-posts h2 {
    font-size: 28px;
  }
}

/* =========================
   MNIEJSZY TABLET
   ========================= */

@media (max-width: 991px) {
  .blg-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }

  .blg-sidebar-left {
    display: none;
  }

  .blg-sidebar-right {
    position: static;
  }

  .blg-article-post {
    padding: 24px;
  }

  .blg-article-title {
    font-size: 32px;
  }

  .blg-related-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
  .blg-page-content {
    padding: 18px 0 36px;
  }

  .blg-container {
    padding: 0 14px;
  }

  .blg-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blg-article-main {
    order: 1;
  }

  .blg-sidebar-right {
    order: 2;
    position: static;
  }

  .blg-sidebar-left {
    display: none;
  }

  .blg-article-post,
  .blg-box {
    padding: 16px;
    border-radius: 10px;
  }

  .blg-breadcrumbs {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .blg-article-category {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .blg-article-title {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .blg-article-meta {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .blg-article-lead {
    font-size: 18px;
    line-height: 1.45;
  }

  .blg-article-hero {
    margin-bottom: 22px;
    border-radius: 10px;
  }

  .blg-article-facts,
  .blg-table-of-contents,
  .blg-article-author-box {
    padding: 16px;
    margin-bottom: 22px;
  }

  .blg-article-facts h2,
  .blg-table-of-contents h2,
  .blg-article-author-box h2 {
    font-size: 22px;
  }

  .blg-article-content {
    font-size: 17px;
    line-height: 1.7;
  }

  .blg-article-content h2,
  .blg-article-faq h2,
  .blg-related-posts h2 {
    font-size: 24px;
  }

  .blg-article-content h3,
  .blg-faq-item h3 {
    font-size: 20px;
  }

  .blg-faq-item p,
  .blg-article-author-box p,
  .blg-related-card a {
    font-size: 16px;
  }

  .blg-sidebar {
    gap: 20px;
  }   
}



/* --------- listing--------------*/
  
 /*----- listing -- ----- */
  
.blg-listing-section {
  width:90%;
  max-width:1300px;
  padding: 20px 0 30px;
  margin:auto;
}

.blg-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top:20px;
}

.blg-post-card {
  background: #fff;
  border: 1px solid #e5e5e5;

  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blg-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blg-post-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blg-post-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  object-position: center center;
}

.blg-post-content {
  padding: 0 16px 16px 16px; 
}

.blg-post-date {
  display: block;
  margin-bottom: 2px;
  margin-top:2px;
  font-size: 13px;
  color: #777;
}

.blg-post-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  color: #1f1f1f;
}

.blg-post-excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #555;
  
}

@media (max-width: 1100px) {
  .blg-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 700px) {
   .blg-post-content{
      padding:5px;
   }
   .blg-post-date {
      
      margin-bottom: 0;
      font-size: 14px;
      color: #000;
    }  
  .blg-listing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blg-post-thumb img {
    height: 210px;
  }

  .blg-post-title {
    font-size: 20px;
    text-align:left;
  }
  .blg-post-card {
 
      border: 1px solid lightgray;
    
      
    }
    .blg-post-excerpt {
        text-align:left;
        color: #000;
        
      }
      .blg-post-date {
     text-align:left;
    }
}