/* Knowledge Hub — shared */

.ehs-kh {
  --kh-ink: #1f2a30;
  --kh-navy: #1b3a4b;
  --kh-body: #3d4a51;
  --kh-muted: #56636b;
  --kh-line: #e3e7e5;
  --kh-line-2: #d5dcd9;
  --kh-field: #c3ccc8;
  --kh-teal: #4F9C85;
  --kh-teal-light: #ace2d1;
  --kh-teal-dark: #357562;
  --kh-tint: #E7F2EE;
  --kh-width: 1130px; /* match Partnerships */
  --kh-gutter: 60px;


  color: var(--kh-ink);
  background: #ffffff;
  width: auto !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
}

.ehs-kh *,
.ehs-kh *::before,
.ehs-kh *::after {
  box-sizing: border-box;
}

.ehs-kh a {
  color: var(--kh-teal);
}

.ehs-kh a:hover {
  color: var(--kh-navy);
}

.ehs-kh.wp-block-group,
.ehs-kh .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

.ehs-kh__hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  /* 36px less top padding than Partnerships — KH label sits above the title */
  padding: 60px var(--kh-gutter) 88px;
  background:
    radial-gradient(700px 420px at 92% 0%, rgba(72, 193, 162, 0.42), rgba(72, 193, 162, 0) 65%),
    radial-gradient(520px 380px at 62% 120%, rgba(53, 120, 197, 0.30), rgba(53, 120, 197, 0) 70%),
    radial-gradient(460px 300px at 0% 100%, rgba(244, 185, 66, 0.16), rgba(244, 185, 66, 0) 70%),
    linear-gradient(150deg, #0F2A38 0%, #163B4D 65%, #1D4A60 100%);
}

