/*@font-face {
  font-family: 'HiraginoSansGB';
  src: url('font/Hiragino Sans GB.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}*/
* {
  margin: 0;
  padding: 0;
}
:root {
  /* #35 主题色 */
  --hy-bg: #FFFFFF;
  --hy-primary: #0F172A;
  --hy-primary-hover: #1E293B;
  --hy-accent: #1F5F8B;
  --hy-accent-hover: #184C6F;
  --hy-border: #D8E1E7;
  --hy-text: #0F172A;
  --hy-muted: #667987;
  /* #1 顶栏：全站统一尺寸；滚动只缩 logo/高度，不挪 logo↔导航间距 */
  --hy-topbar-h: 72px;
  --hy-logo-h: 56px;
  --hy-logo-slot: 156px;
  /* logo 字右缘到「案例」左缘，由脚本按「案例↔方案」的间距对齐 */
  --hy-logo-nav-gap: 20px;
}
html, body {
  min-width: 1342px;
  overflow-x: auto;
}
body {
  font-family: "Microsoft Yahei","微软雅黑","Helvetica Neue",Helvetica,
    "Hiragino Sans GB",Arial,sans-serif,
    "Segoe UI Emoji","Segoe UI Symbol";
}
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    /* 须高于 .case-filter-section(30)，否则滚动时筛选条会盖住顶栏文字 */
    z-index: 200;
}
.top-bar {
    height: var(--hy-topbar-h);
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 100;
    padding: 0 30px 0 0;
    transition: height 0.3s ease, background 0.3s, box-shadow 0.3s;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: min(1342px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.topbar-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    /* 抵消顶栏右侧 30px 内边距，再留出与下方栏目文字相同的 8px */
    padding-left: 23px;
}
.logo {
  width: var(--hy-logo-slot);
  position: absolute;
  top: 50%;
  /* 「案例」贴内容左缘，logo 整块跟在它左边，间距不随滚动变 */
  left: calc(50% - 671px - var(--hy-logo-slot) - var(--hy-logo-nav-gap));
  margin-left: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: auto;
}
/* 首页左右位置由脚本按间距钉住；logo 高度全站统一 */
body:has(.hero-carousel) .topbar-left {
  padding-left: 23px;
}
body:has(.hero-carousel) .logo {
  left: calc(50% - 671px - var(--hy-logo-slot) - var(--hy-logo-nav-gap) + 8px);
}
.logo a {
  pointer-events: auto;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  /* 右缘贴近「案例」，放大和缩小都从左边收 */
  justify-content: flex-end;
  cursor: pointer;
}
.logo img {
    height: var(--hy-logo-h);
    width: auto;
    display: block;
    position: relative;
    padding-top: 0;
    margin-left: 0 !important;
    transition: height 0.3s ease;
}
nav {
    position: relative;
    z-index: 300;
    height: 100%;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}
nav ul {
    position: relative;
    z-index: 300;
}
nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav > ul {
    height: 100%;
    max-width: 100%;
}
nav li {
    cursor: pointer;
    font-size: 16px;
    width: 70px;
}
/* 一级菜单拉满顶栏高度，避免鼠标下移时离开热区导致下拉闪关 */
nav > ul > li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 501;
}
nav .dropdown-menu li {
    width: auto;
    height: auto;
    display: block;
}
nav ul li {
    position: relative;
}
.case-page .top-bar *:not(.dropdown-menu):not(.dropdown-menu *).bar-active{
  color: #0F172A !important;
}
.has-dropdown > .dropdown-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    min-width: 88px;
    background: #f5f5f5;
    color: #777777;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 500;
    text-align: left;
    padding-top: 0;
}
/* 桥接区不拦截点击，避免盖住「方案」等一级链接导致点不进去 */
.has-dropdown > .dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
    pointer-events: none;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    white-space: nowrap;
    cursor: pointer;
    font-size: 16px;
    color: #777777;
    transition: background 0.2s, color 0.2s;
    line-height: 36px;
    padding-left: 0;
    width: auto;
    min-width: 100%;
    box-sizing: border-box;
}
.dropdown-menu li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
    line-height: 36px;
    color: #222;
    text-decoration: none;
}
.dropdown-menu li:hover {
    background: #0F172A;
}
.dropdown-menu li:hover a {
    color: #fff;
}
.has-dropdown > .dropdown-menu > .has-dropdown {
    position: relative;
}
.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu {
    left: 101%;
    top: -108px;
    transform: none;
    margin-left: 0;
    width: 100px;
    background: #f0f0f0;
    color: #777777;
    text-align: left;
}
.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li {
    width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
}
.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li:hover a {
  color: #fff;
}

/* 数字模型子菜单专门样式 */
.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu {
    background: #f0f0f0;
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
}

.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li {
    line-height: 36px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
    margin: 0;
    background: transparent;
}

.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li:last-child {
    border-bottom: none;
}

.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li:hover {
    background: #0F172A;
    color: #fff;
}

.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li:hover a {
    color: #fff;
}

.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    width: 100%;
    font-size: 14px;
    transition: color 0.2s ease;
}
.header-search-container {
    display: none;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 28px;
    margin-right: 28px;
}

.header-search-wrapper {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    min-width: 0;
    box-sizing: border-box;
}

.header-search-wrapper:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-search-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.header-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #333;
    font-size: 18px;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

.header-search-input::placeholder {
    color: #999;
    font-size: 18px;
}
.header-search-input:focus::placeholder {
    color: #ccc;
    opacity: 0.6;
}
.top-bar.scrolled .logo img {
  height: var(--hy-logo-h);
  margin-left: 0;
}
.top-bar.scrolled .header-search-container {
    display: flex;
}
.top-bar.scrolled:has(.header-search-container) .user-actions {
    margin-left: 0;
}
/* 全站：上滑只缩小高度/logo，不改变 logo 与导航间距 */
.top-bar.scrolled {
  --hy-topbar-h: 56px;
  --hy-logo-h: 48px;
}
.top-bar.scrolled .login-btn.is-avatar,
.top-bar.scrolled .login-btn.is-avatar:hover {
  width: 36px;
  height: 36px;
  min-width: 36px;
}
.top-bar.scrolled .login-btn .login-btn-avatar {
  width: 36px;
  height: 36px;
}

.user-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 2px;
    width: auto;
    margin-left: auto;
    white-space: nowrap;
}
.user-actions .icon-btn,
.user-actions .login-btn,
.user-actions .lang-switch,
.user-actions .divider {
    flex-shrink: 0;
    white-space: nowrap;
}
.user-actions input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.user-actions button {
    background: #0F172A;
    color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
}
.hero {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-carousel {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    margin-top: 0;
}

.hero-carousel .swiper {
    width: 100%;
    height: 100%;
}

.hero-carousel .swiper-slide {
    position: relative;
}
.hero-carousel .swiper-slide.home-ad-html-slide {
    display: block;
    background: #fff;
    overflow: hidden;
}
.hero-carousel .home-ad-html {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    padding: 16px 32px;
    line-height: 1.6;
    color: #0F172A;
    overflow: auto;
    overflow-x: scroll;
    text-align: left;
    word-break: keep-all;
}
.hero-carousel .home-ad-html p,
.hero-carousel .home-ad-html div,
.hero-carousel .home-ad-html li,
.hero-carousel .home-ad-html h1,
.hero-carousel .home-ad-html h2,
.hero-carousel .home-ad-html h3,
.hero-carousel .home-ad-html h4,
.hero-carousel .home-ad-html h5 {
    margin: 0 0 0.5em;
    white-space: nowrap;
    width: max-content;
    max-width: none;
    word-break: keep-all;
}
.hero-carousel .home-ad-html p:last-child,
.hero-carousel .home-ad-html div:last-child {
    margin-bottom: 0;
}
.hero-carousel .swiper-slide.home-ad-html-slide img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    display: inline-block;
}

.banner-overlay {
    position: absolute;
    bottom: 80px;
    right: 0;
    left: auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    max-width: 46%;
    box-sizing: border-box;
}

