/*
Theme Name: Portland Alternative Medicine
Description: A responsive practice website for Dr. Wendy Hodsdon, ND.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wendy-hodsdon
*/
:root {
  --paper: #fbfaf5;
  --ink: #262d23;
  --muted: #4e5a49;
  --dark: #233326;
  --spruce: #344b38;
  --sage: #edf0e6;
  --line: #d4dbce;
  --clay: #713f32;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --width: 1220px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #a8573e;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
}
h1 {
  font-size: clamp(52px, 6.25vw, 98px);
  letter-spacing: -0.065em;
  margin-bottom: 25px;
}
h2 {
  font-size: clamp(38px, 4.25vw, 65px);
  letter-spacing: -0.048em;
  margin-bottom: 19px;
}
h3 {
  font-size: clamp(29px, 3.1vw, 44px);
  letter-spacing: -0.033em;
  margin-bottom: 13px;
}
p {
  margin-bottom: 18px;
}
.wrap {
  width: min(var(--width), calc(100% - 112px));
  margin-inline: auto;
}
.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--clay);
}
.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  background: white;
  padding: 10px;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.05;
}
.brand-name {
  display: block;
  font: 24px/1.1 var(--serif);
  letter-spacing: -0.035em;
}
.brand-practice {
  display: block;
  font-size: 0.61rem;
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 0.13em;
  margin-top: 7px;
  color: var(--muted);
}
.brand-mark {
  flex: none;
  width: 39px;
  height: 39px;
  border: 1px solid #81907c;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.brand-mark::before {
  content: "";
  width: 15px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 85% 0 85% 0;
  transform: rotate(-16deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 20px;
  border-top: 1px solid currentColor;
  transform: rotate(-53deg);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 37px);
}
.top-nav a {
  font-size: 0.87rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.top-nav a:hover,
.top-nav a[aria-current="page"] {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 0.85em;
  padding: 11px 21px;
  background: var(--spruce);
  border: 1px solid var(--spruce);
  color: #fff;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 0.86rem;
  line-height: 1.4;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button:hover {
  background: #233326;
  border-color: #233326;
}
.button.secondary {
  color: var(--spruce);
  background: transparent;
  border-color: #a6b0a0;
}
.button.secondary:hover {
  background: var(--sage);
}
.button.light {
  background: #f4f4e9;
  color: var(--dark);
  border-color: #f4f4e9;
}
.button.light:hover {
  background: #dce5d7;
  border-color: #dce5d7;
}
.header-button {
  min-height: 43px;
  padding: 9px 16px;
  font-size: 0.82rem;
}
.actions {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
}
.hero {
  display: grid;
  grid-template-columns: 51% 49%;
  min-height: clamp(500px, 44vw, 645px);
  background: #f4f4eb;
}
.hero-copy {
  padding: clamp(62px, 8vw, 128px) 8% clamp(64px, 8vw, 114px)
    max(56px, calc((100vw - var(--width)) / 2));
  align-self: center;
}
.hero h1 em {
  display: block;
  color: #3b533c;
  font-weight: 400;
}
.hero-description {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  max-width: 35ch;
  margin-bottom: 29px;
}
.hero-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: #354431;
}
.hero-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 53% 48%;
}
.visit-strip {
  background: var(--dark);
  color: #f6f6eb;
}
.strip-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
}
.strip-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.88rem;
}
.strip-item strong {
  font-weight: 650;
}
.strip-item small {
  display: block;
  color: #d8e1d4;
  font-size: 0.75rem;
}
.strip-icon {
  font: 22px/1 var(--serif);
  color: #d0ddca;
}
.visit-strip a {
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.section {
  padding-block: clamp(64px, 8vw, 118px);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 33px;
}
.section-header h2 {
  margin: 0;
}
.section-header > p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  background: #f0f2e9;
  padding: clamp(28px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
}
.card:nth-child(2) {
  background: #f4ede5;
  border-color: #e7dacf;
}
.card p {
  color: var(--muted);
  max-width: 39ch;
}
.text-link {
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-block;
}
.card .text-link {
  margin-top: auto;
  padding-top: 10px;
}
.about-section {
  background: #e8eddf;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(230px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 9vw, 140px);
}
.portrait {
  padding: 14px;
  background: #f8f7ef;
  margin: 0;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4/4.5;
  object-fit: cover;
  object-position: center 37%;
}
.about-copy p:not(.kicker) {
  max-width: 52ch;
  color: var(--muted);
}
.about-copy .text-link {
  margin-top: 6px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 7vw, 104px);
  align-items: center;
}
.visit-grid p {
  max-width: 40ch;
}
.visit-card {
  border: 1px solid var(--line);
  background: var(--sage);
  padding: clamp(26px, 4vw, 55px);
}
.visit-card address {
  font-style: normal;
  margin-bottom: 18px;
  color: var(--muted);
}
.visit-card h3 {
  font-size: clamp(25px, 3vw, 39px);
}
.page-hero {
  padding: clamp(56px, 8vw, 113px) 0 clamp(46px, 6vw, 85px);
  background: #ebefe3;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(46px, 6vw, 86px);
  max-width: 20ch;
  margin: 0;
}
.page-hero .kicker {
  margin-bottom: 18px;
}
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(230px, 350px);
  gap: clamp(35px, 7vw, 103px);
  align-items: start;
  padding-block: clamp(45px, 7vw, 95px);
}
.entry-content {
  min-width: 0;
  overflow-wrap: anywhere;
}
.entry-content p,
.entry-content li {
  color: var(--muted);
}
.entry-content > p:first-child {
  font-size: 1.2rem;
  color: var(--ink);
}
.entry-content h2 {
  font-size: clamp(30px, 4vw, 45px);
  margin: 1.1em 0 0.4em;
}
.entry-content h3 {
  font-size: 1.8rem;
  margin-top: 1em;
}
.entry-content .wp-block-button__link {
  background: var(--spruce);
  border-radius: 0;
  font-size: 0.9rem;
}
.entry-content a {
  font-weight: 600;
}
.entry-content iframe {
  max-width: 100%;
}
.entry-content .aligncenter {
  margin-inline: auto;
}
.aside {
  padding: 25px;
  background: var(--sage);
  border: 1px solid var(--line);
}
.aside h2 {
  font-size: 1.9rem;
}
.aside p {
  color: var(--muted);
  font-size: 0.9rem;
}
.aside .portrait {
  margin-bottom: 20px;
}
.site-footer {
  background: var(--dark);
  color: #f3f5eb;
  padding: 52px 0 23px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.site-footer .brand-name {
  font-size: 27px;
}
.site-footer .brand-practice,
.site-footer p,
.site-footer address {
  color: #d3ded1;
}
.site-footer address {
  font-style: normal;
  font-size: 0.9rem;
}
.footer-title {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
  font-size: 0.91rem;
}
.footer-bottom {
  border-top: 1px solid #596c58;
  margin-top: 32px;
  padding-top: 17px;
  color: #d3ded1;
  font-size: 0.75rem;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .hero-copy {
    padding-left: 36px;
  }
  .top-nav {
    gap: 17px;
  }
  .header-inner {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 8px;
    min-height: 0;
    padding-top: 13px;
  }
  .brand-name {
    font-size: 21px;
  }
  .brand-practice {
    font-size: 0.53rem;
    margin-top: 5px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-mark::before {
    width: 12px;
    height: 15px;
  }
  .brand-mark::after {
    width: 15px;
  }
  .header-button {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.74rem;
    min-height: 40px;
    padding: 8px 10px;
  }
  .top-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 19px;
    row-gap: 0;
    margin-top: 8px;
  }
  .top-nav a {
    padding: 9px 0;
    font-size: 0.81rem;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    align-self: stretch;
    padding: 48px 20px 42px;
  }
  .hero h1 {
    max-width: 11ch;
  }
  .hero-media {
    min-height: 250px;
    height: 58vw;
    max-height: 380px;
  }
  .strip-inner {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    padding: 16px 0;
  }
  .strip-inner > a {
    grid-column: 1/-1;
  }
  .strip-item {
    gap: 7px;
    font-size: 0.77rem;
  }
  .strip-item small {
    font-size: 0.68rem;
  }
  .section-header {
    display: block;
  }
  .section-header > p {
    margin-top: 12px;
  }
  .about-grid,
  .visit-grid,
  .page-layout {
    grid-template-columns: 1fr;
  }
  .about-grid {
    gap: 28px;
  }
  .portrait {
    max-width: 350px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 530px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card {
    min-height: 0;
  }
  .footer-grid {
    gap: 20px;
  }
  .hero .actions {
    gap: 8px;
  }
  .hero .button {
    padding-inline: 13px;
  }
  .brand {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.arrow {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  width: 0.65em;
  height: 0.65em;
  color: inherit;
}
.arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0.47em;
  height: 0.47em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0.82em;
  border-top: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}
