.in-index .container-narrow {
  width: unset;
}

.news-wrapper,
.homepage-blog-wrapper {
  margin-left: -12px;
  margin-right: -12px;
  width: unset;
  justify-content: flex-start;
  margin-top: 100px;
}

.news-item img {
  border-radius: 10px !important;
}

.news-item .title,
.news-item h2,
.news-item h2 a {
  color: #000 !important;
  font-weight: 500 !important;
  font-size: 22px !important;
}

.news-item .read-article {
  background-color: white;
  display: inline-block !important;
  padding: 10px 15px;
  border-radius: 10px !important;
  transition: 0.3s ease-out;
  max-width: 140px;
  margin-top: 20px;
  color: #333;
  font-weight: 600;
}
.news-item .read-article:hover {
  background-color: #e7e7e7;
  border-color: snow;
}
.news-item {
  flex-basis: 100% !important;
  width: 100% !important;
  padding: 10px !important;
}

.news-item-detail .text a {
  color: var(--color-primary-hover);
  text-decoration: underline;
  transition: 0.3s;
}

.news-item-detail .text img {
  border-radius: 10px !important;
}

@media (hover: hover) {
  .news-item-detail .text a:hover {
    text-decoration: none;
    transition: 0.3s;
  }
}

.eu-imgs {
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
  gap: 10px;
  width: 100%;
}

table.blog-protipozarni-ochrana td,
table.blog-protipozarni-ochrana th,
table.blog-komin td,
table.blog-komin th {
  padding: 1rem;
  text-align: center;
}

table.blog-protipozarni-ochrana tbody tr:nth-child(odd),
table.blog-komin tbody tr:nth-child(even) {
  background-color: #f3f3f3;
}

table.blog-komin thead {
  background-color: #d40118;
  color: #ffffff;
}

table.blog-komin {
  border-radius: 10px !important;
  overflow: hidden;
}

.news-item-detail .text h2 {
  margin-top: 40px;
}

.news-item-detail .text h3 {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .news-item {
    flex-basis: 50% !important;
    width: 50% !important;
  }

  .news-item .title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    margin: 0;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  .news-item {
    flex-basis: 25% !important;
    width: 25% !important;
  }
}

@media (min-width: 1440px) {
  .news-item {
    flex-basis: 25% !important;
    width: 25% !important;
  }
}

.type-post main#content article .row {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 600px) {
  .id-682 .news-item-detail .text img {
    margin-top: 10px;
  }
}

.news-item .text {
  display: flex;
  align-items: center;
  padding-inline: 20px;
}

.homepage-blog-wrapper .news-item .title,
.homepage-blog-wrapper .news-item .description {
  text-align: center;
}

.blog-wrapper .news-item .description {
  margin-top: 10px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .in-blog div#newsWrapper {
    margin-top: 80px !important;
  }
}

.in-blog article.news-item h2,
.in-blog article.news-item .description {
  padding-right: 15px;
}

.in-blog.type-post p {
  line-height: 1.4 !important;
}

@media (max-width: 767px) {
  .news-item .text {
    flex-direction: column;
    padding-inline: 0px;
  }
  .in-blog #newsWrapper h2,
  .in-blog #newsWrapper .description {
    text-align: center;
    text-align: center;
  }
}