.banner-text {
    color: #0F172A;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
    text-align: right;
    word-break: break-word;
}
.banner-text p,
.banner-text-sub p {
    margin: 0 0 0.35em;
}
.banner-text p:last-child,
.banner-text-sub p:last-child {
    margin-bottom: 0;
}
.banner-text-sub {
    color: #0F172A;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
    word-break: break-word;
    margin-top: 8px;
    opacity: 0.9;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 32px;
    padding: 8px 16px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: background 0.2s;
}
.carousel-arrow.left {
    left: 24px;
}
.carousel-arrow.right {
    right: 24px;
}
.carousel-arrow:hover {
    background: rgba(0,0,0,0.7);
}
.carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.2s;
}
.indicator.active {
    background: #0F172A;
}
main {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.content {
    display: flex;
    width: 1342px;
    margin: 0 auto;
    gap: 30px;
    align-items: flex-start;
}
.main-list {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-info {
    padding: 16px;
}
.card-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}
.card-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}
.sidebar {
    flex: 0 0 315px;
    width: 315px;
    min-width: 220px;
    max-width: 315px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sidebar h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #0F172A;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar li {
    font-size: 14px;
    color: #444;
}
.sidebar li:last-child {
  margin-bottom: 0;
}
footer {
    color: #fff;
    width: 100%;
    margin-top: 40px;
}
.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
}
.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #0F172A;
}
.footer-info {
    font-size: 14px;
}
.footer-qr img {
    width: 80px;
    height: 80px;
}
.icon-btn {
    background: none;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #666;
    border-radius: 4px;
    transition: background 0.2s;
}
.icon-btn:hover {
    background: rgba(255,255,255,0.1);
}
.icon-search, .icon-message {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.icon-search::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23666" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="11" cy="11" r="7"/><line x1="16.5" y1="16.5" x2="21" y2="21"/></svg>') center/contain no-repeat;
}
.icon-message::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23666" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="5" width="18" height="14" rx="2"/><polyline points="3,7 12,13 21,7"/></svg>') center/contain no-repeat;
}
.lang-switch {
    margin: 0 10px;
    font-size: 15px;
    color: #fff !important;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}
.login-btn {
    background: rgba(33,150,243,0.85);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 16px;
    margin-left: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.login-btn:hover {
    background: #1E293B;
}
.top-bar.scrolled {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: var(--hy-topbar-h);
}
.top-bar.scrolled .top-bar-inner, .top-bar.scrolled .topbar-left .logo, .top-bar.scrolled .topbar-left nav, .top-bar.scrolled .user-actions, .top-bar.scrolled .user-actions *, .top-bar.scrolled .lang-switch {
    color: #222 !important;
    text-shadow: none;
}
.top-bar.scrolled .icon-search::before, .top-bar.scrolled .icon-message::before {
    filter: invert(0) brightness(0.2);
}
.top-bar.scrolled .login-btn {
    background: #0F172A;
    color: #fff;
}
.top-bar.scrolled .login-btn:hover {
    background: #1E293B;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.icon-btn, .login-btn {
    background: none !important;
    color: inherit;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
    margin-left: 0;
}
.icon-btn:hover, .login-btn:hover {
    background: rgba(0,0,0,0.06);
    color: #0F172A;
}
.top-bar.scrolled .login-btn:hover {
    background: rgba(33,150,243,0.08);
    color: #1E293B;
}
.login-btn.is-avatar,
.login-btn.is-avatar:hover,
.top-bar.scrolled .login-btn.is-avatar,
.top-bar.scrolled .login-btn.is-avatar:hover {
    background: transparent !important;
    padding: 0 !important;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 8px;
}
.login-btn .login-btn-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.top-bar, .top-bar *:not(.dropdown-menu):not(.dropdown-menu *) {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.top-bar.scrolled, .top-bar.scrolled *:not(.dropdown-menu):not(.dropdown-menu *) {
    color: #222;
}
/* Dropdown menu color and font size */
.dropdown-menu, .dropdown-menu li {
    color: #777777;
    font-size: 14px;
}
.dropdown-menu, .dropdown-menu li a {
  text-decoration: none;
  color: #222;
}
.divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #d3d3d3;
    margin: 0 12px;
    vertical-align: middle;
}
.top-bar.scrolled .divider {
    background: #d3d3d3;
}
.nav-dot {
    width: 58px;
    height: 5px;
    vertical-align: middle;
    display: inline-block;
}
.has-dropdown > .dropdown-menu,
.has-dropdown > .dropdown-menu > .has-dropdown > .dropdown-menu {
    border-radius: 0;
}
.tab-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 48px;
    list-style: none;
    padding: 0 0 24px 0;
    height: 50px;
    margin-bottom: 20px;
}
.tab-list li {
    cursor: pointer;
    color: #777;
    font-size: 18px;
    padding: 0 8px 8px 8px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    writing-mode: initial;
    transform: none;
}
.tab-list li.active {
    color: #0F172A;
}
.tab-list li:hover {
    color: #0F172A;
}
.tab-list li a {
  text-decoration: none;
  color: #777;
}
.tab-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tab-swiper {
    width: 100%;
}
.tab-content {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    width: 100%;
}
.tab-swiper-container {
    position: relative;
    opacity: 1;
    transition: opacity 0.2s ease;
    width: 100%;
}
.tab-circle {
    width: 200px;
    height: 240px;
    font-size: 48px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}
a.tab-circle:hover {
    text-decoration: none;
    color: inherit;
}
.tab-circle img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
}
.tab-circle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-swiper .swiper-button-next.swiper-button-disabled {
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
}
.tab-circle-text {
    color: #333;
    font-size: 16px !important;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    position: relative;
    top: 110px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.tab-circle:hover .tab-circle-overlay {
    background: transparent;
}

/* tab 圆盘悬浮名片 */
.tab-circle-popover {
  position: fixed;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px;
  z-index: 2000;
  width: 180px;
  max-width: 280px;
}
.tab-popover-inner { position: relative; }
.tab-popover-title {
  font-size: 16px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 6px;
}
.tab-popover-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.tab-popover-follow {
  width: 100%;
  background: #0F172A;
  color: #fff;
  border: none;
  border-radius: 4px;
  height: 36px;
  cursor: pointer;
}
.tab-popover-follow:hover { background: #0F172A; }
.tab-popover-arrow {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #e0e0e0; /* 边框颜色 */
}
.tab-popover-arrow::after {
  content: "";
  position: absolute;
  left: -7px;
  top: -9px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff; /* 背景色 */
}
/* 资讯板块样式 */
.news-section {
  display: flex;
  gap: 32px;
  margin: 30px 0 0 0;
  width: 100%;
}
.news-main {
  flex: 2.15;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.news-main-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-main-title {
  font-size: 18px;
  color: rgba(74,74,74,1);
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
  min-height: 2.6em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-main-title:hover {
  color: #0F172A;
}
.news-main-desc {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 3.2em;
  min-height: 3.2em;
  margin-top: 12px;
  cursor: pointer;
  transition: color 0.3s;
}

.news-main-desc:hover {
  color: #0F172A;
}
.news-main-meta {
  color: #bbb;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}
.news-main-comments,
.news-side-card-comments,
.news-card-comments {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  color: #999;
  flex-shrink: 0;
  white-space: nowrap;
}
.news-side-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-side-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  overflow: hidden;
  min-height: 140px;
}
.news-side-image {
  width: 160px;
  height: 140px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.news-side-content {
  padding: 16px 18px 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 4px;
}
.news-side-title {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-side-desc {
  color: #888;
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.5;
  height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-side-meta {
  color: #bbb;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-side-comments {
  font-size: 13px;
}
.news-side-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
}
.news-side-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 0;
}
.news-side-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.news-side-card-title {
  font-size: 18px;
  color: rgba(74, 74, 74, 1);
  font-weight: 600;
  margin: 14px 0 0 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
  min-height: 2.6em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-side-card-title:hover {
  color: #0F172A;
}
.news-side-card-desc {
  color: #888;
  font-size: 12px;
  margin: 12px 0 0 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em;
  min-height: 3.2em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-side-card-desc:hover {
  color: #0F172A;
}
.news-side-card-meta {
  color: #bbb;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}
.news-side-card-comments {
  font-size: 12px;
  display: flex;
  align-items: center;
}
.news-side-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}
.news-main-comments img,
.news-side-card-comments img {
  height: 14px;
  margin-right: 3px;
  vertical-align: middle;
}
.icon-btn-img {
  height: 20px;
  width: 20px;
  display: block;
  object-fit: contain;
}
.news-img-switcher {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.news-img-switcher:active {
  cursor: pointer;
}
.news-img-switcher .news-img-list img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  color: #0F172A;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 5;
  user-select: none;
  pointer-events: auto;
}
.news-arrow-left {
  left: 0;
}
.news-arrow-right {
  right: 0;
}
.news-img-switcher:hover .news-arrow {
  opacity: 1;
  pointer-events: auto;
}
.news-img-tag {
  position: absolute;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  padding: 4px 10px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-weight: 500;
  box-sizing: border-box;
  max-width: calc(100% - 8px);
  min-height: calc(14px * 1.4 + 8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-img-tag-topleft {
  left: 0;
  top: 0;
}
.news-img-tag-topright {
  right: 0;
  top: 0;
  left: auto;
  opacity: 1;
  pointer-events: none;
  border-radius: 0 0 0 4px;
  font-size: 13px;
  padding: 3px 8px;
}
.news-img-tag-topright.is-pending {
  background: rgba(230, 162, 60, 0.92);
}
.news-img-tag-topright.is-rejected {
  background: rgba(245, 108, 108, 0.92);
}
.news-img-tag-topright.is-offshelf {
  background: rgba(144, 147, 153, 0.92);
}
.news-img-tag-topright.is-draft {
  background: rgba(64, 158, 255, 0.92);
}
.news-img-tag-topright.is-passed {
  background: rgba(103, 194, 58, 0.92);
}
.news-img-tag-bottomleft {
  left: 0;
  bottom: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.news-img-tag-bottomleft .gc-bm {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: block;
}
.news-img-switcher:hover .news-img-tag-topleft {
  opacity: 1;
  pointer-events: auto;
}
.news-img-switcher:hover .news-img-tag-bottomleft {
  opacity: 1;
  pointer-events: auto;
}
.news-img-switcher:hover .news-img-tag {
  opacity: 1;
}
.news-img-tag-bottomleft.is-favorited {
  color: #f5a623;
  font-weight: 600;
}
.news-img-tag-bottomleft.is-favorited .gc-bm {
  color: #f5a623;
}

/* 后台管理系统 iframe 嵌入个人中心：隐藏前台头尾与侧栏，只保留主内容 */
body.is-admin-embed > header,
body.is-admin-embed > footer,
body.is-admin-embed .detail-banner,
body.is-admin-embed .hero-carousel-divider,
body.is-admin-embed .sidebar-tabs-menu,
body.is-admin-embed aside.sidebar,
body.is-admin-embed .sidebar,
body.is-admin-embed .designer-profile-box {
  display: none !important;
}
body.is-admin-embed {
  background: #fff;
}
body.is-admin-embed main,
body.is-admin-embed .content.user-publish-content,
body.is-admin-embed .user-publish-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  box-sizing: border-box;
}
body.is-admin-embed .main-list {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto;
}
body.is-admin-embed .user-publish-content {
  display: block !important;
}
/* 封面链接若设了 line-height:0（消图片缝），标签需单独恢复行高 */
.news-img-switcher .news-img-tag,
a .news-img-switcher .news-img-tag,
.case-side-cover .news-img-tag,
.video-side-cover .news-img-tag,
.mall-side-cover .news-img-tag {
  line-height: 1.4;
}

/* 操作按钮样式 */
.news-action-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.news-img-switcher:hover .news-action-buttons {
  opacity: 1;
  pointer-events: auto;
}
.news-action-buttons .news-action-btn {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 12;
}

.news-action-btn {
  background: #0F172A;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  min-width: 80px;
}
.news-img-list {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.news-img-list img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
}
.news-arrow-img {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.news-cards-section {
  width: 100%;
}
.news-cards-list {
  display: flex;
  gap: 31px;
  justify-content: space-between;
}
.news-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 24px 0;
  box-sizing: border-box;
  overflow: hidden;
}
.news-card > a {
  display: block;
  width: 100%;
  min-width: 0;
}
.news-card .news-img-switcher {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.news-card .news-img-list {
  width: 100%;
  height: 100%;
}
.news-card-img,
.news-card .news-img-list img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0;
  display: block;
}
.news-card-title {
  font-size: 18px;
  color: rgba(74, 74, 74, 1);
  font-weight: 600;
  margin: 14px 0 0 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
  min-height: 2.6em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-card-title:hover {
  color: #0F172A;
}
.news-card-desc {
  color: #888;
  font-size: 12px;
  margin: 12px 0 0 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.9em;
  min-height: 2.9em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-card-desc:hover {
  color: #0F172A;
}
.news-card-meta {
  color: #bbb;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
}
.news-card-comments img {
  height: 14px;
  width: 14px;
  vertical-align: middle;
  margin-right: 3px;
}
.news-card-divider {
  width: 100%;
  height: 1px;
  background: #e8e8e8;
  margin: 10px 0 0 0;
  border: none;
}
.custom-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}
.custom-modal-content {
  background: #fff;
  padding: 32px 24px 24px 24px;
  min-width: 300px;
  min-height: 120px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.custom-modal-close {
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 42px;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  cursor: pointer;
  z-index: 2;
}
.custom-modal-close:hover {
  color: #0F172A;
}
.search-modal-content {
  width: 1342px;
  padding: 48px;
}
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.search-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-modal-icon img {
  height: 40px;
  width: 40px;
  display: block;
  object-fit: contain;
}
.search-modal-input {
  flex: 1;
  font-size: 36px;
  border: none;
  outline: none;
  background: transparent;
  color: #222;
  font-family: inherit;
}
.search-modal-input::placeholder {
  color: #757575;
  font-size: 36px;
}
.search-modal-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0 0 36px 0;
}
.search-modal-tags-box {
  padding: 36px 32px 32px 32px;
  border: 1px solid #eee;
}
.search-modal-tags-title {
  color: #9e9ea6;
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 500;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 20px;
}
.search-modal-tags-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}
.search-modal-tags-label {
  color: #222;
  font-size: 16px;
  min-width: 60px;
  font-weight: 500;
  margin-right: 18px;
  text-align: right;
}
.search-modal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.search-modal-tag {
  display: inline-block;
  color: #9e9ea6;
  font-size: 16px;
  border-radius: 18px;
  padding: 0 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1px solid #eee;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.search-modal-tag:hover {
  background: #e3e8ee;
  color: #0F172A;
}
.login-modal-content {
  max-width: 200px;
  padding: 32px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -140px;
}
.login-modal-title {
  font-size: 18px;
  color: #444;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.login-modal-logo {
  text-align: center;
}

.login-modal-slogan {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 4px;
}
.login-modal-input {
  width: 100%;
  font-size: 16px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  color: #444;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.login-modal-input::placeholder {
  color: #bbb;
  font-size: 16px;
}
.login-modal-btn {
  width: 100%;
  background: #0F172A;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 2px;
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.2s;
  margin: 10px 0;
}
.login-modal-btn:hover {
  background: #0F172A;
}
.login-modal-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 20px;
}
.login-modal-forgot {
  color: #444;
  cursor: pointer;
}
.login-modal-forgot:hover {
  color: #0F172A;
}
.login-modal-register {
  color: #0F172A;
  cursor: pointer;
}
.login-modal-divider-box {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0 0 10px 0;
}
.login-modal-divider {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}
.login-modal-divider-text {
  color: #888;
  font-size: 16px;
  white-space: nowrap;
  margin: 0 10px;
}
.login-modal-wechat {
  width: 100%;
  display: flex;
  justify-content: center;
}
.login-modal-wechat img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  object-fit: contain;
  margin: 0 10px;
}

/* 注册弹窗样式 */
.register-modal-content {
  min-width: 260px;
  padding: 32px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -140px;
}

.register-modal-title {
  font-size: 18px;
  color: #444;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.register-modal-input {
  width: 100%;
  font-size: 16px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  color: #444;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.register-modal-input::placeholder {
  color: #bbb;
  font-size: 16px;
}

.register-modal-btn {
  width: 100%;
  background: #0F172A;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 2px;
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.2s;
  margin: 10px 0;
}

.register-modal-btn:hover {
  background: #0F172A;
}

.register-modal-divider-box {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 20px 0 10px 0;
}

.register-modal-divider {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.register-modal-divider-text {
  color: #888;
  font-size: 16px;
  white-space: nowrap;
  margin: 0 10px;
}

.register-modal-wechat {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.register-modal-wechat img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  object-fit: contain;
  margin: 0 10px;
}

.register-modal-login-link {
  text-align: center;
  margin-top: 10px;
}

.register-modal-login-link span {
  color: #0F172A;
  cursor: pointer;
  font-size: 14px;
}

.register-modal-login-link span:hover {
  text-decoration: underline;
}

/* 完整注册弹窗样式 */
#fullRegisterModalContent {
  min-width: 260px;
  padding: 32px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -140px;
}
.hero-carousel .swiper-button-prev,
.hero-carousel .swiper-button-next {
  color: #fff !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background 0.2s;
}
.hero-carousel .swiper-button-prev:hover,
.hero-carousel .swiper-button-next:hover {
  color: #fff !important;
}
.tab-swiper-container .swiper-button-prev,
.tab-swiper-container .swiper-button-next {
  color: #fff !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  margin-top: -35px;
}
.tab-swiper-container .swiper-button-prev:hover,
.tab-swiper-container .swiper-button-next:hover {
  color: #fff !important;
}
.tab-swiper-container .swiper-button-prev:after,
.tab-swiper-container .swiper-button-next:after {
  font-size: 30px;
}
/* 箭头始终可点：勿用 pointer-events:none，否则移到按钮上会丢 hover、点了没反应 */
.hero-carousel .swiper-button-prev,
.hero-carousel .swiper-button-next {
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.2s;
  z-index: 6;
}
.hero-carousel:hover .swiper-button-prev,
.hero-carousel:hover .swiper-button-next {
  opacity: 1;
}
.tab-swiper-container .swiper-button-prev,
.tab-swiper-container .swiper-button-next {
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.2s;
  z-index: 6;
}
.tab-swiper-container:hover .swiper-button-prev,
.tab-swiper-container:hover .swiper-button-next {
  opacity: 1;
}
.footer-top {
  background-color: #101833;
  background-size: cover;
  position: relative;
  padding: 40px 0;
}
.footer-top-inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 40px;
}
.footer-logo-col {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 40px;
}
.footer-subtitle {
  font-size: 16px;
  color: #fff;
}
.footer-links-col {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.footer-links-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 8px;
}
.footer-links-row a {
  color: #cbcbcb;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.92;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links-row a:hover {
  color: #ffffff;
  opacity: 1;
}
.footer-social-col {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 40px;
}
.footer-social-title {
  color: #fff;
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-social-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s, box-shadow 0.2s;
}
.footer-social-icon img {
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  transition: filter 0.2s;
}
/* 悬停、按下：圆底变白，图标形状反色，避免整块变成白圆 */
.footer-social-icon:hover,
.footer-social-icon:active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,96,138,0.18);
}
.footer-social-icon:hover img,
.footer-social-icon:active img {
  filter: invert(1);
}
.footer-social-qr-layer { display: none; }
.footer-social-qr-layer.is-open { display: block; }
.footer-social-qr-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 4000;
}
.footer-social-qr-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4001;
  background: #fff;
  padding: 28px 28px 20px;
  border-radius: 8px;
  text-align: center;
  min-width: 240px;
}
.footer-social-qr-close {
  position: absolute;
  right: 10px;
  top: 6px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.footer-social-qr-name {
  margin-bottom: 12px;
  font-size: 16px;
  color: #222;
}
.footer-social-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.footer-bottom {
  background: #101833;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 18px 0 12px 0;
  letter-spacing: 1px;
  border-top: 1px solid #fff;
}
.cooperation-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0 28px 0;
}
.cooperation-title {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin: 0 18px;
  letter-spacing: 1px;
}
.cooperation-title-line {
  flex: 1 1 0;
  height: 1px;
  background: #e0e0e0;
  min-width: 32px;
}
.cooperation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cooperation-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #444;
  margin-bottom: 28px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s;
}

.cooperation-list li a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.cooperation-list li:hover,
.cooperation-list li:hover a {
  color: #0F172A;
}
.cooperation-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #0F172A;
  margin-right: 8px;
  flex-shrink: 0;
}
.latest-projects {
  border: 1px solid #e0e0e0;
  padding: 25px;
  margin-top: 24px;
}
.latest-projects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.latest-projects-title {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  min-width: 0;
  flex: 1;
}
.latest-projects-more {
  color: #999;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: 12px;
}
.latest-projects-arrow {
  font-size: 14px;
  font-weight: 400;
  margin-left: 2px;
  margin-bottom: 2px;
}
.latest-projects-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.latest-project-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 32px;
}
.latest-project-img-box {
  position: relative;
  width: 115px;
  height: 115px;
  flex-shrink: 0;
  margin-right: 10px;
  overflow: hidden;
}
.latest-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-project-img-label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 110px;
  background: rgba(0,0,0,0.38);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 0 5px 0 0;
  text-align: right;
}
.latest-project-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 115px;
}
.latest-project-title {
  font-size: 14px;
  color: #444;
  font-weight: 500;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  line-height: 1.5;
  max-height: none;
  cursor: pointer;
  transition: color 0.3s;
}

