.sch-meteo-banner {
  width: 700px;
  height: 300px;
  max-width: calc(100% - 24px);
  margin: 0 auto 28px auto;
  box-sizing: border-box;
  padding: 22px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dfe8cf;
  background: linear-gradient(135deg, #f5faec 0%, #ffffff 58%, #eef6df 100%);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  color: #29482d;
  font-family: inherit;
}

.sch-meteo-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.sch-meteo-kicker {
  font-size: 13px;
  color: #63745f;
  margin-bottom: 4px;
}

.sch-meteo-head h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.1;
  color: #29482d;
}

.sch-meteo-updated {
  font-size: 12px;
  color: #63745f;
  text-align: right;
  max-width: 180px;
}

.sch-meteo-main {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
}

.sch-meteo-temp {
  min-height: 158px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid #e5ecd8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 14px rgba(0,0,0,.035);
}

.sch-meteo-temp span {
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
}

.sch-meteo-temp em {
  font-style: normal;
  font-size: 20px;
  margin-top: 2px;
}

.sch-meteo-temp small {
  margin-top: 8px;
  color: #63745f;
  font-size: 12px;
}

.sch-meteo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sch-meteo-grid div {
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid #e5ecd8;
  box-shadow: 0 5px 14px rgba(0,0,0,.03);
}

.sch-meteo-grid strong {
  display: block;
  color: #29482d;
  font-size: 20px;
  line-height: 1.15;
}

.sch-meteo-grid small {
  display: block;
  margin-top: 5px;
  color: #63745f;
  font-size: 12px;
}

.sch-meteo-empty,
.sch-meteo-warning {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.8);
  border: 1px solid #e5ecd8;
  color: #63745f;
}

.sch-meteo-stale {
  opacity: .86;
}

.sch-meteo-detail {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  margin: 0 auto 24px auto;
  border: 1px solid #dfe8cf;
}

.sch-meteo-detail th,
.sch-meteo-detail td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5ecd8;
  text-align: left;
}

.sch-meteo-detail th {
  width: 45%;
  color: #29482d;
  background: #f5faec;
}

@media (max-width: 760px) {
  .sch-meteo-banner {
    width: calc(100% - 24px);
    height: auto;
    min-height: 300px;
    padding: 16px;
  }

  .sch-meteo-head {
    display: block;
  }

  .sch-meteo-updated {
    text-align: left;
    margin-top: 6px;
    max-width: none;
  }

  .sch-meteo-main {
    grid-template-columns: 1fr;
  }

  .sch-meteo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Kompaktní varianta pro pravý sloupec / WordPress widget */
.sch-meteo-banner.sch-meteo-compact {
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  margin: 0 0 18px 0;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 7px 18px rgba(0,0,0,.06);
}

.sch-meteo-compact .sch-meteo-head {
  display: block;
  margin-bottom: 12px;
}

.sch-meteo-compact .sch-meteo-kicker {
  font-size: 12px;
  margin-bottom: 3px;
}

.sch-meteo-compact .sch-meteo-head h3 {
  font-size: 18px;
  line-height: 1.15;
}

.sch-meteo-compact .sch-meteo-updated {
  text-align: left;
  max-width: none;
  margin-top: 5px;
  font-size: 11px;
}

.sch-meteo-compact .sch-meteo-main {
  display: block;
}

.sch-meteo-compact .sch-meteo-temp {
  min-height: 92px;
  margin-bottom: 10px;
  border-radius: 15px;
}

.sch-meteo-compact .sch-meteo-temp span {
  font-size: 38px;
}

.sch-meteo-compact .sch-meteo-temp em {
  font-size: 16px;
}

.sch-meteo-compact .sch-meteo-temp small {
  font-size: 11px;
  margin-top: 5px;
}

.sch-meteo-compact .sch-meteo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sch-meteo-compact .sch-meteo-grid div {
  min-height: 54px;
  padding: 8px 9px;
  border-radius: 13px;
}

.sch-meteo-compact .sch-meteo-grid strong {
  font-size: 15px;
}

.sch-meteo-compact .sch-meteo-grid small {
  font-size: 11px;
  margin-top: 4px;
}

.sch_meteo_local_widget .sch-meteo-banner {
  margin-bottom: 0;
}
