/* ==========================================================================
   内页通用组件（inner.css）
   适用：产品详情 / 招聘列表与详情 / 搜索结果 / 服务团队
   依赖：sjfc.css 的 :root 变量（--nl-primary 等）→ 换主题色时这些页面自动跟随
   断点：1200 / 992 / 768（与全站一致）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 页面横幅
   -------------------------------------------------------------------------- */
.pg-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
    background: linear-gradient(135deg, var(--nl-primary-dark), var(--nl-primary));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.pg-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 34, 26, .76), rgba(10, 34, 26, .42));
}

.pg-banner .nl-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.pg-banner__crumb {
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 14px;
}

.pg-banner__crumb a {
    color: inherit;
}

.pg-banner__crumb a:hover {
    color: #fff;
}

.pg-banner__crumb i {
    font-style: normal;
    margin: 0 8px;
    opacity: .5;
}

.pg-banner__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.pg-banner__sub {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .84);
    max-width: 720px;
}

/* --------------------------------------------------------------------------
   2. 主体与卡片
   -------------------------------------------------------------------------- */
.pg-main {
    background: var(--nl-bg);
    padding: 52px 0 78px;
}

.pg-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(14, 59, 40, .08);
    padding: 42px 48px;
}

.pg-card + .pg-card {
    margin-top: 26px;
}

.pg-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #14563f;
    line-height: 1.5;
    margin-bottom: 18px;
}

.pg-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    color: #14563f;
    margin-bottom: 20px;
}

.pg-section-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--nl-primary);
}

/* --------------------------------------------------------------------------
   3. 元信息行 / 标签
   -------------------------------------------------------------------------- */
.pg-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 13px;
    color: var(--nl-text-light);
}

.pg-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pg-meta__item svg {
    width: 15px;
    height: 15px;
    opacity: .8;
}

.pg-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px dashed var(--nl-border);
}

.pg-tags__label {
    font-size: 13px;
    color: var(--nl-text-light);
    letter-spacing: 1px;
}

.pg-tag {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--nl-bg);
    border: 1px solid var(--nl-border);
    font-size: 13px;
    color: var(--nl-text);
    transition: all .25s ease;
}

.pg-tag:hover {
    color: #fff;
    background: var(--nl-primary);
    border-color: var(--nl-primary);
}

/* --------------------------------------------------------------------------
   4. 富文本正文排版
   -------------------------------------------------------------------------- */
.pg-content {
    font-size: 16px;
    line-height: 2.05;
    color: #3e5048;
    word-break: break-word;
}

.pg-content p {
    margin: 0 0 20px;
    text-align: justify;
}

.pg-content h2,
.pg-content h3 {
    margin: 30px 0 15px;
    font-size: 21px;
    font-weight: 700;
    color: #14563f;
    line-height: 1.5;
}

.pg-content h4 {
    margin: 24px 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: #14563f;
}

.pg-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
}

.pg-content strong {
    color: #163a2c;
    font-weight: 700;
}

.pg-content ul,
.pg-content ol {
    margin: 0 0 20px;
    padding-left: 1.5em;
}

.pg-content ul li {
    list-style: disc;
    margin-bottom: 7px;
}

.pg-content ol li {
    list-style: decimal;
    margin-bottom: 7px;
}

.pg-content blockquote {
    margin: 22px 0;
    padding: 14px 22px;
    background: var(--nl-bg);
    border-left: 3px solid var(--nl-primary);
    border-radius: 0 10px 10px 0;
    color: #4d6257;
    font-size: 15px;
    line-height: 1.9;
}

.pg-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.pg-content table th,
.pg-content table td {
    border: 1px solid var(--nl-border);
    padding: 10px 14px;
    text-align: left;
}

.pg-content table th {
    background: var(--nl-bg);
    font-weight: 600;
    color: #14563f;
}

/* --------------------------------------------------------------------------
   5. 图文列表（搜索结果 / 招聘列表共用）
   -------------------------------------------------------------------------- */
.pg-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pg-item {
    display: flex;
    gap: 26px;
    background: #fff;
    border-radius: 14px;
    padding: 22px 26px;
    box-shadow: 0 10px 30px rgba(14, 59, 40, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pg-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(14, 59, 40, .12);
}

.pg-item__cover {
    flex: none;
    width: 200px;
    height: 132px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--nl-bg);
}

