Showing source for: https://drugrehabchesapeake.com/article.html?slug=what-aftercare-is-provided-by-chesapeake-addiction-treatment
Duration: 0.953954s
Server: cloudflare

<!DOCTYPE html>
<html lang="en">
<head>
  <link rel="icon" type="image/webp" href="images/logo.webp">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="Drug Rehab Chesapeake offers confidential addiction recovery guidance across the United States. Explore treatment options, insurance questions, and nationwide support. Call 1 (757) 590-4176.">
  
  
  
  
  
  <meta name="site-seo" content="1">
  <meta name="robots" content="index, follow, max-image-preview:large">
  <meta name="googlebot" content="index, follow">
  <link rel="canonical" href="https://drugrehabchesapeake.com/article.html">
  <link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
  <meta property="og:type" content="website">
  <meta property="og:site_name" content="Drug Rehab Chesapeake">
  <meta property="og:title" content="Article | Drug Rehab Chesapeake">
  <meta property="og:description" content="Drug Rehab Chesapeake offers confidential addiction recovery guidance across the United States. Explore treatment options, insurance questions, and nationwide support. Call 1 (757) 590-4176.">
  <meta property="og:url" content="https://drugrehabchesapeake.com/article.html">
  <meta property="og:locale" content="en_US">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:title" content="Article | Drug Rehab Chesapeake">
  <meta name="twitter:description" content="Drug Rehab Chesapeake offers confidential addiction recovery guidance across the United States. Explore treatment options, insurance questions, and nationwide support. Call 1 (757) 590-4176.">
  <script type="application/ld+json" id="site-schema">{"@context":"https://schema.org","@type":"MedicalBusiness","name":"Drug Rehab Chesapeake","url":"https://drugrehabchesapeake.com","description":"Drug Rehab Chesapeake offers confidential addiction recovery guidance across the United States. Explore treatment options, insurance questions, and nationwide support. Call 1 (757) 590-4176.","telephone":"+17575904176","areaServed":{"@type":"Country","name":"United States"},"address":{"@type":"PostalAddress","addressCountry":"US"}}</script>
  <meta name="theme-color" content="#0e65a8">
  <title>Article | Drug Rehab Chesapeake</title>
  <style>
:root {
  --blue: #167fc4;
  --blue-dark: #07559a;
  --blue-deep: #0a3763;
  --blue-soft: #d7f2ff;
  --blue-pale: #eefaff;
  --green-call: #03c522;
  --ink: #15191d;
  --ink-soft: #52606b;
  --line: #d8e1e7;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --silver: #eef0f2;
  --gold: #f5b400;
  --page: 1180px;
  --header-height: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.28rem;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.page-width {
  width: min(calc(100% - 44px), var(--page));
  margin-inline: auto;
}

.section {
  padding: 105px 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--blue-deep);
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #bde9ff;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading.centered {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered > p:last-child {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--ink-soft);
}

/* Top strip */

.support-strip {
  color: #172b39;
  background: #d8f3ff;
}

.support-strip-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.support-strip p {
  margin: 0;
  font-size: 0.88rem;
}

.support-strip a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-strip span {
  color: #ff8ea6;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 1500;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(10, 55, 99, 0.1);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(20, 56, 83, 0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.brand,
.header-logo {
  width: 245px;
  max-width: 245px;
  display: inline-flex;
  justify-self: start;
  background: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

.brand img,
.header-logo img {
  width: 245px;
  max-width: 245px;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 25px);
}

.primary-nav a {
  position: relative;
  padding: 11px 0;
  color: #18394e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 4px;
  left: 50%;
  height: 2px;
  background: var(--blue);
  transition: right 0.25s ease, left 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  right: 0;
  left: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s ease;
}

.header-call-btn:hover,
.header-call-btn:focus {
  background: var(--blue-dark);
}

.header-call-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}


.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */

.hero {
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #16374f;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1758273241078-8eec353836be?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=60&w=3000");
  background-position: center 38%;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 22, 34, 0.94) 0%, rgba(6, 22, 34, 0.8) 39%, rgba(6, 22, 34, 0.22) 78%, rgba(6, 22, 34, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 20, 30, 0.1), rgba(5, 20, 30, 0.38));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 6vw, 6.2rem);
  letter-spacing: -0.045em;
}

