.cm h1,
.cm h2,
.cm h3,
.cm h4,
.cm h5,
.cm h6,
.cm p,
.cm ol,
.cm ul {
	margin: 8px 0;
	color: inherit;
	line-height: 1.8 !important;
}

._ae_desc div {
    font-size: 16px !important;
}

#main_blog .article__image_wrapper .article__image {
    object-fit: cover;
}

#blog-item img.blog_image {
    max-width: 100%;
}

/* Proste style dla tabel w blog-item_sub */
.blog-item_sub table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
  font-size: 14px;
}

/* Komórki tabeli */
.blog-item_sub table td,
.blog-item_sub table th {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.blog-item_sub table td p {
    margin: 0!important;
}

/* Nagłówek tabeli (pierwszy wiersz) */
.blog-item_sub table tr:first-child {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* Co drugi wiersz - lekko szary */
.blog-item_sub table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover na wierszach */
.blog-item_sub table tr:hover {
  background-color: #f5f5f5;
}

/* Kontener dla responsywnych tabel */
.table-wrapper {

  -webkit-overflow-scrolling: touch; /* Płynne przewijanie na iOS */
  margin: 20px 0;
}

/* Responsywność - przewijanie tylko tabeli */
@media screen and (max-width: 600px) {
  .blog-item_sub table {
    min-width: 500px;
  }
  .table-wrapper{
    overflow-x: auto;
  }
}


.blog-item_sub {
  overflow-x: hidden;
  max-width: 100%;
}