.sf-wave-forecast {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 28px 0 0;
  color: #17483f;
  font-family: inherit;
}

.sf-wave-forecast__hero {
  margin: 0;
  padding: 16px 18px;
  border-radius: 10px 10px 0 0;
  background: #174f42;
  color: #fff;
}

.sf-wave-forecast__title {
  margin: 0;
  color: #fff;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1.4 !important;
}

.sf-wave-forecast__date,
.sf-wave-forecast__hero-copy,
.sf-wave-forecast__lead,
.sf-wave-forecast__summary,
.sf-wave-forecast__strategy,
.sf-wave-forecast__basis,
.sf-wave-forecast-card__summary,
.sf-wave-forecast-card__meta,
.sf-wave-forecast-card__reason,
.sf-wave-forecast-card__caution,
.sf-wave-forecast-area-card__excerpt {
  margin: 0;
  line-height: 1.75;
}

.sf-wave-forecast__lead,
.sf-wave-forecast__summary,
.sf-wave-forecast__strategy,
.sf-wave-forecast__basis {
  color: #254f46;
  font-size: 14px;
}

.sf-wave-forecast__date {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.sf-wave-forecast__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.sf-wave-forecast__stat {
  margin: 0;
  padding: 12px;
  border: 1px solid #e2ebe7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(18, 47, 37, 0.05);
}

.sf-wave-forecast__stat span {
  display: block;
  margin-bottom: 6px;
  color: #5f746c;
  font-size: 12px;
  line-height: 1.4;
}

.sf-wave-forecast__stat strong {
  display: block;
  color: #1d473a;
  font-size: 14px;
  line-height: 1.3;
}

.sf-wave-forecast__area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 14px;
}

.sf-wave-forecast-area-card,
.sf-wave-forecast__notice {
  min-width: 0;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #e2ebe7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(18, 47, 37, 0.05);
}

.sf-wave-forecast-area-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.sf-wave-forecast-area-card__title {
  margin: 0;
  color: #17483f;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700;
}

.sf-wave-forecast-area-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: #315f55;
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-wave-forecast-area-card__points {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sf-wave-forecast-area-card__points--compact {
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.sf-wave-forecast-area-card__point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid rgba(23, 79, 66, 0.1);
}

.sf-wave-forecast-area-card__rank,
.sf-wave-forecast-area-card__point-label,
.sf-wave-forecast-card__rank,
.sf-wave-forecast-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

.sf-wave-forecast-area-card__rank,
.sf-wave-forecast-card__rank {
  color: #fff;
  background: #174f42;
}

.sf-wave-forecast-area-card__point-name {
  overflow: hidden;
  color: #17483f;
  font-weight: 700;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-wave-forecast-area-card__point-label,
.sf-wave-forecast-card__label {
  color: #17624f;
  background: #e9f6f1;
}

.sf-wave-forecast-area-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #2c7e67;
  border-radius: 10px;
  color: #fff;
  background: #2c7e67;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.sf-wave-forecast-area-card__link:hover,
.sf-wave-forecast-area-card__link:focus {
  color: #fff;
  background: #266e58;
}

.sf-wave-forecast__summary,
.sf-wave-forecast__strategy,
.sf-wave-forecast__basis,
.sf-wave-forecast-area-card__lead {
  margin-top: 10px;
}

.sf-wave-forecast__basis {
  padding: 12px 14px;
  border-left: 4px solid #2f856b;
  border-radius: 8px;
  background: #f1f8f5;
  line-height: 1.7;
}

.sf-wave-forecast-card {
  padding: 14px 16px;
  border: 1px solid rgba(23, 79, 66, 0.12);
  border-radius: 10px;
  background: #f8fbfd;
}

.sf-wave-forecast-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sf-wave-forecast-card__title {
  margin: 0;
  color: #17483f;
  font-size: 18px !important;
  line-height: 24px !important;
  font-weight: 700;
  height: 24px;
}

.sf-wave-forecast-card__summary,
.sf-wave-forecast-card__reason,
.sf-wave-forecast-card__caution {
  color: #254f46;
  font-size: 14px;
  line-height: 1.75;
}

.sf-wave-forecast-card__meta {
  color: #315f55;
  font-size: 13px;
  line-height: 1.6;
}

.sf-wave-forecast-card__reason {
  margin-top: 10px;
}

.sf-wave-forecast-card__caution {
  margin-top: 10px;
  color: #8a4d00;
}

.sf-wave-forecast__notice-title {
  margin: 0 0 10px;
  color: #17483f;
  font-size: 1.25rem;
}

.sf-wave-forecast__empty {
  color: #315f55;
}

.sf-wave-forecast__placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sf-wave-forecast__placeholder-card {
  min-height: 88px;
  padding: 14px;
  border: 1px dashed rgba(47, 133, 107, 0.3);
  border-radius: 10px;
  background: #f8fbf9;
  color: #54766d;
  font-weight: 700;
}

@media (max-width: 720px) {
  .sf-wave-forecast {
    width: min(100% - 24px, 760px);
    padding-top: 16px;
  }

  .sf-wave-forecast__stats,
  .sf-wave-forecast__area-grid,
  .sf-wave-forecast__placeholder-grid {
    grid-template-columns: 1fr;
  }

  .sf-wave-forecast__hero,
  .sf-wave-forecast-area-card {
    padding: 14px;
  }

  .sf-wave-forecast-area-card__point {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sf-wave-forecast-area-card__point-label {
    grid-column: 2;
  }
}
