/* Single blog post — two-column layout */
.post-layout__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .post-layout__grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 2.5rem;
    }
}

.post-layout__grid > .min-w-0 {
    min-width: 0;
}

.post-sidebar {
    min-width: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .post-sidebar {
        order: 2;
    }

    .post-layout__grid > .min-w-0 {
        order: 1;
    }
}

.post-sidebar__sticky {
    position: sticky;
    top: 6rem;
}

.post-sidebar__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.post-sidebar__card--cta {
    background: linear-gradient(145deg, #0a1128 0%, #0d1a3a 55%, #1C39BB 100%);
    border: none;
    color: #fff;
}

.post-sidebar__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.post-sidebar__card--cta .post-sidebar__title {
    color: #fff;
}

.post-sidebar__text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 1rem;
}

.post-sidebar__card--cta .post-sidebar__text {
    color: rgba(255, 255, 255, 0.8);
}

.post-sidebar__link {
    font-size: 0.875rem;
    color: #4b5563;
    transition: color 0.2s ease;
    text-decoration: none;
}

.post-sidebar__link:hover {
    color: #1C39BB;
}

.post-sidebar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.post-sidebar__btn--primary {
    background: linear-gradient(135deg, #1C39BB, #00A693);
    color: #fff;
}

.post-sidebar__btn--primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.post-sidebar__btn--outline {
    background: #fff;
    color: #1C39BB;
    border: 1px solid rgba(28, 57, 187, 0.25);
}

.post-sidebar__btn--outline:hover {
    background: #f8fafc;
}

.post-sidebar__btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.post-sidebar__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}
