.h5w-guides {
  --h5w-guides-ink: #101735;
  --h5w-guides-muted: #5c6680;
  --h5w-guides-purple: #6337e6;
  --h5w-guides-purple-dark: #4e27c9;
  --h5w-guides-purple-soft: #f3f0ff;
  --h5w-guides-coral: #ff6f61;
  --h5w-guides-line: #e2e5ef;
  --h5w-guides-shell: 1160px;
  color: var(--h5w-guides-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.h5w-guides *,
.h5w-guides *::before,
.h5w-guides *::after {
  box-sizing: border-box;
}

.page-id-477 .entry-content-wrap {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-id-477 .content-area {
  margin-bottom: 0;
  margin-top: 0;
}

.page-id-477 .entry-content {
  margin: 0;
}

.h5w-guides [hidden] {
  display: none !important;
}

.h5w-guides :focus-visible {
  outline: 3px solid #ff9f84;
  outline-offset: 4px;
}

.h5w-guides__hero {
  background-color: #f8f7ff;
  background-image: url("h5w-guides-hero-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 72px 24px 70px;
  text-align: center;
}

.h5w-guides__hero-inner {
  margin: 0 auto;
  max-width: 920px;
}

.h5w-guides__eyebrow {
  color: var(--h5w-guides-purple);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.h5w-guides__hero h1 {
  color: var(--h5w-guides-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0 auto 22px;
  max-width: 760px;
  text-wrap: balance;
}

.h5w-guides__hero-inner > p:last-child {
  color: var(--h5w-guides-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 760px;
  text-wrap: balance;
}

.h5w-guides__shell {
  margin: 0 auto;
  max-width: calc(var(--h5w-guides-shell) + 48px);
  padding: 0 24px 88px;
  width: 100%;
}

.h5w-guides__filters {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 28px auto 38px;
}

.h5w-guides__filters a {
  align-items: center;
  background: var(--h5w-guides-purple-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: #353d57;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  justify-content: center;
  min-height: 44px;
  padding: 10px 23px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.h5w-guides__filters a:hover,
.h5w-guides__filters a.is-active {
  background: var(--h5w-guides-purple);
  color: #fff;
}

.h5w-guides__filters a:active {
  transform: translateY(1px);
}

.h5w-guides__library > h2 {
  color: var(--h5w-guides-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.6vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 6px;
  scroll-margin-top: 110px;
}

.h5w-guide-row {
  align-items: center;
  border-bottom: 1px solid var(--h5w-guides-line);
  display: grid;
  gap: 28px;
  grid-template-columns: 230px minmax(0, 1fr) 122px;
  min-height: 150px;
  padding: 18px 0;
}

.h5w-guide-row__image {
  border-radius: 10px;
  display: block;
  height: 118px;
  overflow: hidden;
}

.h5w-guide-row__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  width: 100%;
}

.h5w-guide-row:hover .h5w-guide-row__image img,
.h5w-guide-row:focus-within .h5w-guide-row__image img {
  transform: scale(1.025);
}

.h5w-guide-row__body {
  min-width: 0;
}

.h5w-guide-row__eyebrow {
  color: var(--h5w-guides-coral);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.h5w-guide-row h3 {
  color: var(--h5w-guides-ink);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 8px;
}

.h5w-guide-row h3 a,
.h5w-guide-row__read {
  color: inherit;
  text-decoration: none;
}

.h5w-guide-row h3 a:hover,
.h5w-guide-row h3 a:focus-visible,
.h5w-guide-row__read:hover,
.h5w-guide-row__read:focus-visible {
  color: var(--h5w-guides-purple-dark);
}

.h5w-guide-row__summary {
  color: var(--h5w-guides-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
}

.h5w-guide-row__read {
  color: var(--h5w-guides-purple);
  font-size: 14px;
  font-weight: 850;
  justify-self: end;
  white-space: nowrap;
}

.h5w-guides__empty {
  color: var(--h5w-guides-muted);
  margin: 38px 0;
  text-align: center;
}

.h5w-guides__pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 38px 0 0;
}

.h5w-guides__pagination .page-numbers {
  align-items: center;
  background: var(--h5w-guides-purple-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  color: #353d57;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 9px 14px;
  text-decoration: none;
}

.h5w-guides__pagination a.page-numbers:hover,
.h5w-guides__pagination a.page-numbers:focus-visible,
.h5w-guides__pagination .page-numbers.current {
  background: var(--h5w-guides-purple);
  color: #fff;
}

@media (max-width: 860px) {
  .h5w-guides__hero {
    padding-bottom: 58px;
    padding-top: 60px;
  }

  .h5w-guide-row {
    gap: 22px;
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .h5w-guide-row__image {
    height: 108px;
  }

  .h5w-guide-row__read {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .h5w-guides__hero {
    padding: 50px 20px 48px;
  }

  .h5w-guides__hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .h5w-guides__hero-inner > p:last-child {
    font-size: 17px;
  }

  .h5w-guides__shell {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 64px;
  }

  .h5w-guides__filters {
    gap: 8px;
    justify-content: flex-start;
    margin: 20px -18px 30px;
    overflow-x: auto;
    padding: 0 18px 8px;
    scrollbar-width: none;
  }

  .h5w-guides__filters::-webkit-scrollbar {
    display: none;
  }

  .h5w-guides__filters a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 17px;
  }

  .h5w-guides__pagination {
    justify-content: flex-start;
  }

  .h5w-guides__library > h2 {
    font-size: 36px;
  }

  .h5w-guide-row {
    align-items: start;
    gap: 14px 16px;
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 0;
    padding: 18px 0;
  }

  .h5w-guide-row__image {
    height: 84px;
  }

  .h5w-guide-row__eyebrow {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .h5w-guide-row h3 {
    font-size: 17px;
    margin-bottom: 0;
  }

  .h5w-guide-row__summary {
    display: none;
  }

  .h5w-guide-row__read {
    font-size: 13px;
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h5w-guides *,
  .h5w-guides *::before,
  .h5w-guides *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
