.badtales-editorial {
  --bt-sheet: min(76rem, calc(100% - clamp(1.5rem, 7.5vw, 7rem)));
  --bt-paper: #f8eee2;
  --bt-pale: #fff7ed;
  --bt-ink: #3f211e;
  --bt-muted: #694b44;
  --bt-red: #a52d18;
  --bt-rule: #bc9881;
  --bt-serif: Georgia, "Times New Roman", serif;
  --bt-sans: "Segoe UI", system-ui, sans-serif;
  margin: 0;
  background: var(--bt-paper);
  color: var(--bt-ink);
  font-family: var(--bt-sans);
}

.badtales-editorial :is(a, button, input):focus-visible { outline: 3px solid #9b553f; outline-offset: 4px; }
.badtales-editorial > .skip-link:not(:focus) { clip-path: inset(50%); }
.badtales-editorial .shell { width: var(--bt-sheet); max-width: none; }
.badtales-editorial > .issue-bar,
body.badtales-editorial[data-badtales-home] > .issue-bar { border: 0; background: #3c211f; color: #faebdb; }
body.badtales-editorial[data-badtales-home],
body.badtales-editorial:has(.article-shell) { background: var(--bt-paper); }
.badtales-editorial > .issue-bar .shell { padding-block: .35rem; }

.badtales-editorial > .site-header {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bt-pale);
  color: var(--bt-ink);
}
.badtales-editorial .site-header .header-main {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .65rem 0;
  border: 0;
}
.badtales-editorial .bt-brand-frame .brand {
  color: var(--bt-red);
  font: 400 clamp(1.75rem, 3vw, 2.85rem)/1 var(--bt-serif);
  letter-spacing: -.06em;
  text-decoration: none;
}
.badtales-editorial .bt-brand-frame .brand span { color: inherit; }
.badtales-editorial .bt-navigation-tools .search-open {
  min-height: 2.35rem;
  padding: .35rem .8rem;
  border: 1px solid #a17867;
  background: transparent;
  color: var(--bt-red);
}
.badtales-editorial .bt-navigation-tools .search-open:hover { background: #f6e2d0; }
.badtales-editorial .bt-nav-frame { border-block: 1px solid #ccb3a1; }
.badtales-editorial .bt-nav-frame .site-nav {
  display: flex;
  min-height: 0;
  flex-wrap: wrap;
  gap: .22rem 1.1rem;
  padding: .35rem 0;
  border: 0;
  background: transparent;
}
.badtales-editorial .bt-nav-frame .site-nav a {
  min-height: 2rem;
  padding: .3rem 0;
  border: 0;
  color: var(--bt-ink);
  font-size: .88rem;
  text-decoration: none;
}
.badtales-editorial .bt-nav-frame .site-nav a:hover { color: var(--bt-red); text-decoration: underline; }

.badtales-editorial main { min-width: 0; }
.badtales-editorial .bt-home > :is(.bt-cover, .safe-live-publications, .bt-routes, .bt-archive, .bt-colophon) {
  width: var(--bt-sheet);
  max-width: none;
  margin-inline: auto;
}
.badtales-editorial .bt-home .bt-cover {
  margin-block: clamp(1.1rem, 3.5vw, 3rem);
  padding: clamp(.85rem, 3.6vw, 2.7rem);
  border: 1px solid var(--bt-rule);
  background: #fbf2e8;
}
.badtales-editorial .bt-poster-edition .bt-cover__mast {
  display: flex;
  min-height: 0;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin: 0 0 clamp(1rem, 3vw, 2.1rem);
  padding: 0 0 .55rem;
  border: 0;
  border-bottom: 1px solid var(--bt-rule);
  color: var(--bt-muted);
  font: 700 .76rem/1.35 var(--bt-sans);
  letter-spacing: .065em;
}
.badtales-editorial .bt-cover .bt-cover__story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .86fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 1.2rem clamp(.85rem, 3.4vw, 3.25rem);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.badtales-editorial .bt-cover .bt-cover__copy {
  display: block;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bt-ink);
}
.badtales-editorial .bt-poster-title p { margin: 0 0 .65rem; color: var(--bt-muted); font-size: .83rem; }
.badtales-editorial .bt-poster-title h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--bt-red);
  font: 400 clamp(2.75rem, 6.15vw, 6rem)/.95 var(--bt-serif) !important;
  line-height: .95 !important;
  letter-spacing: -.061em !important;
}
.badtales-editorial .bt-poster-image {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  align-self: stretch;
  padding: clamp(.52rem, 1.8vw, 1.25rem);
  border: 1px solid #422521;
  background: #59352b;
  box-shadow: inset 0 0 0 .25rem #764d3e, inset 0 0 0 .45rem #c08a64;
}
.badtales-editorial .bt-poster-image .bt-cover__image {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(18rem, 32vw, 31rem);
  margin: 0;
  overflow: hidden;
}
.badtales-editorial .bt-poster-image .bt-cover__image::after { content: none; }
.badtales-editorial .bt-poster-image .bt-cover__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  max-height: none;
  object-fit: cover;
  object-position: 55% center;
}
.badtales-editorial .bt-poster-description {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  max-width: 35rem;
  gap: .5rem;
  padding: clamp(.7rem, 2.15vw, 1.5rem);
  background: var(--bt-red);
  color: #fff6e9;
}
.badtales-editorial .bt-poster-description p { margin: 0; color: inherit; font-size: clamp(1rem, 1.5vw, 1.14rem); }
.badtales-editorial .bt-poster-description .bt-read { justify-self: start; margin: 0; padding: .25rem 0; color: white; border-color: currentColor; }
.badtales-editorial .bt-poster-description .bt-read span { color: inherit; }

