/*
Theme Name: Amiga of Rochester — Mac OS 9
Theme URI: https://amigaofrochester.com/
Author: Amiga of Rochester
Description: Mac OS 9 "Platinum" look: dithered desktop, menu bar with clock, pinstriped windows, Finder lists and bevelled buttons. Matches the new store. Plain CSS + inline SVG, no webfonts, no framework.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: aor-os9
*/

:root {
    --desk-a: #6a79a6;
    --desk-b: #7684b1;
    --plat: #dddddd;
    --plat-lt: #eeeeee;
    --white: #ffffff;
    --shade: #999999;
    --dark: #555555;
    --ink: #000000;
    --hi: #a3afdc;            /* selection highlight (OS 9 lavender-blue), used with black text */
    --link: #1c3f9e;
    --ok: #1b7a32;
    --warn: #b54a00;
    --err: #b3261e;
    --mono: "Monaco", "Menlo", "Andale Mono", "DejaVu Sans Mono", "Courier New", monospace;
    --ui: "Charcoal", "Chicago", "Lucida Grande", "Geneva", "Lucida Sans Unicode", "DejaVu Sans", Verdana, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #a9a9a9 #ececec; }
body {
    margin: 0; color: var(--ink); font: 13px/1.45 var(--ui);
    background-color: var(--desk-a);
    background-image: repeating-conic-gradient(var(--desk-b) 0% 25%, var(--desk-a) 0% 50%);
    background-size: 4px 4px;
    min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--link); }
