/* Category page. Classes prefixed tc- */
.tc{color:#1f2937;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;--c:#01074b}
.tc a{text-decoration:none;color:inherit}
.tc h1,.tc h2,.tc h3{margin-top:0}
.tc p{font-size:inherit !important}
.tc-in{max-width:1180px;margin:0 auto;padding:0 20px}
footer.mt-3{margin-top:0 !important}

/* banner */
.tc-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 9%,#fff),#fff 92%);border-bottom:1px solid #eef0f4}
.tc-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(color-mix(in srgb,var(--c) 22%,transparent) 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:linear-gradient(90deg,transparent 45%,#000);mask-image:linear-gradient(90deg,transparent 45%,#000);pointer-events:none}
.tc-hero .tc-big{position:absolute;right:40px;top:50%;transform:translateY(-50%);color:var(--c);opacity:.09}
.tc-hero .tc-in{position:relative;padding-top:26px;padding-bottom:34px}
.tc-bc{display:flex;gap:8px;align-items:center;font-size:13px;color:#6b7280;margin-bottom:20px}
.tc-bc a{color:#01074b;font-weight:600}
.tc-head{display:flex;gap:20px;align-items:center}
.tc-ic{width:64px;height:64px;border-radius:18px;background:var(--c);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 12px 24px -10px var(--c)}
.tc-head h1{font-size:36px;line-height:1.15;margin:0 0 6px;color:#01074b;font-weight:800;letter-spacing:-.02em}
.tc-head p{margin:0;color:#4b5563;font-size:16px !important;max-width:620px}
.tc-stats{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.tc-stats span{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #e3e6f0;padding:7px 13px;border-radius:999px;font-size:13px;color:#374151;font-weight:600}
.tc-stats b{color:var(--c)}

/* topic switcher */
.tc-tabs{border-bottom:1px solid #eef0f4;background:#fff}
.tc-tabs .tc-in{display:flex;gap:8px;overflow-x:auto;padding-top:14px;padding-bottom:14px;scrollbar-width:none}
.tc-tabs .tc-in::-webkit-scrollbar{display:none}
.tc .tc-tab{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 14px;border-radius:999px;border:1px solid #e3e6f0;font-size:14px;font-weight:600;color:#374151;background:#fff;transition:.15s}
.tc .tc-tab i{display:flex;color:var(--t)}
.tc .tc-tab small{color:#9ca3af;font-weight:500}
.tc .tc-tab:hover{border-color:var(--t);color:#111827}
.tc .tc-tab.on{background:var(--t);border-color:var(--t);color:#fff}
.tc .tc-tab.on i,.tc .tc-tab.on small{color:rgba(255,255,255,.85)}

/* layout */
.tc-main{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;padding-top:34px;padding-bottom:56px}
.tc-lh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px}
.tc-lh h2{font-size:21px;color:#01074b;margin:0;font-weight:700;display:flex;align-items:center;gap:10px}
.tc-lh h2:before{content:"";width:5px;height:20px;border-radius:3px;background:#f10015}
.tc-lh small{color:#6b7280;font-size:13.5px}

/* featured (page 1) */
.tc-feat{display:grid;grid-template-columns:230px 1fr;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff;margin-bottom:18px;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:box-shadow .15s,transform .15s}
.tc-cover{position:relative;background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 55%,#01074b));color:#fff;padding:20px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-height:200px}
.tc-cover .tc-lab{align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:rgba(255,255,255,.2);padding:4px 10px;border-radius:999px}
.tc-cover .tc-bg{position:absolute;right:-24px;bottom:-30px;opacity:.18}
.tc-cover .tc-ci{width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center}
.tc-fb{padding:22px 26px;display:flex;flex-direction:column}
.tc-fb h3{font-size:21px;line-height:1.32;margin:8px 0 10px;color:#111827;font-weight:700;letter-spacing:-.01em}
.tc-fb p{margin:0 0 16px;color:#4b5563;font-size:15px !important;flex:1}

/* list rows */
.tc-list{display:grid;gap:12px}
.tc-row{position:relative;display:block;border:1px solid #e5e7eb;border-radius:14px;padding:18px 22px 16px 24px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:box-shadow .15s,transform .15s,border-color .15s}
.tc-row:before{content:"";position:absolute;left:-1px;top:20px;width:3px;height:24px;border-radius:0 3px 3px 0;background:var(--c)}
.tc-row h3{font-size:17px;line-height:1.4;margin:0 0 7px;color:#111827;font-weight:700}
.tc-row p{margin:0 0 12px;color:#4b5563;font-size:14px !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tc-ft{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tc-meta{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#6b7280}
.tc-more{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--c)}
.tc-row:hover,.tc-feat:hover{box-shadow:0 12px 28px -14px rgba(1,7,75,.3);transform:translateY(-1px)}
.tc-row:hover h3,.tc-feat:hover h3{color:var(--c)}

/* pagination */
.tc-pg{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:26px;flex-wrap:wrap}
.tc-pg small{color:#6b7280;font-size:13.5px}
.tc-pgl{display:flex;gap:6px;flex-wrap:wrap}
.tc .tc-pgl a{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e3e6f0;border-radius:10px;font-weight:600;font-size:14px;color:#374151;background:#fff;transition:.15s}
.tc .tc-pgl a:hover{border-color:#01074b;color:#01074b}
.tc .tc-pgl a.on{background:#01074b;border-color:#01074b;color:#fff}

/* sidebar */
.tc-side{display:flex;flex-direction:column;gap:18px;position:sticky;top:86px;align-self:start}
.tc-card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:18px 18px 10px}
.tc-card h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#01074b;margin:0 0 12px;font-weight:800}
.tc-sf{display:flex;align-items:center;gap:10px;height:46px;padding:0 5px 0 14px;background:#f3f4f8;border:1px solid #e3e6f0;border-radius:12px;margin-bottom:10px}
.tc-sf input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:14px}
.tc-sf button{width:36px;height:36px;border:0;border-radius:9px;background:#01074b;color:#fff;display:flex;align-items:center;justify-content:center}
.tc .tc-tp{display:flex;align-items:center;gap:12px;padding:9px 6px;border-radius:10px;font-weight:600;color:#1f2937;font-size:14.5px}
.tc .tc-tp:hover{background:#f6f7fb}
.tc-tp .tc-ti{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--t) 12%,#fff);color:var(--t);flex:none}
.tc-tp small{margin-left:auto;color:#9ca3af;font-weight:500;font-size:12.5px}
.tc .tc-tp.on{background:color-mix(in srgb,var(--t) 8%,#fff);color:var(--t)}
.tc-help{background:linear-gradient(160deg,#01074b,#0b1a8a);color:#c9cfe8;border:0;padding:22px}
.tc-help h4{color:#fff;letter-spacing:0;text-transform:none;font-size:18px;margin-bottom:6px}
.tc-help p{margin:0 0 14px;font-size:14px !important}
.tc-help .tc-sf{background:#fff;border-color:#fff}

@media (max-width:991.98px){
  .tc-main{grid-template-columns:1fr;gap:28px}
  .tc-side{position:static}
  .tc-side .tc-topics{display:none}
}
@media (max-width:767.98px){
  .tc-in{padding:0 16px}
  .tc-hero .tc-in{padding-top:18px;padding-bottom:24px}
  .tc-hero .tc-big{display:none}
  .tc-bc{margin-bottom:14px}
  .tc-head{gap:14px;align-items:flex-start}
  .tc-ic{width:50px;height:50px;border-radius:14px}
  .tc-head h1{font-size:27px}
  .tc-head p{font-size:14.5px !important}
  .tc-stats{margin-top:16px}
  .tc-main{padding-top:24px;padding-bottom:40px}
  .tc-feat{grid-template-columns:1fr}
  .tc-cover{min-height:0;height:120px;flex-direction:row;align-items:flex-start}
  .tc-fb{padding:18px}
  .tc-fb h3{font-size:19px}
  .tc-row{padding:16px 16px 14px 18px}
  .tc-row h3{font-size:16px}
  .tc-pg{justify-content:center}
  .tc-pg small{width:100%;text-align:center;order:2}
}

.tc-sf:focus-within{border-color:#01074b;box-shadow:0 0 0 3px rgba(1,7,75,.12)}
.tc-help .tc-sf:focus-within{box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.tc-sf button:hover{background:#f10015}
@media (max-width:767.98px){.tc-cover{height:96px}}
