/* 案例详情 */
.meta-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
}

.meta-card {
  background: #f3eee4;
  padding: 16px 14px;
  min-height: 88px;
}

.meta-card .lab {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.meta-card b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #2a2a2a;
}

.meta-card--accent b {
  color: var(--green);
}

.case-hero-shot {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 420px;
  background: #ddd;
}

.case-hero-shot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero-shot-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px 18px;
  background: linear-gradient(180deg, rgba(8, 12, 10, 0) 0%, rgba(8, 12, 10, 0.72) 100%);
  min-height: 96px;
  pointer-events: none;
}

.case-hero-shot-bar .case-hero-shot-cap,
.case-hero-shot-bar .shot-zoom {
  pointer-events: auto;
}

.case-hero-shot-cap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: calc(100% - 56px);
}

.shot-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: rgba(47, 107, 58, 0.95);
  color: #fff;
  font-size: 12px;
  border-radius: 2px;
}

.shot-caption {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.shot-zoom {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' stroke='%232a2a2a' stroke-width='1.8'/%3E%3Cpath stroke='%232a2a2a' stroke-width='1.8' d='M15 15l5 5'/%3E%3C/svg%3E") center/18px no-repeat;
  cursor: zoom-in;
  pointer-events: auto;
}

/* 图片灯箱 */
body.case-lightbox-open {
  overflow: hidden;
}

.case-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(8, 12, 10, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.case-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.case-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.case-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.case-lightbox-inner {
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.intro-copy {
  margin-top: 40px;
  padding: 48px 56px 52px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: #f9f6ef;
}

.intro-copy .sec-kicker {
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.04em;
}

.intro-copy .sec-kicker::before {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--green-dark);
}

.intro-copy p,
.intro-copy li,
.intro-copy .editor-content {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.75;
}

.intro-copy p {
  margin: 0 0 1.15em;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .intro-copy {
    padding: 32px 24px 36px;
  }
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.shot-item {
  background: #fff;
  border: 1px solid #ebe4d8;
}

.shot-item-media {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #ddd;
}

.shot-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M8 3H3v5M16 3h5v5M8 21H3v-5M16 21h5v-5'/%3E%3C/svg%3E") center/14px no-repeat;
  pointer-events: none;
}

.shot-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid #f0ebe3;
}

.shot-item-caption {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #3a3a3a;
  line-height: 1.5;
}

.shot-item-tag {
  flex-shrink: 0;
  font-size: 12px;
  color: #9a9488;
}

.rel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rel-card .thumb {
  height: 150px;
  overflow: hidden;
  background: #ddd;
}

.rel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 6px;
}

.rel-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.rel-card .go {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .meta-row,
  .rel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .meta-row,
  .shot-grid,
  .rel-grid {
    grid-template-columns: 1fr;
  }

  .case-hero-shot {
    height: 260px;
  }

  .shot-item-media {
    height: 220px;
  }

  .shot-caption {
    font-size: 13px;
  }
}
