.article-view { overflow-x: clip; }
.article-wrap { max-width: 74rem; padding-block: clamp(1.2rem, 3.5vw, 3rem) clamp(3.5rem, 8vw, 6rem); }
.article-heading { margin-bottom: clamp(1.5rem, 3.4vw, 2.5rem); }
.article-trail {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .55rem;
  margin-bottom: clamp(.9rem, 2.1vw, 1.6rem);
  font-size: .94rem; line-height: 1.5; color: var(--ink-2);
}
.article-trail a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.article-trail [aria-current] { overflow-wrap: anywhere; }
.article-heading h1 {
  max-width: 24ch; font-size: clamp(2.05rem, 1.25rem + 3.65vw, 4.4rem);
  font-weight: 800; letter-spacing: -.038em; line-height: 1.04;
  text-wrap: balance; overflow-wrap: anywhere;
}
.article-heading h1 span {
  display: block; color: var(--purple); font-size: .64em; line-height: 1.16;
  letter-spacing: -.022em; margin-top: .36em;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .95rem;
  margin-top: clamp(.95rem, 2.4vw, 1.5rem); font-size: 1rem; color: var(--ink-2);
}
.article-meta span { color: var(--green); background: var(--mint); border-radius: 2rem; padding: .24rem .7rem; font-weight: 700; }
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(14.25rem, 17.5rem);
  gap: clamp(1.4rem, 3.8vw, 3.3rem); align-items: start;
}
.article-layout--solo { grid-template-columns: minmax(0, 52rem); }
.article-sheet {
  grid-area: 1 / 1; min-width: 0; background: var(--card);
  padding: clamp(1.45rem, 4.2vw, 3rem); border-radius: 1rem;
  box-shadow: 0 12px 32px -23px #2a10334d;
}
.article-rail {
  grid-area: 1 / 2; min-width: 0; position: sticky; top: 1.2rem;
  align-self: start; margin-top: .6rem;
}
.article-notepad {
  --notepad-rule: #91b4a3;
  position: relative; isolation: isolate; background: var(--mint); color: var(--green);
  border-radius: 3px 3px 10px 4px; padding: .55rem .85rem .95rem 2rem;
  box-shadow: 0 9px 19px -12px #28514380;
}
.article-notepad::before {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 1.25rem;
  width: 1px; background: #bb99bb; opacity: .68; pointer-events: none;
}
.article-notepad::after {
  content: ""; position: absolute; inset: -.45rem auto auto 45%; width: 3.6rem; height: .84rem;
  transform: translateX(-50%) rotate(-6deg); background: var(--tape); pointer-events: none;
}
.article-notepad summary {
  display: flex; justify-content: space-between; align-items: center; gap: .35rem; min-height: 49px;
  cursor: pointer; list-style: none; font: 700 2rem/1.05 var(--font-hand);
}
.article-notepad summary::-webkit-details-marker { display: none; }
.article-notepad summary .icon { width: 1.1rem; height: 1.1rem; }
.article-notepad[open] summary .icon { transform: rotate(180deg); }
.article-notepad ol {
  max-height: min(60vh, 30rem); overflow-y: auto;
  border-top: 1px solid var(--notepad-rule); scrollbar-color: var(--notepad-rule) var(--mint);
}
.article-notepad li { border-bottom: 1px solid var(--notepad-rule); }
.article-notepad a {
  display: flex; align-items: center; min-height: 44px; padding: .42rem .28rem .42rem .12rem;
  color: var(--green); font-size: 1rem; line-height: 1.32; text-decoration: none;
  overflow-wrap: anywhere;
}
.article-notepad a:hover { text-decoration: underline; background-color: #cfe9d9; }
.article-notepad a:focus-visible { outline-offset: -3px; }
.article-copy { max-width: 71ch; font-size: clamp(1.125rem, 1.09rem + .18vw, 1.23rem); line-height: 1.65; overflow-wrap: anywhere; }
.article-copy p + p { margin-top: .92em; }
.article-copy :is(h2,h3,h4) { margin: 1.48em 0 .43em; letter-spacing: -.02em; line-height: 1.18; scroll-margin-block-start: .5rem; }
.article-copy h2 { font-size: clamp(1.55rem, 1.33rem + .86vw, 2.15rem); }
.article-copy h3 { font-size: clamp(1.25rem, 1.14rem + .47vw, 1.62rem); }
.article-copy h4 { font-size: 1.16em; }
.article-copy :is(ul,ol) { padding-inline-start: 1.45em; margin-block: .75em 1em; }
.article-copy ul { list-style: disc; }
.article-copy ol { list-style: decimal; }
.article-copy li + li { margin-top: .32em; }
.article-copy :is(ul,ol) + p { margin-top: .8em; }
.article-copy :is(figure,blockquote) { margin-block: 1.3em; }
.article-copy figure img { border-radius: 8px; }
.article-copy figcaption { margin-top: .45em; color: var(--ink-2); font-size: .88em; }
.article-copy blockquote { margin-inline: 0; padding: .75em 1em; background: var(--paper); border-inline-start: 1px solid var(--purple); }
.article-copy :is(pre, table, iframe, video) { max-width: 100%; }
.article-copy :is(pre,.wp-block-table) { overflow: auto; }
.article-copy table { width: 100%; border-collapse: collapse; }
.article-copy :is(td,th) { border: 1px solid var(--rule); padding: .4em; }
.article-photo img { width: 100%; height: auto; }
.article-photo--field-guide img { aspect-ratio: 3 / 1; object-fit: cover; object-position: center top; }
/* Render the original Elementor content inside the reading sheet, in its original order. */
.article-copy :is(.elementor,.e-con,.e-con-inner,.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap) { display: contents; }
.article-copy .elementor-widget { margin-block: 1rem; }
.article-copy .elementor-widget:first-child { margin-top: 0; }
.article-copy .elementor-widget-spacer { display: none; }
.article-copy .elementor-widget-image img { max-width: 100%; height: auto; border-radius: 8px; }
.article-copy [data-widget_type="int-cta.default"] {
  background: var(--paper); border-radius: .75rem; padding: 1rem 1.2rem; margin-block: 2rem 0;
}
.article-copy [data-widget_type="int-cta.default"] :is(h2,h3,h4,p) { margin-block: 0 .5em; }
.article-copy [data-widget_type="int-cta.default"] img { display: none; }
.article-copy [data-widget_type="int-cta.default"] a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.article-back { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; margin-top: 1.6rem; font-size: 1rem; font-weight: 700; }
@media (max-width: 850px) {
  .article-layout { display: flex; flex-direction: column; gap: 1.25rem; }
  .article-rail { position: static; margin-top: 0; width: 100%; }
  .article-sheet { width: 100%; }
  .article-notepad ol { max-height: 45vh; }
}
@media (max-width: 530px) {
  .article-trail [aria-current], .article-trail [aria-hidden]:nth-last-child(2) { display: none; }
  .article-sheet { padding: 1.2rem; }
}
