/*
 * NowMeteo - Meteo Domani / capoluoghi regionali
 * v3 2026-09-22
 * File separato e classi dedicate per evitare collisioni/cache con le versioni precedenti.
 */
.tomorrow-capitals{
  margin:38px 0 42px;
  padding:24px;
  border:1px solid #dfe7ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(24,47,73,.05);
}
.tomorrow-capitals__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.tomorrow-capitals__eyebrow{
  display:block;
  margin-bottom:5px;
  color:#68778a;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.tomorrow-capitals__header h2{
  margin:0;
  color:#17344d;
  font-size:1.55rem;
  line-height:1.2;
}
.tomorrow-capitals__header p{
  margin:7px 0 0;
  color:#637286;
  font-size:1rem;
  line-height:1.5;
}
.tomorrow-capitals__test{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  background:#fff1b8;
  color:#6f5300;
  font-size:.72rem;
  font-weight:850;
  white-space:nowrap;
}
.tomorrow-capitals__table-wrap{
  width:100%;
  overflow:hidden;
  border:1px solid #cfe0eb;
  border-radius:14px;
  background:#fff;
}
.tomorrow-capitals__table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  color:#17344d;
}
.tomorrow-capitals__table th,
.tomorrow-capitals__table td{
  box-sizing:border-box;
  vertical-align:middle;
}
.tomorrow-capitals__table thead th{
  height:40px;
  padding:8px 10px;
  border-bottom:1px solid #d9e6ee;
  background:#f3f8fc;
  color:#5d7184;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.035em;
  line-height:1.15;
  text-transform:uppercase;
  text-align:left;
  white-space:nowrap;
}
.tomorrow-capitals__head-city,
.tomorrow-capitals__city{width:20%}
.tomorrow-capitals__head-weather,
.tomorrow-capitals__icon{width:9%;text-align:center!important}
.tomorrow-capitals__condition{width:34%}
.tomorrow-capitals__head-min,
.tomorrow-capitals__head-max,
.tomorrow-capitals__temp{width:9%;text-align:center!important}
.tomorrow-capitals__head-action,
.tomorrow-capitals__action{width:19%;text-align:right!important}
.tomorrow-capitals__group th{
  height:34px;
  padding:7px 12px;
  border-bottom:1px solid #dce9f1;
  background:#eaf4fa;
  color:#31516b;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1.2;
  text-align:left;
  text-transform:uppercase;
}
.tomorrow-capitals__row th,
.tomorrow-capitals__row td{
  height:58px;
  padding:8px 10px;
  border-bottom:1px solid #e7edf3;
  background:#fff;
}
.tomorrow-capitals__row:last-child th,
.tomorrow-capitals__row:last-child td{border-bottom:0}
.tomorrow-capitals__city{
  font-size:.96rem;
  font-weight:850;
  text-align:left;
  white-space:nowrap;
}
.tomorrow-capitals__city a{
  color:#17344d;
  text-decoration:none;
}
.tomorrow-capitals__city a:hover,
.tomorrow-capitals__action a:hover{text-decoration:underline}
.tomorrow-capitals__icon{padding-left:4px!important;padding-right:4px!important}
.tomorrow-capitals__icon img{
  display:block;
  width:42px;
  height:42px;
  margin:0 auto;
  object-fit:contain;
}
.tomorrow-capitals__condition{
  overflow:hidden;
  color:#44586b;
  font-size:.94rem;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tomorrow-capitals__temp{
  min-width:3ch;
  font-size:1.08rem;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.tomorrow-capitals__temp--min{color:#0759c7}
.tomorrow-capitals__temp--max{color:#c62828}
.tomorrow-capitals__action a{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  min-height:34px;
  color:#0879d9;
  font-size:.9rem;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
.tomorrow-capitals__action-arrow{font-size:1.05em;line-height:1}

@media (hover:hover){
  .tomorrow-capitals__row:hover th,
  .tomorrow-capitals__row:hover td{background:#fbfdff}
}

@media (max-width:700px){
  .tomorrow-capitals{
    margin:30px 0 34px;
    padding:18px 10px;
    border-radius:16px;
  }
  .tomorrow-capitals__header{
    display:block;
    margin-bottom:16px;
  }
  .tomorrow-capitals__header h2{font-size:1.35rem}
  .tomorrow-capitals__header p{font-size:.92rem}
  .tomorrow-capitals__test{margin-top:10px}
  .tomorrow-capitals__table-wrap{border-radius:12px}
  .tomorrow-capitals__condition{display:none}
  .tomorrow-capitals__head-city,
  .tomorrow-capitals__city{width:40%}
  .tomorrow-capitals__head-weather,
  .tomorrow-capitals__icon{width:16%}
  .tomorrow-capitals__head-min,
  .tomorrow-capitals__head-max,
  .tomorrow-capitals__temp{width:14%}
  .tomorrow-capitals__head-action,
  .tomorrow-capitals__action{width:16%}
  .tomorrow-capitals__table thead th{
    height:36px;
    padding:7px 5px;
    font-size:.66rem;
    text-align:center;
  }
  .tomorrow-capitals__table thead .tomorrow-capitals__head-city{text-align:left}
  .tomorrow-capitals__head-action span{display:none}
  .tomorrow-capitals__group th{
    height:32px;
    padding:6px 8px;
    font-size:.72rem;
  }
  .tomorrow-capitals__row th,
  .tomorrow-capitals__row td{
    height:52px;
    padding:6px 5px;
  }
  .tomorrow-capitals__city{
    padding-left:8px!important;
    font-size:.9rem;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .tomorrow-capitals__city a{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .tomorrow-capitals__icon img{width:36px;height:36px}
  .tomorrow-capitals__temp{font-size:.98rem}
  .tomorrow-capitals__action{text-align:center!important}
  .tomorrow-capitals__action a{
    display:flex;
    justify-content:center;
    width:100%;
    min-height:36px;
    font-size:1.12rem;
  }
  .tomorrow-capitals__action-label{display:none}
}

@media (max-width:390px){
  .tomorrow-capitals{padding-left:7px;padding-right:7px}
  .tomorrow-capitals__header h2{font-size:1.27rem}
  .tomorrow-capitals__head-city,
  .tomorrow-capitals__city{width:41%}
  .tomorrow-capitals__head-weather,
  .tomorrow-capitals__icon{width:15%}
  .tomorrow-capitals__head-min,
  .tomorrow-capitals__head-max,
  .tomorrow-capitals__temp{width:14%}
  .tomorrow-capitals__head-action,
  .tomorrow-capitals__action{width:16%}
  .tomorrow-capitals__city{font-size:.84rem}
  .tomorrow-capitals__icon img{width:32px;height:32px}
  .tomorrow-capitals__temp{font-size:.92rem}
}
