﻿.home-search {
    height: 67vh !important; /* PC端高度为整屏的2/3 */
    /* background: linear-gradient( to right, #004071, #001e34, #001e34, #001e34, #001e34, #001e34 ) !important; */
    color: white;
    position: static;
    display: block !important;
    transform: translateY(0);
    transition: transform 0.4s ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

.home-search.hiding {
    transform: translateY(-10px);
    pointer-events: none;
}

.searchSticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1040;
    transition: top 0.3s ease-in-out;
}

.scrollStyle.searchSticky {
    top: 0px;
}

.circleButton {
    border-radius: 10px;
    border: none;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .circleButton.active {
        background-color: white;
        color: black;
        font-weight: bold;
    }

.bgHeight {
    height: 130px;
}

.searchBox {
    padding: 15px;
}

.searchInputStyle {
    border: 1px solid #ccc;
    background-color: white;
    padding: 0 10px;
    border-radius: 10px;
    color: black;
    height: 90px;
}

.selectInput {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 15px 25px;
    background-color: white;
}

.bottomInfo {
    position: absolute;
    bottom: 100px;
    right: 0;
    width: 200px;
    text-align: right;
    font-size: 14px;
    line-height: 16px;
}

.searchRight {
    width: 30%;
    height: 640px;
    /*background-image: url('..https://www.ptgcn.com/img/logo3D.png');*/ /* 替换为你的图片路径 */
    background-image: url('https://www.ptgcn.com/img/logo3D.png'); /* 放大图片，可根据需求调整比例 */
    background-size: 350%;
    background-position: center bottom; /* 固定图片位置，这里设置为顶部居中 */
    background-repeat: no-repeat;
}

.serachInputBox {
    padding: 10px;
}

.hero-homepage {
    background-color: #f7f7f7 !important;
}

.hero-homepage__items {
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
}

    .hero-homepage__items .alink {
        display: flex;    
	flex-wrap: wrap;
        height: 46px;
    }

        .hero-homepage__items .alink a {
            margin-right: 10px;
        }

.tabColor {
    color: rgb(108, 114, 120);
}

.two-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 为了兼容 Firefox 等非 WebKit 浏览器，可以设置最大高度，行高根据实际情况调整 */
    line-height: 1.5em;
    /*max-height: 3em;*/
    height: 3em;
}

.hero-homepage .container-xl {
    height: 500px;
    display: flex;
    align-items: center;
}

.hero-homepage__items h3 {
    height: 60px;
}

.Occupyingheight {
    height: 80px;
}

.searchRight img {
    display: none;
}

.scroll-search {
    height: 0;
    overflow: visible;
    opacity: 0;
    transform: translateY(-10px);
    transition: height 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
}

.scroll-search.active {
    height: 70px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 1400px) {
    .searchRight {
        height: 500px;
    }
}

.search .py5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.searchLeftInfo {
    padding-bottom: 1.5rem !important;
}

@media (max-width: 992px) {
    .home-search {
        height: auto !important; /* 手机端保持自动高度 */
    }

    .search .py-5 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .serachLeft {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .bgHeight {
        height: 0px;
    }

    .circleButton {
        margin-left: 5px;
        margin-top: 5px;
    }

    .selectInput,
    .bottomInfo,
    .searchBtn {
        display: none;
    }

    .bgImage {
        flex-direction: column-reverse;
        background-image: url('http://192.168.100.241/demo/img/logo3D.png'); /* 放大图片，可根据需求调整比例 */
        background-size: 200%;
        background-position: center; /* 固定图片位置，这里设置为顶部居中 */
        background-repeat: no-repeat;
        height: 100%;
    }

    .searchRight {
        display: none;
        height: 5rem;
    }

    .serachLeft .searchLeftInfo:nth-child(3) {
        display: none;
    }

    .searchLeftInfo {
        padding-bottom: 0 !important;
    }

    .searchBox {
        padding: 5px;
        height: 85%;
        line-height: 35px;
    }

        .searchBox div:first-of-type {
            display: none;
        }

        .searchBox input {
            font-size: 15px !important;
        }

    .serachInputBox {
        padding: 0 10px;
    }

    .hero-homepage .container-xl {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-homepage__items {
        margin: 5px !important;
        padding: 10px;
    }

    .Occupyingheight {
        height: 0px;
    }

    .hero-homepage__items h3 {
        height: auto;
    }

    .two-line-ellipsis {
        height: 100%;
        max-height: 3em;
        margin-bottom: 0 !important;
    }

    .searchRight img {
        display: block;
    }

    .searchRight {
        background-size: 130% !important;
        width: 100%;
        height: 10rem;
        background-position: center;
    }

    .searchInputStyle {
        height: 55px;
        border-radius: 30px;
    }

        .searchInputStyle button {
            border-radius: 30px !important;
        }

    .pcArrow {
        display: none;
    }

    .mobileRightArrow {
        display: block !important;
        text-align: right !important;
    }

    .search__input__field {
        overflow: hidden;
        /* 超出部分以省略号显示 */
        text-overflow: ellipsis !important;
    }

    .epitope__banner__content {
        padding: 20px 16px 20px 16px !important;
    }

    /* 移动端标题样式调整 */
    .epitope__banner__content h1 {
        font-size: 1.8rem !important;
    }

    /* 移动端分隔线调整 */
    .epitope__banner__content div[style*="width: 60px"] {
        width: 40px !important;
        margin-bottom: 20px !important;
    }
}
/*ipad 布局%*/
@media (min-width: 700px) and (max-width: 992px) {
    .bgImage {
        background-size: 100%;
    }
}

.scrollStyle {
    display: none;
    width: 100%;
    z-index: 1040;
    color: #000;
    background-color: white;
    padding: 0px 0px 20px 0px !important;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.scrollStyle.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

    .scrollStyle .row {
        margin: auto;
        padding: 0px !important;
    }

    .scrollStyle .search__container {
        margin: 0px !important;
        border: none;
        background-color: #f4f4f4 !important;
    }

    .scrollStyle .search__clear {
        right: 100px !important;
    }

    .scrollStyle .search__params {
        border: none;
        background-color: #f7f7f7 !important;
    }

    .scrollStyle .search__category {
        background-color: #cccccc !important;
        border: none;
    }

    .scrollStyle .search__params__container input::placeholder {
        color: #000;
        font-weight: bold;
    }

.navigationBorder {
    border: none;
}

.epitope__banner__content {
    padding: 36px 16px 16px 16px;
}

/* 企业介绍区域样式优化 */
.epitope__banner__content h1 {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    color: #333333 !important;
}

.epitope__banner__content .ptg-black {
    color: #666666 !important;
}

.epitope__banner__content .btn-primary {
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.3);
    transition: all 0.3s ease !important;
}

.epitope__banner__content .btn-primary:hover {
    background-color: #0088aa !important;
    border-color: #0088aa !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 204, 0.4);
}

.epitope__banner__content .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 168, 204, 0.3);
}

/* 背景样式 */
.banner-with-bg {
    background:
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('../images/map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 168, 204, 0.02) 10px,
            rgba(0, 168, 204, 0.02) 20px
        );
    pointer-events: none;
}

/* 内容区域样式优化 */
.banner-with-bg .col-12.col-lg-6:first-child {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 0 15px 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .banner-with-bg .col-12.col-lg-6:first-child {
        border-radius: 15px;
        margin: 20px;
        width: calc(100% - 40px);
    }
}
