:root {
    --ink: #333333;
    --muted: #66625a;
    --gold: #978356;
    --gold-light: #ae9d78;
    --cream: #f6f3ed;
    --cream-deep: #eee9df;
    --white: #ffffff;
    --line: #ddd7cb;
    --site-width: 1120px;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.7;
}

body.panel-open {
    overflow: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--ink);
}

button,
input {
    font: inherit;
}

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

.site-width,
.content-container {
    width: min(calc(100% - 40px), var(--site-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -80px;
    z-index: 1000;
    padding: 8px 14px;
    color: var(--white);
    background: var(--ink);
}

.skip-link:focus {
    top: 12px;
}

.social-bar {
    min-height: 54px;
    background: var(--cream-deep);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 54px;
    gap: 16px;
}

.social-links a {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 62px;
    position: relative;
    background: var(--white);
}

.desktop-nav nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.desktop-nav nav a,
.mobile-menu nav a {
    color: var(--ink);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.4;
    text-transform: uppercase;
}

.desktop-nav nav a:hover,
.desktop-nav nav a:focus-visible {
    color: var(--gold);
}

.icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 9px;
    color: var(--gold);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.icon-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.desktop-nav .search-open {
    position: absolute;
    right: 0;
}

.brand-wrap {
    display: grid;
    place-items: center;
    min-height: 200px;
    padding: 22px 20px 32px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.brand-wrap img {
    display: block;
    width: min(460px, 78vw);
    max-height: 150px;
    object-fit: contain;
}

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

.search-panel,
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 900;
}

.search-panel {
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--white);
    background: rgba(151, 131, 86, 0.96);
}

.search-panel[hidden],
.mobile-menu[hidden] {
    display: none;
}

.search-panel form {
    width: min(650px, 100%);
}

.search-panel label {
    display: block;
    margin-bottom: 16px;
    font-size: 34px;
    text-align: center;
}

.search-panel form div {
    display: flex;
}

.search-panel input {
    min-width: 0;
    flex: 1;
    height: 52px;
    padding: 8px 14px;
    color: var(--ink);
    background: var(--white);
    border: 0;
}

.search-panel form button {
    height: 52px;
    padding: 0 22px;
    color: var(--white);
    background: var(--ink);
    border: 0;
    cursor: pointer;
}

.search-close,
.menu-close {
    position: absolute;
    right: 24px;
    top: 18px;
    width: 48px;
    height: 48px;
    color: currentColor;
    background: transparent;
    border: 0;
    font: 38px/1 var(--sans);
    cursor: pointer;
}

.site-main {
    padding: 48px 0 64px;
}

.content-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 44px;
    align-items: start;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.post-card,
.single-post,
.sidebar > section,
.archive-header {
    background: var(--white);
}

.post-card {
    min-width: 0;
}

.post-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--cream-deep);
}

.post-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body {
    padding: 23px 24px 25px;
}

.post-card h2,
.article-header h1,
.archive-header h1,
.recent-widget h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: 0;
}

.post-card h2 {
    font-size: 26px;
}

.post-card h2 a {
    color: var(--ink);
}

.post-card h2 a:hover {
    color: var(--gold);
}

