/* ==========================================================================
   jinhui 主题：页头 / 导航 / 首页轮播
   样式复刻 dghaoshengbz.com（深绿 #0b3b2e 双行页头 + 700px 整图轮播）
   ========================================================================== */

.jh-topbar,
.jh-header,
.jh-nav,
.jh-banner,
.jh-search,
.jh-burger {
    box-sizing: border-box;
}

.jh-topbar *,
.jh-header *,
.jh-nav *,
.jh-banner * {
    box-sizing: border-box;
}

/* 通栏容器 ---------------------------------------------------------------- */
.jh-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 原主题给 .body-inner 加了 overflow:hidden，会裁掉导航下拉 */
.body-inner {
    overflow: visible;
}

/* ==========================================================================
   1. 顶部信息条
   ========================================================================== */
.jh-topbar {
    height: 46px;
    line-height: 46px;
    background: #0b3b2e;
}

.jh-topbar__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
}

.jh-topbar__welcome {
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    color: #dccfae;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 0;
}

.jh-topbar__links {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 0 auto;
}

.jh-topbar__links > li {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 26px;
    font-weight: 300;
    color: #dccfae;
}

.jh-topbar__links i {
    margin-right: 7px;
    color: #dccfae;
    font-size: 15px;
}

.jh-topbar__links a {
    color: #dccfae;
    text-decoration: none;
    transition: color .2s;
}

.jh-topbar__links a:hover {
    color: #fff;
    text-decoration: underline;
}

.jh-topbar__tel b {
    font-weight: 300;
    color: #dccfae;
}

.jh-topbar__tel em {
    font-style: normal;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #fff;
    letter-spacing: .5px;
}

/* ==========================================================================
   2. 主头部（Logo + 标语 + 导航）
   ========================================================================== */
.jh-header {
    position: relative;
    z-index: 1000;
    height: 130px;
    background: #fff;
}

.jh-header__in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 130px;
}

/* Logo 与标语 */
.jh-brand {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.jh-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
}

.jh-logo img {
    display: block;
    width: auto;
    max-width: 420px;
    max-height: 78px;
    object-fit: contain;
}

/* 文字标识：JH 方块 + 公司名 */
.jh-logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-right: 13px;
    background: #0b3b2e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
}

.jh-logo__name {
    font-size: 29px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0b3b2e;
    white-space: nowrap;
}

.jh-logo__name em {
    font-style: normal;
    font-weight: 400;
}

.jh-slogan {
    margin-left: 26px;
    flex: 0 1 auto;
    min-width: 0;
}

.jh-slogan__main {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    white-space: nowrap;
}

.jh-slogan__tags {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 10px;
}

.jh-slogan__tags span {
    display: block;
    width: 79px;
    height: 25px;
    line-height: 25px;
    margin-right: 6px;
    border-radius: 30px;
    background: #0b3b2e;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0;
}

.jh-slogan__tags span:last-child {
    margin-right: 0;
}

/* 导航 */
.jh-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.jh-nav__list {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 130px;
}

.jh-nav__list > li {
    position: relative;
    padding: 0 14px;
}

.jh-nav__list > li > a {
    position: relative;
    display: flex;
    align-items: center;
    height: 130px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.jh-nav__list > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #0b3b2e;
    transition: width .3s ease;
}

.jh-nav__list > li:hover > a,
.jh-nav__list > li.active > a {
    color: #0b3b2e;
    font-weight: 700;
}

.jh-nav__list > li:hover > a::after,
.jh-nav__list > li.active > a::after {
    width: 100%;
}

/* 二级下拉 */
.jh-nav__sub {
    position: absolute;
    left: 50%;
    top: 130px;
    min-width: 150px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: all .3s ease;
    z-index: 99999;
}

.jh-nav__list > li:hover > .jh-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.jh-nav__sub > li > a {
    display: block;
    height: 62px;
    line-height: 62px;
    padding: 0 16px;
    font-size: 15px;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
    white-space: nowrap;
    transition: all .2s;
}

.jh-nav__sub > li:last-child > a {
    border-bottom: none;
}

