.benefits {
    margin: 0;
    padding: 60px 0;
    width: 100%;
    background: #fcfcfe;
    text-align: center;
}

.benefits h2 {
text-align: center;
display: none;
}

.benefits ul {
	display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

.benefits li {
	list-style: none;
    margin: 0 auto;
    padding: 20px;
	max-width: 260px;
}

@media only screen and (min-width: 700px) { /* Z Fold 7 - chrome) */

	.benefits ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-evenly;
		align-items: flex-start;
		max-width: 1200px;
	}
	
	.benefits li {
	    margin: 0;
	    max-width: 33%;
	}
	
}

.benefits li h3 {
	font-size: 120%;
    font-weight: bold;
}

.benefits li img {
	max-width: 100%;
	width: 180px;
	    display: block;
    margin: 0 auto;
}

.hp-sluzby {
	margin: 60px 0;
}

.hp-sluzby h2 {

}

.hp-sluzby h3 {

}

.search-results{
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: 10px;

  grid-template-columns: 1fr;
  align-items: stretch;
}

/* samotná karta */
.search-entry{
  box-sizing: border-box;
  height: 100%;

  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 16px;

  display: flex;
  flex-direction: column;
}

.search-entry h3{
  margin: 0 0 10px;
}

/* 2 vedle sebe */
@media (min-width: 480px) and (max-width: 699px){
  .search-results{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* 3 položky → třetí doprostřed */
  .search-results:has(> .search-entry:nth-child(3):last-child)
  > .search-entry:nth-child(3){
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 320px;
    width: 100%;
  }
}

/* desktop */
@media (min-width: 700px){
  .search-results{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  /* 1 položka */
  .search-results:has(> .search-entry:only-child){
    justify-content: center;
    grid-template-columns: minmax(0, 420px);
  }

  /* 2 položky */
  .search-results:has(> .search-entry:nth-child(2):last-child){
    justify-content: center;
    grid-template-columns: repeat(2, minmax(0, 320px));
  }

  /* 4 položky → poslední doprostřed */
  .search-results:has(> .search-entry:nth-child(4):last-child)
  > .search-entry:nth-child(4){
    grid-column: 2;
  }
}