.ehs-kh__hero-inner {
  position: relative;
  max-width: var(--kh-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ehs-kh .ehs-kh__eyebrow,
.ehs-kh p.ehs-kh__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #BDEBDC;
}

.kh-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  overflow: visible;
  color: var(--kh-body, #51595e);
  transform: translateY(-1px);
}

.ehs-kh .ehs-kh__eyebrow .kh-icon {
  width: 26px;
  height: 26px;
  color: var(--kh-teal, #4F9C85);
  transform: translateY(-1px);
}

/* NAV KH ICON */
.wp-block-navigation-item.nav-knowledge-hub > .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.nav-knowledge-hub .wp-block-navigation-item__content,
.wp-block-navigation__overlay-container .wp-block-navigation-item.nav-knowledge-hub .wp-block-navigation-item__content {
  display: inline-flex !important;
  align-items: center;
  gap: 4px !important;
  overflow: visible;
}

.wp-block-navigation-item.nav-knowledge-hub .kh-icon {
  order: -1;
  color: var(--kh-body, #51595e);
}

.wp-block-navigation-item.nav-knowledge-hub > .wp-block-navigation-item__content::before,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.nav-knowledge-hub .wp-block-navigation-item__content::before,
.wp-block-navigation__overlay-container .wp-block-navigation-item.nav-knowledge-hub .wp-block-navigation-item__content::before {
  left: 28px; /* skip 24px icon + 4px gap — underline the label only */
}

@media (max-width: 980px) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.nav-knowledge-hub .wp-block-navigation-item__content,
  .wp-block-navigation__overlay-container .wp-block-navigation-item.nav-knowledge-hub .wp-block-navigation-item__content {
    margin-left: -28px; /* 24px icon + 4px gap — line the label up with the other items */
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.nav-knowledge-hub .kh-icon,
  .wp-block-navigation__overlay-container .wp-block-navigation-item.nav-knowledge-hub .kh-icon {
    transform: translateY(0);
  }
}
/* END NAV KH ICON */


.ehs-kh .ehs-kh__eyebrow a {
  color: #BDEBDC;
  text-decoration: none;
}

.ehs-kh .ehs-kh__eyebrow a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ehs-kh .ehs-kh__title {
  margin: 0;
  color: #ffffff;
  font-family: var(--wp--preset--font-family--body);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.5px;
}

.ehs-kh .ehs-kh__lede,
.ehs-kh p.ehs-kh__lede {
  margin: 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.55;
  color: #D6ECE5;
}

.ehs-kh__main {
  padding: 56px var(--kh-gutter) 80px;
  font-size: 16px;
  line-height: 1.55;
}

.ehs-kh__main-inner {
  max-width: var(--kh-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  align-items: flex-start;
}

.ehs-kh__content {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Template-part wraps the sidebar; that wrapper is the flex child. */
.ehs-kh__sidebar,
.ehs-kh__main-inner > .wp-block-template-part {
  flex: 0 0 300px;
  width: 300px;
  max-width: 300px;
  min-width: 0;
}

.ehs-kh-empty {
  display: none;
}

.ehs-kh__sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ehs-kh__sidebar-title {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 18px;
  color: var(--kh-navy);
}

.ehs-kh__muted {
  color: var(--kh-muted);
}

.ehs-kh__topic {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--kh-teal-dark);
  text-transform: uppercase;
}

.ehs-kh__section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ehs-kh__section-title {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  color: var(--kh-navy);
}

.ehs-kh__rule {
  flex: 1;
  height: 1px;
  background: var(--kh-line-2);
}

.ehs-kh__img-link {
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

.ehs-kh__img-link img {
  display: block;
  transition: transform 0.25s ease;
}

.ehs-kh__img-link:hover img {
  transform: scale(1.03);
}

.ehs-kh__lead-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 6px;
}

.ehs-kh .ehs-kh__button {
  align-self: flex-start;
  background: var(--kh-teal);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 4px;
  margin-top: 22px;
}

.ehs-kh__card-navy p:has(.ehs-kh__button) {
  margin-top: 10px;
}

.ehs-kh .ehs-kh__button:hover,
.ehs-kh .ehs-kh__button:focus-visible {
  background: var(--kh-teal-light);
  color: var(--kh-navy);
}

.ehs-kh__card-navy {
  background: var(--kh-navy);
  color: #ffffff;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ehs-kh__card-title {
  margin: 0;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: #ffffff;
}

.ehs-kh p.ehs-kh__card-text,
.ehs-kh__card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #dde6ea;
  margin-bottom:15px;
}

.ehs-kh__latest {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ehs-kh__latest > .ehs-kh__back {
  margin-bottom: 20px;
}

.ehs-kh__post {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--kh-line);
}

.ehs-kh__post .ehs-kh__img-link {
  flex: 0 0 200px;
}

.ehs-kh__post-img {
  width: 200px;
  height: 136px;
  object-fit: cover;
}

.ehs-kh__post-body {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ehs-kh__post-title {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.ehs-kh .ehs-kh__post-title a {
  color: var(--kh-navy);
  text-decoration: none;
}

.ehs-kh .ehs-kh__post-title a:hover {
  color: var(--kh-teal-dark);
}

.ehs-kh__post-excerpt {
  margin: 0;
  color: var(--kh-body);
  font-size: 15px;
}

.ehs-kh__post-meta {
  font-size: 13px;
  color: var(--kh-muted);
}

.ehs-kh__search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.ehs-kh__search-label {
  font-weight: 600;
  font-size: 14px;
}

.ehs-kh__search-field {
  display: flex;
  border: 1px solid var(--kh-field);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  color-scheme: light;
}

.ehs-kh .ehs-kh__search-input,
.ehs-kh__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: #1f2a30;
  background: #ffffff !important;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.ehs-kh .ehs-kh__search-input::placeholder {
  color: #56636b;
  opacity: 1;
}

.ehs-kh .ehs-kh__search-input::-webkit-search-decoration,
.ehs-kh .ehs-kh__search-input::-webkit-search-cancel-button,
.ehs-kh .ehs-kh__search-input::-webkit-search-results-button,
.ehs-kh .ehs-kh__search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.ehs-kh .ehs-kh__search-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-text-fill-color: #1f2a30;
}

.ehs-kh .ehs-kh__search-btn,
.ehs-kh__search-btn {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  min-height: 44px;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  font-size: 16px !important;
  line-height: 1 !important;
  background-color: #4F9C85 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ehs-kh .ehs-kh__search-btn svg {
  display: none;
}

.ehs-kh .ehs-kh__search-btn:hover,
.ehs-kh .ehs-kh__search-btn:focus-visible,
.ehs-kh__search-btn:hover,
.ehs-kh__search-btn:focus-visible {
  background-color: #357562 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
  color: #ffffff !important;
}

.ehs-kh__topics {
  display: flex;
  flex-direction: column;
}

.ehs-kh .ehs-kh__topic-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--kh-line);
  color: var(--kh-ink);
  text-decoration: none;
  font-size: 15px;
}

.ehs-kh .ehs-kh__topic-link:hover {
  color: var(--kh-teal-dark);
}

.ehs-kh .ehs-kh__topic-link:focus {
  outline: none;
  box-shadow: none;
}

.ehs-kh .ehs-kh__topic-link:focus-visible {
  outline: 2px solid var(--kh-teal);
  outline-offset: 2px;
}

.ehs-kh__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 1em;
  line-height: 1;
  color: var(--kh-teal);
  transform: translateY(0.08em);
}

