.homepage-header h1 {
    font-size: 20px;
}
.highlight-box.idea {
    position: relative;
    padding-left: 50px;
}

.highlight-box.idea::before {
    content: '💡';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .highlight-box.idea {
        padding-left: 40px;
    }
    
    .highlight-box.idea::before {
        left: 12px;
        font-size: 1.2rem;
    }
}

.containera {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.articlea {
  position: relative;
}

.article-main {
  width: 60%;
  padding: 0px;
  cursor: pointer;
}

.article-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.article-side {
  width: 39%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-side h2 {
    font-size: 17px;
    z-index: 160;
}

.article-bottom-item h2 {
    font-size: 1.2em;
}

.article-side-item {
  width: 48%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.article-side-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 150;
}

.article-side-item h1 {
    color: #fff;
}

.article-main-content h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.articleaintem p {
  text-align: justify;  
}

.article-bottom-item {
  display: flex;
  flex-direction: column;
  height: 253px; /* Zvolte výšku podle vašich potřeb */
}

.article-bottom-item picture {
  flex: 1 1 auto;
  overflow: hidden;
}

.article-bottom-item img {
  width: 100%;
  object-fit: cover;
  min-height: 100%;
}

.article-bottom-item .articleaintem {
  flex-shrink: 0;
}

.article-bottom-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  width: 48%;
  padding: 20px;
  box-sizing: border-box;
}

.article-bottom-item img {
  width: 100%;
}

.article-bottom-item picture {
  float: left;
}

.articlesBlock {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
}

.articlefirstb {
  width: 49%;
  padding: 20px;
  margin-bottom: 20px;
  background: #ebecf0;
}

.articlesothers {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 49%;
  margin-bottom: 20px;
}

.articlesothers .articles-second {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.articles-second {
  margin-bottom: 15px;
  width: 49%;
}

.articles-second-full {
     width: 100%;
     display: block;
     margin-bottom: 25px;
     margin-top: 20px;
}

.articles-second-img {
  width: 25%;    
}

.articles-second-img img{
  width: 100%;    
}



.articles-second-text {
   width: 74%; 
}

.ar-main-head {
  width: 100%;
}

.imgarticle img {
  width: 100%;
  
}
.imgarticle {
    cursor: pointer;
}

.articles-second-img img {
    cursor: pointer;
}

.titleart h3 {
  font-size: 18px;
  color: #000;
  line-height: 20px;
  font-weight: 900;
  margin: 0px 0px 10px 0px;
  cursor: pointer;
  
}

.summaryart {
  color: #3c4858;
}

.vseclamain {
  display: flex;
  flex-wrap: wrap;
}

.vseclamain01 {
  width: 320px;
  margin-bottom: 30px;
  margin-right: 20px;
}

h2.cursorpoint {
  border-left: 8px solid #16d378;
  padding-left: 15px; 
  cursor: pointer;
  margin-top: 10px;
  font-size: 18px;
}

@media screen and (max-width: 767px) {
  .containera {
    flex-direction: column;
  }

  .article-main,
  .article-side {
    width: 100%;
  }

  .articlea {
    margin-bottom: 10px;
  }

  .article-side {
    display: block;
  }

  .clanky02img:before {
    position: relative;
  }

  .article-side-item {
    margin-bottom: 10px;
    width: 100%;
  }

  .article-bottom-item {
    display: block;
    text-align: center;
    width: 100%;
    height: auto;
  }

  .articleaintem p {
    overflow-wrap: break-word;
  }

  .articleain {
    flex-direction: unset;
    position: relative;
  }

  .article-bottom-item img {
    width: 100%;
  }

  .article-bottom-item picture {
    width: 100%;  
  }

  .article-main-content h1 {
    font-size: 18px;
  }

  .articlefirstb, .articlesothers, .articles-second {
    width: 100%;
  }

  .articles-second {
    margin-bottom: 30px;  
  }

  .titleart h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .buttonsadd {
    width: 100%;
    padding: 10px 10px;
  }

  .mapa-parex p {
    font-size: 12px !important;
  }
  
  .row {
    width: 100%;  
  }
  .articles-second-img, .articles-second-text {
      width: 100%;
      margin-bottom: 10px;
  }
  .articles-second-img img {
      width: 100%;
      
  }
}


@media screen and (max-width: 1400px) {
  .articles-second {
    width: 100%;
  }  
    
}

@media screen and (max-width: 1000px) {
  .articlefirstb, .articlesothers {
    width: 100%;
  }

  .vseclamain01 {
    width: 45%;
  }

  .vseclamainimg img {
    width: 100%;
  }
  .row {
    width: 100%;  
  }
  

}

@media screen and (max-width: 600px) {
  .vseclamain01 {
    width: 100%;
    margin-right: 0px; 
  }

  .articlesBlock {
    padding: 15px;  
  }

  .articlefirstb, .articlesothers {
    padding: 10px;
  }
}
