/* ===========================================================
   摄影站 — 样式表（固定暗色）
   设计原则：留白优先、照片优先、装饰最少。
   字体：全站思源黑体（Source Han Sans CN），按实际用字裁剪为 woff2
         （scripts/build_font_subset.py 生成，两个权重合计约 220KB）
   =========================================================== */

@font-face {
  font-family: "SHSans";
  src: url("../fonts/shs-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SHSans";
  src: url("../fonts/shs-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 全站固定暗色（不再提供明暗切换） */
  --bg: #0d0c0b;
  --bg-soft: #161514;
  --fg: #f2efea;
  --fg-soft: #b8b2a9;
  --muted: #847e76;
  --line: #262422;
  --line-strong: #3a3633;
  --accent: #f2efea;
  --header-bg: rgba(13, 12, 11, .82);
  --shadow: 0 8px 30px rgba(0, 0, 0, .5);
  --radius: 2px;

  /* 全站唯一字体：思源黑体；缺字时按顺序回落到系统里的同族字体 */
  --font-sans: "SHSans", "Source Han Sans CN", "Source Han Sans SC",
               "Noto Sans SC", "思源黑体 CN", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: var(--font-sans);

  --header-h: 64px;
  --gap: 18px;
  --page-max: 1560px;
  --pad: 40px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .28s ease, color .28s ease;
}

body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 999;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: .04em;
}

.brand-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fg);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-mark { transform: scale(1.6); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  padding: 7px 12px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 999px;
  transition: color .22s ease, background-color .22s ease;
}
.nav-link:hover { color: var(--fg); }
.nav-link[aria-current="page"] {
  color: var(--fg);
  background: var(--bg-soft);
}

.nav-link .n {
  font-size: 11px;
  color: var(--muted);
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--fg-soft);
  transition: background-color .2s ease, color .2s ease;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--fg); }

.menu-btn { display: none; }

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--fg);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-scrolled .header-progress { opacity: .5; }

/* --- 覆盖在首屏照片上时：透明底 + 白字 --- */
.site-header.is-over-hero {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #fff;
}
.site-header.is-over-hero .brand-mark { background: #fff; }
.site-header.is-over-hero .nav-link { color: rgba(255, 255, 255, .72); }
.site-header.is-over-hero .nav-link:hover { color: #fff; }
.site-header.is-over-hero .nav-link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}
.site-header.is-over-hero .nav-link .n { color: rgba(255, 255, 255, .5); }
.site-header.is-over-hero .icon-btn { color: rgba(255, 255, 255, .86); }
.site-header.is-over-hero .icon-btn:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
/* 手机端下拉菜单是实底，展开后文字回到常规色 */
.site-header.is-over-hero .nav.is-open { background: var(--bg); }
.site-header.is-over-hero .nav.is-open .nav-link { color: var(--fg-soft); }
.site-header.is-over-hero .nav.is-open .nav-link[aria-current="page"] {
  color: var(--fg);
  background: var(--bg-soft);
}
.site-header.is-over-hero .nav.is-open .nav-link .n { color: var(--muted); }

/* ---------------- 首屏 Hero ---------------- */

main { display: block; }

.hero {
  position: relative;
  isolation: isolate;          /* 内部层级自成上下文，不干扰 header / viewer */
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  margin-top: calc(var(--header-h) * -1);  /* 钻到 header 底下，实现真正满屏 */
  overflow: hidden;
  background: #0c0b0a;
  color: #fff;
}
@supports (height: 100dvh) {
  .hero { min-height: 100dvh; }   /* 移动端地址栏收放不跳动 */
}

/* 层 0：最新作品封面 */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.03);
  transition: opacity 1.1s ease, transform 9s ease-out;
  will-change: opacity, transform;
}
.hero-img.is-ready { opacity: 1; transform: scale(1); }

/* 层 1：压暗蒙版，保证任何照片上文字都读得清 */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* 顶部：给 header 压一层，向下快速减弱 */
    linear-gradient(to bottom,
      rgba(6, 6, 7, .62) 0%,
      rgba(6, 6, 7, .30) 10%,
      rgba(6, 6, 7, 0) 26%),
    /* 底部：文字区必须稳 */
    linear-gradient(to top,
      rgba(6, 6, 7, .93) 0%,
      rgba(6, 6, 7, .72) 22%,
      rgba(6, 6, 7, .24) 50%,
      rgba(6, 6, 7, .04) 72%),
    /* 左下聚焦，把视线带到名字上 */
    radial-gradient(120% 90% at 10% 92%, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 60%);
}

