@font-face { font-family: "Deepdene"; font-weight: 500; font-display: fallback; src: url("https://larrysanger.org/wp-content/uploads/fonts/Deepdene-H-Regular.otf") format("opentype"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: fallback; src: url("https://larrysanger.org/wp-content/themes/twentytwentythree/assets/fonts/dm-sans/DMSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Source Serif Pro"; font-style: normal; font-weight: 200 900; font-display: fallback; src: url("https://larrysanger.org/wp-content/themes/twentytwentythree/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2") format("woff2"); }
@font-face { font-family: "Source Serif Pro"; font-style: italic; font-weight: 200 900; font-display: fallback; src: url("https://larrysanger.org/wp-content/themes/twentytwentythree/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2") format("woff2"); }

body { margin: 0; background: #fff; color: #161616; font-family: "Source Serif Pro", Georgia, serif; font-size: 19px; line-height: 1.6; }
a { color: inherit; text-decoration-color: #b9a9a9; text-underline-offset: 2px; }
a:hover { color: #800000; text-decoration-color: #800000; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 22px 40px; }
.logo { font-family: "Deepdene", Georgia, serif; color: #ea1212; letter-spacing: 8px; font-size: 27px; text-decoration: none; }
.logo:hover { color: #ea1212; }
header.site nav { font-family: "Deepdene", Georgia, serif; font-size: 27px; display: flex; gap: 28px; }
header.site nav a { text-decoration: none; color: #1d4f91; }
header.site nav a:hover { color: #1d4f91; text-decoration: underline; }

.page { max-width: 1000px; margin: 0 auto; padding: 10px 28px 90px; }
.series { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px double #161616; padding-bottom: 6px; margin: 18px 0 30px; font-variant: small-caps; letter-spacing: .08em; font-size: 17px; }
.series a { text-decoration: none; }
.series .back { font-variant: normal; letter-spacing: 0; font-size: 15px; font-style: italic; }
h1 { font-weight: 700; font-size: 44px; line-height: 1.1; margin: 18px 0 14px; padding-bottom: 10px; border-bottom: 3px double #161616; }
.intro { max-width: 680px; margin: 0 0 30px; }
.intro em { color: #555; font-size: 16.5px; display: block; margin-top: 8px; }

/* The search area: a plain gray rectangle, so readers see where to search. */
.searchbox { margin: 0 0 8px; }
.searchbox .row { display: flex; align-items: flex-end; gap: 18px; max-width: 720px; background: #ececec; padding: 18px 22px 20px; }
.searchbox input[type=search] { flex: 1; min-width: 0; font: inherit; font-size: 24px; border: 0; border-bottom: 2px solid #161616; padding: 4px 2px; background: transparent; outline: none; border-radius: 0; }
.searchbox input[type=search]:focus { border-bottom-color: #800000; }
.searchbox input::placeholder { color: #8a8a8a; font-size: 19px; font-style: italic; }
.searchbox button { font: inherit; font-size: 17px; font-variant: small-caps; letter-spacing: .08em; background: #800000; color: #fff; border: 0; border-radius: 0; padding: 7px 18px 9px; cursor: pointer; }
.views { margin: 22px 0 0; font-variant: small-caps; letter-spacing: .07em; font-size: 17px; border-bottom: 1px solid #161616; padding-bottom: 6px; }
.views a { text-decoration: none; color: #6a6a6a; margin-right: 26px; }
.views a.on { color: #161616; font-weight: 600; }
.refine { font-size: 15.5px; color: #555; margin: 10px 0 12px; font-style: italic; }
.refine select { font: inherit; font-style: normal; font-size: 15.5px; color: #161616; border: 0; border-bottom: 1px solid #999; background: transparent; padding: 0 2px; margin: 0 10px 0 4px; }
.filter { font-size: 16px; margin: 14px 0 0; }
.none { margin: 26px 0; font-style: italic; }

.result { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 34px; padding: 26px 0 24px; border-bottom: 1px solid #cfcfcf; }
.when { font-variant: small-caps; letter-spacing: .06em; font-size: 16px; line-height: 1.4; padding-top: 6px; }
.rank { color: #800000; letter-spacing: 2px; }
.rank b { color: #dccfcf; font-weight: 400; }
.when .rank { display: block; margin-top: 6px; font-size: 14px; }
.when .subj { display: block; font-variant: normal; letter-spacing: 0; font-style: italic; color: #555; font-size: 15px; margin-top: 4px; }
.result h2 { font-weight: 700; font-size: 26px; line-height: 1.2; margin: 0 0 10px; }
.result h2 a { text-decoration: none; }
.result .tweet { margin: 0 0 12px; font-size: 19.5px; }
.result blockquote { margin: 0 0 12px 1.6em; font-size: 16.5px; line-height: 1.5; color: #333; }
.result blockquote p { margin: 0; text-indent: -.42em; }
.src { font-size: 15.5px; color: #555; margin: 0; }
.src cite { font-style: italic; }
mark { background: none; color: inherit; font-weight: 700; }
.doc h2 { font-style: italic; font-weight: 600; font-size: 23px; }
.snip { font-size: 17px; margin: 0 0 10px; overflow-wrap: anywhere; }
.snip b.pg { font-variant: small-caps; font-weight: 400; color: #800000; margin-right: 6px; letter-spacing: .05em; }
.more { display: flex; justify-content: center; gap: 30px; margin: 30px 0 0; font-variant: small-caps; letter-spacing: .08em; }
.more span { color: #555; }

/* One news item */
article { display: grid; grid-template-columns: minmax(0, 1fr) 250px; column-gap: 52px; }
article .main { grid-column: 1; }
article h1 { font-size: 40px; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 22px; padding: 0; border: 0; }
article .tweet { font-size: 23px; line-height: 1.5; margin: 0 0 28px; }
article blockquote { margin: 0 0 0 2em; font-size: 18px; line-height: 1.55; }
article blockquote p { margin: 0; text-indent: -.42em; }
article blockquote footer { margin-top: 6px; font-size: 15.5px; color: #555; }
article blockquote footer cite { font-style: italic; }
aside { grid-column: 2; grid-row: 1; font-size: 15.5px; line-height: 1.45; border-top: 1px solid #161616; padding-top: 10px; align-self: start; }
aside dl { margin: 0; }
aside dt { font-variant: small-caps; letter-spacing: .07em; color: #800000; font-size: 15px; margin-top: 14px; }
aside dt:first-child { margin-top: 0; }
aside dd { margin: 2px 0 0; }
aside dd span { color: #666; }
aside .rank { letter-spacing: 3px; }
aside .links { margin-top: 18px; padding-top: 10px; border-top: 1px solid #cfcfcf; }
aside .links a { display: block; margin-bottom: 4px; }

/* One document */
h1.doctitle { font-size: 34px; font-style: italic; font-weight: 600; border: 0; padding: 0; margin: 0 0 8px; }
.docmeta { font-size: 16px; color: #555; margin: 0 0 8px; }
.note { font-size: 16px; font-style: italic; color: #555; margin: 0 0 8px; }
.docpage { border-top: 1px solid #cfcfcf; margin-top: 26px; padding-top: 6px; }
.docpage h2.pg { font-size: 15px; font-weight: 400; font-variant: small-caps; letter-spacing: .08em; color: #800000; margin: 0 0 8px; }
.docpage .text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 17px; line-height: 1.5; max-width: 760px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  header.site { padding: 16px 18px; flex-wrap: wrap; gap: 4px 16px; }
  .logo { font-size: 19px; letter-spacing: 5px; }
  header.site nav { font-size: 19px; }
  .page { padding: 0 18px 60px; }
  h1 { font-size: 32px; }
  .series { display: block; }
  .series .back { display: block; margin-top: 2px; }
  .searchbox .row { padding: 14px 14px 16px; }
  .searchbox input[type=search] { font-size: 20px; }
  .searchbox .row { gap: 10px; }
  .result { display: block; padding: 20px 0; }
  .when { padding: 0 0 6px; }
  .when .rank, .when .subj { display: inline; margin: 0 0 0 10px; }
  .result h2 { font-size: 22px; }
  .result .tweet { font-size: 18px; }
  .refine select { margin-right: 6px; max-width: 100%; }
  .views a { margin-right: 16px; }
  article { display: block; }
  article h1 { font-size: 29px; }
  article .tweet { font-size: 20px; }
  article blockquote { margin-left: 1.2em; font-size: 17px; }
  aside { margin-top: 30px; }
  h1.doctitle { font-size: 26px; }
  .docpage .text { font-size: 15.5px; }
}

/* "You are now leaving larrysanger.org" notice for links found in documents (script.js). */
dialog.leaving { max-width: 460px; border: 1px solid #161616; border-radius: 0; padding: 26px 30px 20px; font-size: 18px; color: #161616; }
dialog.leaving::backdrop { background: rgba(0, 0, 0, .35); }
dialog.leaving p { margin: 0 0 12px; }
dialog.leaving .lead { font-weight: 700; font-size: 22px; border-bottom: 3px double #161616; padding-bottom: 8px; }
dialog.leaving .dest { font-size: 15px; color: #555; overflow-wrap: anywhere; }
dialog.leaving label { display: block; font-size: 16px; margin: 4px 0 16px; }
dialog.leaving .buttons { text-align: right; margin: 0; }
dialog.leaving button { font: inherit; font-size: 16px; font-variant: small-caps; letter-spacing: .06em; padding: 7px 16px; border: 1px solid #800000; background: #fff; color: #800000; cursor: pointer; border-radius: 0; }
dialog.leaving button.go { background: #800000; color: #fff; margin-left: 8px; }
.docpage a.ext { color: #1d4f91; text-decoration-color: #9bb2d1; }