/* Parent only */

.ehs-kh__featured {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ehs-kh__featured .ehs-kh__img-link {
  border-radius: 6px;
}

/* Featured meta: date left, tags right */
.ehs-kh__featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.ehs-kh__featured-meta .ehs-kh__tags {
  margin: 0;
  justify-content: flex-end;
}

.ehs-kh__pill {
  background: var(--kh-tint);
  color: var(--kh-teal-dark);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.ehs-kh__featured-title {
  margin: 0;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
}

.ehs-kh .ehs-kh__featured-title a {
  color: var(--kh-navy);
  text-decoration: none;
}

.ehs-kh .ehs-kh__featured-title a:hover {
  color: var(--kh-teal-dark);
}

.ehs-kh__featured-excerpt {
  margin: 0;
  color: var(--kh-body);
  font-size: 17px;
}

.ehs-kh__byline-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--kh-line);
}

.ehs-kh__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.ehs-kh__avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.ehs-kh__byline-name {
  font-weight: 600;
}

.ehs-kh__byline-role {
  font-size: 14px;
  color: var(--kh-muted);
}

.ehs-kh__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  padding-top: 12px;
}

.ehs-kh__pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 24px;
}

.ehs-kh .ehs-kh__page {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kh-line-2);
  border-radius: 4px;
  color: var(--kh-navy);
  text-decoration: none;
}

.ehs-kh .ehs-kh__page[aria-current="page"] {
  background: var(--kh-navy);
  border-color: var(--kh-navy);
  color: #ffffff;
  font-weight: 600;
}

.ehs-kh__older {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

/* Article only */

.ehs-kh__article-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ehs-kh .ehs-kh__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--kh-teal);
  text-decoration: none;
}

.ehs-kh .ehs-kh__back:hover {
  color: var(--kh-navy);
}

.ehs-kh h1.ehs-kh__article-title,
.ehs-kh .ehs-kh__article-title {
  margin: 0;
  font-weight: 700 !important;
  font-size: 30px !important;
  line-height: 1.2;
  color: #163B4D !important;
}

.ehs-kh__byline-meta {
  font-size: 14px;
  color: var(--kh-muted);
}

.ehs-kh__article {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ehs-kh__figure {
  margin: 0;
}

.ehs-kh__figure .ehs-kh__lead-img {
  display: block;
}

.ehs-kh__prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--wp--preset--color--slate-gray);
}

.ehs-kh .ehs-kh__prose p,
.ehs-kh .ehs-kh__prose ul,
.ehs-kh .ehs-kh__prose ol,
.ehs-kh .ehs-kh__prose li,
.ehs-kh .ehs-kh__prose .wp-block-list,
.ehs-kh .ehs-kh__prose .wp-block-freeform p,
.ehs-kh .ehs-kh__prose .wp-block-freeform ul,
.ehs-kh .ehs-kh__prose .wp-block-freeform ol,
.ehs-kh .ehs-kh__prose .wp-block-freeform li,
.ehs-kh .ehs-kh__prose .wp-block-freeform li span,
.ehs-kh .ehs-kh__prose p.p1,
.ehs-kh .ehs-kh__prose p.p2,
.ehs-kh .ehs-kh__prose p.p3,
.ehs-kh .ehs-kh__prose li.p1,
.ehs-kh .ehs-kh__prose li.p2,
.ehs-kh .ehs-kh__prose li.p3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #4C616A !important;
}

