.canuto-legal-page .canuto-page-title,
.canuto-legal-page .canuto-page-content :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--canuto-shared-heading-font);
}

.canuto-legal-page .canuto-page-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.canuto-legal-page .canuto-page-hero .container,
.canuto-legal-page .canuto-page-content-section .container {
    box-sizing: border-box;
    width: calc(100vw - 48px);
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.canuto-legal-page .canuto-page-hero,
.canuto-legal-page .canuto-page-content-section {
    padding-right: 0;
    padding-left: 0;
}

.canuto-legal-page article.canuto-page-content {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 480px) {
    .canuto-legal-page .canuto-page-hero .container,
    .canuto-legal-page .canuto-page-content-section .container {
        width: calc(100vw - 36px);
    }
}

/* Responsive safeguards for shared editorial pages. */
.canuto-legal-page .canuto-page-content {
    overflow-wrap: anywhere;
}

.canuto-legal-page .canuto-page-content :is(img, video, iframe) {
    max-width: 100%;
    height: auto;
}

.canuto-legal-page .canuto-page-content :is(table, pre) {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.canuto-legal-page .canuto-page-content :is(ul, ol) {
    padding-left: 1.3rem;
}

@media (max-width: 768px) {
    .canuto-legal-page .canuto-page-hero {
        padding-top: clamp(76px, 15vw, 108px);
        padding-bottom: clamp(38px, 8vw, 56px);
    }

    .canuto-legal-page .canuto-page-content-section {
        padding-bottom: clamp(72px, 13vw, 110px);
    }
}

@media (max-width: 480px) {
    .canuto-legal-page .canuto-page-title {
        font-size: clamp(1.25rem, 6.5vw, 1.65rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .canuto-legal-page .canuto-page-content {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .canuto-legal-page .canuto-page-content :is(p, ul, ol, blockquote) {
        margin-bottom: 1.25rem;
    }

    .canuto-legal-page .canuto-page-content :is(.alignwide, .alignfull) {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .canuto-legal-page .canuto-page-content :is(h2, h3, h4) {
        margin-top: 2.4rem;
        line-height: 1.2;
    }
}
