@charset "utf-8";
/* ==========================================================================
   高山军营村 · 乡遇厦门  —  门户首页样式
   配套模板：template/default/portal/index.htm
   ========================================================================== */

.gshome {
    --gs-deep: #12382a;
    --gs-green: #2e7d55;
    --gs-green-l: #4aa76f;
    --gs-gold: #c9a45c;
    --gs-gold-l: #efd79a;
    --gs-bg: #f3f7f4;
    --gs-ink: #1e2b25;
    --gs-mut: #6d7d74;
    --gs-line: #e2ebe5;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--gs-ink);
    background: var(--gs-bg);
    -webkit-font-smoothing: antialiased;
}

.gshome,
.gshome * {
    box-sizing: border-box;
}

.gshome img {
    display: block;
    max-width: 100%;
    border: 0;
}

.gshome a {
    color: inherit;
    text-decoration: none;
}

.gshome a:hover {
    text-decoration: none;
}

.gshome ul,
.gshome ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gshome h1,
.gshome h2,
.gshome h3,
.gshome h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

.gshome p {
    margin: 0;
}

.gshome em,
.gshome i {
    font-style: normal;
}

.gs-wrap {
    width: 1200px;
    margin: 0 auto;
}

/* ---------- 通用区块标题 ---------- */
.gs-hd {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gs-hd h2 {
    position: relative;
    padding-left: 13px;
    font-size: 19px;
    color: var(--gs-deep);
}

.gs-hd h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 17px;
    margin-top: -8px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gs-green-l), var(--gs-green));
}

.gs-hd h2 span {
    margin-left: 9px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--gs-mut);
}

.gs-hd .gs-more {
    font-size: 13px;
    color: var(--gs-mut);
}

.gs-hd .gs-more:hover {
    color: var(--gs-green);
}

/* ==========================================================================
   1. 首屏英雄区（纯 CSS 轮播）
   ========================================================================== */
.gs-hero {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: #0c261c;
}

.gs-slides,
.gs-hero-veil {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.gs-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation: gsFade 30s infinite;
    will-change: opacity, transform;
}

.gs-slide:nth-child(1) { animation-delay: 0s; }
.gs-slide:nth-child(2) { animation-delay: 6s; }
.gs-slide:nth-child(3) { animation-delay: 12s; }
.gs-slide:nth-child(4) { animation-delay: 18s; }
.gs-slide:nth-child(5) { animation-delay: 24s; }

@keyframes gsFade {
    0%   { opacity: 0; transform: scale(1.05); }
    3%   { opacity: 1; }
    20%  { opacity: 1; transform: scale(1); }
    23%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1.05); }
}

.gs-hero-veil {
    z-index: 1;
    background: linear-gradient(100deg, rgba(7, 26, 19, 0.86) 0%, rgba(7, 26, 19, 0.60) 38%, rgba(7, 26, 19, 0.14) 72%, rgba(7, 26, 19, 0.34) 100%);
}

.gs-hero-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.gs-hero-copy {
    max-width: 640px;
    color: #fff;
}

.gs-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 20px;
    font-size: 12.5px;
    letter-spacing: 1.2px;
    color: #e7f3ec;
}

.gs-hero-title {
    font-size: 44px;
    letter-spacing: 3px;
    line-height: 1.22;
    text-shadow: 0 4px 26px rgba(0, 0, 0, 0.42);
}

.gs-hero-title i {
    padding: 0 4px;
    color: var(--gs-gold-l);
}

.gs-hero-sub {
    margin-top: 15px;
    font-size: 15px;
    letter-spacing: 0.6px;
    color: #d8ebe0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.gs-hero-btns {
    display: flex;
    margin-top: 30px;
}

.gs-btn {
    display: inline-block;
    height: 46px;
    line-height: 44px;
    padding: 0 32px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.gs-btn + .gs-btn {
    margin-left: 14px;
}

.gs-btn-gold {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #dcb972, #b98f3f);
    color: #2a1f07;
    box-shadow: 0 8px 22px rgba(185, 143, 63, 0.36);
}

.gs-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(185, 143, 63, 0.5);
}