.ehs-kh .ehs-kh__prose p.small,
.ehs-kh .ehs-kh__prose li.small,
.ehs-kh .ehs-kh__prose span.small,
.ehs-kh .ehs-kh__prose .wp-block-freeform p.small,
.ehs-kh .ehs-kh__prose .wp-block-freeform li.small,
.ehs-kh .ehs-kh__prose .wp-block-freeform span.small,
.ehs-kh .ehs-kh__prose small {
  font-size: 14px !important;
  line-height: 1.5;
  color: #4C616A !important;
}

.ehs-kh .ehs-kh__prose ul,
.ehs-kh .ehs-kh__prose ol,
.ehs-kh .ehs-kh__prose .wp-block-list,
.ehs-kh .ehs-kh__prose .wp-block-freeform ul,
.ehs-kh .ehs-kh__prose .wp-block-freeform ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Links match body copy. "a *" too: pasted links often have an inline-colored span inside. */
.ehs-kh .ehs-kh__prose a,
.ehs-kh .ehs-kh__prose a *,
.ehs-kh .ehs-kh__prose .wp-block-freeform a,
.ehs-kh .ehs-kh__prose .wp-block-freeform a * {
  color: #4C616A !important;
}

.ehs-kh .ehs-kh__prose a:hover,
.ehs-kh .ehs-kh__prose a:hover *,
.ehs-kh .ehs-kh__prose .wp-block-freeform a:hover,
.ehs-kh .ehs-kh__prose .wp-block-freeform a:hover * {
  color: var(--kh-navy) !important;
}

/* .ehs-kh .ehs-kh__prose h2,
.ehs-kh .ehs-kh__prose .wp-block-freeform h2,
.ehs-kh .ehs-kh__prose h2.wp-block-heading,
.ehs-kh .ehs-kh__prose h2.p1,
.ehs-kh .ehs-kh__prose h2.p2,
.ehs-kh .ehs-kh__prose h2.p3,
.ehs-kh .ehs-kh__prose .wp-block-freeform h2 span {
  margin: 16px 0 0;
  font-weight: 800;
  font-size: 25px;
  line-height: 1.25;
  color: red !important;
} */

.ehs-kh .ehs-kh__prose h3,
.ehs-kh .ehs-kh__prose .wp-block-freeform h3,
.ehs-kh .ehs-kh__prose h3.wp-block-heading,
.ehs-kh .ehs-kh__prose h3.p1,
.ehs-kh .ehs-kh__prose h3.p2,
.ehs-kh .ehs-kh__prose h3.p3,
.ehs-kh .ehs-kh__prose .wp-block-freeform h3 span {
  margin: 16px 0 0;
  font-weight: 700 !important;
  font-size: 25px;
  line-height: 1.25;
  color: #163B4D !important;
}

/* h4 stays under h3 (25px/700). style.css forces h4 to 400 !important, so this needs !important too. */
.ehs-kh .ehs-kh__prose h4,
.ehs-kh .ehs-kh__prose .wp-block-freeform h4,
.ehs-kh .ehs-kh__prose h4.wp-block-heading {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: rgb(41, 154, 137) !important;
}

.ehs-kh .ehs-kh__prose h4 span,
.ehs-kh .ehs-kh__prose .wp-block-freeform h4 span {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.ehs-kh__prose blockquote,
.ehs-kh__prose .wp-block-quote {
  margin: 12px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--kh-teal);
}

.ehs-kh__prose blockquote p,
.ehs-kh__prose .wp-block-quote p {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--kh-navy);
}

.ehs-kh__takeaway {
  background: var(--kh-tint);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ehs-kh__takeaway-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--kh-teal-dark);
}

.ehs-kh .ehs-kh__takeaway p {
  font-size: 17px;
  color: var(--kh-ink);
}

.ehs-kh__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 8px;
  padding: 0;
  list-style: none;
}