.hero-number {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.hero-number > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button-ghost:hover {
  color: var(--blue-deep);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 5px;
  color: var(--blue-dark);
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.about-image {
  min-height: 520px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(26, 78, 112, 0.16);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-copy h2 {
  color: #123e5c;
}

.about-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.about-lead {
  color: #1b4d6a !important;
  font-size: 1.18rem;
  font-weight: 700;
}

/* Payment */

.payment-section {
  padding: 85px 0;
  background: var(--off-white);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.payment-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 16px 35px rgba(26, 78, 112, 0.06);
}

.payment-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.payment-card h3 {
  margin-bottom: 10px;
  color: #123e5c;
}

.payment-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.payment-note {
  max-width: 730px;
  margin: 28px auto 0;
  color: #6d7880;
  font-size: 0.76rem;
  text-align: center;
}

/* Steps */

.expect-section {
  padding: 95px 0 105px;
  background: var(--blue-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 38px;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 1.3rem;
}

.step-card small {
  display: inline-block;
  margin-bottom: 3px;
  padding: 3px 8px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-card h3 {
  margin: 5px 0 9px;
  color: #103d59;
  font-size: 1.08rem;
}

.step-card p {
  margin-bottom: 0;
  color: #476170;
  font-size: 0.88rem;
}

/* Path */

.path-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.path-copy h2 {
  color: #123e5c;
}

.check-list {
  list-style: none;
  margin: 30px 0 34px;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: #314e5e;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 10px;
  left: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.path-image {
  overflow: hidden;
  border-radius: 18px;
}

.path-image img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 75px;
}

.value-card {
  min-height: 230px;
  padding: 30px;
  background: var(--silver);
  border-radius: 16px;
}

.value-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 12px;
  color: #153e58;
}

.value-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Recovery banner */

.recovery-banner {
  min-height: 410px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #172534;
}

.recovery-media,
.recovery-overlay {
  position: absolute;
  inset: 0;
}

.recovery-media {
  background-image: url("https://images.unsplash.com/photo-1749576502454-a0fa6ae62a48?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=60&w=3000");
  background-position: center;
  background-size: cover;
}

.recovery-overlay {
  background: linear-gradient(90deg, rgba(11, 21, 31, 0.9), rgba(11, 21, 31, 0.5));
}

.recovery-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 90px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.recovery-copy h2 {
  margin-bottom: 25px;
  font-size: clamp(2.6rem, 4.7vw, 5rem);
}

.recovery-text {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.phone-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #124263;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

/* Stories */

.stories-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}

.stories-heading h2 {
  margin-bottom: 0;
  color: #113d5a;
}

.stories-heading > p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.quote-mark {
  color: var(--blue);
  font-size: 3.8rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.8;
}

.story-card p {
  color: #2c4757;
  font-size: 1.03rem;
}

.story-card cite {
  margin-top: auto;
  color: #75828a;
  font-size: 0.74rem;
  font-style: normal;
}

/* Trust */

.trust-section {
  padding: 85px 0;
  background: var(--blue-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: 180px 1fr 0.8fr;
  align-items: center;
  gap: 55px;
}

.trust-seal {
  width: 155px;
  height: 155px;
  display: grid;
  place-content: center;
  color: #9d6d00;
  background: #f9d96b;
  border: 8px double rgba(127, 82, 0, 0.45);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 14px 30px rgba(118, 82, 0, 0.12);
}

.trust-seal span,
.trust-seal small {
  display: block;
}

.trust-seal span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 700;
}

.trust-seal small {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-copy h2 {
  color: #0f4c75;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

.trust-copy > p:last-child {
  margin-bottom: 0;
  color: #527181;
}

.trust-points {
  display: grid;
  gap: 14px;
}

.trust-points > div {
  padding: 18px 20px;
  color: #123e5c;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(18, 62, 92, 0.12);
  border-radius: 12px;
}

.trust-points strong,
.trust-points span {
  display: block;
}

.trust-points span {
  color: #5d7583;
  font-size: 0.8rem;
}

/* Journey */

.journey-section {
  min-height: 470px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #081c2c;
}

.journey-media,
.journey-overlay {
  position: absolute;
  inset: 0;
}

.journey-media {
  background-image: url("https://images.unsplash.com/photo-1758273240631-59d44c8f5b66?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=60&w=3000");
  background-position: center;
  background-size: cover;
  filter: saturate(0.72);
}

.journey-overlay {
  background: rgba(6, 18, 29, 0.78);
}

.journey-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}

.journey-inner h2 {
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
}

.journey-inner > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.phone-pill-light {
  color: #16415d;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(55px, 8vw, 110px);
}

.faq-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.faq-heading h2 {
  color: #123e5c;
}

.faq-heading > p:last-child {
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 25px 52px 25px 0;
  color: #173f58;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 10px;
  color: var(--blue);
  font-size: 1.7rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 50px 23px 0;
  color: var(--ink-soft);
}

/* Help band */

.help-band {
  padding: 72px 0;
  background: var(--blue-soft);
}

.help-band-inner {
  text-align: center;
}

.help-band-inner h2 {
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.help-band-inner > p:not(.eyebrow) {
  margin-bottom: 22px;
  color: #477287;
}

.phone-pill-dark {
  color: var(--white);
  background: #111921;
}

/* Footer */

.site-footer {
  padding: 70px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  background: #05080b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.55fr);
  gap: 55px;
  padding-bottom: 50px;
}

.footer-brand img {
  width: 245px;
  height: 70.56px;
  max-width: 245px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  padding: 0;
  background: none;
  border-radius: 0;
}

.footer-brand p {
  max-width: 440px;
}

.footer-phone {
  display: inline-flex;
  padding: 8px 13px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-weight: 800;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  font-size: 0.82rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 45px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.68rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom p:last-child {
  text-align: right;
}

/* Animation */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-call-bar {
  display: none;
}

@keyframes call-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.72);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

/* Tablet */

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-nav.open {
    position: fixed;
    inset: 134px 18px auto;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 18px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(24, 67, 95, 0.22);
  }

  .primary-nav.open a {
    padding: 16px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }

  .primary-nav.open a:last-child {
    border-bottom: 0;
  }

  .primary-nav.open a::after {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 160px 1fr;
  }

  .trust-points {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 85px 0;
  }

  .about-grid,
  .path-grid,
  .recovery-grid,
  .faq-grid,
  .stories-heading {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .path-grid,
  .recovery-grid,
  .faq-grid,
  .stories-heading {
    gap: 48px;
  }

  .payment-grid,
  .steps-grid,
  .values-grid,
  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-image {
    min-height: 430px;
  }

  .about-image img {
    min-height: 430px;
  }

  .recovery-grid {
    gap: 25px;
  }

  .faq-heading {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */

@media (max-width: 650px) {
  html {
    scroll-padding-top: 102px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .page-width {
    width: min(calc(100% - 28px), var(--page));
  }

  .support-strip-inner {
    min-height: 68px;
  }

  .support-strip p {
    font-size: 0.84rem;
  }

  .header-inner {
    min-height: 78px;
    gap: 10px;
  }

  .header-call-btn {
    min-height: 48px;
    padding: 0 16px;
    gap: 8px;
    font-size: 14px;
  }

  .header-call-btn svg {
    width: 17px;
    height: 17px;
  }

  .brand {
    width: min(74vw, 245px);
  }

  .primary-nav.open {
    inset: 136px 12px auto;
  }

  .hero {
    min-height: 635px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 20, 31, 0.91), rgba(6, 20, 31, 0.46));
  }

  .hero-inner {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 12vw, 4.2rem);
  }

  .hero-number {
    font-size: 1.38rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .payment-grid,
  .steps-grid,
  .values-grid,
  .stories-grid,
  .trust-points,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .about-image,
  .about-image img {
    min-height: 330px;
  }

  .steps-grid {
    gap: 30px;
  }

  .path-image img {
    min-height: 300px;
  }

  .value-card {
    min-height: auto;
  }

  .recovery-grid {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .stories-heading {
    margin-bottom: 35px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-seal {
    margin-inline: auto;
  }

  .trust-points {
    text-align: left;
  }

  .journey-inner {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .footer-grid {
    gap: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 14px;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  .mobile-call-bar {
    position: fixed;
    z-index: 2500;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    color: var(--white);
    background: var(--green-call);
    box-shadow: 0 -8px 25px rgba(0, 90, 20, 0.26);
  }

  .mobile-call-icon {
    font-size: 1.35rem;
  }

  .mobile-call-bar small,
  .mobile-call-bar strong {
    display: block;
  }

  .mobile-call-bar small {
    font-size: 0.62rem;
  }

  .mobile-call-bar strong {
    font-size: 1rem;
  }

  .mobile-call-bar i {
    width: 14px;
    height: 14px;
    position: relative;
    background: #80ff91;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(128, 255, 145, 0.25);
  }

  .mobile-call-bar i::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(128, 255, 145, 0.65);
    border-radius: 50%;
    animation: call-pulse 1.8s ease-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Only the logo is intentionally blank. All website photography remains in place. */
.logo-placeholder {
  width: min(270px, 42vw);
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 18px;
  color: #2488c9;
  background: #ffffff;
  border: 2px dashed rgba(36, 136, 201, 0.45);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.footer-brand .logo-placeholder {
  width: min(250px, 100%);
}

@media (max-width: 760px) {
  .logo-placeholder {
    width: min(230px, 60vw);
    min-height: 48px;
    padding: 8px 12px;
    font-size: 0.62rem;
  }
}

  </style>
  <style>
/* Directory pages (works with legacy inline site styles) */
.directory-page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--blue-pale, #eefaff) 0%, #fff 100%);
}

.directory-page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  color: var(--blue-deep, #0a3763);
}

.directory-page-hero p {
  margin: 0;
  max-width: 680px;
  color: var(--ink-soft, #52606b);
  font-size: 18px;
}

.directory-layout {
  padding: 48px 0 95px;
}

.directory-alpha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line, #dbe4e8);
}

.directory-alpha-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft, #334047);
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.alpha-nav a {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #c6d4db;
  border-radius: 6px;
  background: #fff;
  color: var(--blue, #0a83c4);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.alpha-nav a:hover,
.alpha-nav a.active {
  border-color: var(--blue, #0e86c8);
  background: var(--blue, #0e86c8);
  color: #fff;
}

.alpha-nav a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.directory-count {
  margin: 0 0 28px;
  color: var(--ink-soft, #5d6a72);
  font-size: 17px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.directory-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line, #dbe4e8);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(9, 65, 95, 0.07);
  overflow: hidden;
}

.directory-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d9f5ff, #eef8ff);
  overflow: hidden;
}

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

.directory-card-media img.is-placeholder,
.listing-photo img.is-placeholder {
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(135deg, #d9f5ff, #eef8ff);
}

.directory-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.directory-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.directory-card h2 a {
  color: var(--blue, #0a83c4);
  text-decoration: none;
}

.directory-card h2 a:hover {
  text-decoration: underline;
}

.directory-tags {
  margin: 0 0 10px;
  color: var(--blue, #0a83c4);
  font-size: 14px;
}

.directory-tags strong {
  color: var(--ink-soft, #334047);
}

.directory-excerpt {
  flex: 1;
  margin: 0 0 14px;
  color: var(--ink-soft, #5d6a72);
  font-size: 15px;
  line-height: 1.55;
}

.read-more {
  color: var(--blue, #0a83c4);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.pagination button {
  min-width: 42px;
  height: 42px;
  border: 1px solid #c6d4db;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.pagination button.active {
  border-color: var(--blue, #0e86c8);
  background: var(--blue, #0e86c8);
  color: #fff;
}

.empty {
  grid-column: 1 / -1;
  padding: 50px;
  border: 1px dashed #b9cbd3;
  border-radius: 12px;
  color: #64747d;
  text-align: center;
}

.article-shell {
  padding: 48px 0 100px;
}

.article-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.article-breadcrumb {
  margin: 0 0 24px;
  color: var(--blue, #1680ba);
  font-size: 15px;
}

.article-breadcrumb a {
  color: inherit;
}

.listing-head {
  margin: 0 0 2.5rem;
  padding: 2.25rem 2rem;
  border-radius: 12px;
  background: var(--blue-pale, #eefaff);
  border: 1px solid var(--blue-soft, #d7f2ff);
}

.listing-head h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--blue-deep, #0a3763);
}

.listing-head .listing-meta {
  margin: 0;
  color: var(--ink-soft, #61727b);
  font-size: 18px;
}

.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 36px;
  align-items: start;
}

.listing-photo {
  border: 1px solid var(--line, #dbe4e8);
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(135deg, #d9f5ff, #eef8ff);
  box-shadow: 0 9px 28px rgba(9, 65, 95, 0.07);
}

.listing-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.listing-details h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.listing-facts,
.listing-hours {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}

.listing-facts li,
.listing-hours li {
  margin-bottom: 10px;
  color: var(--ink, #334047);
  font-size: 17px;
}

.listing-facts a,
.listing-help a {
  color: var(--blue-dark, #067dbd);
}

.listing-about p {
  margin: 0;
  line-height: 1.6;
}

.listing-help {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--blue-pale, #effaff);
  color: var(--ink, #334047);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-alpha {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* listings with no usable photo fall back to the site logo */
.directory-card-media img.is-placeholder,
.listing-photo img.is-placeholder {
  object-fit: contain;
  padding: 16%;
  background: #f3f5f7;
}

</style>
  
  <!--dir-chrome-fix-->
  <style id="dir-chrome-fix">
    .footer-phone, .footer-phone:hover, .footer-phone:focus { color: #ffffff !important; background: rgb(21, 121, 186) !important; border-color: rgb(21, 121, 186) !important; }
  </style>
  <!--/dir-chrome-fix-->
  <!--dir-card-contrast-->
  <style id="dir-card-contrast">
    .read-more { color: #1579bb !important; }
    .read-more:hover, .read-more:focus { color: #0f5584 !important; }
    .directory-card h2, .directory-card h2 a, .directory-item h2 a, .directory-grid article h2 a { color: #1579bb !important; }
    .directory-card h2:hover, .directory-card h2 a:hover, .directory-item h2 a:hover, .directory-grid article h2 a:hover, .directory-card h2:focus, .directory-card h2 a:focus, .directory-item h2 a:focus, .directory-grid article h2 a:focus { color: #0f5584 !important; }
    .directory-tags, .directory-tags a { color: #1579bb !important; }
  </style>
  <!--/dir-card-contrast-->
<style id="blog-pages">
/* Blog listing reuses directory-hero / directory-grid from site shell; articles stay light */
body.blog-page, body.article-page {
  --blog-accent: var(--site-accent, var(--site-green, var(--accent, var(--primary-color, var(--industrial-red, var(--industrial-orange, #2e7d32))))));
  --blog-accent-hover: var(--site-accent-dark, var(--accent-hover, var(--dark, color-mix(in srgb, var(--blog-accent) 78%, #000))));
  --blog-accent-pale: color-mix(in srgb, var(--blog-accent) 12%, #fff);
  --blog-accent-soft: color-mix(in srgb, var(--blog-accent) 10%, #fff);
}
body.blog-page { padding-top: 0 !important; }
body.blog-page .directory-hero { padding-bottom: 2.5rem; }
body.blog-page .directory-layout { padding-top: 2.5rem; }
body.blog-page .directory-page-hero { padding: 48px 0 36px; }
body.blog-page .directory-page-hero .eyebrow { display: block; margin-bottom: 0.75rem; color: var(--blog-accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
body.blog-page .directory-layout { padding-top: 36px; }
body.blog-page .directory-layout .empty,
body.blog-page .directory-grid .empty { border-color: var(--line, #dbe4e8); color: var(--ink-soft, #5d6a72); background: #fff; }
body.article-page { padding-top: 0 !important; background: #fff !important; color: #202d33 !important; }
body.article-page .article-breadcrumb,
body.article-page .article-breadcrumb a { color: var(--blog-accent); }
body.article-page .article-breadcrumb a:hover { color: var(--blog-accent-hover); }
body.article-page .article-head { background: linear-gradient(180deg, var(--blog-accent-pale) 0%, #fff 100%); border-bottom: 1px solid var(--line, #dbe4e8); }
body.article-page .article-back a { color: var(--blog-accent); }
body.article-page .article-back a:hover { color: var(--blog-accent-hover); }
body.article-page.shell-light-dir .article-shell,
body.article-page.shell-marketing .article-shell,
body.article-page.shell-marketing .listing-shell { padding: 24px 0 64px; min-height: 0; background: #fff; }
body.article-page.shell-light-dir .article-breadcrumb,
body.article-page.shell-marketing .article-breadcrumb { margin: 0 0 16px; }
body.article-page.shell-light-dir .article-head,
body.article-page.shell-marketing .article-head,
body.article-page header.article-head { display: block !important; height: auto !important; min-height: 0 !important; flex: none !important; flex-direction: column !important; align-items: stretch !important; overflow: visible !important; position: static !important; left: auto !important; width: auto !important; transform: none !important; margin: 0 0 24px; padding: 28px 20px; text-align: left; }
body.article-page.shell-light-dir .article-head h1,
body.article-page.shell-marketing .article-head h1 { margin: 0; text-align: left; color: #1a1a1a !important; }
body.article-page.shell-forge .article-shell { padding: 110px 0 100px; min-height: 500px; }
.empty { grid-column: 1 / -1; padding: 3rem 1.5rem; border: 1px dashed rgba(255,255,255,0.18); border-radius: 8px; color: var(--text-secondary, #9a9a9a); text-align: center; font-size: 1rem; }
body.article-page .empty { border-color: #b9cbd3; color: #64747d; background: #fff; }
body.article-page .empty a { color: var(--blog-accent); }
body.article-page.shell-forge .article-shell,
body.article-page.shell-index .article-shell { padding: 110px 0 100px; min-height: 500px; background: #fff; }
body.blog-page.shell-light-dir .directory-layout .empty,
body.blog-page.shell-marketing .directory-layout .empty,
body.blog-page.shell-light-dir .directory-grid .empty,
body.blog-page.shell-marketing .directory-grid .empty { border-color: var(--line, #dbe4e8); color: var(--ink-soft, #5d6a72); background: #fff; }
body.blog-page.shell-marketing .page-width,
body.article-page.shell-marketing .page-width { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
body.blog-page.shell-marketing .directory-page-hero { background: #fff; }
body.blog-page.shell-marketing .directory-page-hero h1 { color: #252525 !important; margin: 0 0 0.75rem; }
body.blog-page.shell-marketing .directory-page-hero p { color: #555; max-width: 42rem; margin: 0; }
body.article-page.shell-marketing .article-shell .directory-layout { padding-top: 2rem; padding-bottom: 4rem; background: #f9f9f9; }
.article-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.article-breadcrumb { margin: 30px 0 36px; color: var(--blog-accent); font-size: 15px; line-height: 1.5; }
.article-breadcrumb a { color: var(--blog-accent); font-weight: 700; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--blog-accent-hover); }
.article-head { position: relative; left: 50%; width: 100vw; transform: translateX(-50%); margin: 0 0 58px; padding: 88px 24px; background: linear-gradient(180deg, var(--blog-accent-pale) 0%, #fff 100%); text-align: center; border-bottom: 1px solid #dbe4e8; }
.article-head h1 { max-width: 1000px; margin: 0 auto; color: #1a1a1a; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.2; text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 700; }
.article-content { color: #202d33; font-size: 19px; line-height: 1.78; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
body.article-page .article-content h2,
.article-content h2 { margin: 52px 0 18px; color: var(--blog-accent); font-size: 1.75rem; text-transform: none; letter-spacing: 0; font-weight: 700; }
.article-content h2:first-child { margin-top: 0; }
body.article-page .article-content h3,
.article-content h3 { margin: 38px 0 15px; color: color-mix(in srgb, var(--blog-accent) 82%, #1a1a1a); font-size: 1.35rem; text-transform: none; font-weight: 700; }
.article-content p { margin: 0 0 22px; color: #444; }
.article-content ul, .article-content ol { margin: 0 0 22px; padding-left: 26px; color: #444; }
body.article-page .article-content a,
.article-content a { color: var(--blog-accent); text-decoration: underline; }
body.article-page .article-content a:hover,
.article-content a:hover { color: var(--blog-accent-hover); }
.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; }
.article-content th, .article-content td { padding: 10px 12px; border: 1px solid #d7e0e5; text-align: left; color: #202d33; }
body.article-page .article-content blockquote,
.article-content blockquote { margin: 28px 0; padding: 16px 22px; border-left: 4px solid var(--blog-accent); background: var(--blog-accent-soft); color: #202d33; }
.article-back { margin-top: 48px; padding-top: 22px; border-top: 1px solid #dae3ec; }
.article-back a { color: var(--blog-accent); font-weight: 700; text-decoration: none; }
.article-back a:hover { color: var(--blog-accent-hover); }
.article-error { color: #9c3030; }
@media (max-width: 767px) {
  body.blog-page .directory-hero { padding-bottom: 2rem; }
  body.blog-page .directory-layout { padding-top: 2rem; }
  body.blog-page .directory-page-hero { padding: 40px 0 28px; }
  body.article-page.shell-light-dir .article-shell,
  body.article-page.shell-marketing .article-shell,
  body.article-page.shell-marketing .listing-shell { padding-top: 16px; padding-bottom: 56px; }
  body.article-page.shell-light-dir .article-head,
  body.article-page.shell-marketing .article-head { padding: 22px 16px; margin-bottom: 20px; position: static !important; transform: none !important; left: auto !important; width: auto !important; }
  body.article-page.shell-forge .article-head,
  body.article-page.shell-index .article-head { padding: 55px 18px; margin-bottom: 34px; }
  body.article-page.shell-forge .article-head h1,
  body.article-page.shell-index .article-head h1 { font-size: 1.85rem; }
  body.article-page.shell-forge .article-shell,
  body.article-page.shell-index .article-shell { padding-top: 92px; padding-bottom: 80px; }
  .article-breadcrumb { margin: 24px 0 28px; }
  .article-content { font-size: 16px; }
}
</style>
<style id="blog-accent">:root,body.blog-page,body.article-page{--blog-accent:#0e65a8;--blog-accent-hover:color-mix(in srgb,#0e65a8 78%,#000);--blog-accent-pale:color-mix(in srgb,#0e65a8 12%,#fff);--blog-accent-soft:color-mix(in srgb,#0e65a8 10%,#fff)}</style>
<style id="site-brand-lockup">
.brand,
.header-logo,
.header-logo a,
.header-logo img,
.brand.header-logo,
.brand.header-logo img {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.brand::before,
.brand::after,
.header-logo::before,
.header-logo::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.brand {
  display: inline-flex;
  max-width: 270px;
  align-items: center;
  background: transparent !important;
  background-color: transparent !important;
}
.brand img,
.header-logo img {
  width: 245px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
}
.footer-brand img {
  width: 245px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.footer-brand .footer-phone {
  margin-top: 16px;
  white-space: nowrap;
}
</style>
<style id="sticky-call">
.mobile-call-bar,
.mobile-call-banner {
  display: none !important;
}

@media (max-width: 1024px) {
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .mobile-call-bar {
    display: none !important;
  }

  .mobile-call-banner {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 999999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 69px;
    padding: 14px 58px 14px 18px;
    background: #02b615 !important;
    color: #fff !important;
    text-decoration: none;
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    font-size: clamp(16px, 4.6vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    font-family: Roboto, Arial, sans-serif;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
  }

  .mobile-call-banner span,
  .mobile-call-banner strong {
    color: #fff !important;
  }

  .mobile-call-banner svg {
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    fill: #fff;
  }

  .mobile-call-banner i {
    position: absolute;
    right: 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #48ff6a;
    box-shadow: 0 0 0 4px rgba(72, 255, 106, 0.18), 0 0 13px rgba(72, 255, 106, 0.85);
    animation: sticky-call-pulse 1.6s ease-in-out infinite;
  }
}

@media (min-width: 1025px) {
  body {
    padding-bottom: 0 !important;
  }

  .mobile-call-bar,
  .mobile-call-banner {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
  }
}

@keyframes sticky-call-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.82; }
  50% { transform: scale(1.1); opacity: 1; }
}
</style>
<style id="blog-dir-footer">
@media (min-width: 1025px) {
  .site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.35fr repeat(3, 0.55fr) !important;
    gap: 55px !important;
    padding-bottom: 50px;
  }

  .site-footer .footer-brand {
    grid-column: auto !important;
  }

  .site-footer .footer-bottom {
    display: grid !important;
    grid-template-columns: 0.72fr 1.28fr !important;
    gap: 45px !important;
  }

  .site-footer .footer-bottom p:last-child {
    text-align: right;
  }
}

@media (max-width: 1024px) and (min-width: 651px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 650px) {
  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    grid-template-columns: 1fr !important;
  }

  .site-footer .footer-bottom p:last-child {
    text-align: left;
  }
}
</style>
<style id="batch-responsive-fix">/* Batch mobile responsiveness patch: header, logo, hero bounds, fixed call CTA. */@media (max-width: 1100px) {  body {    min-width: 0 !important;  }  .header-inner {    grid-template-columns: minmax(0, 1fr) auto !important;    align-items: center !important;    gap: 12px !important;  }  .brand,  .header-logo {    width: min(245px, calc(100vw - 96px)) !important;    max-width: 100% !important;    min-width: 0 !important;    justify-self: start !important;  }  .brand img,  .header-logo img {    width: 100% !important;    max-width: 100% !important;    height: auto !important;    object-fit: contain !important;  }  .header-actions,  .header-cta {    display: none !important;  }  .primary-nav:not(.open) {    display: none !important;  }  .menu-toggle {    display: flex !important;    justify-self: end !important;    flex: 0 0 48px !important;    min-width: 48px !important;    margin-left: auto !important;  }}@media (max-width: 650px) {  .brand,  .header-logo {    width: min(68vw, 245px) !important;  }  .hero-copy,  .hero-number,  .hero-intro,  .hero-actions {    max-width: 100% !important;    min-width: 0 !important;  }  .hero h1 {    max-width: 100% !important;    overflow-wrap: break-word;  }}@media (max-width: 1024px) {  body {    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;  }  .mobile-call-banner,  .mobile-call-bar {    left: 0 !important;    right: 0 !important;    bottom: 0 !important;    width: 100% !important;    max-width: 100% !important;    box-sizing: border-box !important;  }}@media (max-width: 360px) {  .mobile-call-banner {    gap: 8px !important;    padding: 12px 44px 12px 12px !important;    font-size: 16px !important;  }  .mobile-call-banner svg {    width: 28px !important;    height: 28px !important;  }  .mobile-call-banner i {    right: 12px !important;    width: 14px !important;    height: 14px !important;  }}</style></head>
<body class="article-page shell-marketing">
<header class="site-header" id="site-header">
    <div class="page-width header-inner">
      <a class="brand header-logo" href="index.html#home" aria-label="Drug Rehab Chesapeake home">
        <img src="./images/logo.webp" alt="Drug Rehab Chesapeake">
      </a>

      <button
        class="menu-toggle"
        id="menu-toggle"
        type="button"
        aria-expanded="false"
        aria-controls="primary-navigation"
        aria-label="Open navigation menu"
      >
        <span></span>
        <span></span>
        <span></span>
      </button>

      <nav class="primary-nav" id="primary-navigation" aria-label="Primary navigation">
        <a href="index.html#home">Home</a>
        <a href="index.html#about">About</a>
        <a href="blog.html" class="active">Blog</a>
        <a href="directory.html">Directory</a>
        <a href="index.html#contact">Contact</a>
      </nav>

      <div class="header-actions">
        <a class="header-call-btn" href="tel:+17575904176" aria-label="Call Drug Rehab Chesapeake at 1 (757) 590-4176">
          <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.07 21 3 13.93 3 5a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 45.57 3.57a1 1 0 0 1-.24 1.02l-2.2 2.2z"/></svg>
          <span>1 (757) 590-4176</span>
        </a>
      </div>
    </div>
  </header>
  <main id="main-content" class="article-shell">
    <div class="page-width">
      <div class="article-wrap" id="article-target"><div class="empty">Loading article…</div></div>
    </div>
  </main>
<footer class="site-footer">
    <div class="page-width footer-grid">
      <div class="footer-brand">
        <img src="./images/logo-footer-light.webp" alt="Drug Rehab Chesapeake">
        <p>
          General information and confidential guidance for people across the United States
          exploring alcohol and drug recovery and treatment options.
        </p>
        <a class="footer-phone" href="tel:+17575904176">1 (757) 590-4176</a>
      </div>

      <div class="footer-column">
        <h3>Links</h3>
        <a href="index.html#home">Home</a>
        <a href="index.html#about">About</a>
        <a href="index.html#programs">Programs</a>
        <a href="index.html#admissions">Admissions</a>
        <a href="index.html#faq">FAQ</a>
        <a href="blog.html">Blog</a>
        <a href="directory.html">Directory</a>
      </div>

      <div class="footer-column">
        <h3>Information</h3>
        <a href="index.html#programs">Levels of Care</a>
        <a href="index.html#admissions">Admissions Process</a>
        <a href="index.html#faq">Common Questions</a>
        <a href="index.html#contact">Get Help</a>
      </div>

      <div class="footer-column">
        <h3>Website</h3>
        <a href="index.html#">Privacy Policy</a>
        <a href="index.html#">Terms and Conditions</a>
        <a href="index.html#">Accessibility</a>
      </div>
    </div>

    <div class="page-width footer-bottom">
      <p>© <span id="current-year"></span> Drug Rehab Chesapeake. All rights reserved.</p>
      <p>
        This website provides general information and is not medical advice or an emergency service.
        If someone is in immediate danger, contact local emergency services.
      </p>
    </div>
  </footer>
<a
    class="mobile-call-bar"
    href="tel:+17575904176"
    aria-label="Call Drug Rehab Chesapeake at 1 (757) 590-4176"
  >
    <span class="mobile-call-icon" aria-hidden="true">☎</span>
    <span>
      <small>Call Us</small>
      <strong>1 (757) 590-4176</strong>
    </span>
    <i aria-hidden="true"></i>
  </a>
<script>
const siteHeader = document.querySelector('#site-header');
const menuButton = document.querySelector('#menu-toggle');
const navigation = document.querySelector('#primary-navigation');
const navigationLinks = Array.from(
  document.querySelectorAll('.primary-nav a[href^="#"]')
);
const pageSections = Array.from(
  document.querySelectorAll('main section[id]')
);
const revealElements = Array.from(
  document.querySelectorAll('.reveal')
);
const currentYear = document.querySelector('#current-year');

if (currentYear) {
  currentYear.textContent = new Date().getFullYear();
}

const updateHeader = () => {
  if (!siteHeader) {
    return;
  }

  siteHeader.classList.toggle('is-scrolled', window.scrollY > 18);
};

updateHeader();
window.addEventListener('scroll', updateHeader, { passive: true });

const closeMenu = () => {
  if (!menuButton || !navigation) {
    return;
  }

  menuButton.setAttribute('aria-expanded', 'false');
  menuButton.setAttribute('aria-label', 'Open navigation menu');
  navigation.classList.remove('open');
  document.body.classList.remove('menu-open');
};

if (menuButton && navigation) {
  menuButton.addEventListener('click', () => {
    const isOpen = menuButton.getAttribute('aria-expanded') === 'true';

    menuButton.setAttribute('aria-expanded', String(!isOpen));
    menuButton.setAttribute(
      'aria-label',
      isOpen ? 'Open navigation menu' : 'Close navigation menu'
    );

    navigation.classList.toggle('open', !isOpen);
    document.body.classList.toggle('menu-open', !isOpen);
  });

  navigationLinks.forEach((link) => {
    link.addEventListener('click', closeMenu);
  });

  document.addEventListener('keydown', (event) => {
    if (event.key === 'Escape') {
      closeMenu();
    }
  });

  window.addEventListener('resize', () => {
    if (window.innerWidth > 1100) {
      closeMenu();
    }
  });
}

if ('IntersectionObserver' in window) {
  const revealObserver = new IntersectionObserver(
    (entries, observer) => {
      entries.forEach((entry) => {
        if (!entry.isIntersecting) {
          return;
        }

        entry.target.classList.add('visible');
        observer.unobserve(entry.target);
      });
    },
    { threshold: 0.1 }
  );

  revealElements.forEach((element) => {
    revealObserver.observe(element);
  });
} else {
  revealElements.forEach((element) => {
    element.classList.add('visible');
  });
}

if (
  navigationLinks.length > 0 &&
  pageSections.length > 0 &&
  'IntersectionObserver' in window
) {
  const sectionObserver = new IntersectionObserver(
    (entries) => {
      const visibleEntry = entries
        .filter((entry) => entry.isIntersecting)
        .sort((first, second) => second.intersectionRatio - first.intersectionRatio)[0];

      if (!visibleEntry) {
        return;
      }

      navigationLinks.forEach((link) => {
        const targetId = link.getAttribute('href')?.replace('#', '');
        link.classList.toggle('active', targetId === visibleEntry.target.id);
      });
    },
    {
      rootMargin: '-35% 0px -50% 0px',
      threshold: [0, 0.2, 0.5]
    }
  );

  pageSections.forEach((section) => {
    sectionObserver.observe(section);
  });
}

document.querySelectorAll('a[href="#home"]').forEach((homeLink) => {
  homeLink.addEventListener('click', (event) => {
    event.preventDefault();
    closeMenu();

    window.scrollTo({
      top: 0,
      left: 0,
      behavior: 'auto'
    });

    window.history.replaceState(
      null,
      '',
      `${window.location.pathname}${window.location.search}`
    );
  });
});

  </script>
<script>window.SITE_PHONE = "1 (757) 590-4176"; window.SITE_PHONE_TEL = "+17575904176";</script>
<script>

window.CSV = {
  parse(text) {
    const rows = [];
    let row = [], field = '', quoted = false;
    for (let i = 0; i < text.length; i++) {
      const c = text[i];
      if (quoted) {
        if (c === '"') {
          if (text[i + 1] === '"') { field += '"'; i++; }
          else quoted = false;
        } else field += c;
      } else {
        if (c === '"') quoted = true;
        else if (c === ',') { row.push(field); field = ''; }
        else if (c === '\n') { row.push(field); rows.push(row); row = []; field = ''; }
        else if (c !== '\r') field += c;
      }
    }
    if (field.length || row.length) { row.push(field); rows.push(row); }
    const headers = (rows.shift() || []).map(h => h.trim());
    return rows.filter(r => r.some(v => v !== '')).map(r => {
      const out = {};
      headers.forEach((h, i) => out[h] = r[i] ?? '');
      return out;
    });
  },
  async load(url) {
    const res = await fetch(url, {cache:'no-store'});
    if (!res.ok) throw new Error(`Could not load ${url} (${res.status})`);
    return this.parse(await res.text());
  }
};

</script>
<script>
(() => {
  const PLACEHOLDER = window.DIRECTORY_PLACEHOLDER || 'assets/images/directory-placeholder.svg';

  // Verified in-browser: Google 403s these off-origin, whatever a server-side
  // fetch reports. The older /AAAAAAAAAAI/ profile photos do load, so they stay.
  function isUnservablePhoto(url) {
    return (
      !!url &&
      (/googleusercontent\.com\/gps-(?:cs-s|cs|proxy)\//i.test(url) ||
        /streetviewpixels-pa\.googleapis\.com/i.test(url))
    );
  }

  function listingImage(url) {
    if (!url || isUnservablePhoto(url)) return PLACEHOLDER;
    return url;
  }

  function cleanName(name, item = {}) {
    let text = (name || '').replace(/\uFFFD/g, '').trim();
    text = text.replace(/^[*?.]+\s*/g, '').replace(/\s+/g, ' ').trim();
    const invalid = !text || text.length < 3 || /^[A-Za-z]{1,2}$/.test(text) || /^[.*?.\s]+$/.test(text);
    if (!invalid) return text;
    const cityState = [item.city, item.state].filter(Boolean).join(', ');
    if (item.category && cityState) return `${item.category} - ${cityState}`;
    if (item.category) return item.category;
    return 'Local Treatment Provider';
  }

  function isAccessibilitySnippet(text) {
    return /wheelchair|accessible entrance|accessible parking|accessible restroom|accessible seating|^restroom$/i.test((text || '').trim());
  }

  function cleanExcerpt(text, fallback) {
    const raw = (text || '').trim();
    if (!raw) return fallback;

    if (!raw.startsWith('{')) {
      const parts = raw.split(/[.!?]+/).map((s) => s.trim()).filter(Boolean);
      const filtered = parts.filter((part) => !isAccessibilitySnippet(part));
      if (filtered.length) return filtered.slice(0, 3).join('. ') + '.';
      return fallback;
    }

    try {
      const parts = [];
      const seen = new Set();
      const obj = JSON.parse(raw);
      for (const [groupName, group] of Object.entries(obj)) {
        if (/^accessibility$/i.test(groupName)) continue;
        if (group && typeof group === 'object') {
          for (const [key, value] of Object.entries(group)) {
            const snippet = value === true ? key : (value ? `${key}: ${value}` : '');
            if (!snippet || isAccessibilitySnippet(snippet)) continue;
            const keyLower = snippet.toLowerCase();
            if (!seen.has(keyLower)) {
              seen.add(keyLower);
              parts.push(snippet);
            }
          }
        }
      }
      if (parts.length) return parts.slice(0, 3).join('. ') + '.';
    } catch (_) {}
    return fallback;
  }

  function dropListingMedia(img) {
    const media = img.closest('.directory-card-media, .listing-photo');
    if (media) media.remove();
    else img.remove();
  }

  function bindListingImages(root = document) {
    root.querySelectorAll('img[data-listing-photo]').forEach((img) => {
      const src = img.getAttribute('data-listing-photo') || '';
      if (!src || isUnservablePhoto(src)) {
        dropListingMedia(img);
        return;
      }
      img.referrerPolicy = 'no-referrer';
      img.loading = 'lazy';
      img.decoding = 'async';
      img.src = src;
      img.addEventListener('error', () => dropListingMedia(img), { once: true });
    });
  }

  window.DirectoryUI = { listingImage, cleanName, cleanExcerpt, bindListingImages, PLACEHOLDER };
})();

</script>
<script src="assets/legacy-lookup.js?v=3"></script>
<script>
const target = document.querySelector('#article-target') || document.querySelector('.article-wrap');
const slug = new URLSearchParams(location.search).get('slug');
const BRAND = 'Drug Rehab Chesapeake';
function esc(s){const d=document.createElement('div');d.textContent=s||'';return d.innerHTML;}
function normTitle(value){return String(value||'').replace(/\s+/g,' ').trim().toLowerCase();}
function titlesMatch(a,b){if(!a||!b)return false;if(a===b)return true;return a.includes(b)||b.includes(a);}
function stripLeadingDuplicateTitle(root,title){
 var wanted=normTitle(title); if(!wanted||!root)return;
 for(var pass=0;pass<4;pass++){
  var node=root.firstElementChild; if(!node)break;
  var text=normTitle(node.textContent); var tag=node.tagName;
  if(text&&titlesMatch(text,wanted)&&text.length<=wanted.length+80&&/^(H[1-6]|P|STRONG|B|DIV|SPAN)$/.test(tag)){node.remove();continue;}
  if(tag==='P'&&node.querySelector('strong,b,h1,h2,h3')){var inner=normTitle(node.textContent);if(inner&&titlesMatch(inner,wanted)){node.remove();continue;}}
  break;
 }}
function dedupeArticleTitle(container){
 var head=container.querySelector('.article-head h1'); if(!head)return;
 var wanted=normTitle(head.textContent); var content=container.querySelector('.article-content'); if(!content)return;
 for(var i=0;i<3;i++){var node=content.firstElementChild;if(!node)break;var text=normTitle(node.textContent);if(text&&titlesMatch(text,wanted)){node.remove();continue;}break;}
}
function sanitize(html, title){
 const doc=new DOMParser().parseFromString('<div>'+(html||'')+'</div>','text/html');
 doc.querySelectorAll('script,style,iframe,object,embed,link,meta,form,input,button').forEach(function(n){n.remove()});
 doc.querySelectorAll('*').forEach(function(el){
  [...el.attributes].forEach(function(a){var n=a.name.toLowerCase();if(n.startsWith('on')||n==='srcdoc'||n==='style')el.removeAttribute(a.name)});
  if(el.tagName==='H1'){var h=document.createElement('h2');h.innerHTML=el.innerHTML;el.replaceWith(h)}
  if(el.tagName==='A'){var href=el.getAttribute('href')||'';if(!/^(https?:|mailto:|tel:|\/|#)/i.test(href))el.removeAttribute('href');else{el.rel='noopener noreferrer';if(/^https?:/i.test(href))el.target='_blank'}}
  if(el.tagName==='IMG'){el.loading='lazy';el.removeAttribute('srcset')}
 });
 const root=doc.body.firstElementChild;
 stripLeadingDuplicateTitle(root, title);
 return root.innerHTML.replace(/\*\*([^*]+)\*\*/g,'<strong>$1</strong>');
}
function slugBucket(value,digits){
 var hash=0x811c9dc5;
 var bytes=new TextEncoder().encode(value);
 for(var i=0;i<bytes.length;i++){hash^=bytes[i];hash=Math.imul(hash,0x01000193)>>>0}
 return hash.toString(16).padStart(8,'0').slice(0,digits);
}
async function tryLegacyRedirect(){
 const key='legacyRedirectAttempt';
 if(!window.LegacyLookup)return false;
 const mapped=await LegacyLookup.resolve(slug);
 if(!mapped || mapped===slug)return false;
 if(sessionStorage.getItem(key)===mapped)return false;
 sessionStorage.setItem(key,mapped);
 location.replace('article.html?slug='+encodeURIComponent(mapped));
 return true;
}async function loadArticle(){
 if(!target){return}
 if(!slug){target.innerHTML='<div class="empty article-error">No article was selected. <a href="blog.html">Return to the blog</a>.</div>';return}
 try{
  const manifestResponse=await fetch('data/manifest.json',{cache:'no-store'});
  if(!manifestResponse.ok) throw new Error('Article manifest could not be loaded');
  const manifest=await manifestResponse.json();
  if(Number(manifest.formatVersion)!==2) throw new Error('Blog data needs to be rebuilt');
  const bucket=slugBucket(slug,Number(manifest.bucketHexDigits||3));
  let rows=[];
try{
    rows=await CSV.load(
        'data/article-buckets/bucket-'+bucket+'.csv'
    );
}catch(bucketError){

    if(await smartRelatedArticleFallback(slug)){
        return;
    }

    throw bucketError;
}
  const article=rows.find(function(p){return p.slug===slug});
  if(!article){
   if(await tryLegacyRedirect())return;
   throw new Error('Article not found');
  }
  sessionStorage.removeItem('legacyRedirectAttempt');
  document.title=article.title+' | '+BRAND;
  target.innerHTML=
    '<div class="article-breadcrumb"><a href="blog.html">Blog</a> / Article</div>'
    +'<div class="article-head"><h1>'+esc(article.title)+'</h1></div>'
    +'<article class="article-content">'+sanitize(article.content, article.title)+'</article>'
    +'<div class="article-back"><a href="blog.html">← Back to all articles</a></div>';
  if (typeof dedupeArticleTitle === "function") dedupeArticleTitle(target);
 }catch(err){target.innerHTML='<div class="empty article-error">'+esc(err.message)+'. <a href="blog.html">Return to the blog</a>.</div>'}
}
loadArticle();
</script>
<a class="mobile-call-banner" href="tel:+17575904176" aria-label="Call Drug Rehab Chesapeake"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.07 21 3 13.93 3 5a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.2 2.2z"/></svg><span>Call Us&nbsp; +1(757)590-4176</span><i aria-hidden="true"></i></a>

<script>
/* === SMART RELATED ARTICLE FALLBACK === */
async function smartRelatedArticleFallback(brokenSlug){

    const STOP = new Set([
        'a','an','the','and','or','but','to','of','in','on','at','by',
        'for','from','with','without','into','about','your','you','our',
        'is','are','was','were','be','been','being','this','that','these',
        'those','how','what','when','where','why','who','which',
        'guide','guides','complete','comprehensive','ultimate',
        'best','top','near','me','help','helps','helping',
        'services','service','solutions','solution',
        'center','centers','facility','facilities',
        'program','programs'
    ]);

    const TOPIC = new Set([
        'drug',
        'drugs',
        'detox',
        'detoxification',
        'rehab',
        'rehabilitation',
        'recovery',
        'addiction',
        'alcohol',
        'alcoholism',
        'treatment',
        'inpatient',
        'outpatient',
        'opioid',
        'opioids',
        'heroin',
        'cocaine',
        'meth',
        'methamphetamine',
        'fentanyl',
        'substance',
        'abuse',
        'sober',
        'sobriety'
    ]);

    function normalize(value){
        return String(value || '')
            .toLowerCase()
            .replace(/[^a-z0-9]+/g,' ')
            .replace(/\s+/g,' ')
            .trim();
    }

    function tokens(value){

        return normalize(value)
            .split(' ')
            .filter(Boolean)
            .filter(word => !STOP.has(word));
    }

    function tokenSet(value){
        return new Set(tokens(value));
    }

    function hasPhrase(text, phrase){
        return normalize(text).includes(normalize(phrase));
    }

    function getBigrams(list){

        const out = [];

        for(let i=0;i<list.length-1;i++){
            out.push(
                list[i] + ' ' + list[i+1]
            );
        }

        return out;
    }

    function similarityScore(aTokens,bTokens){

        const a = new Set(aTokens);
        const b = new Set(bTokens);

        if(!a.size || !b.size){
            return 0;
        }

        let common = 0;

        for(const word of a){
            if(b.has(word)){
                common++;
            }
        }

        return (2 * common) / (a.size + b.size);
    }

    const brokenTokens = tokens(brokenSlug);

    const brokenTopicTokens =
        brokenTokens.filter(word => TOPIC.has(word));

    /*
       Anything that is:
       - not a generic stopword
       - not a normal rehab topic word
       - at least 4 characters

       is treated as a high-value specific term.

       Example:
       holtville
       alabama
    */
    const brokenSpecificTokens =
        brokenTokens.filter(word =>
            !TOPIC.has(word) &&
            word.length >= 4
        );

    const brokenBigrams =
        getBigrams(brokenTokens);

    const brokenNormalized =
        normalize(brokenSlug);

    const oldLooksLikeQuestion =
        /^(how|when|what|why|where|can|should|does|do|is|are)\b/
        .test(brokenNormalized);

    function scoreArticle(article){

        const slug =
            String(article.slug || '');

        const title =
            String(article.title || '');

        const excerpt =
            String(article.excerpt || '');

        const titleSlug =
            normalize(slug + ' ' + title);

        const allText =
            normalize(
                slug + ' ' +
                title + ' ' +
                excerpt
            );

        const titleSlugTokens =
            tokens(titleSlug);

        const titleSlugSet =
            new Set(titleSlugTokens);

        const allSet =
            tokenSet(allText);

        let score = 0;

        let topicMatches = 0;
        let specificMatches = 0;

        /*
           TOPIC WORDS

           Drug / detox / rehab / recovery etc.
           Strong match when found in title or slug.
        */
        for(const word of brokenTopicTokens){

            if(titleSlugSet.has(word)){
                score += 28;
                topicMatches++;
            }
            else if(allSet.has(word)){
                score += 6;
                topicMatches++;
            }
        }

        /*
           SPECIFIC TERMS

           City/state/specific descriptive words receive
           much stronger weighting.
        */
        for(const word of brokenSpecificTokens){

            if(titleSlugSet.has(word)){
                score += 100;
                specificMatches++;
            }
            else if(allSet.has(word)){
                score += 25;
                specificMatches++;
            }
        }

        /*
           EXACT TWO-WORD PHRASES

           Example:

           drug detox
           addiction recovery
           alcohol rehab
        */
        for(const pair of brokenBigrams){

            if(hasPhrase(titleSlug,pair)){
                score += 55;
            }
            else if(hasPhrase(allText,pair)){
                score += 12;
            }
        }

        /*
           EXTRA IMPORTANT PHRASES
        */
        const importantPhrases = [
            'drug detox',
            'drug rehab',
            'drug treatment',
            'alcohol detox',
            'alcohol rehab',
            'alcohol treatment',
            'addiction treatment',
            'addiction recovery',
            'substance abuse',
            'inpatient rehab',
            'outpatient rehab'
        ];

        for(const phrase of importantPhrases){

            if(
                hasPhrase(brokenNormalized,phrase) &&
                hasPhrase(titleSlug,phrase)
            ){
                score += 100;
            }
        }

        /*
           OVERALL TOKEN SIMILARITY
        */
        score +=
            similarityScore(
                brokenTokens,
                titleSlugTokens
            ) * 100;

        /*
           If old URL clearly contains rehab topic words
           but the candidate matches none of them,
           heavily penalize it.
        */
        if(
            brokenTopicTokens.length &&
            topicMatches === 0
        ){
            score -= 150;
        }

        /*
           If old URL has specific location/details
           and candidate has none, slightly penalize it.

           We don't make this fatal because some sites may
           not have a current article for that exact city.
        */
        if(
            brokenSpecificTokens.length &&
            specificMatches === 0
        ){
            score -= 25;
        }

        /*
           Penalize generic question articles when the
           original slug was not a question.
        */
        const titleNormalized = normalize(title);

        const candidateLooksLikeQuestion =
            /^(how|when|what|why|where|can|should|does|do|is|are)\b/
            .test(titleNormalized);

        if(
            candidateLooksLikeQuestion &&
            !oldLooksLikeQuestion
        ){
            score -= 35;
        }

        /*
           Prefer titles that actually contain "drug"
           when the old slug contains drug.
        */
        if(
            brokenTopicTokens.includes('drug')
        ){
            if(titleSlugSet.has('drug')){
                score += 35;
            }
            else{
                score -= 15;
            }
        }

        /*
           Same for alcohol.
        */
        if(
            brokenTopicTokens.includes('alcohol')
        ){
            if(titleSlugSet.has('alcohol')){
                score += 35;
            }
            else{
                score -= 15;
            }
        }

        /*
           Same for detox.
        */
        if(
            brokenTopicTokens.includes('detox')
        ){
            if(titleSlugSet.has('detox')){
                score += 30;
            }
            else{
                score -= 15;
            }
        }

        return score;
    }

    try{

        const manifestResponse =
            await fetch(
                'data/manifest.json',
                {cache:'no-store'}
            );

        if(!manifestResponse.ok){
            return false;
        }

        const manifest =
            await manifestResponse.json();

        const chunks =
            Math.max(
                1,
                Number(manifest.chunks || 1)
            );

        let articles = [];

        for(let i=1;i<=chunks;i++){

            const number =
                String(i).padStart(6,'0');

            try{

                const rows =
                    await CSV.load(
                        'data/blog-chunks/chunk-' +
                        number +
                        '.csv'
                    );

                if(Array.isArray(rows)){
                    articles.push(...rows);
                }

            }catch(chunkError){}
        }

        if(!articles.length){
            return false;
        }

        let best = null;
        let bestScore = -999999;

        for(const article of articles){

            if(
                !article ||
                !article.slug ||
                article.slug === brokenSlug
            ){
                continue;
            }

            const score =
                scoreArticle(article);

            if(score > bestScore){
                bestScore = score;
                best = article;
            }
        }

        if(best && best.slug){

            console.log(
                'RELATED ARTICLE FALLBACK',
                {
                    oldSlug: brokenSlug,
                    selectedSlug: best.slug,
                    selectedTitle: best.title,
                    score: bestScore
                }
            );

            location.replace(
                'article.html?slug=' +
                encodeURIComponent(best.slug)
            );

            return true;
        }

    }catch(error){

        console.error(
            'Related article fallback failed',
            error
        );
    }

    return false;
}
/* === END SMART RELATED ARTICLE FALLBACK === */
</script>
</body>
</html>

Latest requests

# Url Url Source Date
1 https://drugrehabchesapeake.com/ar… 2026-10-19 09:46:51
2 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:50
3 https://www.thebolditalic.com/?gi=… 2026-10-19 09:46:50
4 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:49
5 https://replacement-bmw-key-fob952… 2026-10-19 09:46:48
6 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:48
7 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:47
8 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:44
9 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:43
10 https://bhlogin.brighthorizons.com… 2026-10-19 09:46:43
11 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:43
12 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:42
13 https://auth.acog.org/OAuth/SignIn… 2026-10-19 09:46:41
14 https://ya-drbogin-23.sos-bg-sof-1… 2026-10-19 09:46:41
15 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:39
16 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:39
17 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:38
18 https://auth.mediacorp.sg/u/login?… 2026-10-19 09:46:38
19 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:38
20 https://www.texarkanatwins.com/%25… 2026-10-19 09:46:35