/* Local review: article hub only. Retain the existing shared styles and content. */
.article-hub {
  --hub-green: var(--whl-green);
  --hub-green-hover: var(--whl-green-hover);
  --hub-ink: var(--whl-ink);
  --hub-muted: var(--whl-muted);
  --hub-border: var(--whl-border);
  background: #fff;
  color: var(--hub-ink);
}

.article-hub .breadcrumbs {
  background: #f7f9f7;
  border-bottom: 1px solid #e8ede8;
}

.article-hub .breadcrumb a {
  color: var(--hub-green);
}

.article-hub > section.container {
  width: calc(100% - 48px);
  max-width: 1160px;
  padding: 3.5rem 0 4rem !important;
}

.article-hub h1.article {
  margin-bottom: 1.25rem !important;
  color: var(--hub-ink);
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.article-hub .lead {
  max-width: 74ch;
  margin-bottom: 2.5rem !important;
  color: var(--hub-muted);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
}

.article-hub .featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f2f6f2 !important;
  border: 1px solid var(--hub-border);
  border-left: 3px solid var(--hub-green);
  border-radius: 4px;
  box-shadow: none;
}

.article-hub .featured-article h2 {
  grid-column: 1;
  margin-bottom: 0.65rem;
  color: var(--hub-ink);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-hub .featured-article p {
  grid-column: 1;
  margin-bottom: 0;
  color: var(--hub-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.article-hub .featured-article > .btn {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
}

.article-hub .row > div {
  display: flex;
}

.article-hub .luma-article-card {
  width: 100%;
  padding: 1.65rem !important;
  background: #fff;
  border: 1px solid var(--hub-border);
  border-radius: 4px;
  box-shadow: none;
  transition: border-color 150ms ease;
}

.article-hub .luma-article-card:hover,
.article-hub .luma-article-card:focus-within {
  border-color: #8fa594;
  box-shadow: none;
  transform: none;
}

.article-hub .luma-article-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
}

.article-hub .featured-article h2 a,
.article-hub .luma-article-card h2 a {
  color: var(--hub-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.article-hub .featured-article h2 a:hover,
.article-hub .luma-article-card h2 a:hover {
  color: var(--hub-green);
  text-decoration: underline;
}

.article-hub .luma-article-excerpt {
  margin-bottom: 0;
  color: var(--hub-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.article-hub .btn-cta,
.article-hub .btn-outline-primary {
  color: #fff;
  background: var(--hub-green);
  border: 1px solid var(--hub-green);
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.5;
}

.article-hub .btn-cta:hover,
.article-hub .btn-outline-primary:hover,
.article-hub .btn-cta:active,
.article-hub .btn-outline-primary:active {
  color: #fff;
  background: var(--hub-green-hover);
  border-color: var(--hub-green-hover);
}

.article-hub a:focus-visible,
.article-hub button:focus-visible {
  outline: 3px solid var(--hub-green);
  outline-offset: 4px;
}

.article-hub .navbar a:focus-visible,
.article-hub footer a:focus-visible {
  outline-color: #a6d8b3;
}

.article-hub .footer-links a {
  color: #b9c3bb !important;
}

@media (max-width: 767.98px) {
  .article-hub > section.container {
    width: calc(100% - 40px);
    padding-top: 2.25rem !important;
  }

  .article-hub .lead {
    margin-bottom: 2rem !important;
    font-size: 1.0625rem;
  }

  .article-hub .featured-article {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .article-hub .featured-article > .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 1.25rem;
  }

  .article-hub .luma-article-card {
    padding: 1.5rem !important;
  }
}

@media (max-width: 991.98px) {
  .article-hub {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .article-hub #mobile-form-toggle {
    background: var(--hub-green);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .article-hub #mobile-form-toggle .btn {
    min-height: 56px;
    padding: 0.75rem 1rem;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-hub .luma-article-card {
    transition: none;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  border: 1px solid var(--hub-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.guide-card:is(:hover, :focus-within) {
  border-color: #8fa594;
}

.guide-card-image {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  background: #edf1ee;
}

.guide-card-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.25rem 1.4rem 1.4rem;
}

.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  color: var(--hub-muted);
  font-size: 0.825rem;
}

.guide-card-meta span {
  color: var(--hub-green);
  font-weight: 600;
}

.article-hub .guide-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.guide-card h2 a {
  color: var(--hub-ink);
  text-decoration: none;
}

.guide-card h2 a:hover {
  color: var(--hub-green);
  text-decoration: underline;
}

.guide-card p {
  margin-bottom: 0.35rem;
  color: var(--hub-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.guide-card-link {
  align-self: start;
  margin-top: auto;
  color: var(--hub-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.guide-card-link:hover {
  color: var(--hub-green-hover);
}

@media (max-width: 991.98px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
