/* ============================================================
   Supplementary styles for general content pages (Inspection Objects / Industries / Technical Guides)
   —— Used together with the .ssol-* components from solution-detail.css
   Namespace: .sy-page prefix, does not affect the admin or other pages
   Created 2026-09-20
   ============================================================ */

/* ---------- 1. Tag wall (a set of tags such as inspection objects, industries, algorithms) ---------- */
.sy-page .tp-tags{
  display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 0;
}
.sy-page .tp-tags span{
  display:inline-block; padding:8px 16px; border:1px solid #e8e8e8; border-radius:20px;
  font-size:14px; line-height:1; color:#555; background:#fafafa;
}

/* ---------- 2. Data tables (specification tables, comparison tables) ---------- */
.sy-page .tp-table-wrap{ overflow-x:auto; margin:24px 0 0; }
.sy-page .tp-table{
  width:100%; border-collapse:collapse; font-size:15px; min-width:520px;
}
.sy-page .tp-table th{
  background:#f7f7f7; color:#333; font-weight:700; text-align:left;
  padding:14px 16px; border:1px solid #ececec; white-space:nowrap;
}
.sy-page .tp-table td{
  padding:13px 16px; border:1px solid #ececec; color:#666; line-height:1.7; vertical-align:top;
}
.sy-page .tp-table tr:nth-child(even) td{ background:#fcfcfc; }
.sy-page .tp-table td b{ color:#333; }

/* ---------- 3. Collapsible FAQ Q&A (GEO content) ---------- */
.sy-page .tp-faq{ margin:26px 0 0; }
.sy-page .tp-faq details{
  border:1px solid #ececec; border-radius:8px; margin-bottom:12px; background:#fff;
}
.sy-page .tp-faq summary{
  cursor:pointer; padding:16px 48px 16px 18px; font-size:16px; font-weight:600;
  color:#333; position:relative; list-style:none;
}
.sy-page .tp-faq summary::-webkit-details-marker{ display:none; }
.sy-page .tp-faq summary::after{
  content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%);
  font-size:20px; color:var(--sany-red,#ed6a18);
}
.sy-page .tp-faq details[open] summary::after{ content:"\2212"; }
.sy-page .tp-faq details[open] summary{ border-bottom:1px solid #f2f2f2; }
.sy-page .tp-faq .tp-a{
  padding:16px 18px; font-size:15px; line-height:1.85; color:#666;
}
.sy-page .tp-faq .tp-a p{ margin:0 0 10px; }
.sy-page .tp-faq .tp-a p:last-child{ margin-bottom:0; }

/* ---------- 4. Notice block (compliance statements, points to note) ---------- */
.sy-page .tp-note{
  margin:24px 0 0; padding:16px 20px; border-left:3px solid var(--sany-red,#ed6a18);
  background:#fbf7f3; font-size:14px; line-height:1.8; color:#777; border-radius:0 6px 6px 0;
}
.sy-page .tp-note b{ color:#555; }

/* ---------- 5. Internal link card (points to related pages) ---------- */
.sy-page .tp-links{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0 0;
}
.sy-page .tp-links a{
  display:block; padding:16px 18px; border:1px solid #ececec; border-radius:8px;
  background:#fff; font-size:15px; color:#333; transition:.22s;
}
.sy-page .tp-links a:hover{
  border-color:var(--sany-red,#ed6a18); color:var(--sany-red,#ed6a18);
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.sy-page .tp-links a em{
  display:block; font-style:normal; font-size:12px; color:#aaa; margin-top:6px;
}

/* ---------- 5b. Sample testing form field list ---------- */
.sy-page .tp-form{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:24px 0 0;
}
.sy-page .tp-form span{
  display:block; padding:13px 10px; background:#f8f8f8; border-radius:6px;
  font-size:14px; line-height:1.4; color:#666; text-align:center;
}
.sy-page .tp-cta-row{ margin-top:28px; text-align:center; }

/* ---------- 6. List page card grid ---------- */
.sy-page .tpl-grid{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:10px;
}
.sy-page .tpl-card{
  display:block; padding:26px 24px; border:1px solid #ececec; border-radius:10px;
  background:#fff; transition:.25s;
}
.sy-page .tpl-card:hover{
  border-color:var(--sany-red,#ed6a18);
  box-shadow:0 10px 26px rgba(0,0,0,.07);
  transform:translateY(-3px);
}
.sy-page .tpl-card h3{
  margin:0 0 10px; font-size:19px; font-weight:700; color:#222; line-height:1.45;
}
.sy-page .tpl-card p{
  margin:0; font-size:14px; line-height:1.75; color:#777;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.sy-page .tpl-card .tpl-more{
  display:inline-block; margin-top:14px; font-size:13px; color:var(--sany-red,#ed6a18);
}

/* ---------- 7. Subheading (small heading inside the body copy) ---------- */
.sy-page .tp-h3{
  margin:34px 0 14px; font-size:20px; font-weight:700; color:#222; line-height:1.5;
}
.sy-page .tp-p{
  margin:16px 0 0; font-size:16px; line-height:1.9; color:#666;
}
.sy-page .tp-p b{ color:#333; }

/* ---------- 9. Vector diagrams (drawn in HTML/SVG, no AI-generated images) ---------- */
.sy-page .tp-fig{
  margin:26px 0 0; padding:22px 22px 14px; border:1px solid #ececec;
  border-radius:10px; background:#fbfcfd;
}
.sy-page .tp-fig svg{ display:block; width:100%; height:auto; }
.sy-page .tp-fig figcaption{
  margin-top:14px; padding-top:12px; border-top:1px dashed #e4e6e9;
  font-size:13px; line-height:1.75; color:#8a9099; text-align:center;
}
.sy-page .tp-fig figcaption b{ color:#555; font-weight:700; }

/* ---------- 10. Photographs (asset library, used singly or side by side) ---------- */
.sy-page .tp-photo{
  margin:26px 0 0; border:1px solid #ececec; border-radius:10px;
  overflow:hidden; background:#fff;
}
.sy-page .tp-photo img{ display:block; width:100%; height:230px; object-fit:cover; }
.sy-page .tp-photo figcaption{
  padding:12px 16px; font-size:13px; line-height:1.7; color:#8a9099;
}
.sy-page .tp-duo{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; margin:26px 0 0;
}
.sy-page .tp-duo .tp-photo{ margin:0; }

/* ---------- 11. Graphic elements (neutral colors inside SVG, for static diagrams that do not depend on JS) ---------- */
.sy-page .tp-fig-mono{ filter:none; }

/* ---------- 12. GEO: Quick answers / fact subsections / image gallery / TODO markers ---------- */
.sy-page .tp-quick{
  margin:0 0 8px; padding:22px 26px; border-radius:12px;
  background:#fff7f4; border-left:4px solid var(--sany-red, #d8412f);
}
.sy-page .tp-quick .qa-label{
  display:block; margin-bottom:8px; font-size:13px; font-weight:700;
  letter-spacing:.06em; color:var(--sany-red, #d8412f);
}
.sy-page .tp-quick p{ margin:0; font-size:16px; line-height:1.95; color:#333; }

.sy-page .tp-geo{
  margin:22px 0 0; padding:20px 22px; border-radius:10px;
  background:#f7f8fa; border:1px solid #ececec;
}
.sy-page .tp-geo h3{
  margin:0 0 10px; font-size:17px; font-weight:700; color:#222;
}
.sy-page .tp-geo p{ margin:0; font-size:15px; line-height:1.9; color:#5b6169; }

.sy-page .tp-gallery{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:26px 0 0;
}
.sy-page .tp-gallery .tp-photo{ margin:0; }

.sy-page .tp-todo{
  margin:20px 0 0; padding:14px 18px; border-radius:8px;
  background:#fffaf0; border:1px dashed #e0b76a;
  font-size:13px; line-height:1.8; color:#8a6520;
}
.sy-page .tx-todo{
  display:inline-block; padding:2px 8px; border-radius:4px;
  background:#fffaf0; border:1px dashed #e0b76a;
  font-size:12px; line-height:1.6; color:#8a6520;
}

/* ---------- 13. Side-by-side info cards (GEO fact blocks / applicable types / judgement method) ---------- */
.sy-page .tp-cards2{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:26px 0 0;
}
.sy-page .tp-cards2 > div{
  padding:18px 20px; border:1px solid #ececec; border-radius:10px; background:#fff;
}
.sy-page .tp-cards2 h3{ margin:0 0 8px; font-size:16px; font-weight:700; color:#222; }
.sy-page .tp-cards2 p{ margin:0; font-size:14px; line-height:1.85; color:#6b7178; }
.sy-page .tp-cards2 ul{ margin:8px 0 0; padding-left:18px; }
.sy-page .tp-cards2 li{ font-size:14px; line-height:1.9; color:#6b7178; }

/* ---------- 8. Responsive ---------- */
@media (max-width:1024px){
  .sy-page .tpl-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sy-page .tp-links{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sy-page .tp-duo{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-photo img{ height:210px; }
}
@media (max-width:640px){
  .sy-page .tpl-grid{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-links{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-gallery{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-cards2{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-quick{ padding:18px 18px; }
  .sy-page .tp-table{ font-size:14px; min-width:460px; }
  .sy-page .tp-table th, .sy-page .tp-table td{ padding:11px 12px; }
  .sy-page .tp-fig{ padding:14px 12px 10px; }
  .sy-page .tp-form{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sy-page .tp-photo img{ height:180px; }
}

/* ---------- 9. Solution categories (category numbering / placeholder solution slots / category cards) ---------- */
.sy-page .tp-catno{
  display:inline-block;
  margin:0 0 16px;
  padding:4px 13px;
  border-radius:20px;
  background:var(--sy-red,#ed6a18);
  color:#fff;
  font-size:13px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:.03em;
  }
/* Solution slots still to be filled in: dashed placeholder cards */
.sy-page .tp-slot-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
  }
.sy-page .tp-slot{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  min-height:104px;
  padding:18px;
  border:1px dashed #d8d8d8;
  border-radius:10px;
  background:#fafafa;
  text-align:center;
  }
.sy-page .tp-slot b{
  font-size:15px;
  font-weight:700;
  color:#9a9a9a;
  letter-spacing:.02em;
  }
.sy-page .tp-slot span{
  font-size:12.5px;
  line-height:1.7;
  color:#b5b5b5;
  }
/* Overview page: category cards */
.sy-page .tp-cat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  }
.sy-page .tp-cat-card{
  display:flex;
  flex-direction:column;
  padding:26px 24px 22px;
  background:#fff;
  border:1px solid #ececec;
  border-radius:12px;
  transition:.25s;
  }
.sy-page .tp-cat-card:hover{
  border-color:var(--sy-red,#ed6a18);
  transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(0,0,0,.07);
  }
.sy-page .tp-cat-card .cc-no{
  display:inline-block;
  margin-bottom:12px;
  font-size:13px;
  font-weight:700;
  color:var(--sy-red,#ed6a18);
  letter-spacing:.08em;
  }
.sy-page .tp-cat-card h3{
  margin:0;
  font-size:19px;
  font-weight:700;
  line-height:1.45;
  color:#1d1d1f;
  }
.sy-page .tp-cat-card h3 a{ color:inherit; }
.sy-page .tp-cat-card p{
  margin:10px 0 0;
  font-size:13.5px;
  line-height:1.8;
  color:#666;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  }
.sy-page .tp-cat-card .cc-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:16px;
  }
.sy-page .tp-cat-card .cc-num{ font-size:12.5px; color:#999; }
.sy-page .tp-cat-card .cc-go{
  font-size:13px;
  font-weight:600;
  color:var(--sy-red,#ed6a18);
  }
/* Overview page: full list of solutions */
.sy-page .tp-index-grp{
  padding:20px 0;
  border-bottom:1px dashed #e8e8e8;
  }
.sy-page .tp-index-grp:last-child{ border-bottom:0; }
.sy-page .tp-index-grp h3{
  margin:0 0 10px;
  font-size:16px;
  font-weight:700;
  color:#1d1d1f;
  }
.sy-page .tp-index-grp h3 em{
  margin-left:8px;
  font-style:normal;
  font-size:12.5px;
  font-weight:400;
  color:#999;
  }
.sy-page .tp-index-grp .ig-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  font-size:13.5px;
  line-height:2.1;
  color:#666;
  }
.sy-page .tp-index-grp .ig-list a{ color:#555; }
.sy-page .tp-index-grp .ig-list a:hover{ color:var(--sy-red,#ed6a18); }
.sy-page .tp-index-grp .ig-list em{
  margin:0 9px;
  font-style:normal;
  color:#d8d8d8;
  }
@media (max-width:1024px){
  .sy-page .tp-cat-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sy-page .tp-slot-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
@media (max-width:640px){
  .sy-page .tp-cat-grid{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-slot-grid{ grid-template-columns:minmax(0,1fr); }
  .sy-page .tp-cat-card{ padding:22px 18px 18px; }
  }

/* ---------- 10. tp-cards2 three-column variant (info cards such as cases / company capabilities) ---------- */
.sy-page .tp-cards2.c3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1024px){
  .sy-page .tp-cards2.c3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
@media (max-width:640px){
  .sy-page .tp-cards2.c3{ grid-template-columns:minmax(0,1fr); }
  }

/* ---------- 11. tp-photo full proportional display variant (portrait/square equipment photos and sample mosaics are not cropped) ---------- */
.sy-page .tp-photo.fit{ background:#fbfcfd; }
.sy-page .tp-photo.fit img{
  width:auto;
  max-width:100%;
  height:auto;
  max-height:520px;
  margin:0 auto;
  object-fit:contain;
  }
@media (max-width:1024px){
  .sy-page .tp-photo.fit img{ max-height:430px; }
  }
@media (max-width:640px){
  .sy-page .tp-photo.fit img{ max-height:320px; }
  }

/* ---------- 12. Process bar and numbered steps (added for the automotive seat inspection page on 2026-09-21) ---------- */
.sy-page .tp-flow{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px;
  margin:22px 0 0; padding:16px 18px;
  background:#f8fafb; border:1px solid #e8edf0; border-radius:10px;
  }
.sy-page .tp-flow span{
  font-size:14px; font-weight:600; color:#22303a;
  background:#fff; border:1px solid #e2e8ec; border-radius:999px; padding:6px 14px;
  }
.sy-page .tp-flow i{ font-style:normal; color:var(--sany-red,#ed6a18); font-weight:700; }
.sy-page .tp-ol{ margin:20px 0 0; padding:0; list-style:none; counter-reset:tpol; }
.sy-page .tp-ol li{
  counter-increment:tpol; position:relative;
  padding:10px 0 10px 52px; font-size:15px; line-height:1.9; color:#4a5258;
  border-bottom:1px dashed #e8edf0;
  }
.sy-page .tp-ol li:last-child{ border-bottom:0; }
.sy-page .tp-ol li::before{
  content:counter(tpol,decimal-leading-zero);
  position:absolute; left:0; top:12px;
  font-size:15px; font-weight:700; color:var(--sany-red,#ed6a18); font-family:Georgia,serif;
  }
.sy-page .tp-ol li b{ color:var(--sany-dark,#22303a); }