/* 层 2：内容 */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--pad) clamp(52px, 8vh, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.hero-lead { max-width: 600px; }

.hero-avatar {
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .48);
  margin-bottom: 22px;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.hero-name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}

.hero-bio {
  margin: 18px 0 0;
  max-width: 22em;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
  white-space: pre-line;   /* 签名换行由 profile.json 的换行符控制 */
  text-wrap: pretty;
  color: rgba(255, 255, 255, .84);
}

.hero-meta {
  margin: 14px 0 0;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
  font-variant-numeric: tabular-nums;
}

.hero-actions {
  margin-top: clamp(22px, 3vh, 34px);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #14110f;
  background: #fff;
  transition: transform .25s ease, background-color .25s ease;
}
.hero-cta:hover { transform: translateY(-1px); background: #f1efec; }
.hero-cta svg { opacity: .6; }

.hero-latest {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(48ch, 100%);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color .25s ease, border-color .25s ease;
}
.hero-latest:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
}
.hero-latest::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fe0ac;
  box-shadow: 0 0 0 3px rgba(143, 224, 172, .18);
}

/* 层 2 右侧：二维码玻璃卡（只有二维码本体 + 平台名，没有提示文案） */
.hero-connect {
  justify-self: end;
  padding: 14px;
  border-radius: 20px;
  background: rgba(12, 11, 10, .46);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .5);
}

.qr-row { display: flex; gap: 12px; justify-content: center; }

/* 配了链接时这里是 <a>，要显式 block 才能吃到宽度 */
.qr-tile { display: block; width: 128px; }

.qr-tile:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .75);
  outline-offset: 4px;
  border-radius: 16px;
}

.qr-frame {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  padding: 9px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-tile:hover .qr-frame {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .34);
}

.qr-label {
  display: block;
  margin-top: 9px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .8);
}

.hero-connect[hidden],
.hero-avatar[hidden],
.hero-latest[hidden],
.hero-eyebrow[hidden],
.hero-bio[hidden] { display: none !important; }

/* ---------------- 作品区 ---------------- */

.gallery-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--pad);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.gallery-head .section-title { margin: 0; }

.gallery-count {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.section-title {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: .01em;
}
.section-title .count {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
  margin-left: 10px;
  letter-spacing: .08em;
}

/* ---------------- Gallery (masonry) ---------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  grid-auto-rows: 4px;
  row-gap: 0;
  column-gap: var(--gap);
  padding-bottom: 40px;
}

.card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  contain: layout paint;
}

.card-media {
  width: 100%;
  height: calc(100% - var(--gap));
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

.card img.loaded { opacity: 1; transform: scale(1); }

.card:hover img { transform: scale(1.035); }

.card-meta {
  position: absolute;
  inset: auto 0 var(--gap) 0;
  padding: 42px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}

.card:hover .card-meta,
.card:focus-visible .card-meta {
  opacity: 1;
  transform: translateY(0);
}

.card-title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-date {
  font-size: 11px;
  opacity: .78;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.empty {
  padding: 80px 0 120px;
  text-align: center;
  color: var(--muted);
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 34px var(--pad) 46px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.footer-inner p { margin: 0; }

/* ---------------- Viewer / 详情 ---------------- */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  animation: viewerIn .26s ease both;
}

@keyframes viewerIn { from { opacity: 0; } to { opacity: 1; } }

.viewer[hidden] { display: none; }

.viewer-bar {
  flex: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 12px;
}

.viewer-count {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.viewer-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(12px, 5vw, 96px);
}

.viewer-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity .3s ease;
  box-shadow: var(--shadow);
}
.viewer-stage img.ready { opacity: 1; }

.viewer-info {
  flex: 0 0 auto;
  max-height: 40vh;
  overflow-y: auto;
  padding: 20px 0 30px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.viewer-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.35;
}

