/*
 * Logic(s) — site styles.
 * 
 * This file is the source. Edit it directly; there is no Sass, bundler or
 * override layer. It was generated once from the frozen Middleman partials
 * (source/assets/stylesheets/*.scss) and then maintained by hand.
 * 
 * Sections follow the former partials, then the rules that native (SuperMD)
 * rendering needs. Bespoke styles for individual imported articles live in
 * archive.css, which ordinary pages do not load.
 */
@import url("https://fonts.googleapis.com/css?family=Merriweather");

/* ===== fonts ===== */

@font-face {
  font-family: "Apercu";
  font-weight: normal;
  src: url("/fonts/apercu_medium-c7195904.woff") format("woff"), url("/fonts/apercu_medium-8322b18f.ttf") format("truetype"), url("/fonts/apercu_medium-302eedd0.eot") format("embedded-opentype");
}
@font-face {
  font-family: "Apercu";
  font-weight: bold;
  src: url("/fonts/apercu_bold-f6689bc0.woff2") format("woff2"), url("/fonts/apercu_bold-d16c500c.woff") format("woff"), url("/fonts/apercu_bold-fbdd612c.ttf") format("truetype"), url("/fonts/apercu_bold-6aa91945.eot") format("embedded-opentype"), url("/fonts/apercu_bold-6448df1e.svg") format("svg");
}
@font-face {
  font-family: "Century Schoolbook";
  font-weight: normal;
  src: url("/fonts/Century_Schoolbook_Regular-c60b00b6.otf");
}
@font-face {
  font-family: "Century Schoolbook";
  font-weight: bold;
  src: url("/fonts/Century_Schoolbook_Bold-1cfc6dd9.otf");
}

/* ===== base ===== */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
  padding: 50px 0 80px 0;
}
footer {
  flex-shrink: 0;
}
h4,
h5,
h6,
.h4,
.h5,
.h6 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
h4,
.h4,
h5,
.h5 {
  font-weight: 600;
}
h6,
.h6 {
  font-weight: 300;
}
.heading--lowercase {
  text-transform: initial;
  letter-spacing: initial;
}
.heading--light-bold {
  font-weight: 300;
}
p {
  font-family: "Merriweather", serif;
}
p a {
  border-bottom: solid 1px #adb5bd;
  color: #10161A;
}
p a:hover,
p a:active {
  color: #0B1CC1;
  text-decoration: none;
  border-bottom-color: #0B1CC1;
  transition: all 400ms;
}
p a.footnote {
  border-bottom: none;
}
hr.hr-thick {
  border-top: solid 4px #e9ecef;
}
.text-body {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
  font-size: 0.938rem;
}
.banner a {
  color: #343a40 !important;
}
.pullquote {
  margin: 2rem 1.5rem;
}
.pullquote--body {
  border-left: 5px solid #adb5bd;
  margin-left: 1rem;
  padding-left: 1rem;
  font-size: 1.5rem;
}
.pullquote--source {
  display: flex;
  justify-content: flex-end;
  margin-right: 2rem;
}
.pullquote--source p {
  margin-bottom: 0;
}
.pullquote--source::before {
  content: '—';
  margin-right: 1rem;
}

/* ===== utility ===== */

.text-secondary {
  color: #6f7274;
}
.text-large {
  font-size: 1.25rem;
}

/* ===== buttons ===== */

.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.btn-light {
  background-color: #fff;
  border: solid 2px #e9ecef;
  border-radius: 4px;
}
.btn-light:hover {
  background-color: #f8f9fa;
}
.btn-primary {
  color: #fff;
  background-color: #0B1CC1;
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* ===== header ===== */

#header .navbar {
  background: #fff;
  border-bottom: 1px solid rgba(16, 22, 26, 0.2);
  z-index: 1010;
}
#header .nav-link {
  color: #10161A;
  font-size: 1rem;
  padding-left: 15px;
  padding-right: 15px;
}
#header .nav-link:hover {
  color: #0B1CC1;
}
@media (max-width: 600px) {
  #header .nav-item:nth-child(5) a {
    padding-bottom: 4.8px;
  }
}
#header .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  list-style-type: none;
}
@media (max-width: 600px) {
  #header .dropdown-content {
    display: inline-block;
    position: unset;
    box-shadow: unset;
    background-color: unset;
    padding-top: unset;
  }
  #header .dropdown-content li a {
    padding-top: unset;
  }
}
@media (min-width: 600px) {
  #header .nav-item:hover > .dropdown-content,
  #header .nav-item:focus-within > .dropdown-content {
    display: block;
  }
}
#header .navbar-toggler {
  position: absolute;
  border: none;
  right: 0;
  top: 0;
  margin-top: 5px;
}
#header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(135, 135, 135)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
#header #mobile-nav {
  background: #fff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
  position: absolute;
  width: 100%;
  z-index: 1000;
}
.icon-bar {
  width: 24px;
  height: 3px;
  border-radius: 5px;
  background-color: #878787;
  display: block;
  transition: all 0.2s;
  margin-top: 5px;
}
.navbar-toggler {
  border: none;
  background: transparent !important;
}
.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 2% 2%;
}
.navbar-toggler .middle-bar {
  opacity: 0;
}
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 2% 98%;
}
.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

