/* ============================================================
   Burgle — a personal search engine. Full 1998-Google nostalgia.
   ============================================================ */
html, body { margin: 0; }

/* ---- The Banned Words Bin: bleeped words (redaction bar, hover to reveal) ---- */
a.bleep {
  color: inherit !important; cursor: help;
  text-decoration: underline wavy #c0392b !important;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
a.bleep::after { content: "*"; color: #c0392b; font-weight: bold; font-size: .72em; vertical-align: super; }
a.bleep:hover, a.bleep:focus { background: rgba(192,57,43,.12) !important; }
.banned-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 1.4em 0; }
.banned-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 11px; border: 1px solid #e4e4e4; border-radius: 4px; background: #fafafa; font-size: 15px; }
.banned-word { font-family: "Courier New", monospace; color: #222; }
.banned-word.is-spared { color: #888; }
.banned-status { font: bold 10px Arial, sans-serif; letter-spacing: .5px; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; white-space: nowrap; background: #c0392b; color: #fff; }
.banned-status.is-spared { background: #2e7d32; }
.banned-status.is-literal { background: #000; }
.banned-status.is-review { background: #b8860b; }
body { font-family: Arial, Helvetica, sans-serif; color: #000; background: #fff; }

/* --- Wordmark (Google's six colours, 2001 palette) --- */
.wordmark, .logo {
  font-family: Georgia, "Times New Roman", serif; font-weight: bold; letter-spacing: -2px;
}
.wordmark .b1, .logo .b1 { color: #3366cc; }   /* B blue   */
.wordmark .u,  .logo .u  { color: #dd3311; }   /* u red    */
.wordmark .r,  .logo .r  { color: #ffcc22; }   /* r yellow */
.wordmark .g,  .logo .g  { color: #3366cc; }   /* g blue   */
.wordmark .l,  .logo .l  { color: #119933; }   /* l green  */
.wordmark .e,  .logo .e  { color: #dd3311; }   /* e red    */
.wordmark .tm, .logo .tm { font-size: .22em; vertical-align: super; color: #777; margin-left: 2px; letter-spacing: 0; text-shadow: none; -webkit-text-stroke: 0; }

/* ============================================================
   HOME
   ============================================================ */
body.home { text-align: center; }
.home-wrap { padding-top: 13vh; }

/* Big logo with the chunky 2001 drop shadow */
.wordmark.big {
  font-size: 96px; line-height: 1; margin: 0 0 34px; font-weight: normal;
  text-shadow: 2px 2px 0 rgba(0,0,0,.08), 3px 4px 5px rgba(0,0,0,.32);
}

/* Tagline under the logo (personality) */
.home .tagline { font-family: Arial, sans-serif; font-size: 13px; color: #777; font-style: italic; margin: -26px 0 22px; }

/* "Search N things…" line above the box */
.searchcount { font-family: Arial, sans-serif; font-size: 13px; color: #000; margin: 0 0 6px; }

/* Search box + Advanced/Preferences to the right */
.boxrow { display: inline-flex; align-items: flex-start; justify-content: center; gap: 8px; }
.box {
  width: 480px; max-width: 78vw; height: 19px; box-sizing: content-box;
  padding: 4px 6px; font-size: 15px; font-family: Arial, sans-serif;
  /* sunken/inset bevel like a Win9x text field */
  border: 1px solid; border-color: #848484 #d9d9d9 #d9d9d9 #848484; outline: 0;
}

/* Beveled grey buttons (raised) */
.buttons { margin-top: 14px; }
.btn {
  display: inline-block; font-family: Arial, sans-serif; font-size: 13px; color: #000; text-decoration: none;
  background: #e8e8e8; padding: 4px 13px; margin: 0 4px; cursor: pointer; border-radius: 0;
  border: 1px solid; border-color: #f7f7f7 #888 #888 #f7f7f7;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c4c4c4;
}
.btn:active { border-color: #888 #f7f7f7 #f7f7f7 #888; box-shadow: inset 1px 1px 0 #c4c4c4; }

/* Footer dash-links = our category nav */
.footlinks { margin: 72px 0 10px; font-size: 14px; }
.footlinks a { color: #1a0dab; text-decoration: underline; }
.copyright { font-size: 12px; color: #000; margin: 0 0 30px; }
.copyright a { color: #1a0dab; text-decoration: underline; }

/* ============================================================
   SERP (results, sections, tags, single)
   ============================================================ */
.top { display: flex; align-items: center; padding: 18px 20px 0 0; }
.logo { flex: 0 0 192px; box-sizing: border-box; padding-left: 20px; font-size: 30px; font-weight: normal; letter-spacing: -1px; text-decoration: none; text-shadow: 1px 1px 0 rgba(0,0,0,.08), 2px 2px 3px rgba(0,0,0,.30); }
.sbox {
  display: flex; align-items: center; border: 1px solid #b9b9b9; border-radius: 1px;
  height: 32px; width: 540px; max-width: 55vw; padding: 0 10px; box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.sbox .mag { color: #9aa0a6; margin-right: 8px; }
.sbox input { border: 0; outline: 0; flex: 1; font-size: 15px; font-family: Arial, sans-serif; }
.sbtn {
  margin-left: 8px; background: linear-gradient(#f9f9f9, #ececec); border: 1px solid #c6c6c6;
  border-radius: 2px; font-size: 13px; padding: 7px 12px; color: #333; cursor: pointer;
}

/* the Google result-type tabs */
.tabs { display: flex; gap: 24px; padding: 10px 20px 0 192px; font-size: 13px; border-bottom: 1px solid #ebebeb; }
.tabs a { text-decoration: none; color: #5f6368; padding: 0 0 10px; border-bottom: 3px solid transparent; }
.tabs a:hover { color: #1a0dab; }
.tabs a.active { color: #1a0dab; border-bottom-color: #1a0dab; font-weight: bold; }

.stats { padding: 10px 20px 4px 192px; color: #70757a; font-size: 13px; }

.results { padding: 8px 20px 40px 192px; max-width: 650px; }
.result { margin: 0 0 26px; }
.crumb { font-size: 13px; color: #006621; line-height: 1.3; }
.crumb .star { color: #bbb; }
.title { font-size: 19px; line-height: 1.3; margin: 1px 0 2px; font-weight: normal; }
.title a { color: #1a0dab; text-decoration: none; }
.title a:visited { color: #660099; }
.title a:hover { text-decoration: underline; }
.snippet { font-size: 13.5px; color: #4d5156; line-height: 1.45; }
.snippet .date { color: #70757a; }
.snippet a { color: #1a0dab; }
.meta { font-size: 12px; color: #70757a; margin-top: 3px; }
.meta .tag { color: #1a0dab; text-decoration: none; }
.meta .tag:hover { text-decoration: underline; }
.noresults { padding: 4px 0; color: #70757a; font-size: 14px; }

.pager { padding: 16px 20px 60px 192px; color: #1a0dab; font-size: 14px; }
.pager a { color: #1a0dab; text-decoration: none; }
.pager a:hover { text-decoration: underline; }
.pager .ogo { font-family: Georgia, serif; font-size: 22px; letter-spacing: 1px; color: #777; }
.pager .ogo b { color: #000; }

/* ============================================================
   SINGLE ENTRY (the opened result + flexible gallery)
   ============================================================ */
.entry { padding: 18px 20px 60px 192px; max-width: 720px; }
.entry-title { font-size: 26px; font-weight: normal; color: #1a0dab; margin: 4px 0 2px; }
.entry-years { color: #70757a; font-size: 13px; margin: 0 0 12px; }
.entry-summary { font-size: 17px; color: #202124; line-height: 1.6; }
.entry-links a { color: #1a0dab; text-decoration: none; margin-right: 14px; font-size: 16px; }
.entry-body { font-size: 16.5px; line-height: 1.72; color: #202124; }
.entry-body p { margin: 0 0 1.1em; }
.entry-body table { border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.entry-body th, .entry-body td { border: 1px solid #e0e0e0; padding: 7px 11px; text-align: left; vertical-align: top; }
.entry-body th { background: #f5f5f5; font-weight: bold; }
.entry-body pre { background: #f5f5f5; padding: 12px 14px; overflow-x: auto; font-size: 14px; line-height: 1.45; }
.entry-body code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: #f0f0f0; padding: 1px 4px; border-radius: 3px; }
.entry-body pre code { background: none; padding: 0; }

/* Footnotes (Goldmark) — a tidy endnotes block, numbers superscripted in-text */
.entry-body sup .footnote-ref { text-decoration: none; color: #1a0dab; padding: 0 1px; }
.entry-body .footnotes { margin-top: 36px; font-size: 16px; color: #4d5156; }
.entry-body .footnotes hr { border: 0; border-top: 1px solid #e4e4e4; margin: 0 0 14px; }
.entry-body .footnotes ol { margin: 0; padding-left: 22px; }
.entry-body .footnotes li { margin: 0 0 9px; line-height: 1.6; }
.entry-body .footnotes li::marker { color: #70757a; }
.entry-body .footnotes p { margin: 0; }
.entry-body .footnote-backref { text-decoration: none; margin-left: 5px; color: #1a0dab; }
/* Inline images sit in the story column, at a sensible size */
.entry .inline { margin: 18px 0; max-width: 480px; }
.entry .inline img { max-width: 100%; height: auto; display: block; border: 1px solid #e4e4e4; }
.entry .inline figcaption { font-size: 16px; color: #70757a; line-height: 1.45; margin-top: 6px; }
.entry .inline-img { max-width: 100%; height: auto; }
.entry .video { max-width: 380px; }
.entry .video video { width: 100%; height: auto; display: block; border: 1px solid #e4e4e4; background: #000; }

/* YouTube video wall (the videos section) */
.video-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 14px; margin: 20px 0; }
.video-wall .vid { text-decoration: none; }
.video-wall .vid img { width: 100%; height: auto; display: block; border: 1px solid #e4e4e4; }
.video-wall .vid-title { display: block; font-size: 13px; line-height: 1.35; margin-top: 6px; color: #1a0dab; }
.video-wall .vid:hover .vid-title { text-decoration: underline; }

/* Full-width photo wall — tidy masonry, breaks out of the indented column */
.gallery-full { padding: 6px 24px 56px; }
.gallery { column-width: 240px; column-gap: 14px; }
.gallery .shot { break-inside: avoid; margin: 0 0 14px; }
.gallery img { width: 100%; height: auto; display: block; border: 1px solid #e4e4e4; }
.gallery figcaption { font-size: 16px; color: #70757a; line-height: 1.45; margin-top: 6px; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 700px) {
  /* Pull the SERP back to a single indent (drop the 192px logo column) */
  .tabs, .stats, .results, .pager, .entry { padding-left: 16px; }
  .stats, .results, .pager, .entry { padding-right: 16px; }
  .results, .entry { max-width: 100%; box-sizing: border-box; }

  /* Top bar: logo + a search box that fills the rest of the row */
  .top { padding: 14px 16px 0; }
  .logo { flex: 0 0 auto; padding-left: 0; margin-right: 12px; font-size: 26px; }
  .sbox { width: auto; flex: 1 1 auto; min-width: 0; max-width: none; }

  /* The nav: let the 8 tabs wrap instead of forcing the page wider than the screen */
  .tabs { flex-wrap: wrap; gap: 9px 16px; padding: 10px 16px 0; }
}

@media (max-width: 430px) {
  /* Home: the 96px wordmark is wider than a phone — shrink it and tighten the top gap */
  .wordmark.big { font-size: 17vw; margin-bottom: 22px; }
  .home-wrap { padding-top: 9vh; }
  .box { max-width: 86vw; }
}
