/* Products Page Mobile Responsive Styles */

@media screen and (max-width: 768px) {
    /* 顶部 Hero 简化，仅保留纯色背景 */
    .top-bar{
        background-color: #144279;
        background-image: none;
    }

    .top-bar .hero {
        display: none;
    }

    /* banner */
    .banner{
        /* 注意：此处 CSS 文件在 css/mobile 目录下，路径需回退两级到 html 根目录 */
        background-image: url(../../img/products/u0.png);
        width: 100%;
        height: 320rem;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .banner::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

    .banner-inner{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2;
    }

    .banner-content{
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20rem;
        box-sizing: border-box;
    }

    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8rem;
        margin-top: 12rem;
        margin-bottom: 20rem;
        font-size: 12rem;
        color: #fff;
        flex-wrap: wrap;
    }

    .breadcrumb-home {
        color: #fff;
        text-decoration: none;
    }

    .breadcrumb-separator {
        color: #fff;
    }

    .breadcrumb-current {
        color: #fff;
    }

    .learn-hero{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 80rem;
        gap: 20rem;
        padding: 0 20rem;
        box-sizing: border-box;
    }

    .learn-title{
        font-size: 32rem;
        font-family: 'Century Gothic Negreta cursiva', 'Century Gothic Normal', 'Century Gothic', sans-serif;
        font-style: italic !important;
        font-weight: 700;
        font-style: normal;
        color: #ffffff;
        text-align: center;
    }

    .learn-search-bar{
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        background-color: #ffffff;
        border-radius: 10rem;
        height: 44rem;
        padding: 2rem 10rem 2rem 0;
        box-sizing: border-box;
    }

    .learn-search-filter{
        display: flex;
        align-items: center;
        padding: 0 16rem;
        border-right: 1px solid #e0e0e0;
        font-size: 12rem;
        color: #333333;
        gap: 8rem;
        height: 100%;
    }

    .learn-search-filter-icon{
        width: 0;
        height: 0;
        border-left: 5rem solid transparent;
        border-right: 5rem solid transparent;
        border-top: 6rem solid #999999;
    }

    .learn-search-input{
        flex: 1;
        border: none;
        padding: 0 12rem;
        font-size: 14rem;
        color: #333333;
        outline: none;
        height: 100%;
        min-width: 0;
    }

    .learn-search-input::placeholder{
        color: #b0b0b0;
    }

    .learn-search-button{
        width: 45rem;
        height: 32rem;
        min-width: 45rem;
        background-color: #144279;
        border: none;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 25rem;
        flex-shrink: 0;
    }

    .learn-search-button::before{
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 14rem;
        height: 14rem;
        border-radius: 50%;
        border: 2rem solid #ffffff;
        box-sizing: border-box;
    }

    .learn-search-button::after{
        content: "";
        position: absolute;
        width: 6rem;
        height: 2rem;
        background-color: #ffffff;
        transform-origin: left center;
        top: 50%;
        left: 50%;
        transform: translate(3rem, 3rem) rotate(45deg);
    }

    /* Product Portfolio Section */
    .product-portfolio-section{
        background-color: #ffffff;
        padding: 40rem 0;
    }

    .product-portfolio-inner{
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20rem;
        display: flex;
        flex-direction: column;
        gap: 40rem;
        align-items: center;
        box-sizing: border-box;
    }

    .product-portfolio-images{
        flex: 1;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16rem;
        justify-content: center;
        position: static;
        height: auto;
    }

    .product-portfolio-image{
        width: 40%;
        max-width: 160rem;
        height: auto;
        display: block;
    }

    .product-portfolio-image.first,
    .product-portfolio-image.second,
    .product-portfolio-image.third,
    .product-portfolio-image.fourth,
    .product-portfolio-image.fifth{
        position: static;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        z-index: auto;
    }

    .product-portfolio-content{
        flex: 1;
        max-width: 100%;
        width: 100%;
        text-align: left;
    }

    .product-portfolio-eyebrow{
        font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
        font-weight: 700;
        font-size: 20rem;
        letter-spacing: 2rem;
        text-transform: uppercase;
        color: #004a80;
        margin-bottom: 12rem;
    }

    .product-portfolio-title{
        font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
        font-weight: 700;
        font-size: 24rem;
        color: #333333;
        margin-bottom: 16rem;
        line-height: 1.4;
    }

    .product-portfolio-description{
        font-family: 'Arial Normal', 'Arial', sans-serif;
        font-size: 14rem;
        color: #333333;
        margin-bottom: 24rem;
        text-align: left;
        line-height: 1.6;
    }

    .product-portfolio-btn{
        display: inline-block;
        padding: 12rem 24rem;
        background-color: #c57a1a;
        color: #ffffff;
        text-decoration: none;
        border: none;
        border-radius: 4rem;
        font-family: 'Arial', sans-serif;
        font-size: 14rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .product-portfolio-btn:hover{
        background-color: #b8b21a;
    }

    /* Featured Portfolio Section */
    .featured-portfolio-section{
        background-color: #144279;
        padding: 40rem 0 50rem 0;
    }

    .featured-portfolio-inner{
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20rem;
        text-align: center;
        box-sizing: border-box;
    }

    .featured-portfolio-title{
        font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
        font-weight: 700;
        font-size: 24rem;
        color: #ffffff;
        letter-spacing: 2rem;
        text-transform: uppercase;
        margin-bottom: 12rem;
        position: relative;
    }

    .featured-portfolio-title::after{
        content: '';
        display: block;
        width: 200rem;
        height: 2rem;
        background-color: #b8741a;
        margin: 10rem auto 0 auto;
    }

    .featured-portfolio-subtitle{
        font-family: 'Arial Normal', 'Arial', sans-serif;
        font-size: 16rem;
        color: #ffffff;
        max-width: 100%;
        margin: 16rem auto 40rem auto;
        line-height: 1.5;
    }

    .featured-portfolio-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20rem;
        justify-items: stretch;
        margin-bottom: 40rem;
    }

    .featured-card{
        width: 100%;
        height: auto;
        background-color: #ffffff;
        padding: 20rem 16rem 16rem 16rem;
        box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }

    .featured-card-label{
        font-family: "Arial Bold", "Arial Normal", "Arial", sans-serif;
        font-weight: 700;
        font-size: 12rem;
        color: rgba(51, 51, 51, 0.5);
        text-transform: uppercase;
        margin-bottom: 12rem;
        border-bottom: 1rem solid #b8741a;
        padding-bottom: 6rem;
    }

    .featured-card-image{
        width: 80rem;
        margin: 0 auto 12rem;
    }

    .featured-card-image img{
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 20rem 0;
    }

    .featured-card-title{
        font-family: "Arial Bold", "Arial Normal", "Arial", sans-serif;
        font-weight: 700;
        color: rgba(51, 51, 51, 1);
        font-size: 14rem;
        margin: 0;
    }

    .featured-portfolio-footer{
        text-align: center;
    }

    .featured-portfolio-btn{
        padding: 10rem 24rem;
        background-color: #c57a1a;
        color: #ffffff;
        border: none;
        border-radius: 4rem;
        font-family: 'Arial', sans-serif;
        font-size: 16rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .featured-portfolio-btn:hover{
        background-color: #b8b21a;
    }

    /* Product Technologies Section */
    .product-technologies-section{
        background-color: #f0f0f2;
        padding: 40rem 0 60rem 0;
    }

    .product-tech-inner{
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20rem;
        text-align: center;
        box-sizing: border-box;
    }

    .product-tech-title{
        font-family: "Arial Bold", "Arial Normal", "Arial", sans-serif;
        font-weight: 700;
        font-size: 24rem;
        color: #144279;
        letter-spacing: 2rem;
        text-transform: uppercase;
        margin-bottom: 24rem;
        position: relative;
    }

    .product-tech-title::after{
        content: '';
        display: block;
        width: 200rem;
        height: 2rem;
        background-color: #c57a1a;
        margin: 8rem auto 0 auto;
    }

    .product-tech-subtitle{
        font-family: "Arial Bold", "Arial Normal", "Arial", sans-serif;
        font-weight: 700;
        font-size: 20rem;
        color: #000000;
        margin-bottom: 30rem;
    }

    .product-tech-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 24rem 16rem;
    }

    .product-tech-grid .tech-card:nth-last-child(2),
    .product-tech-grid .tech-card:last-child{
        grid-column: auto;
    }

    .tech-card{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tech-icon{
        margin-bottom: 12rem;
        width: 100%;
        max-width: 160rem;
    }

    .tech-icon img{
        width: 100%;
        height: auto;
        display: block;
    }

    .tech-btn{
        padding: 8rem 18rem;
        background-color: #c57a1a;
        color: #ffffff;
        border: none;
        border-radius: 4rem;
        font-family: "Arial", sans-serif;
        font-size: 14rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .tech-btn:hover{
        background-color: #b8b21a;
    }
}

