/* ========== 深圳知识产权专题页 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  min-width: 320px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* 圆圈箭头 */
.arrow-circle {
  display: inline-block;
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: none;
}
.arrow-circle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(-65%, -50%) rotate(45deg);
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}
.more-link:hover { color: #0d84e3; }
.more-link.light { color: #fff; }
.more-link.light:hover { color: #eaf6ff; }

/* ========== 顶部栏 ========== */
.topbar { background: #fff; border-bottom: 1px solid #eef1f4; }
.topbar-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand-logo { width: 42px; height: 44px; object-fit: contain; margin-right: 12px; }
.brand-name { font-size: 24px; font-weight: 700; color: #222; letter-spacing: 1px; }
.brand-divider { width: 1px; height: 24px; background: #dcdfe4; margin: 0 14px; }
.brand-sub { font-size: 20px; color: #555; letter-spacing: 1px; }
.topnav { display: flex; gap: 10px; }
.topnav a {
  font-size: 13px;
  color: #555;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  padding: 5px 16px;
  background: #f7f8fa;
  white-space: nowrap;
  transition: all .25s;
}
.topnav a:hover { color: #fff; background: #0d84e3; border-color: #0d84e3; }
/* 移动端汉堡按钮（默认隐藏） */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 1px;
  background: #555;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Banner ========== */
.banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  /* 定位偏上（25%）给建筑留出头空间；叠一层半透明品牌蓝，柔化背景图 */
  background:
    linear-gradient(rgba(10, 111, 224, .28), rgba(10, 111, 224, .28)),
    url("../images/bg6.png") center 25% / cover no-repeat #0a6fe0;
}
.banner-title-bg {
  position: absolute;
  left: max(20px, calc(50% - 600px));
  top: 42%; bottom: 0;
  width: 27%;
  background: url("../images/title-bg.png") left bottom / cover no-repeat;
  opacity: .6;
  z-index: 1;
  pointer-events: none;
}
.banner-building {
  position: absolute;
  right: 0; bottom: 0;
  top: 27%;
  width: 56%;
  background: url("../images/building-bg.png") right bottom / auto 100% no-repeat;
  z-index: 1;
  pointer-events: none;
}
.banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.banner-title {
  display: inline-block;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #68d7ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.banner-en {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
}
.banner-slogan {
  margin-top: 34px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}
.banner-icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bi {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  color: #0a7fe0;
  font-weight: 400;
  animation: floaty 5s ease-in-out infinite;
}
.bi-tm { left: 49%; top: 22%; width: 56px; height: 56px; font-size: 20px; opacity: .95; animation-delay: 0s; }
.bi-c  { left: 51%; top: 40%; width: 46px; height: 46px; font-size: 20px; opacity: .95; animation-delay: 1.8s; }
.bi-r  { left: 59%; top: 16%; width: 50px; height: 50px; font-size: 20px; opacity: .9; animation-delay: .6s; }
.bi-ip { left: 59%; top: 33%; width: 48px; height: 48px; font-size: 18px; opacity: .9; animation-delay: 1.2s; }
.bi-p  { left: 67%; top: 19%; width: 50px; height: 50px; font-size: 20px; opacity: .8; animation-delay: 2.4s; }
.bi-sm { left: 75%; top: 13%; width: 36px; height: 36px; font-size: 13px; opacity: .45; animation-delay: .9s; }
.bi-zl { left: 83%; top: 10%; width: 64px; height: 64px; font-size: 22px; opacity: .7; animation-delay: 1.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========== 通用区块 ========== */
.section { padding: 30px 0; }
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #222;
  letter-spacing: 2px;
  margin-bottom: 36px;
}
.section-title.light { color: #fff; }

/* ========== 行业资讯 / 通知公告 ========== */
.news-section { padding: 60px 0; position: relative; }
/* 渐变背景：从视口左缘一直到中间（与左列卡片右缘对齐），上下留出空隙 */
.news-section::before {
  content: "";
  position: absolute;
  left: 0; top: 60px; bottom: 60px;
  width: 50%;
  background: linear-gradient(180deg, #135ef7 0%, #21d7e0 100%);
}
.news-row { display: flex; gap: 30px; position: relative; z-index: 1; }
.news-left {
  width: 50%;
  flex: none;
  padding: 40px 30px 40px 0;
}
.news-left-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.news-left-head h2 { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.news-swiper { position: relative; }
.news-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}
.slide-caption {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #fff;
  min-height: 51px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-prev, .news-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  top: 31%;
}
.news-prev::after, .news-next::after { font-size: 15px; }
.news-prev { left: 12px; }
.news-next { right: 12px; }
.news-pagination {
  position: static;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.news-pagination .swiper-pagination-bullet {
  position: relative;
  overflow: hidden;
  width: 14px; height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .75);
  opacity: 1;
  margin: 0;
  transition: width .3s;
}
.news-pagination .swiper-pagination-bullet-active {
  width: 46px;
  background: #fff;
}
/* 自动播放倒计时进度条（仅当前项内填充） */
.bullet-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #135ef7, #21d7e0);
  display: block;
}
.news-right {
  flex: 1;
  min-width: 0;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}
.news-right-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.tabs { display: flex; gap: 30px; }
.tabs .tab {
  font-size: 22px;
  font-weight: 700;
  color: #999;
  transition: color .25s;
}
.tabs .tab.active { color: #222; }
.tabs .tab:hover { color: #0d84e3; }
/* 列表撑满右列剩余高度，与左侧轮播底部对齐 */
.notice-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.notice-list li { margin-bottom: 0; }
.notice-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f2f7fc;
  border-radius: 6px;
  padding: 15px 20px;
  font-size: 15px;
  transition: background .25s;
}
.notice-list li a:hover { background: #e3f0fb; color: #0d84e3; }
.notice-list .t {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-list .d { color: #999; flex: none; }

/* ========== 公共服务 ========== */
.pub-section { background: #f5f8fb; }
.pub-cards {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.pub-card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(15, 80, 160, .08);
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .3s, box-shadow .3s;
}
.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(15, 80, 160, .16);
  background: linear-gradient(180deg, #135ef7 0%, #21d7e0 100%);
}
.pub-icon {
  width: 50px; height: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.pub-icon-1 { background-image: url("../images/ggfw_01.png"); }
.pub-icon-2 { background-image: url("../images/ggfw_02.png"); }
.pub-icon-3 { background-image: url("../images/ggfw_03.png"); }
.pub-icon-4 { background-image: url("../images/ggfw_04.png"); }
.pub-icon-5 { background-image: url("../images/ggfw_05.png"); }
.pub-card:hover .pub-icon-1 { background-image: url("../images/ggfw_01_hover.png"); }
.pub-card:hover .pub-icon-2 { background-image: url("../images/ggfw_02_hover.png"); }
.pub-card:hover .pub-icon-3 { background-image: url("../images/ggfw_03_hover.png"); }
.pub-card:hover .pub-icon-4 { background-image: url("../images/ggfw_04_hover.png"); }
.pub-card:hover .pub-icon-5 { background-image: url("../images/ggfw_05_hover.png"); }
.pub-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.6;
}
.pub-card:hover .pub-text { color: #fff; }
.pub-card .arrow-circle {
  width: 22px; height: 22px;
  border: none;
  margin-top: auto;
  background: url("../images/goto.png") center / contain no-repeat;
}
.pub-card .arrow-circle::after { display: none; }
.pub-card:hover .arrow-circle { background-image: url("../images/goto_hover.png"); }

/* ========== 政务服务 ========== */
.gov-section { background: #fff; padding: 30px 0; }
.gov-panel {
  border-radius: 10px;
  overflow: hidden;
  background: #eef6fd;
}
.gov-head {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/zwfw_bg.png") center / cover no-repeat;
}
.gov-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
}
.gov-body { padding: 30px 56px 26px; }
.gov-tabs { gap: 40px; margin-bottom: 24px; }
.gov-tabs .tab {
  font-size: 18px;
  color: #666;
  padding-bottom: 8px;
  position: relative;
}
.gov-tabs .tab.active { color: #222; }
.gov-tabs .tab.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 46px; height: 3px;
  border-radius: 2px;
  background: #0d84e3;
}
.gov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.gov-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 8px;
  padding: 16px 22px;
  font-size: 15px;
  color: #333;
  transition: box-shadow .25s, color .25s;
}
.gov-item:hover { box-shadow: 0 8px 20px rgba(15, 80, 160, .14); color: #0d84e3; }
.doc-icon {
  width: 26px; height: 26px;
  flex: none;
  fill: none;
  stroke: #5ea5e8;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gov-more { text-align: right; margin-top: 18px; }

/* ========== 知识产权成果 ========== */
.ach-section {
  background: url("../images/zscqcg_bg.png") center / cover no-repeat;
  padding-bottom: 30px;
}
.ach-cards { display: flex; gap: 24px; }
.ach-card {
  flex: 1;
  height: 150px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  cursor: pointer;
  transition: flex-grow .3s, transform .3s, background .3s;
}
.ach-card:hover { transform: translateY(-6px); }
.ach-title {
  font-size: 18px;
  font-weight: 400;
  color: #222;
  line-height: 1.7;
}
/* 展开的卡片（默认第一个，鼠标经过切换） */
.ach-card-active {
  flex: 2;
  background: #fff url("../images/szsh-blue.png") left top / 110px auto no-repeat;
}
.ach-card-active .ach-title { color: #1a3a6e; font-size: 20px; font-weight: 700; }
.ach-links { display: none; font-size: 15px; font-weight: 500; color: #555; }
.ach-card-active .ach-links { display: block; }
.ach-links a { color: #555; margin: 0 10px; }
.ach-links a:hover { color: #0d84e3; text-decoration: underline; }
/* 市级：悬停展开年份 */
.ach-drop { position: relative; display: inline-block; margin: 0 10px; color: #555; cursor: pointer; }
.ach-drop-arrow { display: inline-block; width: 0; height: 0; margin-left: 4px; vertical-align: 2px; border: 4px solid transparent; border-top-color: #999; }
.ach-drop:hover .ach-drop-arrow { border-top-color: #0d84e3; }
.ach-drop-menu {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  padding: 6px 0;
  white-space: nowrap;
  z-index: 10;
}
.ach-drop-menu::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}
.ach-drop:hover .ach-drop-menu { display: block; }
.ach-drop-menu a { display: block; margin: 0; padding: 8px 24px; font-size: 14px; }
.ach-drop-menu a:hover { color: #0d84e3; background: #f2f7ff; text-decoration: none; }

/* ========== 白皮书 / 十大事件 ========== */
.bps-section { background: #fff; }
.bps-row { display: flex; gap: 30px; align-items: stretch; }
.bps-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.bps-block {
  background: #f2f7ff;
  border-radius: 10px;
  padding: 30px 34px;
}
.bps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.bps-head h2 { font-size: 22px; font-weight: 700; color: #222; }
.year-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.year-btn {
  font-size: 15px;
  color: #fff;
  padding: 9px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #4a9fe8, #2f7fe0);
  opacity: .45;
  transition: opacity .25s, transform .25s;
}
.year-btn:hover { opacity: .8; }
.year-btn.active { opacity: 1; }
.stat-list li { border-bottom: 1px dashed #e6ebf1; }
.stat-list li a {
  display: block;
  padding: 13px 4px;
  font-size: 15px;
  color: #333;
  transition: color .25s, padding-left .25s;
}
.stat-list li a:hover { color: #0d84e3; padding-left: 10px; }

.events-card {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  padding: 30px 34px;
  background: linear-gradient(150deg, #0aa9d8 0%, #0a7fe0 60%, #0a6fe0 100%);
  display: flex;
  flex-direction: column;
}
.events-card h2 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.events-intro {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 18px;
}
.year-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.year-tab {
  font-size: 14px;
  color: #fff;
  padding: 6px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .22);
  transition: background .25s;
}
.year-tab:hover { background: rgba(255, 255, 255, .35);color: #fff; }
.year-tab.active { background: rgba(0, 60, 150, .45); font-weight: 700; }
.events-list {
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
  padding-right: 10px;
}
.events-list::-webkit-scrollbar { width: 5px; }
.events-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, .15); border-radius: 3px; }
.events-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .55); border-radius: 3px; }
.events-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .18);
  border-radius: 6px;
  padding: 0 16px 0 0;
  margin-bottom: 12px;
  font-size: 14px;
  color: #fff;
  transition: background .25s;
}
.events-list li:hover { background: rgba(255, 255, 255, .3); }
.events-list .num {
  flex: none;
  width: 60px; height: 44px;
  background: url("../images/item_icon.png") center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.events-list .txt {
  display: block;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== 页脚 ========== */
.footer {
  background: #0b1226;
  color: rgba(255, 255, 255, .65);
  padding: 30px 0;
  font-size: 13px;
}
.footer-line { text-align: center; line-height: 2; }
.footer-links a { color: rgba(255, 255, 255, .65); }
.footer-links a:hover { color: #fff; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .banner { height: 300px; }
  .banner-title { font-size: 42px; }
  .banner-title-bg { display: none; }
  .banner-building { width: 80%; opacity: .5; }
  .news-row, .bps-row { flex-direction: column; }
  .news-section::before { display: none; }
  .news-left {
    width: 100%;
    padding: 30px 34px 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, #135ef7 0%, #21d7e0 100%);
  }
  .pub-cards { flex-wrap: wrap; }
  .pub-card { flex: 1 1 30%; }
  .gov-body { padding: 24px; }
  .ach-cards { flex-wrap: wrap; }
  .ach-card { flex: 1 1 30%; height: 140px; }
  .ach-card-active { flex: 1 1 100%; height: 130px; }
}
@media (max-width: 640px) {
  .topbar-inner { gap: 8px; }
  .brand { min-width: 0; }
  .brand-logo { width: 34px; height: 36px; margin-right: 8px; }
  .brand-name { font-size: 16px; white-space: nowrap; }
  .brand-sub { font-size: 14px; white-space: nowrap; }
  .brand-divider { margin: 0 10px; }
  .nav-toggle { display: flex; flex: none; }
  .topbar-inner { position: relative; }
  /* 手机端导航：默认收起，点击汉堡按钮展开 */
  .topnav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    z-index: 20;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 30, 80, .16);
    padding: 12px;
  }
  .topnav.open { display: flex; }
  .topnav a { text-align: center; padding: 8px 22px; }
  .banner { height: 240px; }
  .banner-title { font-size: 32px; letter-spacing: 2px; }
  .banner-en { font-size: 13px; letter-spacing: 3px; }
  .banner-slogan { font-size: 15px; margin-top: 20px; }
  .banner-icons { display: none; }
  .tabs .tab { font-size: 18px; }
  .pub-card { flex: 1 1 46%; }
  .gov-grid { grid-template-columns: 1fr; }
  .ach-card { flex: 1 1 100%; height: auto; min-height: 110px; }
  .ach-card-active { flex: 1 1 100%; }
  .section { padding: 40px 0; }
}
@media (max-width: 400px) {
  .brand-divider, .brand-sub { display: none; }
}
