/* Homepage news cards. Headlines and summaries come from WordPress posts. */
.jj-home-news {
  background: #fff;
  padding: 64px 24px 72px;
  color: #0a2240;
}
.jj-home-news-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.jj-home-news-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}
.jj-home-news-accent {
  display: block;
  width: 62px;
  height: 6px;
  margin-bottom: 13px;
  background: #d20930;
}
.jj-home-news h2 {
  margin: 0;
  font: 900 clamp(28px, 3.1vw, 42px)/1.12 Montserrat, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.jj-home-news-subtitle {
  margin: 14px 0 0;
  color: #8995a3;
  font: 700 13px/1.5 Montserrat, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.jj-home-news-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #d20930;
  font: 800 14px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}
.jj-home-news-link span { font-size: 23px; line-height: 1; }
.jj-home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.jj-home-news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px;
  border: 1px solid #e2e7ed;
  border-radius: 4px;
  min-width: 0;
}
.jj-home-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  font: 700 12px/1.5 Montserrat, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8995a3;
}
.jj-home-news-category { color: #d20930; }
.jj-home-news-source { color: #64748b; margin-top: 8px; font-size: 13px; }
.jj-home-news-card-accent {
  display: block;
  width: 42px;
  height: 3px;
  margin: 18px 0 20px;
  background: #d20930;
}
.jj-home-news-card h3 {
  margin: 0;
  font: 700 clamp(20px, 1.8vw, 25px)/1.22 Lato, Arial, sans-serif;
  letter-spacing: -.015em;
}
.jj-home-news-card h3 a { color: inherit; text-decoration: none; }
.jj-home-news-excerpt { margin: 18px 0 0; font-size: 16px; line-height: 1.5; color: #34445a; }
.jj-home-news-read { margin-top: auto; padding-top: 28px; }
.jj-home-news a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jj-home-news a:focus-visible { outline: 3px solid #c41230; outline-offset: 5px; }
@media (max-width: 1000px) {
  .jj-home-news-grid { grid-template-columns: 1fr; }
  .jj-home-news-card { padding: 26px; }
}
@media (max-width: 600px) {
  .jj-home-news { padding: 44px 24px; }
  .jj-home-news-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .jj-home-news-subtitle { font-size: 11px; }
  .jj-home-news-card { padding: 22px; }
}

@media (min-width: 1001px) {
  .jj-home-news-card h3 { min-height: 3.66em; }
}