.jh-nav__sub > li > a:hover {
    background: #0b3b2e;
    color: #fff;
}

/* 搜索按钮 */
.jh-nav__search {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.jh-nav__search .nav-search {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all .2s;
}

.jh-nav__search .nav-search:hover {
    border-color: #0b3b2e;
    color: #0b3b2e;
}

/* 搜索面板 */
.jh-search {
    position: absolute;
    right: 24px;
    top: 100%;
    display: none;
    width: 320px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    z-index: 1001;
}

.jh-search form {
    display: flex;
    margin: 0;
}

.jh-search input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e2e2;
    border-right: none;
    font-size: 14px;
    color: #333;
    outline: none;
}

.jh-search button {
    width: 56px;
    height: 40px;
    border: none;
    background: #0b3b2e;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* 汉堡按钮（移动端） */
.jh-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.jh-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.jh-burger i {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #0b3b2e;
    transition: all .3s;
}

/* ==========================================================================
   3. 首页轮播（700px 整图 + 圆形指示点 + 悬停箭头）
   ========================================================================== */
.jh-banner {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.jh-banner .swiper-container {
    width: 100%;
    height: 700px;
    margin: 0;
}

.jh-banner .swiper-slide {
    position: relative;
    height: 700px;
    background-color: #072a20;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jh-banner__in {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.jh-banner__txt {
    max-width: 620px;
    color: #fff;
}

.jh-banner__txt h2 {
    margin: 0 0 18px;
    font-size: 46px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}

.jh-banner__txt p {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .88);
}

.jh-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 186px;
    height: 48px;
    padding: 0 28px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .65);
    background: rgba(201, 162, 39, .95);
    color: #0b2a20;
    font-size: 16px;
    text-decoration: none;
    transition: all .4s;
}

.jh-banner__btn:hover {
    background: #fff;
    color: #0b3b2e;
    border-color: #fff;
}

/* 指示点 */
.jh-banner .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    margin: 0 5px !important;
    border-radius: 20px;
    background: #cbd2cf;
    opacity: 1;
    transition: all .3s ease;
}

.jh-banner .swiper-pagination-bullet-active {
    width: 32px;
    background: #c9a227;
    opacity: 1;
}

.jh-banner .swiper-pagination {
    bottom: 60px;
    left: 0;
    width: 100%;
    text-align: center;
}

/* 左右箭头 */
.jh-banner__arrow {
    position: absolute;
    top: 50%;
    width: 49px;
    height: 104px;
    margin-top: -52px;
    background: rgba(0, 0, 0, .28);
    opacity: 0;
    cursor: pointer;
    z-index: 20;
    transition: all .3s ease;
}

.jh-banner__arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: translate(-30%, -50%) rotate(-45deg);
}

.jh-banner__prev {
    left: -50px;
}

.jh-banner__next {
    right: -50px;
}

.jh-banner__next::after {
    transform: translate(-70%, -50%) rotate(135deg);
}

.jh-banner:hover .jh-banner__arrow {
    opacity: .45;
}

.jh-banner:hover .jh-banner__prev {
    left: 20px;
}

.jh-banner:hover .jh-banner__next {
    right: 20px;
}

.jh-banner__arrow:hover {
    opacity: .85 !important;
}

/* ==========================================================================
   4. 响应式
   ========================================================================== */
