:root {
    --hi-bg: #fcfaf6;
    --hi-surface: #ffffff;
    --hi-surface-soft: #faf7f1;
    --hi-border: #e8e0d3;
    --hi-border-strong: #d9cebe;
    --hi-ink: #171412;
    --hi-muted: #6b635a;
    --hi-accent: #ca2017;
    --hi-accent-deep: #a81a12;
    --hi-shadow: 0 24px 50px -40px rgba(37, 26, 16, 0.35);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.78) 0,
            rgba(255, 255, 255, 0.78) 180px,
            transparent 180px
        ),
        linear-gradient(180deg, #fffdfa 0%, var(--hi-bg) 100%);
    color: var(--hi-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--hi-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
    color: var(--hi-accent-deep);
}

* {
    box-sizing: border-box;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.group::after,
.section-inner::after,
.post-inner::after,
.widget-content::after {
    clear: both;
    content: "";
    display: block;
}

.screen-reader-text {
    clip: rect(0.1rem, 0.1rem, 0.1rem, 0.1rem);
    height: 0.1rem;
    overflow: hidden;
    position: absolute !important;
    left: -999999rem;
    width: 0.1rem;
}

.skip-link {
    position: absolute;
    left: -9999rem;
    top: 1.5rem;
    z-index: 9999;
}

.skip-link:focus {
    left: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--hi-accent);
    color: #fff;
    text-decoration: none;
}

.button,
.search-button,
.newsletter-form button,
.more-link,
.main-menu a,
.mobile-menu a,
.locale-switcher a,
.toggle,
.theme-widget-list a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.section-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.bg-white {
    background: var(--hi-surface);
}

.small-padding {
    padding: 42px 0 34px;
}

.big-padding {
    padding: 52px 0;
}

.header {
    border-bottom: 1px solid var(--hi-border);
}

.header-wrapper {
    position: relative;
}

.header-account-tab {
    position: fixed;
    top: 18px;
    right: 0;
    z-index: 80;
}

.header-account-toggle,
.header-account-link,
.header-account-button,
.mobile-menu-auth-button {
    font-family: "Lato", Helvetica, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-account-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 52px;
    border: 1px solid rgba(23, 20, 18, 0.08);
    border-right: 0;
    background: color-mix(in srgb, var(--hi-accent) 75%, white);
    box-shadow: var(--hi-shadow);
    color: var(--hi-ink);
    cursor: pointer;
    transform: translateX(8px);
}

.header-account-toggle:hover {
    color: var(--hi-accent);
    transform: translateX(-0.5px);
}

.header-account-toggle-icon {
    width: 22px;
    height: 22px;
}

.header-account-toggle-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--hi-bg);
}

.header-account-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    gap: 8px;
    min-width: 220px;
    padding: 14px;
    border: 1px solid var(--hi-border);
    background: rgba(255, 251, 247, 0.98);
    box-shadow: var(--hi-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateX(12px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.header-account-tab.is-open .header-account-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.header-account-link,
.header-account-button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--hi-ink);
    font-size: 0.72rem;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
}

.header-account-button {
    background: transparent;
    cursor: pointer;
}

.header-account-link:hover,
.header-account-button:hover {
    background: var(--hi-surface-soft);
    color: var(--hi-accent);
}

.header-account-form {
    margin: 0;
}

.blog-title {
    margin: 0;
    font-size: clamp(2.85rem, 4.5vw, 4.2rem);
    line-height: 0.95;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.03em;
}

.blog-title a {
    color: var(--hi-ink);
    text-decoration: none;
}

.blog-tagline {
    margin: 18px auto 0;
    max-width: 780px;
    color: var(--hi-muted);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.75;
    text-align: center;
}

.toggles {
    display: none;
}

.toggle {
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.toggle:focus-visible,
.main-menu a:focus-visible,
.mobile-menu a:focus-visible,
.locale-switcher a:focus-visible,
.search-field:focus,
.newsletter-form input:focus,
.newsletter-form button:focus-visible,
.more-link:focus-visible,
.archive-navigation a:focus-visible,
.widget a:focus-visible {
    outline: none;
    border-color: var(--hi-accent);
    box-shadow: 0 0 0 3px rgba(202, 32, 23, 0.14);
}

.navigation {
    border-bottom: 0;
}

.navigation .section-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px 0;
}