.gs-btn-line {
    border: 1.5px solid rgba(255, 255, 255, 0.68);
    color: #fff;
}

.gs-btn-line:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
}

.gs-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.gs-hero-dots i {
    width: 26px;
    height: 3px;
    margin: 0 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.32);
    animation: gsDot 30s infinite;
}

.gs-hero-dots i:nth-child(1) { animation-delay: 0s; }
.gs-hero-dots i:nth-child(2) { animation-delay: 6s; }
.gs-hero-dots i:nth-child(3) { animation-delay: 12s; }
.gs-hero-dots i:nth-child(4) { animation-delay: 18s; }
.gs-hero-dots i:nth-child(5) { animation-delay: 24s; }

@keyframes gsDot {
    0%, 22% { background: #e8cf93; }
    26%, 100% { background: rgba(255, 255, 255, 0.32); }
}

/* ==========================================================================
   2. 快捷入口
   ========================================================================== */
.gs-quick {
    position: relative;
    z-index: 3;
    background: #fff;
    border-bottom: 1px solid var(--gs-line);
    box-shadow: 0 3px 14px rgba(18, 56, 42, 0.05);
}

.gs-quick-in {
    display: flex;
}

.gs-quick-in a {
    flex: 1;
    padding: 20px 0 18px;
    text-align: center;
    border-right: 1px solid var(--gs-line);
    transition: background 0.22s ease;
}

.gs-quick-in a:last-child {
    border-right: 0;
}

.gs-quick-in a:hover {
    background: #f2f9f5;
}

.gs-quick-in svg {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto 8px;
    stroke: var(--gs-green);
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.gs-quick-in a:hover svg {
    transform: translateY(-3px);
}

.gs-quick-in b {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gs-ink);
}

.gs-quick-in em {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--gs-mut);
}

/* ==========================================================================
   3. 主区（左内容 + 右侧栏）
   ========================================================================== */
.gs-main {
    display: flex;
    margin-top: 26px;
}

.gs-main-l {
    flex: 1;
    min-width: 0;
}

.gs-main-r {
    flex: none;
    width: 330px;
    margin-left: 22px;
}

.gs-panel {
    padding: 18px 20px 20px;
    border: 1px solid var(--gs-line);
    border-radius: 12px;
    background: #fff;
}

.gs-panel + .gs-panel {
    margin-top: 18px;
}

/* 头条 */
.gs-top {
    position: relative;
    display: block;
    height: 330px;
    border-radius: 12px;
    overflow: hidden;
    background: #dde7e1;
}

.gs-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gs-top:hover img {
    transform: scale(1.045);
}

.gs-top-t {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 54px 22px 20px;
    background: linear-gradient(180deg, rgba(6, 24, 17, 0) 0%, rgba(6, 24, 17, 0.9) 100%);
    color: #fff;
}

.gs-top-t span {
    display: inline-block;
    margin-bottom: 9px;
    padding: 2px 9px;
    border-radius: 3px;
    background: var(--gs-gold);
    font-size: 12px;
    font-weight: 700;
    color: #2a1f07;
}

.gs-top-t h3 {
    font-size: 22px;
    line-height: 1.42;
}

.gs-top-t p {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    font-size: 13px;
    color: #d3e5da;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 图文网格 */
.gs-grid2 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-right: -16px;
}

.gs-it {
    display: flex;
    width: 50%;
    margin: 0 16px 16px 0;
    padding: 10px;
    border: 1px solid var(--gs-line);
    border-radius: 10px;
    background: #fff;
    transition: all 0.25s ease;
}

.gs-it:nth-child(-n+2) {
    width: 50%;
}

