/* Shared page gutters and section widths across the whole site. */
:root {
    --site-content-width: 80%;
    --site-content-gutter: 40px;
}

html,
body,
.kl-page {
    width: 100%;
    max-width: none;
}

.container {
    width: var(--site-content-width);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-content-gutter);
    padding-right: var(--site-content-gutter);
}

.kl-page > section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Section-level blocks fill the space inside the page container. */
.kl-page .guide-grid,
.kl-page .changelog-box,
.kl-page .kl-faq-grid,
.kl-page .kl-partner-box,
.kl-page .advantages-list,
.kl-page .timeline,
.kl-page .policy-accordion,
.kl-page .partner-cta .cta-box,
.kl-page .privacy-content .kl-content-wrap,
.kl-page .terms-content .kl-content-wrap,
.kl-page .summary-grid,
.kl-page .knowledge-list .articles-grid {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.kl-page .kl-detail .kl-content-wrap > *,
.kl-page .articles-grid > * {
    min-width: 0;
}

@media (max-width: 1024px) {
    :root {
        --site-content-gutter: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --site-content-width: 100%;
        --site-content-gutter: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --site-content-gutter: 14px;
    }
}

/* Section labels preserve the existing visual layout. */
.seo-section-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