.badtales-editorial .safe-live-publications {
  margin-block: clamp(2rem, 6vw, 4.65rem);
  padding: 0;
  border: 0;
  background: transparent;
}
.badtales-editorial .safe-live-publications > header h2 {
  color: var(--bt-red);
  font: 400 clamp(1.9rem, 4vw, 3.7rem)/1 var(--bt-serif) !important;
}
.badtales-editorial .safe-live-publications .safe-live-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(.8rem, 2.45vw, 1.5rem);
}
.badtales-editorial .safe-live-publications .safe-live-card {
  min-width: 0;
  border: 1px solid var(--bt-rule);
  background: #fcf3e9;
  color: var(--bt-ink);
}
.badtales-editorial .safe-live-card .safe-live-card__image,
.badtales-editorial .safe-live-card .safe-live-card__image img { aspect-ratio: 1.95; object-fit: cover; }
.badtales-editorial .safe-live-card h3 { color: var(--bt-ink); font: 400 clamp(1.35rem, 2.5vw, 2.15rem)/1.1 var(--bt-serif) !important; }

.badtales-editorial .bt-home :is(.bt-routes, .bt-archive) { padding: 0; margin-block: clamp(1.6rem, 5.8vw, 4.8rem); }
.badtales-editorial :is(.bt-gallery-intro, .bt-bench-heading, .bt-archive-intro) .bt-section-head {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) minmax(0, .75fr);
  align-items: end;
  gap: .4rem 1rem;
  margin: 0 0 1rem;
  padding: .45rem 0 .8rem;
  border: 0;
  border-bottom: 1px solid var(--bt-rule);
  color: var(--bt-ink);
}
.badtales-editorial :is(.bt-gallery-intro, .bt-bench-heading, .bt-archive-intro) .bt-section-head > p { margin: 0; color: var(--bt-muted); }
.badtales-editorial :is(.bt-gallery-intro, .bt-bench-heading, .bt-archive-intro) .bt-section-head h2 {
  margin: 0;
  color: var(--bt-red);
  font: 400 clamp(2.05rem, 4.1vw, 3.85rem)/.98 var(--bt-serif) !important;
  line-height: .98 !important;
  letter-spacing: -.045em;
}
.badtales-editorial .bt-gallery-wall .bt-routes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(.75rem, 2.3vw, 1.5rem);
}
.badtales-editorial .bt-gallery-wall .bt-route {
  display: grid;
  grid-column: auto;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  min-height: 0;
  gap: .55rem;
  margin: 0;
  padding: .65rem;
  border: 1px solid var(--bt-rule);
  background: #fcf3e9;
  color: var(--bt-ink);
}
.badtales-editorial .bt-gallery-frame {
  padding: .35rem;
  border: 1px solid #9b634f;
  background: #684033;
}
.badtales-editorial .bt-gallery-frame .bt-route__image { display: block; height: auto; min-height: 0; aspect-ratio: 1.52; overflow: hidden; }
.badtales-editorial .bt-gallery-frame .bt-route__image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.badtales-editorial .bt-gallery-label .bt-route__copy { min-width: 0; padding: .5rem .3rem .65rem; color: var(--bt-ink); }
.badtales-editorial .bt-gallery-label :is(p, .bt-read, a) { color: inherit; }
.badtales-editorial .bt-gallery-label .bt-route__copy h3 {
  margin: .25rem 0 .5rem;
  color: var(--bt-red);
  font: 400 clamp(1.32rem, 2.2vw, 2.15rem)/1.08 var(--bt-serif) !important;
  line-height: 1.08 !important;
}

