.h5w-tools-directory,
.h5w-tool-profile,
.h5w-tool-related,
.h5w-tool-grid {
  --h5w-tools-ink: #11152f;
  --h5w-tools-muted: #626b80;
  --h5w-tools-purple: #6236e5;
  --h5w-tools-purple-dark: #4c25c6;
  --h5w-tools-lavender: #f2efff;
  --h5w-tools-cream: #fffaf2;
  --h5w-tools-coral: #ff796d;
  --h5w-tools-line: #e3e1ee;
  --h5w-tools-shadow: 0 18px 50px rgba(50, 36, 112, 0.1);
  box-sizing: border-box;
}

.h5w-tools-directory *,
.h5w-tool-profile *,
.h5w-tool-related *,
.h5w-tool-grid * {
  box-sizing: border-box;
}

.h5w-tools-directory {
  color: var(--h5w-tools-ink);
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 30px 90px;
  width: 100%;
}

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

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

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

.h5w-tools-directory [id] {
  scroll-margin-top: 110px;
}

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

.h5w-tools-directory :focus-visible,
.h5w-tool-profile :focus-visible,
.h5w-tool-related :focus-visible,
.h5w-tool-grid :focus-visible {
  outline: 3px solid #ff9c84;
  outline-offset: 4px;
}

.h5w-tools-hero {
  align-items: end;
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 170, 138, 0.35), transparent 31%),
    radial-gradient(circle at 5% 100%, rgba(199, 185, 255, 0.42), transparent 32%),
    #f8f6ff;
  border: 1px solid #e7e2ff;
	border-radius: 0 0 28px 28px;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.1fr);
	margin-bottom: 32px;
  overflow: hidden;
	padding: 28px clamp(24px, 4vw, 54px) 30px;
  position: relative;
}

.h5w-tools-hero::after {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 48% 52% 63% 37%;
  content: "";
	height: 180px;
  pointer-events: none;
  position: absolute;
	right: -76px;
	top: -112px;
  transform: rotate(18deg);
	width: 210px;
}

.h5w-tools-hero__title,
.h5w-tools-hero__actions,
.h5w-tools-channel__intro {
	position: relative;
	z-index: 1;
}

.h5w-tools-channel__intro {
	color: var(--h5w-tools-muted);
	font-size: 0.98rem;
	line-height: 1.65;
	max-width: 700px;
}

.h5w-tools-channel__intro p {
	margin: 0;
}

.h5w-tools-channel__intro p + p {
	color: var(--h5w-tools-purple-dark);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin-top: 12px;
}

.h5w-tools-hero__eyebrow {
  color: var(--h5w-tools-purple);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.h5w-tools-hero h1 {
  color: var(--h5w-tools-ink);
  font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.15rem, 3.5vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
	max-width: 620px;
  text-wrap: balance;
}

.h5w-tools-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
	justify-content: flex-end;
	margin-top: 0;
}

.h5w-tools-filters button {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dcd8ed;
  border-radius: 999px;
  color: #424960;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  min-height: 39px;
  padding: 8px 15px;
}

.h5w-tools-filters button:hover,
.h5w-tools-filters button.is-active {
  background: var(--h5w-tools-purple);
  border-color: var(--h5w-tools-purple);
  color: #fff;
}

.h5w-tools-results {
  color: var(--h5w-tools-muted);
  font-size: 0.86rem;
	margin: 12px 2px 0;
	text-align: right;
}

/* Match the established Guides and Safety & Privacy collection-page hero. */
.h5w-tools-directory--main {
	margin: 0;
	max-width: none;
	padding: 0 0 90px;
}

