/* jinghe.com · 专业摄影门户 v3.0 */
:root {
  --jh-primary: #141414;
  --jh-primary-light: #2C2C2C;
  --jh-accent: #C9A84C;
  --jh-accent-hover: #B8943A;
  --jh-bg: #F3F3F1;
  --jh-bg-white: #FFFFFF;
  --jh-text: #1A1A1A;
  --jh-text-muted: #6B6B6B;
  --jh-text-light: #9A9A9A;
  --jh-border: #E4E4E0;
  --jh-danger: #C0392B;
  --jh-container: 1200px;
  --jh-header-h: 68px;
  --jh-radius: 4px;
  --jh-shadow: 0 2px 12px rgba(20, 20, 20, 0.06);
  --jh-shadow-lg: 0 8px 28px rgba(20, 20, 20, 0.1);
  --jh-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --jh-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --jh-serif: "Noto Serif SC", "Songti SC", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--jh-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--jh-text);
  background: var(--jh-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--jh-transition); }
a:hover { color: var(--jh-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input { font-family: inherit; border: none; outline: none; background: none; }
.container {
  width: 100%;
  max-width: var(--jh-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* —— Header —— */
.jh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--jh-header-h);
  background: var(--jh-primary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.jh-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--jh-header-h);
}
.jh-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #fff !important;
}
.jh-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.jh-logo__name {
  font-family: var(--jh-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #fff;
}
.jh-logo__name::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  margin-bottom: 2px;
  background: var(--jh-accent);
  border-radius: 1px;
  vertical-align: middle;
}
.jh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.jh-nav__link {
  padding: 8px 10px;
  color: rgba(255,255,255,0.72) !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--jh-radius);
  position: relative;
}
.jh-nav__link:hover,
.jh-nav__link.active,
.jh-nav__link.on {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.jh-nav__link.active::after,
.jh-nav__link.on::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--jh-accent);
}
.jh-header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.jh-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--jh-radius);
  overflow: hidden;
  width: 200px;
}
.jh-search input {
  flex: 1;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  min-width: 0;
}
.jh-search input::placeholder { color: rgba(255,255,255,0.4); }
.jh-search button {
  padding: 8px 12px;
  color: var(--jh-accent);
  cursor: pointer;
}
.jh-auth {
  display: flex;
  gap: 8px;
}
.jh-auth a {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--jh-radius);
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.2);
}
.jh-auth a:hover {
  border-color: var(--jh-accent);
  color: var(--jh-accent) !important;
}
.jh-auth a.jh-auth--reg {
  background: var(--jh-accent);
  border-color: var(--jh-accent);
  color: var(--jh-primary) !important;
}
.jh-auth a.jh-auth--reg:hover {
  background: var(--jh-accent-hover);
  border-color: var(--jh-accent-hover);
  color: var(--jh-primary) !important;
}
.jh-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}
.jh-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
}
.jh-nav-overlay.open { display: block; }

/* —— Buttons —— */
.jh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--jh-radius);
  cursor: pointer;
  transition: all var(--jh-transition);
}
.jh-btn--primary {
  background: var(--jh-accent);
  color: var(--jh-primary) !important;
}
.jh-btn--primary:hover {
  background: var(--jh-accent-hover);
  color: var(--jh-primary) !important;
}
.jh-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.45);
}
.jh-btn--ghost:hover {
  border-color: var(--jh-accent);
  color: var(--jh-accent) !important;
}

