/* roboto-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-serif-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Serif';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-serif-v13-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-serif-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Serif';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/roboto-serif-v13-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-serif-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Serif';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-serif-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-serif-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Serif';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-serif-v13-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-serif-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Serif';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-serif-v13-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-serif-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Serif';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/roboto-serif-v13-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-mono-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-mono-v23-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-mono-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-mono-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-mono-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-mono-v23-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html {
    background-color: #eee;
}

body, .title, h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Serif", serif;
    line-height: 1.4em;
    font-weight: 300;
    color: #222;
}

.title, h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

.home-section-title {
    text-align: center;
}

body > div > header, h1.site-title, body > div > footer {
    font-family: "Roboto", sans-serif;
}

h1.site-title, p.site-title-minified {
    font-weight: 500;
    line-height: 1.5em;
}

.site-title-minified {
    color: #fff;
    margin-bottom: 1em;
    font-size: 2em;
    margin-top: 0.75em;
}

.site-description.subtitle {
    font-weight: 400;
}

.home-section + .home-section::before {
    border-bottom: none;
}

main, div.entry-content > p, div.entry-content > ul, div.entry-content > ol {
    line-height: 1.75em;
    font-size: 1.0em;
    font-weight: 300;
    color: #222;
}

ul {
    list-style-type: square;
}

div.entry-content > ul > li, div.entry-content > ol > li {
    margin-bottom: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 2em;
}

#recent-posts {
    background-color: rgba(64, 224, 208, .1);
    padding: 2em;
    border-radius: 1em;
}

#header {
    background: #40E0D0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #FF8C00, #FF0080, #40E0D0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #FF8C00, #FF0080, #40E0D0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

#header nav, #header .header-info, #header .title, #header a {
    color: #fff;
}

.header-info .title {
    margin-bottom: 0;
    text-transform: none;
}

#header h1.site-title {
    font-weight: 500;
    /*text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);*/
}

p.site-description {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.9);
}

.home-section > p {
    color: #777;
    font-weight: 300;
}

.header-info .subtitle, .header-info .taxonomy-type {
    font-style: normal;
}

h3.list-item-title {
    font-weight: 500;
}

b, strong {
    font-weight: 500;
}

.list-item-description {
    color: #777;
    font-size: .875em;
    margin-top: .875em;
}

.list-item .meta span > time {
    color: #777;
}

/* Short item (tweet-like) styling */
.list-item.short-item article {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
}

.short-item-header {
    display: block;
}

.short-item-text {
    margin: 0;
}

.short-item-meta {
    margin: 0.5em 0 0 0;
    color: #777;
    font-size: .8em;
}

.short-item-title {
    color: #777;
}

.short-item-date {
    color: #777;
}

/* Differentiation visuals */
.list-item.short-item {
    margin-left: 0;
    font-size: 0.65em;
}

.short-item-content {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 0.875em 1em;
    width: 100%;
}

.list-item.short-item .meta {
    flex-basis: 9em;
    flex-shrink: 0;
    text-align: end;
    padding-right: 0.8em;
    padding-top: 0.85em;
}

.short-item-label {
    margin-top: 0;
    padding-top: 0;
    font-weight: 500;
    color: #777;
    font-size: 1em;
}

.short-item-text {
    font-size: 1em;
    line-height: 1.5em;
    color: #777;
}

#main {
    margin-top: 2em;
    min-height: 50vh;
}

.entry .meta span, .entry .meta span a {
    font-style: normal;
    color: #444;
    font-weight: 300;
}

footer.entry-footer-container {
    display: none;
}

#footer {
    margin-top: 2em;
    background-color: #eee;
}

#footer, footer a {
    color: #777;
}

.header::after {
    margin-top: 2em;
    margin-bottom: 1em;
    opacity: 0;
}

.footer::before {
    border: none;
}

code.inline, p code, li code {
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    background-color: rgba(0, 0, 0, 0.075);
    color: #000;
    margin-left: 0.2em;
    margin-right: 0.2em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-radius: 0.2em;
    font-size: 0.9em;
    white-space: pre;
}

span.filename.beforecode {
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
    color: #777;
    font-size: 0.675em;
    position: relative;
    bottom: -2.2em;
    background: #212121;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    padding: 12px 20px 24px 18px;
}

pre {
    margin-top: 0;
    margin-bottom: 2em;
    font-size: 0.675em;
    border-radius: 1em;
    line-height: 1.8em;
}

.entry-content a {
    border-bottom: none;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #777;
    text-decoration-thickness: 0.05em;
}

.entry-content a:hover {
    color: #000;
    text-decoration-color: #000;
    text-decoration-style: solid;
    text-decoration-thickness: 0.06em;
}

h3 a {
    text-decoration: none !important;
}

.floatright {
    float: right;
}

.ml-5 {
    margin-left: 2em;
}

blockquote {
    font-size: 0.75em;
    line-height: 2em;
    font-style: normal;
    margin: 0 0 1.5em;
    padding-left: 1em;
    border-left: .1em solid #999;
    color: #666;
}

/* =====================================
   Sidenote Feature Styles (CSS-only version)
   ===================================== */

/* Container for both trigger and content */
.sidenote-container {
  position: relative;
  margin: 1em 0;
}

/* Hide the checkbox */
.sidenote-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Trigger/call-to-action element (includes plus icon and title) */
.sidenote-trigger {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.5em;
  max-width: 70%;
  border: 1px dotted #bbb;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  /* Reset common label styles that might affect spacing */
  text-transform: none;
  word-spacing: normal;
}

/* Plus icon within trigger */
.sidenote-icon {
  display: inline-block;
  margin-left: 0.2em;
  width: .8em;
  height: 1.6em;
  text-align: center;
  line-height: 1.5em;
  color: #bbb;
  font-size: 0.9em;
}

/* Title text within trigger */
.sidenote-trigger-title {
  display: inline-block;
  padding-right: 0.5em;
  padding-left: 0.3em;
  font-size: 0.8em;
  color: #bbb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: normal;
}

.sidenote-trigger-title:hover {
  color: #444;
}

/* Content box that appears when trigger is clicked */
.sidenote-content {
  display: none;
  margin-bottom: 1em;
  padding: 0.75em;
  border: 1px dotted #999;
  font-size: 0.8em;
  color: #666;
  background-color: #fafafa;
  width: 100%;
  max-width: 740px;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.3em;
}

/* Show content when checkbox is checked */
.sidenote-checkbox:checked ~ .sidenote-content {
  display: block;
}

/* Style changes for the trigger when the sidenote is open */
.sidenote-checkbox:checked ~ .sidenote-trigger {
  color: #555; display: none;
}

/* Remove bottom margin from last paragraph in sidenote content */
.sidenote-content p:last-child {
  margin-bottom: 0;
}

/* Responsive styles */
@media (min-width: 768px) {
  /* No special responsive styling needed with the natural flow approach */
}