.pg-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pg-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pg-item__title {
    font-size: 18px;
    font-weight: 700;
    color: #14563f;
    line-height: 1.5;
    margin: 8px 0 10px;
}

.pg-item__title a:hover {
    color: var(--nl-primary);
}

.pg-item__brief {
    font-size: 14px;
    line-height: 1.9;
    color: var(--nl-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-item__foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pg-item__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--nl-primary);
}

.pg-item__more svg {
    width: 15px;
    height: 15px;
    transition: transform .25s ease;
}

.pg-item__more:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. 招聘职位信息网格
   -------------------------------------------------------------------------- */
.pg-job {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 30px;
    padding: 24px 26px;
    background: var(--nl-bg);
    border-radius: 12px;
}

.pg-job__item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15px;
    line-height: 1.8;
}

.pg-job__label {
    flex: none;
    color: var(--nl-text-light);
}

.pg-job__label::after {
    content: "：";
}

.pg-job__value {
    color: var(--nl-text);
    font-weight: 600;
}

.pg-salary {
    color: #d9822b;
    font-weight: 700;
    font-size: 17px;
}

.pg-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.6;
    color: #fff;
    background: var(--nl-primary);
}

.pg-badge--gray {
    background: #9aa8a0;
}

/* --------------------------------------------------------------------------
   7. 产品价格区
   -------------------------------------------------------------------------- */
.pg-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(90deg, rgba(217, 164, 65, .12), rgba(217, 164, 65, 0));
    border-left: 3px solid var(--nl-gold);
    border-radius: 0 10px 10px 0;
    margin-bottom: 24px;
}

.pg-price__now {
    font-size: 30px;
    font-weight: 700;
    color: #d9822b;
    line-height: 1.2;
}

.pg-price__now em {
    font-size: 17px;
    font-style: normal;
    margin-right: 2px;
}

.pg-price__old {
    color: var(--nl-text-light);
    text-decoration: line-through;
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   8. 上一篇 / 下一篇
   -------------------------------------------------------------------------- */
.pg-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--nl-border);
}

.pg-nav__item {
    min-width: 0;
}

.pg-nav__item--next {
    text-align: right;
}

.pg-nav__label {
    display: block;
    font-size: 13px;
    color: var(--nl-text-light);
    margin-bottom: 8px;
}

.pg-nav__item a {
    font-size: 15px;
    color: var(--nl-text);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-nav__item a:hover {
    color: var(--nl-primary);
}

.pg-nav__item em {
    font-style: normal;
    font-size: 14px;
    color: #b3bfb8;
}

/* --------------------------------------------------------------------------
   9. 分页
   -------------------------------------------------------------------------- */
.pg-pager {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pg-pager ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pg-pager a,
.pg-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--nl-border);
    font-size: 14px;
    color: var(--nl-text);
    transition: all .25s ease;
}

.pg-pager a:hover {
    color: #fff;
    background: var(--nl-primary);
    border-color: var(--nl-primary);
}

.pg-pager .is-current span,
.pg-pager .is-current a {
    color: #fff;
    background: var(--nl-primary);
    border-color: var(--nl-primary);
}

.pg-pager .is-disabled span {
    color: #c3cdc7;
    background: #f6f9f7;
}

/* --------------------------------------------------------------------------
   10. 空状态
   -------------------------------------------------------------------------- */
.pg-empty {
    background: #fff;
    border-radius: 14px;
    padding: 70px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(14, 59, 40, .06);
}

.pg-empty b {
    display: block;
    font-size: 18px;
    color: #14563f;
    margin-bottom: 10px;
}

.pg-empty p {
    font-size: 14px;
    color: var(--nl-text-light);
    margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   11. 按钮
   -------------------------------------------------------------------------- */
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 30px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--nl-text);
    background: #fff;
    border: 1px solid var(--nl-border);
    transition: all .3s ease;
}

.pg-btn:hover {
    color: var(--nl-primary);
    border-color: var(--nl-primary);
}

