﻿:root {
    --font-body: "Muli", sans-serif;
    --font-ui: "Lato", sans-serif;
    --bg-deep: #0c1017;
    --panel: rgba(16, 21, 31, 0.9);
    --panel-soft: rgba(27, 35, 49, 0.9);
    --line: rgba(255, 255, 255, 0.18);
    --text: #f6f7fb;
    --muted: #d3d8e3;
    --accent: #cfb37c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(7, 10, 15, 0.94), rgba(7, 10, 15, 0.96)),
        url("https://global-files-nginx.builderall.com/c664dcaa-16b0-45ef-b175-be2775e771fc/a055d904c9b6d88a8a0d66de815d8c13148ff0c30b1c2d6a491a0c3989205dcb.png") center top / cover fixed;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.post-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
}

.header-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-wrap nav {
    display: flex;
    gap: 1rem;
}

.header-wrap nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.18rem;
    transition: border-color 0.25s ease, opacity 0.25s ease;
}

.header-wrap nav a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.68);
    opacity: 0.9;
}

.brand img {
    width: 142px;
    height: auto;
}

.post-main {
    padding: 6.7rem 0 3.5rem;
}

.post-article {
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden;
}

.post-top {
    padding: clamp(1.2rem, 2.8vw, 2.3rem) clamp(1rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
    background: linear-gradient(120deg, rgba(25, 32, 45, 0.95), rgba(18, 23, 33, 0.95));
}

.post-page.layout-right .post-top {
    text-align: right;
}

.breadcrumb {
    margin-bottom: 0.65rem;
    font-size: 0.84rem;
    color: #ccd4e2;
}

.breadcrumb a {
    color: #e4eaf6;
    text-decoration: none;
}

.breadcrumb span {
    opacity: 0.78;
}

.post-kicker {
    font-family: var(--font-ui);
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--accent);
}

.post-top h1 {
    font-family: var(--font-ui);
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.08;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.post-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #dce4f2;
    margin-bottom: 0.65rem;
    max-width: 62ch;
}

.post-page.layout-right .post-subtitle {
    margin-left: auto;
}

.post-date {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 0.65rem;
}

.post-lead {
    font-size: clamp(1.03rem, 2vw, 1.2rem);
    color: #f3f6fb;
    margin-bottom: 0.25rem;
    font-weight: 600;
    line-height: 1.45;
}

.post-cover {
    width: 100%;
    height: clamp(280px, 48vw, 560px);
    object-fit: contain;
    object-position: center top;
    background: #0b1018;
}

.post-content {
    padding: clamp(1.1rem, 3vw, 2.3rem);
    display: grid;
    gap: 0.95rem;
    background: var(--panel-soft);
}

.post-content p {
    font-size: clamp(0.98rem, 1.8vw, 1.08rem);
    color: #e9edf6;
}

.post-content h2 {
    font-family: var(--font-ui);
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    margin-top: 0.5rem;
    line-height: 1.2;
}

.post-content h2::after {
    content: "";
    display: block;
    width: 74px;
    border-top: 2px solid rgba(207, 179, 124, 0.9);
    margin-top: 0.45rem;
}

.post-page.layout-right .post-content h2::after {
    margin-left: auto;
}

.post-service {
    margin-top: 0.4rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(207, 179, 124, 0.42);
    background: rgba(10, 14, 20, 0.38);
}

.post-service p {
    color: #f0f3fa;
}

.post-service ul {
    margin: 0.55rem 0 0;
    padding-left: 1.2rem;
}

.post-service li {
    margin-bottom: 0.24rem;
    color: #dfe5f2;
    font-size: 0.98rem;
}

.post-actions {
    border-top: 1px solid var(--line);
    padding: 1rem clamp(1rem, 3vw, 2.3rem);
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.post-page.layout-right .post-actions {
    justify-content: flex-end;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 46px;
    border: 2px solid #fff;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.action-btn.primary {
    background: #fff;
    color: #121722;
}

.action-btn.primary:hover {
    background: transparent;
    color: #fff;
}

.action-btn.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.72);
}

.action-btn.secondary:hover {
    background: #fff;
    color: #121722;
}

.related-posts {
    border-top: 1px solid var(--line);
    padding: 1.2rem clamp(1rem, 3vw, 2.3rem) 1.45rem;
    background: rgba(20, 25, 35, 0.92);
}

.related-posts h3 {
    font-family: var(--font-ui);
    font-size: 1.03rem;
    margin-bottom: 0.55rem;
}

.post-page.layout-right .related-posts h3 {
    text-align: right;
}

.related-posts ul {
    list-style: none;
    display: grid;
    gap: 0.38rem;
}

.post-page.layout-right .related-posts ul {
    justify-items: end;
}

.related-posts a {
    color: #d8e7ff;
}

.post-footer {
    background: #1c222d;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.15rem 0;
}

.post-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.post-footer p {
    font-family: var(--font-ui);
    font-size: 0.88rem;
}

@media (max-width: 840px) {
    .post-main {
        padding-top: 5.9rem;
    }

    .post-page.layout-right .post-top,
    .post-page.layout-right .related-posts h3,
    .post-page.layout-right .related-posts ul {
        text-align: left;
        justify-items: start;
    }

    .post-page.layout-right .post-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .header-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.7rem 0;
    }

    .header-wrap nav a {
        font-size: 0.82rem;
    }

    .post-cover {
        height: clamp(240px, 72vw, 420px);
    }

    .action-btn {
        min-width: min(250px, 90vw);
    }
}