/* —— Page head —— */
.jh-page-head {
  background: var(--jh-primary);
  padding: 40px 0 36px;
  color: #fff;
  text-align: center;
}
.jh-page-head__title {
  font-family: var(--jh-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.jh-page-head__sub {
  margin-top: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
.jh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 16px 0;
  font-size: 13px;
  color: var(--jh-text-muted);
}
.jh-breadcrumb a:hover { color: var(--jh-accent); }

/* —— Section —— */
.jh-section {
  padding: 40px 0;
}
.jh-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--jh-primary);
}
.jh-section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jh-accent);
  margin-bottom: 4px;
}
.jh-section__title {
  font-family: var(--jh-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--jh-primary);
  letter-spacing: 0.01em;
}
.jh-section__more {
  font-size: 13px;
  color: var(--jh-text-muted);
  white-space: nowrap;
}
.jh-section__more:hover { color: var(--jh-accent); }
.jh-section__more i { margin-left: 4px; font-size: 11px; }

.jh-sec { padding: 56px 0; }
.jh-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--jh-primary);
}

/* —— ① Hero 大气焦点 —— */
.jh-hero {
  padding: 32px 0 12px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(201,168,76,0.08), transparent 55%),
    var(--jh-bg);
}
.jh-hero__grid {
  display: grid;
  grid-template-columns: 1.75fr 0.9fr;
  gap: 24px;
  min-height: 560px;
}
.jh-hero__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--jh-radius);
  background: var(--jh-primary);
  min-height: 560px;
  display: block;
}
.jh-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.jh-hero__main:hover .jh-hero__img { transform: scale(1.05); }
.jh-hero__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 48%, rgba(0,0,0,0.2) 100%);
}
.jh-hero__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 48px 44px;
  max-width: 640px;
  color: #fff;
}
.jh-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  background: var(--jh-accent);
  color: var(--jh-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.jh-hero__title {
  font-family: var(--jh-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #fff !important;
}
.jh-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 22px;
}
.jh-hero__side {
  background: var(--jh-primary);
  color: #fff;
  border-radius: var(--jh-radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  counter-reset: hero-story;
}
.jh-hero__side-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.jh-hero__side-head span {
  font-family: var(--jh-serif);
  font-size: 18px;
  font-weight: 700;
}
.jh-hero__side-head em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--jh-accent);
}
.jh-hero__story {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff !important;
  counter-increment: hero-story;
}
.jh-hero__story:last-child { border-bottom: none; }
.jh-hero__story-num {
  font-family: var(--jh-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--jh-accent);
  line-height: 1.2;
}
.jh-hero__story-num::before { content: counter(hero-story, decimal-leading-zero); }
.jh-hero__story strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 6px;
}
.jh-hero__story em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.jh-hero__story:hover strong { color: var(--jh-accent); }

/* —— Channels —— */
.jh-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 8px;
}
.jh-channels a {
  padding: 8px 18px;
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--jh-text);
}
.jh-channels a:hover {
  border-color: var(--jh-accent);
  color: var(--jh-accent);
  background: #fff;
}

/* —— ② 杂志拼贴 Mosaic —— */
.jh-sec--mosaic { padding-top: 40px; }
.jh-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  min-height: 560px;
}
.jh-mosaic__lead {
  position: relative;
  overflow: hidden;
  border-radius: var(--jh-radius);
  background: var(--jh-primary);
  min-height: 560px;
  display: block;
}
.jh-mosaic__lead img,
.jh-mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.jh-mosaic__lead:hover img,
.jh-mosaic__tile:hover img { transform: scale(1.06); }
.jh-mosaic__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 55%);
}
.jh-mosaic__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 32px;
  color: #fff;
}
.jh-mosaic__copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--jh-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jh-mosaic__copy h3 {
  font-family: var(--jh-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
}
.jh-mosaic__copy p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jh-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.jh-mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--jh-radius);
  background: var(--jh-primary);
  min-height: 270px;
  display: block;
}
.jh-mosaic__tile h4 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— ③ 图文编辑行 Editorial —— */
.jh-sec--editorial {
  background: var(--jh-bg-white);
  border-top: 1px solid var(--jh-border);
  border-bottom: 1px solid var(--jh-border);
}
.jh-editorial { display: flex; flex-direction: column; gap: 28px; }
.jh-editorial__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 8px 0;
}
.jh-editorial__row:nth-child(even) .jh-editorial__media { order: 2; }
.jh-editorial__row:nth-child(even) .jh-editorial__text { order: 1; padding-left: 8px; }
.jh-editorial__media {
  overflow: hidden;
  border-radius: var(--jh-radius);
  background: var(--jh-primary);
  aspect-ratio: 16/10;
}
.jh-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.jh-editorial__row:hover .jh-editorial__media img { transform: scale(1.04); }
.jh-editorial__tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--jh-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.jh-editorial__text h3 {
  font-family: var(--jh-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: var(--jh-primary);
}
.jh-editorial__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--jh-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.jh-editorial__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--jh-text-light);
}
.jh-editorial__cta {
  color: var(--jh-primary);
  font-weight: 600;
}
.jh-editorial__row:hover .jh-editorial__cta { color: var(--jh-accent); }

