:root {
    color-scheme: light;
    --surround: #e8e8e8;
    --paper: #f7f2e8;
    --panel: #fffef9;
    --line: #e2d8c8;
    --ink: #2c2018;
    --muted: #5c4f44;
    --link: #4a5f42;
    --sans: Verdana, Geneva, sans-serif;
    --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surround); color: var(--ink); font: 1rem/1.5 var(--sans); }
.wrap { width: 100%; max-width: 100%; margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: 85%; } }
a { color: var(--link); text-underline-offset: .16em; }
a:hover { color: #2c3e27; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.24rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1rem; color: #1a1a1a; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption { padding: .4rem 0; font-size: .85rem; color: var(--muted); }
button, input, select, textarea { font: inherit; }
button, .button, .mast nav a, .mast nav .text-button {
    display: inline-block; padding: .46em .76em; border: 1px solid #c4b49a;
    border-radius: 5px; background: linear-gradient(180deg, #fbf7f0, #ebe2d4 55%, #e0d4c2);
    color: #4a4038; font-size: .87rem; font-weight: 600; text-decoration: none;
    box-shadow: inset 0 1px #fff, 0 1px 0 #b39f84; cursor: pointer; white-space: nowrap;
}
button:hover, .button:hover, .mast nav a:hover, .mast nav .text-button:hover { background: #fffaf0; color: var(--ink); }
.secondary { background: #fffef9; }
.mast { padding: .7rem 15px .55rem; background: #fff; box-shadow: inset 0 -1px #c4b49a, 0 1px #efe6d8, 0 2px #a89274; }
.brand { display: block; width: 100%; line-height: 0; background: #f5f0dd; }
.brand img { width: 100%; height: auto; }
.site-tagline { margin: .28em 0; color: #3d2b1f; text-align: center; font: italic clamp(.6rem, 3vw, 1.05rem)/1.25 var(--serif); letter-spacing: .015em; }
.mast nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .42rem; padding: .35rem 0 .1rem; }
.mast nav a, .mast nav .text-button { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.footer { padding: 1rem 1em 1.5rem; background: white; border-top: 1px solid #c8c8c8; text-align: center; }
.footer nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.footer nav a { font-size: .84rem; color: #5a5a5a; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer nav a + a::before { content: "·"; margin: 0 .45rem; color: #b0b0b0; }
.footer p { margin: .85rem 0 0; padding-top: .75rem; border-top: 1px solid #e8e8e8; color: #7a7a7a; font: .82rem/1.5 Georgia, "Times New Roman", serif; }
.skip { position: absolute; top: -4rem; left: .5rem; z-index: 3; padding: .4rem; background: white; }
.skip:focus { top: .4rem; }
main { min-height: 64vh; padding: 1.25rem clamp(.85rem, 3vw, 2.25rem) 2.6rem; background: var(--paper); }
.page-intro { margin: -1.25rem calc(clamp(.85rem, 3vw, 2.25rem) * -1) 1rem; padding: 1.3rem clamp(.85rem, 3vw, 2.25rem) 1rem; background: #fff; }
.page-intro h1 { margin: 0 0 .3rem; }
.page-intro p { margin: 0 0 .5rem; color: var(--muted); }
.breadcrumb { color: #6b5a48; font-size: .88rem; }
.eyebrow, .date, .muted, td small { color: #6b5a48; font-size: .82rem; }
.filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.filters label { min-width: 9rem; margin: 0; }
.filters label:first-child { flex: 1; min-width: 12rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; max-width: 1080px; margin: 1.2rem auto; }
.card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 2px 10px rgba(44, 32, 24, .07); }
.card .image-link { display: block; background: #ebe3d4; overflow: hidden; }
.card .card-photo img { width: 100%; height: 200px; object-fit: cover; }
.card .card-photo figcaption { display: none; }
.card-copy { padding: 16px 18px 18px; }
.card-copy h2 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.35; }
.card-copy h2 a { color: var(--ink); text-decoration: none; }
.card-copy h2 a:hover { color: var(--link); text-decoration: underline; }
.card-copy p { margin: 0 0 .6rem; font-size: .92rem; color: var(--muted); }
.card-copy .date { font-size: .8rem; }
.read-link { font-size: .88rem; font-weight: 600; text-decoration: none; }
.read-link:hover { text-decoration: underline; }
.article { max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; padding: clamp(1rem, 3vw, 2rem); background: var(--panel); }
.article h1 { font-size: clamp(1.45rem, 3vw, 2rem); }
.back { display: inline-block; margin-bottom: .9rem; font-size: .88rem; }
.article .eyebrow { margin-bottom: .45rem; }
.article-cover { margin: 1rem 0 1.3rem; }
.article-cover img { width: 100%; max-height: 38rem; object-fit: contain; background: #ebe3d4; }
.article-body { color: #1a1a1a; font: 1rem/1.65 var(--sans); overflow-wrap: anywhere; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1em 0 .45em; }
.article-body pre, .article-body table { max-width: 100%; overflow: auto; }
.article-body blockquote { border-left: 3px solid #b3977b; padding-left: 1rem; margin-inline: 0; color: var(--muted); }
.text-left { text-align: left; }.text-center { text-align: center; }.text-right { text-align: right; }.text-justify { text-align: justify; }
.gallery, .picture-edit, .fields, .backup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .8rem; }
.gallery { margin-top: 1.25rem; }
.gallery img { width: 100%; max-height: 24rem; object-fit: contain; background: #ebe3d4; }
.actions, .row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-heading h1 { margin: 0; }
.panel, .table-wrap { padding: 1rem; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.table-wrap { padding: 0; overflow: auto; }
.panel + .panel { margin-top: .85rem; }
.narrow, .sign-in { max-width: 43rem; }
.sign-in { max-width: 31rem; margin: 1.2rem auto; }
.inline { display: inline; margin: 0; }
.text-button { padding: 0; color: var(--link); background: none; border: 0; box-shadow: none; text-decoration: underline; font: inherit; }
.text-button:hover { background: none; color: var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: .86rem; }
th, td { text-align: left; padding: .72rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #ebe2d4; }
td small { display: block; margin-top: .2rem; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: .06rem .55rem; border-radius: 1rem; background: #ece1d2; font-size: .78rem; white-space: nowrap; }
.pill.published { background: #dbece0; color: #24452e; }
.pill.hidden, .pill.trash { background: #f1dcd5; color: #702d23; }
.notice { margin: 0 0 1rem; padding: .6rem .8rem; border: 1px solid #a4bb9f; border-radius: .25rem; background: #e8f0e4; }
.notice.error { border-color: #c9907d; background: #f7e1d8; }
.empty { padding: 1rem; color: var(--muted); }
label { display: block; margin: .45rem 0 .75rem; font-size: .87rem; font-weight: 600; }
label input:not([type=checkbox]), label textarea, label select { display: block; width: 100%; margin-top: .24rem; padding: .48rem .6rem; border: 1px solid #bcae9e; border-radius: .22rem; background: #fff; color: var(--ink); font-size: .95rem; }
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: .42rem; font-weight: 400; }
.check input { accent-color: var(--link); }
fieldset { min-width: 0; padding: .65rem; margin: .75rem 0; border: 1px solid var(--line); border-radius: .25rem; }
legend { font-weight: 700; font-size: .87rem; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: .85rem; margin-top: 1rem; }
.wide { grid-column: 1 / -1; }
.editor-layout > .panel + .panel, .backup-grid .panel { margin: 0; }
.tools { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 5px; background: #e8dfd0; border: 1px solid #bcae9e; border-bottom: 0; }
.tools select { min-height: 29px; padding: 2px 4px; margin-right: 3px; color: #26211c; border: 1px solid #8b8177; background: white; font-size: .81rem; }
.tools .format-button { display: inline-grid; place-items: center; min-width: 29px; min-height: 29px; padding: 0 .22rem; color: #26211c; border: 1px solid transparent; border-radius: 1px; background: transparent; box-shadow: none; font: 600 .93rem/1 Arial, sans-serif; }
.tools .format-button:hover, .tools .format-button[aria-pressed=true] { border-color: #837360; background: #fdf9f1; }
.toolbar-rule { width: 1px; height: 22px; margin: 0 3px; background: #a89a89; box-shadow: 1px 0 #f9f4eb; }
.fmt-italic { font-style: italic !important; }.fmt-underline { text-decoration: underline; }.fmt-strike { text-decoration: line-through; }
.lines { width: 15px; height: 12px; background: repeating-linear-gradient(to bottom,#40362e 0 1px,transparent 1px 4px); }
.lines-left { clip-path: polygon(0 0,100% 0,100% 35%,70% 35%,70% 65%,100% 65%,100% 100%,0 100%); }
.lines-center { clip-path: polygon(0 0,100% 0,100% 35%,80% 35%,80% 65%,100% 65%,100% 100%,0 100%,0 65%,20% 65%,20% 35%,0 35%); }
.lines-right { clip-path: polygon(0 0,100% 0,100% 100%,0 100%,0 65%,30% 65%,30% 35%,0 35%); }
.compose { min-height: 21rem; padding: .85rem 1rem; border: 1px solid #bcae9e; background: #fff; }
.compose:focus-visible { outline-offset: -2px; }
.section { padding: .65rem 0; margin-top: .75rem; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
.search-preview-title { margin: .6rem 0 .18rem; font-weight: 600; color: var(--link); }
.seo-preview p { font-size: .88rem; }
.link-dialog { width: min(94vw, 32rem); border: 1px solid #bcae9e; border-radius: 7px; padding: 1.1rem; background: var(--panel); color: var(--ink); }
.link-dialog::backdrop { background: rgba(44,32,24,.5); }
.thumb img { max-height: 11rem; width: 100%; object-fit: contain; background: #f1e7d8; }
.picture-panel { padding: .65rem; border: 1px solid var(--line); }
.category-row { padding-top: .65rem; border-top: 1px solid var(--line); }
.backup-list { font-size: .86rem; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #7d562e; outline-offset: 2px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    h1 { font-size: 1.45rem; }.card-grid, .editor-layout { grid-template-columns: 1fr; }
    .mast { padding-inline: .4rem; }.card .card-photo img { height: 180px; }
    .filters label, .filters label:first-child { flex: 1; min-width: min(100%, 9rem); }
    .row-actions { min-width: 8rem; }.compose { min-height: 15rem; }
}

.mast nav .menu-unavailable {
    display: inline-block;
    padding: .46em .76em;
    border: 1px solid #c4b49a;
    border-radius: 5px;
    background: linear-gradient(180deg, #fbf7f0, #ebe2d4 55%, #e0d4c2);
    color: #4a4038;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.public .page-intro, .public-controls { width: 100%; max-width: 1080px; margin-inline: auto; }
.public .page-intro { margin-top: 0; padding: 1rem 0 .7rem; background: transparent; }
.public-controls { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.public-controls .filters label.public-search { flex: none; width: min(100%, 14rem); min-width: 10rem; }
.article-dates { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.bottom-save { justify-self: start; }
[hidden]{display:none!important}

/* Keep the small PayPal logo at its natural size inside the blog card. */
.card .card-photo img[src*="5b47beaeb833bca75a3b2e0f76de83679251d315a5dcf5db856dd319f612e3a7"] { object-fit: scale-down; object-position: center; }
