@font-face {
  font-family: "Elena";
  src: url("../assets/fonts/elenawebbasicregular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Elena";
  src: url("../assets/fonts/elenawebbasicregularitalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Elena";
  src: url("../assets/fonts/elenawebbasicbold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Elena";
  src: url("../assets/fonts/elenawebbasicbolditalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Klavika";
  src: url("../assets/fonts/klavikawebregularcond.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Klavika";
  src: url("../assets/fonts/klavikawebregularconditalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Klavika";
  src: url("../assets/fonts/klavikawebboldcond.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  color: #000;
  background: #fff;
  font-family: "Elena", Georgia, Times, "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.4em;
  font-variant-ligatures: common-ligatures contextual;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: #ff6600;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
}

h1 {
  font-style: italic;
  font-weight: 400;
  font-size: 2.5em;
  line-height: 0.9em;
  margin: 0;
}

h2 {
  font-weight: 400;
  font-size: 2em;
  line-height: 1em;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

h3 {
  font-style: italic;
  font-weight: 400;
  font-size: 1.6em;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

h1 a {
  text-decoration: none;
}

h1.link-title {
  font-weight: 400;
  font-size: 1.7em;
  line-height: 1em;
  margin-bottom: 0;
}

p {
  font-size: 1em;
  margin: 1.4rem 0;
}

em {
  font-style: italic;
}

strong,
b {
  font-weight: 700;
  color: #111;
}



#colors {
  float: left;
  position: fixed;
  top: 0;
  left: 0;
  width: 0.5rem;
  height: 25rem;
}

#colors svg {
  width: 100%;
  height: 100%;
}

#scotts_thoughts {
  position: absolute;
  top: 1.1rem;
  left: 4.5rem;
  font-size: 1.1rem;
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  margin-left: -2.3em;
  color: #000;
  text-shadow: -1px -1px 1px #fff;
}

#scotts_thoughts > a {
  text-decoration: none;
}

#page_content {
  margin: 3.3rem 2rem 1rem 2rem;
  height: 100%;
}

.about,
.page-navigation {
  width: 72vw;
  max-width: 35rem;
}

.about h2 {
  margin-bottom: 0rem;
}

.about h2 a {
  text-decoration: none;
  color: inherit;
}

.about > h3 {
  margin-top: 3rem;
  color: #666;
  font-size: 1.2em;
  margin-bottom: 1rem;
}

.about > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about > ul > li {
  margin-bottom: 0.5rem;
}

.about > ul a {
  color: #00698f;
  text-decoration: none;
}

.about > ul a:hover {
  text-decoration: underline;
  text-decoration-color: #ff6600;
}

.about.page-info > .e-content > h1:first-child {
  font-style: normal;
  font-weight: 400;
  font-size: 2em;
  line-height: 1em;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

article {
  margin-bottom: 4em;
}

article p,
article ul li,
article td,
article th,
article dd,
article dt,
.unfurl,
.unfurl-description,
.post-body,
.link-body {
  font-variant-ligatures: common-ligatures contextual;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
}

article ul,
article ol,
article blockquote {
  margin-left: 2em;
  margin-right: 2em;
}

article ul {
  list-style: disc outside;
}

article ol {
  list-style: decimal outside;
}

article img {
  max-width: 100%;
  height: auto;
}

.post-body {
  margin-top: 1.4rem;
}

.post-body h1 {
  font-style: normal;
  font-size: 2.5em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-body > img {
  display: block;
  margin: 1.4rem 0;
}

#posts > article.post hr {
  border: 0;
  border-top: 1px solid #d9d9d9;
  margin: 1.2rem 0 0;
}

#posts > article.post > .post-tags {
  margin-top: 1.2rem;
}

article blockquote {
  font-style: italic;
  color: #525252;
  border-left: 4px solid #fdba74;
  padding: 0.2rem 1.5rem;
  margin: 1.4rem 1em;
}

article blockquote p:first-child {
  margin-top: 0;
}

article blockquote p:last-child {
  margin-bottom: 0;
}

.link {
  margin-bottom: 3em;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.link-body {
  margin-top: 0.5rem;
}

article.link:not(.no-title) .link-body {
  margin-top: 0;
}

article.no-title {
  margin-top: 0;
  padding-top: 0;
}

article.link {
  padding-bottom: 0.3rem;
}

.post-metadata {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8em;
  color: rgba(0, 0, 0, 0.6);
}

.post-metadata-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.permalink {
  text-decoration: none;
  color: inherit;
}

.post-date {
  font-family: "Elena", Georgia, Times, "Times New Roman", serif;
  font-size: 0.8em;
  font-weight: 700;
  font-style: italic;
  color: gray;
  line-height: 1.8em;
  margin-top: 0;
}

.post-date-header {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.post-tags {
  margin-bottom: 0;
  font-family: "Elena", Georgia, Times, "Times New Roman", serif;
}

.post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 2.6px 0.25rem 3px 0.25rem;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  font-variant: all-small-caps;
  letter-spacing: 0.05em;
  line-height: 1;
  background-color: #fff;
  color: #999;
  text-decoration: none;
  transition: all 150ms ease-in-out;
  border: 1px solid #999;
  text-transform: none;
}

.post-tag:hover {
  color: #555;
  border-color: #555;
  background-color: #e8f4f8;
  text-decoration: none;
}

.unfurl-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin: 1.4rem 0;
}

.unfurl {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.unfurl-link:hover,
.unfurl-link:hover * {
  text-decoration: none;
}

.unfurl-link:hover .unfurl {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.unfurl-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.91 / 1;
  background: #f5f5f5;
  overflow: hidden;
}

.unfurl-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unfurl-content {
  display: block;
  padding: 0.8rem 1.2rem;
  background-color: #e0e1e1;
}

.unfurl-title {
  display: block;
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 0.4rem 0;
  color: inherit;
}

.unfurl-description {
  display: block;
  font-size: 0.8em;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 0.6rem 0;
}

.unfurl-meta {
  font-size: 0.8em;
  color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 0.6rem;
}

.unfurl-url {
  color: rgba(0, 0, 0, 0.45);
}


.page-navigation {
  margin: 0;
  padding-top: 0;
  border-top: 1px solid #e5e5e5;
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

.nav-section:last-child {
  border-bottom: none;
  padding-bottom: 2rem;
}

.nav-section-title {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85em;
  font-style: italic;
  color: #888;
  margin-bottom: 0.6rem;
}

.nav-links {
  display: block;
  text-align: center;
}

.nav-links a {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  color: #00698f;
  font-size: 1em;
  display: inline-block;
  margin: 0 1rem 0 0;
}

.nav-links a:last-child {
  margin-right: 0;
}

.nav-links .pagination {
  display: block;
  width: 100%;
  margin: 0 0 1em 0;
  text-align: center;
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav-links .pagination a {
  margin: 0;
  display: inline;
  font-size: 1.5em;
}

.nav-links .pagination span {
  display: none;
}

.nav-links .pagination a:not(:last-child)::after {
  content: "•";
  color: #ff6600;
  font-weight: 700;
  display: inline-block;
  margin: 0 0.24em;
}

.tags-header {
  margin-bottom: 3rem;
}

.tags-header h1 {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-size: 2.5em;
  line-height: 0.9em;
}

.tags-hierarchy {
  max-width: 60rem;
  line-height: 1.6;
}

[class^="tag-level-"] {
  margin-bottom: 0.5rem;
}

.tag-entry-link {
  text-decoration: none;
  color: inherit;
}

.tag-name {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tag-count {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  color: #666;
  font-size: 0.9em;
  margin-left: 0.5rem;
}

.tag-level-0 > .tag-entry-link .tag-name {
  font-size: 1.6em;
  font-style: italic;
}

.tag-level-1 > .tag-entry-link .tag-name {
  font-size: 1.2em;
}

.tag-children {
  margin-left: 2rem;
}


.site-footer {
  margin: 4rem 0 2rem 0;
}

.copyright {
  margin-left: 5rem;
  color: #888;
  font-size: 0.8em;
}

.all-small-caps {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.03em;
  font-weight: 500;
  font-size: 1.15em;
}

.star-rating {
  letter-spacing: 0.06em;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 24px;
  }

  #posts {
    width: 72vw;
    max-width: 35rem;
  }

  #page_content {
    margin: 2rem 2rem 2rem 5rem;
  }

  #scotts_thoughts {
    position: fixed;
    top: 4.9rem;
    left: 0.7rem;
    transform: rotate(270deg);
  }

  .unfurl-link {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  #page_content {
    margin: 3.3rem 2rem 1rem 2rem;
  }

  #scotts_thoughts {
    left: 4.5rem;
    top: 1.1rem;
    margin-left: -2.3em;
  }

  #scotts_thoughts > a {
    font-size: 1.1rem;
  }

  .link {
    padding: 1rem;
  }

  .post-metadata {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .page-navigation,
  #posts {
    width: 100%;
    max-width: none;
  }

  .nav-links a {
    margin: 0 0.7rem 0 0;
  }

  .tag-children {
    margin-left: 1.5rem;
  }

  .site-footer {
    margin: 2rem 0;
  }

  .copyright {
    margin-left: 2rem;
    font-size: 0.75em;
  }
}

/* ST-Colors rules moved from layout inline <style> block */
.about.page-about > .e-content > h3 {
  color: #666;
  font-size: 1.2em;
  margin-bottom: 1rem;
}

.about.page-info > .e-content > h1:first-child {
  margin-bottom: 2rem;
}

.link-body {
  margin-left: 0;
}

.tag-header {
  margin-bottom: 3rem;
}

.tag-header h1 {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.6em;
  line-height: 1.2em;
}

.tag-posts {
  max-width: 60rem;
}

.tag-post {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.tag-post-date {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #666;
  grid-column: 1;
}

.tag-post-content {
  grid-column: 2;
}

.tag-post-title {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.3em;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.tag-post-title a {
  text-decoration: none;
  color: inherit;
}

.tag-post-title a:hover {
  text-decoration: underline;
  text-decoration-color: #ff6600;
}

.tag-post-summary {
  color: #444;
  font-size: 0.85em;
  line-height: 1.4;
}

.tags-hierarchy {
  display: flex;
  flex-direction: column;
}

.tags-hierarchy > .tag-level-0 {
  order: 100;
}

.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/belmont/"]) { order: 1; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/culture/"]) { order: 2; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/enshittification/"]) { order: 3; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/entertainment/"]) { order: 4; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/family/"]) { order: 5; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/meta/"]) { order: 6; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/photography/"]) { order: 7; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/poker/"]) { order: 8; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/politics/"]) { order: 9; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/ratings/"]) { order: 10; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/science/"]) { order: 11; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/serrano/"]) { order: 12; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/sports/"]) { order: 13; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/technology/"]) { order: 14; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/travel/"]) { order: 15; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/vehicles/"]) { order: 16; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/voltage/"]) { order: 17; }
.tags-hierarchy > .tag-level-0:has(> .tag-entry-link[href$="/writing/"]) { order: 18; }

.series-list {
  max-width: 60rem;
  display: flex;
  flex-direction: column;
}

.series-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
  order: 100;
}