.latest-project-title:hover {
  color: #0F172A;
}
.latest-project-date {
  font-size: 12px;
  color: #b0b0b0;
  font-weight: 400;
  margin-top: auto;
}
.company-section {
  border: 1px solid #e0e0e0;
  padding: 25px;
  margin-top: 24px;
  font-size: 14px;
}
.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 14px;
}
.company-title {
  font-size: 18px;
  font-weight: 600;
  color: #444;
}
.company-more {
  color: #999;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2px;
}
.company-arrow {
  font-size: 14px;
  font-weight: 400;
  margin-left: 2px;
  margin-bottom: 2px;
}
.company-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 25px;
  font-size: 14px;
}
.company-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
  min-width: 0;
  width: 100%;
}
.company-img-box {
  position: relative;
  width: 118px;
  height: 118px;
  margin-bottom: 10px;
  overflow: hidden;
}
.company-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.company-img-label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 113px;
  background: rgba(0,0,0,0.38);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 0 5px 0 0;
  text-align: right;
}
.company-card-title {
  font-size: 14px;
  color: #444;
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  cursor: pointer;
  transition: color 0.3s;
}
.company-card-title:hover {
  color: #0F172A;
}
.job-section {
  font-size: 14px;
}
.job-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 10px 0;
}
.job-title {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin: 0 18px;
  letter-spacing: 1px;
}
.job-title-line {
  flex: 1 1 0;
  height: 1px;
  background: #e0e0e0;
  min-width: 32px;
}
.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 0 10px 0;
  margin: 0;
}
.job-company {
  font-size: 16px;
  font-weight: 600;
  color: #444;
}
.job-meta {
  font-size: 14px;
  color: #b0b0b0;
  margin-bottom: 8px;
}
.job-location {
  font-size: 12px;
  color: #b0b0b0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.job-location-icon {
  display: flex;
  align-items: center;
}
.job-location-icon img {
  width: 13px;
  height: 13px;
  display: inline-block;
}
.news-horizontal-list {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: flex-start;
}
.news-horizontal-card {
  overflow: hidden;
  width: 48%;
  min-width: 420px;
  display: flex;
  flex-direction: column;
}
.news-horizontal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.news-horizontal-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-horizontal-title {
  font-size: 16px;
  color: #222;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
  min-height: 2.6em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-horizontal-title:hover {
  color: #0F172A;
}
.news-horizontal-desc {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.9em;
  min-height: 2.9em;
  cursor: pointer;
  transition: color 0.3s;
}

.news-horizontal-desc:hover {
  color: #0F172A;
}
.news-horizontal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #b0b0b0;
  font-size: 12px;
  margin-top: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.news-horizontal-comments {
  display: flex;
  align-items: center;
}
.news-horizontal-comments img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
.tab-swiper-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 48px;
  list-style: none;
  padding: 20px 0 24px 0;
}
.tab-swiper-list li {
  cursor: pointer;
  color: #777;
  font-size: 18px;
  padding: 0 8px 8px 8px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  writing-mode: initial;
  transform: none;
}
.tab-swiper-list li.active {
  color: #0F172A;
}
.tab-swiper-list li:hover {
  color: #0F172A;
}
.tab-list .tab-more-arrow,
.tab-swiper-list .tab-more-arrow {
  display: inline-block;
  margin-left: 2px;
  font-weight: 400;
  line-height: 1;
}
.company-horizontal-section {
  margin: 30px 0 0 0;
  width: 100%;
}
.company-horizontal-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.company-horizontal-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  overflow: hidden;
  padding: 0;
  /* 列表折叠设了 max-height 时，默认 flex-shrink:1 会把卡片压成一条 */
  flex-shrink: 0;
  min-height: 180px;
  width: 100%;
  box-sizing: border-box;
}
.company-horizontal-card:last-child {
  margin-bottom: 20px;
}
.company-horizontal-img {
  width: 320px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
/* img 是空元素，永远匹配 :empty；高度必须钉死，避免被其它规则压成一条 */
img.company-horizontal-img {
  width: 320px !important;
  height: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}
/* 仅占位 div */
div.company-horizontal-img:empty {
  height: auto;
  max-height: 180px;
  background: none;
}
.company-horizontal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 30px;
}
.company-horizontal-title {
  font-size: 20px;
  color: rgba(74, 74, 74, 1);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
  min-height: 2.6em;
  cursor: pointer;
  transition: color 0.3s;
}

.company-horizontal-title:hover {
  color: #0F172A;
}
.company-horizontal-desc {
  font-size: 12px;
  color: rgba(155, 155, 155, 1);
  margin-bottom: 10px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.3s;
}

