
:root {
    --page-size: 600px; /* Doesn't update everywhere */
    --background-color: #faf0e6;
    --primary-text-color: #2b2b2b;
    --secondary-text-color: #757575;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Mono';
    background-color: var(--background-color);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "IBM Plex Sans", Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

a {
    color: var(--primary-text-color);
}

p {
    margin-bottom: 1em;
    line-height: 1.5;
}

ul {
    padding-left: 1.25em; /* or 20px–40px */
}

h2 {
    padding-top: 20px;
    padding-bottom: 10px;
}

.page {
    max-width: var(--page-size);
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.header-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.icon-bar {
    display: flex;
    gap: 8px;
    list-style: none;
    color: var(--secondary-text-color);
    padding-left: 0;
}

.icon-bar img {
    width: 18px;
    height: 18px;
}


.back-button a {
    color: var(--secondary-text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.back-button a:hover {
    text-decoration: underline;
}

.back-button svg {
    width: 1em;
    height: 1em;
    stroke: currentColor; /* inherits the link color */
}

caption {
    caption-side: top;
    padding-top: 30px;
    font-weight: bold;
    text-align: left;
}

caption a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

caption svg {
    width: 14px;
    height: 14px;
    stroke-width: 3.0; /* makes it bolder */
}

table {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
}

table a {
    text-decoration: none;
}
table a:hover {
    text-decoration: underline;
}


tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding-top: 10px;
    /* padding: 12px 0; */
}

.title-cell {
    flex-shrink: 0;
}

.sub-title-cell {
    flex: 1;
    min-width: 0; /* important for ellipsis */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--secondary-text-color);
    font-size: 0.8em;
    align-items: center;
}

.date-cell {
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 600px) {
    .sub-title-cell {
        flex-basis: 100%;
        order: 3;
        margin-top: -8px;
    }
}


.hero-image {
    width: 100%;
    padding-top: 40px;
}

img {
    max-width: 100%;
}


.footer {
    padding-bottom: 40px;
    padding-top: 40px;
}

.footer ul {
    padding-top: 10px;
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding-left: 0;
}