a:hover { background: var(--hi); color: #000; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.mono { font-family: var(--mono); }
.muted { color: #555; }
.small { font-size: 11px; }
.sr { position: absolute; left: -9999px; }

/* ---- Scrollbars (Platinum: dithered track, bevelled thumb) ---- */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background-color: #fff; background-image: repeating-conic-gradient(#fff 0% 25%, #d4d4d4 0% 50%); background-size: 2px 2px; border-left: 1px solid #000; }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #fff, #d2d2d2 55%, #a8a8a8); border: 1px solid #000; box-shadow: inset 1px 1px 0 #fff; }
::-webkit-scrollbar-corner { background: #ddd; }
::-webkit-scrollbar-button { display: none; }

/* ---- Menu bar ---- */
.menubar {
    background: linear-gradient(#fff 0, #fff 1px, #ececec 1px, #d3d3d3 100%); border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(0,0,0,.3);
    position: sticky; top: 0; z-index: 20; font-size: 12px;
}
.menubar-in { max-width: 1120px; margin: 0 auto; padding: 0 10px; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; min-height: 24px; }
.menubar a, .menubar summary { color: var(--ink); text-decoration: none; padding: 3px 9px; display: inline-block; cursor: default; list-style: none; }
.menubar summary::-webkit-details-marker { display: none; }
.menubar a:hover, .menubar summary:hover, .menubar details[open] > summary { background: #000; color: #fff; }
.brand { font-weight: bold; display: flex !important; align-items: center; gap: 7px; padding-left: 0 !important; }
.brand svg { width: 18px; height: 18px; image-rendering: pixelated; }
.menubar .spacer { flex: 1; }
.menu { position: relative; }
.menu-list { position: absolute; top: 100%; left: 0; background: var(--plat); border: 1px solid #000; box-shadow: 2px 2px 0 rgba(0,0,0,.45), inset 1px 1px 0 #fff; min-width: 230px; padding: 2px 0; max-height: 70vh; overflow: auto; }
.menu-list a { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 2px 14px; }
.menu-list hr { border: 0; border-top: 1px solid #888; border-bottom: 1px solid #fff; margin: 3px 0; }
.search { display: flex; gap: 4px; align-items: center; }
.search input { width: 140px; padding: 1px 6px; font-size: 12px; }
.cartlink b { font-family: var(--mono); font-size: 11px; background: #000; color: #fff; padding: 0 6px; margin-left: 4px; border-radius: 8px; }
.clock { padding: 3px 10px 3px 8px; font-size: 12px; white-space: nowrap; cursor: default; }
.menubar a:hover b { background: #fff; color: #000; }

/* ---- Page frame ---- */
.desktop { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 22px 12px 34px; }
.cols { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.stack > * + * { margin-top: 20px; }
@media (max-width: 820px) { .cols, .cols-2 { grid-template-columns: 1fr; } }

/* ---- Windows ---- */
.win { position: relative; background: var(--plat); border: 1px solid #000; box-shadow: 2px 2px 0 rgba(0,0,0,.4), inset 1px 1px 0 #fff, inset -1px -1px 0 var(--shade); }
.win-title {
    position: relative; margin: 3px 3px 0; height: 20px; display: flex; align-items: center;
    background: repeating-linear-gradient(#fff 0 1px, #c4c4c4 1px 2px);
    border: 1px solid; border-color: #fff #777 #777 #fff; cursor: default;
}
/* close box (left) */
.win-title::before { content: ""; position: absolute; left: 5px; top: 50%; margin-top: -6.5px; width: 13px; height: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13' shape-rendering='crispEdges'%3E%3Crect width='13' height='13' fill='%23000'/%3E%3Crect x='1' y='1' width='11' height='11' fill='%23ddd'/%3E%3Cpath d='M1 1h10v1H2v9H1z' fill='%23fff'/%3E%3Cpath d='M11 2h1v10H2v-1h9z' fill='%23888'/%3E%3C/svg%3E") no-repeat; }
/* zoom + windowshade boxes (right) */
.win-title::after { content: ""; position: absolute; right: 5px; top: 50%; margin-top: -6.5px; width: 32px; height: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 13' shape-rendering='crispEdges'%3E%3Crect width='13' height='13' fill='%23000'/%3E%3Crect x='1' y='1' width='11' height='11' fill='%23ddd'/%3E%3Cpath d='M1 1h10v1H2v9H1z' fill='%23fff'/%3E%3Cpath d='M11 2h1v10H2v-1h9z' fill='%23888'/%3E%3Crect x='3.5' y='3.5' width='6' height='6' fill='none' stroke='%23000'/%3E%3Crect x='19' width='13' height='13' fill='%23000'/%3E%3Crect x='20' y='1' width='11' height='11' fill='%23ddd'/%3E%3Cpath d='M20 1h10v1h-9v9h-1z' fill='%23fff'/%3E%3Cpath d='M30 2h1v10H21v-1h9z' fill='%23888'/%3E%3Cpath d='M22 6h7v1h-7z' fill='%23000'/%3E%3C/svg%3E") no-repeat; }
.win-title h2, .win-title h1, .win-title .t {
    /* One fixed-height label for every kind of title, centred, with the window grey behind it so the stripes stop around the text. */
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box;
    height: 16px; line-height: 16px; margin: 0; padding: 0 12px; background: var(--plat);
    font-size: 12px; font-weight: bold; white-space: nowrap; max-width: calc(100% - 100px); overflow: hidden; text-overflow: ellipsis; }
.win-body { margin: 2px 3px 3px; padding: 12px; background: var(--plat); }
.win-body.paper { background: #fff; border: 1px solid; border-color: #777 #fff #fff #777; box-shadow: inset 1px 1px 0 #bbb; margin: 2px 6px 6px; }
.win-status { border-top: 1px solid #777; box-shadow: 0 -1px 0 #fff; padding: 3px 10px; font-size: 11px; background: var(--plat); display: flex; justify-content: space-between; gap: 10px; margin: 0 3px 3px; }
/* grow box in the bottom-right corner */
.win::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; pointer-events: none;
    background: repeating-linear-gradient(135deg, transparent 0 3px, #888 3px 4px, #fff 4px 5px); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
/* windowshade: click the right-hand box (or double-click the title bar) */
.win.shaded > :not(.win-title) { display: none; }
.win.shaded::after { display: none; }
/* inactive windows (cards, sidebar): flat title, no boxes, grey label — they wake up under the pointer */
.card > .win-title, aside.win > .win-title { background: var(--plat); border-color: #f4f4f4 #aaa #aaa #f4f4f4; }
.card > .win-title::before, .card > .win-title::after, aside.win > .win-title::before, aside.win > .win-title::after { display: none; }
.card > .win-title .t, aside.win > .win-title h2 { color: #6a6a6a; background: transparent; }
.card:hover > .win-title, .card:focus-within > .win-title, aside.win:hover > .win-title { background: repeating-linear-gradient(#fff 0 1px, #c4c4c4 1px 2px); border-color: #fff #777 #777 #fff; }
aside.win:hover > .win-title::before, aside.win:hover > .win-title::after { display: block; }   /* cards only get stripes, so long names keep the full width */
.card > .win-title .t { max-width: calc(100% - 12px); }
.card:hover > .win-title .t, .card:focus-within > .win-title .t, aside.win:hover > .win-title h2 { color: #000; background: var(--plat); }

/* Finder-style info strip under a window's title bar */
.infobar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 3px; padding: 2px 10px; font-size: 11px; color: #222;
    background: linear-gradient(#efefef, #d9d9d9); border: 1px solid; border-color: #fff #777 #777 #fff; }

/* ---- Controls ---- */
.btn, button.btn {
    font: inherit; font-size: 12px; line-height: 1.2; color: var(--ink); text-decoration: none; display: inline-block; cursor: pointer; padding: 4px 14px 5px; min-height: 22px; text-align: center;
    background: linear-gradient(#fdfdfd, #e2e2e2 50%, #cacaca); border: 1px solid #000; border-radius: 6px;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #7d7d7d, 1px 1px 0 rgba(0,0,0,.25);
}
.btn:hover { background: linear-gradient(#fff, #ececec 50%, #d4d4d4); color: var(--ink); }
.btn:active { background: linear-gradient(#9a9a9a, #b9b9b9); box-shadow: inset 1px 1px 0 #555, inset -1px -1px 0 #ddd; }
.btn.default { margin: 4px; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #7d7d7d, 0 0 0 1px var(--plat), 0 0 0 4px #000; }
.btn[disabled], .btn.off { color: #888; border-color: #777; cursor: not-allowed; box-shadow: none; background: #d4d4d4; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.link { background: none; border: 0; box-shadow: none; text-decoration: underline; color: var(--link); padding: 0; min-height: 0; border-radius: 0; }
.btn.link:active { background: none; box-shadow: none; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=number], select, textarea {
    font: inherit; font-size: 12px; color: var(--ink); background: #fff; border: 1px solid #000; box-shadow: inset 1px 1px 0 #777, inset 2px 2px 0 #ddd; padding: 3px 6px; border-radius: 0; max-width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #6d7fc0; outline-offset: 1px; }
input[type=number] { width: 4.5em; font-family: var(--mono); }
textarea { width: 100%; min-height: 80px; resize: vertical; }
/* popup-menu select */
select { -webkit-appearance: none; appearance: none; padding-right: 26px; cursor: pointer; border-radius: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' shape-rendering='crispEdges'%3E%3Cpath d='M5 1 1 6h8zM5 13 1 8h8z' fill='%23000'/%3E%3C/svg%3E") no-repeat right 8px center / 8px 11px,
        linear-gradient(#fdfdfd, #e2e2e2 50%, #cacaca);
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #7d7d7d, 1px 1px 0 rgba(0,0,0,.25); }
/* checkboxes + radio buttons */
input[type=checkbox], input[type=radio] { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin: 0 6px 0 0; vertical-align: -3px; background: #fff; border: 1px solid #000;
    box-shadow: inset 1px 1px 0 #777; flex: none; cursor: pointer; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M2 2h2v1h1v1h2V3h1V2h2v2H9v1H8v2h1v1h1v2H8V9H7V8H5v1H4v1H2V8h1V7h1V5H3V4H2z' fill='%23000'/%3E%3C/svg%3E") center/10px no-repeat; }
input[type=radio]:checked { background: radial-gradient(#000 0 3px, #fff 3.5px); }
label { display: block; font-weight: bold; margin-bottom: 2px; }
.field { margin-bottom: 12px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field select { width: 100%; }
.field-err { color: var(--err); font-size: 11px; margin-top: 2px; }
.field-err::before { content: "\26A0\FE0E  "; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 12px; }
@media (max-width: 560px) { .row, .row3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---- Alerts: Platinum dialog boxes with the classic icons ---- */
.alert {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23000'/%3E%3Ccircle cx='16' cy='16' r='13' fill='%234f6fc4'/%3E%3Cellipse cx='12' cy='10' rx='7' ry='4' fill='%23fff' opacity='.35'/%3E%3Cpath d='M14 13h4v10h-4zM14 8h4v3h-4z' fill='%23fff'/%3E%3C/svg%3E");
    position: relative; background: var(--plat); border: 1px solid #000; box-shadow: 2px 2px 0 rgba(0,0,0,.4), inset 1px 1px 0 #fff, inset -1px -1px 0 #888, inset 0 0 0 4px var(--plat), inset 0 0 0 5px #888;
    padding: 14px 16px 14px 64px; min-height: 58px; margin-bottom: 16px;
}
.alert::before { content: ""; position: absolute; left: 18px; top: 13px; width: 32px; height: 32px; background: var(--icon) center/contain no-repeat; }
.alert.error { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2 30 28H2z' fill='%23000'/%3E%3Cpath d='M16 5 27.5 26.5h-23z' fill='%23f6d628'/%3E%3Cpath d='M14.5 11h3v8h-3zM14.5 21h3v3h-3z' fill='%23000'/%3E%3C/svg%3E"); }
.alert.ok { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23000'/%3E%3Ccircle cx='16' cy='16' r='13' fill='%2330a14e'/%3E%3Cellipse cx='12' cy='10' rx='7' ry='4' fill='%23fff' opacity='.35'/%3E%3Cpath d='M8 16l3-3 4 4 7-8 3 3-10 11z' fill='%23fff'/%3E%3C/svg%3E"); }

/* ---- Hero ---- */
.statusbar { background: linear-gradient(#efefef, #d6d6d6); border-top: 1px solid #000; box-shadow: inset 0 1px 0 #fff; font-size: 11px; }
.statusbar-in { max-width: 1120px; margin: 0 auto; padding: 5px 12px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.statusbar a { color: var(--ink); }

/* ================= WordPress additions ================= */
.screen-reader-text { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 8px; top: 30px; z-index: 99; background: #fff; color: #000; padding: 6px 10px; border: 1px solid #000; width: auto; height: auto; }
.menubar .menu-wp, .menubar .menu-wp ul { list-style: none; margin: 0; padding: 0; }
.menubar .menu-wp { display: flex; flex-wrap: wrap; align-items: center; }
.menubar .menu-wp li { position: relative; }
.menubar .menu-wp > li > a { display: block; }
.menubar .menu-wp .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 30; background: var(--plat); border: 1px solid #000; box-shadow: 2px 2px 0 rgba(0,0,0,.45), inset 1px 1px 0 #fff; min-width: 240px; padding: 2px 0; }
.menubar .menu-wp li:hover > .sub-menu, .menubar .menu-wp li:focus-within > .sub-menu { display: block; }
.menubar .menu-wp .sub-menu a { display: block; padding: 2px 14px; white-space: nowrap; }
.menubar .menu-wp .sub-menu .sub-menu { top: -3px; left: 100%; }
.menubar .menu-wp li:hover > a, .menubar .menu-wp li:focus-within > a { background: #000; color: #fff; }
.menubar .menu-wp .menu-item-has-children > a::after { content: " \25BE"; font-size: 9px; }
.menubar .menu-wp .sub-menu .menu-item-has-children > a::after { content: " \25B8"; float: right; }
.menubar .brand { font-weight: bold; margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.menubar-toggle { display: none; }
@media (max-width: 760px) {
    .menubar-toggle { display: inline-block; background: none; border: 0; font: inherit; padding: 3px 9px; }
    .menubar .nav-wrap { display: none; width: 100%; order: 9; }
    .menubar.open .nav-wrap { display: block; }
    .menubar .menu-wp { display: block; }
    .menubar .menu-wp .sub-menu { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding-left: 14px; }
}
.search-form { display: flex; gap: 4px; align-items: center; }
.search-form label { margin: 0; font-weight: normal; }
.search-form input[type=search] { width: 150px; padding: 1px 6px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.layout.no-side { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
.layout > .stack > * + *, .stack > * + * { margin-top: 20px; }

.entry-meta { font-size: 11px; color: #444; margin: -4px 0 10px; }
.entry-content { overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.2em 0 .4em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin: 0 0 .9em; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; }
.entry-content img { border: 1px solid; border-color: #777 #fff #fff #777; box-shadow: 1px 1px 0 #000; background: #fff; padding: 2px; }
.entry-content figure { margin: 0 0 1em; } .entry-content figcaption, .wp-caption-text { font-size: 11px; color: #444; margin-top: 3px; }
.entry-content blockquote { margin: 0 0 1em; padding: 6px 12px; background: #f4f4f4; border-left: 4px solid var(--shade); }
.entry-content pre, .entry-content code { font-family: var(--mono); font-size: 12px; background: #f4f4f4; }
.entry-content pre { padding: 8px 10px; overflow: auto; border: 1px solid #aaa; }
.entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 1em; background: #fff; border: 1px solid #000; }
.entry-content th { background: linear-gradient(#f4f4f4, #cdcdcd); text-align: left; padding: 2px 8px; border-bottom: 1px solid #000; border-right: 1px solid #888; font-size: 11px; }
.entry-content td { padding: 5px 8px; border-bottom: 1px solid #e4e4e4; border-right: 1px solid #eee; }
.entry-content hr { border: 0; border-top: 1px solid #888; border-bottom: 1px solid #fff; margin: 1.2em 0; }
.alignleft { float: left; margin: 0 14px 8px 0; } .alignright { float: right; margin: 0 0 8px 14px; } .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: block; clear: both; }
.wp-block-image img, .wp-block-gallery img { height: auto; }
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.wp-block-gallery .wp-block-image { flex: 1 1 160px; margin: 0; }
.wp-block-button__link, .wp-element-button, .entry-content .button, input[type=submit], button[type=submit] {
    font: inherit; font-size: 12px; color: var(--ink); text-decoration: none; display: inline-block; cursor: pointer; padding: 4px 14px 5px; min-height: 22px;
    background: linear-gradient(#fdfdfd, #e2e2e2 50%, #cacaca); border: 1px solid #000; border-radius: 6px;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #7d7d7d, 1px 1px 0 rgba(0,0,0,.25); }
.wp-block-button__link:hover, input[type=submit]:hover { background: linear-gradient(#fff, #ececec 50%, #d4d4d4); color: var(--ink); }
.wp-block-button__link:active, input[type=submit]:active { background: linear-gradient(#9a9a9a, #b9b9b9); box-shadow: inset 1px 1px 0 #555, inset -1px -1px 0 #ddd; }
.wp-block-columns { display: flex; gap: 20px; flex-wrap: wrap; } .wp-block-column { flex: 1 1 220px; min-width: 0; }
.wp-block-embed iframe, .wp-block-video video { width: 100%; }

.post-list > article + article { margin-top: 20px; }
.post-list .more { margin-top: 10px; }
.thumb-frame { display: block; background: #fff; border: 1px solid; border-color: #777 #fff #fff #777; box-shadow: inset 1px 1px 0 #bbb; padding: 3px; margin-bottom: 10px; }
.thumb-frame img { display: block; width: 100%; height: auto; }
.pagination, .post-navigation .nav-links, .comments-pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.page-numbers { display: inline-block; padding: 3px 12px; color: #000; text-decoration: none; background: linear-gradient(#fdfdfd, #e2e2e2 50%, #cacaca); border: 1px solid #000; border-radius: 6px; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #7d7d7d; }
.page-numbers.current { background: #000; color: #fff; } .page-numbers.dots { background: none; border: 0; box-shadow: none; }
.post-navigation .nav-links a { display: inline-block; padding: 3px 12px; color: #000; text-decoration: none; background: linear-gradient(#fdfdfd, #e2e2e2 50%, #cacaca); border: 1px solid #000; border-radius: 6px; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #7d7d7d; }

.widget { margin: 0; } .widget + .widget { margin-top: 20px; }
.widget ul { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid; border-color: #777 #fff #fff #777; box-shadow: inset 1px 1px 0 #bbb; }
.widget ul li { padding: 0; border-bottom: 1px solid #ececec; } .widget ul li a { display: block; padding: 3px 8px; color: var(--ink); text-decoration: none; }
.widget ul li a:hover { background: var(--hi); }
.widget ul ul { border: 0; box-shadow: none; padding-left: 12px; }
.cat-pills a { display: inline-block; margin: 0 4px 4px 0; }

.comments-area .comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment { margin: 0 0 12px; padding: 8px 10px; background: #fff; border: 1px solid; border-color: #777 #fff #fff #777; box-shadow: inset 1px 1px 0 #bbb; }
.comment-list .children { list-style: none; margin: 10px 0 0 16px; padding: 0; }
.comment-meta { font-size: 11px; color: #444; margin-bottom: 4px; } .comment-author img { float: left; margin-right: 8px; border: 1px solid #000; }
.comment-form p { margin: 0 0 10px; } .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; }
.error-code { font-family: var(--mono); font-size: 3rem; text-align: center; margin: 10px 0; }
.admin-bar .menubar { top: 32px; } @media (max-width: 782px) { .admin-bar .menubar { top: 46px; } }
@media print { body { background: #fff; } .menubar, .statusbar, aside, .pagination { display: none; } .win { box-shadow: none; } }
/* sidebar widgets are "inactive" windows until the pointer is over them */
aside .widget > .win-title { background: var(--plat); border-color: #f4f4f4 #aaa #aaa #f4f4f4; }
aside .widget > .win-title::before, aside .widget > .win-title::after { display: none; }
aside .widget > .win-title .t { color: #6a6a6a; background: transparent; }
aside .widget:hover > .win-title { background: repeating-linear-gradient(#fff 0 1px, #c4c4c4 1px 2px); border-color: #fff #777 #777 #fff; }
aside .widget:hover > .win-title::before, aside .widget:hover > .win-title::after { display: block; }
aside .widget:hover > .win-title .t { color: #000; background: var(--plat); }
.win-body.paper.entry-content { padding: 14px 16px; }
.post-list .win-body.paper > .thumb-frame:first-child { margin-top: 0; }

/* menu bar: search + clock stay together on the right and never wrap onto a row of their own */
.menubar-in { flex-wrap: wrap; }
.menubar .mb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.menubar .search-form input[type=search] { width: 150px; height: 18px; padding: 0 6px; font-size: 11px; }
.menubar .clock { padding: 3px 4px 3px 10px; border-left: 1px solid #999; box-shadow: -1px 0 0 #fff; min-width: 62px; text-align: right; }
@media (max-width: 1000px) { .menubar .search-form input[type=search] { width: 110px; } }
@media (max-width: 760px) { .menubar .mb-right { order: 2; } .menubar .search-form input[type=search] { width: 90px; } .menubar .brand { order: 0; } .menubar-toggle { order: 1; } .menubar .clock { display: none; } }

@media (min-width: 761px) { .menubar .nav-wrap { flex: 1 1 0; min-width: 0; } .menubar .brand { white-space: nowrap; flex: none; } .menubar-in { flex-wrap: nowrap; align-items: flex-start; } .menubar .mb-right { padding-top: 3px; } }
