/* =========================================================
   DockerTips — design system
   Direction: "infra blueprint" — a self-hosting/homelab blog
   styled like a rack schematic: deep navy, dot-grid, amber
   status lights, monospace instrumentation, corner brackets
   borrowed from technical drawings.
   ========================================================= */

:root {
    /* Surfaces */
    --bg: #0A0E17;
    --bg-panel: #10182A;
    --bg-panel-soft: #0D1422;
    --bg-card: #101A2C;
    --bg-card-hover: #131F35;

    /* Lines */
    --line: #1E2A42;
    --line-bright: #30425F;

    /* Text */
    --text-main: #E8ECF4;
    --text-muted: #8592AD;
    --text-dim: #4C5772;

    /* Accents */
    --accent: #FFB454;          /* amber — primary signal */
    --accent-dim: #8A6636;
    --accent-soft: rgba(255, 180, 84, 0.12);
    --teal: #4FD1C5;            /* status-online */
    --teal-soft: rgba(79, 209, 197, 0.12);
    --red: #FF6E6A;

    /* Type */
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'JetBrains Mono', "SF Mono", Menlo, Consolas, monospace;

    --radius: 14px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle, rgba(140, 160, 200, 0.14) 1px, transparent 1px);
    background-size: 26px 26px;
    background-position: -13px -13px;
}

::selection {
    background: var(--accent-soft);
    color: var(--accent);
}

a { color: inherit; }

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* small monospace "eyebrow" labels used throughout */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
    margin-right: 6px;
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.status-dot-svg { animation: pulse 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .status-dot, .status-dot-svg { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* corner-bracket frame — the recurring "schematic" motif */
.bracket-frame {
    position: relative;
}
.bracket-frame::before,
.bracket-frame::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    opacity: 0.55;
}
.bracket-frame::before {
    top: -1px; left: -1px;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
}
.bracket-frame::after {
    bottom: -1px; right: -1px;
    border-bottom: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}

/* ============ Navigation ============ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.navbar-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.accent-green, .accent { color: var(--accent); }

nav .nav-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 28px;
    font-size: 13.5px;
    font-family: var(--font-mono);
    transition: color 0.2s;
    position: relative;
}

nav .nav-link::before {
    content: "";
    color: var(--text-dim);
}

nav .nav-link:hover, nav .nav-link.active {
    color: var(--accent);
}

nav .nav-link.active::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--accent);
    margin-top: 4px;
}

/* ============ Three column layout ============ */
.three-column-layout {
    display: grid;
    grid-template-columns: 264px 1fr 320px;
    gap: 28px;
    margin-top: 36px;
    margin-bottom: 90px;
    align-items: flex-start;
}

.widget-panel {
    background-color: var(--bg-panel);
    background-image: linear-gradient(180deg, rgba(255,180,84,0.03), transparent 40%);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid var(--line);
    position: sticky;
    top: 24px;
}

.widget-panel h3 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line-bright);
}

/* Clock / calendar widget */
.clock-display {
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.date-display {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.calendar-grid {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.calendar-month {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.calendar-days-header, .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 11px;
    font-family: var(--font-mono);
}

.calendar-days-header {
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 6px;
}

.calendar-days div {
    padding: 5px 0;
    border-radius: 6px;
    color: var(--text-muted);
}

.calendar-days .today {
    background-color: var(--accent);
    color: #0A0E17;
    font-weight: 700;
}

/* Habr news widget */
.habr-badge {
    background: var(--teal-soft);
    color: var(--teal);
    font-family: var(--font-mono);
    font-size: 9px;
    padding: 3px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(79, 209, 197, 0.35);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 850px;
    overflow-y: auto;
    padding-right: 6px;
}

.news-list::-webkit-scrollbar { width: 4px; }
.news-list::-webkit-scrollbar-track { background: transparent; }
.news-list::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 4px; }
.news-list::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

.news-item {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.news-item:last-child { border-bottom: none; padding-bottom: 0; }

.news-item a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.news-item a:hover { color: var(--accent); }

.news-date {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
}

/* ============ Center content ============ */
.center-content {
    display: flex;
    flex-direction: column;
}

.hero { padding: 8px 0 36px 0; text-align: center; }

.hero .eyebrow { margin-bottom: 14px; display: block; }

.hero h1 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 16px;
}

.hero p {
    font-size: 17.5px;
    line-height: 1.55;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: -0.1px;
    margin: 0 auto;
    max-width: 620px;
}

/* ---- Topology diagram: signature element ---- */
.topology {
    margin: 32px 0 40px 0;
    background: var(--bg-panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px 14px 22px;
}

.topology-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.topology-head .eyebrow { color: var(--text-dim); }

.topology-live {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--teal);
    display: flex;
    align-items: center;
}

.topology svg { display: block; width: 100%; height: auto; }

.topology-caption {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 6px;
    text-align: right;
}

/* ---- Article/service card grid ---- */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    transition: border-color 0.25s, transform 0.2s, background 0.25s;
}

.card:hover {
    border-color: var(--line-bright);
    background-color: var(--bg-card-hover);
    transform: translateY(-2px);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-family: var(--font-mono);
}

.category {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.06em;
}

.card-port {
    font-size: 10.5px;
    color: var(--text-dim);
}

.card h2 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.read-more {
    color: var(--text-main);
    text-decoration: none;
    font-size: 12.5px;
    font-family: var(--font-mono);
    font-weight: 500;
    border-top: 1px dashed var(--line-bright);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
}

.read-more:hover { color: var(--accent); }

/* ============ Article / post pages ============ */
.post-content {
    max-width: 700px;
    margin: 0 auto 110px auto;
}

.post-content > .category {
    display: inline-block;
    margin-top: 44px;
    margin-bottom: 18px;
}

.post-content h1 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
    line-height: 1.18;
    color: var(--text-main);
}

.subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 0;
    line-height: 1.5;
}

.post-meta {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-dim);
}

.post-meta span { display: flex; align-items: center; gap: 6px; }

.accent-line {
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--line-bright) 0 6px, transparent 6px 12px);
    margin: 32px 0;
}

.post-content h2 {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-top: 46px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.post-content h3 {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 34px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-content h3 .step-num {
    font-family: var(--font-mono);
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(255,180,84,0.35);
    border-radius: 6px;
    padding: 1px 8px;
    font-size: 12px;
}

.post-content p, .post-content li {
    font-size: 16.5px;
    line-height: 1.7;
    color: #C7CFE0;
}

.post-content ul, .post-content ol {
    padding-left: 22px;
}

.post-content strong { color: var(--text-main); }

.post-content a.inline-link {
    color: var(--teal);
    text-decoration: underline;
    text-decoration-color: rgba(79,209,197,0.4);
    text-underline-offset: 3px;
}

/* Pull quote */
.pull-quote {
    border-left: 2px solid var(--accent);
    padding: 4px 0 4px 22px;
    margin: 30px 0;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.45;
}

/* Callout boxes */
.callout {
    border: 1px solid var(--line-bright);
    background: var(--bg-panel-soft);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin: 26px 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
}

.callout-head {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callout.tip { border-color: rgba(79,209,197,0.35); }
.callout.tip .callout-head { color: var(--teal); }

.callout.warn { border-color: rgba(255,110,106,0.35); }
.callout.warn .callout-head { color: var(--red); }

.callout.note .callout-head { color: var(--accent); }

/* Table of contents */
.toc {
    background: var(--bg-panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin: 30px 0 40px 0;
}

.toc-title {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.toc ol {
    margin: 0;
    padding-left: 18px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.toc li { margin-bottom: 6px; }

.toc a {
    color: var(--text-muted);
    text-decoration: none;
}

.toc a:hover { color: var(--accent); }

/* Terminal-chrome code blocks */
.code-window {
    margin: 24px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line-bright);
    background: #0B111D;
}

.code-window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: #0F1626;
    border-bottom: 1px solid var(--line);
}

.code-window-dots { display: flex; gap: 6px; }
.code-window-dots span {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--line-bright);
}

.code-window-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

pre {
    font-family: var(--font-mono);
    background: transparent;
    color: #D3DAEB;
    padding: 18px 20px;
    border-radius: 0;
    border: none;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

.code-window pre .tok-key { color: var(--teal); }
.code-window pre .tok-str { color: var(--accent); }
.code-window pre .tok-com { color: var(--text-dim); font-style: italic; }

code {
    font-family: var(--font-mono);
    background: var(--bg-panel-soft);
    color: var(--accent);
    padding: 2.5px 6px;
    border-radius: 5px;
    font-size: 13.5px;
    border: 1px solid var(--line);
}

.post-content pre code {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
}

/* Simple diagram used inside the article */
.mini-diagram {
    margin: 28px 0;
    background: var(--bg-panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}
.mini-diagram svg { display: block; width: 100%; height: auto; }

/* Checklist */
.checklist { list-style: none; padding-left: 0; }
.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border-radius: 4px;
    border: 1px solid var(--teal);
    background: var(--teal-soft);
}

/* Simple data table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 14px;
}
.spec-table th, .spec-table td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}
.spec-table th {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    font-weight: 600;
}
.spec-table td { color: var(--text-muted); }
.spec-table td:first-child { color: var(--text-main); font-family: var(--font-mono); font-size: 13px; }

/* Article hero image treatment: duotone so stock photos match the palette */
.article-figure {
    margin: 36px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
}
.article-figure img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    filter: grayscale(35%) brightness(0.75) contrast(1.05);
}
.article-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,180,84,0.22), rgba(10,14,23,0.55) 65%);
    mix-blend-mode: multiply;
}
.article-figure figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: linear-gradient(0deg, rgba(10,14,23,0.85), transparent);
}

