/* RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1180px) and (min-width: 901px) {
    .kpost-root {
        --kpost-content-max-width: 740px;
        --kpost-sidebar-max-width: 280px;
    }

    .kpost-layout {
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 900px) {
    .kpost-layout {
        grid-template-columns: 1fr;
        padding: var(--spacing-2xl) var(--spacing-xl);
    }

    .kpost-sidebar {
        position: static;
        order: 2;
        width: 100%;
    }

    .kpost-content {
        order: 1;
        max-width: none;
        justify-self: stretch;
    }

    .kpost-sidebar-widget--toc .kpost-sidebar-widget__body {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .kpost-hero {
        min-height: 360px;
    }

    .kpost-hero__title {
        font-size: clamp(22px, 6vw, 32px);
    }

    .kpost-hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .kpost-hero__meta-sep {
        display: none;
    }

    .kpost-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpost-drama-grid {
        grid-template-columns: 1fr;
    }

    .kpost-related-grid {
        grid-template-columns: 1fr;
    }

    .kpost-auto-links__list {
        grid-template-columns: 1fr;
    }

    .kpost-img-float {
        float: none;
        width: 100%;
        margin: 0 0 var(--spacing-xl);
    }

    .kpost-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .kpost-share__btn--copy {
        margin-left: 0;
    }

    .kpost-layout {
        padding: var(--spacing-xl) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .kpost-hero {
        min-height: 320px;
    }

    .kpost-stats {
        grid-template-columns: 1fr;
    }
}