.gs-it:hover {
    border-color: #bcd9c9;
    box-shadow: 0 8px 22px rgba(18, 56, 42, 0.09);
    transform: translateY(-2px);
}

.gs-it img {
    flex: none;
    width: 104px;
    height: 74px;
    margin-right: 12px;
    border-radius: 7px;
    object-fit: cover;
    background: #e8efe9;
}

.gs-it-b {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.gs-it-b h4 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--gs-ink);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gs-it:hover .gs-it-b h4 {
    color: var(--gs-green);
}

.gs-it-b .gs-meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gs-mut);
}

.gs-it-b .gs-meta em {
    margin-right: 10px;
    color: var(--gs-green);
}

/* 侧栏：接待中心卡片 */
.gs-rec {
    display: flex;
    padding: 10px;
    border: 1px solid var(--gs-line);
    border-radius: 10px;
    background: #fff;
    transition: all 0.25s ease;
}

.gs-rec + .gs-rec {
    margin-top: 11px;
}

.gs-rec:hover {
    border-color: #bcd9c9;
    box-shadow: 0 8px 20px rgba(18, 56, 42, 0.09);
}

.gs-rec img {
    flex: none;
    width: 92px;
    height: 66px;
    margin-right: 11px;
    border-radius: 7px;
    object-fit: cover;
    background: #e8efe9;
}

.gs-rec-b {
    min-width: 0;
}

.gs-rec-b b {
    display: block;
    font-size: 14.5px;
    color: var(--gs-deep);
}

.gs-rec-b em {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--gs-mut);
}

/* 电话卡 */
.gs-tel {
    margin-top: 18px;
    padding: 20px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #16452f 0%, #2b7b52 100%);
    text-align: center;
    color: #fff;
}

.gs-tel em {
    display: block;
    font-size: 12.5px;
    letter-spacing: 2px;
    color: #b9d6c6;
}

.gs-tel b {
    display: block;
    margin: 7px 0 6px;
    font-size: 25px;
    letter-spacing: 1px;
    color: var(--gs-gold-l);
}

.gs-tel span {
    display: block;
    font-size: 12px;
    color: #a6ccb9;
}

/* ==========================================================================
   4. 十二栏目导览
   ========================================================================== */
.gs-cats {
    margin-top: 28px;
    padding: 32px 0 36px;
    border-top: 1px solid var(--gs-line);
    border-bottom: 1px solid var(--gs-line);
    background: #fff;
}

.gs-hd-c {
    display: block;
    margin-bottom: 26px;
    text-align: center;
}

.gs-hd-c h2 {
    display: inline-block;
    padding-left: 0;
    font-size: 25px;
    letter-spacing: 1px;
    color: var(--gs-deep);
}

.gs-hd-c h2:before {
    display: none;
}

.gs-hd-c p {
    margin-top: 9px;
    font-size: 13px;
    letter-spacing: 0.6px;
    color: var(--gs-mut);
}

.gs-cat-grid {
    display: flex;
    flex-wrap: wrap;
    margin-right: -16px;
}

.gs-cat {
    position: relative;
    display: block;
    width: calc(16.666% - 16px);
    height: 132px;
    margin: 0 16px 16px 0;
    border-radius: 10px;
    overflow: hidden;
    background: #dde7e1;
}

.gs-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gs-cat:hover img {
    transform: scale(1.08);
}

.gs-cat:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(6, 24, 17, 0.03) 28%, rgba(6, 24, 17, 0.84) 100%);
}

.gs-cat-b {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 12px 11px;
    color: #fff;
}

.gs-cat-b b {
    display: block;
    font-size: 14.5px;
    letter-spacing: 0.4px;
}

.gs-cat-b em {
    display: block;
    margin-top: 1px;
    font-size: 11.5px;
    color: #c6e0d2;
}

/* ==========================================================================
   5. 社区热帖 + 光影图墙
   ========================================================================== */
.gs-two {
    display: flex;
    margin-top: 28px;
}

