/* SAICO - technology page (page/technology.php, single-page template).
   Structure follows the old site's case page (sj_cate tabs + sj_out sidebar/content), styled to match this site. */
:root{--blue:#001fff;--text:#000;--light:#f8f7fc;--line:#e2e4e6;--container:1600px}
.logo img{width:194px;height:auto}

/* ===== Hero (old site: sc_banner) ===== */
.tech-hero{position:relative;height:auto;background:#0b1f4a linear-gradient(120deg,#0b1f4a 0,#0a2a8a 60%,#001fff 100%) center/cover no-repeat}
.tech-hero::before{content:"";z-index: -1;position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,8,40,.55),rgba(0,8,40,0) 70%)}
.tech-hero .container{position:relative;height:100%;padding-top:150px;color:#fff}
.tech-hero-name{font-size:57px;font-weight:600;line-height:66px;letter-spacing:-.2px}
.tech-hero-text{width:660px;max-width:100%;font-size:18px;font-weight:300;line-height:28px;margin-top:22px;color:rgba(255,255,255,.95)}
.crumb{position:absolute;left:0;bottom:56px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:16px;color:#fff}
.crumb svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.6;margin-right:2px}
.crumb a:hover{text-decoration:underline}

/* ===== Category tabs (old site: sj_cate) ===== */
.tech-tabs{background:#fff;border-bottom:1px solid #e1e4e9}
.tech-tabs-in{position:relative;display:flex;justify-content:center;gap:90px;height:77px}
.tech-tab{position:relative;display:flex;align-items:center;height:100%;padding:0 10px;font-size:22px;font-weight:500;color:#111;white-space:nowrap;transition:color .2s}
.tech-tab:hover,.tech-tab.active{color:var(--blue)}
.tech-tab.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--blue)}

/* ===== Sidebar + content (old site: sj_out / sj_left / sj_right) ===== */
.tech-main{background:#f5f7fa;padding:60px 0 110px}
.tech-cont{display:flex;align-items:flex-start;gap:30px}
.tech-side{flex:0 0 340px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 18px rgba(20,40,90,.04)}
.tech-side h2{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 28px;background:var(--blue);color:#fff;font-size:20px;font-weight:600;line-height:28px}
.tech-side h2 span{flex:0 0 20px;height:20px;border:3px solid #fff;border-radius:50%}
.tech-side-list{position:relative;padding:8px 0}
.tech-side-list a{display:block;padding:14px 28px 14px 25px;border-left:3px solid transparent;border-bottom:1px solid #eef0f4;font-size:16px;line-height:24px;color:#555;transition:color .2s,background-color .2s}
.tech-side-list a:last-child{border-bottom:0}
.tech-side-list a:hover{color:var(--blue)}
.tech-side-list a.active{border-left-color:var(--blue);background:#eef1ff;color:var(--blue);font-weight:500}

.tech-content{flex:1;min-width:0;min-height:400px;/* background:#fff; */border-radius:12px;padding:40px 48px 56px;/* box-shadow:0 4px 18px rgba(20,40,90,.04) */}
.tech-title{font-size:32px;font-weight:600;line-height:44px;color:#111;padding-bottom:22px;border-bottom:1px solid var(--line)}
.tech-title a:hover{color:var(--blue)}

/* Rich text from the CMS editor: images may sit side by side with fixed width attributes */
.tech-body{margin-top:30px;font-size:17px;line-height:32px;color:#333;overflow-wrap:break-word}
.tech-body p,.tech-body ul,.tech-body ol,.tech-body table,.tech-body blockquote{margin:12px 0}
.tech-body h2,.tech-body h3,.tech-body h4{color:#111;font-weight:600;margin:28px 0 12px}
.tech-body h2{font-size:26px;line-height:36px}
.tech-body h3{font-size:22px;line-height:32px}
.tech-body h4{font-size:18px;line-height:28px}
.tech-body ul,.tech-body ol{padding-left:24px}
.tech-body img{display:inline-block;vertical-align:top;max-width:100%;height:auto}
.tech-body a{color:var(--blue)}
.tech-body a:hover{text-decoration:underline}
.tech-body hr{border:0;border-top:1px solid var(--line);margin:24px 0}
.tech-body table{width:100%;border-collapse:collapse}
.tech-body td,.tech-body th{border:1px solid #e3e6fb;padding:8px 12px}
.tech-body iframe,.tech-body video{max-width:100%}

@media (max-width:1280px){
  :root{--container:1400px}
}

@media (max-width:1280px){
  .cta .container{flex-direction:column;gap:40px}
  .cta-form,.cta-left{width:100%}
  .tech-hero{height:auto}
  .tech-hero .container{padding-top:110px}
  .tech-tabs-in{gap:40px}
  .tech-side{flex-basis:280px}
  .tech-content{padding:32px 32px 44px}
}

@media (max-width:760px){
  .container{max-width:calc(100% - 32px)}
  .logo img{width:120px}
  .cta .container{padding-top:0;gap:28px}
  .tech-hero{height:auto}
  .tech-hero .container{padding:60px 0 40px}
  .tech-hero-name{font-size:36px;line-height:44px}
  .tech-hero-text{font-size:15px;line-height:24px;margin-top:14px}
  .crumb{position:static;margin-top:30px;font-size:14px}
  /* tabs and sidebar scroll sideways, like the old site on phones */
  .tech-tabs-in{justify-content:flex-start;gap:24px;height:56px;overflow-x:auto;scrollbar-width:none}
  .tech-tabs-in::-webkit-scrollbar,.tech-side-list::-webkit-scrollbar{display:none}
  .tech-tab{font-size:16px;padding:0 4px}
  .tech-main{padding:16px 0 56px}
  .tech-cont{flex-direction:column;gap:16px}
  .tech-side{flex:none;width:100%}
  .tech-side h2{display:none}
  .tech-side-list{display:flex;gap:8px;padding:10px;overflow-x:auto;scrollbar-width:none}
  .tech-side-list a{flex:0 0 auto;padding:8px 16px;border:0;border-radius:20px;background:#f5f7fa;font-size:14px;line-height:22px;white-space:nowrap}
  .tech-side-list a.active{background:var(--blue);color:#fff}
  .tech-content{width:100%;min-height:0;padding:24px 18px 32px}
  .tech-title{font-size:24px;line-height:34px;padding-bottom:16px}
  .tech-body{margin-top:20px;font-size:15px;line-height:28px}
}

@media (max-width:360px){
  .logo img{width:100px}
}
