/* ============================================================
   Laituo Tag Aggregation Page — Stylesheet
   Brand palette: #B40000 (red) + #333333 (dark gray)
   ============================================================ */

:root {
  --lt-red: #B40000;
  --lt-red-dark: #8A0000;
  --lt-red-soft: #FBEAEA;
  --lt-red-soft-2: #F5D6D6;
  --lt-dark: #333333;
  --lt-dark-soft: #F2F2F2;
  --lt-bg: #F7F7F7;
  --lt-border: #E5E5E5;
  --lt-text: #333333;
  --lt-text-muted: #6E6E6E;
  --lt-white: #FFFFFF;
  --lt-radius: 12px;
  --lt-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --lt-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.12);
  --lt-font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --lt-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.tag-page-container {
  font-family: var(--lt-font-body);
  color: var(--lt-text);
  background: var(--lt-bg);
}

.tag-page-container * { box-sizing: border-box; }

/* ---------- Hero ---------- */
.tag-hero-section {
  background: linear-gradient(135deg, var(--lt-red) 0%, var(--lt-red-dark) 100%);
  padding: 80px 24px 48px;
  color: var(--lt-white);
}

.tag-title {
  font-family: var(--lt-font-head);
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
  text-align: center;
}

.hero-section-p {
  display: inline-block;
  margin: 0 0 22px;
  padding: 4px 750px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lt-white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.editor-content-1 {
  max-width: 1480px;
  margin: 0 auto;
  max-height: 300px;
  overflow-y: scroll;
}

.editor-content-1 h4 {
  color: var(--lt-white);
  font-family: var(--lt-font-head);
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.editor-content-1 h4:first-child { margin-top: 0; }

.editor-content-1 .lt-p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
}

/* ---------- Related product grid ---------- */
.content {
  max-width: 1280px;
    margin: -20px auto 0;
    padding: 35px 24px 8px;
    position: relative;
    z-index: 2;
}

.content .grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.content .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.content .column .box {
  background: var(--lt-white);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  overflow: hidden;
  box-shadow: var(--lt-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.content .column .box:hover {
  transform: translateY(-4px);
  box-shadow: var(--lt-shadow-hover);
}

.content .box .img {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--lt-dark-soft);
}

.content .box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.content .box:hover .img img { transform: scale(1.05); }

.content .box .cont { padding: 14px 16px 18px; }

.content .box .title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--lt-dark);
  text-decoration: none;
  margin-bottom: 4px;
}

.content .box .title:hover { color: var(--lt-red); }

.content .box .des {
  color: var(--lt-text-muted);
  font-size: 12.5px;
  margin: 0;
}

/* ---------- Content matrix (two column) ---------- */
.content-matrix {
  max-width: 1480px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.main-content-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.sidebar-content-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 20px;
}

/* shared card look for every editor module */
.editor-module1, .editor-module2, .editor-module3,
.editor-module6, .editor-module7, .editor-module8,
.editor-module-service, .editor-module-faq {
  background: var(--lt-white);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  padding: 24px 26px;
  box-shadow: var(--lt-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.editor-module1:hover, .editor-module2:hover, .editor-module3:hover,
.editor-module7:hover, .editor-module8:hover {
  box-shadow: var(--lt-shadow-hover);
  transform: translateY(-2px);
}

.editor-module1 h4, .editor-module2 h4, .editor-module3 h4,
.editor-module6 h4, .editor-module7 h4, .editor-module8 h4,
.editor-module-service h4, .editor-module-faq h4 {
  font-family: var(--lt-font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--lt-dark);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--lt-red);
}

/* distinct top accent per module, alternating brand red / dark gray for rhythm */
.editor-module1 { border-top: 3px solid var(--lt-dark); }
.editor-module2 { border-top: 3px solid var(--lt-red); }
.editor-module3 { border-top: 3px solid var(--lt-dark); }
.editor-module7 { border-top: 3px solid var(--lt-red); }
.editor-module8 { border-top: 3px solid var(--lt-dark); }
.editor-module6 { border-top: 3px solid var(--lt-red); background: var(--lt-red-soft); }

/* ---------- lt-p / generic text ---------- */
.lt-p {
  margin: 0 0 12px;
  line-height: 1.75;
  font-size: 15px;
  color: var(--lt-text);
}
.lt-p:last-child { margin-bottom: 0; }

.lt-strong {
  color: var(--lt-red);
  font-weight: 600;
}

/* ---------- default lt-ul / lt-li (Application, Advantages, Maintenance) ---------- */
.lt-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editor-module2 .lt-li,
.editor-module3 .lt-li,
.editor-module8 .lt-li,
.editor-module-service .lt-li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lt-text);
}

.editor-module2 .lt-li::before,
.editor-module3 .lt-li::before,
.editor-module8 .lt-li::before,
.editor-module-service .lt-li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--lt-red-soft);
  border: 2px solid var(--lt-red);
}

.editor-module3 .lt-li::before { background: var(--lt-dark-soft); border-color: var(--lt-dark); }
.editor-module8 .lt-li::before { border-radius: 50%; }

