.industries-directory-page {
  margin: 0;
  color: #142522;
  background: #f4f1e9;
  font-family: "DM Sans", sans-serif;
}

.industries-directory-page * {
  box-sizing: border-box;
}

.industries-directory-page a {
  color: inherit;
  text-decoration: none;
}

.industries-directory-page .home-header .nav-cta {
  color: #fff;
}

.industries-directory-hero,
.industries-directory-intro,
.industries-directory-grid,
.industries-directory-cta {
  width: min(1184px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.industries-directory-hero {
  display: grid;
  min-height: 610px;
  padding: 96px 0 82px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 90px;
}

.directory-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #5e6c67;
  font:
    700 12px "Manrope",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.directory-eyebrow i {
  width: 28px;
  height: 2px;
  background: #ff6846;
}

.industries-directory-hero h1 {
  max-width: 850px;
  margin: 27px 0 28px;
  font:
    700 clamp(50px, 7vw, 88px) / 0.98 "Manrope",
    sans-serif;
  letter-spacing: -0.065em;
}

.industries-directory-hero h1 em {
  color: #ff6846;
  font-style: normal;
}

.industries-directory-hero > div > p {
  max-width: 740px;
  margin: 0;
  color: #61706a;
  font-size: 18px;
  line-height: 1.72;
}

.industries-directory-hero aside {
  padding: 34px;
  border-radius: 7px;
  color: #fff;
  background: #142522;
}

.industries-directory-hero aside strong {
  display: block;
  color: #caff62;
  font:
    700 74px/1 "Manrope",
    sans-serif;
  letter-spacing: -0.06em;
}

.industries-directory-hero aside > span {
  display: block;
  margin-top: 8px;
  font:
    700 15px "Manrope",
    sans-serif;
}

.industries-directory-hero aside p {
  margin: 27px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #b8c2be;
  font-size: 14px;
  line-height: 1.6;
}

.industries-directory-intro {
  display: grid;
  padding: 100px 0 55px;
  border-top: 1px solid #d5d8d1;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
}

.industries-directory-intro span,
.industries-directory-cta > div > span {
  color: #ff6846;
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.industries-directory-intro h2 {
  margin: 16px 0 0;
  font:
    700 clamp(38px, 5vw, 62px) / 1.04 "Manrope",
    sans-serif;
  letter-spacing: -0.055em;
}

.industries-directory-intro > p {
  max-width: 450px;
  margin: 0 0 6px;
  color: #65716d;
  font-size: 16px;
  line-height: 1.72;
}

.industries-directory-grid {
  display: grid;
  padding-bottom: 115px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.industry-search-panel {
  position: sticky;
  top: 98px;
  z-index: 20;
  display: flex;
  width: min(1184px, calc(100% - 48px));
  margin: 0 auto 30px;
  padding: 16px 18px;
  border: 1px solid #d3d8d1;
  border-radius: 7px;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(20, 37, 34, 0.08);
  backdrop-filter: blur(16px);
}

.industry-search-form {
  display: grid;
  width: min(650px, 100%);
  gap: 8px;
}

.industry-search-form > label {
  color: #596760;
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.industry-search-control {
  display: grid;
  min-height: 54px;
  overflow: hidden;
  border: 1px solid #bfc6bf;
  border-radius: 5px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  background: #f8f7f2;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.industry-search-control:focus-within {
  border-color: #ff6846;
  box-shadow: 0 0 0 3px rgba(255, 104, 70, 0.13);
}

.industry-search-control > span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #ff6846;
  font-size: 28px;
  transform: rotate(-20deg);
}

.industry-search-control input {
  width: 100%;
  height: 100%;
  padding: 0 8px;
  border: 0;
  outline: 0;
  color: #142522;
  background: transparent;
  font:
    600 16px "DM Sans",
    sans-serif;
}

.industry-search-control input::placeholder {
  color: #87918c;
  font-weight: 400;
}

.industry-search-control input::-webkit-search-cancel-button {
  display: none;
}

.industry-search-control button {
  height: 34px;
  margin-right: 9px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #142522;
  font:
    700 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.industry-search-status {
  min-width: 160px;
  margin: 0 4px 16px 0;
  color: #68756f;
  font-size: 13px;
  text-align: right;
}

.industry-search-status b {
  color: #142522;
  font:
    700 18px "Manrope",
    sans-serif;
}

.industries-directory-page .directory-industry-card {
  --card-primary: #142522;
  --card-accent: #caff62;
  display: flex;
  min-height: 430px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(20, 37, 34, 0.15);
  border-radius: 7px;
  flex-direction: column;
  color: var(--card-accent);
  background: var(--card-primary);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.directory-industry-card[hidden] {
  display: none;
}

.directory-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(20, 37, 34, 0.15);
}

.directory-industry-card header,
.directory-industry-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.directory-industry-card header span {
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.directory-industry-card header i {
  font-size: 20px;
  font-style: normal;
  transition: transform 0.2s;
}

.directory-industry-card:hover header i {
  transform: translate(3px, -3px);
}

.directory-card-mark {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 43px 0 29px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font:
    700 32px "Manrope",
    sans-serif;
}

.directory-industry-card small {
  font:
    700 10px "Manrope",
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.directory-industry-card h2 {
  margin: 9px 0 13px;
  font:
    700 29px/1.08 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.directory-industry-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.76;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.directory-industry-card footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.directory-industry-card footer span {
  font-size: 18px;
}

.industries-directory-cta {
  display: flex;
  min-height: 350px;
  margin-bottom: 110px;
  padding: 58px 62px;
  border-radius: 8px;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  color: #fff;
  background: #142522;
}

.industry-search-empty {
  width: min(1184px, calc(100% - 48px));
  margin: 0 auto 115px;
  padding: 55px;
  border: 1px solid #d7dad3;
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.industry-search-empty[hidden] {
  display: none;
}

.industry-search-empty > span {
  color: #ff6846;
  font:
    700 11px "Manrope",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industry-search-empty h2 {
  margin: 17px 0 10px;
  font:
    700 clamp(31px, 4vw, 48px) / 1.08 "Manrope",
    sans-serif;
  letter-spacing: -0.045em;
}

.industry-search-empty p {
  max-width: 650px;
  margin: 0 auto;
  color: #68756f;
  line-height: 1.65;
}

.industry-search-empty > div {
  display: flex;
  margin-top: 28px;
  justify-content: center;
  gap: 10px;
}

.industry-search-empty button,
.industry-search-empty a {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #142522;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font:
    700 13px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.industry-search-empty button {
  color: #142522;
  background: transparent;
}

.industry-search-empty a {
  display: flex;
  gap: 25px;
  color: #fff;
  background: #142522;
}

.industry-search-empty a span {
  color: #caff62;
}

.industries-directory-cta h2 {
  max-width: 750px;
  margin: 18px 0 14px;
  font:
    700 clamp(36px, 5vw, 58px) / 1.04 "Manrope",
    sans-serif;
  letter-spacing: -0.055em;
}

.industries-directory-cta p {
  max-width: 630px;
  margin: 0;
  color: #b8c2be;
  line-height: 1.65;
}

.industries-directory-cta > a {
  display: flex;
  min-width: 220px;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  color: #142522;
  background: #caff62;
  font-weight: 700;
}

.directory-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .industries-directory-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .industries-directory-hero aside {
    max-width: 430px;
  }

  .industries-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .industries-directory-hero,
  .industries-directory-intro,
  .industries-directory-grid,
  .industries-directory-cta,
  .industry-search-panel,
  .industry-search-empty {
    width: min(100% - 32px, 1184px);
  }

  .industries-directory-hero {
    padding: 65px 0 70px;
  }

  .industries-directory-hero h1 {
    font-size: 47px;
  }

  .industries-directory-intro {
    padding-top: 72px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .industries-directory-grid {
    padding-bottom: 75px;
    grid-template-columns: 1fr;
  }

  .industry-search-panel {
    position: static;
    margin-bottom: 22px;
    padding: 15px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .industry-search-status {
    margin: 0;
    text-align: left;
  }

  .directory-industry-card {
    min-height: 390px;
  }

  .industries-directory-cta {
    min-height: 0;
    margin-bottom: 72px;
    padding: 40px 27px;
    align-items: flex-start;
    flex-direction: column;
    gap: 36px;
  }

  .industries-directory-cta > a {
    width: 100%;
  }

  .industry-search-empty {
    margin-bottom: 75px;
    padding: 40px 23px;
  }

  .industry-search-empty > div {
    flex-direction: column;
  }

  .industry-search-empty button,
  .industry-search-empty a {
    width: 100%;
  }
}
