/* Chota overrides */
:root {
  --bg-color: #f7f7f7;
  --bg-secondary-color: #f3f3f6;
  --color-primary: #AA2222;
  --color-lightGrey: #d2d6dd;
  --color-grey: #747681;
  --color-darkGrey: #3f4144;
  --color-error: #d43939;
  --color-success: #28bd14;
  --grid-maxWidth: 120rem;
  --grid-gutter: 2rem;
  --font-size: 14pt;
  --font-color: #333333;
  --font-family-sans: sans-serif;
  --font-family-mono: monaco, "Consolas", "Lucida Console", monospace; }

/* Custom */
#container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-top: 2rem;
  max-width: 1600px; }

#header {
  flex: 1 1 200px;
  margin: 0 auto;
  max-width: 100%;
  /*padding: 0 12px 12px 12px;*/
  text-align: center; }
  #header h1 {
    font-size: 130%;
    margin: 5px; }
  #header #site-title {
    margin-bottom: 0;
    margin-top: 0;
    text-align: center; }
  #header a {
    border-width: 0px;
    display: inline-block;
    margin-top: 0.3rem; }
    #header a[href="/"] {
      background: initial; }
    #header a#current {
      color: black; }
      #header a#current:hover {
        background: initial; }
      #header a#current img {
        border-width: 0px; }
    #header a #logo {
      border-width: 0px; }
  #header img {
    max-width: 100px;
    border-radius: 50%;
    /* Circle on desktop */ }
  #header nav {
    margin: 0 auto;
    width: fit-content; }

#content {
  flex: 1 1 70%;
  max-width: 100%;
  /* Commented out - get Z image transparently behind the text */
  /*
  > main:nth-child(3) {
    position: relative;
    backround-image: url('/zman_censored.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-shadow: 1px 1p 2px rgba(0, 0, 0, 0.8);
    paddin: 20px
  }

  main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: (0, 0, 0, 0.5);
    z-index: 1;
  }

  main > * {
    position: relative;
    z-index: 2;
  }
  */ }
  #content > h2 {
    margin-top: unset; }
  #content h1 {
    font-variant: small-caps;
    margin-top: 0;
    padding-top: 0;
    /*text-align: center;*/ }
  #content h2 {
    font-variant: small-caps;
    margin-top: 2rem;
    margin-bottom: 0.5ch; }
    #content h2.post-title {
      border-bottom: unset;
      margin: 0 auto 1rem auto;
      max-width: 50ch; }
  #content .comments-heading {
    border-bottom: none;
    font-variant: unset;
    text-align: left; }
  #content #columns {
    display: flex;
    flex-wrap: wrap; }
    #content #columns h2 {
      border-bottom: unset;
      /*border-bottom: 1px solid #999;*/
      /*padding-bottom: 10px;
      margin-bottom: 30px;*/
      margin-top: 4ch;
      text-align: left; }
    #content #columns nav {
      margin: 0 0 2rem 0;
      /*min-width: 200px;*/
      padding: 0 32px; }
      #content #columns nav ul {
        list-style-type: none;
        padding-left: 0; }
    #content #columns main {
      flex: 1 1 70%;
      width: 100%; }
    #content #columns aside {
      flex: inherit;
      margin: 0 auto;
      margin-bottom: 3rem;
      max-width: 50ch;
      padding: 0 12px; }

#footer {
  border-top: 1px solid #ccc;
  flex: 0 0 100%;
  margin-top: 4rem;
  padding-top: 2rem; }

#banner {
  background-image: url("/ThierschLudwig_AlaricAAthenes.jpg");
  background-position: 50% 40%;
  height: 100px;
  margin-bottom: 3rem;
  width: 100%; }

img[src*="/Ludwig.jpg"] {
  border: 0px solid black;
  background: yellow; }

.back-to-top {
  text-align: center; }

a {
  color: #A22; }
  a:hover {
    background: #eee;
    /*text-transform: uppercase;*/ }

a.audio-dl {
  vertical-align: top; }

p.back-to-top {
  margin-top: 5rem;
  text-align: center;
  width: 100%; }

blockquote {
  border-left: 2px solid #ccc;
  margin: 20px 0 20px 20px;
  padding: 10px; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 2rem;
  margin-bottom: 1rem; }

hr {
  border-top: 1px solid #aaa;
  border-bottom: 0;
  margin: 50px; }

.article-tag {
  color: #A22;
  padding: 0.1rem 0.25rem; }

audio {
  display: block;
  height: auto;
  margin-top: 1rem;
  margin-bottom: 4rem;
  width: 100%; }

video {
  display: block;
  height: auto;
  margin-bottom: 2ch;
  max-width: 100%;
  width: 600px; }

.text-center {
  text-align: center; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 0 2ch 1ch 2ch; }
  .post-meta dt {
    display: inline-flex;
    font-weight: bold;
    margin: 0;
    padding-right: 1ch;
    vertical-align: middle; }
    .post-meta dt::after {
      content: " "; }
  .post-meta dd {
    display: inline;
    margin: 0; }

section.body {
  line-height: 20pt;
  margin: 0 auto 2rem auto;
  max-width: 70ch; }
  section.body h2 {
    font-size: 18pt; }
  section.body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0; }
  section.body > p:first-of-type::first-letter {
    font-size: 3em;
    float: left;
    margin-right: 0.1em; }

