.glue-page {
    background-color: #eee5d8;
    color: #30261e;
    font: 16px/1.5 Nunito, Arial, sans-serif;
}

.glue-site-header,
.glue-footer {
    max-width: 1200px;
    margin-inline: auto;
    background: #fff;
}

.glue-site-header { margin-top: 15px; }

.glue-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 4vw, 50px);
    min-height: 100px;
    padding: 10px 12px;
}

.glue-logo img { display: block; height: 80px; max-width: 72%; object-fit: contain; }
.glue-logo img:first-child { max-width: 19%; }

.glue-site-header nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 2px solid #332115;
    border-bottom: 1px solid #332115;
    gap: 0 clamp(0px, 4vw, 40px);
}

.glue-site-header nav > a,
.glue-site-header summary {
    display: grid;
    align-content: center;
    min-height: 44px;
    padding: 0 9px;
    color: #332115;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.glue-site-header summary { display: list-item; line-height: 44px; }
.glue-site-header details { position: relative; }
.glue-site-header nav > a:hover,
.glue-site-header summary:hover { background: #f8f3eb; }

.glue-site-header .nav-menu {
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 80vw;
    padding: 6px;
    border: 1px solid #e8d9c4;
    border-radius: 8px;
    background: #fffdf8;
}

.glue-site-header .nav-menu a { display: block; padding: 7px 10px; color: #664021; }
.glue-site-header .nav-menu a:hover { background: #f8f3eb; }

.gw-plywood.glue-main {
    --ink: #30261e;
    --brown: #74502d;
    --muted: #605040;
    --accent: #98500f;
    --orange: #d36900;
    --line: #e8d9c4;
    --cream: #f8f3eb;
    --paper: #fffdf8;
    box-sizing: border-box;
    max-width: 1200px;
    min-height: 40vh;
    margin: 0 auto;
    padding: 22px clamp(12px, 4vw, 40px) 34px;
    background: #fff;
    color: var(--ink);
}

.glue-main *, .glue-main *::before, .glue-main *::after { box-sizing: border-box; }
.glue-main > * { width: min(100%, 820px); margin-inline: auto; }
.glue-main a { color: var(--accent); text-underline-offset: 3px; }
.glue-main a:hover { color: #6f3809; }
.glue-page :focus-visible { outline: 3px solid #e8ac63; outline-offset: 2px; }
.glue-main .glue-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.glue-main h1 { color: #332115; font-size: clamp(26px, 4vw, 34px); line-height: 1.16; font-weight: 800; }
.glue-main h2 { color: #332115; font-size: clamp(20px, 3vw, 25px); line-height: 1.25; }
.glue-main h3 { color: #332115; font-size: 18px; }
.glue-main h1, .glue-main h2, .glue-main h3, .glue-main a { overflow-wrap: anywhere; }

.glue-main .eyebrow {
    margin: 0 0 5px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.glue-main .glue-card {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: clamp(15px, 3vw, 25px);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    min-width: 0;
    overflow-wrap: anywhere;
}

.glue-main .post-summary:first-of-type,
.glue-main .discussion,
.glue-main .glue-card.glue-form {
    border-top: 4px solid var(--orange);
}

.glue-main .discussion,
.glue-main .glue-card.glue-form { background: var(--cream); }
.glue-main .breadcrumbs { margin: 13px auto 0; }
.glue-main .meta, .glue-main .hint { color: var(--muted); font-size: 14px; }
.glue-main .prose, .glue-main .comment-body, .glue-main .context p { white-space: pre-wrap; overflow-wrap: anywhere; }
.glue-main .prose { font-size: 17px; line-height: 1.65; }
.glue-main .glue-rich-post { white-space: normal; }
.glue-main .glue-rich-post .shop-photo { margin: 0.8rem 0; }
.glue-main [data-photo-editor] [hidden] { display: none !important; }
.glue-main .glue-editor-toolbar { gap: 0.35rem; margin-bottom: 0.5rem; }
.glue-main .glue-editor-toolbar button { padding: 0.35rem 0.6rem; }
.glue-main .glue-rich-editor {
    min-height: 16rem;
    padding: 0.8rem;
    border: 1px solid #b9a995;
    border-radius: 8px;
    background: #fff;
    overflow-wrap: anywhere;
}
.glue-main .glue-rich-editor:focus { outline: 2px solid #805331; outline-offset: 2px; }
.glue-main .glue-photo-marker { font-size: 0; }
.glue-main .glue-photo-marker::after {
    content: 'Photo';
    font-size: 0.8rem;
    padding: 0.1rem 0.4rem;
    border: 1px solid #b9a995;
    border-radius: 4px;
    background: #f7eee2;
}
.glue-main .shop-photo, .glue-main .editor-photo { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.glue-main .editor-photo { max-height: 220px; }
.glue-main .text-action { width: fit-content; font-weight: 800; font-size: 14px; }
.glue-main .notice {
    margin: 14px auto 0;
    padding: 12px 14px;
    color: #664021;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff4e3;
}
.glue-main .glue-card .notice { width: 100%; margin: 0; }
.glue-main .thread-list, .glue-main .thread-replies, .glue-main .desk-list { list-style: none; margin: 0; padding: 0; }
.glue-main .thread-replies { margin-inline-start: clamp(9px, 2vw, 21px); padding-inline-start: 9px; border-inline-start: 1px solid #ceb99e; }
.glue-main .thread-replies .thread-replies { margin-inline-start: 0; border-inline-start: 0; padding-inline-start: 0; }
.glue-main .comment { display: grid; gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.glue-main .thread-item { scroll-margin-top: 14px; }
.glue-main .comment-heading, .glue-main .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.glue-main .comment-initials {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 1px solid #d9c6ae;
    border-radius: 50%;
    background: #fff1dd;
    color: #664021;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
}
.glue-main .pagination:empty { display: none; }
.glue-main .pagination, .glue-main .desk-nav { margin-top: 14px; }
.glue-main .pill {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #d9c6ae;
    border-radius: 20px;
    background: #fff7eb;
    color: #664021;
    font-size: 12px;
    font-weight: 800;
}

.glue-main .glue-form { display: grid; gap: 12px; }
.glue-main .discussion .glue-form { margin-top: 7px; }
.glue-main textarea {
    display: block;
    width: 100%;
    min-height: 95px;
    margin-top: 5px;
    padding: 9px 11px;
    border: 1px solid #cbbca9;
    border-radius: 8px;
    resize: vertical;
    color: #27211c;
    background: white;
    font: 600 16px/1.45 Nunito, Arial, sans-serif;
}
.glue-main input[type=hidden] { display: none; }
.glue-main .check { display: flex; align-items: center; gap: 8px; }
.glue-main input[type=checkbox] { width: 17px; min-height: 17px; margin: 0; }
.glue-main a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.glue-main a.primary, .glue-main button.primary { background: #a94c00; border-color: #a94c00; color: white; }
.glue-main a.primary:hover, .glue-main button.primary:hover { background: #984700; }
.glue-main .desk-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.glue-main .preview-title { margin-top: 16px; }
.glue-main .moderation-row { display: grid; gap: 9px; border-top: 1px solid var(--line); padding: 13px 0; }
.glue-main .context { margin: 0; padding: 8px 12px; background: var(--cream); border-inline-start: 3px solid #d9c6ae; color: var(--muted); }

.glue-footer {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 17px;
    padding: 16px;
    border-top: 1px solid #e8d9c4;
    font-size: 14px;
}
.glue-footer a { color: #664021; }

@media (max-width: 600px) {
    .glue-site-header { margin-top: 6px; }
    .glue-logo { min-height: 64px; }
    .glue-logo img { height: auto; max-height: 60px; }
    .glue-site-header nav > a, .glue-site-header summary { font-size: 13px; }
}

.glue-main .glue-edit-window {
    display: grid;
    gap: 8px;
    justify-items: start;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.glue-main .glue-edit-window form { width: 100%; }
.glue-main .glue-edit-window fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.glue-main [data-edit-clock] { font-variant-numeric: tabular-nums; }

.glue-main .bulk-check { width: 17px; min-height: 17px; margin: 0; }
.glue-main .thread-item:target > .comment { outline: 2px solid #d36900; outline-offset: 3px; }
.glue-main .comment > .actions:empty { display: none; }

.glue-main .moderation-filters label { flex: 1 1 12rem; min-width: 0; }
.glue-main .moderation-filters select { max-width: 100%; }

.glue-main .glue-notification-options {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.glue-shared-header { padding-block: 15px 18px; }
.glue-shared-header .main_menu,
.glue-shared-footer .footer { line-height: normal; }
.glue-shared-header .column_h {
    border-top: 2px solid #000;
    border-bottom: 1px solid #000;
    table-layout: fixed;
    width: 100%;
}
.glue-shared-header .column_h td > a { text-decoration: none; }
.glue-shared-footer { padding-block: 16px; }
.glue-shared-footer .footer tr:first-child a {
    display: block;
    padding: 8px 20px;
    color: inherit;
    text-decoration: none;
}
@media screen and (max-width: 700px) {
    .glue-shared-header .main_menu,
    .glue-shared-footer .footer,
    .glue-shared-footer .gw-mobile-footer {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin-inline: auto !important;
        box-sizing: border-box;
    }
    .glue-shared-footer .footer tr:first-child a { padding: 0; }
}
