/* Download Page Styles (Banner Download) */

.download-section {
  padding: 0 0 4rem; /* 顶部间距由 breadcrumb-section 的 margin-bottom 控制 */
}

.download-header {
  margin-bottom: 2rem;
}

.download-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
  line-height: 1.4;
}

.download-divider {
  width: 100%;
  height: 8px;
  background-color: #ffd43d;
  border-radius: 2px;
}

/* Content Section - consistent with other pages */
.download-section .content-section {
  margin-bottom: 3rem;
}

.download-section .section-content {
  line-height: 1.8;
}

.download-section .section-content p {
  margin-bottom: 1rem;
}

/* Subsection Title */
.download-section .subsection-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #333;
}

/* Info List */
.download-section .info-list {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.download-section .info-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Official Links */
.official-links {
  margin-top: 1.5rem;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #ff0000;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-youtube:hover {
  background-color: #cc0000;
  color: #fff;
}

.btn-youtube .youtube-icon {
  height: 18px;
  filter: brightness(0) invert(1);
}

/* Download Instruction */
.download-instruction {
  background-color: #f8f9fa;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  border-left: 4px solid #ffd43d;
  margin-bottom: 1.5rem;
}

/* Banner Grid */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.banner-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 1rem;
}

.banner-preview img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.banner-info {
  text-align: center;
}

.banner-size {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

/* Banner Note */
.banner-note {
  background-color: #fff3cd;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  border: 1px solid #ffc107;
}

.banner-note p {
  margin-bottom: 0.5rem;
}

.banner-note p:last-child {
  margin-bottom: 0;
}

.banner-note code {
  background-color: #fff;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.875rem;
  color: #d63384;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .download-title {
    font-size: 1.5rem;
  }

  .download-section .section-title {
    font-size: 1.125rem;
  }

  .download-section .subsection-title {
    font-size: 0.9375rem;
  }

  .download-divider {
    height: 6px;
  }

  .banner-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .download-section {
    padding: 2rem 0 3rem;
  }

  .download-title {
    font-size: 1.25rem;
  }

  .download-section .section-title {
    font-size: 1rem;
  }

  .download-divider {
    height: 4px;
  }

  .banner-grid {
    grid-template-columns: 1fr;
  }

  .btn-youtube {
    width: 100%;
    justify-content: center;
  }
}
