.theme-page { width: min(1120px,100%); min-width: 0; margin: 0 auto; padding: clamp(60px,8vw,110px) clamp(16px,5vw,72px); }
.theme-page h1 { max-width: 920px; margin: 10px 0 26px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(34px,6vw,72px); line-height: .98; letter-spacing: -2px; overflow-wrap: anywhere; text-transform: uppercase; }
.theme-page-lead { max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.theme-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.theme-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }
.theme-breadcrumb span { display: inline-flex; align-items: center; }
.theme-empty { display: grid; min-height: 72dvh; place-content: center; text-align: center; }
.theme-empty > * { margin-inline: auto; }
.theme-page-code { color: rgba(23,23,20,.08); font-family: "Russo One", Impact, sans-serif; font-size: clamp(90px,18vw,220px); line-height: .78; }
.theme-empty p { max-width: 520px; color: var(--muted); line-height: 1.6; }
.theme-page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.theme-page-actions a { display: inline-grid; place-items: center; text-decoration: none; }
.theme-richtext { color: #49463f; font-size: clamp(15px,1.5vw,18px); line-height: 1.78; }
.theme-richtext > * { max-width: 780px; }
.theme-richtext h2, .theme-richtext h3 { margin: 2em 0 .7em; color: var(--ink); font-family: "Russo One", Impact, sans-serif; line-height: 1.12; overflow-wrap: anywhere; text-transform: uppercase; }
.theme-richtext h2 { font-size: clamp(25px,4vw,39px); }
.theme-richtext h3 { font-size: clamp(20px,3vw,28px); }
.theme-richtext :is(img,video,iframe) { display: block; width: 100%; max-width: 100%; height: auto; margin: 26px 0; }
.theme-richtext blockquote { margin: 24px 0; padding: 18px 22px; border-left: 5px solid var(--yellow); background: #fff; }
.theme-richtext table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.theme-richtext :is(th,td) { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.theme-richtext a { color: #75402f; text-decoration-thickness: 2px; }
.theme-pills { display: flex; min-width: 0; gap: 8px; margin: 28px 0 34px; padding-bottom: 7px; overflow-x: auto; }
.theme-pills a, .theme-pagination a { display: inline-grid; min-width: 44px; min-height: 44px; flex: 0 0 auto; padding: 9px 13px; place-items: center; border: 1px solid var(--ink); color: var(--ink); background: #fff; font-size: 9px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.theme-pills a.active, .theme-pagination a.active { color: var(--yellow); background: var(--ink); }
.theme-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.theme-blog-card { display: flex; min-width: 0; min-height: 100%; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .22s var(--ease); }
.theme-blog-card:hover { transform: translateY(-5px); }
.theme-blog-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 2px solid var(--ink); }
.theme-blog-card > div { padding: 20px; }
.theme-blog-card span { color: #a65442; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.theme-blog-card h2 { margin: 9px 0; font-family: "Russo One", Impact, sans-serif; font-size: 20px; line-height: 1.15; overflow-wrap: anywhere; text-transform: uppercase; }
.theme-blog-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.theme-pagination { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 40px; }
.theme-post-date { display: inline-block; margin: -12px 0 28px; color: var(--muted); font-size: 11px; font-weight: 800; }
.theme-post-cover { display: block; width: 100%; max-height: 620px; margin: 0 0 38px; border: 2px solid var(--ink); object-fit: cover; }
.theme-post-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 52px; padding-top: 28px; border-top: 2px solid var(--ink); }
.theme-post-nav a { display: grid; min-width: 0; min-height: 110px; gap: 8px; padding: 18px; align-content: center; border: 1px solid var(--line); color: var(--ink); background: #fff; text-decoration: none; }
.theme-post-nav span { color: #a65442; font-size: 9px; font-weight: 900; }
.theme-post-nav b { overflow-wrap: anywhere; }

@media (max-width: 900px) { .theme-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
  .theme-page { padding: 50px 14px; }
  .theme-page h1 { letter-spacing: -1px; }
  .theme-blog-grid, .theme-post-nav { grid-template-columns: 1fr; }
  .theme-blog-card > div { padding: 16px; }
}