/* —— ④ 全宽暗色作品廊 —— */
.jh-gallery {
  background: var(--jh-primary);
  padding: 64px 0 72px;
  color: #fff;
}
.jh-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.jh-gallery .jh-section__title { color: #fff; }
.jh-gallery .jh-section__label { margin-bottom: 6px; }
.jh-gallery__sub {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.jh-gallery__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.jh-gallery__card {
  position: relative;
  aspect-ratio: 3/4.2;
  overflow: hidden;
  border-radius: var(--jh-radius);
  background: #000;
  display: block;
}
.jh-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: saturate(0.92);
}
.jh-gallery__card:hover img {
  transform: scale(1.07);
  filter: saturate(1.05);
}
.jh-gallery__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
}
.jh-gallery__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  z-index: 1;
}
.jh-gallery__caption em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--jh-accent);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.jh-gallery__caption strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— ⑤ 资讯双栏 Portal —— */
.jh-sec--portal { padding-top: 56px; padding-bottom: 20px; }
.jh-portal {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding-bottom: 40px;
  align-items: start;
}
.jh-news-panel {
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  padding: 8px 24px;
}
.jh-news {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--jh-border);
}
.jh-news:last-child { border-bottom: none; }
.jh-news__img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--jh-bg);
  transition: opacity var(--jh-transition);
}
.jh-news:hover .jh-news__img { opacity: 0.88; }
.jh-news__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jh-news__desc {
  font-size: 13px;
  color: var(--jh-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.jh-news__meta {
  font-size: 12px;
  color: var(--jh-text-light);
  display: flex;
  gap: 14px;
}

/* —— Card grid（列表/搜索复用） —— */
.jh-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.jh-card {
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  overflow: hidden;
  transition: transform var(--jh-transition), box-shadow var(--jh-transition);
}
.jh-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--jh-shadow-lg);
}
.jh-card__cover {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--jh-primary);
}
.jh-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.jh-card:hover .jh-card__cover img { transform: scale(1.06); }
.jh-card__body { padding: 14px 14px 16px; }
.jh-card__tag {
  font-size: 11px;
  color: var(--jh-accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.jh-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.jh-card__meta {
  margin-top: 10px;
  font-size: 12px;
  color: var(--jh-text-light);
  display: flex;
  justify-content: space-between;
}

/* —— Sidebar —— */
.jh-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--jh-header-h) + 16px);
}
.jh-widget {
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  padding: 18px 18px 12px;
}
.jh-widget__title {
  font-family: var(--jh-serif);
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--jh-primary);
  position: relative;
}
.jh-widget__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--jh-accent);
}
.jh-widget-links li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px dashed var(--jh-border);
  font-size: 14px;
  color: var(--jh-text);
}
.jh-widget-links li:last-child a { border-bottom: none; }
.jh-widget-links li a:hover { color: var(--jh-accent); padding-left: 4px; }
.jh-rank-list { counter-reset: jh-rank; }
.jh-rank-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--jh-border);
  counter-increment: jh-rank;
}
.jh-rank-item:last-child { border-bottom: none; }
.jh-rank-item__num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--jh-bg);
  color: var(--jh-text-muted);
  border-radius: 2px;
}
.jh-rank-item__num::before { content: counter(jh-rank); }
.jh-rank-item:nth-child(-n+3) .jh-rank-item__num {
  background: var(--jh-primary);
  color: var(--jh-accent);
}
.jh-rank-item__img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.jh-rank-item__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— List / Search —— */
.jh-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 18px;
  font-size: 13px;
  color: var(--jh-text-muted);
}
.jh-toolbar strong { color: var(--jh-accent); }
.jh-search-box {
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.jh-search-box input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  font-size: 15px;
  background: var(--jh-bg);
}
.jh-search-box button {
  padding: 12px 24px;
  background: var(--jh-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--jh-radius);
  cursor: pointer;
}
.jh-search-box button:hover { background: var(--jh-primary-light); }
.jh-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--jh-text-light);
  background: var(--jh-bg-white);
  border: 1px dashed var(--jh-border);
  border-radius: var(--jh-radius);
}
.jh-empty i { font-size: 40px; margin-bottom: 12px; display: block; }