.pg-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--nl-primary), var(--nl-primary-dark));
    border-color: transparent;
}

.pg-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(47, 158, 110, .28);
}

/* --------------------------------------------------------------------------
   12. 两栏布局（详情页正文 + 侧栏）
   -------------------------------------------------------------------------- */
.pg-layout {
    display: flex;
    align-items: flex-start;
    gap: 34px;
}

.pg-layout__main {
    flex: 1;
    min-width: 0;
}

.pg-layout__side {
    flex: none;
    width: 320px;
}

.pg-side {
    background: #fff;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 10px 30px rgba(14, 59, 40, .06);
}

.pg-side + .pg-side {
    margin-top: 22px;
}

.pg-side__title {
    font-size: 17px;
    font-weight: 700;
    color: #14563f;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nl-border);
}

.pg-side__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pg-side__item {
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--nl-text);
}

.pg-side__item:hover {
    color: var(--nl-primary);
}

.pg-side__no {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--nl-bg);
    color: var(--nl-primary);
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    margin-top: 3px;
}

.pg-side__cta {
    background: linear-gradient(140deg, var(--nl-primary-dark), var(--nl-primary));
    color: #fff;
    text-align: center;
}

.pg-side__cta h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pg-side__cta p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .84);
    margin-bottom: 18px;
}

.pg-side__cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.pg-side__cta-phone svg {
    width: 20px;
    height: 20px;
}

.pg-side__cta-btn {
    display: block;
    height: 42px;
    line-height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    font-size: 14px;
    transition: all .3s ease;
}

.pg-side__cta-btn:hover {
    background: #fff;
    color: var(--nl-primary-dark);
}

/* --------------------------------------------------------------------------
   13. 服务团队 / 门店卡片
   -------------------------------------------------------------------------- */
.pg-shops {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pg-shop {
    background: #fff;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 10px 30px rgba(14, 59, 40, .06);
    border-top: 3px solid var(--nl-primary);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pg-shop:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(14, 59, 40, .12);
}

.pg-shop__name {
    font-size: 19px;
    font-weight: 700;
    color: #14563f;
    line-height: 1.5;
    margin-bottom: 14px;
}

.pg-shop__addr {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--nl-text-light);
    margin-bottom: 18px;
}

.pg-shop__addr svg {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    color: var(--nl-primary);
}

.pg-shop__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding-top: 16px;
    border-top: 1px dashed var(--nl-border);
}

.pg-shop__contact {
    font-size: 14px;
    color: var(--nl-text);
}

.pg-shop__contact span {
    color: var(--nl-text-light);
    margin-right: 6px;
}

.pg-shop__contact a {
    color: var(--nl-primary);
    font-weight: 600;
}

.pg-shops__qr {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    border: 1px solid var(--nl-border);
    object-fit: contain;
    background: #fff;
}

/* --------------------------------------------------------------------------
   15. 产品详情：左图 + 右信息
   -------------------------------------------------------------------------- */
.pd-top {
    display: flex;
    gap: 34px;
    margin-bottom: 32px;
}

.pd-gallery {
    flex: none;
    width: 400px;
}

.pd-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: var(--nl-bg);
}

.pd-info {
    flex: 1;
    min-width: 0;
}

.pd-info__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
    color: #14563f;
    margin-bottom: 6px;
}

.pd-attrs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 26px;
}

.pd-attr {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 1.8;
}

.pd-attr__label {
    flex: none;
    width: 78px;
    color: var(--nl-text-light);
}

.pd-attr__value {
    color: var(--nl-text);
    font-weight: 600;
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   14. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .pg-card { padding: 36px 36px; }
    .pg-layout { gap: 26px; }
    .pg-layout__side { width: 290px; }
}

@media (max-width: 992px) {
    .pd-top { flex-direction: column; gap: 22px; }
    .pd-gallery { width: 100%; }
    .pg-banner { min-height: 250px; }
    .pg-banner__title { font-size: 32px; }
    .pg-main { padding: 40px 0 58px; }
    .pg-card { padding: 30px 26px; }
    .pg-layout { flex-direction: column; gap: 24px; }
    .pg-layout__side { width: 100%; }
    .pg-shops { grid-template-columns: 1fr; }
    .pg-job { grid-template-columns: 1fr; gap: 12px; }
    .pg-item { gap: 18px; padding: 18px 20px; }
    .pg-item__cover { width: 160px; height: 108px; }
}