@media (max-width: 1366px) {
    .jh-wrap {
        padding: 0 20px;
    }

    .jh-nav__list > li {
        padding: 0 10px;
    }

    .jh-nav__list > li > a {
        font-size: 15px;
    }

    .jh-slogan__main {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    .jh-slogan {
        display: none;
    }

    .jh-banner .swiper-container,
    .jh-banner .swiper-slide {
        height: 600px;
    }

    .jh-banner__txt h2 {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .jh-topbar {
        height: 40px;
        line-height: 40px;
    }

    .jh-topbar__in {
        height: 40px;
    }

    .jh-topbar__welcome {
        font-size: 13px;
    }

    .jh-topbar__tel em {
        font-size: 16px;
    }

    .jh-topbar__links > li {
        margin-left: 16px;
    }

    .jh-header {
        height: 74px;
    }

    .jh-header__in {
        height: 74px;
    }

    .jh-logo img {
        max-height: 52px;
        max-width: 260px;
    }

    .jh-logo__mark {
        width: 34px;
        height: 34px;
        margin-right: 9px;
        font-size: 12px;
    }

    .jh-logo__name {
        font-size: 21px;
        letter-spacing: 1px;
    }

    .jh-burger {
        display: flex;
    }

    /* 折叠菜单 */
    .jh-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        max-height: 72vh;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
        z-index: 9999;
    }

    .jh-menu-toggle:checked~.jh-nav {
        display: block;
    }

    .jh-nav__list {
        display: block;
        height: auto;
        padding: 6px 0;
    }

    .jh-nav__list > li {
        padding: 0 24px;
        border-bottom: 1px solid #f2f2f2;
    }

    .jh-nav__list > li > a {
        height: 50px;
        font-size: 16px;
    }

    .jh-nav__list > li > a::after {
        display: none;
    }

    .jh-nav__sub {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        margin: 0 0 8px;
        padding: 0;
        background: #f7f8f7;
        box-shadow: none;
    }

    .jh-nav__sub > li > a {
        height: 44px;
        line-height: 44px;
        font-size: 14px;
        text-align: left;
        padding-left: 18px;
        border-bottom: none;
    }

    .jh-nav__search {
        display: none;
    }

    .jh-search {
        right: 16px;
        left: 16px;
        width: auto;
    }

    .jh-banner .swiper-container,
    .jh-banner .swiper-slide {
        height: 460px;
    }

    .jh-banner__txt h2 {
        font-size: 30px;
    }

    .jh-banner__txt p {
        font-size: 15px;
    }

    .jh-banner .swiper-pagination {
        bottom: 28px;
    }

    .jh-banner__arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .jh-wrap {
        padding: 0 14px;
    }

    .jh-topbar__welcome {
        display: none;
    }

    .jh-topbar__in {
        justify-content: flex-end;
    }

    .jh-banner .swiper-container,
    .jh-banner .swiper-slide {
        height: 300px;
    }

    .jh-banner__txt {
        max-width: 100%;
    }

    .jh-banner__txt h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .jh-banner__txt p {
        display: none;
    }

    .jh-banner__btn {
        min-width: 140px;
        height: 38px;
        font-size: 14px;
        padding: 0 20px;
    }

    .jh-banner .swiper-pagination {
        bottom: 16px;
    }

    .jh-banner .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 4px !important;
    }

    .jh-banner .swiper-pagination-bullet-active {
        width: 22px;
    }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.jh-foot {
    position: relative;
    background: #0b2a20;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.8;
}

.jh-foot * {
    box-sizing: border-box;
}

.jh-foot a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color .2s;
}

.jh-foot a:hover {
    color: #fff;
}

.jh-foot__main {
    padding: 62px 0 50px;
}

.jh-foot__grid {
    display: flex;
    gap: 48px;
}

.jh-foot__brand {
    flex: 0 0 32%;
}

.jh-foot__col {
    flex: 1 1 0;
    min-width: 0;
}

.jh-foot__logo {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.jh-foot__logo i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    background: #0b3b2e;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    letter-spacing: 0;
}

.jh-foot__intro {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .62);
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.jh-foot__tags span {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 2px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

.jh-foot__tit {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

.jh-foot__tit::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    background: #c9a227;
}

.jh-foot__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jh-foot__col li {
    margin-bottom: 11px;
    font-size: 14px;
}

.jh-foot__contact p {
    margin: 0 0 13px;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}

.jh-foot__contact i {
    width: 18px;
    margin-right: 8px;
    color: #d8b95a;
    text-align: center;
}

.jh-foot__btn {
    display: inline-block;
    height: 42px;
    margin-top: 12px;
    padding: 0 26px;
    background: #c9a227;
    color: #fff !important;
    line-height: 42px;
    font-size: 14px;
    transition: background .25s;
}

.jh-foot__btn:hover {
    background: #b08d1d;
}

.jh-foot__bar {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .48);
}