.company-horizontal-desc:hover {
  color: #0F172A;
}
.company-horizontal-tags {
  margin-bottom: 10px;
}
.company-horizontal-tags span {
  display: inline-block;
  color: #0F172A;
  font-size: 12px;
  margin-right: 10px;
}
.company-horizontal-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #888;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 0;
}
.company-horizontal-developer,
.company-horizontal-designer {
  color: #888;
  font-size: 16px;
  display: block;
}
.company-horizontal-meta .company-horizontal-developer + .company-horizontal-designer {
  margin-left: 0;
  margin-top: 10px;
}
.company-horizontal-meta.developer-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 10px;
}
.company-horizontal-comments {
  display: flex;
  align-items: center;
  color: #bbb;
  font-size: 16px;
  margin-left: auto;
}
.company-horizontal-comments img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.company-horizontal-date {
  color: #bbb;
  font-size: 12px;
}
.company-horizontal-company {
  color: #888;
  font-size: 12px;
}
.company-horizontal-comments {
  display: flex;
  align-items: center;
  color: #bbb;
  font-size: 12px;
}
.company-horizontal-comments img {
  width: 12px;
  height: 12px;
  margin-right: 2px;
}
.company-horizontal-developer,
.company-horizontal-designer {
  color: #888;
  font-size: 14px;
}
.company-horizontal-divider {
  border: none;
  border-top: 1.5px solid #eee;
  margin: 20px 0;
}
.tab-swiper-section {
  border-top: 1px solid #4f4f4f;
  border-bottom: 1px solid #4f4f4f;
  padding: 0 0 30px 0;
}
.main-more-btn-box {
  width: 100%;
  display: flex;
  justify-content: center;
}
.main-more-btn {
  width: 100%;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  overflow: visible;
}
.main-more-caret {
  display: inline-block;
  color: #0F172A;
  margin-left: 4px;
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}
.main-more-caret:empty::before {
  content: '▼';
}
.main-more-btn.is-expanded .main-more-caret:empty::before,
.main-more-caret.is-up:empty::before {
  content: '▲';
}
/* 收起：向下箭头图旋转为向上；文字角标▲不再旋转 */
.main-more-btn.is-expanded .main-more-btn-arrow,
.main-more-btn.is-expanded > img {
  transform: rotate(180deg);
}
.main-more-btn-arrow {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 2px;
  margin-bottom: 2px;
}
/* 图集展开按钮：与案例档案「展开」通栏样式一致 */
.case-gallery-toggle-box {
  display: none;
  width: 100%;
  margin: 8px 0 28px;
}
.case-gallery-toggle-box.is-visible {
  display: block;
}
.case-gallery-toggle-btn {
  width: 100%;
  min-width: 0;
  height: auto;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 14px;
  padding: 10px 0;
  transition: background 0.2s, color 0.2s;
}
.case-gallery-toggle-btn:hover {
  background: #f7f7f7;
  color: #222;
}
.case-gallery-toggle-btn img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 2px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}
.case-gallery-toggle-btn.is-expanded img {
  transform: rotate(180deg);
}
.hero-carousel-divider {
  width: 100%;
  height: 1px;
  background: #222;
  margin: 10px 0 0 0;
}
/* 详情顶图下方不需要这条黑线 */
.detail-banner + .hero-carousel-divider {
  display: none;
}
/*右边滚动（与案例详情一致：缩略图 宽满栏、高 133px）*/
.jq22 { width: 100%; height: 1150px;margin-bottom: 10px;}
.jq22 ul { margin: 0; padding: 0; list-style: none; }
.jq22 ul li {height: 133px;margin-bottom: 10px;overflow: hidden;}
.jq22 ul li:last-child {margin-bottom: 10px;}
.jq22 a { color: #333; text-decoration: none;position: relative;display: block;height: 133px;overflow: hidden;}
.jq22 img { width: 100%; height: 133px; object-fit: cover; display: block; }
.jq22 .jq-text {position: absolute;bottom: 0;left:0;z-index: 8;color: #fff;font-size: 11px;text-align: left;width: 95%;background: rgba(0,0,0,.4);padding: 
  5px 10px;box-sizing: border-box;}
.jq22 .jq-text .jq-text-big {
    font-size: 12px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
  }
.jq22 .related-empty-text .jq-text-big {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.product-gallery .jq22 .str_move_clone,
.jq22.related-seamless .str_move_clone {
    display: none !important;
}
.jq22.related-seamless {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.jq22.related-seamless.is-grabbing,
.jq22.related-seamless.is-grabbing a {
    cursor: grabbing !important;
}
/* 首页右侧投广：外框占位与 .jq22 一致，单条广告仍是 133px */
.home-sidebar-ads {
    height: 1150px;
    min-height: 1150px;
    max-height: 1150px;
    overflow: hidden;
}
.home-sidebar-ads.is-scrolling {
    height: 1150px;
    max-height: 1150px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.home-sidebar-ads.is-scrolling.is-grabbing,
.home-sidebar-ads.is-scrolling.is-grabbing a {
    cursor: grabbing !important;
}
.home-sidebar-ads a,
.home-sidebar-ads .str_move,
.home-sidebar-ads .str_move a {
    cursor: grab !important;
    pointer-events: auto;
}
.home-sidebar-ads .jq-mask {
    position: absolute;
    inset: 0;
    z-index: 7;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.home-sidebar-ads a:hover .jq-mask {
    opacity: 0;
}
.home-sidebar-ads .jq-text {
    width: 100%;
    pointer-events: none;
    background: none;
    z-index: 8;
}
.jq22.home-sidebar-ads .jq-text .jq-text-big {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    max-height: none;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    text-align: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}
.jq22.home-sidebar-ads .jq-text .jq-text-big p {
    margin: 0;
}
.jq22 a:hover { text-decoration: underline;}
/* 会员管理界面样式 */
.membership-management-section {
  background: #fff;
  padding: 24px;
  margin-bottom: 24px;
}

.membership-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 16px;
}

.membership-tab {
  padding: 12px 0;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  margin-right: 40px;
}

.membership-tab.active {
  color: #0F172A;
  font-weight: 700;
  border-bottom-color: #0F172A;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.membership-content {
  margin-top: 24px;
}

.membership-tab-content {
  display: none;
}

.membership-tab-content.active {
  display: block;
}

.membership-controls {
  display: flex;
  align-items: center;
}

.toggle-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.toggle-switch {
  width: 120px;
  height: 32px;
  background-color: #0F172A;
  color: #fff;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.toggle-container.off .toggle-switch {
  background-color: #ccc;
}

.toggle-text {
  font-size: 14px;
  font-weight: 500;
  z-index: 1;
  position: absolute;
  left: 12px;
  transition: left 0.3s ease;
}

.toggle-container.off .toggle-text {
  left: 58px;
}

.toggle-slider {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  right: 4px;
  transition: right 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.toggle-container.off .toggle-slider {
  right: 114px;
}


.filter-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.membership-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.membership-card {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  gap: 44px;
  padding-bottom: 20px;
}

.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.vip-box {
  min-height: 120px;
  border: 2px solid #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 12px;
  gap: 10px;
}

.vip-text {
  font-size: 24px;
  font-weight: bold;
  color: #666;
}

.card-buttons {
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 100%;
  flex-wrap: wrap;
}

.card-btn {
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 11px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  min-width: 0;
}

.card-btn:hover {
  background: #e8e8e8;
  color: #333;
}

.card-right {
  flex: 1;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.card-section {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.section-content {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.section-note {
  font-size: 12px;
  color: #999;
}

.package-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.package-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.package-option input[type="radio"] {
  margin: 0;
}

.create-membership-card {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s;
}

.create-membership-card:hover {
  border-color: #0F172A;
  background: #f5f5f5;
}

.create-content {
  text-align: center;
}

.create-icon {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 12px;
}

.create-text {
  font-size: 16px;
  color: #666;
}

/* case页面顶部导航黑色 */
.case-page .top-bar, .case-page .top-bar *:not(.dropdown-menu):not(.dropdown-menu *) {
  color: #222 !important;
}
.case-page .top-bar {
  background: #fff !important;
  box-shadow: none !important;
  border-bottom: 1px solid #eee;
  /* 高度跟随 --hy-topbar-h，上滑可缩小 */
  height: var(--hy-topbar-h);
  padding-bottom: 0;
}
/* case页面始终显示深色 logo1.png（白底顶栏），尺寸随滚动变量变化 */
.case-page .top-bar .logo img {
  padding-top: 0;
  height: var(--hy-logo-h);
  content: url('../images/logo1.png');
}
.case-page .top-bar.scrolled .logo img {
  height: var(--hy-logo-h);
}
.case-page .top-bar .user-actions .icon-btn img {
  content: url('../images/search.png');
}
.case-page .top-bar.scrolled .user-actions .icon-btn img {
  content: url('../images/search.png');
}
.case-page .top-bar.scrolled {
  height: var(--hy-topbar-h);
  padding-bottom: 0;
}

/* case页面轮播区样式 */
.case-carousel-section {
  width: 100%;
  max-width: 1600px;
}
.case-swiper {
  width: 100%;
  height: 320px;
  position: relative;
}
.case-swiper .swiper-slide {
  display: block;
  height: 320px;
  overflow: hidden;
}
.case-swiper .swiper-slide > a {
  display: block;
  width: 100%;
  height: 100%;
}
.carousel-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 18px 28px 14px 28px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.carousel-img-box:hover .carousel-caption {
  opacity: 1;
  pointer-events: auto;
}
.carousel-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.carousel-subtitle {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.92;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.case-swiper-arrow {
  opacity: 0;
  transition: opacity 0.2s;
}
.case-carousel-section:hover .case-swiper-arrow {
  opacity: 1;
}
.case-swiper .swiper-button-prev,
.case-swiper .swiper-button-next {
  color: #fff;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
}
.case-swiper .swiper-button-prev {
  left: 0;
}
.case-swiper .swiper-button-next {
  right: 0;
}
.case-swiper .swiper-button-prev:after,
.case-swiper .swiper-button-next:after {
  font-size: 32px;
}

/* 搜索板块样式 */
.search-section {
  width: 100%;
  max-width: 1600px;
  margin: 20px auto;
}

.search-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid #c8c8c8;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.3s;
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
  border-bottom: 2px solid #0F172A;
  box-shadow: none;
}

.search-icon {
  width: 32px;
  height: 32px;
  margin-right: 18px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 32px;
  color: #666;
  background: transparent;
  padding: 0;
  font-family: inherit;
}

.search-input::placeholder {
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}
.search-input:focus::placeholder {
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.6;
}
/* 案例筛选与视图切换区样式 */
.case-filter-section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 0 0 0;
}
.case-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.case-filter-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.case-filter-btn {
  border: 1px solid #bdbdbd;
  background: #fff;
  color: #444;
  font-size: 14px;
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

#all-cases-btn {
  position: relative;
}
.case-filter-btn:hover,
.case-filter-btn:focus {
  border-color: #0F172A;
  color: #0F172A;
  background: #fff;
  font-weight: 600;
}
.case-filter-btn.active {
  border-color: #0F172A;
  color: #0F172A;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.form-dynamic-row .af-content-wrap {
  position: relative;
  flex: 1;
}
.form-dynamic-row .af-content-wrap .form-input {
  width: 486px;
  max-width: 100%;
  padding-right: 72px;
  box-sizing: border-box;
}
.form-dynamic-row .af-link-btn {
  pointer-events: auto;
  right: 40px;
}
.form-dynamic-row .input-clear-btn.af-clear-content {
  left: auto;
  right: 12px;
}
/* 档案前半段：清除在输入框最右 */
.form-dynamic-row > .input-clear-wrapper:first-child > .form-input {
  padding-left: 12px !important;
  padding-right: 36px !important;
  box-sizing: border-box;
}
.form-dynamic-row > .input-clear-wrapper:first-child > .input-clear-btn {
  left: auto !important;
  right: 12px !important;
}
/* 档案后半段：链接在左，清除在最右 */
.form-dynamic-row .input-clear-wrapper:not(:first-child) .input-clear-btn {
  left: auto !important;
  right: 12px !important;
}
.form-dynamic-row .input-clear-wrapper:not(:first-child):has(.input-clear-btn) .form-input {
  padding-right: 72px !important;
  box-sizing: border-box;
}
.form-dynamic-row .input-clear-wrapper:not(:first-child):has(.input-clear-btn) img[alt*="链接"],
.form-dynamic-row .input-clear-wrapper:not(:first-child):has(.input-clear-btn) .archive-link-btn,
.form-dynamic-row .af-content-wrap:has(.af-clear-content) .af-link-btn {
  right: 40px !important;
  left: auto !important;
}
.case-filter-btn-add {
  font-size: 14px;
  font-weight: 500;
}
.case-filter-view-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.view-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.2s;
}
.view-btn svg {
  display: block;
}
.view-btn.active svg rect {
  fill: #0F172A !important;
}
.view-btn:not(.active) svg rect {
  fill: #BDBDBD !important;
}

/* 资讯列表视图样式 */
.news-list-section {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 32px 0;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.news-list-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.news-list-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-list-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
  line-height: 1.3;
}
.news-list-desc {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}
.news-list-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #aaa;
  font-size: 13px;
}
.news-list-comments img {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}

.click-btn {border: 1px solid #acacac;display: flex;align-items: center; justify-content: center;width: 50%; margin: 0 auto;padding: 8px 0;font-size: 16px;color:#666;text-decoration: none;}
.click-btn img {width: 13px;height: 13px;margin-right: 4px;}

/* 投稿页面表单、富文本、上传区样式（#35：直角 + 主题色） */
body.case-page {
  background: var(--hy-bg);
  color: var(--hy-text);
}
.submit-case-main {
  max-width: 1342px;
  margin: 0 auto;
  background: var(--hy-bg);
  padding: 40px 0;
  border: 1px solid var(--hy-border);
  justify-content: flex-start;
  border-radius: 0;
}
.submit-case-form {display: flex; flex-direction: column; gap: 20px;width: 70%;}
.form-row {display: flex; align-items: flex-start; gap: 24px; margin-bottom: 0;}
.form-label {width: 120px; font-size: 14px; color: var(--hy-text); text-align: right; padding-top: 11px; flex-shrink: 0;}
.form-input, .form-editor-box, .form-upload-box {
  flex: 2.5;
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--hy-border);
  padding: 14px 10px;
  background: var(--hy-bg);
  color: var(--hy-text);
}
.form-input::placeholder {font-size: 14px; color: var(--hy-muted);}
.form-input:focus {border-color: var(--hy-accent); background: var(--hy-bg); outline: none;}
.form-editor-box {flex: 1;padding: 0;border: 0;}
.editor-toolbar {margin-bottom: 0;}
.ql-toolbar.ql-snow {border-radius: 0; border-color: var(--hy-border);}
.ql-container.ql-snow {border-radius: 0; min-height: 180px; border-color: var(--hy-border);}
.form-upload-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 0;
}
.upload-btn {
  width: 120px;
  height: 120px;
  background: var(--hy-bg);
  border: 1.5px dashed var(--hy-border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--hy-muted);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  position: relative;
}
.form-upload-box.is-single-full > .upload-btn { display: none; }
.upload-btn:hover {border-color: var(--hy-accent); color: var(--hy-accent);}
.upload-plus {font-size: 38px; line-height: 1; margin-bottom: 4px;}
.upload-preview {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 0;
  overflow: hidden;
  background: var(--hy-bg);
  border: 1px solid var(--hy-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-preview img {max-width: 100%; max-height: 100%; display: block;}
.upload-preview-file {width: 160px; height: 120px; padding: 10px 12px; box-sizing: border-box;}
.upload-file-meta {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; text-align: center;}
.upload-file-icon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hy-accent);
  background: #F3F7FA;
  border: 1px solid var(--hy-border);
  border-radius: 0;
  padding: 4px 8px;
  line-height: 1;
}
.upload-file-name {font-size: 12px; color: var(--hy-text); line-height: 1.3; word-break: break-all; max-height: 2.6em; overflow: hidden;}
.upload-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  border: none;
  border-radius: 0;
  width: 22px;
  height: 22px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-preview .upload-index {
  position: absolute;
  left: 6px;
  bottom: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 0;
  background: rgba(15, 23, 42, .55);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

/* 投稿多图图库：一行 7 个 + 拖拽 + 收起 */
.upload-gallery-wrap {
  width: 100%;
  position: relative;
  z-index: 0;
}
/* 提示悬停时抬高图库容器，避免气泡被下一行分类/输入框盖住 */
.upload-gallery-wrap:has(.question-tooltip-wrapper:hover) {
  z-index: 90;
}
.form-upload-box.upload-gallery {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
}
.form-upload-box.upload-gallery .upload-preview,
.form-upload-box.upload-gallery .upload-btn {
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0;
  box-sizing: border-box;
}
.form-upload-box.upload-gallery .upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  max-height: none;
  pointer-events: none; /* 避免拖拽/点击被 img 抢走，删除按钮仍可点 */
}
.form-upload-box.upload-gallery .upload-remove {
  pointer-events: auto;
  z-index: 2;
}
.form-upload-box.upload-gallery .upload-index {
  pointer-events: none;
  z-index: 1;
}
.form-upload-box.upload-gallery .upload-preview.is-cover .upload-index {
  min-width: 32px;
  background: rgba(15, 23, 42, .75);
}
.form-upload-box.upload-gallery .upload-preview.is-dragging {
  opacity: 0.45;
  pointer-events: none;
}
.form-upload-box.upload-gallery .upload-preview.drag-over {
  outline: 2px solid #0F172A;
}
.form-upload-box.upload-gallery .upload-preview.upload-gallery-hidden,
.form-upload-box.upload-gallery .upload-btn.upload-gallery-hidden {
  /* 兼容旧 class：不再用 display:none，避免保存漏图 */
  display: block !important;
}
.upload-gallery-wrap.is-collapsed .form-upload-box.upload-gallery {
  /* 高度由 JS 按首行实测写入 max-height */
}
.form-upload-box.upload-gallery .upload-preview {
  cursor: grab;
}
.form-upload-box.upload-gallery .upload-preview:active {
  cursor: grabbing;
}
.upload-gallery-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 0;
  border: 1px solid var(--hy-border);
  background: var(--hy-bg);
  color: var(--hy-muted);
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  border-radius: 0;
}
.upload-gallery-toggle:hover {
  color: var(--hy-accent);
  border-color: var(--hy-accent);
}
.upload-gallery-caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-135deg);
  margin-top: 3px;
  flex-shrink: 0;
}
.upload-gallery-caret.is-down {
  transform: rotate(45deg);
  margin-top: -2px;
}

/* 投稿页面banner图和文字样式 */
.submit-case-banner {width: 100%; margin-bottom: 40px;margin-top: var(--hy-topbar-h);}
.submit-case-banner-img-box {position: relative; width: 100%; height: 220px; overflow: hidden;}
.submit-case-banner-img {width: 100%; height: 100%; object-fit: cover; display: block;}
.submit-case-banner-text {position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 4px;}

textarea {resize: vertical;}

.w-e-text-placeholder {
  white-space: pre-line !important;
  color: #bbb !important;
  font-size: 16px !important;
  left: 12px !important;
  top: 12px !important;
  line-height: 1.75 !important;
  text-align: left !important;
  pointer-events: none;
}

/* 富文本编辑器左右分栏布局样式 */
.form-editor-row {
  display: flex;
  gap: 24px;
}
.form-editor-left {
  flex: 1;
}
.form-editor-right {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.editor-content {
  min-height: 200px;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background: #fff;
}
.editor-toolbar .w-e-toolbar {
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: row !important;
  align-items: center;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon-wrapper .form-input {
  padding-right: 42px;
  box-sizing: border-box;
}
.input-link-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 1;
}
.form-radio {
  display:flex;
  align-items:center;
  flex-wrap: wrap;
  gap:24px;
  margin-top: 10px;
}
.form-radio label {
  display:inline-flex;
  align-items:center;
  font-size: 14px;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.form-row input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #0F172A;
  margin-right: 6px;
}
.form-checkbox {
  font-size:14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  white-space: normal;
  writing-mode: horizontal-tb;
  line-height: 1.6;
  max-width: 100%;
}
.form-checkbox a {
  color: #0F172A;
  text-decoration: none;
}
.form-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0F172A;
  margin-right: 6px;
}

.btn {
  font-size: 16px;
  border-radius: 0;
  padding: 12px 0;
  min-width: 170px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-sizing: border-box;
}
.btn-primary {
  background: var(--hy-accent);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: var(--hy-accent-hover);
}
.btn-secondary {
  background: var(--hy-bg);
  color: var(--hy-accent);
  border: 1px solid var(--hy-accent);
}
.btn-secondary:hover {
  background: #F3F7FA;
  color: var(--hy-accent-hover);
  border-color: var(--hy-accent-hover);
}

/* #35 上传/投稿界面：直角 + 主题色覆盖内联圆角 */
.submit-case-main .form-input,
.submit-case-main .form-editor-box,
.submit-case-main .form-upload-box,
.submit-case-main .upload-btn,
.submit-case-main .upload-preview,
.submit-case-main .upload-file-icon,
.submit-case-main .upload-gallery-toggle,
.submit-case-main .editor-content,
.submit-case-main .btn,
.submit-case-main .category-picker,
.submit-case-main .w-e-toolbar,
.submit-case-main .w-e-text-container,
.submit-case-main .w-e-scroll,
.submit-case-main .ql-toolbar.ql-snow,
.submit-case-main .ql-container.ql-snow,
.submit-case-main select,
.submit-case-main textarea,
.submit-case-main input[type="text"],
.submit-case-main input[type="number"],
.submit-case-main input[type="url"],
.submit-case-main input[type="email"],
.category-picker-panel {
  border-radius: 0 !important;
}
.submit-case-main .form-input,
.submit-case-main .category-picker,
.submit-case-main select,
.submit-case-main textarea,
.submit-case-main input[type="text"],
.submit-case-main input[type="number"],
.submit-case-main input[type="url"],
.submit-case-main input[type="email"],
.submit-case-main .w-e-toolbar,
.submit-case-main .w-e-text-container {
  border-color: var(--hy-border) !important;
}
.submit-case-main a {
  color: var(--hy-accent);
}
.submit-case-main .form-tip,
.submit-case-main .gallery-tip,
.submit-case-main .upload-tip,
.submit-case-main .hint,
.submit-case-main .form-hint {
  color: var(--hy-muted);
}
/* 前台投稿富文本：默认正文字号 16px；空行/段距与详情页一致 */
.w-e-text-container [data-slate-editor] {
  font-size: 16px;
  line-height: 1.75;
}
.w-e-text-container [data-slate-editor] p {
  font-size: 16px;
  margin: 0 0 12px;
  min-height: 1.75em;
  line-height: 1.75;
}
.w-e-text-container [data-slate-editor] p:last-child {
  margin-bottom: 0;
}
.submit-case-main [style*="border-radius"],
.submit-case-form [style*="border-radius"] {
  border-radius: 0 !important;
}
.submit-case-main .upload-remove,
.submit-case-main .ad-clear-btn,
.submit-case-main .category-picker-clear {
  border-radius: 0 !important;
}

.form-dynamic-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-dynamic-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-dynamic-row .form-input {
  flex: 1;
}
.form-dynamic-row .input-clear-wrapper {
  flex: 1;
}
.form-dynamic-row .input-clear-wrapper:first-child {
  flex: 0 0 200px; /* 左边输入框固定宽度 */
}
.form-dynamic-row .input-clear-wrapper:last-of-type {
  flex: 1; /* 右边输入框占剩余空间 */
}
.form-remove-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}
.form-remove-btn:hover {
  background: #f5f5f5;
  color: #333;
}
.form-add-btn {
  width: 170px;
  padding: 12px 10px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background: #efefef;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.form-add-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.input-clear-wrapper {
  position: relative;
  flex: 1;
}
.input-clear-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}
.input-clear-btn:hover {
  background: #999;
}

