﻿@charset "utf-8";

/* ===== Academy News Mobile Responsive Fixes ===== */

/* Desktop default - Three column layout */
.tu_text .news_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
}
.tu_text .news_list li.news {
    width: 33.333%;
    float: left;
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    padding: 0 10px;
    margin-bottom: 20px;
}
.tu_text .news_list li.news .news_box {
    margin: 0;
    width: 100%;
    display: block;
    overflow: hidden;
}
.tu_text .news_list li.news .news_imgs {
    height: 200px;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #eee;
    display: block;
}
.tu_text .news_list li.news .news_bg {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 0;
    top: 0;
}
.tu_text .news_list li.news .news_meta {
    position: absolute;
    width: 65px;
    height: 65px;
    background: #004ea2;
    text-align: center;
    z-index: 2;
    top: 0;
    left: 0;
}
.tu_text .news_list li.news .news_meta .news_year {
    font-size: 28px;
    line-height: 28px;
    color: #fff;
    padding-top: 6px;
}
.tu_text .news_list li.news .news_meta .news_days {
    font-size: 12px;
    color: #fff;
    line-height: 18px;
}
.tu_text .news_list li.news .news_wz {
    width: 100%;
    background: #fff;
}
.tu_text .news_list li.news .news_wz .news_con {
    padding: 15px;
    position: relative;
}
.tu_text .news_list li.news .news_title {
    line-height: 22px;
    font-size: 17px;
    color: #333;
    font-weight: bold;
    width: 100%;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 44px;
    height: 44px;
}
.tu_text .news_list li.news .news_more {
    line-height: normal;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: right;
}
.tu_text .news_list li.news .news_more img {
    width: 20px;
    height: auto;
}

/* Tablet breakpoint - Single column layout */
@media screen and (max-width: 999px) {
    /* Global fixes */
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .wrapper .inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Academy News - Single column layout */
    .tu_text .news_list {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .tu_text .news_list li.news {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
        clear: both !important;
    }
    .tu_text .news_list li.news .news_box {
        margin: 0 !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    .tu_text .news_list li.news .news_imgs {
        height: 180px !important;
        padding-top: 0 !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    .tu_text .news_list li.news .news_bg {
        height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
    }
    .tu_text .news_list li.news .news_meta {
        width: 55px !important;
        height: 55px !important;
    }
    .tu_text .news_list li.news .news_meta .news_year {
        font-size: 22px !important;
        line-height: 22px !important;
        padding-top: 5px !important;
    }
    .tu_text .news_list li.news .news_meta .news_days {
        font-size: 11px !important;
        line-height: 16px !important;
    }
    .tu_text .news_list li.news .news_wz .news_con {
        padding: 12px !important;
    }
    .tu_text .news_list li.news .news_title {
        font-size: 14px !important;
        line-height: 22px !important;
        max-height: 44px !important;
        height: 44px !important;
    }
}

/* Small mobile breakpoint */
@media screen and (max-width: 767px) {
    .tu_text .news_list li.news .news_imgs {
        height: 140px !important;
    }
    .tu_text .news_list li.news .news_meta {
        width: 45px !important;
        height: 45px !important;
    }
    .tu_text .news_list li.news .news_meta .news_year {
        font-size: 18px !important;
        line-height: 18px !important;
        padding-top: 4px !important;
    }
    .tu_text .news_list li.news .news_meta .news_days {
        font-size: 10px !important;
        line-height: 14px !important;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .tu_text .news_list li.news .news_imgs {
        height: 120px !important;
    }
    .tu_text .news_list li.news .news_meta {
        width: 40px !important;
        height: 40px !important;
    }
    .tu_text .news_list li.news .news_meta .news_year {
        font-size: 16px !important;
        line-height: 16px !important;
        padding-top: 3px !important;
    }
    .tu_text .news_list li.news .news_meta .news_days {
        font-size: 9px !important;
        line-height: 12px !important;
    }
}