/* ===== footer ===== */

footer .footer_heading {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
footer .footer_heading {
  font-size: 1.75rem;
}
footer .footer_issues-list {
  padding-left: 0;
  list-style: none;
}
footer {
  background-color: #292929;
  color: #bebebe;
  padding-top: 50px;
  padding-bottom: 70px;
}
footer .footer_about {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  letter-spacing: 0.05px;
  line-height: 2rem;
}
footer .footer_heading {
  color: #fff;
  font-weight: 700;
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  line-height: 2rem;
  margin-bottom: 0;
}
footer .footer_issues-list a {
  color: #bebebe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  line-height: 2rem;
}
footer .logo-mark {
  opacity: 0.5;
  width: 34px;
}
footer a {
  color: #fff;
  border-bottom: 1px solid;
}
footer a:hover {
  text-decoration: none;
  color: #adb5bd;
  border-color: #adb5bd;
}
footer a.nav-link {
  font-weight: normal;
  letter-spacing: 0.1em;
  padding: 10px 0;
  text-transform: uppercase;
}
footer hr {
  background-color: #3c3c3c;
}
footer .deets {
  line-height: 1.3;
}
footer a.social-btn {
  border-bottom: none;
}
footer .social-btn {
  transition: opacity 300ms;
}
footer .social-btn:hover {
  opacity: 0.66;
}
footer #mc_embed_signup .signup-container {
  border-radius: 3px;
  display: flex;
}
footer #mc_embed_signup .signup-container input[type=email],
footer #mc_embed_signup .signup-container input[type=submit] {
  border: 1px solid #fff;
  border-radius: 3px;
  height: 32px;
  vertical-align: top;
}
footer #mc_embed_signup .signup-container input[type=email]:focus,
footer #mc_embed_signup .signup-container input[type=submit]:focus {
  border-color: #0B1CC1;
}
footer #mc_embed_signup .signup-container input[type=email] {
  background-color: #292929;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  flex-grow: 1;
  margin-right: 0;
  padding: 0 0.4em;
}
footer #mc_embed_signup .signup-container input[type=submit] {
  background-color: #adb5bd;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: #fff;
  margin-left: 0;
}
footer #mc_embed_signup label {
  text-align: left;
}

/* ===== home ===== */

