/**
 * 码科服 CMS 模板专属样式 - 室内设计 (interior_living)
 * 符合 docs/TEMPLATE_DESIGN_STANDARD.md 与 AI_TEMPLATE_PRODUCTION_STANDARD.md 规范
 */
/* 室内设计专属样式：大画幅空间展示、高雅衬线与极简轻线条 */
.customer-theme-interior_living {
  --theme-terracotta: #8e5942;
  --theme-space-bg: #fcfbfa;
  background-color: var(--theme-space-bg);
}
.customer-theme-interior_living .customer-container {
  width: min(1400px, calc(100% - 56px));
  margin-inline: auto;
}
.customer-theme-interior_living .customer-header {
  background: #ffffff;
  border-bottom: 1px solid #ebe5df;
}
.customer-theme-interior_living .customer-card {
  border-radius: 8px;
  border: 1px solid #e8e2dc;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.customer-theme-interior_living .customer-card:hover {
  border-color: var(--theme-terracotta);
  box-shadow: 0 12px 30px rgba(142, 89, 66, 0.1);
}
.customer-theme-interior_living .customer-card-image img {
  object-fit: contain;
  aspect-ratio: 16/10;
  background: #f7f4f1;
}
.customer-theme-interior_living .customer-card-title {
  font-family: 'PingFang SC', 'Hiragino Sans GB', serif;
  color: #2b231f;
  letter-spacing: 0.02em;
}

/* 2026-10-21: project index and draft-aware project dossier. */
.customer-theme-interior_living .spatial-index-page,.customer-theme-interior_living .spatial-dossier{padding-top:32px;padding-bottom:88px}
.customer-theme-interior_living .spatial-index-heading{padding:40px 0 52px;border-bottom:1px solid #c9ced0}
.customer-theme-interior_living .spatial-index-heading h1,.customer-theme-interior_living .spatial-dossier h1{font-size:clamp(32px,4vw,64px);line-height:1.2;margin:16px 0;overflow-wrap:anywhere}
.customer-theme-interior_living .spatial-section-heading{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:32px}
.customer-theme-interior_living .spatial-section-heading h2{font-size:32px;margin:12px 0}
.customer-theme-interior_living .spatial-toolbar{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:center;padding:28px 0 40px}
.customer-theme-interior_living .spatial-toolbar nav{display:flex;gap:20px;flex-wrap:wrap}
.customer-theme-interior_living .spatial-toolbar [aria-current]{text-decoration:underline;text-underline-offset:7px}
.customer-theme-interior_living .spatial-portfolio{display:grid;grid-template-columns:repeat(var(--portfolio-columns),minmax(0,1fr));gap:48px 28px}
.customer-theme-interior_living .spatial-project{min-width:0}
.customer-theme-interior_living .spatial-project-image{display:flex;aspect-ratio:3/2;background:#edecea;align-items:center;justify-content:center}
.customer-theme-interior_living .spatial-project-image img{width:100%;height:100%;object-fit:contain;transform:none}
.customer-theme-interior_living .spatial-project-index{display:flex;justify-content:space-between;gap:16px;font-size:13px;padding:16px 0;border-bottom:1px solid #c9ced0}
.customer-theme-interior_living .spatial-project h2{font-size:23px;line-height:1.45;margin:18px 0 12px}
.customer-theme-interior_living .spatial-project-caption>p:not(.spatial-project-index){line-height:1.9;color:var(--customer-text,#263343)}
.customer-theme-interior_living .spatial-project-more{display:inline-block;margin-top:20px;font-weight:600;text-decoration:underline;text-underline-offset:6px}
.customer-theme-interior_living .spatial-dossier-heading{display:grid;grid-template-columns:2fr 1fr;gap:48px;align-items:end;padding:48px 0 36px}
.customer-theme-interior_living .spatial-dossier dl{margin:0}.customer-theme-interior_living .spatial-dossier dl>div{display:flex;gap:24px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #c9ced0}.customer-theme-interior_living .spatial-dossier dd{margin:0}
.customer-theme-interior_living .spatial-dossier-image{margin:0;background:#edecea}.customer-theme-interior_living .spatial-dossier-image img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain}
.customer-theme-interior_living .spatial-dossier-narrative{display:grid;grid-template-columns:1fr 2fr;gap:48px;padding:56px 0}.customer-theme-interior_living .spatial-dossier-summary{font-size:20px;line-height:1.9;margin:0 0 32px}
.customer-theme-interior_living .spatial-dossier-actions{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;border-top:1px solid #c9ced0;padding-top:28px}
@media(max-width:800px){.customer-theme-interior_living .spatial-portfolio{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-theme-interior_living .spatial-portfolio:has(>.spatial-project:last-child:nth-child(odd)){grid-template-columns:1fr}.customer-theme-interior_living .spatial-dossier-heading,.customer-theme-interior_living .spatial-dossier-narrative{grid-template-columns:1fr;gap:24px}}
@media(max-width:540px){.customer-theme-interior_living .spatial-portfolio{grid-template-columns:1fr}.customer-theme-interior_living .spatial-section-heading{display:block}.customer-theme-interior_living .spatial-toolbar{display:block}.customer-theme-interior_living .app-channel-query{margin-top:24px;flex-wrap:wrap}.customer-theme-interior_living .app-channel-query input{min-width:0;width:100%}}

.customer-theme-interior_living .spatial-portfolio-interior{display:flex;flex-direction:column;gap:72px}
.customer-theme-interior_living .spatial-project{display:grid;grid-template-columns:3fr 2fr;gap:6%;align-items:center}
.customer-theme-interior_living .spatial-project:nth-child(even) .spatial-project-image{order:2}
.customer-theme-interior_living .spatial-project h2{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(25px,2.5vw,36px)}
.customer-theme-interior_living .spatial-project-caption{padding:16px 0}
.customer-theme-interior_living .spatial-dossier-heading{display:block;max-width:840px;margin:auto;text-align:center}
.customer-theme-interior_living .spatial-dossier-heading dl{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}
.customer-theme-interior_living .spatial-dossier-narrative{max-width:900px;margin:auto;grid-template-columns:1fr;gap:16px}
@media(max-width:700px){.customer-theme-interior_living .spatial-project{grid-template-columns:1fr;gap:16px}.customer-theme-interior_living .spatial-project:nth-child(even) .spatial-project-image{order:0}}

.customer-theme-interior_living .app-channel-query{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.customer-theme-interior_living .app-channel-query label{font-size:14px}
.customer-theme-interior_living .app-channel-query input{min-width:0;width:240px;max-width:100%;padding:12px;border:1px solid #a6afb6;background:#fff;color:#243343;font:inherit}
.customer-theme-interior_living .app-channel-query button{padding:13px 20px;border:0;background:var(--customer-action-bg);color:#fff;font:inherit;cursor:pointer}
@media(max-width:540px){.customer-theme-interior_living .customer-container{width:calc(100% - 32px)}}
