/* Responsive repairs for the preserved UniViet theme. */
@media (max-width: 767px) {
    section.r-l, section.r-r {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    section.r-l table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }
    section.r-l td {
        overflow-wrap: anywhere;
    }
    section.r-l .dv {
        white-space: normal;
    }
    .tours-content .bodytext, .tours-content .room_list,
    .hotels-content .bodytext {
        max-width: 100%;
        overflow-x: auto;
    }
}

.login-box{max-width:420px;margin:20px auto}
.login-box #other_form{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center}
.login-box #other_form a{margin:0}

@media (max-width:767px) {
    .contentwrapper > [class*="span-"] {
        width:100%;max-width:100%;float:none;margin-right:0;min-width:0;
    }
    .contentwrapper canvas {max-width:100%;height:auto!important}
    table.statistics {display:block;max-width:100%;overflow-x:auto}
    .tree ul {padding-left:16px}
    .tree li {overflow-wrap:anywhere}
    .tree li span {max-width:100%;white-space:normal}
}

/* Keep editorial images and wide article tables inside their content area. */
.legacy-news-detail #news-bodyhtml, .legacy-page-content {max-width:100%;overflow-x:auto}
.legacy-news-detail #news-bodyhtml img, .legacy-page-content img {max-width:100%;height:auto!important}

.hotels_column #imghome {max-width:100%}
.hotels_column #imghome img {max-width:100%;height:auto}