.series-section:last-child {
  border-bottom: none;
}

.series-section:has(.series-header a[href$="/minnie-and-the/"]) { order: 1; }
.series-section:has(.series-header a[href$="/laid-off-tour-2009/"]) { order: 2; }
.series-section:has(.series-header a[href$="/des-moines-2003-road-trip/"]) { order: 3; }

.series-header h2 {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2em;
  line-height: 1em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.series-header h2 a {
  text-decoration: none;
  color: inherit;
}

.series-header h2 a:hover {
  text-decoration: underline;
  text-decoration-color: #ff6600;
}

.series-description {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1.1em;
}

.series-posts {
  margin-left: 2rem;
  display: flex;
  flex-direction: column-reverse;
}

.year-post {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.year-post--regular .year-post-title {
  font-weight: 500;
}

.year-post-date {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #666;
  grid-column: 1;
}

.year-post-content {
  grid-column: 2;
}

.year-post-title {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1em;
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.year-post-title a {
  text-decoration: none;
  color: inherit;
}

.year-post-title a:hover {
  text-decoration: underline;
  text-decoration-color: #ff6600;
}


main .page-header {
  margin-bottom: 2rem;
  max-width: 60rem;
}

main .page-header h1 {
  margin-bottom: 0.5rem;
}

main .page-header .series-description {
  margin-top: 0.5rem;
}

.page-navigation a {
  font-family: "Klavika", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  color: #00698f;
}

.page-navigation a:hover {
  text-decoration: underline;
  text-decoration-color: #ff6600;
}

.series-back-nav {
  padding-top: 0.45rem;
}


@media (max-width: 768px) {
  .tag-post {
    grid-template-columns: 5em 1fr;
    gap: 0.5rem;
  }

  .series-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .series-header h2 {
    font-size: 1.6em;
  }

  .series-description {
    font-size: 1em;
  }

  .series-posts {
    margin-left: 1rem;
  }

  .year-post {
    grid-template-columns: 5em 1fr;
    gap: 0.5rem;
  }
}


/* ST-Colors post image parity overrides */
.post-body img {
  box-shadow: .25em .25em 1em #555555;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 1.5rem 0;
}

@media screen and (min-width: 768px) {
  .post-body img:not([alt=""]) {
    max-width: 80%;
    margin: 1.5rem auto;
    display: block;
  }
}

.post-body img[alt=""] {
  border: solid 2px #000000;
  max-width: 100%;
  box-sizing: content-box;
  margin-right: -4px;
}

/* ST-Colors code block + inline code parity */
pre {
  font-family: monospace;
  background-color: rgba(220, 220, 220, 0.5);
  border-radius: 4px;
  padding: 1rem;
  margin: 0;
  overflow-x: auto;
  box-sizing: content-box;
}

code {
  font-family: consolas, courier, monospace;
  font-size: 0.8rem;
  line-height: 1rem;
  box-sizing: content-box;
}

pre code {
  font-size: 0.6rem;
  line-height: 0.8rem;
  display: block;
}

:not(pre) > code {
  background-color: rgba(220, 220, 220, 0.5);
  border-radius: 2px;
  padding: 0 2px;
  word-wrap: break-word;
}

pre code,
pre code * {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}