.nav-active > a,
.nav-active > a:visited {
  color: #0F172A !important;
  font-weight: 700;
  background: none;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.search-cooperation-center {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 400px;
  margin-top: var(--hy-topbar-h);
}
.search-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.search-bg-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.38);
  z-index: 1;
  pointer-events: none;
}
.search-bar-container, .search-bar-divider {
  position: relative;
  z-index: 2;
}
.search-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  width: 1342px;
  margin: 0 auto;
}
.search-icon-circle {
  display: flex;
  align-items: center;
  width: 64px;
  height: 64px;
}
.search-icon {
  color: #fff;
  font-size: 40px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
}
.search-input {
  font-size: 32px;
  padding: 8px 0 8px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #000;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1;
  font-weight: 400;
}
.search-input::placeholder {
  color: #777777;
  font-size: 32px;
  font-weight: 400;
}
.search-input:focus::placeholder {
  color: #bbb;
  opacity: 0.6;
}
.search-input-placeholder {
  color: #fff;
}
.search-input-placeholder:focus::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search-input-placeholder:focus {
  caret-color: white;
}
.search-input-placeholder::placeholder {
  color: #fff;
}
.search-bar-divider-box {
  width: 1342px;
  margin: 0 auto;
}
.search-bar-divider {
  width: 74%;
  border: none;
  border-top: 2px solid #fff;
}

.search-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* 首页顶部轮播dot样式 */
.hero-carousel .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  border: none;
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
  transition: background 0.2s;
}
.hero-carousel .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

.mall-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 0 0;
  width: 100%;
}

.mall-price {
  display: flex;
  align-items: baseline;
}