.viewer-caption {
  margin: 0;
  font-size: 14px;
  color: var(--fg-soft);
  white-space: pre-wrap;
  line-height: 1.75;
}

.viewer-date {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  z-index: 3;
  transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}
.viewer-nav:hover { background: var(--line); }
.viewer-nav.prev { left: 16px; }
.viewer-nav.next { right: 16px; }
.viewer-nav[disabled] { opacity: .25; cursor: default; }

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
  :root { --pad: 22px; --gap: 14px; }

  /* 首屏改为单列：内容贴底，照片留给上半屏 */
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 40px;
  }
  .hero-connect { justify-self: start; }
  .qr-frame { width: 112px; height: 112px; padding: 8px; }
  .qr-tile { width: 112px; }

  .gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 700px) {
  :root { --header-h: 56px; --pad: 16px; --gap: 10px; }

  .nav { display: none; }
  .menu-btn { display: inline-flex; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 12px 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 70;
  }
  .nav.is-open .nav-link {
    padding: 12px 12px;
    border-radius: 6px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
  }

  .hero-inner {
    gap: 24px;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }

  /* 手机竖屏照片占比大，压暗再重一点，保证名字与签名始终读得清 */
  .hero-veil {
    background:
      linear-gradient(to bottom,
        rgba(6, 6, 7, .58) 0%,
        rgba(6, 6, 7, .22) 9%,
        rgba(6, 6, 7, 0) 22%),
      linear-gradient(to top,
        rgba(6, 6, 7, .96) 0%,
        rgba(6, 6, 7, .88) 32%,
        rgba(6, 6, 7, .46) 58%,
        rgba(6, 6, 7, .10) 80%);
  }
  .hero-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }
  .hero-eyebrow { font-size: 10px; letter-spacing: .22em; margin-bottom: 10px; }
  .hero-name { font-size: clamp(34px, 11vw, 48px); }
  .hero-bio { margin-top: 14px; font-size: 14.5px; max-width: 21em; }
  .hero-meta { margin-top: 12px; font-size: 10.5px; letter-spacing: .12em; }
  .hero-actions { margin-top: 20px; gap: 10px; }
  .hero-cta { padding: 10px 18px; font-size: 13px; }
  .hero-latest { font-size: 11.5px; padding: 9px 14px; max-width: 100%; }
  .hero-connect { padding: 14px; border-radius: 16px; width: 100%; }
  .qr-frame { width: 96px; height: 96px; padding: 7px; border-radius: 12px; }
  .qr-tile { width: 96px; }
  .qr-label { font-size: 11px; margin-top: 7px; }

  .gallery-head { padding: 22px 0 18px; margin-bottom: 20px; }
  .section-title { font-size: 22px; }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-meta {
    opacity: 1;
    transform: none;
    padding: 30px 10px 9px;
    background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0));
  }
  .card-title { font-size: 11.5px; }
  .card-date { font-size: 10px; }
  .card-badge { top: 7px; right: 7px; font-size: 10px; padding: 2px 6px; }

  .viewer-nav { display: none; }
  .viewer-stage { padding: 0 12px; }
  .viewer-info {
    max-height: 42vh;
    padding: 16px 18px 24px;
    border-top: 1px solid var(--line);
  }
  .viewer-title { font-size: 18px; }
  .viewer-caption { font-size: 13.5px; }

  .footer-inner { flex-direction: column; gap: 6px; }
}

@media (max-width: 380px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

/* 横屏矮屏：压缩首屏，别让二维码被挤出屏幕 */
@media (max-height: 560px) and (min-width: 700px) {
  .hero { min-height: 560px; }
  .hero-inner {
    gap: 24px;
    padding-top: calc(var(--header-h) + 18px);
    padding-bottom: 26px;
  }
  .hero-avatar { width: 56px; height: 56px; margin-bottom: 12px; }
  .hero-name { font-size: 42px; }
  .hero-bio { display: none; }
  .hero-meta { margin-top: 8px; }
  .hero-actions { margin-top: 16px; }
  .qr-frame { width: 92px; height: 92px; padding: 7px; }
  .qr-tile { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 打印时只留图片网格 */
@media print {
  .site-header, .site-footer, .viewer, .hero { display: none !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .card-meta { position: static; opacity: 1; color: #000; background: none; }
}
