/* =========================================================
   REVUTECK GLOBAL RESPONSIVE HARDENING
   Safe shared rules for public pages and reusable sections.
========================================================= */

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

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

#wrapper,
main,
section,
.container,
.container-fluid,
.row,
.row > *,
[class*="col-"] {
    min-width: 0;
}

img,
video,
svg,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

iframe {
    width: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
td,
th {
    overflow-wrap: anywhere;
}

/* Prevent stale menu/offcanvas locks after browser back/forward restoration. */
body:not(.rvmm-lock):not(.overflow-hidden) {
    overscroll-behavior-y: auto;
}

@media (max-width: 991.98px) {
    .tf-header.header2.rv-sticky-header {
        max-width: 100%;
    }

    .tf-header.header2.rv-sticky-header .header-inner {
        min-width: 0;
    }

    footer .footer-content,
    footer .footer-bottom {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    .heading-title,
    .text-display-1,
    .text-display-2,
    .text-display-3 {
        max-width: 100%;
    }

    .table-responsive,
    .rv-table-scroll {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
