/* ProjectDuniya Blogs 4.5 — service categories: home hub, footer index */

/* ---- Home: "Find help by what you are working on" ---- */
.sec--hub{background:#fff;border-top:1px solid var(--line,#e2e8f0);border-bottom:1px solid var(--line,#e2e8f0)}
.hub__group{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:28px 40px;padding:28px 0;border-top:1px solid var(--line,#e2e8f0)}
.hub__group:first-of-type{border-top:0;padding-top:8px}
.hub__head{border-left:4px solid var(--accent,#4f46e5);padding-left:16px;align-self:start}
.hub__head h3{font-size:20px;line-height:1.25;margin:0 0 6px}
.hub__head p{margin:0;font-size:14px;color:var(--muted,#64748b)}
.hub__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.hub__item{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border:1px solid var(--line,#e2e8f0);border-radius:12px;background:#fff;color:var(--ink,#0f172a);font:600 14.5px/1.3 var(--f-head,inherit);transition:border-color .15s,box-shadow .15s,background .15s}
.hub__item:hover{border-color:var(--accent,#4f46e5);background:color-mix(in srgb,var(--accent,#4f46e5) 6%,#fff);color:var(--ink,#0f172a);box-shadow:0 10px 22px -16px rgba(15,23,42,.4)}
.hub__item i{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--accent,#4f46e5) 12%,#fff);color:var(--accent,#4f46e5);font:700 14px var(--f-mono,monospace);font-style:normal}
.hub__item span{flex:1;min-width:0}
.hub__item small{flex:none;min-width:24px;padding:2px 7px;border-radius:99px;background:color-mix(in srgb,var(--accent,#4f46e5) 12%,#fff);color:var(--accent,#4f46e5);font:700 11px/1.6 var(--f-mono,monospace);text-align:center}
.hub__item.is-empty{color:var(--ink2,#334155);font-weight:500}
.hub__item.is-empty i{background:var(--line2,#f1f5f9);color:var(--muted,#64748b)}

/* the "Services" chip at the end of the home topic rail */
.rail__chip--services{border-style:dashed}

/* ---- Footer: browse by service ---- */
.footer-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px;margin:34px 0 8px;padding:30px 0 6px;border-top:1px solid #ffffff22}
.footer-services h3{font-size:13px;font-weight:700;color:#fff;margin:0 0 12px;letter-spacing:.02em}
.footer-services ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.footer-services li{margin:0;padding:0}
.footer-services a{display:inline-block;padding:4px 0;line-height:1.4;font-size:13.5px;color:#cbd5e1}
.footer-services a:hover{color:#fff;text-decoration:underline}

@media(max-width:960px){
  .hub__group{grid-template-columns:minmax(0,1fr);gap:16px}
  .footer-services{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:620px){
  .hub__list{grid-template-columns:minmax(0,1fr)}
  .footer-services{grid-template-columns:minmax(0,1fr)}
}
