/* VR大空间项目详情页专用样式 */

/* 页面整体布局 */
.detail-header {
  width: 100%;
  height: 94px;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 项目详情区域 */
.detail-section {
  background-image: url('/static/pc/img/space/detail_bg.png');
  background-size: cover;
  background-position: center;
  padding: 25px 0;
  min-height: 864px;
}

.detail-container {
  width: 1280px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.project-info, .project-details {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 项目基本信息 */
.project-info {
  display: flex;
  gap: 22px;
}

.project-image {
  width: 690px;
  height: 389px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-labels {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 17px;
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  color: #242E42;
  line-height: 28px;
  margin: 0;
  padding: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item .label {
  font-size: 16px;
  font-weight: 500;
  color: #242E42;
  line-height: 33px;
  min-width: 120px;
  width: 120px;
  display: inline-block;
}

.info-item .value {
  font-size: 14px;
  font-weight: 400;
  color: #242E42;
  line-height: 28px;
  flex: 1;
}

/* 项目详细信息 */
.project-details {
  padding: 0 25px 25px 25px;
  margin-top: 48px;
}

.detail-row {
  display: flex;
  gap: 40px;
  padding: 50px 115px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
}

.item-icon {
  width: 47px;
  height: 47px;
  padding-right: 16px;
}

.item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-label {
  font-size: 18px;
  font-weight: 500;
  color: #00A200;
  line-height: 24px;
}

.item-text {
  font-size: 14px;
  font-weight: 400;
  color: #242E42;
  line-height: 20px;
  word-break: break-all;
}

/* 项目内容富文本单独一行显示 */
.item-text.rich-content {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  color: #242E42;
  line-height: 1.8;
  word-break: break-all;
  white-space: pre-line;
}

.item-text.rich-content img {
  display: block;
  margin: 16px auto;
  max-width: 100%;
  height: auto;
}

/* 视频区域 */
.video-section {
  background: #27282D;
  padding-top: 48px;
  width: 100%;
  padding-bottom: 40px;
}

.video-section {
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 24px;
}

.video-title {
  background: #242E42;
  color: #fff;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0;
}

.video-player {
  width: 810px;
  height: 450px;
  margin: 0 auto;
  display: block;
  background: #000;
  margin-bottom: 24px;
}

.contact-info {
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 33px;
}

/* 推荐内容 */
.recommend-container {
  width: 1280px;
  margin: 0 auto;
}

.recommend-title {
  font-size: 18px;
  text-align: left;
  margin: 0;
  margin-bottom: 9px;
}

.line {
  background-color: rgba(51, 51, 51, 1);
  height: 2px;
  margin-bottom: 24px;
}

.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 40px;
}

.recommend-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1px solid rgba(232, 236, 239, 1);
}

.recommend-item:hover {
  text-decoration: none;
  color: inherit;
}

.item-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
  margin: 15px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  line-height: 20px;
}

/* 响应式设计 */
@media (max-width: 1366px) {
  .detail-container,
  .recommend-container {
    width: 1200px;
  }
  
  .project-image {
    width: 600px;
    height: 390px;
  }
}

@media (max-width: 1200px) {
  .detail-container,
  .recommend-container {
    width: 100%;
    margin: 0 20px;
  }
  
  .project-info {
    flex-direction: column;
  }
  
  .project-image {
    width: 100%;
    height: 300px;
  }
  
  .recommend-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .detail-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .recommend-list {
    grid-template-columns: repeat(2, 1fr);
  }
} 