.main-menu,
.mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu {
    display: flex;
    gap: 24px;
}

.main-menu a,
.mobile-menu a,
.locale-switcher a {
    color: var(--hi-ink);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.main-menu a:hover,
.mobile-menu a:hover,
.locale-switcher a:hover {
    color: var(--hi-accent);
}

.mobile-menu,
.mobile-search {
    display: none;
}

.locale-switcher {
    display: flex;
    gap: 12px;
}

.locale-switcher a[aria-current="true"] {
    color: var(--hi-accent);
}

.header-image {
    height: min(38vw, 470px);
    min-height: 220px;
    margin: 0;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.header-image--post {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px !important;
}

.wrapper.section {
    margin-top: -44px;
    padding: 0 0 76px;
}

.wrapper .section-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.86fr);
    gap: 36px;
    align-items: start;
}

.content-shell {
    border: 1px solid var(--hi-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 32px 90px -62px rgba(41, 28, 18, 0.42);
}

.content-stack {
    display: grid;
    gap: 30px;
}

.archive-intro-shell,
.archive-navigation-shell,
.archive-search-shell,
.archive-empty-shell {
    padding: 34px 34px 40px;
}

.archive-intro {
    margin: 0;
}

.archive-kicker {
    margin: 0 0 10px;
    color: var(--hi-accent);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.archive-intro h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.archive-description {
    max-width: 48rem;
    margin: 16px 0 0;
    color: #3d342d;
    font-size: 1.08rem;
    line-height: 1.8;
}

.archive-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.archive-highlights span {
    padding: 8px 12px;
    border: 1px solid var(--hi-border);
    background: var(--hi-surface-soft);
    color: var(--hi-muted);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.posts {
    display: grid;
    gap: 30px;
}

.post {
    overflow: hidden;
}

.post-image {
    margin: 0;
    background: #ede6db;
}

.post-image a {
    display: block;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    object-fit: cover;
}

.post.sticky .post-image img {
    aspect-ratio: 900 / 253;
}

.post:not(.sticky) .post-image img {
    aspect-ratio: 900 / 438;
}

.post-inner {
    padding: 60px 70px;
}

.post.sticky .post-inner,
.post.no-image .post-inner {
    padding-top: 75px;
}

.post-header {
    margin-bottom: 20px;
}

.post-title {
    margin: 0 0 16px;
    font-size: 2.18rem;
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.post.sticky .post-title {
    font-size: clamp(2.8rem, 4vw, 3.55rem);
}

.post-title a {
    color: var(--hi-ink);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--hi-accent);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: var(--hi-muted);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.post-meta p {
    margin: 0;
}

.post-meta span {
    color: #85796d;
}

.post-meta a {
    color: var(--hi-muted);
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--hi-accent);
}

.entry-content,
.post-content {
    color: #2b241f;
    font-size: 1.1rem;
    line-height: 1.86;
}

.entry-content p,
.post-content p {
    margin: 0 0 1em;
}

.entry-content p:last-child,
.post-content p:last-child {
    margin-bottom: 0;
}

.more-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--hi-accent);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.more-link:hover {
    transform: translateX(2px);
}

.archive-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.archive-navigation p {
    margin: 0;
    color: #6a6a6a;
}

.archive-navigation-status {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 900;
    line-height: 1.05;
}

.archive-navigation-links {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-left: auto;
}

.archive-navigation a {
    color: var(--hi-ink);
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 900;
    text-decoration: none;
}

.archive-navigation a:hover {
    color: var(--hi-accent);
}

.archive-navigation-separator {
    color: #b0aaa3;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-weight: 400;
}

.archive-search-shell {
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
    background: #232323;
    box-shadow: none;
}

.archive-search-heading {
    padding: 30px 34px 32px;
    color: #fff;
    text-align: center;
}

.archive-search-kicker {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.archive-search-heading h2 {
    margin: 0;
    font-family: "Lato", Helvetica, sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.archive-search-term,
.archive-search-count {
    display: inline-block;
}

.archive-search-count {
    margin-left: 0.45rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.archive-empty {
    max-width: 42rem;
}

.archive-empty-title {
    margin: 0 0 12px;
    color: var(--hi-ink);
    font-size: clamp(1.65rem, 2.8vw, 2.2rem);
    line-height: 1.12;
}

.archive-empty p {
    margin: 0;
}

.archive-empty p + p {
    margin-top: 12px;
}

.chapter-shell,
.chapter-comments,
.chapter-navigation {
    overflow: hidden;
}

.chapter-cover {
    margin: 0;
    background: #ede6db;
}

.chapter-cover img {
    width: 100%;
    aspect-ratio: 900 / 350;
    object-fit: cover;
}

.chapter-inner {
    padding: 54px 62px 60px;
}

.chapter-header {
    margin-bottom: 34px;
}

.chapter-admin-link {
    margin: 0 0 18px;
}

.chapter-admin-link .more-link {
    margin-top: 0;
}

.chapter-title {
    margin: 0;
    font-size: clamp(2.7rem, 4vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.chapter-deck {
    max-width: 44rem;
    margin-top: 22px;
    color: #3d342d;
    font-size: 1.22rem;
    line-height: 1.72;
}

.chapter-meta {
    margin-top: 24px;
}

.chapter-opening {
    margin: 0 0 38px;
    border-top: 1px solid var(--hi-border);
    border-bottom: 1px solid var(--hi-border);
    background:
        linear-gradient(180deg, rgba(202, 32, 23, 0.04), rgba(202, 32, 23, 0)),
        var(--hi-surface-soft);
}

.chapter-opening-inner {
    max-width: 44rem;
    padding: 28px 32px;
}

.chapter-opening-inner pre,
.chapter-opening-inner blockquote {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: #2d241f;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.95;
}

.chapter-opening-inner code {
    font-family: inherit;
    font-size: inherit;
}

.chapter-opening-inner blockquote {
    padding-left: 22px;
    border-left: 3px solid rgba(202, 32, 23, 0.35);
}

.chapter-body {
    max-width: 44rem;
    font-size: 1.16rem;
    line-height: 1.94;
}

.chapter-body > :first-child {
    margin-top: 0;
}

.chapter-body h2,
.chapter-body h3,
.chapter-body h4 {
    margin: 2.4em 0 0.7em;
    line-height: 1.12;
}

.chapter-body p,
.chapter-body ul,
.chapter-body ol,
.chapter-body blockquote,
.chapter-body pre {
    margin: 0 0 1.25em;
}

.chapter-body p {
    hanging-punctuation: first;
}

.chapter-body p strong {
    color: #1f1814;
}

.chapter-body blockquote {
    padding-left: 24px;
    border-left: 2px solid rgba(202, 32, 23, 0.3);
    color: #4a4037;
    font-style: italic;
}

.chapter-body pre {
    overflow-x: auto;
    padding: 20px 22px;
    border: 1px solid var(--hi-border);
    background: #f5f0e9;
    white-space: pre-wrap;
}

.chapter-footer {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid var(--hi-border);
}

.chapter-navigation {
    background: rgba(255, 251, 247, 0.96);
}

.chapter-navigation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chapter-navigation-link {
    display: grid;
    gap: 10px;
    min-height: 112px;
    padding: 22px 28px 24px;
    color: var(--hi-ink);
    text-decoration: none;
}

.chapter-navigation-link + .chapter-navigation-link {
    border-left: 1px solid var(--hi-border);
}

.chapter-navigation-link--prev {
    text-align: left;
}

.chapter-navigation-link--next {
    text-align: right;
}

.chapter-navigation-link--empty {
    pointer-events: none;
}

.chapter-navigation-label {
    color: var(--hi-muted);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chapter-navigation-title {
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.35;
}

.chapter-navigation-link:hover .chapter-navigation-title {
    color: var(--hi-accent);
}

.chapter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chapter-tag {
    padding: 8px 12px;
    border: 1px solid var(--hi-border);
    background: var(--hi-surface-soft);
    color: var(--hi-ink);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.chapter-tag:hover {
    color: var(--hi-accent);
}

.chapter-section-header h2,
.chapter-comment-form h3 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    line-height: 1.08;
}

.chapter-section-header p:last-child {
    max-width: 44rem;
    margin: 14px 0 0;
    color: #4d453d;
}

.chapter-comment-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.chapter-comment {
    padding: 24px 0 0;
    border-top: 1px solid var(--hi-border);
}

.chapter-comment:first-child {
    padding-top: 0;
    border-top: 0;
}

.chapter-comment-meta,
.chapter-comment-context,
.chapter-comment-actions,
.chapter-commenting-as {
    margin: 0;
}

.chapter-comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--hi-muted);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.chapter-comment-author {
    color: var(--hi-ink);
    font-weight: 900;
}

.chapter-comment-context,
.chapter-comment-actions {
    margin-top: 12px;
}

.chapter-comment-body {
    margin-top: 14px;
}

.chapter-comment-body p {
    margin: 0;
    line-height: 1.8;
}

.chapter-comments-empty {
    margin: 28px 0 0;
    color: #4d453d;
}

.chapter-comment-form {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--hi-border);
}

.chapter-comment-form h3 {
    margin-bottom: 16px;
}

.chapter-comment-state {
    display: grid;
    gap: 16px;
    max-width: 42rem;
}

.chapter-comment-state--warning {
    padding: 20px 22px;
    border: 1px solid rgba(202, 32, 23, 0.22);
    background: rgba(202, 32, 23, 0.05);
}

.chapter-comment-state p {
    margin: 0;
}

.chapter-comment-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
}

.chapter-comment-editor {
    display: grid;
    gap: 14px;
    max-width: 44rem;
}

.chapter-commenting-as span {
    font-weight: 700;
}

.chapter-reply-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid var(--hi-border);
    background: var(--hi-surface-soft);
    color: #3d342d;
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.chapter-reply-pill-remove {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.1rem;
    cursor: pointer;
}

.chapter-comment-control {
    width: 100%;
    min-height: 180px;
    padding: 16px 18px;
    border: 1px solid var(--hi-border-strong);
    background: var(--hi-surface-soft);
    color: var(--hi-ink);
    font: inherit;
    resize: vertical;
}

.chapter-comment-control:focus {
    outline: none;
    border-color: var(--hi-accent);
    box-shadow: 0 0 0 3px rgba(202, 32, 23, 0.14);
}

.chapter-comment-submit {
    width: fit-content;
    padding: 12px 18px;
    border: 0;
    background: var(--hi-accent);
    color: #fff;
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.chapter-comment-submit:hover {
    background: var(--hi-accent-deep);
}

.chapter-comment-submit--secondary {
    background: #2a2521;
}

.chapter-comment-error {
    margin: -4px 0 0;
    color: var(--hi-accent);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.82rem;
}

.sidebar {
    display: grid;
    gap: 26px;
    position: sticky;
    top: 24px;
}

.widget {
    /*    background: rgba(255, 251, 247, 0.96);*/
}

.widget-content {
    padding: 10px 24px 10px;
}

.widget-title {
    margin: 0 0 18px;
    color: var(--hi-ink);
    font-size: 1.48rem;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.search-form {
    position: relative;
}

.search-field,
.newsletter-form input {
    width: 100%;
    padding: 14px 50px 14px 15px;
    border: 1px solid var(--hi-border-strong);
    background: var(--hi-surface-soft);
    color: var(--hi-ink);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.92rem;
}

.newsletter-form input {
    padding-right: 15px;
}

.search-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 46px;
    font-size: 2.25rem;
    border: 0;
    background: transparent;
    color: var(--hi-accent);
    cursor: pointer;
}

.theme-widget-list,
.widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.theme-widget-list li:first-child {
    border-top: 0;
}

.theme-widget-list li {
    padding-bottom: 12px;
}

.theme-widget-list a {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    color: inherit;
    text-decoration: none;
}

.theme-widget-list li:first-child {
    padding-top: 12px;
}

.theme-widget-list a:hover .title {
    color: var(--hi-accent);
}

.post-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.inner .title {
    margin: 0;
    color: var(--hi-ink);
    line-height: 1.35;
}

.inner .meta,
.widget li span {
    color: var(--hi-muted);
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.78rem;
}

.inner .meta {
    display: block;
    margin-top: 6px;
}

.widget li span {
    display: inline;
}

.widget_archive li,
.widget_categories li {
    padding: 9px 0;
}

.widget_archive li:first-child,
.widget_categories li:first-child {
    border-top: 0;
    padding-top: 0;
}

.widget_archive li:last-child,
.widget_categories li:last-child {
    padding-bottom: 0;
}

.widget_archive a,
.widget_categories a {
    color: var(--hi-ink);
    text-decoration: none;
}

.widget_archive a:hover,
.widget_categories a:hover {
    color: var(--hi-accent);
}

.newsletter-placeholder p {
    margin: 0 0 16px;
    color: #4d453d;
    line-height: 1.65;
}

.widget_recent_entries ul,
.widget_archive ul,
.widget_categories ul {
    padding-left: 12px;
}

.newsletter-form {
    display: grid;
    gap: 10px;
}

.newsletter-form button {
    padding: 13px 16px;
    border: 0;
    background: var(--hi-accent);
    color: #fff;
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: var(--hi-accent-deep);
}

.footer {
    margin-top: 5em;
    padding-top: 2em;
}

.credits {
    background: #22201d;
    color: #e7e0d6;
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 0.85rem;
}

.credits-inner {
    padding: 18px 0;
}

.credits p {
    margin: 0;
    text-align: center;
}

.credits a {
    color: #fff;
    text-decoration: none;
}

.credits .sep {
    margin: 0 0.4rem;
}

@media (max-width: 980px) {
    .wrapper .section-inner {
        grid-template-columns: 1fr;
    }

    .wrapper.section {
        margin-top: -24px;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-account-tab {
        display: none;
    }

    .header-wrapper {
        z-index: 30;
    }

    .section-inner {
        width: min(100% - 32px, 42rem);
    }

    .small-padding {
        padding: 18px 0 16px;
    }

    .blog-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        line-height: 1.02;
    }

    .blog-tagline {
        display: none;
    }

    .header .section-inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 72px;
    }

    .navigation .section-inner {
        width: min(100% - 32px, 42rem);
        margin: 0 auto;
        padding: 0;
    }

    .toggles {
        display: block;
    }

    .toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: 0;
        background: transparent;
        padding: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-toggle {
        left: 0;
    }

    .search-toggle {
        right: 0;
    }

    .blog-title {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        text-align: center;
        padding: 0 64px;
    }

    .nav-toggle .bar {
        width: 24px;
        height: 3px;
        margin: 3px 0;
        border-radius: 999px;
        background: var(--hi-ink);
        transform-origin: center;
        transition:
            transform 0.2s ease,
            opacity 0.2s ease,
            background-color 0.2s ease;
    }

    .header-wrapper.is-nav-open .nav-toggle .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
        background: var(--hi-accent);
    }

    .header-wrapper.is-nav-open .nav-toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .header-wrapper.is-nav-open .nav-toggle .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
        background: var(--hi-accent);
    }

    .search-toggle-icon {
        position: relative;
        width: 18px;
        height: 18px;
        border: 3px solid var(--hi-ink);
        border-radius: 50%;
        transition:
            border-color 0.2s ease,
            transform 0.2s ease;
    }

    .search-toggle-icon::after {
        content: "";
        position: absolute;
        right: -7px;
        bottom: -6px;
        width: 10px;
        height: 3px;
        background: var(--hi-ink);
        transform: rotate(45deg);
        transform-origin: center;
        border-radius: 999px;
        transition: background-color 0.2s ease;
    }

    .header-wrapper.is-search-open .search-toggle-icon {
        border-color: var(--hi-accent);
        transform: scale(1.04);
    }

    .header-wrapper.is-search-open .search-toggle-icon::after {
        background: var(--hi-accent);
    }

    .main-menu,
    .locale-switcher {
        display: none;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 25;
        pointer-events: none;
    }

    .navigation.is-open,
    .navigation.is-search-open {
        pointer-events: auto;
    }

    .mobile-menu,
    .mobile-search {
        display: none;
        width: 100%;
    }

    .navigation.is-open .mobile-menu,
    .navigation.is-search-open .mobile-search {
        display: block;
    }

    .mobile-menu,
    .mobile-search {
        padding: 22px 32px 28px;
        border-top: 1px solid #eee7de;
        background: var(--hi-surface);
        box-shadow: 0 24px 40px rgba(23, 20, 18, 0.08);
    }

    .mobile-menu li {
        padding: 0;
        border-top: 0;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .mobile-menu li + li {
        margin-top: 1rem;
    }

    .mobile-menu a,
    .mobile-menu-auth-button {
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--hi-ink);
        font-family: "Lato", Helvetica, sans-serif;
        font-size: 0.8rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        line-height: 1.35;
        text-align: left;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-menu-auth-button:hover {
        color: var(--hi-accent);
        cursor: pointer;
    }

    .mobile-menu-auth-start {
        margin-top: 1.6rem;
        padding-top: 1.3rem;
        border-top: 1px solid #d9cebe;
    }

    .mobile-menu-auth-form {
        margin: 0;
    }

    .mobile-search {
        padding-bottom: 26px;
    }

    .mobile-search .search-field {
        padding: 16px 58px 16px 18px;
        background: var(--hi-surface-soft);
        font-size: 0.96rem;
    }

    .mobile-search .search-button {
        position: absolute;
        top: 0;
        right: 0;
        width: 52px;
        border: 0;
        background: transparent;
        color: var(--hi-accent);
        font-size: 2.05rem;
    }

    .header-image {
        height: 196px;
        background-size: cover;
        background-position: top center;
    }

    .wrapper.section {
        margin-top: 0;
        padding: 28px 0 56px;
    }

    .archive-intro-shell,
    .archive-navigation-shell,
    .archive-search-shell,
    .archive-empty-shell {
        padding: 24px 22px 28px;
    }

    .archive-intro h2 {
        font-size: 1.9rem;
    }

    .archive-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .posts,
    .sidebar {
        gap: 22px;
    }

    .post-inner,
    .post.sticky .post-inner,
    .post.no-image .post-inner,
    .post.no-image.sticky .post-inner {
        padding: 22px 22px 26px;
    }

    .post.sticky .post-title,
    .post-title {
        font-size: 1.95rem;
    }

    .chapter-inner {
        padding: 24px 22px 28px;
    }

    .chapter-title {
        font-size: 2.15rem;
    }

    .chapter-deck,
    .chapter-body,
    .chapter-section-header p:last-child,
    .chapter-comment-editor {
        max-width: 100%;
    }

    .chapter-cover img {
        aspect-ratio: 16 / 10;
    }

    .chapter-opening-inner {
        padding: 22px;
    }

    .chapter-opening-inner pre,
    .chapter-opening-inner blockquote {
        font-size: 1.04rem;
        line-height: 1.8;
    }

    .chapter-navigation-grid {
        grid-template-columns: 1fr;
    }

    .chapter-navigation-link + .chapter-navigation-link {
        border-top: 1px solid var(--hi-border);
        border-left: 0;
    }

    .chapter-navigation-link--next {
        text-align: left;
    }

    .chapter-comment-state-actions {
        align-items: flex-start;
    }

    .post.sticky .post-image img,
    .post:not(.sticky) .post-image img {
        aspect-ratio: 16 / 10;
    }

    .post-meta {
        gap: 8px 16px;
    }

    .archive-navigation {
        flex-wrap: nowrap;
        align-items: center;
    }

    .archive-navigation-status,
    .archive-navigation-links {
        width: auto;
    }

    .archive-navigation-links {
        margin-left: auto;
        justify-content: flex-start;
    }

    .sidebar .widget_search {
        display: none;
    }

    .archive-search-heading {
        padding: 24px 22px 26px;
        text-align: left;
    }

    .archive-search-heading h2 {
        font-size: 1.3rem;
    }

    .archive-search-count {
        font-size: 0.7em;
        margin-top: 0.4rem;
        margin-left: 0;
    }

    .widget {
        box-shadow: none;
    }
}
