/* IPCCTV — hub-ul „Idei de sisteme” (/firmware-camere/idei/), blocul de pe prima pagină și legăturile de pe pagina modelului.
   Folosește variabilele temei ipcctv (light + html[data-theme="dark"]) și clasele din ipfw.css (ipfw-card, ipfw-grid, ipfw-faq, ipfw-cta). */

.hub { --hub-r: 20px; }
.ipfw-hubwrap { padding-top: clamp(1.2rem, 2.6vw, 2.2rem); }

/* ---------- capul paginii */
.hub-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(1.2rem, 3.4vw, 3rem); align-items: center; margin-bottom: 1.4rem; }
.hub-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: .8rem; }
.hub-hero .ipfw-kicker { margin-bottom: .7rem; }
.hub-lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.6; max-width: 640px; margin-bottom: 1.1rem; }
.hub-hero-art { margin: 0; border-radius: var(--hub-r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow); }
.hub-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.hub-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: 0; max-width: 620px; }
.hub-facts > div { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: .55rem .8rem .6rem; box-shadow: var(--shadow-sm); }
.hub-facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hub-facts dd { margin: .1rem 0 0; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.hub-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.hub-stats li { padding: .45rem .85rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .88rem; color: var(--text); }
.hub-stats strong { color: var(--blue); font-weight: 800; }
.hub-404 { margin-bottom: 1.2rem; }

/* ---------- cuprins și filtru */
.hub-toc { display: flex; gap: .45rem; flex-wrap: wrap; margin: .2rem 0 1.4rem; padding: .55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); width: fit-content; max-width: 100%; }
.hub-toc a { padding: .4rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.hub-toc a:hover, .hub-toc a:focus-visible { background: var(--bg); color: var(--blue); box-shadow: var(--shadow-sm); }
.hub-filter { margin: .4rem 0 .2rem; }
.hub-filter .chip { font-size: .88rem; }

/* ---------- text */
.hub-intro { max-width: 860px; font-size: 1.01rem; }
.hub-intro p { margin-bottom: .8rem; }
.hub-prose { max-width: 880px; }
.ipfw .hub-sect > .ipfw-h2, .ipfw .hub-plan > .ipfw-h2, .ipfw .hub-kit > .ipfw-h2 { scroll-margin-top: 96px; }
.hub-note-box { max-width: 880px; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: var(--bg-soft); border-left: 4px solid var(--blue); font-size: .94rem; }
.hub-ticks { list-style: none; margin: 0 0 1rem !important; padding: 0; display: grid; gap: .55rem; max-width: 880px; }
.hub-ticks li { position: relative; padding-left: 1.9rem; line-height: 1.55; margin: 0 !important; }
.hub-ticks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(225, 29, 42, .25); }
.hub-ticks li::after { content: ""; position: absolute; left: .4rem; top: .42rem; width: .32rem; height: .58rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hub-tablewrap { max-width: 980px; margin-top: .4rem; }
.hub-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hub-table th, .hub-table td { padding: .65rem .85rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.hub-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; border-top: 0; white-space: nowrap; }
.hub-table tbody th { color: var(--ink); font-weight: 700; }
.hub-table tbody tr:hover { background: var(--bg-soft); }

/* ---------- planul */
.hub-plan-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1rem, 2.6vw, 2rem); align-items: start; }
.hub-plan-fig { margin: 0; border: 1px solid var(--line); border-radius: var(--hub-r); background: var(--bg); padding: .6rem; box-shadow: var(--shadow-sm); }
.hub-plan-svg { display: block; width: 100%; height: auto; }
.hub-plan-fig figcaption { padding: .55rem .3rem .15rem; }
.hub-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; font-size: .8rem; color: var(--muted); }
.hub-legend > span { display: inline-flex; align-items: center; gap: .4rem; }
.hub-legend-note { display: block; margin-top: .3rem; font-size: .76rem; color: var(--muted); }
.hl-cam { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e11d2a; color: #fff; font-size: .66rem; font-weight: 800;
  box-shadow: 0 0 0 4px rgba(225, 29, 42, .15); }