.badtales-editorial .bt-home .bt-workbench {
  margin: 0;
  padding: clamp(1.45rem, 5.8vw, 4.3rem) 0;
  border: 0;
  background: #57302b;
  color: var(--bt-pale);
}
.badtales-editorial .bt-bench-heading .bt-section-head h2,
.badtales-editorial .bt-bench-heading .bt-section-head > p { color: #fff3df; }
.badtales-editorial .bt-bench-cards .bt-workbench__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(.75rem, 2.3vw, 1.4rem);
}
.badtales-editorial .bt-bench-cards .bt-practice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .65fr) !important;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f9ecdf;
  color: var(--bt-ink);
}
.badtales-editorial .bt-bench-copy { min-width: 0; }
.badtales-editorial .bt-bench-copy > div { min-width: 0; padding: .8rem; color: var(--bt-ink); }
.badtales-editorial .bt-bench-copy :is(h3, a, p) { color: inherit; }
.badtales-editorial .bt-bench-copy h3 { font: 400 clamp(1.2rem, 2.1vw, 1.8rem)/1.08 var(--bt-serif) !important; }
.badtales-editorial .bt-bench-photo .bt-practice__image { display: block; height: 100%; min-height: 0; overflow: hidden; }
.badtales-editorial .bt-bench-photo .bt-practice__image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }

.badtales-editorial .bt-archive-index .bt-archive__list { display: block !important; border: 0; }
.badtales-editorial .bt-archive-index .bt-archive__row {
  display: grid;
  grid-template-columns: minmax(0, 3.4rem) minmax(0, 9rem) minmax(0, 1fr) 2.4rem !important;
  align-items: center;
  gap: .75rem clamp(.55rem, 2.6vw, 1.45rem);
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(.6rem, 2vw, 1.25rem) 0;
  border: 0;
  border-bottom: 1px solid var(--bt-rule);
  background: transparent;
}
.badtales-editorial .bt-archive-sequence > p {
  margin: 0;
  color: var(--bt-red);
  font: 400 clamp(1.15rem, 2.6vw, 1.9rem)/1 var(--bt-serif);
}
.badtales-editorial .bt-archive-sequence > .bt-archive__text-mark {
  display: block;
  width: fit-content;
  height: auto;
  min-height: 0;
  margin-top: .3rem;
  padding: .1rem .28rem;
  border: 1px solid var(--bt-rule);
  background: transparent;
  color: var(--bt-muted);
  font-size: .76rem;
}
.badtales-editorial .bt-archive-picture > a {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 1.55;
  overflow: hidden;
}
.badtales-editorial .bt-archive-picture img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.badtales-editorial .bt-archive-text > div > p:first-child { margin: 0 0 .15rem; color: var(--bt-muted); font-size: .78rem; }
.badtales-editorial .bt-archive-text h3 { margin: 0 0 .25rem; color: var(--bt-red); font: 400 clamp(1.23rem, 2.2vw, 1.95rem)/1.1 var(--bt-serif) !important; }
.badtales-editorial .bt-archive-text > div > p:last-child { display: block; margin: 0; color: var(--bt-muted); }
.badtales-editorial .bt-archive-index .bt-archive__arrow { width: 2.1rem; height: 2.1rem; align-self: center; color: var(--bt-red); }
.badtales-editorial .bt-home .bt-colophon { display: block; margin-block: 2rem; padding: clamp(1rem, 3.2vw, 2.3rem); border: 0; background: #efd7c0; }
.badtales-editorial .bt-colophon-note { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 1rem; color: var(--bt-ink); }
.badtales-editorial .bt-colophon-note p { margin: 0; color: inherit; }
.badtales-editorial .bt-colophon-note p:first-child { color: var(--bt-red); font: 400 clamp(1.7rem, 3.35vw, 2.8rem)/1 var(--bt-serif); }

.badtales-editorial .category-hero {
  width: var(--bt-sheet);
  max-width: none;
  margin: clamp(1rem, 3.5vw, 2.75rem) auto;
  padding: clamp(.95rem, 4.6vw, 3.25rem);
  background: #f0d9c4;
  color: var(--bt-ink);
}
.badtales-editorial .category-hero .shell {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
  align-items: end;
  gap: .5rem 1.4rem;
}
.badtales-editorial .bt-topic-heading h1 {
  margin: .15rem 0 .35rem;
  color: var(--bt-red);
  font: 400 clamp(2.5rem, 5vw, 4.9rem)/1 var(--bt-serif) !important;
  line-height: 1 !important;
  letter-spacing: -.052em !important;
}
.badtales-editorial .bt-topic-context p { margin: 0; color: var(--bt-muted); }
.badtales-editorial .bt-topic-works .category-story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .85rem 1.15rem;
}
.badtales-editorial .bt-topic-works .category-story-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  min-width: 0;
  gap: .65rem;
  padding: .85rem;
  border: 1px solid var(--bt-rule);
  background: var(--bt-pale);
}
.badtales-editorial .bt-topic-works .category-story-list article img { width: 100%; aspect-ratio: 2; object-fit: cover; }
.badtales-editorial .bt-topic-works .category-story-list h2 { color: var(--bt-red); font: 400 clamp(1.4rem, 2.8vw, 2.2rem)/1.08 var(--bt-serif) !important; }
.badtales-editorial .bt-topic-works .story-number { color: var(--bt-red); }

