@media (max-width: 991.98px) {
    iframe {
        width: 100% !important;
    }
}

.site-header-container {
    gap: 16px;
    min-height: 86px;
}

.site-header-actions {
    gap: 14px;
    padding: 20px;
    min-width: 0;
}

.aside-default-enabled.aside-fixed[data-kt-sticky-header=on] #kt_header,
.aside-default-enabled.aside-fixed[data-kt-sticky-header=on][data-kt-aside-minimize=on] #kt_header,
.aside-extended-enabled.aside-fixed[data-kt-sticky-header=on] #kt_header,
.aside-extended-enabled.aside-fixed[data-kt-sticky-header=on][data-kt-aside-minimize=on] #kt_header,
.header-fixed[data-kt-sticky-header=on] #kt_header,
.header-tablet-and-mobile-fixed[data-kt-sticky-header=on] #kt_header {
    left: 0 !important;
    right: 0 !important;
    width: 100vw;
}

#kt_header .site-header-container {
    width: 100%;
    max-width: none;
}

.header-fixed[data-kt-sticky-header=on] #kt_header .site-header-container,
.header-tablet-and-mobile-fixed[data-kt-sticky-header=on] #kt_header .site-header-container {
    min-height: 100%;
}

.product-menu-wrapper {
    position: relative;
}

.product-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    white-space: nowrap;
}

.product-menu-dropdown {
    width: min(360px, calc(100vw - 32px)) !important;
    min-width: 260px !important;
    max-width: calc(100vw - 32px) !important;
}

.product-menu-dropdown .menu-link {
    min-height: 44px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    color: #8a94b8;
    font-weight: 700;
    white-space: nowrap;
}

.language-link {
    color: #8a94b8;
    text-decoration: none;
}

.language-link.active,
.language-link:hover {
    color: #009ef7;
}

.tool-page-toolbar {
    padding-top: 24px;
}

.transcript-textarea {
    min-height: 280px;
    resize: vertical;
    line-height: 1.6;
}

.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.site-footer-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer-copy {
    width: 100%;
    line-height: 1.65;
}

.site-footer-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
    width: 100%;
    align-items: center;
}

.site-footer-menu .menu-item {
    display: flex;
    justify-content: center;
    text-align: center;
}

.site-footer-menu .menu-link {
    display: inline-flex;
    justify-content: center;
    white-space: normal;
    line-height: 1.45;
}

.site-footer-hotline {
    color: red !important;
}

@media (max-width: 767.98px) {
    .site-header-container {
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-header-actions {
        gap: 8px;
        padding: 0;
        flex-shrink: 1;
    }

    .product-menu-button {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .product-menu-button .svg-icon {
        margin-left: 8px !important;
    }

    .language-switcher {
        margin-right: 4px;
        font-size: 13px;
    }

    .logo-default {
        max-width: 118px;
        height: auto;
    }

    .toolbar .container-fluid,
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .input-group .form-control {
        min-width: 0;
    }

    .card-body .ms-6 {
        margin-left: 0 !important;
    }

    .site-footer-container {
        gap: 12px;
    }

    .site-footer-menu {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .product-menu-button {
        max-width: 148px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header-container {
        gap: 10px;
    }
}
