@import "../iconfont/iconfont.css";

:root {
    --topic-accent: #d0b381;
    --topic-accent-dark: #b78f50;
    --topic-bg: #f5f3ee;
    --topic-text: #1f1f1f;
    --topic-muted: #666;
    --topic-line: #eadcc2;
    --topic-shadow: 0 18px 40px rgba(121, 90, 39, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    color: var(--topic-text);
    background: #fff;
}

li {
    list-style: none;
}



#main-container {
    overflow: hidden;
    padding-bottom: 64px;
}

.page-shell.container {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-stage {
    position: relative;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
}



.hero-cover {
    width: 100%;
    z-index: 1;
    height: 350px;
}

.hero-copy {
    position: absolute;
    width: 1000px;
    top: 40%;
    transform: translate(-50%,-50%);
    left:50%;
    z-index: 2;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-copy h1 span {
    display: inline-block;
    background: linear-gradient(to right, #fffef9 0%, #fff6dc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    -webkit-text-fill-color: transparent;
}

.hero-copy h1::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    order: 2;
    transform: rotate(45deg);
    border-radius: 1px;
    background: linear-gradient(135deg, #ffefca 0%, #f6d38a 100%);
    box-shadow: 0 0 10px rgba(255, 234, 191, 0.38);
}

.hero-copy h1::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    max-width: 130px;
    margin-left: -20px;
    order: 3;
    background: linear-gradient(90deg, rgba(255, 229, 188, 0.9), rgba(255, 229, 188, 0.12));
}

.hero-copy p {
    margin: 0;
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.2;
    font-weight: 700;
    color: #fff0d8;
}

.header-nav-seacher {
    width: 1000px;
    position: absolute;
    left: 50%;
    transform: translate(-50%,0);
    bottom:0;
    z-index: 3;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px 14px 0 0;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(79, 55, 24, 0.14);
}

.header-nav-seacher form {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
}

.seacher-lt {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}

.seacher-lt .zhuti,
.seacher-lt .secher-chaxun {
    border: 0;
    box-shadow: none;
    height: 44px;
    border-radius: 4px!important;
    background: #fff;
}

.seacher-lt .zhuti {
    width: 92px;
    flex: 0 0 92px;
    border-radius: 8px;
    color: #4f4639;
    font-size: 14px;
}
.seacher-lt .zhuti:focus,.seacher-lt .secher-chaxun:focus{
    background: #fff!important;
}
.seacher-lt .secher-chaxun {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #3f3a34;
    padding-left: 12px;
}

.seacher-lt .secher-chaxun::placeholder {
    color: #9a8d79;
}

.seacher-rt {
    flex: 0 0 auto;
}

.seacher-rt a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    height: 44px;
    padding: 0 22px;
    border-radius: 4px;
    background: #AA7141;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.seacher-rt a:hover,
.seacher-rt a:focus {
    background: var(--topic-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.seacher-rt a span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#searchForm .dropup .dropdown-menu {
    max-height: 200px !important;
}
@media (min-width: 1100px) {
    .header-nav-seacher, .hero-copy{
        width: 80%;
    }
}
@media (max-width: 1199px) {
    .hero-stage {
        height: 320px;
    }
}

@media (max-width: 1100px) {

    .hero-stage {
        height: 280px;
    }
    .header-nav-seacher,
    .hero-copy{
        width: 90%;
    }

    .hero-cover {
    }

    .hero-photo {
        width: 44%;
    }

    .hero-copy {
        top:24%;
    }

    .header-nav-seacher {
    }

    .header-nav-seacher form {
        flex-direction: column;
        align-items: stretch;
    }

    .seacher-rt a {
        width: 100%;
        height: 48px;
    }
}

@media (max-width: 767px) {
    #main-container {
        padding-bottom: 40px;
    }

    .hero-stage {
        height: auto;
        background: linear-gradient(180deg, #bf7d41 0%, #d79a5d 100%);
    }

    .hero-cover {
        inset: 0;
        width: 100%;
        opacity: 0.6;
    }

    .hero-photo {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 128px;
        border-radius: 0;
        object-position: center bottom;
    }

    .hero-stage::after {
        display: none;
    }

    .hero-copy {
        top:40px;
        left: 20px;
        transform: translate(0,0);
    }

    .hero-copy h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 12px;
        gap: 12px;
    }

    .hero-copy h1::before {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    .hero-copy h1::after {
        min-width: 56px;
    }

    .hero-copy p {
        font-size: 20px;
        line-height: 1.35;
    }

    .header-nav-seacher {
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        margin-top: 0;
        padding: 10px;
        transform: none;
        border-radius: 14px;
    }

    .seacher-lt {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .seacher-lt .zhuti {
        width: 100%;
        flex-basis: auto;
    }

    .seacher-lt .secher-chaxun {
        width: 100%;
    }

    .seacher-rt,
    .seacher-rt a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-stage {
        min-height: 340px;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .hero-copy h1::after {
        min-width: 34px;
    }

    .hero-copy p {
        font-size: 18px;
    }

    .header-nav-seacher {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 8px;
    }
}
