/* Exact inline layout CSS restored from V76 knowledge.html */
.knowledge-hero{padding:58px 0 36px;background:linear-gradient(180deg,#fff,#f3f6fa)}
    .knowledge-hero .intro{max-width:820px}
    .knowledge-hero p{color:var(--muted);font-size:15px;margin:8px 0 0}

    .infographic-section{padding:20px 0 22px}
    .knowledge-highlight{margin:0 0 24px}
    .highlight-box{
      border:1px solid var(--line);
      background:#fff;
      border-radius:18px;
      padding:18px 20px;
      box-shadow:0 8px 20px rgba(11,31,58,.04);
    }
    .highlight-box strong{display:block;color:var(--navy);margin-bottom:10px}
    .highlight-tags{display:flex;flex-wrap:wrap;gap:10px}
    .highlight-tags span{
      display:inline-flex;
      padding:7px 12px;
      border-radius:999px;
      background:#eef3f8;
      color:var(--navy);
      font-size:12px;
      font-weight:800;
      border:1px solid #d7e1eb;
    }

    .knowledge-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:16px;
      align-items:stretch;
    }
    .knowledge-card{
      display:flex;
      flex-direction:column;
      min-width:0;
      border:1px solid var(--line);
      border-radius:18px;
      overflow:hidden;
      background:#fff;
      box-shadow:0 8px 20px rgba(11,31,58,.06);
    }
    .knowledge-thumb{
      display:flex;
      align-items:center;
      justify-content:center;
      aspect-ratio:16/10;
      padding:8px;
      background:#eef3f8;
      border-bottom:1px solid var(--line);
      overflow:hidden;
    }
    .knowledge-thumb img{
      width:100%;
      height:100%;
      object-fit:contain;
      display:block;
    }
    .knowledge-body{
      display:flex;
      flex-direction:column;
      flex:1;
      padding:14px 16px 16px;
    }
    .knowledge-tag{
      display:inline-flex;
      padding:6px 10px;
      border-radius:999px;
      background:#eef3f8;
      color:var(--navy);
      font-size:12px;
      font-weight:800;
      border:1px solid #d7e1eb;
      margin-bottom:10px;
    }
    .knowledge-body h3{
      font-size:18px;
      line-height:1.4;
      margin:0 0 6px;
      color:var(--navy);
    }
    .knowledge-body p{
      font-size:14px;
      line-height:1.6;
      color:var(--muted);
      margin:0 0 12px;
    }
    .knowledge-actions{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:auto;
    }
    .knowledge-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      text-decoration:none;
      min-height:40px;
      padding:10px 14px;
      border-radius:10px;
      font-size:13px;
      font-weight:800;
      color:var(--navy);
      background:#f4f7fa;
      border:1px solid #dbe4ed;
    }
    .knowledge-btn.primary{
      color:#fff;
      border-color:transparent;
      background:linear-gradient(135deg,var(--navy),var(--navy-3));
    }

    .download-section{padding:56px 0 82px}
    .download-filter{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 30px}
    .filter-chip{padding:8px 13px;border-radius:999px;background:#eef3f8;color:var(--navy);font-size:12px;font-weight:800;border:1px solid #d7e1eb}
    .download-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
    .download-card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:22px;box-shadow:0 10px 26px rgba(15,23,42,.05)}
    .file-icon{width:46px;height:46px;border-radius:13px;background:linear-gradient(135deg,var(--navy),var(--navy-3));display:grid;place-items:center;color:#fff;font-size:20px;font-weight:800;margin-bottom:15px}
    .download-card h3{font-size:18px;margin:0 0 8px}
    .download-card p{font-size:14px;color:var(--muted);margin:0 0 18px}
    .file-meta{font-size:12px;color:#98a2b3;margin-bottom:14px}
    .download-btn{display:inline-flex;padding:9px 13px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:800;background:#f5f6f8;color:#667085;border:1px solid #e4e7ec;cursor:not-allowed}
    .knowledge-note{margin-top:28px;padding:18px 20px;border-radius:16px;background:#fff8f2;border:1px solid #ffe0c7;color:#8a4b1f;font-size:14px}

    @media(max-width:1000px){
      .knowledge-grid{grid-template-columns:1fr}
    }
    @media(max-width:900px){
      .download-grid{grid-template-columns:repeat(2,1fr)}
    }
    @media(max-width:650px){
      .download-grid{grid-template-columns:1fr}
      .knowledge-hero{padding-top:42px}
    }
  
    @media(max-width:1180px){
      .knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    }
    @media(max-width:720px){
      .knowledge-grid{grid-template-columns:1fr;gap:14px;}
      .knowledge-thumb{aspect-ratio:16/9;padding:6px;}
      .knowledge-body{padding:14px 15px 15px;}
    }


/* v1.1.87: topic-accurate grouping; keeps the existing knowledge-card design unchanged. */
.ims-knowledge-topic{scroll-margin-top:110px;margin:22px 0 36px}
.ims-knowledge-topic .section-head{margin-bottom:18px}
.ims-knowledge-topic:last-child{margin-bottom:0}
.highlight-tags a{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eef3f8;color:var(--navy);font-size:12px;font-weight:800;border:1px solid #d7e1eb;text-decoration:none;align-items:center;line-height:1.5}
.highlight-tags a:hover,.highlight-tags a:focus-visible{background:#dfeaf5;outline-offset:3px}
.download-filter a.filter-chip{text-decoration:none;cursor:pointer}
.download-card[id]{scroll-margin-top:110px}