@media (max-width: 768px) {
    .pg-banner { min-height: 200px; }
    .pg-banner__title { font-size: 25px; }
    .pg-banner__sub { font-size: 14px; }
    .pg-main { padding: 30px 0 46px; }
    .pg-card { padding: 24px 18px; border-radius: 12px; }
    .pg-item { flex-direction: column; }
    .pg-item__cover { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .pg-item__title { font-size: 16px; margin-top: 4px; }
    .pg-nav { grid-template-columns: 1fr; gap: 14px; }
    .pg-nav__item--next { text-align: left; }
    .pg-price__now { font-size: 24px; }
    .pg-pager a,
    .pg-pager span { min-width: 34px; height: 34px; font-size: 13px; padding: 0 9px; }
    .pg-empty { padding: 50px 20px; }
}

/* --------------------------------------------------------------------------
   招聘模块补充（职位亮点标签 / 性质筛选 / 状态提示 / 在线投递表单 / 其它岗位）
   —— 与 .pg-* 系列同源，只补招聘页特有的块，不改动原有排版
   -------------------------------------------------------------------------- */
.pg-hltags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pg-hltag {
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--nl-primary);
    background: rgba(37, 99, 235, .06);
    border: 1px solid rgba(37, 99, 235, .16);
}

.pg-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pg-filter__item {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--nl-text);
    background: #fff;
    border: 1px solid var(--nl-border);
    text-decoration: none;
    transition: all .25s ease;
}

.pg-filter__item:hover {
    color: var(--nl-primary);
    border-color: rgba(37, 99, 235, .3);
}

.pg-filter__item.is-active {
    color: #fff;
    background: var(--nl-primary);
    border-color: var(--nl-primary);
}

.pg-badge.is-off {
    color: #64748b;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.pg-alert {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.pg-alert b {
    color: #b45309;
}

.pg-alert span {
    color: #a16207;
}

.pg-alert.is-ok {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.pg-alert.is-ok b {
    color: #166534;
}

.pg-alert.is-ok span {
    color: #22c55e;
}

/* 在线投递表单 */
.pg-form {
    margin-top: 6px;
    padding: 22px 22px 18px;
    border-radius: 12px;
    background: var(--nl-bg);
    border: 1px solid var(--nl-border);
}

.pg-form__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.pg-form__row > label {
    flex: none;
    width: 82px;
    padding-top: 10px;
    font-size: 13.5px;
    color: var(--nl-text);
    text-align: right;
}

.pg-form__row > label b {
    color: #e11d48;
}

.pg-form__row input,
.pg-form__row textarea {
    flex: 1;
    min-width: 0;
    padding: 9px 13px;
    font-size: 14px;
    font-family: inherit;
    color: var(--nl-text);
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.pg-form__row input:focus,
.pg-form__row textarea:focus {
    border-color: var(--nl-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.pg-form__row textarea {
    resize: vertical;
    line-height: 1.7;
}

.pg-form__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 96px;
}

.pg-form__foot span {
    font-size: 12.5px;
    color: var(--nl-text-light);
}

/* 其它在招岗位 */
.pg-related {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.pg-related__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--nl-border);
    text-decoration: none;
    transition: all .25s ease;
}

.pg-related__item b {
    font-size: 14.5px;
    color: var(--nl-text);
    font-weight: 600;
}

.pg-related__item span {
    font-size: 12.5px;
    color: var(--nl-text-light);
}

.pg-related__item:hover {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
    transform: translateY(-2px);
}

.pg-related__item:hover b {
    color: var(--nl-primary);
}

@media (max-width: 992px) {
    .pg-related { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pg-form { padding: 16px 14px 14px; }
    .pg-form__row { flex-direction: column; gap: 6px; }
    .pg-form__row > label { width: auto; padding-top: 0; text-align: left; }
    .pg-form__foot { flex-direction: column; align-items: stretch; padding-left: 0; gap: 10px; }
}