.mall-price-num {
  color: #0F172A;
  font-size: 16px;
  font-weight: bold;
  margin-right: 2px;
  line-height: 1;
}

.mall-price-unit {
  color: #888;
  font-size: 12px;
  font-weight: 400;
  margin-left: 2px;
}

.mall-services {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mall-service {
  color: #888;
  font-size: 14px;
  font-weight: 400;
}

.join-group-btn {
  display: block;
  width: 100%;
  margin: 20px 0 0 0;
  padding: 10px 0;
  background: #fff;
  border: 1px solid #acacac;
  font-size: 14px;
  color: #444;
  text-align: center;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s;
}
.join-group-btn:hover {
  border-color: #888;
}

.community-qa-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 0 32px 0;
}
.community-qa-menu span {
  font-size: 18px;
  color: #555;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}
.community-qa-menu span:hover {
  color: #222;
}

.qa-card {
  max-width: 100%;
  margin-bottom: 50px;
}
.qa-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.qa-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
}
.qa-user-info {
  flex: 1;
}
.qa-username {
  font-size: 16px;
  color: #555;
  font-weight: 500;
}
.qa-time {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.qa-follow-btn {
  border: 1px solid #0F172A;
  background: #fff;
  color: #0F172A;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 14px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
}
.qa-follow-btn:hover {
  background: #e6f7ff;
}
.qa-question {
  font-size: 16px;
  color: #555;
  margin-bottom: 18px;
  margin-left: 72px;
  margin-right: 16px;
}
.qa-answer-block {
  display: flex;
  align-items: flex-start;
  background: #f7f7f7;
  border-radius: 4px;
  padding: 18px 24px;
  margin: 0 0 18px 72px;
}
.qa-answer-content {
  margin-left: 12px;
}
.qa-answer-username {
  font-size: 16px;
  color: #555;
  font-weight: 500;
}
.qa-answer-tag {
  font-size: 14px;
  color: #0F172A;
  margin: 2px 0 6px 0;
}
.qa-answer-tag a {
  color: #0F172A;
  text-decoration: none;
}
.qa-answer-text {
  font-size: 16px;
  color: #555;
}
.qa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 0 0;
}
.qa-community {
  font-size: 14px;
  color: #0F172A;
  display: flex;
  align-items: center;
}
.qa-dot {
  width: 14px;
  height: 14px;
  background: #0F172A;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.qa-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}
.qa-action {
  font-size: 12px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 4px;
}
.qa-action img {
  width: 16px;
  height: 16px;
}

.qa-editor-card {
  background: #fff;
  margin-bottom: 40px;
  max-width: 100%;
}
.qa-editor-box {
  margin-left: 72px;
  margin-right: 0;
  border: 1px solid #d9d9d9;
}
.qa-editor-toolbar {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: #fafbfc;
  padding: 0 12px;
  height: 48px;
  gap: 8px;
}
.qa-editor-toolbar select,
.qa-editor-toolbar button {
  background: none;
  border: none;
  font-size: 16px;
  color: #555;
  margin: 0 2px;
  padding: 0 6px;
  cursor: pointer;
  outline: none;
  height: 32px;
  border-radius: 3px;
  transition: background 0.2s;
}
.qa-editor-toolbar select:focus,
.qa-editor-toolbar button:focus {
  background: #f0f0f0;
}
.qa-editor-toolbar select {
  border: none;
  font-size: 15px;
  color: #555;
  padding: 0 8px;
  height: 32px;
}
.qa-editor-btn {
  font-size: 18px;
  min-width: 28px;
  min-height: 28px;
}
.qa-editor-input {
  width: 100%;
  min-height: 180px;
  border: 1px solid #e5e5e5;
  border-top: none;
  border-radius: 0 0 6px 6px;
  font-size: 16px;
  color: #aaa;
  background: #fafbfc;
  padding: 18px 18px 12px 18px;
  resize: vertical;
  margin-bottom: 0;
}
.qa-editor-input::placeholder {
  color: #ccc;
  font-size: 16px;
}
.qa-editor-footer {
  display: flex;
  align-items: center;
  margin-left: 72px;
  margin-top: 18px;
  width: 50%;
}
.qa-editor-community {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 16px;
  color: #555;
  margin-right: 24px;
}
.qa-editor-publish {
  background: #0F172A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  padding: 12px 80px;
  cursor: pointer;
  transition: background 0.2s;
}
.qa-editor-publish:hover {
  background: #125a8c;
}

.topic-title {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.topic-item {
  display: flex;
  align-items: flex-start;
  padding: 18px 0 18px 0;
  border-bottom: 1px solid #eee;
}
.topic-item:last-child {
  border-bottom: none;
}
.topic-icon {
  margin-right: 16px;
  flex-shrink: 0;
}
.topic-icon img {
  width: 22px;
  height: 22px;
}
.topic-main {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.topic-name {
  font-size: 14px;
  color: #444;
  font-weight: 500;
  margin-bottom: 10px;
}
.topic-meta {
  display: flex;
  gap: 32px;
  font-size: 12px;
  color: #888;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-top: 8px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eee;
  border-radius: 28px;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .4s;
}
.switch input:checked + .slider {
  background-color: #0F172A;
}
.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.switch-label {
  font-size: 16px;
  color: #444;
  user-select: none;
}
.switch-label-on {
  margin-right: 4px;
}
.switch-label-off {
  margin-left: 4px;
}

.switch-has-label .slider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 14px;
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.slider-label {
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.slider-label-on {
  text-align: left;
}
.slider-label-off {
  text-align: right;
}
.switch-has-label .slider:before {
  z-index: 3;
}

.switch input:not(:checked) + .slider {
  background-color: #bfbfbf;
  color: #fff;
}

.question-tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 2;
}
/* 悬停时整行抬高，避免提示被下方分类选择器/上传框挡住 */
.form-row:has(.question-tooltip-wrapper:hover),
.form-upload-box:has(.question-tooltip-wrapper:hover) {
  position: relative;
  z-index: 80;
}
.question-tooltip-wrapper:hover {
  z-index: 2000;
}
.question-tooltip-bubble {
  display: none;
  position: absolute;
  left: 0;
  top: 38px;
  min-width: 360px;
  background: #d6edfc;
  border-radius: 10px;
  padding: 10px 20px;
  z-index: 2000;
  word-break: break-word;
  font-size:13px;
  color: #0F172A;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  pointer-events: none;
}
.question-tooltip-arrow {
  position: absolute;
  top: -14px;
  left: 8px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 14px solid #d6edfc;
}
.question-tooltip-wrapper:hover .question-tooltip-bubble {
  display: block;
}

.package-row {
  margin-bottom: 18px;
}
.package-options {
  display: flex;
  align-items: center;
  gap: 40px;
}
.package-radio {
  font-size: 14px;
  color: #444;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.package-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #888;
  margin-right: 4px;
}

.auto-renew-row {
  margin-bottom: 18px;
}
.auto-renew-content {
  display: flex;
  align-items: center;
  gap: 18px;
}
.auto-renew-desc {
  font-size: 14px;
  color: #444;
  margin-left: 12px;
  margin-top: 8px;
}
.auto-renew-red {
  color: #e53935;
  font-size: 14px;
  margin-left: 2px;
}

/* 设计师卡片区 */
.designer-card {
  margin-bottom: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
}
a.designer-card,
a.designer-card:hover,
a.designer-card:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.designer-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.designer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.designer-title {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}
.designer-subtitle {
  color: #444;
  font-size: 12px;
  font-weight: 400;
}
.designer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
  justify-content: center;
}
.designer-btn {
  flex: 1 1 45%;
  min-width: 180px;
  max-width: 220px;
  padding: 16px 0;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #444;
  font-size: 22px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.designer-btn.follow {
  border-color: #0F172A;
  color: #0F172A;
}
.designer-btn:hover,
.designer-btn:focus {
  border-color: #0F172A;
  color: #0F172A;
  background: #f5f5f5;
}
.designer-intro {
  font-size: 14px;
  line-height: 2;
  color: #222;
  text-align: left;
  margin-top: 20px;
}

/* 详情页顶部Banner区 */
.banner-content-container {
  width: 1342px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 38px;
}
.detail-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #222;
  margin-top: var(--hy-topbar-h);
}
.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.banner-breadcrumb {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  opacity: 0.95;
  margin-bottom: 20px;
}
.banner-title-row {
  position: relative;
  z-index: 2;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-bottom: none;
  padding-bottom: 0;
}
.banner-title-wrap {
  position: relative;
  display: inline-block;
  max-width: calc(100% - 40px);
  padding-bottom: 28px;
  box-sizing: border-box;
}
.banner-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.55;
  border-bottom: none;
  margin: 0;
  padding-bottom: 8px;
  text-align: center;
  display: block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  text-decoration-line: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: none;
}
.banner-meta {
  position: absolute;
  right: 0;
  top: auto;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 16px;
  opacity: 0.95;
  padding-bottom: 0;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
  z-index: 3;
}
.banner-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 1em;
}
.banner-views-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}
.banner-views-num {
  min-width: 0.5em;
  letter-spacing: 0.02em;
}
.banner-date {
  position: static;
  right: auto;
  top: auto;
  z-index: 2;
  color: #fff;
  font-size: 16px;
  opacity: 0.95;
  margin-left: 0;
}
.banner-summary {
  display: none;
  position: relative;
  z-index: 2;
  margin: 16px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  overflow: hidden;
  word-break: break-word;
}
.detail-banner.has-summary {
  height: auto;
  min-height: 400px;
}
.detail-banner.has-summary .banner-content-container {
  min-height: 400px;
  padding-bottom: 32px;
  box-sizing: border-box;
}
.detail-banner.has-summary .banner-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.article-title-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 16px;
}
.article-title-bar .article-title {
  margin: 0;
  text-align: center;
  line-height: 1.4;
}
.article-title-date {
  margin: 8px 0 0;
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #444;
  white-space: nowrap;
}
.article-lead {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #444;
}

.designer-contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.designer-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 14px;
  color: #444;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.designer-contact-btn.follow {
  color: #0F172A;
  border-color: #0F172A;
  font-weight: 500;
}
.designer-contact-btn.follow:hover,
.designer-contact-btn.follow:focus {
  background: #f5f5f5;
  color: #0F172A;
  border-color: #0F172A;
}

.designer-contact-btn.member {
  color: #0F172A;
  border-color: #0F172A;
  font-weight: 500;
}

.designer-contact-btn.member:hover,
.designer-contact-btn.member:focus {
  background: #f5f5f5;
  color: #0F172A;
  border-color: #0F172A;
}
.designer-contact-btn:hover,
.designer-contact-btn:focus {
  border-color: #0F172A;
  color: #0F172A;
  background: #f5f5f5;
}

/* 作者相关标题样式 */
.author-related-title {
  margin: 20px 0 0 0;
}

.author-related-title .title-text {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  position: relative;
}

.designer-profile-box {
  border: 1px solid #222;
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  padding: 20px;
}
.case-section-box {
  margin: 10px 0;
}

