@charset "UTF-8";
/* ==========================================================================
   GK 二十四节气专题入口 & 左侧二级菜单像素对齐（v.geekfei.cn）
   1) 首页顶部全幅静谧星尘暗房横幅（无光晕、无底线动效，克制高级）
   2) 左侧栏 & 手机抽屉二级菜单：未选中像素齐平，选中态金色高亮，Hot 紧邻文字
   3) 手机端顶部分类条「二十四节气」高亮胶囊 (.gk-chip-jieqi)
   ========================================================================== */

/* ---------------- 1. 首页顶部全幅星尘暗房横幅 ---------------- */
.gk-jq-banner-wrap {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  background: #090b10;
  max-width: 100%;
}

.gk-jq-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 24px;
  border-radius: 0;
  text-decoration: none !important;
  color: #f6efe2 !important;
  background: linear-gradient(110deg, #090b10 0%, #0e131d 52%, #12151f 100%);
  border-bottom: 1px solid rgba(217, 180, 115, 0.16);
  overflow: hidden;
}

.gk-jq-banner:hover,
.gk-jq-banner:focus {
  color: #ffffff !important;
}

/* 手绘远山江河水墨金线背景 */
.gk-jq-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* 静谧微光星星点点 */
.gk-jq-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.gk-jq-stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 248, 232, 0.9);
  animation: gkStarTwinkle 4.2s ease-in-out infinite;
  will-change: opacity, transform;
}

.gk-jq-stars i:nth-child(1)  { left: 7%;  top: 20%; animation-delay: 0s;   width: 1.5px; height: 1.5px; }
.gk-jq-stars i:nth-child(2)  { left: 15%; top: 76%; animation-delay: 1.1s; }
.gk-jq-stars i:nth-child(3)  { left: 24%; top: 18%; animation-delay: 2.3s; width: 2.5px; height: 2.5px; }
.gk-jq-stars i:nth-child(4)  { left: 33%; top: 72%; animation-delay: 0.6s; width: 1.5px; height: 1.5px; }
.gk-jq-stars i:nth-child(5)  { left: 41%; top: 26%; animation-delay: 3.1s; }
.gk-jq-stars i:nth-child(6)  { left: 49%; top: 82%; animation-delay: 1.7s; width: 1.5px; height: 1.5px; }
.gk-jq-stars i:nth-child(7)  { left: 56%; top: 22%; animation-delay: 0.4s; width: 2.5px; height: 2.5px; }
.gk-jq-stars i:nth-child(8)  { left: 63%; top: 64%; animation-delay: 2.6s; }
.gk-jq-stars i:nth-child(9)  { left: 70%; top: 16%; animation-delay: 1.4s; width: 1.5px; height: 1.5px; }
.gk-jq-stars i:nth-child(10) { left: 76%; top: 78%; animation-delay: 3.5s; }
.gk-jq-stars i:nth-child(11) { left: 82%; top: 28%; animation-delay: 0.9s; width: 1.5px; height: 1.5px; }
.gk-jq-stars i:nth-child(12) { left: 88%; top: 70%; animation-delay: 2.0s; width: 2.5px; height: 2.5px; }
.gk-jq-stars i:nth-child(13) { left: 93%; top: 22%; animation-delay: 2.9s; width: 1.5px; height: 1.5px; }
.gk-jq-stars i:nth-child(14) { left: 52%; top: 48%; animation-delay: 1.9s; width: 1.5px; height: 1.5px; }

@keyframes gkStarTwinkle {
  0%, 100% { opacity: 0.16; transform: scale(0.8); }
  50%      { opacity: 0.85; transform: scale(1.2); }
}

/* 左侧旋转节气圆盘（克制细金边框） */
.gk-jq-wheel-box {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(243, 220, 169, 0.72), rgba(104, 196, 154, 0.48));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gk-jq-banner:hover .gk-jq-wheel-box {
  transform: scale(1.05);
}

.gk-jq-wheel-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: gkJqSlowSpin 54s linear infinite;
  will-change: transform;
}

@keyframes gkJqSlowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 沉静诗意文案区 */
.gk-jq-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
}

.gk-jq-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
}

.gk-jq-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1c1205;
  background: linear-gradient(120deg, #f3dca9 0%, #d9b473 100%);
}

.gk-jq-pill i {
  display: inline-block;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #9e2d20;
}

.gk-jq-now {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #8fdab8;
  font-weight: 500;
}

.gk-jq-title {
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  line-height: 1.3;
}

.gk-jq-title strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #f9efdc;
}

.gk-jq-sep {
  color: rgba(217, 180, 115, 0.55);
  font-weight: 400;
}

.gk-jq-poetic {
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(246, 239, 226, 0.84);
}