/* —— Detail —— */
.jh-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  padding: 28px;
  margin-bottom: 24px;
}
.jh-detail__gallery { min-width: 0; }
.jh-detail__main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--jh-radius);
  background: var(--jh-bg);
}
.jh-detail__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.jh-detail__thumbs img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.75;
}
.jh-detail__thumbs img:hover,
.jh-detail__thumbs img.is-active {
  border-color: var(--jh-accent);
  opacity: 1;
}
.jh-detail__info { min-width: 0; }
.jh-detail__title {
  font-family: var(--jh-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.jh-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--jh-text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--jh-border);
}
.jh-detail__desc {
  font-size: 14px;
  color: var(--jh-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.jh-detail__props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.jh-detail__prop {
  font-size: 14px;
  color: var(--jh-text-muted);
}
.jh-detail__prop span {
  color: var(--jh-text);
  font-weight: 600;
}
.jh-detail__prop--full { grid-column: 1 / -1; }
.jh-detail__tip {
  margin-top: 18px;
  padding: 12px 14px;
  background: #FBF6EA;
  border-left: 3px solid var(--jh-accent);
  font-size: 13px;
  color: var(--jh-text-muted);
  grid-column: 1 / -1;
}
.jh-detail__content {
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.jh-detail__content-title {
  font-family: var(--jh-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--jh-primary);
}
.jh-detail__content .std,
.jh-detail__content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--jh-text);
}
.jh-detail__content img {
  max-width: 100%;
  margin: 16px auto;
  border-radius: var(--jh-radius);
}
.jh-detail__content p { margin-bottom: 1em; }
.jh-related { margin-bottom: 48px; }

/* —— Single page —— */
.jh-single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  padding: 28px 0 48px;
  align-items: start;
}
.jh-single {
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  padding: 36px 40px;
  font-size: 15px;
  line-height: 1.95;
}
.jh-single h1, .jh-single h2, .jh-single h3 {
  font-family: var(--jh-serif);
  margin: 1.2em 0 0.6em;
}
.jh-single img { margin: 16px 0; border-radius: var(--jh-radius); }
.jh-single p { margin-bottom: 1em; }

/* —— Pagination —— */
.jh-pagination,
.h-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 28px 0 40px;
}
.jh-pagination ul,
.h-page ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.jh-pagination li,
.h-page li { list-style: none; }
.jh-pagination a,
.jh-pagination span,
.h-page a,
.h-page span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: var(--jh-bg-white);
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  font-size: 14px;
  color: var(--jh-text);
}
.jh-pagination .active a,
.jh-pagination .current,
.h-page .active a,
.h-page .current {
  background: var(--jh-primary) !important;
  border-color: var(--jh-primary) !important;
  color: var(--jh-accent) !important;
}

