:root {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #183d32;
  background: #faf9f4;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
header,
main,
footer {
  max-width: 1200px;
  margin: auto;
  padding: 28px 44px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d9dfd5;
}
.brand {
  text-decoration: none;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 5px;
  color: #61736a;
}
.nav-link {
  font-size: 14px;
  text-decoration: none;
}
.preview-note {
  background: #eeeadd;
  color: #626345;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 12px;
}
.intro {
  padding: 70px 0 50px;
  max-width: 790px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #64766c;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -2px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.07;
  margin: 18px 0 26px;
}
.intro p,
.lead {
  color: #5a6b61;
  font-size: 18px;
  line-height: 1.7;
  max-width: 650px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d5ddd2;
  padding-bottom: 16px;
}
.section-heading h2 {
  font-size: 21px;
  margin: 0;
}
.section-heading span {
  font-size: 13px;
  color: #59685e;
}
.states {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 0 64px;
}
.state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d5ddd2;
  padding: 22px;
  text-decoration: none;
  border-radius: 8px;
  background: white;
}
.state span {
  font-size: 13px;
  color: #59685e;
}
.state:hover,
.provider:hover {
  border-color: #819e87;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.provider {
  padding: 26px;
  border: 1px solid #dce2d7;
  border-radius: 10px;
  background: white;
  display: flex;
  flex-direction: column;
}
.provider h2 {
  font-size: 23px;
  line-height: 1.2;
}
.provider h2 a {
  text-decoration: none;
}
.provider p {
  font-size: 14px;
  line-height: 1.6;
  color: #68766d;
  flex: 1;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.tag {
  font-size: 11px;
  background: #f1f4ed;
  padding: 6px 9px;
  border-radius: 20px;
}
.text-link {
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
}
.text-link span {
  float: right;
}
.back {
  display: inline-block;
  font-size: 13px;
  margin-top: 22px;
  text-decoration: none;
}
.compact {
  padding: 35px 0;
}
.compact h1 {
  font-size: 56px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 35px 0;
  font-size: 14px;
}
.profile {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 70px;
  margin: 40px 0 75px;
}
.profile h1 {
  font-size: 58px;
}
.profile h2 {
  font-size: 18px;
  margin-top: 30px;
}
.profile p {
  line-height: 1.65;
}
.profile aside,
.panel {
  border: 1px solid #d8dfd3;
  background: #f0f3e9;
  padding: 30px;
  border-radius: 10px;
  align-self: start;
}
.profile aside h2 {
  margin-top: 0;
}
.button {
  display: block;
  text-align: center;
  padding: 15px 18px;
  border-radius: 6px;
  background: #244c3d;
  color: white;
  text-decoration: none;
  font-size: 14px;
}
hr {
  border: 0;
  border-top: 1px solid #d2dbcd;
  margin: 26px 0;
}
.source,
.small {
  font-size: 12px;
  color: #6e7a70;
}
.source {
  border-top: 1px solid #d9dfd4;
  padding-top: 25px;
  margin-top: 35px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  border-top: 1px solid #d9dfd5;
  color: #59685e;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 50px;
}
a:focus-visible {
  outline: 3px solid #bba64b;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  header,
  main,
  footer {
    padding: 22px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .states {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro {
    padding: 40px 0;
  }
  .compact h1,
  .profile h1 {
    font-size: 45px;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin: 8px 0;
  }
}
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 19px;
  }
  .nav-link {
    font-size: 12px;
  }
  .provider {
    padding: 22px;
  }
  .intro p {
    font-size: 16px;
  }
  .states {
    gap: 8px;
  }
  .state {
    padding: 15px;
  }
}
.directory-site {
  color: #362d2a;
  background: #fcfaf7;
}
.directory-site header,
.directory-site footer {
  border-color: #e5dcd5;
}
.directory-site .brand {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
}
.directory-site .brand span {
  font-family: Arial, sans-serif;
  color: #816b61;
  font-size: 9px;
}
.directory-site .preview-note {
  background: #f1e9e2;
  color: #775c50;
}
.directory-site .intro {
  max-width: 850px;
  padding-top: 72px;
}
.directory-site h1 {
  letter-spacing: -3px;
  font-size: clamp(46px, 6.5vw, 80px);
}
.directory-site .intro p,
.directory-site .lead {
  color: #776b64;
}
.directory-site .eyebrow {
  color: #705746;
  letter-spacing: 2px;
}
.directory-site .tag {
  background: #f5eee8;
  color: #7b5e4d;
}
.directory-site .button {
  background: #6b4938;
}
.directory-site .provider,
.directory-site .state {
  border-color: #e5dcd5;
  border-radius: 3px;
}
.directory-site .provider:hover,
.directory-site .state:hover {
  border-color: #a7846d;
}
.directory-site .provider p {
  color: #786d66;
}
.directory-site .profile aside,
.directory-site .panel {
  background: #f3ece5;
  border-color: #e5dcd5;
}
.directory-site .section-heading {
  border-color: #e5dcd5;
}
.practice-type {
  font-size: 12px;
  color: #8d6e5c;
  margin: 0 0 5px;
}
.treatments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 0 55px;
}
.treatment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 23px 20px;
  background: #eee3d8;
  border: 1px solid transparent;
  min-height: 95px;
  font-size: 15px;
  line-height: 1.5;
}
.treatment:hover {
  border-color: #96775f;
  background: #e9dbcd;
}
.treatment span {
  color: #916b53;
}
.home-grid {
  padding-top: 25px;
}
.filter-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 30px;
}
.filter-links a {
  padding: 9px 15px;
  border: 1px solid #d9c9ba;
  text-decoration: none;
  font-size: 13px;
  border-radius: 20px;
}
.filter-links a:hover {
  background: #f0e6dc;
}
.reading-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin: 70px 0 15px;
  padding-top: 30px;
  border-top: 1px solid #e5dcd5;
}
.reading-note h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0;
}
.reading-note p {
  margin: 0;
  color: #786d66;
  font-size: 15px;
  line-height: 1.8;
}
.directory-site .compact h1,
.directory-site .profile h1 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -2px;
}
@media (max-width: 900px) {
  .treatments {
    grid-template-columns: repeat(2, 1fr);
  }
  .reading-note {
    gap: 25px;
  }
}
@media (max-width: 520px) {
  .directory-site .brand {
    font-size: 22px;
  }
  .treatment {
    padding: 18px 14px;
    min-height: 86px;
    font-size: 14px;
  }
  .reading-note {
    grid-template-columns: 1fr;
  }
  .directory-site .intro {
    padding-top: 42px;
  }
  .section-heading span {
    max-width: 120px;
    text-align: right;
  }
}