.jh-foot__bar .jh-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.jh-foot__bar p {
    margin: 0;
}

.jh-foot__links a {
    margin-left: 14px;
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
}

.jh-foot__top {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 99;
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(11, 59, 46, .92);
    color: #fff;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: background .25s;
}

.jh-foot__top:hover {
    background: #c9a227;
}

@media (max-width: 991px) {
    .jh-foot__main {
        padding: 44px 0 34px;
    }

    .jh-foot__grid {
        flex-wrap: wrap;
        gap: 32px 36px;
    }

    .jh-foot__brand {
        flex: 0 0 100%;
    }

    .jh-foot__col {
        flex: 0 0 calc(50% - 18px);
    }

    .jh-foot__bar .jh-wrap {
        display: block;
        text-align: center;
    }

    .jh-foot__bar p,
    .jh-foot__links {
        margin-bottom: 6px;
    }

    .jh-foot__links a {
        margin: 0 7px;
    }
}

@media (max-width: 600px) {
    .jh-foot__col {
        flex: 0 0 100%;
    }

    .jh-foot__logo {
        font-size: 19px;
    }
}

/* ==========================================================================
   统一内页首屏（栏目图 .pg-hero）
   所有内页（列表 / 详情 / 单页 / 搜索 / 标签）统一使用此结构，
   背景图取「栏目管理 → 栏目缩略图」，无图时回退父栏目 / 站点默认图。
   结构见 template/index/default/common/page_banner.html
   ========================================================================== */
.pg-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 470px;
    padding: 0;
    background: #0b2a20;
    color: #fff;
    overflow: hidden;
}

.pg-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.pg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 42, 32, .76) 0%, rgba(11, 42, 32, .48) 45%, rgba(11, 42, 32, .1) 100%);
}

.pg-hero__in {
    position: relative;
    z-index: 2;
    padding: 76px 24px;
}

/* 遮罩减淡后，给文字加一层柔和阴影，浅色图上也能看清 */
.pg-hero__en,
.pg-hero__tit,
.pg-hero__sub,
.pg-crumb {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.pg-hero__en {
    display: flex;
    align-items: center;
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, .62);
    text-transform: uppercase;
}

.pg-hero__en::before {
    content: '';
    width: 28px;
    height: 2px;
    margin-right: 14px;
    background: #c9a227;
}

.pg-hero .pg-hero__tit {
    margin: 0 0 16px;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.pg-hero__sub {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .74);
}

.pg-crumb {
    margin-top: 26px;
    font-size: 13px;
    line-height: 1.6;
}

.pg-crumb a,
.pg-crumb span {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
}

.pg-crumb a:hover {
    color: #fff;
}

@media (max-width: 1199px) {
    .pg-hero {
        min-height: 410px;
    }

    .pg-hero__in {
        padding: 62px 24px;
    }

    .pg-hero .pg-hero__tit {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .pg-hero {
        min-height: 350px;
    }

    .pg-hero__in {
        padding: 52px 24px;
    }

    .pg-hero .pg-hero__tit {
        font-size: 32px;
    }

    .pg-hero__sub {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .pg-hero {
        min-height: 260px;
    }

    .pg-hero__in {
        padding: 40px 20px;
    }

    .pg-hero__en {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .pg-hero .pg-hero__tit {
        margin-bottom: 10px;
        font-size: 26px;
        letter-spacing: 1px;
    }

    .pg-hero__sub {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.7;
    }

    .pg-crumb {
        margin-top: 16px;
    }
}

/* ===== 主题配色：金色主按钮（深色字） ===== */
.jh-foot__btn {
    background: #c9a227 !important;
    color: #0b2a20 !important;
}

.jh-foot__btn:hover {
    background: #b08d1d !important;
    color: #0b2a20 !important;
}

.jh-foot__top:hover {
    background: #c9a227;
    color: #0b2a20;
}