.badtales-editorial .safe-live-article,
.badtales-editorial .article-page,
.badtales-editorial > .article-shell {
  width: var(--bt-sheet);
  max-width: none;
  margin: 0 auto;
  padding: clamp(1.1rem, 4vw, 3rem) 0 clamp(1.65rem, 5vw, 4.4rem);
}
.badtales-editorial .bt-entry-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: stretch;
  gap: clamp(.75rem, 2.3vw, 1.45rem);
}
.badtales-editorial .bt-entry-cover > header,
.badtales-editorial .bt-entry-cover .article-title-grid {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: none;
  justify-content: center;
  gap: .55rem;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--bt-ink);
  text-align: start;
}
.badtales-editorial .bt-entry-cover > header {
  padding: clamp(.85rem, 3.4vw, 2.6rem);
  border: 1px solid var(--bt-rule);
  background: #f1d8c3;
}
.badtales-editorial .bt-entry-cover .article-title-grid h1,
.badtales-editorial .bt-entry-cover h1 {
  max-width: 21ch;
  margin: .2rem 0 .35rem;
  color: var(--bt-red);
  font: 400 clamp(2.05rem, 4.15vw, 4.2rem)/1.02 var(--bt-serif) !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
}
.badtales-editorial .bt-entry-cover > header :is(a, p, .eyebrow, .article-metaline) { color: var(--bt-ink); }
.badtales-editorial .bt-entry-cover .safe-live-article__meta { justify-content: start; }
.badtales-editorial .bt-entry-cover .article-index { color: var(--bt-red); }
.badtales-editorial .bt-entry-cover > figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: .55rem;
  border: 1px solid #7e5347;
  background: #6b4539;
  overflow: hidden;
}
.badtales-editorial .bt-entry-cover > figure img {
  display: block;
  width: 100%;
  min-height: 16rem;
  height: 100%;
  max-height: 34rem;
  margin: 0;
  aspect-ratio: unset;
  object-fit: cover;
}
.badtales-editorial .bt-entry-cover figcaption { width: 100%; margin: 0; padding: .35rem .2rem 0; color: #fff5e8; font-size: .76rem; }
.badtales-editorial .bt-reading {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 44rem) minmax(11rem, 15rem) !important;
  align-items: start;
  justify-content: center;
  gap: clamp(1rem, 4.5vw, 3.6rem);
  margin: 0;
  padding: clamp(1.65rem, 5vw, 4.2rem) 0 0;
}
.badtales-editorial .bt-reading--single {
  display: block;
  width: min(100%, 45rem);
  margin-inline: auto;
  font-size: clamp(1rem, 1.65vw, 1.16rem);
}
.badtales-editorial .bt-reading > :is(.article-content, .safe-live-article__content) { width: 100%; min-width: 0; padding: 0; }
.badtales-editorial .bt-reading > aside {
  position: static;
  width: 100%;
  min-width: 0;
  padding: .8rem 1rem;
  border: 0;
  background: #f0d9c6;
  color: var(--bt-ink);
}
.badtales-editorial .bt-reading > aside a { color: var(--bt-red); overflow-wrap: anywhere; }