/* 右侧四季微缩胶片展板 */
.gk-jq-thumbs {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.gk-jq-thumb {
  position: relative;
  display: block;
  width: 45px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(235, 220, 192, 0.22);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.gk-jq-thumb:nth-child(odd)  { transform: translateY(-2px); }
.gk-jq-thumb:nth-child(even) { transform: translateY(2px); }

.gk-jq-banner:hover .gk-jq-thumb {
  border-color: rgba(243, 220, 169, 0.62);
}
.gk-jq-banner:hover .gk-jq-thumb:nth-child(odd)  { transform: translateY(-3.5px); }
.gk-jq-banner:hover .gk-jq-thumb:nth-child(even) { transform: translateY(0.5px); }

.gk-jq-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gk-jq-thumb em {
  position: absolute;
  inset: auto 0 0 0;
  font-style: normal;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
  color: #fffaf0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 15, 0.82) 100%);
}

/* 鎏金按钮（干净无多余光晕） */
.gk-jq-cta {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1c1205;
  background: linear-gradient(120deg, #f5e2b8 0%, #dfba75 55%, #c79445 100%);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.gk-jq-banner:hover .gk-jq-cta {
  transform: translateX(3px);
  filter: brightness(1.06);
}

/* ---------------- 2. 左侧栏 & 抽屉二级菜单：像素级对齐 + 清晰选中高亮 ---------------- */
#mainnavmenu.gk-side-menu .gk-side-sub {
  margin: 4px 0 8px 3px !important;
  padding: 4px 0 4px 10px !important;
  border-left: 1px solid rgba(239, 139, 100, 0.26) !important;
}

#mainnavmenu.gk-side-menu .gk-side-sub > li,
#mainnavmenu.gk-side-menu .gk-side-sub > li.gk-side-blog {
  margin: 2px 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 未选中状态：摄影博文与全部 8 个摄影分类左边界 100% 像素对齐 */
#mainnavmenu.gk-side-menu .gk-side-sub > li:not(.is-on) > a,
#mainnavmenu.gk-side-menu .gk-side-sub > li:not(.gk-side-blog):not(.is-on) > a,
#mainnavmenu.gk-side-menu .gk-side-sub > li.gk-side-blog:not(.is-on) > a {
  display: flex !important;
  align-items: center !important;
  gap: 7px;
  padding: 6px 10px !important;
  border-radius: 7px;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62) !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

#mainnavmenu.gk-side-menu .gk-side-sub > li:not(.is-on) > a:hover,
#mainnavmenu.gk-side-menu .gk-side-sub > li:not(.gk-side-blog):not(.is-on) > a:hover,
#mainnavmenu.gk-side-menu .gk-side-sub > li.gk-side-blog:not(.is-on) > a:hover {
  padding-left: 10px !important;
  color: #f8f1e4 !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* 选中高亮状态：点击进入某个分类/摄影博文时，鎏金实底高亮胶囊明显区分 */
#mainnavmenu.gk-side-menu .gk-side-sub > li.is-on > a,
#mainnavmenu.gk-side-menu .gk-side-sub > li.is-on > a:hover,
#mainnavmenu.gk-side-menu .gk-side-sub > li.gk-side-blog.is-on > a,
#mainnavmenu.gk-side-menu .gk-side-sub > li.gk-side-blog.is-on > a:hover {
  display: flex !important;
  align-items: center !important;
  gap: 7px;
  padding: 6px 11px !important;
  border-radius: 8px !important;
  background: linear-gradient(125deg, #ffe7b2 0%, #ecc06c 55%, #dc9f3d 100%) !important;
  color: #2b1a04 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px -3px rgba(236, 192, 108, 0.58) !important;
}

/* 摄影博文 Hot 角标：紧邻文字右侧 + 60fps 纯 GPU 丝滑流光 */
#mainnavmenu.gk-side-menu .gk-side-sub li.gk-side-blog .gk-hot {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin-left: 6px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 17px;
  padding: 0 6px !important;
  border-radius: 999px;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: linear-gradient(125deg, #f27452 0%, #d93f2b 100%);
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  box-shadow: none !important;
  animation: none !important;
}

#mainnavmenu.gk-side-menu .gk-side-sub li.gk-side-blog .gk-hot::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 65%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: translate3d(-160%, 0, 0) skewX(-22deg);
  animation: gkBadgeGlint 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

@keyframes gkBadgeGlint {
  0%, 55% { transform: translate3d(-160%, 0, 0) skewX(-22deg); }
  100%    { transform: translate3d(280%, 0, 0) skewX(-22deg); }
}

/* ---------------- 3. 手机端顶部分类条「二十四节气」高亮胶囊 ---------------- */
.gk-chip-jieqi {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  color: #1c1205 !important;
  font-weight: 700 !important;
  border-color: rgba(243, 220, 169, 0.7) !important;
  background: linear-gradient(120deg, #f3dca9 0%, #dfba77 55%, #c79549 100%) !important;
  box-shadow: 0 3px 12px rgba(217, 180, 115, 0.32);
}

.gk-chip-jieqi i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a2b1f;
}

/* ---------------- 响应式适配 ---------------- */
@media only screen and (max-width: 1220px) {
  .gk-jq-thumbs { display: none; }
}

@media only screen and (max-width: 991.98px) {
  .gk-jq-banner {
    gap: 11px;
    padding: 11px 13px;
  }
  .gk-jq-wheel-box {
    width: 44px;
    height: 44px;
  }
  .gk-jq-eyebrow {
    gap: 6px;
    margin-bottom: 3px;
  }
  .gk-jq-pill {
    padding: 1.5px 7px;
    font-size: 9.5px;
  }
  .gk-jq-now {
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }
  .gk-jq-title {
    flex-direction: column;
    gap: 1px;
  }
  .gk-jq-sep { display: none; }
  .gk-jq-title strong {
    font-size: 15.5px;
    letter-spacing: 0.12em;
  }
  .gk-jq-poetic {
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: rgba(246, 239, 226, 0.78);
  }
  .gk-jq-cta {
    height: 29px;
    padding: 0 11px;
    font-size: 11.5px;
    gap: 4px;
  }
}

@media only screen and (max-width: 400px) {
  .gk-jq-banner {
    gap: 9px;
    padding: 10px 11px;
  }
  .gk-jq-wheel-box {
    width: 40px;
    height: 40px;
  }
  .gk-jq-cta-text { display: none; }
  .gk-jq-cta {
    width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-jq-stars i,
  .gk-jq-wheel-box img,
  #mainnavmenu.gk-side-menu .gk-side-sub li.gk-side-blog .gk-hot::after { animation: none !important; }
}