/* 详情页右侧「页面目录」：去下划线、强制竖排、分级缩进 */
.detail-page-toc a,
.detail-page-toc a:link,
.detail-page-toc a:visited,
.detail-page-toc a:hover,
.detail-page-toc a:active {
  text-decoration: none !important;
  border-bottom: none !important;
}
.detail-page-toc-nav,
.detail-page-toc-outline,
.detail-page-toc-tree {
  display: block !important;
  width: 100% !important;
}
.detail-page-toc-tree {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.detail-page-toc-tree > li,
.detail-page-toc-item,
.detail-page-toc-sub {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box;
}
.detail-page-toc-tree > li.level-1 .detail-page-toc-sub { padding-left: 16px; }
.detail-page-toc-tree > li.level-2 .detail-page-toc-sub { padding-left: 36px; }
.detail-page-toc-tree > li.level-3 .detail-page-toc-sub { padding-left: 56px; }
.detail-page-toc-tree > li.level-4 .detail-page-toc-sub { padding-left: 76px; }
.detail-page-toc-tree > li.level-5 .detail-page-toc-sub { padding-left: 96px; }
.detail-page-toc.is-toc-fixed { box-shadow: none !important; }
.case-section-title {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  margin: 5px 0;
}
.case-section-list {
  margin: 0 0 18px 0;
  list-style: none;
}
.case-section-list-item {
  font-size: 18px;
  color: #444;
  padding-left: 20px;
}

.case-comment-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 32px 36px 32px 36px;
  margin: 24px 0 32px 0;
}
.case-comment-title {
  font-size: 20px;
  font-weight: bold;
  color: #444;
  margin-bottom: 24px;
}
.case-login-tip {
  text-align: center;
  font-size: 16px;
  color: #444;
  margin-bottom: 8px;
}
.case-login-tip a {
  color: #0F172A;
  text-decoration: none;
  cursor: pointer;
}
.case-login-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0 32px 0;
}
.case-login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-login-icon img {
  width: 50px;
  height: 50px;
}
.case-comment-list {
  margin: 0 0 18px 0;
  padding: 0;
  list-style: none;
}
.case-comment-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}
.case-comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 16px;
}
.case-comment-user {
  font-size: 16px;
  font-weight: 500;
  color: #444;
  margin-right: 12px;
}
.case-comment-date {
  font-size: 16px;
  color: #888;
}
.case-comment-content {
  font-size: 14px;
  color: #444;
  margin-top: 2px;
}

.case-meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  border-top: 1px solid #eee;
  padding: 20px 0 0 0;
  margin-top: 32px;
  font-size: 18px;
}
.case-meta-btn {
  display: flex;
  align-items: center;
  color: #444;
  font-size: 16px;
  cursor: pointer;
  gap: 6px;
  transition: color 0.2s;
}
.case-meta-btn:hover {
  color: #0F172A;
}
.case-meta-btn .icon {
  width: 18px;
  height: 18px;
  margin-right: 2px;
  vertical-align: middle;
  display: inline-block;
}
.case-meta-btn svg.icon {
  display: block;
  flex-shrink: 0;
}

.case-tags-bar {
  margin: 32px 0 0 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.case-tags-title {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 16px;
}
.case-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-bottom: 0;
}
.case-tags-list,
.case-tags-list a,
.case-tag-link {
  font-weight: 400;
}
.case-tag-link {
  color: #0F172A;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.case-tag-link:hover {
  color: #0F172A;
  text-decoration: underline;
}

.case-location-bar {
  margin: 32px 0 0 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.case-location-title {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 16px;
}
.case-location-content {
  font-size: 16px;
  color: #444;
  margin-bottom: 0;
}
.case-location-link {
  color: #0F172A;
  font-size: 16px;
  margin-left: 18px;
  text-decoration: none;
  transition: color 0.2s;
}
.case-location-link:hover {
  color: #0F172A;
  text-decoration: underline;
}

.case-info-bar {
  margin: 0 0 10px 0;
}
.case-info-title {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 12px;
}
.case-info-table {
  width: 100%;
  font-size: 16px;
  line-height: 2;
  border-collapse: separate;
  border-spacing: 0 0;
  margin-bottom: 0;
}
.case-info-table tr.case-info-row-hidden {
  display: none;
}
.case-info-label {
  color: #555;
  width: 166px;
  text-align: left;
  font-weight: 400;
  padding-right: 0;
}
.case-info-sep {
  color: #888;
  width: 10px;
  text-align: center;
  padding: 0 6px 0 0;
}
.case-info-value {
  color: #0F172A;
  text-align: left;
  font-weight: 400;
  padding-left: 0;
}

.case-section-block {
  margin: 32px 0 0 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}
.case-section-block-title {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 2px;
}
/* 正文区不展示「案例正文 / 方案正文」等占位标题，右侧目录仍保留 */
#detailContentTitle,
#detailContentTitle + .case-section-block-title-en {
  display: none !important;
}
.case-section-block-title-en {
  font-size: 16px;
  color: #444;
  font-weight: 400;
  margin-bottom: 16px;
}
.case-section-block-content,
#detailContent,
#schemeBodyContent {
  font-size: 16px;
  color: #444;
  /* 与后台 wangEditor 接近，避免 line-height:2 把空行拉开/挤乱 */
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  word-break: break-word;
}
/* 全局 *{margin:0} 会吃掉段落间距；这里按富文本所见还原空行与段距 */
.case-section-block-content p,
#detailContent p,
#schemeBodyContent p {
  margin: 0 0 12px;
  min-height: 1.75em;
  max-width: 100%;
}
.case-section-block-content p:last-child,
#detailContent p:last-child,
#schemeBodyContent p:last-child {
  margin-bottom: 0;
}
.case-section-block-content h1,
.case-section-block-content h2,
.case-section-block-content h3,
.case-section-block-content h4,
.case-section-block-content h5,
#detailContent h1,
#detailContent h2,
#detailContent h3,
#detailContent h4,
#detailContent h5,
#schemeBodyContent h1,
#schemeBodyContent h2,
#schemeBodyContent h3,
#schemeBodyContent h4,
#schemeBodyContent h5 {
  margin: 20px 0 12px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}
.case-section-block-content h1,
#detailContent h1,
#schemeBodyContent h1 { font-size: 22px; }
.case-section-block-content h2,
#detailContent h2,
#schemeBodyContent h2 { font-size: 20px; }
.case-section-block-content h3,
#detailContent h3,
#schemeBodyContent h3 { font-size: 18px; }
.case-section-block-content ul,
.case-section-block-content ol,
#detailContent ul,
#detailContent ol,
#schemeBodyContent ul,
#schemeBodyContent ol {
  padding-left: 24px;
  margin: 0 0 12px;
}
.case-section-block-content li,
#detailContent li,
#schemeBodyContent li {
  margin-bottom: 4px;
}
.case-section-block-content blockquote,
#detailContent blockquote,
#schemeBodyContent blockquote {
  border-left: 4px solid #0F172A;
  padding: 8px 16px;
  margin: 12px 0;
  background: #f5f5f5;
  color: #555;
}
.case-section-block-content img,
.case-section-block-content video,
.case-section-block-content iframe,
.case-section-block-content table,
.case-section-block-content pre,
#detailContent img,
#detailContent video,
#detailContent iframe,
#detailContent table,
#detailContent pre,
#schemeBodyContent img,
#schemeBodyContent video,
#schemeBodyContent iframe,
#schemeBodyContent table,
#schemeBodyContent pre {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}
.case-section-block-content img,
#detailContent img,
#schemeBodyContent img {
  display: block;
  margin: 12px 0;
}
.case-section-block-content div,
.case-section-block-content figure,
#detailContent div,
#detailContent figure,
#schemeBodyContent div,
#schemeBodyContent figure {
  max-width: 100%;
}

/* 详情正文左缘对齐图库大图：跳过左侧缩略图列 + 10px 间距 */
.detail-body-align {
  --detail-gallery-main-offset: calc((100% - 50px) / 6 + 10px);
  margin-left: var(--detail-gallery-main-offset) !important;
  width: calc(100% - var(--detail-gallery-main-offset)) !important;
  max-width: 100%;
  box-sizing: border-box;
}

.case-gallery-layout {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: minmax(420px, 560px) auto;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}

.case-gallery-sidebar {
  display: none;
}

.case-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-gallery-content {
  min-width: 0;
  overflow: hidden;
  background: #f5f5f5;
}
.case-gallery-thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
}
.case-gallery-thumb:hover {
  border-color: #0F172A;
}

.case-gallery-thumb-more {
  position: relative;
  overflow: hidden;
}
.case-gallery-thumb-more::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}
.case-gallery-thumb-more-num {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 42px;
  font-weight: bolder;
  z-index: 2;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
}

.case-gallery-thumb-row2 {
  display: none;
  gap: 20px;
}
.case-gallery-thumbs.expanded .case-gallery-thumb-row2 {
  display: flex;
}

.case-gallery-thumb-more.no-mask::after {
  display: none;
}

.case-related-bar {
  margin: 0 auto;
  width: 1342px;
}
.case-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.case-related-title {
  font-size: 22px;
  font-weight: bold;
  color: #444;
  margin: 0;
}
.case-related-more {
  flex-shrink: 0;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.case-related-more:hover {
  color: #0F172A;
}
.case-related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}
.case-related-list .news-card {
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  box-sizing: border-box;
  padding-bottom: 24px;
}
.case-related-list .news-img-switcher {
  height: 180px;
  overflow: hidden;
}
.case-related-list .news-card-img,
.case-related-list .news-img-list img {
  height: 180px;
  object-fit: cover;
}
.case-related-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  width: 23%;
  padding: 0 0 24px 0;
  display: flex;
  flex-direction: column;
}
.case-related-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 18px;
}
.case-related-name {
  font-size: 20px;
  color: #444;
  font-weight: 500;
  margin: 0 0 10px 0;
  padding: 0 18px;
}
.case-related-desc {
  font-size: 15px;
  color: #888;
  margin: 0 0 18px 0;
  padding: 0 18px;
  line-height: 1.7;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.case-related-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #bbb;
  font-size: 15px;
  padding: 0 18px;
}
.case-related-meta .icon {
  font-size: 18px;
  margin-right: 4px;
  vertical-align: middle;
}
.tab-btn.tab-btn-active {
  color: #0F172A !important;
}

/* user-publish tabs 样式 */
.publish-tabs {
  display: flex;
  gap: 60px;
  margin-bottom: 24px;
  margin-top: 10px;
}
.publish-tabs .tab {
  font-size: 18px;
  color: #999;
  text-decoration: none;
  font-weight: 400;
  padding-bottom: 6px;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.publish-tabs .tab.active {
  color: #0F172A;
  font-weight: 400;
  border-bottom-color: #0F172A;
  text-decoration: none;
}


/* 个人中心/商城中心：无顶部大背景图，仅保留面包屑条 */
.uc-page-top {
  margin-top: var(--hy-topbar-h);
  background: #fff;
  border-bottom: 1px solid #eee;
}
.uc-page-breadcrumb-row {
  width: 1342px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.uc-page-breadcrumb {
  width: 1342px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 18px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.uc-page-breadcrumb-row .uc-page-breadcrumb {
  width: auto;
  max-width: none;
  margin: 0;
  flex: 1;
}
.uc-page-breadcrumb-row .publish-tabs {
  margin: 0;
  gap: 28px;
  flex-shrink: 0;
}
body.user-center-page .uc-page-top {
  margin-top: var(--hy-topbar-h);
}

/* sidebar tabs and menu — 个人中心/商城中心（外层深色线框 + 选项间留小孔隙） */
.sidebar-tabs-menu {
  margin-top: 4px;
  border: 1px solid #0F172A;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
}
.sidebar-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  border: none;
}
.sidebar-tab {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 8px;
  border: 1px solid #1d3653;
  background: #fff;
  color: #1d3653;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
  overflow: visible;
  min-height: 44px;
  font-weight: 500;
}
.sidebar-tab.active {
  background: #1d3653;
  color: #fff;
  border-color: #1d3653;
}
.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
  border: none;
}
.sidebar-menu-btn {
  width: 100%;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px;
  background: #fff;
  color: #444;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
  overflow: visible;
  min-height: 44px;
  text-align: center;
}
.sidebar-menu-btn:hover {
  background: #f5f7fa;
  color: #1d3653;
  border-color: #cfd6de;
}
.sidebar-menu-btn.active {
  background: #1d3653;
  color: #fff;
  border-color: #1d3653;
}

/* 个人中心侧栏用户卡：深色顶栏风格 */
.user-publish-content .designer-profile-box {
  border: 1px solid #e5e5e5;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.user-publish-content .designer-profile-box > .designer-card {
  margin: 0;
  padding: 28px 16px;
  gap: 14px;
  background-color: #6b6b6b;
  background-image: url('../images/img/mall2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  position: relative;
  isolation: isolate;
}
/* 账号卡：背景图上盖一层半透明灰，保证白字可读 */
.user-publish-content .designer-profile-box > .designer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(80, 80, 80, 0.42);
  z-index: 0;
  pointer-events: none;
}
.user-publish-content .designer-profile-box > .designer-card > * {
  position: relative;
  z-index: 1;
}
.user-publish-content .designer-profile-box > .designer-card .designer-avatar {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.user-publish-content .designer-profile-box > .designer-card .designer-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}
.user-publish-content .designer-profile-box > .designer-card .designer-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}
.user-publish-content .sidebar-tabs-menu {
  padding: 16px;
  background: #fff;
}

