:root {
            --card: #fff;
            --radius: 16px;
            }
            body {
            margin: 0;
            font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
            color: #111;
            background: #f6f7f9;
            }
            a {
            color: #1a5cff;
            text-decoration: none;
            }
            a:hover {
            text-decoration: underline;
            }
            .post-hero {
            background: var(--card);
            border-radius: var(--radius);
            box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
            margin: 28px clamp(16px, 5vw, 64px) 0;
            }
            .post-cover {
            aspect-ratio: 16/7;
            background: #ececf0;
            }
            .post-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            }
            .post-wrap {
            max-width: 90%;
            margin: 0 auto 80px;
            padding: 24px clamp(16px, 5vw, 48px) 40px;
            }
            .post-meta {
            display: flex;
            gap: 16px;
            align-items: center;
            color: #666;
            font-size: .92rem;
            margin-bottom: 10px;
            }
            .post-title {
            margin: 6px 0 12px;
            font-size: clamp(1.6rem, 2.4vw, 2.2rem);
            line-height: 1.25;
            }
            .post-content {
            color: #222;
            font-size: 1.05rem;
            line-height: 1.7;
            }
            .post-content h2 {
            font-size: 1.35rem;
            margin: 28px 0 10px;
            }
            .post-content p {
            margin: 0 0 16px;
            }
            .post-content ul,
            .post-content ol {
            margin: 0 0 16px 20px;
            }
            .post-content figure {
            margin: 20px 0;
            }
            .post-content figcaption {
            color: #666;
            font-size: .9rem;
            margin-top: 6px;
            }
            .post-content blockquote {
            margin: 18px 0;
            padding: 12px 16px;
            background: #f1f3f8;
            border-left: 4px solid #aeb8ff;
            border-radius: 10px;
            color: #333;
            }
            .post-topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 18px clamp(16px, 5vw, 64px) 0;
            }
            .back-link {
            color: #333;
            font-size: .95rem;
            }
            .back-link:hover {
            text-decoration: none;
            color: #1a5cff;
            }
            .post-cta {
            display: flex;
            justify-content: center;
            margin-top: 48px;
            }
            .cta-button {
            display: inline-block;
            padding: 14px 20px;
            border-radius: 12px;
            background: #0b5cff;
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 6px 24px rgba(11, 92, 255, .22);
            /* плавный переход для всех изменений */
            transition: all 0.25s ease;
            }
            .cta-button:hover {
            background: #0a52e0;
            box-shadow: 0 10px 30px rgba(11, 92, 255, .30);
            transform: scale(1.05); /* лёгкое увеличение */
            text-decoration: none;
            }
            .cta-button:active {
            transform: scale(0.98); /* лёгкое нажатие вниз */
            }
            .cta-button:focus-visible {
            outline: 3px solid #ffb300;
            outline-offset: 3px;
            }
            @media (prefers-reduced-motion: no-preference) {
            .cta-button {
            transition: background .2s ease, box-shadow .2s ease, transform .05s ease;
            }
            }
            @media (max-width:640px) {
            .post-wrap {
            padding: 16px 16px 24px;
            }
            }
            .post-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-top: 28px;
            }
            .nav-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 12px;
            background: #f6f8ff;
            color: #0b5cff;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid #dbe4ff;
            box-shadow: 0 4px 16px rgba(11, 92, 255, .10);
            transition: background .2s ease, box-shadow .2s ease, transform .05s ease, font-size .2s ease, padding .2s ease;
            font-size: 1rem; /* базовый размер */
            }
            .nav-button:hover {
            background: #eef3ff;
            box-shadow: 0 8px 22px rgba(11, 92, 255, .18);
            transform: translateY(-1px);
            text-decoration: none;
            }
            .nav-button:active {
            transform: translateY(0);
            }
            .nav-button:focus-visible {
            outline: 3px solid #ffb300;
            outline-offset: 3px;
            }
            /* 📱 мобильные телефоны */
            @media (max-width:640px) {
            .post-nav {
            flex-direction: column;
            align-items: stretch;
            }
            .nav-button {
            justify-content: center;
            font-size: 0.95rem; /* чуть меньше текст */
            padding: 10px 14px; /* меньше отступы */
            border-radius: 10px;
            }
            }
            /* 📟 планшеты (640px–1024px) */
            @media (min-width:641px) and (max-width:1024px) {
            .post-nav {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 10px;
            }
            .nav-button {
            font-size: 1rem; /* стандарт */
            padding: 12px 16px;
            border-radius: 12px;
            }
            }
            /* 💻 большие экраны (от 1025px и выше) */
            @media (min-width:1025px) {
            .nav-button {
            font-size: 1.05rem; /* чуть крупнее на десктопах */
            padding: 14px 18px; /* больше отступы */
            border-radius: 14px;
            }
            }