.badtales-editorial .search-dialog {
  width: min(43rem, calc(100% - 1.5rem));
  max-height: 84vh;
  padding: 0;
  border: 1px solid #9b5f4e;
  background: var(--bt-pale);
  color: var(--bt-ink);
  overflow: auto;
}
.badtales-editorial .search-dialog .search-panel { padding: clamp(.8rem, 4vw, 2.2rem); }
.badtales-editorial .search-dialog :is(.search-form, .search-form input, .search-results) { width: 100%; min-width: 0; }
.badtales-editorial .search-dialog .search-results a { color: var(--bt-red); }
.badtales-editorial > .site-footer { width: 100%; margin: 0; padding: clamp(1.15rem, 4vw, 3rem) 0; border: 0; background: #3c211f; color: var(--bt-pale); }
.badtales-editorial .site-footer .footer-grid { display: block; margin: 0 auto; padding: 0; }
.badtales-editorial .bt-footer-sections { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, .75fr)); gap: 1rem; }
.badtales-editorial .bt-footer-sections :is(a, p, span, b, strong) { color: inherit; }
.badtales-editorial .site-footer .editorial-preferences { margin: .8rem max(.75rem, calc((100% - 76rem) / 2)) 0; }
.badtales-editorial .editorial-not-found { display: grid; width: var(--bt-sheet); min-height: 67vh; place-items: center; margin: 0 auto; }
.badtales-editorial .bt-error-frame { display: grid; width: min(100%, 40rem); gap: .75rem; padding: clamp(.95rem, 4vw, 3rem); border: 1px solid var(--bt-rule); background: #f1d8c3; }
.badtales-editorial .bt-error-frame a { color: var(--bt-red); }

@media (max-width: 690px) {
  .badtales-editorial .bt-nav-frame .site-nav { gap: .15rem .65rem; }
  .badtales-editorial .bt-nav-frame .site-nav a { min-height: 1.55rem; font-size: .78rem; }
  .badtales-editorial .bt-cover .bt-cover__story,
  .badtales-editorial .bt-colophon-note,
  .badtales-editorial .category-hero .shell,
  .badtales-editorial .bt-entry-cover { grid-template-columns: minmax(0, 1fr); }
  .badtales-editorial .bt-cover .bt-cover__story { grid-template-rows: auto auto auto; }
  .badtales-editorial .bt-poster-image { grid-column: 1; grid-row: 2; }
  .badtales-editorial .bt-poster-image .bt-cover__image { min-height: 0; height: clamp(11rem, 55vw, 18rem); }
  .badtales-editorial .bt-poster-description { grid-row: 3; }
  .badtales-editorial .bt-poster-title h1 { max-width: 16ch; font-size: clamp(2.45rem, 9.55vw, 4.35rem) !important; }
  .badtales-editorial :is(.bt-gallery-intro, .bt-bench-heading, .bt-archive-intro) .bt-section-head { grid-template-columns: 1fr; }
  .badtales-editorial .safe-live-publications .safe-live-grid,
  .badtales-editorial .bt-gallery-wall .bt-routes__grid,
  .badtales-editorial .bt-bench-cards .bt-workbench__grid,
  .badtales-editorial .bt-topic-works .category-story-list,
  .badtales-editorial .bt-reading { grid-template-columns: minmax(0, 1fr) !important; }
  .badtales-editorial .bt-bench-cards .bt-practice { grid-template-columns: minmax(0, 1fr) minmax(0, .58fr) !important; }
  .badtales-editorial .bt-archive-index .bt-archive__row { grid-template-columns: minmax(0, 2rem) minmax(0, 1fr) 1.7rem !important; gap: .5rem; align-items: start; }
  .badtales-editorial .bt-archive-picture { grid-column: 2; grid-row: 1; width: min(100%, 9rem); }
  .badtales-editorial .bt-archive-text { grid-column: 2; grid-row: 2; }
  .badtales-editorial .bt-archive-index .bt-archive__arrow { grid-column: 3; grid-row: 2; width: 1.6rem; height: 1.6rem; }
  .badtales-editorial .bt-reading > aside { grid-row: auto; }
  .badtales-editorial .bt-footer-sections { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .badtales-editorial .bt-footer-sections > div:first-child { grid-column: 1 / -1; }
}
