.main {
  padding: 15px 0 40px;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 1.1fr); /* lewa kolumna + slidebar szerokość */
  gap: 15px;
  align-items: flex-start;
}




/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  background: var(--bg-content);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.post-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
}

.post-body h3 {
  font-size: 16px;
  margin: 0;
}

.post-body h3 a {
  color: var(--text-main);
  text-decoration: none;
}

.post-body h3 a:hover {
  color: var(--accent-dark);
}

.post-body p {
  font-size: 14px;
  color: var(--text-muted);
}

.post-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Page content */
.page {
  background: #141516;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 22px 18px;
}

.page-toc {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 20px;
}

.page-toc h2 {
  font-size: 16px;
  margin: 0 0 6px;
  background: #141516;
}

.page-toc ol {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.page-section + .page-section {
  margin-top: 22px;
}

.page-section h2 {
  font-size: 20px;
  margin: 5px 0 15px;
}

/* fonty z lewej strony */
.page-section p {
  font-size: 18px;
 /*  text-align: justify; */
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 8px;
}

/* Responsive */
@media (max-width: 960px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}

.update {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: grey;
  margin: 1px 0 20px 0;
  display: block;
  text-align: left;
}

.meta-date {
  font-size: 10px;  /* Tylko raz! */
  margin-top: 2px;
  margin-bottom: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-date .meta-label {
  opacity: 0.5;
}

.meta-date time {
  opacity: 0.7;
}

.meta-date .meta-separator {
  opacity: 0.4;
}



.content {
  background: transparent;
}


/* AKAPITY */
.content p {
    margin-bottom: 20px;
}

/* NAGŁÓWKI */
.content h2 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
border-bottom: 2px solid #222;
padding-bottom: 8px;
 
  
}

/*.content h3 {
    margin-top: 35px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    
}*/
.content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 28px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
    /* border-top: 2px solid #222; */
    padding-top: 15px; 
    
}

.imgcenter {
  display: flex;
  justify-content: center; /* Środek w poziomie */
  align-items: center;     /* Środek w pionie (opcjonalnie) */
}

.imgcenter {
    text-align: center;
    margin: 10px 0;
}

.imgcenter img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.imgcenter img:hover {
    transform: scale(1.03);
    transition: 0.2s ease;
}


.ad-imgcenter {
    text-align: center;
    margin: 20px;
}

.ad-imgcenter img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

    .comment-box {
        background: #141516;
        border: 1px solid #333;
        padding: 20px;
        border-radius: 8px;
        margin-top: 30px;
    }

    .comment-box input,
    .comment-box textarea {
        width: 100%;
        padding: 10px;
        margin: 8px 0 15px 0;
        background: #1e1e1e;
        border: 1px solid #333;
        color: #eee;
        border-radius: 6px;
    }

    .comment-box button {
        padding: 10px 20px;
        background: #5a0002;
        border: none;
        color: #fff;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.2s;
    }

    .comment-box button:hover {
        background: #cc0000;
    }

      /* --- FIREBLADE NEWS COMMENT STYLE --- */

    #comments {
        margin-top: 30px;
        border-top: 1px solid #333;
        padding-top: 1px;
    }

    .comment {
        background: #1e1e1e;
        border: 1px solid #333;
        padding: 15px 15px 10px 15px;
        margin: 20px 0;
        border-radius: 6px;
        line-height: 1.6;
        color: #ddd;
    }

    .comment strong {
        font-size: 15px;
        color: #fff;
    }

    .comment span {
        font-size: 13px;
        color: #aaa;
        margin-left: 10px;
    }

    .comment p {
        margin-top: 8px;
        color: #ccc;
    }

    /* --- SPEC SHEET PRODUCENT – DARK FIREBLADE --- */

.spec_sheet_dark {
    width: 100%;
    margin: 2em 0;
    background: #111;
    color: #ddd;
    border-radius: 10px;
    border: 1px solid #222;
    padding: 1.5em 2em;
    font-size: 1em;
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

.spec_sheet_dark h3 {
    margin: 1.4em 0 0.6em;
    font-size: 1.05em;
    color: #e33;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
}

.spec_sheet_dark_row {
    display: flex;
    padding: 0.55em 0;
    border-bottom: 1px solid #222;
}

.spec_sheet_dark_row:nth-child(odd) {
    background: #151515;
}

.spec_sheet_dark_row:nth-child(even) {
    background: #1a1a1a;
}

.spec_sheet_dark_name {
    flex: 0 0 260px;
    font-weight: 600;
    color: #fff;
}

.spec_sheet_dark_value {
    flex: 1;
    color: #ccc;
}

/* mobile */


/* --- TRYB MOBILNY — NAPRAWIA ROZJEŻDŻANIE --- */
@media (max-width: 768px) {

    .spec_sheet_dark {
        padding: 1em 1.2em;
        font-size: 0.92em;
    }

    .spec_sheet_dark_row {
        flex-direction: column;
        padding: 0.7em 0;
    }

    .spec_sheet_dark_name {
        flex: none;
        width: 100%;
        margin-bottom: 0.25em;
        font-size: 0.95em;
    }

    .spec_sheet_dark_value {
        width: 100%;
        font-size: 0.95em;
        line-height: 1.45;
        word-break: break-word;
        white-space: normal;
    }
}

.tabela_podstrona {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 1px 15px 15px 15px;
    margin: 20px 0;
    border-radius: 6px;
    line-height: 1.6;
    color: #ddd;
}
.tabela_podstrona a {

    color: rgb(227, 26, 26);
}

.tabela_podstrona h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.tabela_podstrona .data {
    margin: 15px;
   
    font-size: 24px;
    
    font-weight: 700;
}