:root {
  --resource-ink: #122523;
  --resource-text: #4f6260;
  --resource-teal: #308d85;
  --resource-teal-dark: #25786f;
  --resource-teal-soft: #e8f5f3;
  --resource-orange: #f24e2a;
  --resource-orange-dark: #d94d2e;
  --resource-border: #d9e5e3;
  --resource-page: #ffffff;
  --resource-muted: #f5f8f7;
}

* {
  box-sizing: border-box;
}

.resource-page {
  background: var(--resource-page);
  color: var(--resource-ink);
  margin-top: 80px;
}

.resource-page main {
  background: var(--resource-page);
}

.resource-page main section {
  padding: 0;
}

.resource-page button,
.resource-page input,
.resource-page select {
  font: inherit;
}

.resource-page button {
  cursor: pointer;
}

.resource-page a:focus-visible,
.resource-page button:focus-visible,
.resource-page input:focus-visible,
.resource-page summary:focus-visible,
.resource-page select:focus-visible {
  outline: 3px solid var(--resource-orange);
  outline-offset: 3px;
}

.resource-skip-link {
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  color: #173b38;
  font-weight: 700;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 10001;
}

.resource-skip-link:focus {
  top: 0;
}

.resource-sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.resource-page .header button {
  background: transparent;
  border: 0;
}

.resource-page .header .nav-wrapper {
  max-width: 1320px;
}

.resource-page .desktop-nav a[aria-current="page"] {
  position: relative;
}

.resource-page .desktop-nav a[aria-current="page"]::after {
  background: #ffffff;
  bottom: -14px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

.resource-page .header #mobile-menu {
  align-items: center;
  display: flex;
  justify-content: center;
}

.resource-page .header #menu-close {
  display: block;
  margin: 0 0 20px 5px;
  padding: 0;
}

.resource-page .header #menu-close img {
  display: block;
  width: 25px;
}

