h1 {
text-align: left; font-size: 15pt; font-family: arial; font-weight: bold; 
margin-bottom: 15px; margin-top: 30px;
margin-left: 5px;
}

iframe {
  width: 95%;
  height: 538px;
}


@media (max-width: 580px) {
iframe {
 width: 95%;
 height: 240px;
}
}

.grid {
  display: grid;
  max-width: 1220px;
  grid-template-columns: 80% 1fr;
}

@media only screen and (max-width: 1100px) {
  .grid {
width: 900px;
  }
}

@media only screen and (max-width: 980px) {
  .grid {
max-width: 100%;
margin: auto;
display: block;
  }
}

.grid-mobile {
  width: 98%;
  margin: auto;
}


.areaA {
text-align: left;
margin-left: 5px;
}

@media only screen and (max-width: 980px) {
  .areaA {
text-align: center;
margin: auto;
  }
}

.areaB {
text-align: right;
}

.areaC {
text-align: center;
}

.areaD {
text-align: left;
}

.models{
  display:flex !important;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:12px;
  background-color: #ffffff;
  width: 95%;
}

/* Každá hvezda je „kompaktní“ flex item, ne 100% šírka */
.models .model{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  width:auto !important;   /* zruší prípadné width:100% z jiných stylesheetu */
  margin:0;
  padding:0;
}

/* Obrázek – pevná velikost, aby se to nezalamovalo */
.models .model img{
  width:157px;
  height:157px;
  object-fit:cover;
  display:block;
}

/* Na mobilu to mužeš i centrovat */
@media (max-width: 680px){
  .models{ justify-content:center; margin: auto;}
}

html.dark .models {background-color: #121212; border: 1px solid #666666; padding-top: 5px;}
html.dark .models .model {background-color: #121212; border: 0px solid;}

@media (max-width: 980px){
html.dark .models{border: 0px solid;}
}

html.dark .sponsor a {color: #FF9966 ; text-decoration: underline;}
html.dark .sponsor a:visited { color: #FF9966; text-decoration: underline;}
html.dark .sponsor a:hover { color: #FF9966; text-decoration: underline; }
html.dark .sponsor a:active { color: #FF9966; text-decoration: underline; }

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #0000FF;
}

html.dark .dropdown-content{
  background: #1f1f1f;
}

.show {
  display: block;
}

@media (max-width: 768px) {

  .topnav a,
  .topnav .dropdown,
  .topnav .dropbtn {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
  }

  .topnav {
    display: block;
  }

  .dropdown-content {
    position: relative; /* duležité pro mobil */
    box-shadow: none;
  }

}

@media (max-width: 768px) {

  .topnav a,
  .topnav .dropdown,
  .topnav .dropbtn {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
  }

  .topnav {
    display: block;
  }

}