.home-figure {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
}
.home-figure img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: grayscale(35%) brightness(0.75) contrast(1.05);
}
.home-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,180,84,0.2), rgba(10,14,23,0.5) 65%);
    mix-blend-mode: multiply;
}

/* Product photo gallery for NAS model sections */
.model-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 18px 0 30px 0;
}

.model-photo {
    background: #EDEFF4;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px 16px 14px 16px;
    text-align: center;
    margin: 0;
}

.model-photo img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
}

.model-photo figcaption {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #3E4658;
}

.model-photo figcaption .model-tag {
    display: block;
    color: var(--text-dim);
    font-size: 10px;
    margin-top: 2px;
}

@media (max-width: 600px) {
    .model-photos { grid-template-columns: 1fr; }
}

/* ============ Breadcrumbs ============ */
.breadcrumbs {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-dim);
    margin: 20px 0 0 0;
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--text-dim); }
.breadcrumbs .current { color: var(--text-main); }

/* ============ Category icons ============ */
.cat-icon {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    vertical-align: -1px;
    display: inline-block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

/* ============ Dropdown nav ============ */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13.5px;
    margin-left: 28px;
}
.nav-dropdown-toggle:hover { color: var(--accent); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 16px;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    min-width: 260px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    z-index: 30;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-group { margin-bottom: 14px; }
.nav-dropdown-group:last-child { margin-bottom: 0; }
.nav-dropdown-title {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 7px;
    padding-bottom: 7px;
    border-bottom: 1px dashed var(--line);
}
.nav-dropdown-menu a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--text-muted);
    text-decoration: none;
}
.nav-dropdown-menu a:hover { color: var(--accent); }

/* ============ Category filter chips (homepage) ============ */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 30px 0;
}
.filter-chip {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--line);
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    background: var(--bg-panel-soft);
    transition: border-color 0.2s, color 0.2s;
}
.filter-chip:hover { color: var(--text-main); }
.filter-chip.active { border-color: var(--accent); color: var(--accent); }

/* ============ Roadmap ("с чего начать") ============ */
.roadmap {
    margin: 8px 0 40px 0;
    background: var(--bg-panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
}
.roadmap-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 4px 0;
}
.roadmap-sub {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0 0 16px 0;
}
.roadmap-steps {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.roadmap-step {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.roadmap-step .num {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 12.5px;
    flex-shrink: 0;
}
.roadmap-step a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}
.roadmap-step a:hover { color: var(--accent); }
.roadmap-step .desc {
    color: var(--text-dim);
    font-size: 12.5px;
}
.roadmap-footnote {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line-bright);
    font-size: 12.5px;
    color: var(--text-muted);
}
.roadmap-footnote a.inline-link { color: var(--teal); }

/* ============ Read-next ("читайте также") ============ */
.read-next {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px dashed var(--line-bright);
}
.read-next-title {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 18px;
}
.read-next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.read-next-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.read-next-card:hover {
    border-color: var(--line-bright);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.read-next-card .category {
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-bottom: 10px;
}
.read-next-card h4 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-main);
}

@media (max-width: 700px) {
    .read-next-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0 50px 0;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
    .three-column-layout { grid-template-columns: 1fr 320px; }
    .widget-panel.left-widget { display: none; }
}

@media (max-width: 900px) {
    .three-column-layout { grid-template-columns: 1fr; }
    .widget-panel.right-widget { display: none; }
    .grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .post-content h1 { font-size: 30px; }
}