.resource-container {
  margin: 0 auto;
  max-width: 1348px;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.resource-hero {
  background-color: #f4faf9;
  background-image: radial-gradient(circle at 80% 16%, rgba(80, 176, 168, 0.2), transparent 34%), linear-gradient(145deg, #ffffff 0%, #edf7f5 100%);
  border-bottom: 1px solid #dce9e6;
  padding: 25px 0 18px !important;
}

.resource-eyebrow {
  color: var(--resource-teal-dark);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.resource-hero h1 {
  color: var(--resource-ink);
  font-size: clamp(44px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  max-width: 600px;
}

.resource-intro {
  color: var(--resource-text);
  font-size: 18px;
  line-height: 1.45;
  margin: 10px 0 18px;
}

.resource-search {
  align-items: end;
  background: #ffffff;
  border: 1px solid rgba(196, 215, 212, 0.8);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(31, 80, 74, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: 1.15fr 1.15fr 200px auto;
  padding: 16px 22px;
}

.resource-field > label,
.resource-field-label {
  color: #344b48;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

.resource-input-wrap,
.resource-select-wrap {
  align-items: center;
  border: 1px solid #cfdcda;
  border-radius: 10px;
  display: flex;
  height: 48px;
  position: relative;
}

.resource-input-wrap:focus-within,
.resource-select-wrap:focus-within {
  border-color: var(--resource-teal);
  box-shadow: 0 0 0 3px rgba(48, 141, 133, 0.12);
}

.resource-input-wrap > span:first-child,
.resource-select-wrap > span:first-child {
  color: #347e77;
  font-size: 18px;
  left: 14px;
  position: absolute;
  z-index: 1;
}

.resource-input-wrap input,
.resource-support-summary {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--resource-ink);
  font-size: 16px;
  font-weight: 600;
  height: 100%;
  min-width: 0;
  outline: 0;
  padding: 0 42px;
  width: 100%;
}

.resource-input-wrap input:focus-visible {
  outline: 0;
}

.resource-input-wrap input::-webkit-search-cancel-button {
  display: none;
}

.resource-clear-location {
  align-items: center;
  background: transparent;
  border: 0;
  color: #526c69;
  display: flex;
  font-size: 13px;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 3px;
  width: 38px;
}

.resource-select-wrap > .ti-angle-down {
  color: #526c69;
  pointer-events: none;
  position: absolute;
  right: 14px;
  transition: transform 160ms ease;
}

.resource-multiselect {
  position: relative;
}

.resource-select-wrap {
  cursor: pointer;
  list-style: none;
}

.resource-select-wrap::-webkit-details-marker {
  display: none;
}

.resource-multiselect[open] .resource-select-wrap > .ti-angle-down {
  transform: rotate(180deg);
}

.resource-multiselect-menu {
  background: #ffffff;
  border: 1px solid #cfdcda;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(31, 80, 74, 0.16);
  display: grid;
  gap: 2px;
  left: 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
}

.resource-field .resource-support-option {
  align-items: center;
  border-radius: 7px;
  color: var(--resource-ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
}

.resource-field .resource-support-option:hover {
  background: var(--resource-teal-soft);
}

.resource-support-option input {
  accent-color: var(--resource-teal);
  height: 18px;
  margin: 0;
  width: 18px;
}

.resource-support-summary {
  align-items: center;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-search-button,
.resource-primary-button {
  align-items: center;
  background: var(--resource-orange);
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.resource-search-button {
  min-width: 200px;
}

.resource-search-button .ti-search {
  display: none;
  margin-right: 8px;
}

.resource-search-button:hover,
.resource-primary-button:hover {
  background: var(--resource-orange-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.resource-location-button {
  align-items: center;
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--resource-teal-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  min-height: 44px;
  padding: 0 6px;
  white-space: nowrap;
}

.resource-location-button .ti-location-arrow {
  border: 1px solid #70aaa5;
  border-radius: 50%;
  font-size: 13px;
  padding: 5px;
}

.resource-category-scroller {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
}

.resource-category {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d3e0de;
  border-radius: 9px;
  color: #243c39;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 11px;
  justify-content: center;
  min-height: 58px;
  padding: 8px 14px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.resource-category > span {
  color: #335f5b;
  font-size: 22px;
}

.resource-category:hover,
.resource-category[aria-pressed="true"] {
  background: #f2f9f8;
  border-color: var(--resource-teal);
  color: var(--resource-ink);
}

.resource-category:hover {
  transform: translateY(-1px);
}

.resource-category[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px var(--resource-teal);
}

.resource-veterans-filter {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d4e2df;
  border-radius: 11px;
  color: #29413e;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  margin: 10px 0 0;
  min-height: 42px;
  padding: 8px 12px;
  position: relative;
  z-index: 2;
}

.resource-veterans-filter > .ti-shield {
  color: var(--resource-teal);
  font-size: 18px;
}

.resource-veterans-filter input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.resource-checkbox {
  align-items: center;
  border: 1px solid #c6d5d3;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  height: 19px;
  justify-content: center;
  margin-left: 2px;
  width: 19px;
}

.resource-checkbox .ti-check {
  font-size: 11px;
  opacity: 0;
}

.resource-veterans-filter input:focus-visible + .resource-checkbox {
  outline: 3px solid var(--resource-orange);
  outline-offset: 3px;
}

.resource-veterans-filter input:checked + .resource-checkbox {
  background: var(--resource-teal);
  border-color: var(--resource-teal);
}

.resource-veterans-filter input:checked + .resource-checkbox .ti-check {
  opacity: 1;
}

.resource-search-status {
  color: #506966;
  display: inline-block;
  font-size: 13px;
  margin: 0 0 0 12px;
}

.resource-results {
  background: #ffffff;
  padding: 35px 0 78px !important;
}

.resource-results-heading {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.resource-results-heading h2 {
  color: var(--resource-ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 6px;
}

.resource-results-heading > div > p {
  color: #5b706d;
  font-size: 14px;
  margin: 0;
}

.resource-trust-note {
  align-items: center;
  color: #506562;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px;
  margin: 0 0 1px;
  text-align: right;
}

.resource-trust-note > span {
  color: var(--resource-teal);
  font-size: 18px;
}

.resource-trust-note a {
  color: var(--resource-teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #a8cbc7;
  text-underline-offset: 3px;
}

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

.resource-card {
  background: #ffffff;
  border: 1px solid #dbe5e3;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(27, 69, 64, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.resource-card:hover {
  border-color: #aacfc9;
  box-shadow: 0 14px 34px rgba(27, 69, 64, 0.12);
  transform: translateY(-3px);
}

.resource-card-media {
  aspect-ratio: 2.8 / 1;
  background: var(--resource-teal-soft);
  overflow: hidden;
}

.resource-card-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.resource-card-fallback {
  align-items: center;
  background: #e7f3f1;
  color: #4c8e87;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.resource-card-initials {
  align-items: center;
  border: 2px solid #70a9a3;
  border-radius: 50%;
  display: flex;
  font-family: Georgia, serif;
  font-size: 30px;
  height: 88px;
  justify-content: center;
  letter-spacing: 0.03em;
  width: 88px;
}

.resource-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 16px 14px;
}

.resource-card-title-row {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.resource-card h3 {
  color: var(--resource-ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.resource-verified {
  align-items: center;
  color: #2d8a61;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 4px;
  white-space: nowrap;
}

.resource-verified .ti-check {
  align-items: center;
  background: #2f946a;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 7px;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.resource-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.resource-service-badge,
.resource-veteran-badge {
  align-items: center;
  background: #e8f4f2;
  border-radius: 999px;
  color: #25756e;
  display: inline-flex;
  font-size: 12px;
  gap: 4px;
  line-height: 1.2;
  padding: 5px 10px;
}

.resource-more-badge {
  align-items: center;
  background: #f2f5f4;
  border: 1px solid #d9e2e0;
  border-radius: 999px;
  color: #50615f;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 30px;
  padding: 5px 10px;
}

.resource-service-badge-peer {
  background: #e8f2fb;
  color: #3473a6;
}

.resource-service-badge-housing {
  background: #fff1dc;
  color: #a96919;
}

.resource-service-badge-employment {
  background: #eef0f7;
  color: #5b6280;
}

.resource-veteran-badge {
  background: #f2f5f4;
  color: #435b58;
}

.resource-card-location {
  color: #536865;
  font-size: 13px;
  margin: 10px 0 0;
}

.resource-card-location .ti-location-pin {
  color: #3d625e;
  margin-right: 5px;
}

.resource-card-location .resource-dot {
  color: #8ca09d;
  margin: 0 7px;
}

.resource-card-description {
  color: #536663;
  font-size: 14px;
  line-height: 1.4;
  margin: 10px 0 14px;
}

.resource-card-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto auto;
  margin-top: auto;
}

.resource-card-phone {
  color: #415754;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.resource-card-phone .ti-mobile {
  color: var(--resource-teal-dark);
  margin-right: 5px;
}

.resource-detail-button {
  background: var(--resource-orange);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  padding: 0 15px;
  white-space: nowrap;
}

.resource-detail-button:hover {
  background: var(--resource-orange-dark);
}

.resource-website-link {
  color: var(--resource-teal-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.resource-website-link .ti-new-window {
  font-size: 11px;
  margin-left: 3px;
}

.resource-empty {
  background: var(--resource-muted);
  border: 1px solid var(--resource-border);
  border-radius: 14px;
  color: var(--resource-text);
  padding: 46px 24px;
  text-align: center;
}

.resource-loading,
.resource-error {
  align-items: center;
  background: #f8fbfa;
  border: 1px solid var(--resource-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 260px;
  padding: 36px;
  text-align: center;
}

.resource-loading p,
.resource-error p {
  color: var(--resource-text);
  margin: 10px 0 0;
}

.resource-loading-dot {
  animation: resource-pulse 900ms ease-in-out infinite alternate;
  background: var(--resource-teal);
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.resource-error > .ti-alert {
  color: var(--resource-orange);
  font-size: 32px;
}

.resource-error h3 {
  margin: 12px 0 0;
}

.resource-error .resource-secondary-button {
  margin-top: 18px;
}

.resource-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@keyframes resource-pulse {
  from { opacity: 0.35; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.1); }
}

.resource-empty > span {
  color: var(--resource-teal);
  font-size: 30px;
}

.resource-empty h3 {
  color: var(--resource-ink);
  font-size: 24px;
  margin: 14px 0 6px;
}

.resource-empty p {
  font-size: 16px;
  margin: 0 0 20px;
}

.resource-secondary-button {
  background: #ffffff;
  border: 1px solid #9abbb7;
  border-radius: 8px;
  color: var(--resource-teal-dark);
  font-weight: 700;
  min-height: 44px;
  padding: 0 18px;
}

.resource-secondary-button:hover {
  background: #eff8f7;
}

.resource-dialog {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(16, 48, 44, 0.28);
  color: var(--resource-text);
  max-width: 560px;
  padding: 34px;
  width: calc(100% - 32px);
}

.resource-dialog::backdrop {
  background: rgba(9, 31, 28, 0.62);
}

.resource-dialog-close {
  align-items: center;
  background: #eef6f5;
  border: 0;
  border-radius: 50%;
  color: #365753;
  display: flex;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.resource-dialog-eyebrow {
  color: #2e8b64;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.resource-dialog h2 {
  color: var(--resource-ink);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 46px 12px 0;
}

.resource-dialog > p {
  font-size: 16px;
  line-height: 1.6;
  margin: 18px 0 22px;
}

.resource-dialog-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.resource-dialog dl {
  border-bottom: 1px solid var(--resource-border);
  border-top: 1px solid var(--resource-border);
  margin: 0 0 24px;
}

.resource-dialog dl > div {
  display: grid;
  gap: 16px;
  grid-template-columns: 90px 1fr;
  padding: 12px 0;
}

.resource-dialog dl > div + div {
  border-top: 1px solid #ebf0ef;
}

.resource-dialog dt {
  color: var(--resource-ink);
  font-weight: 700;
}

.resource-dialog dd {
  margin: 0;
}

.resource-dialog dd a {
  color: var(--resource-teal-dark);
  font-weight: 600;
}

.resource-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-dialog-actions .resource-primary-button,
.resource-dialog-actions .resource-secondary-button {
  min-height: 46px;
}

@media only screen and (max-width: 1180px) {
  .resource-page .desktop-nav {
    display: none;
  }

  .resource-page .mobile-nav {
    display: block;
  }

  .resource-search {
    gap: 16px;
    grid-template-columns: 1fr 1fr auto;
  }

  .resource-location-button {
    grid-column: 1 / -1;
    justify-self: start;
    margin: -8px 0 0;
  }

  .resource-card-actions {
    grid-template-columns: 1fr auto;
  }

  .resource-website-link {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media only screen and (max-width: 960px) {
  .resource-category-scroller {
    display: flex;
    margin-left: -24px;
    margin-right: -24px;
    overflow-x: auto;
    padding: 0 24px 8px;
    scroll-snap-type: x proximity;
  }

  .resource-category {
    flex: 0 0 auto;
    min-width: 180px;
    scroll-snap-align: start;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-results-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .resource-trust-note {
    text-align: left;
  }
}

@media only screen and (max-width: 760px) {
  .resource-page {
    margin-top: 80px;
  }

  .resource-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .resource-hero {
    padding: 26px 0 16px !important;
  }

  .resource-hero h1 {
    font-size: 36px;
    line-height: 1.04;
    max-width: 360px;
  }

  .resource-intro {
    font-size: 16px;
    line-height: 1.42;
    margin: 10px 0 16px;
  }

  .resource-search {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .resource-field > label,
  .resource-field-label {
    margin-bottom: 4px;
  }

  .resource-input-wrap,
  .resource-select-wrap {
    height: 44px;
  }

  .resource-search-button {
    width: 100%;
  }

  .resource-search-button .ti-search {
    display: inline;
  }

  .resource-location-button {
    grid-column: auto;
    justify-self: center;
    margin-top: -3px;
    min-height: 34px;
  }

  .resource-category-scroller {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .resource-category {
    min-height: 52px;
  }

  .resource-veterans-filter {
    min-height: 40px;
  }

  .resource-search-status {
    display: block;
    margin: 10px 0 0;
  }

  .resource-results {
    padding: 32px 0 64px !important;
  }

  .resource-results-heading h2 {
    font-size: 27px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card-media {
    aspect-ratio: 2.25 / 1;
  }

  .resource-card-actions {
    grid-template-columns: 1fr auto auto;
  }

  .resource-website-link {
    grid-column: auto;
    justify-self: auto;
  }
}

@media only screen and (max-width: 440px) {
  .resource-hero h1 {
    font-size: 36px;
  }

  .resource-intro {
    line-height: 1.5;
  }

  .resource-category {
    min-width: 164px;
  }

  .resource-card-actions {
    grid-template-columns: 1fr auto;
  }

  .resource-website-link {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .resource-dialog {
    padding: 28px 22px;
  }

  .resource-dialog h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-page *,
  .resource-page *::before,
  .resource-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
  background: transparent;
  border: 0;