.index .publication-carousel--title,
.index .publication-carousel--issue-number,
.index .publication-carousel--publication-title {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.index .publication-carousel--title {
  font-size: 1.25rem;
}
.index .publication-carousel--issue-number,
.index .publication-carousel--publication-title {
  font-size: 1rem;
}
.index .publication-carousel--image {
  max-width: 100%;
  height: auto;
}
.index .publication-carousel--section {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.index .publication-carousel--item {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.index .publication-carousel--item {
  flex: 0 0 50%;
  max-width: 50%;
}
@media (min-width: 576px) {
  .index .publication-carousel--item {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
}
@media (min-width: 768px) {
  .index .publication-carousel--item {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (min-width: 992px) {
  .index .publication-carousel--item {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
.index .publication-carousel--section {
  justify-content: center !important;
}
.index .publication-carousel--publication-title {
  margin-bottom: 0.25rem !important;
}
.index .publication-carousel--image {
  margin-bottom: 0.5rem !important;
}
.index .publication-carousel--title {
  margin-bottom: 1.5rem !important;
}
.index .publication-carousel--section,
.index .publication-carousel {
  margin-bottom: 3rem !important;
}
.index .publication-carousel--title {
  text-align: center !important;
}
.index .publication-carousel--issue-number {
  color: #6c757d !important;
}
.index a.publication-carousel--issue-number:hover,
.index a.publication-carousel--issue-number:focus {
  color: #494f54 !important;
}
.index .publication-carousel--title,
.index .publication-carousel--issue-number,
.index .publication-carousel--publication-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.index .publication-carousel--title,
.index .publication-carousel--issue-number,
.index .publication-carousel--publication-title {
  font-weight: 600;
}
.index .publication-carousel--issue-number {
  color: #6f7274;
}
.index .hero {
  background: #f8f9fa;
  margin-top: -50px;
  padding-top: 40px;
  padding-bottom: 60px;
}
.index .hero h1 {
  font-size: 60px;
  font-weight: 600;
}
.index .hero .hero-book-img {
  box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.6), 0 5px 20px 0 rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .index .hero {
    overflow: hidden;
  }
  .index .hero .hero-book-img {
    position: absolute;
  }
}
.index .publication-carousel {
  margin-top: 1em;
}
.index .publication-carousel--section {
  margin: 0 auto;
  max-width: 800px;
}
.index .publication-carousel--image {
  box-shadow: 0 0 8px #D8D8D8;
}
.index .publication-carousel--item {
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .index .publication-carousel--item {
    padding: 1.5rem;
  }
}
.index .publication-carousel--item + .index .publication-carousel--vertical-divider {
  margin-left: -1.5px;
}
.index .publication-carousel--vertical-divider + .index .publication-carousel--item {
  margin-left: -1.5px;
}
.index .publication-carousel--vertical-divider {
  margin-top: 5rem;
  margin-bottom: 8rem;
  border-right: 2px solid #D8D8D8;
}
.index a.index-cta {
  color: #404243;
  font-size: 1.15rem;
}
.index a.index-cta-link {
  color: #404243;
}
.index .index-cta {
  margin-top: 1em;
}

/* ===== article ===== */

.article__editors-note strong,
.article__editors-note b {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.article__editors-note strong,
.article__editors-note b {
  font-size: 1.25rem;
}
.article img {
  max-width: 100%;
  height: auto;
}
.article .article-content h1,
.article .article-content h2,
.article .article-content h3,
.article .article-content h4,
.article .article-content h5,
.article .article-content h6 {
  margin-bottom: 1rem !important;
}
.article .article-content h1,
.article .article-content h2,
.article .article-content h3,
.article .article-content h4,
.article .article-content h5,
.article .article-content h6,
.article__editors-note strong,
.article__editors-note b {
  margin-top: 3rem !important;
}
.article-special-intro,
.article-special-footer,
.article__editors-note strong,
.article__editors-note b {
  margin-bottom: 3rem !important;
}
.article__editors-note strong,
.article__editors-note b,
.article .article-header {
  text-align: center !important;
}
.article-special-intro,
.article-special-footer {
  font-style: italic !important;
}
.article__editors-note strong,
.article__editors-note b {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article__editors-note strong,
.article__editors-note b {
  font-weight: 600;
}
.article {
  word-wrap: break-word;
}
.article .book-info {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}
.article .book-info a {
  color: #D8D8D8;
  text-decoration: none;
}
.article .book-info a:hover .book-info--number,
.article .book-info a:hover .book-info--name {
  text-decoration: underline;
}
.article .book-info h3 {
  font-size: 1rem;
  margin-bottom: 0;
}
.article .book-info--number,
.article .book-info--name {
  font-weight: 700;
}
.article .book-info--number {
  color: #10161A;
  margin-right: 7px;
}
.article .book-info--name {
  color: #0B1CC1;
  margin-left: 7px;
}
.article .book-info--release-date {
  color: #6f7274;
  font-weight: 500;
}
.article .article-featured-image {
  margin: 0 0 2em 0;
}
.article .article-featured-image figcaption {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 0.875rem;
  text-align: center;
  font-style: italic;
}
@media (min-width: 992px) {
  .article .article-featured-image figcaption {
    margin: 0 -1em 0 0;
  }
}
.article .article-issue-info {
  background-color: #D8D8D8;
  padding: 1em 2em;
  text-align: center;
}
.article h1 {
  font-family: "Merriweather", serif;
  font-size: 2.5rem;
  line-height: 1.5;
}
.article .article-header::after {
  content: '';
  display: block;
  height: 4px;
  background-color: #D8D8D8;
  margin: 15px auto 20px;
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
}
.article .article-contributors {
  margin-bottom: 40px;
}
.article .article-dek {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #495057;
  line-height: 1.5;
  flex: 0 0 83.3333333333%;
  max-width: 83.3333333333%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .article .article-dek {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }
}
.article .article-content {
  line-height: 2;
  font-size: 0.938rem;
}
.article .article-content h1,
.article .article-content h2,
.article .article-content h3,
.article .article-content h4,
.article .article-content h5,
.article .article-content h6 {
  text-transform: initial;
  letter-spacing: initial;
  font-weight: 600;
  font-size: 1.7rem;
  color: #404243;
  padding-bottom: 5px;
  border-bottom: 2px solid #ced4da;
  display: inline-block;
}
.article .article-content figure img {
  margin-bottom: 1rem;
  margin: auto;
}
.article .article-content figure figcaption {
  font-size: 0.7rem;
  margin-bottom: 2rem;
  text-align: left;
  font-style: italic;
}
.article .article-content blockquote {
  display: block;
}
@media (min-width: 768px) {
  .article .article-content blockquote {
    margin: 2rem 0 2.5rem 0;
  }
}
.article .article-content blockquote > p {
  padding: 1rem 0 1rem 0;
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #404243;
}
@media (min-width: 768px) {
  .article .article-content blockquote > p {
    padding: 0 2rem;
  }
}
.article a > u {
  text-decoration: none;
}
.article .article-figure {
  margin: 2.5rem 0;
}
.article .article-figure img {
  display: block;
  height: auto;
  width: 100%;
}
.article .article-figure figcaption p {
  margin-bottom: 0;
}
.article .article-verse {
  overflow-x: auto;
}
.article .article-verse pre {
  background: transparent;
  border: 0;
  color: #404243;
  font-family: "Merriweather", serif;
  font-size: clamp(0.72rem, 3.5vw, 0.938rem);
  line-height: 2;
  margin: 0;
  overflow: visible;
  padding: 1rem 0;
  white-space: pre;
}
.article .footnotes {
  border-top: 2px solid #ced4da;
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.article .footnotes ol {
  padding-left: 1.5rem;
}
.article .footnotes li {
  margin-bottom: 0.8rem;
}
.article .reversefootnote {
  border-bottom: 0;
  text-decoration: none;
}
.article-draft-notice {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #664d03;
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  text-align: center;
}
.article__interview strong,
.article__interview b {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.15rem;
}
.article__fullbleed .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.article__fullbleed .text-body {
  max-width: 100%;
}
.article__fullbleed img {
  max-width: 100%;
}
.article__fullbleed .article-contributors-bio {
  width: 80%;
  max-width: 720px;
  margin: auto;
}
.article__editors-note strong,
.article__editors-note b {
  display: block;
}
.article-contributors-bio p {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #6f7274;
}
.article-contributors-bio p::first-line {
  font-variant: small-caps;
}
.interview-dek p {
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #404243;
}

/* ===== book ===== */

.book .toc-section--name {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.book .toc-section--name {
  font-size: 1rem;
}
.book .toc-section::after,
.book .toc-header::after {
  margin-right: 1rem !important;
}
.book .toc-section--name {
  margin-bottom: 1rem !important;
}
.book .toc-section::after,
.book .toc-header::after {
  margin-left: 1rem !important;
}
.book .toc-article {
  padding: 1rem !important;
}
.book .toc-section--name {
  padding-left: 1rem !important;
}
.book .toc-section--name {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.book .toc-section--name {
  font-weight: 600;
}
.book .toc-section::after,
.book .toc-header::after {
  content: '';
  display: block;
  height: 4px;
  background-color: #D8D8D8;
  margin: 1em 0 2em 0;
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
}
.book .toc-article {
  font-family: "Merriweather", serif;
}
.book .toc-article__active:hover {
  background-color: #D8D8D8;
}
.book .toc-article--contributors {
  display: inline-block;
  font-family: "Apercu Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin-bottom: 0.2rem;
}
.book .toc-article--title {
  font-size: 1.2rem;
  line-height: 1.75;
}
.book .toc-article--title a {
  border-bottom: solid 1px #10161A;
  color: #10161A;
}
.book .toc-article--title a:hover,
.book .toc-article--title a:active {
  color: #0B1CC1;
  text-decoration: none;
  border-bottom-color: #0B1CC1;
  transition: all 400ms;
}
.book .release-date {
  color: #6f7274;
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

/* ===== static page ===== */

.static_page header {
  margin-bottom: 1rem;
}

/* ===== donate ===== */

.donate address {
  white-space: pre-line;
  padding-bottom: 1em;
  line-height: 1.25em;
}

/* ===== mobile ===== */

@media only screen and (min-device-width: 320px) and (max-device-width: 736px) {
  .article h1 {
    font-size: 1.6em;
  }
  .article .article-content {
    line-height: 1.5;
  }
  .article .article-featured-image figcaption {
    font-size: 0.8rem;
  }
  .book-info a {
    font-size: 0.8em;
  }
  .article-contributors-bio {
    line-height: 1.25;
  }
}

/* ===== carousel ===== */

.carousel.is-fullscreen .carousel-cell {
  height: 100%;
}

/* ===== navigation submenu ===== */

/* Mobile navigation lists child links inline rather than on hover. */
#header #mobile-nav .dropdown-content {
  display: block;
  position: static;
  box-shadow: none;
  background: transparent;
}
/* Keep the rightmost submenu inside the viewport. */
#header .navbar .nav-item {
  position: relative;
}
#header .navbar .dropdown-content {
  right: 0;
}

/* ===== links ===== */

/* Prose links stay distinguishable without relying on colour perception. */
main p a:not(.footnote-ref a),
.article-issue-info a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
/* Darker than the archive's #777: exceeds 4.5:1 on the pale hero. */
.hero .text-secondary {
  color: #707070 !important;
}

/* ===== native content ===== */

/* Imported inline marks. Native writing uses ordinary emphasis; these classes
 * only appear in converted archive documents and in the live preview of
 * underlined imports. */
.text-italic,
.text-bold-italic {
  font-style: italic;
}
.text-bold,
.text-bold-italic {
  font-weight: bold;
}
.text-underline,
.text-underline-italic,
.text-underline-bold {
  text-decoration: underline;
}
.text-underline-italic {
  font-style: italic;
}
.text-underline-bold {
  font-weight: bold;
}

/* Preserve legacy srcset sizing while keeping intrinsic attributes. */
.article-featured-image > img {
  width: auto;
}
.article-contributors span + span::before,
.toc-article--contributors span + span::before {
  content: ", ";
}
.article-content .pullquote--body > p,
.article-content .pullquote--source > p {
  margin-bottom: 0;
}

/* One section-heading style for old and new writing; the explicit h6
 * treatment above remains the small-heading variant. */
:where(.article .article-content) h2:not(.h6) {
  font-family: Merriweather, serif;
  line-height: 1.5;
}

/* ===== native figures ===== */

.article-content figure {
  margin: 2.5rem 0;
}
.article-content figure img {
  display: block;
  height: auto;
  width: 100%;
}
.article .article-content figure figcaption {
  font-family: Merriweather, serif;
}

/* ===== notes ===== */

/* References already carry a sup wrapper: do not raise or shrink them again. */
.article-content .footnote-ref a {
  border-bottom: 0;
  font-family: inherit;
  font-size: inherit;
  margin-left: 0;
  vertical-align: baseline;
}
.article .footnotes .footnote-backref {
  display: inline;
  font-family: Merriweather, serif;
  color: #10161a;
}
.article .footnotes .footnote-backref:hover {
  color: #0b1cc1;
}
.article .footnotes:not(.footnotes-legacy) > ol > li > p:last-of-type {
  display: inline;
}
.article .footnotes:not(.footnotes-legacy) .footnote-backref {
  margin-left: 0.25em;
}

/* Imported numeric notes were ordinary article paragraphs, not a compact
 * Markdown footnote list: keep the source's own separator and body type. */
.article .footnotes.footnotes-legacy {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.938rem;
  line-height: 2;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 736px) {
  .article .footnotes.footnotes-legacy {
    line-height: 1.5;
  }
}
.footnotes.footnotes-legacy > ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footnotes.footnotes-legacy > ol > li {
  margin-bottom: 1rem;
}
.footnotes-legacy > ol > li > div > p:first-of-type {
  display: inline;
}
.footnotes-legacy > ol > li > div > p + p {
  margin-top: 1rem;
}
.footnotes-legacy > ol > li > div > :last-child {
  margin-bottom: 0;
}

/* ===== endmark ===== */

/* A named body must not erase the endmark, and imported numeric notes used to
 * be final body paragraphs, so their mark belongs after the last note. */
.article .article-content:not(.article-content-legacy-notes) > #body > p:last-of-type::after,
.article .footnotes-legacy > ol > li:last-child > div > p:last-of-type::after {
  content: '';
  background-image: url('/images/endmark-0282b2a7.svg');
  background-size: 24px;
  margin-left: 5px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  width: 24px;
  height: 16px;
}

/* ===== static pages ===== */

/* Intrinsic attributes must not stretch legacy percentage-width portraits. */
.page-body img[data-editorial-image] {
  height: auto;
}
/* Restored archival embeds fit narrow viewports without changing their URLs. */
.page-body iframe {
  max-width: 100%;
}
.page-body .archive-pdf-download {
  display: inline-block;
  color: ButtonText;
  background: ButtonFace;
  border: 2px outset ButtonBorder;
  padding: 1px 6px;
  font: inherit;
  text-decoration: none;
}

/* Keep intrinsic SVG proportions where the mobile rule sets width: 34px. */
footer .logo-mark {
  height: auto;
}