.h5w-tools-hero--directory {
	background-color: #f8f7ff;
	background-image: url("h5w-guides-hero-bg.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 0;
	border-radius: 0;
	display: block;
	margin: 0;
	padding: 72px 24px 70px;
	text-align: center;
}

.h5w-tools-hero--directory::after {
	display: none;
}

.h5w-tools-hero__inner {
	margin: 0 auto;
	max-width: 920px;
	position: relative;
	z-index: 1;
}

.h5w-tools-hero--directory .h5w-tools-hero__eyebrow {
	font-size: 12px;
	letter-spacing: 0.16em;
	margin-bottom: 16px;
}

.h5w-tools-hero--directory h1 {
	font-size: clamp(48px, 5vw, 70px);
	line-height: 0.98;
	margin: 0 auto 22px;
	max-width: 860px;
}

.h5w-tools-hero__subtitle {
	color: var(--h5w-tools-muted);
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.5;
	margin: 0 auto;
	max-width: 780px;
	text-wrap: balance;
}

.h5w-tools-toolbar--summary {
	margin-bottom: 34px;
}

.h5w-tools-toolbar--summary .h5w-tools-results {
	color: var(--h5w-tools-purple-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0;
}

.h5w-tools-toolbar {
	align-items: center;
	display: flex;
	justify-content: center;
	margin: 28px auto 38px;
	max-width: 1440px;
	padding: 0 30px;
	width: 100%;
}

.h5w-tools-toolbar .h5w-tools-hero__actions {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.h5w-tools-directory--main .h5w-tools-filters {
	gap: 14px;
	justify-content: center;
}

.h5w-tools-directory--main .h5w-tools-filters button {
	background: var(--h5w-tools-lavender);
	border-color: transparent;
	font-size: 14px;
	min-height: 44px;
	padding: 10px 23px;
}

.h5w-tools-directory--main .h5w-tools-filters button:hover,
.h5w-tools-directory--main .h5w-tools-filters button.is-active {
	background: var(--h5w-tools-purple);
	border-color: var(--h5w-tools-purple);
	color: #fff;
}

.h5w-tools-directory--main .h5w-tools-results {
	margin: 9px 0 0;
	text-align: center;
}

.h5w-tools-directory--main > .h5w-tools-layout,
.h5w-tools-directory--main > .h5w-rating-method {
	margin-left: auto;
	margin-right: auto;
	max-width: 1380px;
	width: calc(100% - 60px);
}

.h5w-tools-layout {
  align-items: start;
  display: grid;
  gap: clamp(30px, 4vw, 64px);
  grid-template-columns: 235px minmax(0, 1fr);
}

.h5w-tools-nav {
  background: #fff;
  border: 1px solid var(--h5w-tools-line);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(42, 31, 94, 0.07);
  padding: 18px;
  position: sticky;
  top: 96px;
}

.h5w-tools-nav > p {
  color: #888ea0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0 8px 10px;
  text-transform: uppercase;
}

.h5w-tools-nav nav {
  display: grid;
  gap: 3px;
}

.h5w-tools-nav nav a {
  align-items: center;
  border-radius: 10px;
  color: #3f465d;
  display: flex;
  font-size: 0.88rem;
  font-weight: 680;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.3;
  padding: 9px 10px;
  text-decoration: none;
}

.h5w-tools-nav nav a:hover,
.h5w-tools-nav nav a.is-active {
  background: var(--h5w-tools-lavender);
  color: var(--h5w-tools-purple-dark);
}

.h5w-tools-nav nav small {
  color: #9298a8;
  flex: 0 0 auto;
  font-size: 0.72rem;
  min-width: 1.5rem;
  text-align: right;
  white-space: nowrap;
}

.h5w-tools-nav__safety {
  border-top: 1px solid var(--h5w-tools-line);
  color: var(--h5w-tools-purple-dark);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 13px;
  padding: 15px 10px 3px;
  text-decoration: none;
}

.h5w-tools-list {
  min-width: 0;
}

.h5w-tool-category {
  border-bottom: 1px solid var(--h5w-tools-line);
  margin-bottom: 48px;
  padding-bottom: 48px;
}

.h5w-tool-category:last-child {
  border-bottom: 0;
}

.h5w-tool-category__heading {
  align-items: end;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.h5w-tool-category__heading h2 {
  color: var(--h5w-tools-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.h5w-tool-category__heading p {
  color: var(--h5w-tools-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
}

.h5w-tool-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h5w-tool-card {
  background: #fff;
  border: 1px solid var(--h5w-tools-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(42, 31, 94, 0.055);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 20px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.h5w-tool-card:hover,
.h5w-tool-card:focus-within {
  border-color: #cfc7f8;
  box-shadow: var(--h5w-tools-shadow);
  transform: translateY(-3px);
}

.h5w-tool-card__link {
  inset: 0;
  position: absolute;
  z-index: 1;
}

.h5w-tool-card__top {
  align-items: center;
  display: flex;
  gap: 14px;
}

.h5w-tool-card__logo {
  align-items: center;
  background: var(--h5w-tools-cream);
  border: 1px solid #ece6dd;
  border-radius: 14px;
  display: flex;
  flex: 0 0 54px;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 54px;
}

.h5w-tool-card__logo img {
  background: var(--h5w-tools-cream);
  height: 38px;
  object-fit: contain;
  position: absolute;
  width: 38px;
  z-index: 1;
}

.h5w-tool-card__logo span {
  color: var(--h5w-tools-purple);
  font-size: 1.35rem;
  font-weight: 900;
}

.h5w-tool-card__title {
  color: var(--h5w-tools-ink);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 5px;
}

.h5w-rating {
  align-items: center;
  color: #5b6173;
  display: inline-flex;
  font-size: 0.8rem;
  gap: 6px;
}

.h5w-rating__stars {
  background: linear-gradient(90deg, #f7a93b var(--h5w-rating), #d9dbe3 var(--h5w-rating));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.h5w-tool-card__rating {
	margin-top: 13px;
}

.h5w-tool-card__summary {
  color: var(--h5w-tools-muted);
  font-size: 0.92rem;
  line-height: 1.58;
	margin: 12px 0 15px;
}

.h5w-tool-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.h5w-tool-card__meta span {
  background: #f7f6fb;
  border-radius: 999px;
  color: #676d80;
  font-size: 0.69rem;
  font-weight: 740;
  padding: 5px 8px;
}

/*
 * Directory cards deliberately use a scoped layout. The legacy homepage
 * design has a global .h5w-tool-card width, so the directory must own its
 * dimensions instead of inheriting the old 220px card treatment.
 */
.h5w-tools-directory .h5w-tool-grid {
	gap: 20px;
}

.h5w-tools-directory .h5w-tool-card {
	background: linear-gradient(180deg, #ffffff 0%, #ffffff 78%, #fdfcff 100%);
	border: 1px solid #dedbea;
	border-radius: 17px;
	box-shadow: 0 12px 32px rgba(49, 37, 105, 0.065);
	min-height: 270px;
	min-width: 0;
	overflow: hidden;
	padding: 22px 22px 19px;
	width: 100%;
}

.h5w-tools-directory .h5w-tool-card::before {
	background: var(--h5w-tools-purple);
	content: "";
	height: 3px;
	inset: 0 0 auto;
	opacity: 0;
	position: absolute;
	transform: scaleX(0.35);
	transform-origin: left;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.h5w-tools-directory .h5w-tool-card::after {
	border-top: 1px solid #ece9f3;
	color: var(--h5w-tools-purple-dark);
	content: "View guide  →";
	font-size: 0.76rem;
	font-weight: 820;
	letter-spacing: 0.015em;
	margin-top: 15px;
	padding-top: 13px;
}

.h5w-tools-directory .h5w-tool-card:hover,
.h5w-tools-directory .h5w-tool-card:focus-within {
	border-color: #c9c1ef;
	box-shadow: 0 18px 45px rgba(49, 37, 105, 0.12);
	transform: translateY(-3px);
}

.h5w-tools-directory .h5w-tool-card:hover::before,
.h5w-tools-directory .h5w-tool-card:focus-within::before {
	opacity: 1;
	transform: scaleX(1);
}

.h5w-tools-directory .h5w-tool-card__top {
	align-items: flex-start;
	gap: 15px;
}

.h5w-tools-directory .h5w-tool-card__logo {
	border-radius: 12px;
	flex-basis: 52px;
	height: 52px;
	width: 52px;
}

.h5w-tools-directory .h5w-tool-card__title {
	font-size: 1.13rem;
	letter-spacing: -0.018em;
	line-height: 1.2;
	margin-top: 4px;
	text-wrap: balance;
}

.h5w-tools-directory .h5w-tool-card__rating {
	font-variant-numeric: tabular-nums;
	margin-top: 16px;
}

.h5w-tools-directory .h5w-tool-card__summary {
	display: -webkit-box;
	font-size: 0.91rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-height: 1.55;
	margin: 13px 0 18px;
	overflow: hidden;
	text-wrap: pretty;
}

.h5w-tools-directory .h5w-tool-card__meta {
	gap: 6px;
	min-height: 24px;
}

.h5w-tools-directory .h5w-tool-card__meta span {
	background: #f4f2f9;
	border-radius: 7px;
	font-size: 0.68rem;
	letter-spacing: 0.005em;
	padding: 5px 8px;
}

.h5w-rating-method {
  align-items: start;
  background: var(--h5w-tools-cream);
  border: 1px solid #f0e5d5;
  border-radius: 26px;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin-top: 50px;
  padding: clamp(28px, 4vw, 50px);
}

.h5w-rating-method h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0;
}

.h5w-rating-method__copy > p {
  color: var(--h5w-tools-muted);
  line-height: 1.75;
  margin: 0;
}

.h5w-rating-method__copy .h5w-rating-method__leader {
	border-top: 1px solid #eadfce;
	margin-top: 18px;
	padding-top: 16px;
}

.h5w-rating-method__leader a {
	color: var(--h5w-tools-purple-dark);
	font-weight: 800;
}

.h5w-tools-channel__note {
	align-items: start;
	background:
		radial-gradient(circle at 95% 0, rgba(255, 168, 139, 0.22), transparent 30%),
		var(--h5w-tools-cream);
	border: 1px solid #f0e5d5;
	border-radius: 26px;
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	margin-top: 50px;
	padding: clamp(28px, 4vw, 50px);
}

.h5w-tools-channel__note h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	letter-spacing: -0.035em;
	line-height: 1.15;
	margin: 0;
}

.h5w-tools-channel__note > div:last-child > p:first-child {
	color: var(--h5w-tools-muted);
	line-height: 1.75;
	margin: 0;
}

.h5w-tools-channel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin: 22px 0 0;
}

.h5w-tools-channel__actions a {
	color: var(--h5w-tools-purple-dark);
	font-weight: 800;
}

.h5w-tools-empty {
  background: #f8f6ff;
  border: 1px solid #e1dcfb;
  border-radius: 20px;
  padding: 34px;
  text-align: center;
}

.h5w-featured-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h5w-featured-tool-grid .h5w-tool-card {
  min-height: 250px;
}

.h5w-tool-profile {
  background: linear-gradient(145deg, #fffaf2, #f5f2ff);
  border: 1px solid #e8e1f2;
  border-radius: 26px;
  box-shadow: var(--h5w-tools-shadow);
  color: var(--h5w-tools-ink);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin: 1.5rem 0 3rem;
  padding: clamp(24px, 4vw, 44px);
}

.h5w-tool-profile__decision h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.h5w-tool-profile__decision p {
  color: #535b70;
  line-height: 1.65;
  margin: 10px 0;
}

.h5w-tool-profile__facts {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(218, 211, 236, 0.9);
  border-radius: 16px;
  padding: 8px 18px;
}

.h5w-tool-profile__facts > div {
  align-items: center;
  border-bottom: 1px solid #ebe7f2;
  display: flex;
  font-size: 0.85rem;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
}

.h5w-tool-profile__facts > div:last-child {
  border-bottom: 0;
}

.h5w-tool-profile__facts span:first-child {
  color: #747b8e;
}

.h5w-tool-profile__facts strong {
  color: #252b40;
  text-align: right;
}

.h5w-tool-profile__facts .h5w-rating {
	flex: 0 0 auto;
	white-space: nowrap;
}

.h5w-tool-profile__note,
.h5w-tool-profile__warning {
  border-radius: 14px;
  grid-column: 1 / -1;
  line-height: 1.6;
  margin: 0;
  padding: 15px 18px;
}

.h5w-tool-profile__note {
  background: #fff;
  border: 1px solid #e6e2ec;
}

.h5w-tool-profile__warning {
  background: #fff3e8;
  border: 1px solid #f2d1b5;
}

.h5w-tool-profile__button {
  background: var(--h5w-tools-purple);
  border-radius: 12px;
  color: #fff;
  font-weight: 820;
  grid-column: 1 / -1;
  justify-self: start;
  padding: 13px 18px;
  text-decoration: none;
}

.h5w-tool-profile__button:hover {
  background: var(--h5w-tools-purple-dark);
  color: #fff;
}

.h5w-tool-related {
	background: #f8f6ff;
	border: 1px solid #e5e0f7;
	border-radius: 26px;
	color: var(--h5w-tools-ink);
	margin: 3rem 0 1.5rem;
	padding: clamp(24px, 4vw, 42px);
}

.h5w-tool-related__header {
	display: grid;
	gap: 8px 28px;
	grid-template-columns: minmax(240px, 0.75fr) minmax(300px, 1.25fr);
	margin-bottom: 28px;
}

.h5w-tool-related__header .h5w-tools-hero__eyebrow {
	grid-column: 1 / -1;
}

.h5w-tool-related__header h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.9rem, 3vw, 2.65rem);
	letter-spacing: -0.035em;
	line-height: 1.1;
	margin: 0;
}

.h5w-tool-related__header > p:last-child {
	color: var(--h5w-tools-muted);
	line-height: 1.6;
	margin: 0;
}

.h5w-tool-related__groups {
	display: grid;
	gap: 34px;
}

.h5w-tool-related__group > h3 {
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.h5w-tool-related__guides {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.h5w-tool-related__guide {
	background: #fff;
	border: 1px solid var(--h5w-tools-line);
	border-radius: 16px;
	color: var(--h5w-tools-ink);
	display: grid;
	gap: 8px;
	padding: 20px;
	text-decoration: none;
}

.h5w-tool-related__guide:hover {
	border-color: #cfc7f8;
	box-shadow: 0 12px 30px rgba(50, 36, 112, 0.08);
	color: var(--h5w-tools-purple-dark);
}

.h5w-tool-related__guide span {
	color: var(--h5w-tools-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.h5w-tool-related__tools .h5w-tool-card {
	box-sizing: border-box;
	min-height: 230px;
	min-width: 0;
	width: 100%;
}

.h5w-tool-related__all {
	color: var(--h5w-tools-purple-dark);
	display: inline-block;
	font-weight: 800;
	margin-top: 24px;
}

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

  .h5w-tools-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

	.h5w-tools-hero {
		grid-template-columns: 1fr;
	}

	.h5w-tools-filters {
		justify-content: flex-start;
	}

	.h5w-tools-results {
		text-align: left;
	}
}

@media (max-width: 820px) {
  .h5w-tools-directory {
    padding-inline: 18px;
  }

	.h5w-tools-directory [id] {
		scroll-margin-top: 155px;
	}

  .h5w-tools-hero {
    border-radius: 0 0 28px 28px;
    margin-inline: -18px;
    padding-inline: 24px;
  }

	.h5w-tools-directory--main {
		padding-inline: 0;
	}

	.h5w-tools-hero--directory {
		border-radius: 0;
		margin-inline: 0;
		padding: 60px 20px 58px;
	}

	.h5w-tools-directory--main > .h5w-tools-layout,
	.h5w-tools-directory--main > .h5w-rating-method {
		width: calc(100% - 36px);
	}

  .h5w-tools-layout {
    display: block;
  }

  .h5w-tools-nav {
    margin-bottom: 32px;
    overflow: hidden;
    padding: 12px;
    position: sticky;
    top: 72px;
    z-index: 4;
  }

  .h5w-tools-nav > p,
  .h5w-tools-nav__safety {
    display: none;
  }

  .h5w-tools-nav nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .h5w-tools-nav nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

	.h5w-tool-category__heading,
	.h5w-rating-method,
	.h5w-tools-channel__note {
    display: block;
  }

	.h5w-tool-category__heading p,
	.h5w-rating-method__copy,
	.h5w-tools-channel__note > div:last-child {
    margin-top: 12px;
  }

  .h5w-tool-profile {
    grid-template-columns: 1fr;
  }

	.h5w-tool-related__header {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 580px) {
  .h5w-tool-grid,
	.h5w-featured-tool-grid,
	.h5w-tool-related__guides {
    grid-template-columns: 1fr;
  }

  .h5w-tools-hero h1 {
    font-size: 2.45rem;
  }

	.h5w-tools-hero--directory {
		padding: 50px 20px 48px;
	}

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

	.h5w-tools-hero__subtitle {
		font-size: 17px;
	}

	.h5w-tools-toolbar {
		justify-content: flex-start;
		margin: 20px auto 30px;
		padding: 0 18px;
	}

	.h5w-tools-toolbar .h5w-tools-hero__actions {
		align-items: stretch;
		max-width: 100%;
		width: 100%;
	}

	.h5w-tools-directory--main .h5w-tools-filters {
		gap: 8px;
		justify-content: flex-start;
		margin: 0 -18px;
		overflow-x: auto;
		padding: 0 18px 8px;
		scrollbar-width: none;
	}

	.h5w-tools-directory--main .h5w-tools-filters::-webkit-scrollbar {
		display: none;
	}

	.h5w-tools-directory--main .h5w-tools-results {
		text-align: left;
	}

  .h5w-tools-filters {
    flex-wrap: nowrap;
    margin-right: -24px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .h5w-tools-filters button {
    flex: 0 0 auto;
  }

  .h5w-tool-card {
    min-height: 240px;
  }

	.h5w-tools-directory .h5w-tool-card {
		min-height: 0;
		padding: 20px 20px 17px;
	}

  .h5w-tool-profile {
    border-radius: 20px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h5w-tool-card {
    transition: none;
  }
}
