body {
    font-family: -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    word-break: keep-all;
    text-underline-offset: 2px;
    text-decoration-skip-ink: auto;
    margin: 0;
    background-color: #f1f1ee;
    color: #333333;
    line-height: 1.5;
}

.container {
    max-width: 600px;
    padding: 1rem;
    margin: 0 auto;
}

.site-nav {
    margin-left: -0.25rem;
}

.site-header nav {
    display: inline-block;
}

.site-header a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    padding: 0 0.25rem;
}
.site-header a.active span {
    font-weight: bold;
    border-bottom: 2px dotted currentColor;
}

/* .site-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
} */

h1 {
    font-size: 1.3rem;
}

h2 {
    font-size: 1.25rem;
}

img {
    max-width: 100%;
}

.subtitle a {
    color: inherit;
    font-size: 1rem;
    text-decoration: none;
}

.page-header h1 a {
    color: inherit;
    text-decoration: none;
}

.post-title-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.post-title-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

@media screen and (max-width: 400px) {
    .post-title-list {
        gap: 0.5rem;
    }

    .post-title-list li {
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

.post-title-list li > span {
    flex: 1;
    display: inline-flex;
    align-items: center;
}

.post-title-list li > span:after {
    content: '';
    display: inline-block;
    flex: 1;
    height: 0;
    margin-left: 1rem;
    margin-right: 1rem;
    border-bottom: 2px dotted rgba(0, 0, 0, 0.2);
}

.post-title-list .date,
.post-title-list time {
    order: 1;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.post-title-list a {
    color: inherit;
    text-decoration-color: #ddd;
}

.post-title-list a:hover,
.post-title-list a:active,
.post-title-list a:focus {
    background: #ffff9e;
}

.likes-widget {
    padding: 1rem 0;
}

.page-meta {
    font-size: 0.75em;
    opacity: 0.8;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.headline {
    font-size: 0.75em;
    opacity: 0.75;
    margin-bottom: 1rem;
    margin-top: -0.5rem;
}

.updated-on, .published-on {
    display: inline-block;
}

.updated-on:after {
    content: '·';
}

blockquote {
    background: #ddd;
    padding: 0.25rem 1rem;
    margin: 1rem;
}

figcaption {
    font-size: 0.8em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;

}

.likes-widget button {
    appearance: none;
    cursor: pointer;
    font-family: "ChicagoFLF", "Chicago", "Charcoal", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
    font-size: 0.8rem;
    padding: 0.2rem 0.75rem;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: 1px 1px 0 #000;
    outline: none;
}

.likes-widget button:focus-visible {
    outline: 1px dotted #000;
    outline-offset: 2px;
}

/* inverted and pressed into its shadow, like a classic Mac button click */
.likes-widget button:active {
    color: #fff;
    background-color: #000;
    box-shadow: none;
    transform: translate(1px, 1px);
}


.site-footer:before {
    display: block;
    content: '';
    margin: 2rem 0 1rem;
    border-top: 1px solid #000;
}

.page .content > .columns {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page .content > .columns > * {
    flex: 1;
}

figure p {
    margin: 0;
}

figure {
    margin-left: 0;
    margin-right: 0;
}

figcaption {
    margin-top: 0.25rem;
}

table,
table th,
table td {
    border: 1px solid currentColor;
    border-collapse: collapse;
}

table th,
table td {
    padding: 0.25rem 0.5rem;
    font-size: 0.9em;
}

pre code.hljs {
    background-color: #ffd;
}
@media (prefers-color-scheme: dark) {
    pre code.hljs {
        background-color: #200;
    }
}

.bookmarks ul {
    column-count: 3;
    column-gap: 20px;
    list-style: square;
}

.bookmarks ul li {
  break-inside: avoid;
  min-height: 1.5rem;
}

.bookmarks h2 {
    font-size: 1rem;
}

.bookmarks h2:before {
    content: '';
    border-top: 1px solid currentColor;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    display: block;
}

@media screen and (max-width: 700px) {
    .bookmarks ul {
        column-count: 2;
    }
}

@media screen and (max-width: 540px) {
    .bookmarks ul {
        column-count: 1;
    }
}


iframe {
    max-width: 100%;
}

.tags {
    font-size: 0.8rem;
}

.list-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
    font-family: "ChicagoFLF", "Chicago", "Charcoal", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
    font-size: 0.85rem;
}

.dropdown-nav {
    position: relative;
}

/* popup menu button: white box, 1px black border and hard drop shadow */
.dropdown-nav > .label {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    color: #000;
    background-color: #fff;
    text-decoration: none;
    border: 1px solid #000;
    box-shadow: 1px 1px 0 #000;
}

.dropdown-nav > .label:after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.6em;
    vertical-align: middle;
}

/* highlighted like a selected menu bar title while open */
.dropdown-nav:hover > .label,
.dropdown-nav:focus-within > .label {
    color: #fff;
    background-color: #000;
}

.dropdown-nav .anchor {
    display: none;
}

.dropdown-nav > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 10rem;
    max-height: 60vh;
    overflow-y: auto;
    margin: 0;
    padding: 0.2rem 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: 2px 2px 0 #000;
}

.dropdown-nav:hover > ul,
.dropdown-nav:focus-within > ul,
.dropdown-nav > .anchor:target + ul {
    display: block;
}

.dropdown-nav li a {
    display: block;
    padding: 0.15rem 1rem;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-nav li a:hover,
.dropdown-nav li a:focus {
    color: #fff;
    background-color: #000;
    outline: none;
}

.dropdown-nav li a span {
    opacity: 0.6;
    font-size: 0.85em;
}

/* nested groups: dotted separator + dimmed title like a disabled menu item */
.dropdown-nav ul .dropdown-nav {
    margin-top: 0.2rem;
    padding-top: 0.2rem;
    border-top: 1px dotted #000;
}

.dropdown-nav ul .dropdown-nav:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.dropdown-nav ul .dropdown-nav > .label,
.dropdown-nav ul .dropdown-nav:hover > .label,
.dropdown-nav ul .dropdown-nav:focus-within > .label {
    display: block;
    padding: 0.15rem 0.5rem;
    color: #888;
    background: none;
    border: 0;
    box-shadow: none;
    pointer-events: none;
}

.dropdown-nav ul .dropdown-nav > .label:after {
    content: none;
}

.dropdown-nav ul .dropdown-nav > ul {
    display: block;
    position: static;
    min-width: 0;
    max-height: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
}

@media screen and (max-width: 540px) {
    .list-page-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-nav > .label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
    }

    .dropdown-nav > ul {
        position: static;
        min-width: 0;
        max-height: 50vh;
        border-top: 0;
    }

    .dropdown-nav li a {
        padding: 0.5rem 1rem;
        white-space: normal;
    }
}
