/* ====================
   关于研究院页面响应式适配
   ==================== */

@media screen and (max-width: 1200px) {
    .about-hero-title {
        font-size: 60px;
    }

    .about-hero-subtitle {
        font-size: 24px;
    }

    .about-intro-layout {
        gap: 40px;
    }

    .about-intro-plaque {
        width: 86%;
    }
    .about-approach-layout,
    .about-task-layout {
        gap: 36px;
    }

    .about-approach-diagram {
        width: 360px;
        height: auto;
    }

    .about-task-image {
        width: 400px;
    }

    .about-integration-node {
        width: 120px;
        height: 42px;
        font-size: 14px;
    }

    .about-integration-node.node-left {
        left: 30px;
    }

    .about-integration-node.node-right {
        right: 30px;
    }
    
}

@media screen and (max-width: 992px) {
    .about-hero {
        height: 380px;
        padding-top: 64px;
    }

    .about-hero-bg {
        opacity: 0.35;
    }

    .about-hero-content {
        max-width: 100%;
    }

    .about-hero-en {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .about-hero-title {
        font-size: 46px;
        margin-bottom: 14px;
    }

    .about-hero-subtitle {
        font-size: 20px;
    }

    .about-tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .about-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .about-tabs-nav a {
        height: 52px;
        padding: 0 24px;
        font-size: 15px;
        flex-shrink: 0;
    }

    .about-intro {
        padding-bottom: 60px;
        min-height: 0;
        background-image: none;
    }

    .about-intro-layout {
        flex-direction: column;
        gap: 32px;
        padding-top: 48px;
    }

    .about-intro-text {
        order: 1;
        width: 100%;
    }

    .about-intro-visual {
        order: 0;
        width: 100%;
        padding-top: 0;
        justify-content: center;
    }

    .about-intro-plaque {
        width: 86%;
        max-width: 480px;
    }

    .about-intro-title {
        font-size: 26px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .about-intro-desc p {
        font-size: 15px;
    }

    .about-approach,
    .about-task {
        padding-bottom: 60px;
        height: auto;
        min-height: 0;
    }

    .about-approach-layout,
    .about-task-layout {
        flex-direction: column;
        gap: 32px;
    }

    .about-approach-diagram {
        width: 100%;
        max-width: 520px;
        height: auto;
        margin: 0 auto;
    }

    .about-approach-cards {
        width: 100%;
        height: auto;
        margin-left: 0;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .about-approach-card {
        padding: 20px;
    }

    .about-task-cards {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .about-task-card {
        padding: 20px;
    }

    .about-task-image {
        width: 100%;
        min-height: 300px;
    }

    .about-features {
        padding-bottom: 60px;
    }

    .about-features-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-feature-card {
        padding: 28px 24px;
    }

    .about-integration {
        padding: 60px 0 80px;
    }

    .about-integration-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .about-integration-diagram {
        min-height: 360px;
    }

    .about-integration-center {
        width: 120px;
        height: 120px;
        font-size: 15px;
    }

    .about-integration-node {
        width: 100px;
        height: 38px;
        font-size: 13px;
    }

    .about-integration-node.node-left {
        left: 10px;
    }

    .about-integration-node.node-right {
        right: 10px;
    }

    .about-integration-node.node-top {
        top: 40px;
    }

    .about-integration-node.node-bottom {
        bottom: 40px;
    }

    .about-integration-diagram::before {
        left: 120px;
        right: 120px;
    }

    .about-integration-diagram::after {
        top: 60px;
        bottom: 60px;
    }
}

@media screen and (max-width: 768px) {
    .about-hero {
        height: 320px;
    }

    .about-hero-title {
        font-size: 38px;
    }

    .about-hero-subtitle {
        font-size: 17px;
    }

    .about-tabs-nav a {
        padding: 0 18px;
        font-size: 14px;
    }

    .about-intro-plaque {
        width: 92%;
    }

    .about-approach-cards,
    .about-task-cards {
        grid-template-columns: 1fr;
    }

    .about-task-image {
        min-height: 240px;
    }

    .about-integration-diagram {
        min-height: 520px;
    }

    .about-integration-nodes {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 32px;
    }

    .about-integration-node {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .about-integration-diagram::before,
    .about-integration-diagram::after {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .about-hero {
        height: 280px;
    }

    .about-hero-en {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .about-hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .about-hero-subtitle {
        font-size: 15px;
    }

    .about-tabs-nav a {
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }

    .about-intro-title {
        font-size: 22px;
    }

    .about-intro-desc p {
        font-size: 14px;
    }

    .about-approach-diagram {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .about-approach-card,
    .about-task-card {
        padding: 16px;
    }

    .about-feature-card h4 {
        font-size: 18px;
    }

    .about-feature-card p {
        font-size: 14px;
    }

    .about-integration-title {
        font-size: 18px;
    }

    .about-integration-center {
        width: 100px;
        height: 100px;
        font-size: 13px;
    }
}

/* 新增面板响应式 */
@media screen and (max-width: 992px) {
    .about-message {
        padding: 32px 0 60px;
    }

    .about-message-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-message-portrait {
        width: 100%;
        min-height: 320px;
    }

    .about-partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .partner-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 240px));
        width: 100%;
    }

    .about-contact {
        padding-bottom: 60px;
    }

    .about-contact-layout {
        flex-direction: column;
        gap: 24px;
    }

    .about-contact-info {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .contact-item {
        flex: 1;
        min-width: 160px;
        padding: 18px 20px;
    }

    .about-contact-map {
        min-height: 280px;
    }

}

@media screen and (max-width: 480px) {
    .about-message-title {
        font-size: 24px;
    }

    .about-message-quote p {
        font-size: 14px;
    }

    .about-partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-cards-grid {
        grid-template-columns: 1fr;
        max-width: 240px;
    }

    .partner-card {
        height: 110px;
    }

    .about-contact-info {
        flex-direction: column;
    }

}

/* 移动端补充：固定宽度板块改为纵向排布，桌面规则不改 */
@media screen and (max-width: 1200px) {
    .about-hero .swiper-item-img img {
        width: auto;
        max-width: 100%;
        max-height: 100%;
        height: auto;
        object-fit: contain;
        object-position: left center;
    }
}

@media screen and (max-width: 992px) {
    .about-hero {
        height: auto;
        min-height: 0;
        padding-top: calc(64px + env(safe-area-inset-top));
    }

    .about-hero .swiper,
    .about-hero .swiper-slide {
        height: 280px;
    }

    .about-org .section-en,
    .about-approach .section-en,
    .about-task .section-en,
    .about-features .section-en,
    .about-partner .section-en,
    .about-message-title-en,
    .about-integration-title-en {
        width: auto;
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .about-org .section-title,
    .about-approach .section-title,
    .about-task .section-title,
    .about-features .section-title,
    .about-partner .section-title,
    .about-message-title-cn,
    .about-integration-title {
        font-size: 26px;
        line-height: 1.35;
        letter-spacing: 0;
    }

    .about-approach .section-title,
    .about-task .section-title {
        margin-bottom: 24px;
    }

    .about-tabs-nav {
        overflow: visible;
    }

    .about-tabs-nav a.about-tab {
        flex: 1 1 0;
        margin: 0;
        padding: 0 4px;
        min-width: 0;
        height: 48px;
        font-size: 14px;
    }

    .about-task-card,
    .about-approach-card,
    .about-feature-card {
        width: 100%;
        box-sizing: border-box;
    }

    .about-features {
        height: auto;
        padding-bottom: 36px;
    }

    .about-features-sub-title {
        font-size: 18px;
        line-height: 1.5;
        margin: 16px 0 24px;
    }

    .about-features-layout {
        position: static;
        width: 100%;
        left: auto;
        bottom: auto;
        transform: none;
        flex-direction: column;
        gap: 20px;
    }

    .about-feature-card {
        width: 100%;
    }

    .about-feature-card p {
        height: auto;
    }

    .fly-box {
        position: relative;
        inset: auto;
        height: 160px;
        margin-top: 8px;
    }

    .fly-left,
    .fly-right {
        width: 46%;
        height: 130px;
        bottom: 0;
    }

    .fly-center {
        width: 92px;
        height: auto;
        bottom: 16px;
    }

    .about-integration {
        height: auto;
        padding: 48px 0 36px;
    }

    .about-integration-diagram {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: none;
    }

    .about-integration-diagram > div {
        position: static;
        width: 100%;
        height: auto;
        left: auto;
        top: auto;
        transform: none;
        align-items: flex-start;
    }

    .about-integration-btn {
        max-width: none;
    }

    .about-integration-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-partner2 {
        height: auto;
        padding: 40px 0 48px;
        background-size: cover;
    }

    .about-partner2 .about-partner-grid {
        width: 100%;
        height: auto;
        padding: 0;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-partner-grid-item,
    .about-partner2 .about-partner-grid-item:nth-child(1),
    .about-partner2 .about-partner-grid-item:nth-child(2),
    .about-partner2 .about-partner-grid-item:nth-child(3) {
        width: 100%;
        height: auto;
        min-height: 72px;
        margin-left: 0;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
        box-sizing: border-box;
    }

    .partner-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        justify-content: stretch;
        gap: 12px;
    }

    .partner-card {
        width: 100%;
        height: 72px;
    }

    .org-chart-scroll {
        overscroll-behavior-x: contain;
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px 4px;
    }

    .org-chart-scroll::after {
        content: "左右滑动查看完整组织架构";
        display: block;
        margin-top: 10px;
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
        color: #999999;
    }

    .about-intro-desc p,
    .about-message-quote p,
    .about-features-desc {
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .about-hero .swiper,
    .about-hero .swiper-slide {
        height: 240px;
    }

    .partner-card,
    .partner-card .partner-card-inner {
        transform: none;
    }

    .partner-card .partner-card-inner {
        width: 100%;
        left: 0;
    }

    .partner-card img {
        max-width: 78%;
        max-height: 46px;
        height: auto;
    }

    .partner-card .partner-card-mask {
        white-space: normal;
        font-size: 13px;
    }

    .fly-box {
        display: none;
    }

    .about-message-card-content {
        padding: 20px 16px;
    }

    .about-message-portrait {
        height: auto;
        max-height: 420px;
    }

    .about-message-portrait img {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }
}