.hl-nvr { padding: 0 .3rem; border-radius: 4px; background: var(--navy, #0a1730); color: #fff; font-size: .6rem; font-weight: 800; line-height: 1.5; }
.hl-sensor { width: 9px; height: 9px; transform: rotate(45deg); background: #f59e0b; border: 1px solid #b45309; }
.hl-acc { width: 10px; height: 12px; border-radius: 3px; background: #2563eb; }
.hl-nocam { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #94a3b8; background: linear-gradient(45deg, transparent 44%, #94a3b8 44%, #94a3b8 56%, transparent 56%); }
.hl-fence { width: 18px; border-top: 2px dashed #8796ad; }

.hub-plan-svg {
  --hp-bg: #f2f5fa; --hp-zone: #e2f2e7; --hp-zone2: #c9e8d4; --hp-pave: #e4e9f1; --hp-earth: #efe5d4; --hp-bldg: #ffffff; --hp-wall: #22314a;
  --hp-room: #b4c1d4; --hp-lbl: #4a5a73; --hp-tree: #9bd3ae; --hp-tree-s: #6fbf8e; --hp-car: #c3cddc; --hp-car-w: #8ea0ba; --hp-fence: #8796ad;
  --hp-shelf: #cbd5e3; --hp-desk: #dbe3ee; --hp-cone: rgba(225, 29, 42, .12); --hp-cone-s: rgba(225, 29, 42, .42); --hp-cam: #e11d2a;
}
html[data-theme="dark"] .hub-plan-svg {
  --hp-bg: #0d1626; --hp-zone: #11291c; --hp-zone2: #173823; --hp-pave: #18233a; --hp-earth: #282214; --hp-bldg: #131e33; --hp-wall: #c9d6ea;
  --hp-room: #3a4a64; --hp-lbl: #a9b7cc; --hp-tree: #1d5236; --hp-tree-s: #2b7a50; --hp-car: #33435c; --hp-car-w: #5b6d89; --hp-fence: #64748b;
  --hp-shelf: #2a3850; --hp-desk: #22304a; --hp-cone: rgba(248, 113, 113, .16); --hp-cone-s: rgba(248, 113, 113, .5);
}
.hp-bg { fill: var(--hp-bg); }
.hp-zone { fill: var(--hp-zone); }
.hp-zone2 { fill: var(--hp-zone2); }
.hp-pave { fill: var(--hp-pave); }
.hp-earth { fill: var(--hp-earth); }
.hp-bldg { fill: var(--hp-bldg); stroke: var(--hp-wall); stroke-width: 2.6; }
.hp-room { fill: none; stroke: var(--hp-room); stroke-width: 1.2; }
.hp-wip { fill: var(--hp-bldg); fill-opacity: .55; stroke: var(--hp-wall); stroke-width: 1.6; stroke-dasharray: 6 4; }
.hp-wipg { stroke: var(--hp-room); stroke-width: 1; stroke-dasharray: 2 4; }
.hp-stack { fill: var(--hp-earth); stroke: #b08a50; stroke-width: 1.2; }
.hp-hatch { stroke: #c4a06a; stroke-width: 1; }
.hp-shelf { fill: var(--hp-shelf); }
.hp-desk { fill: var(--hp-desk); stroke: var(--hp-room); stroke-width: .8; }
.hp-dock { fill: #f59e0b; fill-opacity: .55; }
.hp-counter { fill: var(--hp-desk); stroke: var(--hp-wall); stroke-width: 1.2; }
.hp-fence { fill: none; stroke: var(--hp-fence); stroke-width: 1.6; stroke-dasharray: 5 4; }
.hp-gate { stroke: #e11d2a; stroke-width: 3.2; stroke-linecap: round; }
.hp-gap { stroke: var(--hp-bldg); stroke-width: 4.5; }
.hp-barrier-b { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.hp-barrier { stroke: #e11d2a; stroke-width: 4; stroke-dasharray: 5 5; }
.hp-barrier-p { fill: var(--hp-wall); }
.hp-stall { stroke: #fff; stroke-width: 1.4; }
html[data-theme="dark"] .hp-stall { stroke: #33415a; }
.hp-tree { fill: var(--hp-tree); stroke: var(--hp-tree-s); stroke-width: 1.2; }
.hp-table { fill: var(--hp-desk); stroke: var(--hp-room); stroke-width: 1; }
.hp-car { fill: var(--hp-car); }
.hp-car-w { fill: var(--hp-car-w); }
.hp-sensor { fill: #f59e0b; stroke: #b45309; stroke-width: 1; }
.hp-acc { fill: #2563eb; }
.hp-acc-d { fill: #fff; }
.hp-nvr { fill: #0a1730; }
html[data-theme="dark"] .hp-nvr { fill: #334155; }
.hp-nvr-t { fill: #fff; font: 800 7.5px/1 system-ui, sans-serif; text-anchor: middle; letter-spacing: .04em; }
.hp-nocam circle { fill: var(--hp-bg); stroke: #94a3b8; stroke-width: 2; }
.hp-nocam line { stroke: #94a3b8; stroke-width: 2; }
.hp-solar { fill: #1e3a8a; stroke: #93c5fd; stroke-width: 1; }
.hp-solar-l { stroke: #93c5fd; stroke-width: .8; }
.hp-cone { fill: var(--hp-cone); stroke: var(--hp-cone-s); stroke-width: 1; stroke-linejoin: round; }
.hp-cam { fill: var(--hp-cam); stroke: #fff; stroke-width: 2; }
.hp-num { fill: #fff; font: 800 10px/1 system-ui, sans-serif; text-anchor: middle; }
.hp-lbl { fill: var(--hp-lbl); font: 600 10px/1 system-ui, sans-serif; text-anchor: middle; }
.hp-lbl-l { text-anchor: start; font-size: 10.5px; font-weight: 700; }
.hp-lbl-b { fill: var(--hp-wall); font-size: 11px; font-weight: 800; }
.hp-lbl-s { font-size: 8.6px; }
.hp-lbl-m { font-size: 9px; fill-opacity: .85; }

.hub-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; counter-reset: none; }
.hub-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .75rem; align-items: start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.hub-points strong { display: block; color: var(--ink); margin-bottom: .15rem; line-height: 1.35; }
.hub-points p { margin: 0; color: var(--text); font-size: .93rem; line-height: 1.55; }
.hub-pn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e11d2a; color: #fff; font-weight: 800; font-size: .85rem;
  box-shadow: 0 0 0 4px rgba(225, 29, 42, .14); margin-top: .05rem; }
.hub-pn.none { background: var(--bg-soft); color: var(--muted); box-shadow: none; border: 1px solid var(--line); }

/* ---------- echipamente recomandate */
.hub-note { max-width: 880px; margin: -.3rem 0 1.2rem; }
.hub-group { border: 1px solid var(--line); border-radius: var(--hub-r); background: var(--bg); padding: clamp(.9rem, 2vw, 1.3rem); margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); scroll-margin-top: 96px; }
.hub-group-head { margin-bottom: 1rem; }
.hub-group-head h3 { font-size: 1.14rem; margin-bottom: .35rem; }
.hub-group-head p { color: var(--muted); font-size: .94rem; line-height: 1.55; max-width: 860px; margin: 0 0 .6rem; }
.hub-crit { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.hub-crit li { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px; background: var(--blue-soft); color: var(--ink); font-size: .82rem; font-weight: 600; }
.hub-crit li::before { content: ""; width: .32rem; height: .55rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-1px); }
.hub-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.hub-grid .ipfw-card-model { font-size: .95rem; }
.hub-why { display: block; margin-top: .4rem; padding-top: .4rem; border-top: 1px dashed var(--line); font-size: .78rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.hub-empty { margin: 0; }

/* ---------- carduri de idei */
.hub-sec { scroll-margin-top: 96px; }
.hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.hub-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--hub-r, 20px); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm);
  color: var(--text); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.hub-card:hover, .hub-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6dfec; }
.hub-card-art { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hub-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.hub-card:hover .hub-card-art img { transform: scale(1.03); }
.hub-card-body { display: flex; flex-direction: column; gap: .3rem; padding: .85rem 1rem 1rem; flex: 1; }
.hub-card-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.hub-card-title { font-weight: 800; color: var(--ink); font-size: 1.08rem; line-height: 1.25; letter-spacing: -.01em; }
.hub-card-text { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.hub-card-more { margin-top: auto; padding-top: .35rem; color: var(--blue); font-weight: 700; font-size: .86rem; }
.hub-cards-sm { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; }
.hub-card-sm .hub-card-art { aspect-ratio: 16 / 9; }
.hub-card-sm .hub-card-body { padding: .7rem .85rem .85rem; gap: .2rem; }
.hub-card-sm .hub-card-title { font-size: .98rem; }
.hub-card-sm .hub-card-more { font-size: .8rem; }
.hub-all { margin-top: .9rem; }
.hub-all a { color: var(--blue); font-weight: 700; }

.hub-how ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.hub-how li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem 1.15rem; background: var(--bg); box-shadow: var(--shadow-sm); }
.hub-how h3 { font-size: 1.03rem; margin: .7rem 0 .3rem; }
.hub-how p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---------- calculator de stocare */
.hub-calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); border: 1px solid var(--line); border-radius: var(--hub-r); overflow: hidden; background: var(--bg); box-shadow: var(--shadow); max-width: 1040px; }
.hub-calc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; padding: clamp(1rem, 2.4vw, 1.5rem); }
.hub-calc-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--ink); }
.hub-calc-form small { font-weight: 500; color: var(--muted); }
.hub-calc-form input, .hub-calc-form select { width: 100%; min-height: 44px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  color: var(--ink); font: 600 .95rem/1.3 inherit; font-family: inherit; }
.hub-calc-form input:focus, .hub-calc-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(225, 29, 42, .12); background: var(--bg); }
.hub-calc-out { display: flex; flex-direction: column; justify-content: center; gap: .35rem; padding: clamp(1.1rem, 2.6vw, 1.7rem); background: #0a1730; color: rgba(255, 255, 255, .78);
  background-image: radial-gradient(120% 80% at 100% 0%, rgba(225, 29, 42, .32), transparent 60%); }
.hub-calc-k { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hub-calc-big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hub-calc-hdd { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hub-calc-hdd b { color: #fff; }
.hub-calc-out ul { list-style: none; margin: .6rem 0 0; padding: .7rem 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: .25rem; font-size: .86rem; }
.hub-calc-out ul b { color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- prima pagină a secțiunii */
.hub-teaser { margin: clamp(2.2rem, 4vw, 3rem) 0 .5rem; }
.hub-teaser-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.1rem; }
.hub-teaser-head .ipfw-kicker { margin-bottom: .35rem; }
.ipfw .hub-teaser-head .ipfw-h2 { margin: 0 0 .35rem; }
.hub-teaser-head p { color: var(--muted); max-width: 640px; margin: 0; }
.hub-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.hub-chips span { font-weight: 700; margin-right: .2rem; }
.hub-chips .chip { font-size: .84rem; padding: .42rem .9rem; }

/* ---------- pagina modelului: legăturile spre idei */
.hub-links .ipfw-h2 { margin-top: 0; }
.hub-links-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.hub-link { display: flex; align-items: center; gap: .8rem; padding: .55rem .7rem .55rem .55rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
  color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s var(--ease); }
.hub-link:hover, .hub-link:focus-visible { border-color: var(--blue); transform: translateY(-2px); }
.hub-link img { flex: 0 0 96px; width: 96px; height: 60px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.hub-link > span { display: flex; flex-direction: column; min-width: 0; }
.hub-link small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.hub-link strong { color: var(--ink); font-size: .95rem; line-height: 1.3; }
.hub-link-t { font-size: .8rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- temă întunecată */
html[data-theme="dark"] .hub-card-art img, html[data-theme="dark"] .hub-hero-art img, html[data-theme="dark"] .hub-link img { filter: brightness(.9) saturate(.95); }
html[data-theme="dark"] .hub-calc-form input, html[data-theme="dark"] .hub-calc-form select { background: #0c1524; }
html[data-theme="dark"] .hub-card:hover { border-color: rgba(255, 255, 255, .2); }

/* ---------- ecrane mici */
@media (max-width: 1000px) {
  .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-calc { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hub-hero { grid-template-columns: 1fr; }
  .hub-hero-art { order: -1; max-width: 560px; }
  .hub-plan-grid { grid-template-columns: 1fr; }
  .hub-how ol { grid-template-columns: 1fr; }
  .hub-cards:not(.hub-cards-sm) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hub-hero h1 { font-size: 1.75rem; }
  .hub-hero-art { box-shadow: var(--shadow-sm); }
  .hub-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-toc { border-radius: 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .hub-toc::-webkit-scrollbar { display: none; }
  /* grilele de modele: derulare orizontală, ca pagina să nu devină foarte lungă */
  .hub-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 43%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 2px 2px .6rem; margin: 0 -2px; scrollbar-width: thin; }
  .hub-grid > .ipfw-card { scroll-snap-align: start; }
  .hub-grid > .ipfw-card:hover { transform: none; }
  .hub-group { padding: .9rem .8rem 1rem; }
  /* cardurile de idei pe telefon: imagine în stânga, text în dreapta */
  .hub-cards:not(.hub-cards-sm) { grid-template-columns: 1fr; gap: .7rem; }
  .hub-cards:not(.hub-cards-sm) .hub-card { flex-direction: row; align-items: stretch; }
  .hub-cards:not(.hub-cards-sm) .hub-card-art { flex: 0 0 38%; aspect-ratio: auto; min-height: 118px; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .hub-cards:not(.hub-cards-sm) .hub-card-body { padding: .7rem .8rem .75rem; gap: .2rem; }
  .hub-cards:not(.hub-cards-sm) .hub-card-title { font-size: 1rem; }
  .hub-cards:not(.hub-cards-sm) .hub-card-text { font-size: .84rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hub-cards:not(.hub-cards-sm) .hub-card-more { display: none; }
  .hub-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .hub-card-sm .hub-card-more { display: none; }
  .hub-calc-form { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .hub-calc-form label:last-child { grid-column: 1 / -1; }
  .hub-links-list { grid-template-columns: 1fr; }
  .hub-table th, .hub-table td { padding: .55rem .6rem; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-card, .hub-card-art img, .hub-link { transition: none; }
  .hub-card:hover, .hub-link:hover { transform: none; }
  .hub-card:hover .hub-card-art img { transform: none; }
}
@media print {
  .hub-toc, .hub-filter, .hub-cta, .hub-related, .hub-calc-form { display: none !important; }
  .hub-grid { grid-template-columns: repeat(4, 1fr); }
}