/* 投稿全球案例卡片样式 */
.news-card.news-card-add {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 375px;
  height: 100%;
  border: 1px solid #0F172A;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s;
}
.news-card.news-card-add:hover {
  border-color: #0F172A;
  background: #f5f5f5;
}
.news-card.news-card-add .news-card-add-link {
  font-size: 16px;
  color: #0F172A;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.news-card.news-card-add:hover .news-card-add-link {
  color: #0F172A;
}

/* 案例/方案筛选弹出层：挂在筛选条下方，不挡顶栏 */
.case-filter-section {
  position: relative;
  z-index: 30;
  overflow: visible;
}
.case-filter-modal {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #eee;
  min-width: min(965px, 96vw);
  max-width: min(965px, 96vw);
  width: min(965px, 96vw);
  max-height: min(520px, 70vh);
  overflow: auto;
  margin-top: 0;
  transform: none;
  scrollbar-width: thin;
  -ms-overflow-style: auto;
  padding: 16px 20px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.case-filter-modal::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.case-filter-search-wrap {
  position: relative;
  width: 46%;
  max-width: 380px;
  margin: 8px 56px 14px 0;
}
.case-filter-search-wrap input {
  width: 100% !important;
  box-sizing: border-box;
  padding: 10px 10px 10px 32px;
  font-size: 14px;
  background-color: #f0f0f0;
  border-radius: 4px;
  border: 0;
}
.case-filter-search-wrap img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.7;
  pointer-events: none;
}

/* 关闭按钮：略下移并放大 */
.case-filter-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 36px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  z-index: 1001;
}

.case-filter-modal-close:hover {
  background: #f0f0f0;
  color: #666;
}



.case-filter-columns {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: auto;
  max-height: 420px;
  padding: 0;
  overflow: auto;
  scrollbar-width: thin;
  -ms-overflow-style: auto;
}

.case-filter-columns::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.case-filter-column {
  background: #fff;
  scrollbar-width: thin;
  -ms-overflow-style: auto;
  flex: 1 1 0;
  width: auto !important;
  min-width: 180px;
  max-height: 420px;
  overflow: auto;
}

.case-filter-column::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.case-filter-column:last-child {
  border-right: none;
}
.case-filter-category,
.case-filter-subcategory {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
  font-size: 14px;
  color: #333;
  line-height: 22px;
  height: auto;
  min-height: 34px;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
}
.case-filter-category-name {
  min-width: 0;
  flex: 1;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  word-break: break-word;
}

.case-filter-category:hover,
.case-filter-subcategory:hover {
  background: #f5f5f5;
}

.case-filter-category.active {
  color: #0F172A;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
}

.case-filter-subcategory.active {
  background: #f0f0f0;
  color: #0F172A;
  font-weight: 700;
  text-decoration: none;
}

.case-filter-category-arrow {
  color: #999;
  font-size: 12px;
  transition: color 0.2s;
}

.case-filter-category.active .case-filter-category-arrow {
  color: #0F172A;
}

.case-filter-subcategory {
  display: none;
}

/* 默认显示文化建筑的子分类 */
.case-filter-subcategory[data-parent="cultural"] {
  display: block;
}




/* 广告布局样式 */
.ad-layout-container {
  max-width: 1342px;
  margin: 0 auto;
  padding: 0 0 32px 0;
  display: grid;
  grid-template-areas:
    "slideshow slideshow"
    "content sidebar";
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-rows: auto auto;
  gap: 0 24px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
  box-sizing: border-box;
}

.ad-slideshow-section {
  grid-area: slideshow;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  width: 100%;
  display: block;
  padding: 0;
  box-sizing: border-box;
}
.ad-slot-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid transparent;
  transition: border-color 0.15s ease;
}
/* 黑色描边仅选中时出现 */
.ad-slot-card.is-selected {
  border-color: #111;
}
.ad-slot-slideshow {
  max-width: none;
  width: 100%;
  align-items: stretch;
}
.ad-slot-sidebar {
  width: 100%;
  padding: 0;
}
.ad-slot-sidebar.is-selected {
  padding: 8px 8px 10px;
}

.ad-upload-area {
  text-align: center;
  cursor: pointer;
  position: relative;
  width: 100%;
  background: #f5f5f5;
  border: 1px dashed #cfcfcf;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-slideshow-section .ad-slideshow-upload,
.ad-slot-slideshow .ad-upload-area {
  width: 100%;
  min-height: 360px;
  height: 420px;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}
.ad-sidebar-section .ad-upload-area {
  width: 100%;
  height: auto;
  aspect-ratio: 315 / 133;
  min-height: 0;
  border-radius: 0;
}
.ad-slideshow-section .ad-slideshow-upload .ad-upload-text {
  text-align: center;
}
.ad-slot-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 16px 8px;
  background: #fff;
  box-sizing: border-box;
}
.ad-slot-slideshow .ad-slot-actions {
  padding: 16px 0 20px;
  width: 100%;
}
.ad-slot-btn {
  min-width: 96px;
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.ad-upload-hint {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  line-height: 1.4;
}
.ad-editor-limit-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}
.ad-preview-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ad-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ad-clear-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 10;
  line-height: 24px;
  padding: 0;
  font-size: 16px;
}
/* 锚在右下角：随广告语变长向左、向上扩 */
.hero-carousel .banner-overlay.home-ad-overlay {
  top: auto;
  bottom: 80px;
  right: 0;
  left: auto;
  transform: none;
  width: fit-content;
  max-width: min(46%, 720px);
  max-height: calc(100% - 100px);
  height: auto;
  overflow: auto;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px 24px;
  box-sizing: border-box;
}
.hero-carousel .banner-overlay.home-ad-overlay .banner-text {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  text-align: right;
}
.hero-carousel .banner-overlay.home-ad-overlay .banner-text p,
.hero-carousel .banner-overlay.home-ad-overlay .banner-text div {
  margin: 0 0 0.45em;
}
.hero-carousel .banner-overlay.home-ad-overlay .banner-text p:last-child,
.hero-carousel .banner-overlay.home-ad-overlay .banner-text div:last-child {
  margin-bottom: 0;
}
.hero-carousel .banner-overlay.home-ad-overlay .banner-text img {
  max-width: 100%;
  height: auto;
}

.ad-content-section {
  grid-area: content;
  padding: 20px 0 24px 16px;
  min-width: 0;
}

.ad-sidebar-section {
  grid-area: sidebar;
  padding: 20px 16px 24px 0;
  height: fit-content;
  margin-top: 0;
  margin-right: 0;
}

.ad-section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 24px;
}

.ad-upload-area.has-preview {
  border-style: solid;
  border-color: #e5e5e5;
  background: #f5f5f5;
}
.ad-upload-area .ad-upload-icon img,
.ad-upload-icon img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}
.ad-upload-area img.ad-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-upload-icon {
  font-size: 48px;
  color: #bbb;
  margin-bottom: 12px;
  position: relative;
}

.ad-upload-text {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.ad-upload-text strong {
  color: #222;
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 960px) {
  .ad-layout-container {
    grid-template-areas:
      "slideshow"
      "sidebar"
      "content";
    grid-template-columns: 1fr;
  }
  .ad-sidebar-section {
    padding: 0 16px 16px;
  }
  .ad-content-section {
    padding: 0 16px 24px;
  }
}

.editor-toolbar {
  border: 1px solid #d9d9d9;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 12px;
  background: #fafafa;
}

.editor-content {
  border: 1px solid #d9d9d9;
  border-top: none;
  border-radius: 0 0 6px 6px;
  min-height: 200px;
  padding: 12px;
}

.ad-guidelines {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 16px;
  margin-top: 16px;
}

.ad-guidelines ol {
  margin: 0;
  padding-left: 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.ad-guidelines li {
  margin-bottom: 8px;
}


/* 付费加入社群样式 */
.join-community-container {
  margin-bottom: 40px;
}
.join-agreement {
  margin-bottom: 20px;
  text-align: center;
}

.join-checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.join-checkbox input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.join-checkbox a {
  color: #0F172A;
  text-decoration: none;
}

.join-checkbox a:hover {
  text-decoration: underline;
}

.join-pricing {
  display: flex;
  margin-bottom: 20px;
  gap: 40px;
}

.join-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.join-radio:hover {
  border-color: #0F172A;
  background: #f8f9fa;
}

.join-radio input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.join-radio span {
  font-size: 14px;
  color: #333;
}

.join-radio input[type="radio"]:checked + span {
  color: #0F172A;
  font-weight: bold;
}
.join-pay-btn {
  background: #0F172A;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 40px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
}

.join-pay-btn:hover {
  background: #0F172A;
}

.join-tips-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.join-tips-content {
  text-align: left;
}

.join-tip-item {
  font-size: 12px;
  color: #666;
  line-height: 1;
  margin-bottom: 8px;
}


.mall-top {width: 100%;position: relative;height: 400px;}
.mall-top .mall-top-img {position: relative;height: 396px;}
.mall-top .mall-top-img .mall-top-img-bg {background: rgba(0,0,0,.4);height: 396px;width: 100%;position: absolute;z-index: 1;}
.mall-top .mall-top-text {position: absolute;z-index: 2;color: #fff;font-size: 40px;font-weight: bold;top: 50%; left: 40%; transform: translate(-50%, -50%);white-space: nowrap;}
.search-new-body .dropdown-form {position: relative;border-bottom: 1px solid #c8c8c8;}
.search-new-body form input.search-input {border:none;font-size:32px;margin-left:0;padding-left:70px;width:100%;background:transparent;}
.search-new-body form a.btn {border:none;position:absolute;top:0;left:0;background:transparent;color:#666;min-width:60px;min-height:60px;padding: 0;}
.search-new-body form a.btn img {width: 40px;height: 40px;position: relative;top: 14px;}

/* mall-meta-row 样式 */
.mall-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.mall-date {
    color: #999;
}

.mall-comments {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mall-comments img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* 登录/注册弹窗通用增强 */
.register-modal-login-link {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #999;
}
/* 隐藏浏览器自带的密码可见按钮，避免和自定义眼睛图标重复 */
.login-modal-input[type="password"]::-ms-reveal,
.login-modal-input[type="password"]::-ms-clear,
.register-modal-input[type="password"]::-ms-reveal,
.register-modal-input[type="password"]::-ms-clear,
#loginPassword::-ms-reveal,
#loginPassword::-ms-clear,
#fullRegPassword::-ms-reveal,
#fullRegPassword::-ms-clear,
#fullRegConfirm::-ms-reveal,
#fullRegConfirm::-ms-clear {
  display: none;
}
.pwd-toggle {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  line-height: 1;
  z-index: 3;
}
.pwd-toggle:hover,
.pwd-toggle.is-visible {
  color: #0F172A;
}
.pwd-toggle svg {
  display: block;
  pointer-events: none;
}
.send-code-btn {
  user-select: none;
}
.send-code-btn:active {
  opacity: 0.8;
}
/* 按钮禁用状态 */
.login-modal-btn:disabled,
.register-modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* rich editor toolbar visibility */
/* rich editor toolbar visibility */
#editor-toolbar,
.editor-toolbar {
  min-height: 42px;
  background: #fafafa;
}
#editor-toolbar .w-e-toolbar,
#editor-toolbar .w-e-bar,
.editor-toolbar .w-e-toolbar,
.editor-toolbar .w-e-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* 标题下拉：一级标题等中文比 H1 更宽 */
.w-e-select-list {
  min-width: 120px;
}