main.no-dropcap p:first-of-type:first-letter {
  font-size: unset;
  float: unset;
  margin-right: unset; }

main.no-dropcap section.body {
  margin: initial;
  max-width: initial; }

.hr {
  border-bottom: 1px solid black;
  margin: 0 auto 1rem auto; }

/* Aside / Comments */
.metadata-stats .unique-usernames::before {
  content: "Commenters: "; }

.metadata-stats .root-comments::before {
  content: "Root comments: "; }

.metadata-stats .nested-comments::before {
  content: "Nested comments: "; }

.metadata-stats .total-upvotes::before {
  content: "Total upvotes: "; }

.metadata-stats .total-downvotes::before {
  content: "Total downvotes: "; }

.comment {
  font-size: 13pt;
  padding-top: 1rem; }
  .comment .comment-author {
    font-weight: bold; }
  .comment .comment-id {
    color: #777; }
    .comment .comment-id::after {
      content: ")"; }
    .comment .comment-id::before {
      content: "("; }
  .comment .comment-date {
    color: #777; }
  .comment .comment-votes {
    color: #333; }
    .comment .comment-votes::after {
      content: " pts]"; }
    .comment .comment-votes::before {
      content: "["; }

#comments {
  column-count: 1;
  column-gap: 1rem; }
  #comments h3 {
    display: none; }

.comment {
  border-left: 1px solid #aaa; }
  .comment.level-0 {
    border-left: unset;
    break-inside: avoid-column; }
  .comment[class*="level-"]:not(.level-0) {
    margin-left: 1px;
    padding-left: 6px; }
  .comment .comment-author.thezman {
    background: gold; }

.button {
  display: block;
  outline: 0;
  text-align: center;
  cursor: pointer;
  padding: 5px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: middle;
  border: 1px solid;
  color: #A22;
  max-width: 100%;
  margin: 1ch;
  background-color: #fafbfc;
  border-color: #222;
  box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px 0px inset;
  transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  transition-property: color, background-color, border-color; }
  .button:hover {
    color: #ffffff;
    background-color: #A22;
    border-color: #A22;
    box-shadow: rgba(27, 31, 35, 0.1) 0px 1px 0px 0px, rgba(255, 255, 255, 0.03) 0px 1px 0px 0px inset;
    transition-duration: 0.1s; }

.editor-note, .note {
  background: #eee;
  padding: 0.1rem 1rem; }
  .editor-note p, .note p {
    font-size: 85%;
    line-height: 140%; }
  .editor-note p:first-of-type::first-letter, .note p:first-of-type::first-letter {
    float: unset;
    font-size: 100%;
    margin: unset; }

.note p {
  font-size: 100%;
  line-height: 140%; }

@media screen and (max-width: 1000px) {
  #comments {
    column-count: 1; }
  #content {
    flex: 1 1 100%; }
    #content > h2 {
      margin-top: unset; }
    #content #columns nav {
      border: 1px solid #aaa;
      margin: 2rem auto;
      order: 3; }
    #content #columns aside {
      border: 1px solid #aaa;
      padding-bottom: 2rem;
      order: 2; }
    #content #columns section.body {
      order: 1; } }

/* Grid */
.grid {
  display: flex;
  flex-flow: wrap; }
  .grid .grid-item {
    width: 150px;
    text-align: center; }
  .grid.col-1 > div {
    width: 100%; }
  .grid.col-2 > div {
    width: 50%; }
  .grid.col-3 > div, .grid.col-3 > a {
    width: 33%; }
  .grid.col-4 > div {
    width: 25%; }

/* iconify.design */
/* For use with .grid and .grid-item */
.grid-item {
  display: block;
  text-decoration: none; }
  .grid-item div {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    text-align: center;
    width: 100%; }
  .grid-item span {
    display: block;
    text-align: center; }

.article-item {
  margin-bottom: 0.5rem;
  align-items: baseline; }
  .article-item a {
    font-weight: 500;
    margin-right: 1rem; }
  .article-item .meta {
    font-size: 0.85rem;
    color: #666;
    font-style: italic; }

.cover {
  max-height: auto;
  max-width: 150px; }