/* ---------- How To Use — ordered steps with numbered badges ---------- */
.lt-ol {
  list-style: none;
  counter-reset: lt-step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-module7 .lt-li {
  counter-increment: lt-step;
  position: relative;
  padding-left: 40px;
  min-height: 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lt-text);
}

.editor-module7 .lt-li::before {
  content: counter(lt-step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lt-red);
  color: var(--lt-white);
  font-family: var(--lt-font-head);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-module7 .lt-li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  width: 2px;
  height: calc(100% + 4px);
  background: var(--lt-border);
}

/* ---------- Specification table ---------- */
.lt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--lt-border);
}

.lt-th {
  background: var(--lt-red);
  color: var(--lt-white);
  font-family: var(--lt-font-head);
  font-weight: 600;
  text-align: left;
  padding: 11px 16px;
  font-size: 13.5px;
}

.lt-td {
  padding: 10px 16px;
  border-top: 1px solid var(--lt-border);
  color: var(--lt-text);
}

.lt-tr:nth-child(even) .lt-td { background: var(--lt-bg); }

.lt-tr:first-child .lt-td { border-top: none; }

/* first column of spec/comparison rows reads as a label */
.lt-tr .lt-td:first-child {
  font-weight: 600;
  color: var(--lt-dark);
  white-space: nowrap;
}

/* ---------- Payment & Shipping (sidebar service card) ---------- */
.editor-module-service {
  background: var(--lt-dark);
  border: none;
}

.editor-module-service h4 {
  color: var(--lt-white);
  border-left-color: var(--lt-red);
}

.editor-module-service .lt-p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.editor-module-service .lt-li {
  color: rgba(255, 255, 255, 0.92);
}

.editor-module-service .lt-li::before {
  background: transparent;
  border-color: var(--lt-red);
}

.editor-module-service .lt-strong { color: #FF8A8A; }

/* ---------- FAQ (sidebar) — click-to-expand accordion ---------- */
/* content already carries the literal "Q:" / "A:" prefixes, so styling
   only differentiates weight/color/indent rather than adding a duplicate badge */
.editor-module-faq .lt-ul {
  gap: 0;
  border-bottom: 1px solid var(--lt-border);
}

.editor-module-faq .lt-ul:last-of-type { border-bottom: none; }

.editor-module-faq .lt-li {
  font-size: 14px;
  line-height: 1.6;
}

.editor-module-faq .lt-li:first-child {
  font-weight: 600;
  color: var(--lt-dark);
  padding: 12px 26px 12px 14px;
  border-left: 3px solid var(--lt-red);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.editor-module-faq .lt-li:first-child:hover { color: var(--lt-red); }

.editor-module-faq .lt-li:first-child::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--lt-text-muted);
  border-bottom: 2px solid var(--lt-text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.editor-module-faq .lt-ul.is-open .lt-li:first-child::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--lt-red);
}

.editor-module-faq .lt-li:last-child {
  color: var(--lt-text-muted);
  padding: 0 14px 0 14px;
  border-left: 3px solid var(--lt-border);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}

.editor-module-faq .lt-ul.is-open .lt-li:last-child {
  max-height: 400px;
  opacity: 1;
  padding: 0 14px 14px 14px;
}

/* ---------- Sticky quick-nav ---------- */
.lt-quicknav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--lt-border);
  scrollbar-width: none;
}

.lt-quicknav::-webkit-scrollbar { display: none; }

.lt-quicknav-link {
  flex: none;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lt-dark);
  background: var(--lt-white);
  border: 1px solid var(--lt-border);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lt-quicknav-link:hover {
  border-color: var(--lt-red);
  color: var(--lt-red);
}

.lt-quicknav-link.is-active {
  background: var(--lt-red);
  border-color: var(--lt-red);
  color: var(--lt-white);
}

/* ---------- Back-to-top button ---------- */
.lt-back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--lt-red);
  color: var(--lt-white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--lt-shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 30;
}

.lt-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lt-back-top:hover { background: var(--lt-red-dark); }

/* ---------- Scroll-reveal ---------- */
/* Safe-by-default: content is fully visible without JS. JS opts an element
   into the pre-animation (hidden) state only once it is ready to observe it,
   so a slow/blocked/misplaced script can never leave content invisible. */
.lt-reveal {
  opacity: 1;
  transform: none;
}

.js-reveal-ready .lt-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-reveal-ready .lt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .lt-reveal, .js-reveal-ready .lt-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

/* ---------- Related tags — pill chips ---------- */
.editor-module6 .lt-ul {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-module6 .lt-li { display: block; }

.lt-a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--lt-red);
  background: var(--lt-white);
  border: 1px solid var(--lt-red-soft-2);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lt-a:hover {
  background: var(--lt-red);
  color: var(--lt-white);
  border-color: var(--lt-red);
}

