/**
 * Times News 24 — mobile layout fixes (header nav rules live in header-styles + menu.css)
 */

html {
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 991px) {
    body {
        overflow-x: hidden;
    }

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

    img,
    video,
    iframe,
    embed,
    object {
        max-width: 100%;
        height: auto;
    }

    .singlepage-section .col-md-8,
    .singlepage-section .col-md-4,
    .singlepage-section .col-sm-8,
    .singlepage-section .col-sm-4 {
        width: 100%;
        float: none;
    }

    .single-title h1,
    .single-title h3 {
        font-size: 1.35rem !important;
        line-height: 1.45 !important;
    }

    .content-details,
    .content-details p {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }

    .sgl-page-social ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding-left: 0;
    }

    .sgl-page-social ul li {
        float: none;
        width: auto;
    }

    .tab-header .nav-tabs > li > a {
        font-size: 0.82rem !important;
        padding: 8px 6px !important;
    }

    .hadding_01 a,
    .hadding_02 a {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }

    .hadding_03 a {
        font-size: 0.95rem !important;
    }

    .overly_hadding_1 a {
        font-size: 1.1rem !important;
    }

    .footer-menu ul {
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .footer-menu ul li {
        display: inline-block;
        margin: 0 0.35rem 0.35rem;
    }
}

@media (max-width: 767px) {
    .sticky {
        position: sticky !important;
        top: 0;
        z-index: 999999;
    }

    .tab_list {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }

    .tab_list li a {
        padding: 4px 12px !important;
        font-size: 0.88rem !important;
    }

    .scrool_1 {
        width: auto !important;
        float: none !important;
    }

    .scrool_2 {
        width: auto !important;
        float: none !important;
    }

    .embed-responsive .embed-responsive-item,
    .embed-responsive embed,
    .embed-responsive iframe,
    .embed-responsive object,
    .embed-responsive video {
        height: auto !important;
        min-height: 180px;
        aspect-ratio: 16 / 9;
    }

    iframe {
        max-width: 100%;
        height: auto !important;
        min-height: 180px;
    }

    .tn24-home .row > [class*="col-"],
    .tn24-home-section .row > [class*="col-"] {
        margin-bottom: 1rem;
    }

    .tn24-opinion-detail-sidebar {
        margin-top: 1.5rem;
    }

    .modal-dialog {
        margin: 10px;
        width: auto;
    }

    .search-modal .form-control {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #tn24SiteHeader .tn24-subnav__link--utility {
        font-size: 0.82rem !important;
    }

    #tn24SiteHeader .tn24-subnav__link--utility span {
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
