/* TerniZERO 21.5.66 — Card meteo/header ripulita e responsive con mini-banner valorizzato. */
.city-card{
  min-height:480px;
  padding:30px 30px 170px;
  background:linear-gradient(180deg,#cf123c 0%,#c81139 100%);
  isolation:isolate;
}
.city-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(145deg,transparent 48%,rgba(255,255,255,.08) 48% 50%,transparent 50%),
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
  pointer-events:none;
}
.city-card .city-map{
  position:absolute;
  inset:82px 0 0;
  opacity:.22;
  background:
    repeating-linear-gradient(35deg,transparent 0 40px,rgba(255,255,255,.16) 41px 44px),
    repeating-linear-gradient(130deg,transparent 0 60px,rgba(255,255,255,.12) 61px 64px);
}
.city-card .tower{display:none!important;}
.city-card .city-label.tz-meteo-header{
  position:relative;
  z-index:2;
  max-width:100%;
  font-family:"DM Sans",sans-serif;
  line-height:1.15;
  color:#fff;
  text-shadow:0 1px 4px rgba(70,0,10,.15);
}
.city-card .tz-weather-location{font-size:18px;font-weight:800;letter-spacing:.03em;}
.city-card .tz-weather-coordinates{font-size:10px;margin-top:2px;opacity:.76;font-weight:600;}
.city-card .tz-weather-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(145px,220px);
  align-items:start;
  gap:16px 28px;
  margin-top:18px;
  max-width:100%;
  min-width:0;
}
.city-card .tz-weather-datetime{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;}
.city-card .city-label span.tz-weather-kicker{display:block;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.96;}
.city-card .tz-weather-datetime time{display:block;font:900 60px/1 Manrope,sans-serif;letter-spacing:-.065em;font-variant-numeric:tabular-nums;white-space:nowrap;}
.city-card .city-label span.tz-weather-day{display:block;font:800 28px/1.1 Manrope,sans-serif;letter-spacing:-.04em;text-transform:capitalize;}
.city-card .city-label span.tz-weather-date{display:block;font:600 20px/1.2 Manrope,sans-serif;letter-spacing:-.02em;text-transform:capitalize;}
.city-card .tz-weather-forecast{
  display:grid;
  grid-template-columns:1fr;
  justify-items:start;
  align-content:start;
  gap:3px;
  text-align:left;
  min-width:0;
  margin-top:4px;
}
.city-card .city-label span.tz-weather-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:system-ui,sans-serif;
  font-weight:400;
  font-size:82px;
  line-height:1;
  opacity:1;
  min-height:82px;
  margin-bottom:6px;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.13));
}
.city-card .city-label span.tz-weather-degrees{display:block;font:900 54px/1 Manrope,sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap;}
.city-card .city-label span.tz-weather-description{display:block;font:800 17px/1.2 "DM Sans",sans-serif;overflow-wrap:break-word;}
.city-card .city-label span.tz-weather-range{display:block;font:750 13px/1.3 "DM Sans",sans-serif;white-space:normal;}
.city-card .tz-weather-credit{
  position:relative;
  left:auto;
  top:auto;
  margin-top:12px;
  font:600 9px/1.3 "DM Sans",sans-serif;
  opacity:.72;
  white-space:normal;
  max-width:300px;
  z-index:3;
}
.city-card .tz-weather-credit a{color:#fff;text-decoration:underline;text-underline-offset:2px;}
.city-card .floatcard{
  left:28px;
  right:28px;
  bottom:28px;
  z-index:4;
  min-height:118px;
  border-radius:22px;
}
.city-card .floatcard.tz-adv-active{
  padding:0;
  overflow:hidden;
  display:block;
  min-height:118px;
  background:rgba(255,255,255,.96);
}
.city-card .tz-header-ad-link,
.city-card .tz-header-ad-link img{
  display:block;
  width:100%;
  height:100%;
  min-height:118px;
  max-height:none;
}
.city-card .tz-header-ad-link img{
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.city-card .floatcard .pin{width:42px;height:42px;border-radius:13px;background:var(--gold);display:grid;place-items:center;font-size:1.2rem;flex:0 0 auto;}
.city-card .floatcard small{display:block;color:var(--muted);}

@media(max-width:1150px){
  .city-card{min-height:470px;padding-bottom:162px;}
  .city-card .tz-weather-panel{grid-template-columns:minmax(0,1fr) minmax(128px,195px);gap:14px 22px;}
  .city-card .tz-weather-datetime time{font-size:55px;}
  .city-card .city-label span.tz-weather-day{font-size:25px;}
  .city-card .city-label span.tz-weather-date{font-size:18px;}
  .city-card .city-label span.tz-weather-icon{font-size:72px;min-height:72px;}
  .city-card .city-label span.tz-weather-degrees{font-size:48px;}
}
@media(max-width:950px){
  .city-card{min-height:450px;padding-bottom:154px;}
  .city-card .tz-weather-credit{max-width:240px;}
  .city-card .floatcard,
  .city-card .floatcard.tz-adv-active,
  .city-card .tz-header-ad-link,
  .city-card .tz-header-ad-link img{min-height:108px;}
}
@media(max-width:620px){
  .city-card{
    min-height:450px;
    padding:20px 20px 124px;
    border-radius:28px;
  }
  .city-card:before{
    background:
      linear-gradient(145deg,transparent 48%,rgba(255,255,255,.06) 48% 50%,transparent 50%),
      linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
  }
  .city-card .city-map{inset:72px 0 0;opacity:.16;}
  .city-card .tz-weather-location{font-size:15px;}
  .city-card .tz-weather-coordinates{font-size:9px;}
  .city-card .tz-weather-panel{
    grid-template-columns:minmax(0,1fr) minmax(96px,128px);
    gap:10px 12px;
    margin-top:12px;
  }
  .city-card .city-label span.tz-weather-kicker{font-size:10px;}
  .city-card .tz-weather-datetime time{font-size:clamp(42px,13vw,58px);}
  .city-card .city-label span.tz-weather-day{font-size:clamp(22px,6.6vw,28px);}
  .city-card .city-label span.tz-weather-date{font-size:clamp(17px,5vw,20px);}
  .city-card .city-label span.tz-weather-icon{font-size:56px;min-height:56px;margin-bottom:4px;}
  .city-card .city-label span.tz-weather-degrees{font-size:clamp(33px,10vw,42px);}
  .city-card .city-label span.tz-weather-description{font-size:14px;}
  .city-card .city-label span.tz-weather-range{font-size:11px;}
  .city-card .tz-weather-credit{margin-top:8px;font-size:8px;max-width:190px;}
  .city-card .floatcard{
    left:18px;
    right:18px;
    bottom:18px;
    min-height:86px;
    border-radius:18px;
  }
  .city-card .floatcard.tz-adv-active,
  .city-card .tz-header-ad-link,
  .city-card .tz-header-ad-link img{min-height:86px;}
}
@media(max-width:390px){
  .city-card{min-height:432px;padding:18px 18px 112px;}
  .city-card .tz-weather-panel{grid-template-columns:minmax(0,1fr) 108px;gap:8px 10px;}
  .city-card .tz-weather-datetime time{font-size:40px;}
  .city-card .city-label span.tz-weather-day{font-size:21px;}
  .city-card .city-label span.tz-weather-date{font-size:16px;}
  .city-card .city-label span.tz-weather-icon{font-size:50px;min-height:50px;}
  .city-card .city-label span.tz-weather-degrees{font-size:31px;}
  .city-card .city-label span.tz-weather-description{font-size:13px;}
  .city-card .city-label span.tz-weather-range{font-size:10px;}
  .city-card .tz-weather-credit{max-width:170px;}
  .city-card .floatcard,
  .city-card .floatcard.tz-adv-active,
  .city-card .tz-header-ad-link,
  .city-card .tz-header-ad-link img{min-height:78px;}
}
