body.simple-page {
    --primary-color: #332b26;
    --secondary-color: #704735;
    --background-color: #faf8f4;
    --text-color: #332b26;
    --muted-color: #756b62;
    --border-color: #ded8cf;
    --highlight-color-2: #704735;
    background: var(--background-color);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    line-height: 1.7;
}

body.simple-page.dark-mode {
    --primary-color: #e5d9c8;
    --secondary-color: #c4a276;
    --background-color: #2b201a;
    --text-color: #e5d9c8;
    --muted-color: #b29c87;
    --border-color: #514034;
    --highlight-color-2: #dec2a0;
    color-scheme: dark;
}

.simple-page .site-header,
.simple-page .page-content {
    width: min(100% - 48px, 720px);
    margin-inline: auto;
}

.simple-page .site-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-block: 32px 24px;
    font-size: 14px;
}

.simple-page .site-nav,
.simple-page .contact-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 8px;
}

.simple-page a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.simple-page .site-nav {
    font-size: 12px;
}

.simple-page .site-nav a {
    color: var(--muted-color);
    text-decoration: none;
    white-space: nowrap;
}

.simple-page .site-nav a[aria-current="page"],
.simple-page .site-nav a[aria-current="location"],
.simple-page .site-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.simple-page .theme-toggle {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted-color);
    font: inherit;
    cursor: pointer;
}

.simple-page a:focus-visible,
.simple-page button:focus-visible,
.simple-page summary:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 5px;
}

.simple-page .page-content {
    padding: 0 0 28px;
}

.simple-page h1 {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.simple-page h2 {
    font-size: 20px;
    letter-spacing: 0;
    text-transform: none;
}

.simple-page p,
.simple-page .bio p {
    margin-bottom: 20px;
}

.simple-page .intro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.simple-page .intro-header h1 {
    margin: 0;
}

.simple-page .intro-header > a {
    flex-shrink: 0;
    line-height: 0;
}

.simple-page .intro-photo {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.simple-page .contact-links {
    align-items: baseline;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.simple-page .office-note {
    margin: 8px 0 0;
    color: var(--muted-color);
    font-size: 14px;
}

.simple-page .featured-rows {
    margin-bottom: 28px;
}

.simple-page .featured-rows li {
    padding-block: 20px;
}

.simple-page .featured-rows p {
    margin-bottom: 8px;
}


    .tag {
      display: inline-block;
      margin: 0 0 0 0.45em;
      font-size: 0.72em;
      font-weight: normal;
      letter-spacing: 0.03em;
      color: var(--muted-color);
      white-space: nowrap;
    }
    .tag::before { content: '\00b7\00a0'; }

    .news-filters {
      margin: 0 0 1.1em;
      font-size: 0.82em;
      line-height: 1.9;
      letter-spacing: 0.03em;
    }

    .news-filters button {
      display: inline-block;
      cursor: pointer;
      color: var(--muted-color);
      text-underline-offset: 0.22em;
      text-decoration-thickness: 1px;
    }

    .news-filters button:not(:last-child)::after {
      content: '\00b7';
      display: inline-block;
      margin: 0 0.6em;
      color: var(--muted-color);
    }

    .news-filters button:hover { color: var(--primary-color); }

    .news-filters button.is-active {
      color: var(--primary-color);
      text-decoration: underline;
    }

    .news-item {
      margin: 0 0 0.75em;
      line-height: 1.5;
      padding-left: 8.2em;
      text-indent: -8.2em;
    }

    .news-item .tag,
    .news-date { text-indent: 0; }

    .news-date {
      display: inline-block;
      min-width: 8.2em;
      color: var(--muted-color);
      font-style: italic;
    }

    .news-container {
      max-width: 680px;
    }


.simple-page .news-filters button { border: 0; padding: 0; background: transparent; font: inherit; }


        .media-grid {
            display: grid;
            grid-template-rows: auto auto;
            gap: 20px;
            margin: 20px 0;
        }

        .image-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .media-grid img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 4px;
        }

        .video-row {
            width: 100%;
            aspect-ratio: 16/9;
        }

        .video-row video {
            width: 100%;
            height: 100%;
            border-radius: 4px;
            object-fit: cover;
        }

        @media (max-width: 600px) {
            .image-row {
                grid-template-columns: 1fr;
            }
        }


.simple-page > .contact-links {
    width: min(100% - 48px, 720px);
    margin: 0 auto 40px;
}

.simple-page .publication-divider {
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

.simple-page .publications-container {
    max-width: 100%;
}

.simple-page .paper-name {
    font-size: 1em;
}

.simple-page .about-news {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.simple-page .about-news > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    list-style: none;
    cursor: pointer;
}

.simple-page.custom-cursor-enabled .about-news > summary {
    cursor: none;
}

.simple-page .about-news > summary::-webkit-details-marker {
    display: none;
}

.simple-page .about-news > summary h2 {
    margin: 0;
}

.simple-page .news-toggle-icon {
    font-size: 10px;
    color: var(--muted-color);
}

.simple-page .about-news[open] > summary {
    margin-bottom: 16px;
}

.simple-page .about-news[open] .news-toggle-icon {
    transform: rotate(180deg);
}

.simple-page .tab-status {
    width: min(100% - 48px, 720px);
    margin: 0 auto 20px;
    color: var(--muted-color);
    font-size: 14px;
}

.simple-page [hidden] {
    display: none !important;
}


@media (max-width: 600px) {
    body.simple-page {
        font-size: 14px;
    }

    .simple-page .site-header,
    .simple-page .page-content,
    .simple-page > .contact-links,
    .simple-page .tab-status {
        width: calc(100% - 40px);
    }

    .simple-page .site-header {
        align-items: flex-start;
        padding-block: 24px 28px;
        gap: 16px;
    }

    .simple-page .site-nav {
        column-gap: 16px;
    }

    .simple-page .intro-header {
        gap: 16px;
        margin-bottom: 24px;
    }

    .simple-page h1 {
        font-size: 22px;
    }

    .simple-page .intro-photo {
        width: 72px;
        height: 72px;
    }

    .simple-page .news-item {
        padding-left: 0;
        text-indent: 0;
    }

    .simple-page .news-date {
        display: block;
    }

    .simple-page .media-grid img {
        height: auto;
    }
}
