:root {
    --brand: #05ad8f;
    --brand-light: rgba(5, 173, 143, 0.08);
    --brand-dark: #049478;
    --brand-dim: #037a62;
    --brand-deep: #025e4b;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #e0f7fb;
    --accent-purple-light: #ede9fe;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-soft-alt: #e2e8f0;
    --border: #e2e8f0;
    --nav-h: 64px;
    --max-w: 1400px;
    --sidebar-w: 280px;
    --font-heading: "Lexend", sans-serif;
    --font-ui: "Google Sans", sans-serif;
    --shadow: 0 4px 24px rgba(5, 173, 143, 0.08);
    --shadow-lg: 0 8px 40px rgba(5, 173, 143, 0.14);

    --globe-size: 420px;
    --ring1-inset: -80px;
    --ring2-inset: -160px;
}

@font-face {
    font-family: "Lexend";
    src: url(../16740061ad8290aae214.otf) format("opentype");
    font-weight: bold;
}

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

body {
    font-family: "Google Sans", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

button,
a,
select,
input,
textarea {
    cursor: pointer;
    font-family: "Google Sans", sans-serif;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: "Lexend", sans-serif;
}

.title-highlight {
    color: var(--brand);
}


/* ── HERO ───────────────────────────────────────────────── */
.post-hero {
    width: 100%;
}

.post-hero__inner {
    margin: 0 auto;
}

.post-hero__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 0;
    margin-bottom: 20px;
}

.post-hero__title {
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 32px;
    flex-wrap: wrap;
}

.post-hero__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.post-hero__author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.post-hero__author-role {
    font-family: var(--font-ui);
    font-size: 11.5px;
    color: var(--text-light);
    margin-top: 2px;
}

.post-hero__meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.post-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--text-light);
}

.post-hero__meta-item i {
    font-size: 13px;
}

.post-hero__meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border);
}

/* ── COVER IMAGE ────────────────────────────────────────── */
.post-cover {
    width: 100%;
    padding: 0 0 24px;
}

.post-cover__inner {
    margin: 0 auto;
}

.post-cover__img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    /* border-radius: 20px; */
    display: block;
}

/* ── BODY LAYOUT ────────────────────────────────────────── */
.post-body {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 120px 24px 96px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 80px;
    align-items: start;
}

/* ── CONTENT ────────────────────────────────────────────── */
.post-content {
    min-width: 0;
}

.post-content__lead {
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 36px;
    padding-bottom: 36px;
}

.post-content__h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 36px 0 14px;
    line-height: 1.25;
}

.post-content__p {
    font-family: var(--font-ui);
    font-size: 14.5px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.82;
    margin-bottom: 18px;
}

.post-content__callout {
    background: var(--brand-light);
    border-left: 3px solid var(--brand);
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 28px 0;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    color: var(--brand-deep);
    line-height: 1.7;
}

/* ── SIDEBAR ────────────────────────────────────────────── */
.post-sidebar {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.post-sidebar__card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.post-sidebar__card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.post-sidebar__share {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-sidebar__share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 9px 14px;
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
    text-decoration: none;
}

.post-sidebar__share-btn i {
    font-size: 15px;
    color: var(--text-muted);
}

.post-sidebar__share-btn:hover {
    border-color: var(--brand);
    color: var(--brand-dim);
    background: var(--brand-light);
}

.post-sidebar__share-btn:hover i {
    color: var(--brand);
}

.post-cta {
    background: var(--brand-dim);
    border-radius: 16px;
    padding: 24px;
}

.post-cta__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 10px;
}

.post-cta__desc {
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 18px;
}

.post-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    color: var(--brand-dim);
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 11px 18px;
    transition:
        background 0.22s,
        color 0.22s;
}

.post-cta__btn:hover {
    background: var(--brand-deep);
    color: #fff;
}

/* ── RELATED ────────────────────────────────────────────── */
.post-related {
    width: 100%;
    padding: 0 24px 96px;
}

.post-related__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 56px;
}

.post-related__label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-related__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.post-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-related__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    /* border-radius: 16px; */
    overflow: hidden;
    /* border: 1px solid var(--border); */
    transition:
        box-shadow 0.25s,
        transform 0.25s;
}


.post-related__img-wrap {
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.post-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.post-related__card:hover .post-related__img {
    transform: scale(1.05);
}

.post-related__body {
    padding: 18px 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-related__cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 3px 0;
    align-self: flex-start;
}

.post-related__title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.post-related__time {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 10px;
}

/* ── NOT FOUND ──────────────────────────────────────────── */
.post-notfound {
    max-width: 480px;
    margin: 120px auto;
    text-align: center;
    padding: 0 24px;
}

.post-notfound i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: block;
}
.post-notfound h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.post-notfound p {
    font-family: var(--font-ui);
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}
.post-notfound a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    padding: 11px 22px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .post-body {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .post-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .post-sidebar__card,
    .post-cta {
        flex: 1;
        min-width: 240px;
    }
    .post-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .post-hero {
        padding: 40px 20px 0;
    }
    .post-cover {
        padding: 24px 20px 0;
    }
    .post-cover__img {
        height: 240px;
        border-radius: 14px;
    }
    .post-body {
        padding: 40px 20px 64px;
    }
    .post-related {
        padding: 0 20px 64px;
    }
    .post-related__grid {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        flex-direction: column;
    }
    .post-hero__meta-right {
        margin-left: 0;
    }
}

