.panith-hub-page .panith-page-hero {
  text-align: center;
  padding-block: clamp(70px, 9vw, 128px) clamp(48px, 7vw, 86px);
}

.panith-hub-page .panith-page-hero .section-kicker,
.panith-hub-page .panith-page-hero h1,
.panith-hub-page .panith-page-hero p,
.panith-hub-page .panith-page-hero .panith-filter-form {
  margin-inline: auto;
}

.panith-hub-page .panith-page-hero h1 {
  max-width: 820px;
  text-align: center;
}

.panith-hub-page .panith-page-hero p {
  max-width: 62ch;
  text-align: center;
}

.panith-hub-page .panith-page-hero .panith-filter-form {
  max-width: 860px;
  margin-top: clamp(22px, 3vw, 34px);
}

.panith-hub-page .panith-section {
  padding-block: clamp(42px, 6vw, 78px);
}

.panith-hub-page .panith-service-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(22px, 2.4vw, 34px);
}

.panith-hub-page .panith-card-grid:not(.panith-service-area-grid) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 30px);
}

.panith-hub-page .panith-content-card.knowledge-card {
  display: block;
  min-height: clamp(280px, 22vw, 360px);
  grid-row: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.panith-hub-page .panith-content-card.knowledge-card > a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  padding: clamp(24px, 2.4vw, 32px);
}

.panith-hub-page .panith-content-card.knowledge-card :where(h2, h3, p) {
  overflow-wrap: anywhere;
}

.panith-hub-page .panith-result-summary,
.panith-case-studies-page .panith-result-summary {
  margin-block: clamp(16px, 2vw, 24px);
}

.panith-module-list,
.panith-toc-list {
  padding-left: 0;
}

@media (max-width: 1024px) {
  .panith-hub-page .panith-service-area-grid,
  .panith-hub-page .panith-card-grid:not(.panith-service-area-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .panith-hub-page .panith-page-hero {
    width: min(100% - 28px, 560px);
    padding-block: 44px 32px;
    text-align: center;
  }

  .panith-hub-page .panith-page-hero h1,
  .panith-hub-page .panith-page-hero p {
    text-align: center;
  }

  .panith-hub-page .panith-section {
    width: min(100% - 28px, 560px);
    padding-block: 34px;
  }

  .panith-hub-page .panith-service-area-grid,
  .panith-hub-page .panith-card-grid:not(.panith-service-area-grid),
  .panith-hub-page .panith-filter-row {
    grid-template-columns: 1fr;
  }

  .panith-hub-page .panith-page-hero .panith-filter-form {
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .panith-hub-page .panith-page-hero .panith-filter-form input[type="search"],
  .panith-hub-page .panith-page-hero .panith-filter-form input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 46px;
    line-height: 20px;
    box-sizing: border-box;
  }

  .panith-hub-page .panith-page-hero .panith-filter-form button {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }

  .panith-hub-page .panith-content-card.knowledge-card {
    min-height: 0;
  }

  .panith-hub-page .panith-content-card.knowledge-card > a {
    min-height: 250px;
    height: auto;
    padding: 28px;
  }
}
