/* TEMPLATE-044 - 内页样式 */

/* List page */
.tec-list-section { padding: 60px 0; min-height: 500px; }
.tec-list-section > .tec-container { display: flex; gap: 32px; align-items: flex-start; }
.tec-list-sidebar { width: 260px; flex-shrink: 0; }
.tec-list-main { flex: 1; min-width: 0; }
.tec-sidebar { background: #fff; border-radius: var(--tec-radius); padding: 24px; box-shadow: var(--tec-shadow); border: 1px solid var(--tec-border); }
.tec-sidebar h3 { font-size: 16px; color: var(--tec-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--tec-primary); }
.tec-sidebar-nav li { margin-bottom: 4px; }
.tec-sidebar-nav li a { display: block; padding: 10px 14px; border-radius: 4px; color: #4a5568; font-size: 14px; transition: var(--tec-transition); }
.tec-sidebar-nav li a:hover, .tec-sidebar-nav li.active a { background: var(--tec-light); color: var(--tec-primary); }
.tec-sidebar-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tec-border); }
.tec-sidebar-contact h4 { font-size: 14px; color: var(--tec-dark); margin-bottom: 8px; }
.tec-sidebar-contact p { font-size: 13px; color: var(--tec-gray); margin-bottom: 12px; }

/* List items */
.tec-list-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--tec-border); transition: var(--tec-transition); }
.tec-list-item:hover { background: var(--tec-light); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: var(--tec-radius); }
.tec-list-thumb { width: 200px; height: 140px; flex-shrink: 0; border-radius: var(--tec-radius); overflow: hidden; }
.tec-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tec-list-item:hover .tec-list-thumb img { transform: scale(1.05); }
.tec-list-content h2 { font-size: 18px; margin-bottom: 10px; }
.tec-list-content h2 a { color: var(--tec-dark); }
.tec-list-content h2 a:hover { color: var(--tec-primary); }
.tec-list-desc { font-size: 14px; color: var(--tec-gray); line-height: 1.6; margin-bottom: 10px; }
.tec-list-meta { font-size: 13px; color: var(--tec-gray); display: flex; gap: 16px; }

