/* H-Donghua V2 Single Page Core Layout Stylesheet */
/* 2. DUAL COLUMN APP-GRID */
.hd-single-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--hd-spacing-xxl);
  align-items: start;
}

/* 4. MAIN COLUMN STYLE */
.hd-single-main-col {
  min-width: 0;
}

.hd-single-heading-area {
  margin-bottom: var(--hd-spacing-xl);
}

.hd-single-title-2027 {
  font-family: var(--hd-font-display);
  font-size: var(--hd-text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.hd-genre-pill-tag {
  background: var(--hd-surface);
  border: 1px solid var(--hd-border-glass);
  color: var(--hd-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--hd-radius-full);
  transition: var(--hd-transition-all);
}

.hd-genre-pill-tag:hover {
  background-color: var(--hd-primary);
  border-color: var(--hd-primary);
  color: #fff;
  box-shadow: var(--hd-glow-primary);
}

/* Overview Panel Info card */
.hd-overview-content-card {
  background: var(--hd-surface-glass);
  border: 1px solid var(--hd-border-glass);
  padding: var(--hd-spacing-xl);
  border-radius: var(--hd-radius-lg);
}

.hd-panel-subtitle {
  font-size: var(--hd-text-md);
  margin-bottom: var(--hd-spacing-md);
  color: #fff;
  border-left: 3px solid var(--hd-primary);
  padding-left: var(--hd-spacing-xs);
}

.hd-synopsis-text {
  font-size: var(--hd-text-sm);
  color: var(--hd-text-muted);
  line-height: 1.8;
}

/* 9. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hd-single-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hd-spacing-xl);
  }
  .hd-single-layout-grid .hd-single-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    min-width: 0;
  }
  .hd-single-main-col {
    min-width: 0;
  }

  .hd-mobile-title-area {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: var(--hd-spacing-md);
    padding: 0 var(--hd-spacing-sm);
  }

  .hd-mobile-title-area .hd-single-title-2027 {
    font-size: var(--hd-text-2xl);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    text-align: center;
  }

  .hd-mobile-title-area .hd-single-synonyms {
    font-size: 11px;
    color: var(--hd-text-dim);
    margin-bottom: var(--hd-spacing-sm);
    line-height: 1.4;
    text-align: center;
  }

  .hd-single-heading-area {
    display: none;
  }
}

/* Responsive overrides */
@media (max-width: 768px) {

@media (max-width: 640px) {
  .hd-character-grid {
    grid-template-columns: 1fr;
  }
  .hd-related-grid {
    gap: var(--hd-spacing-sm);
  }
  .hd-related-card {
    flex: 0 0 120px;
    min-width: 120px;
  }
}

  /* 3. Details grid stack styling */
  .hd-single-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: var(--hd-spacing-md);
    padding: 0 var(--hd-spacing-sm);
  }

}