.gs-two-l {
    flex: 1;
    min-width: 0;
}

.gs-two-r {
    flex: none;
    width: 468px;
    margin-left: 22px;
}

.gs-th li {
    display: flex;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--gs-line);
}

.gs-th li:last-child {
    border-bottom: 0;
}

.gs-fid {
    flex: none;
    margin-right: 10px;
    padding: 2px 7px;
    border-radius: 4px;
    background: #e8f4ec;
    font-size: 11.5px;
    color: var(--gs-green);
}

.gs-th a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--gs-ink);
}

.gs-th a:hover {
    color: var(--gs-green);
}

.gs-th em {
    flex: none;
    margin-left: 12px;
    font-size: 12px;
    color: var(--gs-mut);
}

.gs-gal {
    display: flex;
    flex-wrap: wrap;
    margin-right: -9px;
}

.gs-gal a {
    display: block;
    width: calc(33.333% - 9px);
    height: 104px;
    margin: 0 9px 9px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #dde7e1;
}

.gs-gal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gs-gal a:hover img {
    transform: scale(1.09);
}

/* ==========================================================================
   6. 数据亮点条
   ========================================================================== */
.gs-stats {
    margin-top: 28px;
    padding: 32px 0;
    background: linear-gradient(135deg, #10301f 0%, #1d5540 100%);
}

.gs-stats-in {
    display: flex;
}

.gs-stats-in div {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    text-align: center;
    color: #fff;
}

.gs-stats-in div:last-child {
    border-right: 0;
}

.gs-stats-in b {
    display: block;
    font-size: 33px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gs-gold-l);
}

.gs-stats-in b em {
    margin-left: 3px;
    font-size: 14px;
    color: #cfe3d7;
}

.gs-stats-in span {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #b6cfc2;
}

.gs-foot-note {
    padding: 16px 0 4px;
    text-align: center;
    font-size: 12px;
    color: var(--gs-mut);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media screen and (max-width: 1240px) {
    .gs-wrap {
        width: auto;
        padding: 0 18px;
    }

    .gs-hero-title {
        font-size: 37px;
    }
}

@media screen and (max-width: 900px) {
    .gs-hero {
        height: 358px;
    }

    .gs-hero-copy {
        max-width: none;
    }

    .gs-main,
    .gs-two {
        display: block;
    }

    .gs-main-r,
    .gs-two-r {
        width: auto;
        margin: 20px 0 0;
    }

    .gs-cat {
        width: calc(33.333% - 16px);
    }

    .gs-quick-in {
        flex-wrap: wrap;
    }

    .gs-quick-in a {
        flex: 0 0 33.333%;
        border-bottom: 1px solid var(--gs-line);
    }

    .gs-quick-in a:nth-child(3n) {
        border-right: 0;
    }

    .gs-stats-in {
        flex-wrap: wrap;
    }

    .gs-stats-in div {
        flex: 0 0 50%;
        margin-bottom: 20px;
        border-right: 0;
    }

    .gs-stats-in div:nth-child(-n+2) {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 640px) {
    .gs-hero {
        height: 320px;
    }

    .gs-hero-title {
        font-size: 27px;
        letter-spacing: 1px;
    }

    .gs-hero-sub {
        font-size: 13px;
    }

    .gs-eyebrow {
        margin-bottom: 12px;
        font-size: 11.5px;
    }

    .gs-hero-btns {
        margin-top: 20px;
    }

    .gs-btn {
        height: 42px;
        line-height: 40px;
        padding: 0 22px;
        font-size: 14px;
    }

    .gs-it {
        width: 100%;
    }

    .gs-cat {
        width: calc(50% - 16px);
    }

    .gs-gal a {
        width: calc(50% - 9px);
    }

    .gs-top {
        height: 250px;
    }

    .gs-top-t h3 {
        font-size: 18px;
    }

    .gs-stats-in div {
        flex: 0 0 50%;
    }
}
