.nass-home-content-hub {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Headings match "Today's Releases": Public Sans Light at usda.gov's h2 size,
   navy, with a short gold rule under them. The rule is a ::after here rather
   than the <span> the release template uses, so no markup change is needed.
   Stated family and size beat `main h2` in usda-foundations.css, which ties
   with the global `html h2` rule on specificity. */
.nass-home-content-hub h2 {
  margin-top: 0;
  color: #1e366c;
  font-family: "Public Sans Web", "Source Sans Pro Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
}

.nass-home-content-hub h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: .6rem 0 1.15rem;
  background: #fdb81e;
}

/* No card edge and no shadow, matching the release schedule.
 * presentation-refresh.css belongs to Celso and is not edited: its rule
 *   .nass-home-content-hub__headlines, .nass-home-content-hub__state
 *     { border-top-color: #fdb81e; box-shadow: 0 2px 8px rgb(0 0 0 / 10%); }
 * is (0,1,0) and loads after this sheet, so it is overridden here by scoping one
 * level deeper (0,2,0) rather than by changing his file.
 */
.nass-home-content-hub .nass-home-content-hub__headlines,
.nass-home-content-hub .nass-home-content-hub__state {
  border: 0;
  box-shadow: none;
}

.nass-home-content-hub__headlines,
.nass-home-content-hub__state {
  padding: 1.25rem;
  background: #fff;
}

.nass-home-content-hub__headlines ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

/* The date and the headline are two inline elements in one <li>, so a title
   that wrapped began its second line back at the container's left edge, under
   the date. As a flex row the headline is its own column and its wrapped lines
   align under its own first line. */
.nass-home-content-hub__headlines li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid #d6d7d9;
}

.nass-home-content-hub__headlines li time {
  flex: none;
}

.nass-home-content-hub__headlines li a {
  /* min-width:0 lets the headline wrap instead of forcing the row wider. */
  flex: 1;
  min-width: 0;
}

.nass-home-content-hub time {
  display: inline-block;
  min-width: 4.8rem;
  color: #4b4b4b;
  /* 13px, usda.gov's size for this kind of dateline label (2026-09-08). */
  font-size: .8125rem;
}

.nass-home-content-hub__state {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: #f5f5f5 url('/themes/custom/nass/assets/img/large_map_transparent.png') center / contain no-repeat;
  border: 1px solid #d6d7d9;
}

.nass-home-content-hub__state-content {
  align-self: center;
  position: relative;
  z-index: 1;
  max-width: 34rem;
  width: 100%;
  margin: 0 auto;
  padding: .5rem 1.25rem 0;
  background: transparent;
  color: #1b1b1b;
  text-align: center;
}

.nass-home-content-hub__state-content h2 {
  color: #1b1b1b;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  text-transform: none;
}

.nass-home-content-hub__state-content h2::after {
  display: none;
}

.nass-home-content-hub__state select {
  width: min(100%, 28rem);
  margin: 0;
  padding: .6rem 2.25rem .6rem .75rem;
  border: 1px solid #555;
  background-color: #fff;
  color: #1b1b1b;
  font-size: 1rem;
}

.nass-home-content-hub__state select option,
.nass-home-content-hub__state select optgroup {
  background: #fff;
  color: #1b1b1b;
}

.nass-home-content-hub__state-footer {
  position: relative;
  z-index: 1;
  margin: 1rem -1.25rem -1.25rem;
  padding: .7rem 1.25rem .2rem;
  background: #f5f5f5;
  text-align: center;
}

.nass-home-content-hub__state-footer .nass-home-content-hub__more {
  display: inline-block;
  margin: 0;
}

/* Blue USWDS button with white text, matching "View release calendar" in the
   today's-releases column. Geometry is copied from
   .nass-release-schedule__calendar in nass_releases.css so the two are
   identical; the .usa-button class also opts the link out of the global
   `main a:not(.usa-button)` rule that would otherwise force blue + underline. */
.nass-home-content-hub__more.usa-button {
  display: inline-block;
  width: auto;
  margin: 1.15rem 0 0;
  padding: .65rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 39.99rem) {
  .nass-home-content-hub__state-content {
    padding: 1.25rem;
  }
}
