:root {
    --ink: #2e2e2e;
    --muted: #6f6f6f;
    --line: #dedede;
    --soft: #f5f5f3;
    --red: #c41d22;
    --red-dark: #951419;
    --green: #607d3b;
    --white: #fff;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Verdana, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
a { color: var(--red); }
img { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-top: 5px solid var(--red); border-bottom: 1px solid var(--line); background: #fafafa; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; line-height: 1.2; }
.brand-name { color: var(--red); font-size: 24px; font-weight: 700; }
.brand-note { margin-top: 4px; color: var(--muted); font-size: 11px; }
nav { display: flex; gap: 22px; }
nav a { color: #555; font-size: 13px; text-decoration: none; }
nav a:hover, nav a.active { color: var(--red); }
.page-heading { padding: 40px 0 30px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 4px; color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 38px; font-weight: 400; line-height: 1.2; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 54px; padding: 12px 0 64px; align-items: start; }
.main-column { min-width: 0; }
.article-preview { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 25px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.article-preview:first-child { padding-top: 28px; }
.article-preview.no-image { grid-template-columns: 1fr; }
.preview-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.preview-image img { width: 100%; height: 100%; object-fit: cover; }
time { color: var(--muted); font-size: 12px; }
.article-preview h2, .full-article h2 { margin: 5px 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; line-height: 1.3; }
.article-preview h2 a { color: var(--ink); text-decoration: none; }
.article-preview h2 a:hover { color: var(--red); }
.article-preview p { margin: 0 0 14px; color: #555; }
.read-more { font-size: 13px; font-weight: 700; text-decoration: none; }
.read-more span { display: inline-block; margin-left: 3px; }
.sidebar { position: sticky; top: 20px; margin-top: 28px; border-left: 1px solid var(--line); padding-left: 26px; }
.sidebar > h2 { margin: 0 0 8px; color: var(--ink); font-size: 16px; }
.sidebar-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sidebar-item img, .sidebar-placeholder { width: 76px; height: 58px; object-fit: cover; background: #ecece7; }
.sidebar-placeholder { display: grid; place-items: center; color: #aaa; font-family: Georgia, serif; font-size: 23px; }
.sidebar-item strong { display: block; font-size: 12px; line-height: 1.4; }
.sidebar-item small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.sidebar-item:hover strong { color: var(--red); }
.full-article { padding: 30px 0; }
.back-link { display: inline-block; margin-bottom: 24px; font-size: 13px; text-decoration: none; }
.full-article h2 { margin-top: 8px; font-size: 36px; }
.article-body { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.8; }
.article-body h2, .article-body h3 { margin: 30px 0 10px; font-family: Verdana, Arial, sans-serif; font-size: 20px; }
.article-body img { display: block; max-width: 100%; height: auto; margin-top: 24px; margin-bottom: 24px; }
.article-body img.image-size-25 { width: 25%; }
.article-body img.image-size-50 { width: 50%; }
.article-body img.image-size-75 { width: 75%; }
.article-body img.image-size-100 { width: calc(100% - 32px); }
.article-body img.align-left { margin-right: auto; margin-left: 0; }
.article-body img.align-center { margin-right: auto; margin-left: auto; }
.article-body img.align-right { margin-right: 0; margin-left: auto; }
.article-body blockquote { margin: 24px 0; padding: 12px 20px; border-left: 3px solid var(--green); background: var(--soft); }
.article-body table { display:block; width:100%; margin:28px 0; overflow-x:auto; border-collapse:collapse; border-spacing:0; font-family:Verdana,Arial,sans-serif; font-size:13px; line-height:1.5; }
.article-body thead,.article-body tbody,.article-body tfoot { width:100%; }
.article-body th,.article-body td { min-width:70px; padding:10px 12px; border:1px solid #cfd1d0; text-align:left; vertical-align:top; }
.article-body th { color:#2b2b2b; background:#eeeeea; font-weight:700; }
.article-body td:first-child,.article-body th:first-child { width:54px; min-width:54px; text-align:center; }
.article-body table p { margin:0; }
.article-body caption { padding:0 0 10px; color:var(--muted); font-size:12px; text-align:left; }
.empty-state { padding: 60px 0; }
.button { display: inline-block; padding: 9px 14px; border: 1px solid var(--red); color: var(--red); text-decoration: none; }
.blog-footer { border-top: 1px solid var(--line); background: var(--soft); }
.blog-footer .shell { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }

@media (max-width: 800px) {
    .shell { width: min(100% - 28px, 680px); }
    .header-inner { min-height: 74px; }
    .brand-note { display: none; }
    .content-layout { grid-template-columns: 1fr; gap: 10px; }
    .sidebar { position: static; border-top: 1px solid var(--line); border-left: 0; padding: 28px 0 0; }
}

@media (max-width: 560px) {
    body { font-size: 14px; }
    .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 0; }
    nav { gap: 18px; }
    .page-heading { padding: 28px 0 20px; }
    h1 { font-size: 31px; }
    .article-preview { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
    .preview-image { aspect-ratio: 16 / 9; }
    .article-preview h2, .full-article h2 { font-size: 25px; }
    .full-article h2 { font-size: 29px; }
    .article-body { font-size: 17px; }
    .article-body img.image-size-100 { width: calc(100% - 16px); }
}