.podcast-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between; }
  .podcast-meta img {
    margin-bottom: 2rem; }

p.download {
  font-size: 100%; }

img[src*="covers"] {
  height: auto;
  width: 32%;
  max-width: 150px; }

.small {
  font-size: 100%; }

form.contact input, form.contact textarea {
  font-family: inherit;
  font-size: 16px;
  margin: 1rem 0 0;
  width: 100%; }

form.contact button {
  background: #a22;
  color: #eee;
  font-size: 14px;
  font-weight: bold;
  padding: 1ch 2ch;
  margin: 1rem 0 0; }

#logo img {
  /*
    border: 3px solid #a22;
    border-radius: 100%;
    */ }

.featured-article .title {
  display: block;
  margin-bottom: 0; }
  .featured-article .title a {
    margin-right: 1ch; }

.featured-article .date {
  color: #777;
  font-weight: normal; }

.featured-article .text {
  margin-top: 1ch;
  margin-bottom: 0ch;
  padding-bottom: 0ch; }

/* Main Navigation Styles - Desktop */
#main-nav .nav-item {
  display: block;
  margin-bottom: 0.5rem; }

img[src="/zman/ZMan_Crop.jpg"] {
  float: right;
  padding: 1ch 1ch 3ch 3ch;
  clip-path: polygon(100% 0, 100% 60%, 60% 100%, 0 100%, 0 0); }

.hr {
  border-bottom: 1px solid black;
  padding-top: 1ch; }

/* Layout for screens 1000px or narrower */
@media (max-width: 1000px) {
  body {
    padding: 0 2ch; }
  #header {
    align-items: center;
    border-bottom: 1px solid black;
    display: flex;
    gap: 10px;
    justify-content: initial;
    margin-bottom: 3ch;
    padding-bottom: 1ch;
    text-align: left; }
    #header .left, #header .right {
      display: block; }
    #header .logo {
      text-align: left;
      max-width: 120px; }
    #header h1 {
      font-size: 16pt;
      font-variant: small-caps;
      margin-bottom: 0;
      margin-top: 0; }
    #header .logo {
      border-radius: 0px; }
      #header .logo img {
        width: 100px;
        height: 100px;
        border-radius: 0px;
        border-width: 2px;
        border-width: 0px; }
    #header #main-nav {
      display: block;
      flex-wrap: wrap;
      margin-top: 10px;
      align-items: center;
      gap: 10px; }
      #header #main-nav .nav-item {
        display: initial; }
      #header #main-nav a {
        margin: 0;
        padding: 5px 5px 5px 0;
        text-decoration: underline; }
        #header #main-nav a:hover {
          background: #f5f5f5;
          text-decoration: none; }
        #header #main-nav a#current {
          color: black;
          text-decoration: none; }
          #header #main-nav a#current:hover {
            background: initial; }
  #container {
    margin: 0.25rem auto auto auto; }
  #content #columns main {
    padding: 0; }
    #content #columns main > h2 {
      margin-top: 4ch; }
  #content #columns .grid-item {
    width: 40%; }
  #content #columns .featured-article {
    width: 100%; } }

.subnav {
  /*
  display: flex;
  justify-content: space-between;
  */ }
  .subnav a {
    margin-right: 3ch; }

p img {
  max-width: 100%; }

#transcript p {
  display: inline;
  font-size: 80%; }

#transcript p:not(.no-period)::after {
  content: "\A";
  white-space: pre; }

#footer {
  margin-bottom: 3ch; }

figure {
  height: fit-content;
  width: fit-content; }
  figure a {
    display: block;
    text-decoration: none; }
    figure a img[src*="/zman/"] {
      border: 2px solid #aa2222;
      max-width: 300px;
      margin-bottom: 0; }
    figure a figcaption {
      color: black;
      cursor: default;
      font-style: italic;
      max-width: 300px;
      margin-bottom: 5ch;
      pointer-events: none;
      text-decoration: none;
      text-align: center; }

@font-face {
  font-family: 'Merriweather Sans';
  src: url("/fonts/merriweather-sans-v28-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Merriweather Sans';
  src: url("/fonts/merriweather-sans-v28-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap; }

@font-face {
  font-family: 'Merriweather Sans';
  src: url("/fonts/merriweather-sans-v28-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Merriweather';
  src: url("/fonts/merriweather-v33-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Merriweather';
  src: url("/fonts/merriweather-v33-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap; }

@font-face {
  font-family: 'Merriweather';
  src: url("/fonts/merriweather-v33-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }

/* Apply fonts */
body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  background-color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: 0.6em; }

em, i {
  font-style: italic; }

strong, b {
  font-weight: 700; }

img[src$="zman_censored.png"] {
  float: right;
  margin: 20px;
  width: 200px; }