/* Pagination */
.tec-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tec-pagination a, .tec-pagination span { display: inline-block; padding: 8px 14px; border-radius: 4px; border: 1px solid var(--tec-border); font-size: 14px; color: #4a5568; transition: var(--tec-transition); }
.tec-pagination a:hover, .tec-pagination .active span, .tec-pagination .current { background: var(--tec-primary); color: #fff; border-color: var(--tec-primary); }

/* Detail page */
.tec-detail-section { padding: 48px 0; }
.tec-detail-layout { display: flex; gap: 36px; align-items: flex-start; }
.tec-detail-main { flex: 1; min-width: 0; }
.tec-detail-sidebar { width: 280px; flex-shrink: 0; }
.tec-detail-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--tec-border); }
.tec-detail-title { font-size: 26px; color: var(--tec-dark); margin-bottom: 12px; }
.tec-detail-meta { font-size: 13px; color: var(--tec-gray); display: flex; flex-wrap: wrap; gap: 16px; }
.tec-detail-meta a { color: var(--tec-primary); }
.tec-detail-tags a { margin-right: 6px; }
.tec-detail-content { font-size: 16px; line-height: 1.9; color: #374151; }
.tec-detail-content p { margin-bottom: 16px; }
.tec-detail-content img { border-radius: var(--tec-radius); margin: 20px 0; max-width: 100%; height: auto; }
.tec-detail-content h2, .tec-detail-content h3 { color: var(--tec-dark); margin: 28px 0 16px; }
.tec-detail-content ul, .tec-detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.tec-detail-content li { margin-bottom: 8px; }
.tec-detail-content a { color: var(--tec-primary); text-decoration: underline; }
.tec-detail-content blockquote { border-left: 4px solid var(--tec-primary); padding: 16px 20px; background: var(--tec-light); margin: 20px 0; border-radius: 0 var(--tec-radius) var(--tec-radius) 0; }
.tec-detail-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tec-border); }
.tec-prev-next { display: flex; flex-direction: column; gap: 12px; }
.tec-prev-next a { font-size: 14px; color: #4a5568; padding: 10px 14px; border-radius: 4px; border: 1px solid var(--tec-border); transition: var(--tec-transition); }
.tec-prev-next a:hover { border-color: var(--tec-primary); color: var(--tec-primary); }
.tec-prev-next span { color: var(--tec-gray); }

/* Related */
.tec-related { margin-top: 40px; }
.tec-related h3 { font-size: 18px; color: var(--tec-dark); margin-bottom: 16px; }
.tec-related-list li { padding: 10px 0; border-bottom: 1px dashed var(--tec-border); }
.tec-related-list a { font-size: 14px; color: #4a5568; }
.tec-related-list a:hover { color: var(--tec-primary); }

/* Sidebar widgets */
.tec-sidebar-widget { background: #fff; border-radius: var(--tec-radius); padding: 20px; box-shadow: var(--tec-shadow); border: 1px solid var(--tec-border); margin-bottom: 20px; }
.tec-sidebar-widget h4 { font-size: 15px; color: var(--tec-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--tec-primary); }
.tec-sidebar-latest li { padding: 8px 0; border-bottom: 1px solid var(--tec-border); }
.tec-sidebar-latest li:last-child { border-bottom: none; }
.tec-sidebar-latest a { font-size: 13px; color: #4a5568; line-height: 1.4; display: block; }
.tec-sidebar-latest a:hover { color: var(--tec-primary); }
.tec-sidebar-cta { text-align: center; background: var(--tec-dark); border-color: transparent; color: #fff; }
.tec-sidebar-cta h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.tec-sidebar-cta p { color: rgba(255,255,255,0.6); font-size: 13px; }
.tec-sidebar-cta strong { display: block; color: var(--tec-primary); font-size: 20px; margin: 8px 0 16px; }

/* Search bar */
.tec-search-bar { padding: 16px 0; margin-bottom: 20px; font-size: 15px; color: var(--tec-gray); border-bottom: 1px solid var(--tec-border); }

/* 404 */
.tec-404-section { padding: 120px 0; min-height: 60vh; display: flex; align-items: center; }
.tec-404-code { font-size: 120px; font-weight: 900; color: var(--tec-primary); opacity: 0.15; line-height: 1; }
.tec-404-title { font-size: 28px; color: var(--tec-dark); margin: 16px 0 8px; }
.tec-404-desc { font-size: 15px; color: var(--tec-gray); margin-bottom: 28px; }
.tec-404-actions { display: flex; gap: 12px; justify-content: center; }

/* Single page */
.tec-single-page { padding: 48px 0; }

/* Article image */
.tec-article-img-wrap { max-width: 800px; margin: 0 auto; }
.tec-article-cover { border-radius: var(--tec-radius); margin-bottom: 24px; width: 100%; }

/* Responsive */
@media (max-width: 1024px) {
  .tec-abilities-grid { grid-template-columns: repeat(2, 1fr); }
  .tec-solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .tec-news-grid { grid-template-columns: repeat(2, 1fr); }
  .tec-stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .tec-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .tec-header-inner { height: 60px; }
  .tec-nav-toggle { display: block; }
  .tec-nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--tec-dark); padding: 16px; gap: 0; }
  .tec-nav-list.open { display: flex; }
  .tec-sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding-left: 20px; }
  .tec-hero { height: 70vh; min-height: 480px; margin-top: 60px; }
  .tec-hero-title { font-size: 28px; }
  .tec-list-section > .tec-container { flex-direction: column; }
  .tec-list-sidebar { width: 100%; }
  .tec-detail-layout { flex-direction: column; }
  .tec-detail-sidebar { width: 100%; }
  .tec-list-item { flex-direction: column; gap: 12px; }
  .tec-list-thumb { width: 100%; height: 180px; }
  .tec-abilities-grid { grid-template-columns: 1fr; }
  .tec-solutions-grid { grid-template-columns: 1fr; }
  .tec-news-grid { grid-template-columns: 1fr; }
  .tec-why-grid { grid-template-columns: 1fr; }
  .tec-stats-row { grid-template-columns: repeat(2, 1fr); }
  .tec-section-header { margin-bottom: 32px; }
  .tec-float { display: none; }
}