/* —— Footer —— */
.jh-footer {
  background: var(--jh-primary);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 28px;
  margin-top: 20px;
}
.jh-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}
.jh-footer__brand {
  font-family: var(--jh-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.jh-footer__brand::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  background: var(--jh-accent);
  vertical-align: middle;
}
.jh-footer__desc { font-size: 13px; line-height: 1.8; max-width: 360px; }
.jh-footer__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.jh-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: var(--jh-accent);
}
.jh-footer__links a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.jh-footer__links a:hover {
  color: var(--jh-accent);
  padding-left: 4px;
}
.jh-footer__contact li {
  font-size: 13px;
  padding: 6px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.jh-footer__contact i {
  color: var(--jh-accent);
  margin-top: 3px;
  width: 14px;
}
.jh-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  color: rgba(255,255,255,0.45);
}
.jh-footer__bottom a { color: var(--jh-accent); }

/* —— Back top —— */
.jh-backtop {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jh-primary);
  color: var(--jh-accent);
  border-radius: var(--jh-radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--jh-transition);
  z-index: 900;
  box-shadow: var(--jh-shadow-lg);
}
.jh-backtop.show {
  opacity: 1;
  visibility: visible;
}
.jh-backtop:hover { background: var(--jh-accent); color: var(--jh-primary); }

/* —— Reveal —— */
.jh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.jh-reveal.visible {
  opacity: 1;
  transform: none;
}

/* —— Inner page spacing —— */
.page-inner .jh-main { padding-bottom: 20px; }

/* —— Responsive —— */
@media (max-width: 1024px) {
  .jh-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .jh-hero__main { min-height: 420px; }
  .jh-mosaic { grid-template-columns: 1fr; min-height: auto; }
  .jh-mosaic__lead { min-height: 380px; }
  .jh-mosaic__tile { min-height: 200px; }
  .jh-editorial__row,
  .jh-editorial__row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .jh-editorial__row:nth-child(even) .jh-editorial__media,
  .jh-editorial__row:nth-child(even) .jh-editorial__text { order: initial; }
  .jh-gallery__track { grid-template-columns: repeat(3, 1fr); }
  .jh-portal { grid-template-columns: 1fr; }
  .jh-side { position: static; }
  .jh-card-grid { grid-template-columns: repeat(3, 1fr); }
  .jh-detail { grid-template-columns: 1fr; }
  .jh-single-layout { grid-template-columns: 1fr; }
  .jh-footer__grid { grid-template-columns: 1fr 1fr; }
  .jh-search { width: 160px; }
}
@media (max-width: 768px) {
  .jh-menu-btn { display: flex; }
  .jh-nav {
    position: fixed;
    top: var(--jh-header-h);
    left: 0;
    right: 0;
    background: var(--jh-primary-light);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }
  .jh-nav.open {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
  }
  .jh-search { display: none; }
  .jh-logo__name { font-size: 18px; }
  .jh-sec { padding: 40px 0; }
  .jh-hero__body { padding: 28px 22px; }
  .jh-hero__title { font-size: 26px; }
  .jh-mosaic__grid { grid-template-columns: 1fr 1fr; }
  .jh-gallery { padding: 48px 0 56px; }
  .jh-gallery__track { grid-template-columns: repeat(2, 1fr); }
  .jh-gallery__head { flex-direction: column; align-items: flex-start; }
  .jh-card-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-news { grid-template-columns: 100px 1fr; gap: 12px; }
  .jh-news__img { width: 100px; height: 72px; }
  .jh-detail__props { grid-template-columns: 1fr; }
  .jh-single { padding: 24px 18px; }
  .jh-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .jh-page-head__title { font-size: 24px; }
  .jh-section__title { font-size: 22px; }
  .jh-auth a { padding: 5px 10px; font-size: 12px; }
}
@media (max-width: 480px) {
  .jh-card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .jh-mosaic__grid { gap: 10px; }
  .jh-gallery__track { gap: 10px; }
}