/* ---------- Bottom "more info" band — related tags repeated, dark treatment ---------- */
.more-info {
  background: linear-gradient(135deg, #333333 0%, #333333 100%);
  padding: 40px 24px 48px;
  margin-top: 8px;
}

.more-info::before {
  display: block;
  max-width: 1160px;
  margin: 0 auto 18px;
  font-family: var(--lt-font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--lt-white);
}

.more-info .lt-ul {
  max-width: 1160px;
  margin: 0 auto;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.more-info .lt-a {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.more-info .lt-a:hover {
  background: var(--lt-red);
  border-color: var(--lt-red);
  color: var(--lt-white);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .content-matrix { grid-template-columns: 1fr; }
  .sidebar-content-column { position: static; }
  .content .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tag-title { font-size: 26px; }
}

@media (max-width: 560px) {
  .content .grid-3 { grid-template-columns: 1fr; }
  .editor-module1, .editor-module2, .editor-module3,
  .editor-module6, .editor-module7, .editor-module8,
  .editor-module-service, .editor-module-faq {
    padding: 20px;
  }
}

/* 联系表单板块 - 美观设计版 */
.info-contant {
  max-width: 1480px;
  margin: 80px auto;
  padding: 0 40px;
  position: relative;
}

.info-contant .tit {
  font-size: 1.8rem;
  font-weight: 600;
  color: #360303;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.5;
  position: relative;
}

.info-contant .tit::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #b40000, #b40000);
  border-radius: 2px;
}

.info-contant .form.Auxil-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(10, 82, 226, 0.08);
  border: 1px solid rgba(10, 82, 226, 0.1);
}

/* 表单布局优化 - 两列布局 */
.info-contant .form.Auxil-form .form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.info-contant .form.Auxil-form .form-group {
  flex: 1;
  min-width: 250px;
}

/* 表单元素样式 */
.info-contant .form.Auxil-form input,
.info-contant .form.Auxil-form textarea,
.info-contant .form.Auxil-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  color: #374151;
  background: #f8fafc;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.info-contant .form.Auxil-form input:focus,
.info-contant .form.Auxil-form textarea:focus,
.info-contant .form.Auxil-form select:focus {
  outline: none;
  border-color: #0a52e2;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 82, 226, 0.1);
}

.info-contant .form.Auxil-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* 提交按钮样式 */
.info-contant .form.Auxil-form .submit-btn {
  background: linear-gradient(135deg, #b40000, #b40000);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: inline-block;
}

.info-contant .form.Auxil-form .submit-btn:hover {
  background: linear-gradient(135deg, #1e40af, #0a52e2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 82, 226, 0.3);
}

/* 表单标签样式 */
.info-contant .form.Auxil-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .info-contant .form.Auxil-form .form-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .info-contant .form.Auxil-form .form-group {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .info-contant {
    padding: 0 20px;
  }
  
  .info-contant .tit {
    font-size: 1.5rem;
  }
  
  .info-contant .form.Auxil-form {
    padding: 30px;
  }
  
  .info-contant .form.Auxil-form input,
  .info-contant .form.Auxil-form textarea,
  .info-contant .form.Auxil-form select {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .info-contant .tit {
    font-size: 1.3rem;
  }
  
  .info-contant .form.Auxil-form {
    padding: 20px;
  }
  
  .info-contant .form.Auxil-form .submit-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
  }
}

.i-advantage {
  color: #fff;
  padding: 10% 0 4.79167%;
  background-position: center 62px;
  background-repeat: no-repeat;
  overflow: hidden;
  background-color: #f7f7f7;
}
.i-advantage .i-tag {
  color: #fff;
}
.i-advantage .box {
  position: relative;
  z-index: 1;
}
.i-advantage .left {
  width: 21%;
}
.i-advantage .right {
  width: 79%;
}
.i-advantage .right ul {
  margin: 0 -20px;
}
.i-advantage .right ul li {
  padding: 35px 20px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.i-advantage .right ul li i {
  display: block;
  line-height: 62px;
}
.i-advantage .right ul li p {
  line-height: 1.6;
  max-width: 274px;
  margin-left: auto;
  margin-right: auto;
}
.i-advantage .right ul li:last-child {
  border-right: 0;
}
.i-advantage .right ul li:last-child p {
  max-width: 260px;
}
.i-advantage .icon {
  left: 23px;
  bottom: -42px;
  width: 12.5521%;
}

/* 容器及标题居中与间距调整 */
.more-info .container-info {
    padding: 40px 0 20px 0; 
    text-align: center;      
}

/* 标题样式：居中并调整底部间距 */
.more-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;  
    color: #ffffff;        
}

/* 链接外层包裹器：实现标签水平居中及自动换行 */
.more-info .links-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 12px;
    max-width: 1580px;  
    margin: 0 auto;  
}

/* 核心：红底白字标签样式 */
.more-info .links-wrapper a {
    display: inline-block;
    padding: 6px 14px; 
    font-size: 18px; 
    text-decoration: none;
    border-radius: 3px; 
    

    background-color: #e53935; 
    color: #ffffff;           
    border: 2px solid #e53935; 
    
    transition: all 0.25s ease;
}

/* 悬停状态：颜色稍微变深，优雅反馈 */
.more-info .links-wrapper a:hover {
    background-color: #d32f2f;
    border-color: #d32f2f;
    color: #ffffff; 
}
