@media (max-width: 767.98px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body.about-page,
    body.iol-calculation-page {
        overflow-x: hidden;
    }

    .about-page > .container,
    .iol-calculation-page > .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .about-page > .container:first-child,
    .iol-calculation-page > .container:first-child {
        padding-right: 0;
        padding-left: 0;
    }

    .about-page header,
    .iol-calculation-page header {
        display: block !important;
        padding: 12px 16px !important;
    }

    .about-page header > a,
    .iol-calculation-page header > a {
        justify-content: space-between;
        width: 100%;
        min-width: 0;
        margin-bottom: 10px !important;
        gap: 12px;
    }

    .about-page header .fs-4,
    .iol-calculation-page header .fs-4 {
        min-width: 0;
        font-size: 22px !important;
        line-height: 1;
    }

    .about-page header .version,
    .iol-calculation-page header .version {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .about-page header .nav,
    .iol-calculation-page header .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 4px 12px;
    }

    .about-page header .nav-item,
    .iol-calculation-page header .nav-item {
        min-width: 0;
    }

    .about-page header .nav-link,
    .iol-calculation-page header .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 8px 2px;
        line-height: 1.25;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .about-page header .nav-link.active::after,
    .iol-calculation-page header .nav-link.active::after {
        bottom: 0;
    }

    .about-page .language-toggle,
    .iol-calculation-page .language-toggle {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .about-page .language-toggle .language-select,
    .iol-calculation-page .language-toggle .language-select {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        font-size: 16px;
    }

    .iol-calculation-page .form-control,
    .iol-calculation-page .form-select,
    .research-page input[type="file"] {
        min-height: 44px;
        font-size: 16px;
    }

    .iol-calculation-page .input-group-text {
        min-height: 44px;
        font-size: 16px;
    }

    .iol-calculation-page .yes-no-toggle,
    .iol-calculation-page .yes-no-toggle.three-option-toggle {
        min-height: 44px;
    }

    .iol-calculation-page .three-option-toggle .yes-no-option {
        line-height: 42px;
    }

    .iol-calculation-page .main-form .eye > .col-md-12 > .row > .col-md-6 {
        padding: 18px 16px 20px;
    }

    .iol-calculation-page .base-form {
        padding: 16px;
    }

    .iol-calculation-page .result-table,
    .iol-calculation-page .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-dialog {
        width: auto;
        max-width: none;
        margin: 8px;
    }

    .modal-content {
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
    }

    .research-page input[type="file"] {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .research-page .modal-footer .btn,
    .research-page .t5 .btn {
        min-height: 44px;
    }

    .contact-page .contact .content3 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        margin-right: 0;
        margin-left: 0;
    }

    .contact-page .contact .content3 > .col {
        width: 100%;
        min-width: 0;
    }

    .contact-page .contact .content3 > .col > div {
        overflow-wrap: anywhere;
    }
}
