body.home {
  background:
    radial-gradient(circle at top left, rgba(108, 136, 112, 0.18), transparent 28rem),
    linear-gradient(180deg, #f6f7f2 0%, #edf0e5 100%);
  color: #1f2b1f;
  font-size: 15px;
}

body.home .wp-site-blocks {
  padding-top: 0;
}

body.home .hh-portal-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

body.home .hh-portal-hero {
  padding: 1.6rem 0 1.2rem;
}

body.home .hh-portal-hero__inner {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(31, 43, 31, 0.1);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 242, 0.92));
  box-shadow: 0 20px 48px rgba(54, 76, 55, 0.08);
}

body.home .hh-portal-badge,
body.home .hh-section-head__eyebrow {
  margin: 0;
  color: #4c6e50;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.home .hh-portal-hero h1 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body.home .hh-portal-copy {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: rgba(31, 43, 31, 0.72);
  font-size: 0.9rem;
  line-height: 1.75;
}

body.home .hh-search {
  margin-top: 1.5rem;
}

body.home .hh-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.home .hh-search__bar {
  display: grid;
  grid-template-columns: 150px 1fr 92px;
  gap: 0.75rem;
  align-items: center;
}

body.home .hh-search select,
body.home .hh-search input,
body.home .hh-search button {
  height: 3rem;
  border: 1px solid rgba(31, 43, 31, 0.12);
  border-radius: 0.95rem;
  font: inherit;
}

body.home .hh-search select,
body.home .hh-search input {
  padding: 0 1rem;
  background: #fff;
  color: #1f2b1f;
}

body.home .hh-search input::placeholder {
  color: rgba(31, 43, 31, 0.42);
}

body.home .hh-search button {
  background: #35533a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

body.home .hh-search button:hover {
  background: #2b4630;
  transform: translateY(-1px);
}

body.home .hh-search__hint {
  margin: 0.7rem 0 0;
  color: rgba(31, 43, 31, 0.56);
  font-size: 0.82rem;
}

body.home .hh-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

body.home .hh-portal-card,
body.home .hh-post-card {
  padding: 1.4rem 1.35rem;
  border: 1px solid rgba(31, 43, 31, 0.1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(54, 76, 55, 0.06);
}

body.home .hh-portal-card h2 {
  margin: 0;
  font-size: 1rem;
}

body.home .hh-portal-card p {
  margin: 0.9rem 0 0;
  color: rgba(31, 43, 31, 0.68);
  font-size: 0.84rem;
  line-height: 1.72;
}

body.home .hh-portal-card--feature {
  background:
    radial-gradient(circle at top right, rgba(107, 153, 91, 0.18), transparent 10rem),
    linear-gradient(180deg, rgba(244, 252, 239, 0.98), rgba(255, 255, 255, 0.96));
}

body.home .hh-portal-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

body.home .hh-portal-card a {
  display: inline-flex;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  color: rgba(31, 43, 31, 0.78);
  text-decoration: none;
  background: #f5f8f1;
  font-size: 0.86rem;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.home .hh-portal-card a:hover {
  color: #1f2b1f;
  background: #ebf2e4;
  transform: translateX(2px);
}

body.home .hh-latest-section {
  margin-top: 2.1rem;
}

body.home .hh-section-head {
  gap: 1rem;
  margin-bottom: 1rem;
}

body.home .hh-section-head__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}

body.home .hh-section-head__desc {
  max-width: 28rem;
  margin: 0;
  color: rgba(31, 43, 31, 0.62);
  font-size: 0.86rem;
  line-height: 1.7;
}

body.home .hh-post-grid .wp-block-post-template {
  gap: 1rem;
}

body.home .hh-post-grid .wp-block-post-template.is-layout-grid,
body.home .hh-post-grid .wp-block-post-template.wp-block-post-template-is-layout-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home .hh-post-card {
  min-height: 13.5rem;
}

body.home .hh-post-card__date {
  color: #4c6e50;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home .hh-post-card__title {
  margin-top: 0.85rem;
  font-size: 1.1rem;
  line-height: 1.28;
}

body.home .hh-post-card__title a {
  text-decoration: none;
}

body.home .hh-post-card__title a:hover {
  text-decoration: underline;
}

body.home .hh-post-card__excerpt {
  margin-top: 0.75rem;
  color: rgba(31, 43, 31, 0.7);
  font-size: 0.84rem;
  line-height: 1.7;
}

body.home .hh-post-card__excerpt .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #35533a;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

@media (max-width: 1180px) {
  body.home .hh-portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home .hh-post-grid .wp-block-post-template.is-layout-grid,
  body.home .hh-post-grid .wp-block-post-template.wp-block-post-template-is-layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.home .hh-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .hh-post-grid .wp-block-post-template.is-layout-grid,
  body.home .hh-post-grid .wp-block-post-template.wp-block-post-template-is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .hh-search__bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 781px) {
  body.home .hh-portal-shell {
    width: min(100% - 18px, 1240px);
    padding-top: 1rem;
  }

  body.home .hh-portal-grid {
    grid-template-columns: 1fr;
  }

  body.home .hh-post-grid .wp-block-post-template.is-layout-grid,
  body.home .hh-post-grid .wp-block-post-template.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr;
  }

  body.home .hh-portal-card,
  body.home .hh-post-card,
  body.home .hh-portal-hero__inner {
    border-radius: 1rem;
  }
}
