:root {
    --cashew-orange: #f79a12;
    --cashew-gold: #ffc02a;
    --cashew-deep-orange: #ef7900;
    --cashew-ink: #1f1f1f;
    --cashew-cream: #fff6df;
    --cashew-soft: #fffaf0;
    --cashew-line: #f1c66a;
    --cashew-muted: #745b37;
    --cashew-page: #fffdf8;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--cashew-page);
    color: var(--cashew-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
}

a {
    color: #9b4f00;
}

a:hover {
    color: var(--cashew-deep-orange);
}

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

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.site-header {
    background: rgba(255, 250, 240, .95);
    border-bottom: 2px solid var(--cashew-ink);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header__inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    min-height: 86px;
    padding: 12px 20px;
}

.site-logo,
.custom-logo-link {
    display: block;
    width: min(280px, 48vw);
}

.site-logo img,
.custom-logo {
    display: block;
    height: auto;
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.site-navigation ul {
    align-items: center;
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    border-radius: 999px;
    color: var(--cashew-ink);
    display: block;
    font-weight: 800;
    padding: 10px 14px;
    text-decoration: none;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a {
    background: var(--cashew-gold);
}

.site-menu-toggle {
    background: var(--cashew-ink);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: none;
    font-weight: 800;
    padding: 10px 14px;
}

.site-main {
    min-height: 70vh;
}

.cashew-layout {
    display: grid;
    gap: 24px;
    margin: 0 auto;
    max-width: 1180px;
    padding: 28px 20px;
}

.cashew-layout--home {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.cashew-sidebar {
    position: sticky;
    top: 112px;
}

.cashew-widget,
.cashew-entry-card,
.cashew-notice {
    background: #fff;
    border: 1px solid var(--cashew-line);
    border-radius: 8px;
    box-shadow: 0 4px 0 rgba(247, 154, 18, .13);
}

.cashew-widget {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.cashew-widget h2 {
    font-size: 1rem;
    margin: 0 0 6px;
}

.cashew-widget a {
    border-radius: 6px;
    color: var(--cashew-ink);
    font-weight: 800;
    padding: 10px;
    text-decoration: none;
}

.cashew-widget a:hover {
    background: var(--cashew-cream);
}

.cashew-feed-shell {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.cashew-notice {
    margin-bottom: 18px;
    padding: 16px;
}

.cashew-content-list {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.cashew-entry-card {
    overflow: hidden;
}

.cashew-entry-card__image {
    display: block;
}

.cashew-entry-card__image img {
    display: block;
    width: 100%;
}

.cashew-entry-card__body {
    padding: 22px;
}

.cashew-entry-card h1,
.cashew-entry-card h2 {
    margin: 0 0 10px;
}

.cashew-entry-card h2 a {
    color: var(--cashew-ink);
    text-decoration: none;
}

.cashew-entry-meta {
    color: var(--cashew-muted);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.entry-content {
    line-height: 1.65;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.cashew-archive-header {
    background: var(--cashew-soft);
    border: 1px solid var(--cashew-line);
    border-radius: 8px;
    padding: 22px;
}

.cashew-archive-header h1 {
    margin: 0;
}

.site-footer {
    background: var(--cashew-ink);
    color: #fff;
    margin-top: 28px;
}

.site-footer__inner {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    padding: 22px 20px;
}

.site-footer p {
    margin: 0;
}

.site-footer ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a {
    color: #fff;
}

.buddypress-wrap,
#buddypress {
    background: #fff;
    border: 1px solid var(--cashew-line);
    border-radius: 8px;
    padding: 18px;
}

#buddypress input[type="submit"],
#buddypress button,
.buddypress-wrap input[type="submit"],
.buddypress-wrap button {
    background: var(--cashew-ink);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 10px 14px;
}

#buddypress .item-list-tabs,
.buddypress-wrap .bp-navs {
    border-bottom: 1px solid var(--cashew-line);
}

@media (max-width: 820px) {
    .site-header__inner {
        align-items: stretch;
        display: grid;
    }

    .site-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-navigation {
        display: none;
    }

    .site-navigation.is-open {
        display: block;
    }

    .site-navigation ul {
        align-items: stretch;
        display: grid;
    }

    .site-footer__inner {
        align-items: flex-start;
        display: grid;
    }

    .cashew-layout--home {
        grid-template-columns: 1fr;
    }

    .cashew-sidebar {
        position: static;
    }
}
