@media screen and (min-width: 1920px) {

    .container,
    .wrap,
    .footer-inner,
    .friend-links {
        width: 1440px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1919px) {

    .container,
    .wrap,
    .footer-inner,
    .friend-links {
        width: calc(100% - 40px);
    }

    .search-box .search-input {
        width: 180px;
    }

    .nav-link {
        padding: 12px 18px;
        font-size: 20px;
    }

    .nav-dropdown .dropdown-item {
        font-size: 20px;
    }

    .news-recommend {
        gap: 40px;
    }

    .theory-columns {
        gap: 30px;
    }

    .education-layout {
        gap: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {

    .container,
    .wrap,
    .footer-inner,
    .friend-links {
        width: calc(100% - 40px);
    }

    .header-logo .logo-img {
        width: 30vw;
    }

    .header-slogan .slogan-img {
        width: 14vw;
    }

    .search-box {
        width: 160px;
    }

    .search-box .search-input {
        width: 120px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 16px;
    }

    .nav-dropdown .dropdown-item {
        font-size: 16px;
        height: 44px;
        line-height: 44px;
    }

    .section-title {
        height: 50px;
        margin-bottom: 12px;
    }

    .section-title h2 {
        font-size: 22px;
        line-height: 36px;
        padding: 0 0 6px;
        border-bottom: 4px solid rgba(210, 9, 1, 1);
    }

    .section-title .more-link {
        font-size: 14px;
    }

    .news-recommend {
        flex-direction: column;
        gap: 20px;
    }

    .news-carousel-wrap {
        width: 100%;
    }

    .news-list {
        gap: 20px;
    }

    .news-item .news-title {
        font-size: 15px;
    }

    .special-card .card-img {
        height: 140px;
    }

    .theory-section {
        padding: 20px;
    }

    .theory-tab-header {
        margin-bottom: 16px;
    }

    .theory-tab {
        padding: 6px 18px;
    }

    .theory-columns {
        flex-direction: column;
        gap: 20px;
    }

    .theory-col-header h3 {
        font-size: 20px;
    }

    .theory-item .theory-title {
        font-size: 15px;
    }

    .theory-item .theory-date {
        font-size: 15px;
    }

    .tv-card .card-img {
        aspect-ratio: 345 / 200;
    }

    .tv-card .card-title {
        font-size: 15px;
    }

    .tv-swiper .swiper-button-prev,
    .tv-swiper .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .education-layout {
        flex-direction: column;
        gap: 16px;
    }

    .education-sidebar {
        width: 100%;
        flex-direction: row;
        gap: 12px;
    }

    .edu-banner-img {
        flex: 1;
    }

    .education-grid-wrap {
        width: 100%;
        padding-top: 20px;
    }

    .edu-grid-title {
        font-size: 22px;
        margin: 0 20px;
    }

    .education-grid {
        column-gap: 20px;
        row-gap: 14px;
        padding: 8px 20px 30px;
    }

    .edu-grid-item {
        min-height: 70px;
        padding: 10px 8px;
    }

    .edu-grid-icon {
        width: 28px;
    }

    .edu-grid-text {
        font-size: 16px;
    }

    .edu-activities {
        flex-wrap: wrap;
        gap: 12px;
    }

    .edu-activity-card {
        flex: 1 1 48%;
    }

    .quick-entry {
        flex-wrap: wrap;
    }

    .quick-entry-item {
        flex: 1 1 48%;
    }

    .quick-entry-img {
        height: 70px;
    }

    .friend-links {
        gap: 12px;
    }

    .dropdown-toggle {
        min-width: 200px;
    }

    .dropdown-menu {
        min-width: 200px;
    }

    .footer-inner {
        gap: 12px;
    }

    .footer-emblem {
        width: 40px;
        height: 40px;
    }

    .special-swiper .swiper-button-prev,
    .special-swiper .swiper-button-next {
        width: 36px;
    }
}

@media screen and (max-width: 767px) {

    .container,
    .wrap,
    .footer-inner,
    .friend-links {
        width: calc(100% - 30px);
    }

    .header-bg {
        min-height: 140px;
    }

    .header-top {
        padding: 12px 0;
    }

    .header-logo .logo-img {
        width: 42vw;
    }

    .header-slogan .slogan-img {
        width: 22vw;
    }

    .header-bottom {
        padding: 6px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-close {
        display: flex;
    }

    .nav-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        max-width: 80%;
        height: 100%;
        background-color: #D20901;
        padding: 56px 0 20px;
        z-index: 200;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        height: auto;
    }

    .nav-link {
        padding: 14px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: left;
    }

    .nav-item:hover>.nav-dropdown {
        transform: translate(0);
    }

    .nav-item.has-dropdown>.nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-item.has-dropdown>.nav-link::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #FFFFFF;
        flex-shrink: 0;
        margin-left: 8px;
        transition: transform 0.25s ease;
    }

    .nav-item.has-dropdown.is-expanded>.nav-link::after {
        transform: rotate(180deg);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #BA0C06;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.has-dropdown.is-expanded>.nav-dropdown {
        max-height: 200px;
    }

    .nav-dropdown .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
        height: 44px;
        line-height: 44px;
        font-size: 15px;
        text-align: left;
        padding-left: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown .dropdown-item:hover {
        color: #FDCF30;
        background-color: transparent;
        padding-left: 44px;
    }

    .search-box {
        min-width: 50vw;
        width: 100%;
        max-width: 70vw;
        height: 32px;
    }

    .search-box .search-input {
        width: 80px;
        height: 32px;
        font-size: 14px;
    }

    .search-box .search-input::placeholder {
        font-size: 14px;
    }

    .search-box .search-btn {
        width: 36px;
        height: 32px;
    }

    .main-content {
        padding: 20px 0 0 0;
    }

    .section-title {
        height: 44px;
        margin-bottom: 10px;
    }

    .section-title h2 {
        font-size: 18px;
        line-height: 30px;
        padding: 0 0 4px;
        border-bottom: 3px solid rgba(210, 9, 1, 1);
    }

    .section-title .more-link {
        font-size: 14px;
    }

    .news-recommend {
        flex-direction: column;
        gap: 16px;
    }

    .news-carousel-wrap {
        width: 100%;
    }

    .carousel-footer {
        padding: 8px 12px;
    }

    .carousel-footer .slide-caption {
        font-size: 14px;
    }

    .news-list {
        gap: 14px;
    }

    .news-item .news-title {
        font-size: 14px;
        padding-left: 10px;
    }

    .news-item .news-date {
        width: 48px;
        font-size: 14px;
    }

    .special-card .card-img {
        height: 120px;
    }

    .special-swiper .swiper-button-prev,
    .special-swiper .swiper-button-next {
        width: 28px;
    }

    .theory-section {
        padding: 16px;
    }

    .theory-tab-header {
        margin-bottom: 12px;
    }

    .theory-tab {
        padding: 6px 14px;
    }

    .theory-columns {
        flex-direction: column;
        gap: 16px;
    }

    .theory-col-header {
        margin-bottom: 8px;
    }

    .theory-col-header h3 {
        font-size: 18px;
    }

    .theory-col-header .more-link {
        font-size: 14px;
    }

    .theory-item .theory-title {
        font-size: 14px;
    }

    .theory-item .theory-date {
        font-size: 14px;
    }

    .tv-card .card-img {
        aspect-ratio: 345 / 180;
    }

    .tv-card .card-body {
        padding: 8px 10px;
    }

    .tv-card .card-title {
        font-size: 14px;
    }

    .tv-card .card-desc {
        font-size: 14px;
    }

    .tv-swiper .swiper-button-prev,
    .tv-swiper .swiper-button-next {
        width: 28px;
        height: 28px;
    }

    .education-section {
        margin-bottom: 30px;
    }

    .education-layout {
        flex-direction: column;
        gap: 12px;
    }

    .education-sidebar {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .education-grid-wrap {
        width: 100%;
        padding-top: 16px;
    }

    .edu-grid-title {
        font-size: 18px;
        margin: 0 16px;
    }

    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        row-gap: 10px;
        padding: 8px 16px 20px;
    }

    .edu-grid-item {
        min-height: 60px;
        padding: 10px 6px;
        gap: 6px;
    }

    .edu-grid-icon {
        width: 24px;
    }

    .edu-grid-text {
        font-size: 14px;
    }

    .edu-activities {
        flex-direction: column;
        gap: 10px;
    }

    .edu-activity-card .activity-img {
        aspect-ratio: 345 / 100;
    }

    .quick-entry {
        flex-direction: column;
        gap: 10px;
    }

    .quick-entry-img {
        height: 60px;
    }

    .friend-links {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
        padding: 0 16px;
    }

    .friend-links-label {
        text-align: center;
    }

    .dropdown-toggle {
        min-width: 100%;
        width: 100%;
    }

    .dropdown-menu {
        min-width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
    }

    .footer-emblem {
        width: 36px;
        height: 36px;
    }

    .footer-copyright,
    .footer-icp {
        font-size: 14px;
        text-align: center;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 28px;
        height: 28px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1919px) {

    .list-page-section {
        padding: 24px 30px;
    }

    .image-text-list {
        gap: 24px 20px;
    }

    .article-section {
        padding: 30px;
    }

    .article-title {
        font-size: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {

    .list-page-section {
        padding: 20px;
    }

    .text-list-title {
        font-size: 16px;
    }

    .text-list-date {
        font-size: 14px;
    }

    .image-text-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 16px;
    }

    .article-section {
        padding: 20px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-meta {
        gap: 12px;
    }
}

@media screen and (max-width: 767px) {
    .speech-swiper {
        aspect-ratio:auto;
    }
    .speech-swiper .swiper-pagination {
        margin: 10px auto;
        position: static;
    }

    .speech-swiper .swiper-pagination-bullet {
        background: rgba(0,0,0,.3);
    }

    .speech-swiper .swiper-pagination-bullet-active {
        background: rgba(0,0,0,.9);
    }

    .list-page-section {
        padding: 16px;
    }

    .text-list-title {
        font-size: 14px;
    }

    .text-list-date {
        font-size: 14px;
        margin-left: 12px;
    }

    .text-list-link {
        padding: 12px 0;
    }

    .image-text-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .pagination {
        gap: 4px;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 14px;
    }

    .page-first,
    .page-prev,
    .page-next,
    .page-last {
        padding: 0 10px;
    }

    .page-input {
        width: 36px;
        height: 32px;
        font-size: 14px;
    }

    .page-info,
    .page-jump-text {
        font-size: 14px;
    }

    .article-section {
        padding: 16px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-meta {
        gap: 10px;
    }

    .font-size-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .article-content.font-large {
        font-size: 18px;
    }

    .article-content.font-large p {
        font-size: 18px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav-item {
        font-size: 14px;
        align-items: flex-start;
    }
    .article-nav-item a {
        word-wrap: normal;
        white-space: normal;
    }
}
