.notes-page {
  --notes-blue: #397bd9;
  --notes-text: #26384e;
  --notes-line: #397bd945;
  --notes-wash: #eaf0fa;
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem);
}

.notes-breadcrumb {
  margin-block-end: clamp(1.5rem, 4vw, 3rem);
  font-size: .875rem;
  line-height: 1.5;
}

.notes-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notes-breadcrumb li + li::before {
  content: "›";
  margin-inline-end: .6rem;
}

.notes-breadcrumb a,
.notes-prose a:not(.notes-button),
.notes-author-links a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.notes-page h1 {
  font: italic 400 clamp(2.75rem, 7vw, 5.75rem)/1.04 Denton, Georgia, serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.notes-article {
  max-width: 42.5rem;
  margin-inline: auto;
}

.notes-article h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }

.notes-byline,
.notes-meta {
  margin-block-start: 1rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--notes-text);
}

.notes-meta {
  margin-block-start: .35rem;
  padding-block-end: 1.75rem;
  border-block-end: 1px solid var(--notes-line);
}

.notes-prose {
  margin-block-start: 2rem;
  color: var(--notes-text);
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.notes-prose p + p,
.notes-prose :is(ul, ol, blockquote) {
  margin-block: 1em;
}

.notes-prose li + li { margin-block-start: .35em; }
.notes-prose :is(ul, ol) { padding-inline-start: 1.4em; }

.notes-prose h2,
.notes-page .notes-cta h2,
.notes-related h2,
.notes-group h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.13;
  color: var(--notes-blue);
}

.notes-prose h2 {
  margin-block: 1.45em .55em;
}

.notes-prose h3 {
  margin-block: 1.3em .5em;
  font-size: clamp(1.45rem, 2.75vw, 2.1rem);
  line-height: 1.2;
  color: var(--notes-blue);
}

.notes-prose a:not(.notes-button), .notes-author-links a {
  color: #205ca9;
}

.notes-prose blockquote {
  padding-inline-start: 1.1rem;
  margin-inline: 0;
  border-inline-start: 2px solid var(--notes-blue);
}

.notes-table {
  overflow-x: auto;
  margin-block: 1.5rem;
}

.notes-table table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.5;
}

.notes-table :is(th, td) {
  padding: .7rem .75rem;
  border: 1px solid var(--notes-line);
  vertical-align: top;
  text-align: start;
  overflow-wrap: normal;
}

.notes-table th { background: var(--notes-wash); }
.notes-table:focus-visible { outline: 2px solid var(--notes-blue); outline-offset: 2px; }

.notes-cta {
  margin-block-start: 3rem;
  padding: clamp(1.2rem, 4vw, 2.25rem);
  background: var(--notes-wash);
  border-inline-start: 3px solid var(--notes-blue);
  color: var(--notes-text);
  font-size: 1rem;
  line-height: 1.65;
}

.notes-page .notes-cta h2 { margin: 0 0 .7rem; }
.notes-cta p + p { margin: .85rem 0 0; }

.notes-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block: .25rem;
  padding: .55rem .9rem;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.35;
  border: 1px solid #205ca9;
}

.notes-button-primary { background: #205ca9; color: white; }
.notes-button-secondary { background: transparent; color: #205ca9; }
.notes-button:hover { text-decoration: underline; text-underline-offset: .15em; }

.notes-faq-item {
  padding-block: 1rem;
  border-block-start: 1px solid var(--notes-line);
}

.notes-faq-item + .notes-faq-item { margin-block: 0; }
.notes-faq-item > strong:first-child { display: block; margin-block-end: .35rem; }

.notes-author {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-block-start: 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--notes-line);
  color: var(--notes-text);
  font-size: .9375rem;
  line-height: 1.6;
}

.notes-author img {
  width: 4.5rem;
  aspect-ratio: 1;
  height: auto;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.notes-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .95rem;
  margin-block-start: .55rem;
  font-size: .875rem;
}

.notes-hub-intro p {
  max-width: 42.5rem;
  margin-block-start: 1rem;
  color: var(--notes-text);
  font-size: 1.125rem;
  line-height: 1.65;
}

.notes-group, .notes-related { margin-block-start: clamp(2.75rem, 7vw, 5rem); }
.notes-related { border-block-start: 1px solid var(--notes-line); padding-block-start: 2rem; }
.notes-featured { border-block-start: 1px solid #397bd930; }
.notes-featured .practice-heading { margin-block-end: clamp(1.25rem, 4vw, 2.5rem); }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.35rem);
  margin-block-start: 1.35rem;
}

.notes-card { min-width: 0; }

.notes-card a {
  display: block;
  height: 100%;
  padding: clamp(1rem, 2.45vw, 1.6rem);
  background: #eaf0fa;
  border: 1px solid #397bd940;
}

.notes-card h3 {
  margin: 0 0 .6rem;
  font-size: clamp(1.42rem, 2.5vw, 2rem);
  line-height: 1.12;
}

.notes-card p {
  color: #26384e;
  font-size: .9375rem;
  line-height: 1.55;
}

.notes-card a:hover h3, .notes-card a:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: .14em;
  text-decoration-thickness: 1px;
}

.notes-all { margin-block-start: 1.5rem; }

@media (max-width: 820px) {
  .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .notes-grid { grid-template-columns: minmax(0, 1fr); }
  .notes-author img { width: 3.25rem; }
}