.ehs-kh .ehs-kh__tag {
  background: var(--kh-tint);
  color: var(--kh-teal-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.ehs-kh .ehs-kh__tag:hover {
  text-decoration: underline;
}

.ehs-kh__related {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ehs-kh__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.ehs-kh__related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Reserved so a card with no featured image still lines up with the others. */
.ehs-kh__related-card .ehs-kh__img-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--kh-tint);
}

.ehs-kh__related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ehs-kh__related-title {
  margin: 0;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
}

.ehs-kh .ehs-kh__related-title a {
  color: var(--kh-navy);
  text-decoration: none;
}

.ehs-kh .ehs-kh__related-title a:hover {
  color: var(--kh-teal-dark);
}

.ehs-kh__author {
  border: 1px solid var(--kh-line);
  border-radius: 6px;
  overflow: hidden;
}

.ehs-kh__author-photo-wrap {
  /* background: var(--kh-navy); */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background-color: rgb(222, 239, 233);
  
}

.ehs-kh__author-photo {
  display: block;
  width: 150px;
  height: 150px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
}

.ehs-kh__author-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.ehs-kh__author-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--kh-muted);
}

.ehs-kh__author-name {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  color: var(--kh-navy);
}

.ehs-kh__author-role {
  font-size: 14px;
  color: var(--kh-muted);
}

.ehs-kh p.ehs-kh__author-bio,
.ehs-kh__author-bio {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--kh-body);
}

.ehs-kh__share {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ehs-kh__share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--kh-muted);
}

.ehs-kh .ehs-kh__share-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--kh-field);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kh-navy);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.ehs-kh .ehs-kh__share-btn:hover,
.ehs-kh .ehs-kh__share-btn:focus-visible {
  background: var(--kh-teal);
  border-color: var(--kh-teal);
  color: #ffffff;
}

/* Search results */

.ehs-kh__results-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ehs-kh__results-head .ehs-kh__back {
  min-height: 44px;
  color: var(--kh-ink);
}

.ehs-kh__results-head .ehs-kh__back:hover {
  color: var(--kh-teal-dark);
}

.ehs-kh__results-title {
  margin: 0;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: var(--kh-navy);
}

.ehs-kh__results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: 15px;
  color: var(--kh-muted);
}

.ehs-kh__results {
  border-top: 1px solid var(--kh-line-2);
}

.ehs-kh__results .ehs-kh__post:last-of-type {
  border-bottom: 1px solid var(--kh-line);
}

.ehs-kh mark {
  background: #FBE7A8;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .ehs-kh {
    --kh-gutter: 26px;
  }

  .ehs-kh__hero {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .ehs-kh__title {
    font-size: 30px;
  }

  .ehs-kh__featured .ehs-kh__img-link {
    margin-top: -15px;
  }

  .ehs-kh__featured-meta {
    align-items: flex-start;
    gap: 8px;
  }

  .ehs-kh__pill,
  .ehs-kh__featured-meta .ehs-kh__tags {
    display: none;
  }
}

@media (max-width: 781px) {
  .ehs-kh__main-inner {
    flex-wrap: wrap;
  }

  .ehs-kh__sidebar,
  .ehs-kh__main-inner > .wp-block-template-part {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }

  .ehs-kh__lead-img {
    height: 220px;
  }

  .ehs-kh__featured-title {
    font-size: 26px;
  }

  .ehs-kh__article-title {
    font-size: 28px !important;
  }

  .ehs-kh__results-title {
    font-size: 26px;
  }

  .ehs-kh .ehs-kh__prose p,
  .ehs-kh .ehs-kh__prose ul,
  .ehs-kh .ehs-kh__prose ol,
  .ehs-kh .ehs-kh__prose li,
  .ehs-kh .ehs-kh__prose .wp-block-list,
  .ehs-kh .ehs-kh__prose .wp-block-freeform p,
  .ehs-kh .ehs-kh__prose .wp-block-freeform ul,
  .ehs-kh .ehs-kh__prose .wp-block-freeform ol,
  .ehs-kh .ehs-kh__prose .wp-block-freeform li {
    font-size: 17px;
  }

  .ehs-kh .ehs-kh__prose h2,
  .ehs-kh .ehs-kh__prose .wp-block-freeform h2 {
    font-size: 28px;
  }

  .ehs-kh__related-grid {
    grid-template-columns: 1fr;
  }

  .ehs-kh__post .ehs-kh__img-link {
    flex-basis: 100%;
  }

  .ehs-kh__post-img {
    width: 100%;
    height: 180px;
  }
}
