html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

p,
li,
a,
span,
strong,
em,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
    word-break: normal;
}

pre,
code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

table {
    max-width: 100%;
}

.wp-block-table,
table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

figure {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.alignwide,
.alignfull {
    max-width: 100%;
}

@media (max-width: 782px) {

    html,
    body {
        min-width: 0 !important;
    }

    body {
        font-size: 16px;
    }

    h1 {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.15;
    }

    h2 {
        font-size: clamp(23px, 6vw, 32px);
        line-height: 1.2;
    }

    h3 {
        font-size: clamp(20px, 5vw, 27px);
        line-height: 1.25;
    }

    p,
    li {
        font-size: 16px;
        line-height: 1.7;
    }

    .rk-container,
    .container,
    .site-container,
    .content-area,
    .site-content,
    .entry-content,
    .rk-content,
    .rk-main,
    main,
    article {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .rk-container,
    .container,
    .site-container,
    .content-area,
    .site-content,
    .rk-content,
    .rk-main {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .entry-content,
    article {
        overflow: hidden;
    }

    .rk-toc,
    .rk-answer,
    .rk-formula,
    .rk-note,
    .rk-ad-shell {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .rk-toc ol,
    .rk-toc ul {
        padding-left: 22px;
    }

    header,
    footer,
    nav {
        max-width: 100%;
    }

    .wp-block-columns,
    .wp-block-group,
    .wp-block-cover,
    .wp-block-media-text {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    iframe {
        width: 100% !important;
    }
}

@media (max-width: 480px) {

    .rk-container,
    .container,
    .site-container,
    .content-area,
    .site-content,
    .rk-content,
    .rk-main {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 21px;
    }
}
