/* 匠心工艺 - 画册式编排 */

.craft-section-new {
  padding: 6rem 0 7rem;
  background:
    radial-gradient(circle at top right, rgba(194, 163, 107, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f4ef 0%, #f2efe9 100%);
}

.craft-section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.craft-section-header .section-label {
  display: inline-block;
  margin-bottom: 0.875rem;
  font-family: var(--font-en-display);
  font-size: 0.75rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.craft-section-header .section-title {
  margin-bottom: 0.875rem;
}

.craft-section-header .section-subtitle {
  max-width: 34rem;
  margin: 0 auto;
  font-family: var(--font-zh-serif);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  letter-spacing: 0.08rem;
}

.craft-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.craft-panel {
  position: relative;
  display: grid;
  min-height: 18rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(28, 26, 25, 0.08);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.craft-panel::before {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(162, 171, 165, 0.26);
  z-index: 0;
}

.craft-panel:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(194, 163, 107, 0.3);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.09);
}

.craft-panel-lead {
  grid-column: span 7;
  grid-template-columns: 4.3fr 3fr;
}

.craft-panel-lead::before {
  right: 1.4rem;
  top: 1.4rem;
}

.craft-panel-quote {
  grid-column: span 5;
  grid-template-columns: 1fr 1.08fr;
  background: #fbfaf7;
}

.craft-panel-quote::before {
  left: 1.2rem;
  bottom: 1.2rem;
}

.craft-panel-gold {
  grid-column: span 4;
  grid-template-rows: 13.5rem auto;
}

.craft-panel-gold::before {
  right: 1rem;
  top: 1rem;
}

.craft-panel-thangka {
  grid-column: span 8;
  grid-template-columns: 2.4fr 3.2fr;
}

.craft-panel-thangka::before {
  left: 1.4rem;
  top: 1.4rem;
}

.craft-panel-wide {
  grid-column: span 12;
  grid-template-columns: 4.5fr 5.5fr;
  min-height: 20rem;
  background: linear-gradient(90deg, #fcfbf8 0%, #f4f1eb 100%);
}

.craft-panel-wide::before {
  right: 2rem;
  top: 2rem;
  width: 6rem;
  height: 6rem;
}

.craft-panel-media,
.craft-panel-copy {
  position: relative;
  z-index: 1;
}

.craft-panel-media {
  overflow: hidden;
}

.craft-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.craft-panel:hover .craft-panel-media img {
  transform: scale(1.045);
  filter: grayscale(18%);
}

.craft-media-portrait {
  min-height: 100%;
}

.craft-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 1.75rem;
}

.craft-panel-kicker {
  margin-bottom: 0.75rem;
  font-family: var(--font-en-display);
  font-size: 0.68rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.craft-panel-copy h3 {
  margin-bottom: 0.875rem;
  font-family: var(--font-zh-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.05rem;
  color: var(--text-primary);
}

.craft-panel-copy p {
  max-width: 28rem;
  margin: 0;
  font-family: var(--font-zh-serif);
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--text-secondary);
}

.craft-panel-quote-text {
  margin-bottom: 0.875rem !important;
  padding-left: 1rem;
  border-left: 2px solid rgba(194, 163, 107, 0.7);
  color: var(--text-primary) !important;
}

.craft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.craft-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.8rem;
  border: 1px solid rgba(194, 163, 107, 0.25);
  background: rgba(194, 163, 107, 0.08);
  font-size: 0.75rem;
  color: var(--accent-gold-hover);
}

.craft-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.craft-mini-list li {
  position: relative;
  padding-left: 0.9rem;
  font-family: var(--font-zh-serif);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.craft-mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.3rem;
  height: 0.3rem;
  background: var(--accent-gold);
}

.craft-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.2rem;
  width: fit-content;
  font-family: var(--font-zh-serif);
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s ease, transform 0.3s ease;
}

.craft-link:hover {
  color: var(--accent-gold-hover);
  transform: translateX(0.25rem);
}

.craft-panel-index {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  font-family: var(--font-en-display);
  font-size: 2.7rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(28, 26, 25, 0.1);
}

.craft-panel-wide .craft-panel-index {
  font-size: 3.4rem;
}

@media (max-width: 1024px) {
  .craft-panel-lead,
  .craft-panel-quote,
  .craft-panel-gold,
  .craft-panel-thangka,
  .craft-panel-wide {
    grid-column: span 12;
  }

  .craft-panel-lead,
  .craft-panel-quote,
  .craft-panel-thangka,
  .craft-panel-wide {
    grid-template-columns: 1fr 1fr;
  }

  .craft-panel-gold {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 16rem;
  }

  .craft-panel-copy {
    padding: 1.6rem;
  }
}

@media (max-width: 768px) {
  .craft-section-new {
    padding: 4.5rem 0 5rem;
  }

  .craft-editorial {
    gap: 1rem;
  }

  .craft-panel,
  .craft-panel-lead,
  .craft-panel-quote,
  .craft-panel-gold,
  .craft-panel-thangka,
  .craft-panel-wide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .craft-panel-media {
    min-height: 13rem;
  }

  .craft-panel-copy h3 {
    font-size: 1.35rem;
  }

  .craft-panel-index {
    font-size: 2.2rem;
  }
}
