/* Layout adapted from Arcana by HTML5 UP (html5up.net/arcana), CC BY 3.0.
   Practice-specific typography, navigation, page layouts and color palette. */
@font-face {
  font-family: Spectral;
  src: url(fonts/spectral-latin-400-normal.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Source Sans;
  src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Source Sans;
  src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Source Sans;
  src: url(fonts/source-sans-3-latin-700-normal.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #173a3c;
  --teal: #116761;
  --pale: #edf3f0;
  --line: #cad8d2;
  --serif: Spectral, Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    1.125rem/1.6 "Source Sans",
    Arial,
    sans-serif;
  color: var(--ink);
}
.container {
  margin: 0 auto;
  max-width: 100%;
  width: min(59rem, 90%);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--teal);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd7221;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -8rem;
  background: white;
  padding: 0.6rem;
  z-index: 2;
}
.skip:focus {
  top: 0.5rem;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.12;
  font-weight: 400;
  text-wrap: balance;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}
h3 {
  font-size: 1.5rem;
}
.patient-notice {
  padding-block: clamp(0.85rem, 2vw, 1.2rem);
  border-bottom: 4px solid #e9b267;
  background: #712f28;
  color: white;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}
.masthead,
#nav,
.footer-contact,
.footer-numbers,
.credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}
.masthead {
  justify-content: space-between;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  white-space: nowrap;
}
.wordmark,
#nav a {
  color: var(--ink);
  text-decoration: none;
}
.wordmark img {
  width: 3.6rem;
}
.wordmark span {
  font: 1.65rem/1 var(--serif);
  letter-spacing: -0.04em;
}
.wordmark small {
  display: block;
  /* Align the visible R with the serif on the E above it. */
  padding-inline-start: 0.0625rem;
  text-transform: uppercase;
  font:
    600 0.72rem/1.4 "Source Sans",
    sans-serif;
  letter-spacing: 0.2em;
}
#nav {
  gap: clamp(0.8rem, 2.3vw, 2rem);
  font-size: 1.04rem;
  font-weight: 600;
}
#nav a {
  white-space: nowrap;
}
#nav a:hover,
#nav [aria-current] {
  text-decoration: underline;
}
main.container {
  padding-block: clamp(1.35rem, 3vw, 2.5rem);
}
.page-title {
  margin-bottom: 1.1rem;
}
.page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
}
.page-title > a {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.page-title > p {
  margin-top: 0.4rem;
}
.office-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 2rem;
}
.contact-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  margin: 1rem 0;
}
.contact-details dt {
  font-weight: 700;
}
.contact-details dd {
  margin: 0;
}
.office-links {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.office-links li + li {
  margin-top: 0.3rem;
}
.office-map {
  display: block;
  width: 100%;
  height: 16.25rem;
  border: 1px solid var(--line);
}
.prose {
  max-width: 72ch;
  overflow-wrap: break-word;
}
.prose > .contact-details:first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol,
.prose > img {
  margin: 0 0 1.25rem;
}
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.7rem 0 0.8rem;
}
.prose > :first-child,
.prose section > h2:first-child {
  margin-top: 0;
}
.prose section > :last-child,
.faq > p:last-child {
  margin-bottom: 0;
}
.prose section + section {
  padding-top: 1.7rem;
}
.prose details {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}
summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 600;
}
details[open] summary {
  margin-bottom: 0.75rem;
}
.faq > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  list-style: none;
}
.faq > summary::-webkit-details-marker {
  display: none;
}
.faq > summary::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  margin-inline-end: 0.25em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.faq[open] > summary::after {
  transform: rotate(225deg);
}
.resources,
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
[aria-current="page"] {
  font-weight: 700;
}
.resources li,
.article-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.eye-health-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.5rem 2rem;
  padding-inline-start: 1.25rem;
}
.resource-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 1rem;
}
.resource-directory li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
}
.pdf-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.pdf-list a[download] {
  white-space: nowrap;
}
.article-list time {
  color: #4c655f;
  margin-left: 0.7rem;
}
.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 1rem;
}
.footer-contact {
  margin-bottom: 0.7rem;
}
.footer-numbers > * {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-numbers svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.credits {
  justify-content: space-between;
  font-size: 0.9375rem;
}
@media (max-width: 42rem) {
  .masthead {
    gap: 0.8rem;
  }
  #nav {
    gap: 0.45rem 0.9rem;
    font-size: 1rem;
  }
  .office-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .office-map {
    height: 14.5rem;
  }
  .article-list time {
    display: block;
    margin: 0.2rem 0 0;
  }
}