.post-card p {
    margin: 15px 0 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.read-more span {
    font-size: 18px;
    line-height: 1;
}

.sidebar {
    min-width: 0;
}

.sidebar > section {
    margin-bottom: 28px;
    padding: 22px;
}

.about-photo,
.about-heading {
    display: block;
    width: 100%;
}

.about-photo {
    aspect-ratio: 1;
    object-fit: cover;
}

.about-heading {
    margin: 16px auto 12px;
    max-width: 250px;
}

.about-widget p {
    margin: 12px 0 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.75;
}

.recent-widget h2 {
    padding-bottom: 14px;
    color: var(--gold);
    font-size: 28px;
    border-bottom: 1px solid var(--line);
}

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

.recent-widget li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.recent-widget a {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.45;
}

.archive-header {
    margin-bottom: 30px;
    padding: 24px 28px;
}

.archive-header h1 {
    font-size: 38px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.pagination a,
.pagination span,
.pagination i {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--white);
    font: 12px/1 var(--sans);
    font-style: normal;
}

.pagination span {
    color: var(--white);
    background: var(--gold);
}

.single-post {
    min-width: 0;
    padding: 42px 48px 48px;
}

.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-header h1 {
    overflow-wrap: anywhere;
    font-size: 44px;
}

.article-header time {
    display: block;
    margin-top: 14px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.article-content {
    overflow-wrap: anywhere;
    color: #3e3c38;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
    margin: 0 0 1.3em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 1.4em 0 0.55em;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.article-content h2 {
    font-size: 32px;
}

.article-content h3 {
    font-size: 26px;
}

.article-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.article-content img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 20px auto;
}

.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-content iframe,
.article-content video {
    max-width: 100%;
}

.article-content .separator,
.article-content .wp-block-image,
.article-content figure {
    max-width: 100%;
    margin-inline: auto;
}

.article-content br + br {
    line-height: 0.7;
}

.post-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.post-labels a {
    padding: 5px 9px;
    color: var(--muted);
    background: var(--cream);
    font: 10px/1.4 var(--sans);
    text-transform: uppercase;
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.post-navigation div:last-child {
    text-align: right;
}

.post-navigation span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font: 9px/1.4 var(--sans);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.post-navigation a {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.35;
}

.not-found {
    width: min(calc(100% - 40px), 760px);
    margin: 0 auto;
    padding: 55px;
    background: var(--white);
    text-align: center;
}

.not-found h1 {
    margin: 0;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 0;
}

.site-footer {
    padding: 24px 20px 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    justify-items: center;
}

.footer-inner img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 920px) {
    .desktop-nav,
    .social-bar {
        display: none;
    }

    .mobile-nav {
        min-height: 56px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--white);
    }

    .mobile-menu {
        display: block;
        width: min(360px, 88vw);
        left: auto;
        padding: 76px 28px 28px;
        color: var(--white);
        background: var(--gold);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu nav {
        display: grid;
    }

    .mobile-menu nav a {
        padding: 18px 4px;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .brand-wrap {
        min-height: 150px;
        padding-block: 16px 24px;
    }

    .content-container {
        grid-template-columns: minmax(0, 1fr) 245px;
        gap: 28px;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .single-post {
        padding: 34px;
    }

    .article-header h1 {
        font-size: 38px;
    }
}

@media (max-width: 680px) {
    .site-width,
    .content-container {
        width: min(calc(100% - 24px), var(--site-width));
    }

    .site-main {
        padding: 24px 0 42px;
    }

    .brand-wrap {
        min-height: 128px;
    }

    .brand-wrap img {
        width: min(360px, 86vw);
        max-height: 104px;
    }

    .content-container {
        display: block;
    }

    .sidebar {
        margin-top: 30px;
    }

    .post-card-body {
        padding: 20px;
    }

    .post-card h2 {
        font-size: 24px;
    }

    .single-post {
        padding: 26px 20px 30px;
    }

    .article-header h1,
    .archive-header h1,
    .not-found h1 {
        font-size: 32px;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.72;
    }

    .article-content h2 {
        font-size: 27px;
    }

    .article-content h3 {
        font-size: 23px;
    }

    .post-navigation {
        display: block;
    }

    .post-navigation div + div {
        margin-top: 24px;
    }

    .post-navigation div:last-child {
        text-align: left;
    }

    .search-panel label {
        font-size: 27px;
    }

    .search-panel form div {
        display: block;
    }

    .search-panel input,
    .search-panel form button {
        width: 100%;
    }

    .not-found {
        width: min(calc(100% - 24px), 760px);
        padding: 36px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
