/* =========================================================
   STARPOL METAL HUB / FINAL
   template-project-hub.php
========================================================= */

body.page-template-template-project-hub {
  --sp-wrap: min(1240px, calc(100% - 48px));
  --sp-section-y: 88px;
  --sp-section-y-lg: 104px;

  --sp-bg: #f2f5f9;
  --sp-bg-alt: #e9eef5;
  --sp-surface: #ffffff;
  --sp-surface-soft: #f8fafc;

  --sp-dark: #102a63;
  --sp-dark-2: #0c214e;

  --sp-text: #243458;
  --sp-text-soft: #4b5b79;
  --sp-heading: #0f1728;
  --sp-accent: #ce0008;

  --sp-border: rgba(15, 35, 80, 0.08);
  --sp-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  --sp-shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.05);

  --sp-radius-xl: 28px;
  --sp-radius-lg: 24px;
  --sp-radius-md: 18px;
}

body.page-template-template-project-hub .site-content,
body.page-template-template-project-hub #primary,
body.page-template-template-project-hub article,
body.page-template-template-project-hub .entry-content {
  background: var(--sp-bg);
}

body.page-template-template-project-hub .entry-content > *:not(.sp-metal-page) {
  display: none;
}

body.page-template-template-project-hub .sp-metal-page,
body.page-template-template-project-hub .sp-metal-page * {
  box-sizing: border-box;
}

body.page-template-template-project-hub .sp-metal-page {
  position: relative;
  color: var(--sp-text);
}

body.page-template-template-project-hub .sp-metal-wrap {
  width: var(--sp-wrap);
  margin: 0 auto;
}

body.page-template-template-project-hub .sp-metal-page h1,
body.page-template-template-project-hub .sp-metal-page h2,
body.page-template-template-project-hub .sp-metal-page h3,
body.page-template-template-project-hub .sp-metal-page h4 {
  margin: 0;
  color: var(--sp-heading);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

body.page-template-template-project-hub .sp-metal-page p,
body.page-template-template-project-hub .sp-metal-page li,
body.page-template-template-project-hub .sp-metal-page a,
body.page-template-template-project-hub .sp-metal-page span {
  font-family: inherit;
}

body.page-template-template-project-hub .sp-metal-page p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.78;
  color: var(--sp-text);
}

body.page-template-template-project-hub .sp-metal-page p:last-child {
  margin-bottom: 0;
}

body.page-template-template-project-hub .sp-metal-page ul,
body.page-template-template-project-hub .sp-metal-page ol {
  margin: 22px 0 0;
  padding-left: 24px;
}

body.page-template-template-project-hub .sp-metal-page li {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--sp-text);
}

/* sections */

body.page-template-template-project-hub .sp-metal-section,
body.page-template-template-project-hub .sp-metal-section-alt,
body.page-template-template-project-hub .sp-metal-dark,
body.page-template-template-project-hub .sp-metal-cta {
  padding: var(--sp-section-y) 0;
}

body.page-template-template-project-hub .sp-metal-section {
  background: var(--sp-bg);
}

body.page-template-template-project-hub .sp-metal-section-alt {
  background: var(--sp-bg-alt);
}

body.page-template-template-project-hub .sp-metal-dark,
body.page-template-template-project-hub .sp-metal-cta {
  padding: var(--sp-section-y-lg) 0;
  background: linear-gradient(135deg, var(--sp-dark) 0%, var(--sp-dark-2) 100%);
  color: #fff;
}

body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > p,
body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > .sp-metal-eyebrow,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > p,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > .sp-metal-eyebrow {
  color: #fff !important;
}

body.page-template-template-project-hub .sp-metal-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #213764;
}

body.page-template-template-project-hub .sp-metal-dark .sp-metal-eyebrow,
body.page-template-template-project-hub .sp-metal-cta .sp-metal-eyebrow,
body.page-template-template-project-hub .sp-metal-hero .sp-metal-eyebrow {
  color: rgba(255,255,255,0.86) !important;
}

/* breadcrumbs */

body.page-template-template-project-hub .sp-metal-breadcrumbs-wrap {
  padding: 18px 0 8px;
  background: var(--sp-bg);
}

body.page-template-template-project-hub .sp-metal-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--sp-text-soft);
}

body.page-template-template-project-hub .sp-metal-breadcrumbs a {
  color: #435372;
  text-decoration: none;
  transition: color .2s ease;
}

body.page-template-template-project-hub .sp-metal-breadcrumbs a:hover {
  color: var(--sp-accent);
}

body.page-template-template-project-hub .sp-metal-breadcrumb-sep {
  color: #8a97ab;
}

body.page-template-template-project-hub .sp-metal-breadcrumb-current {
  color: var(--sp-heading);
  font-weight: 600;
}

/* hero */

body.page-template-template-project-hub .sp-metal-hero {
  padding: 88px 0 96px;
  background: linear-gradient(135deg, #102552 0%, #0c214b 100%);
  color: #fff;
}

body.page-template-template-project-hub .sp-metal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 72px;
  align-items: center;
}

body.page-template-template-project-hub .sp-metal-hero-copy {
  max-width: 720px;
}

body.page-template-template-project-hub .sp-metal-hero h1 {
  margin: 0 0 24px;
  max-width: 11ch;
  font-size: clamp(52px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: #fff;
}

body.page-template-template-project-hub .sp-metal-hero .sp-metal-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.68;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

body.page-template-template-project-hub .sp-metal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

body.page-template-template-project-hub .sp-metal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body.page-template-template-project-hub .sp-metal-btn:hover {
  transform: translateY(-2px);
}

body.page-template-template-project-hub .sp-metal-btn-primary {
  background: var(--sp-accent);
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(206,0,8,.22);
}

body.page-template-template-project-hub .sp-metal-btn-primary:hover {
  background: #b40008;
}

body.page-template-template-project-hub .sp-metal-btn-secondary {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: #fff !important;
}

body.page-template-template-project-hub .sp-metal-btn-secondary:hover {
  background: rgba(255,255,255,.16);
}

/* media */

body.page-template-template-project-hub .sp-metal-hero-media,
body.page-template-template-project-hub .sp-metal-photo,
body.page-template-template-project-hub .sp-metal-page figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--sp-radius-xl);
}

body.page-template-template-project-hub .sp-metal-hero-media,
body.page-template-template-project-hub .sp-metal-photo {
  min-height: 440px;
  align-self: stretch;
}

body.page-template-template-project-hub .sp-metal-hero-media img,
body.page-template-template-project-hub .sp-metal-photo img,
body.page-template-template-project-hub .sp-metal-page figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--sp-radius-xl);
  box-shadow: var(--sp-shadow);
  transition: transform .45s ease, box-shadow .35s ease;
}

body.page-template-template-project-hub .sp-metal-hero-media:hover img,
body.page-template-template-project-hub .sp-metal-photo:hover img,
body.page-template-template-project-hub .sp-metal-page figure:hover img {
  transform: scale(1.035);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.10);
}

/* headings */

body.page-template-template-project-hub .sp-metal-page h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  max-width: 12ch;
}

body.page-template-template-project-hub .sp-metal-page h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

body.page-template-template-project-hub .sp-metal-page h4 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
}

/* split */

body.page-template-template-project-hub .sp-metal-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: 68px;
  align-items: stretch;
}

body.page-template-template-project-hub .sp-metal-split > div:first-child {
  align-self: center;
}

body.page-template-template-project-hub .sp-metal-split--reverse {
  grid-template-columns: minmax(420px, .96fr) minmax(0, 1.04fr);
}

body.page-template-template-project-hub .sp-metal-split--reverse > :first-child {
  order: 1;
}

body.page-template-template-project-hub .sp-metal-split--reverse > :last-child {
  order: 2;
}

/* grids */

body.page-template-template-project-hub .sp-metal-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

body.page-template-template-project-hub .sp-metal-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-template-template-project-hub .sp-metal-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* cards */

body.page-template-template-project-hub .sp-metal-card {
  height: 100%;
  padding: 32px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-soft);
}

body.page-template-template-project-hub .sp-metal-card,
body.page-template-template-project-hub .sp-metal-card p,
body.page-template-template-project-hub .sp-metal-card li,
body.page-template-template-project-hub .sp-metal-card span,
body.page-template-template-project-hub .sp-metal-card a {
  color: var(--sp-text) !important;
  -webkit-text-fill-color: unset !important;
  text-shadow: none !important;
}

body.page-template-template-project-hub .sp-metal-card h3,
body.page-template-template-project-hub .sp-metal-card h4 {
  color: var(--sp-heading) !important;
}

body.page-template-template-project-hub .sp-metal-card-dark {
  background: rgba(255,255,255,0.98);
}

/* lists */

body.page-template-template-project-hub .sp-metal-list-check {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

body.page-template-template-project-hub .sp-metal-list-check li {
  position: relative;
  padding-left: 30px;
  margin: 0 0 14px;
}

body.page-template-template-project-hub .sp-metal-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sp-accent);
  font-weight: 800;
}

body.page-template-template-project-hub .sp-metal-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

body.page-template-template-project-hub .sp-metal-card ul li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 14px;
}

body.page-template-template-project-hub .sp-metal-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sp-accent);
  font-weight: 800;
}

/* process */

body.page-template-template-project-hub .sp-metal-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

body.page-template-template-project-hub .sp-metal-step {
  min-height: 240px;
  padding: 28px 24px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-soft);
}

body.page-template-template-project-hub .sp-metal-step h3 {
  color: var(--sp-heading) !important;
}

body.page-template-template-project-hub .sp-metal-step p {
  color: var(--sp-text) !important;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

/* faq */

body.page-template-template-project-hub .sp-metal-faq {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

body.page-template-template-project-hub .sp-metal-faq-item {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-soft);
  overflow: hidden;
}

body.page-template-template-project-hub .sp-metal-faq-q {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 24px 68px 24px 28px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--sp-heading) !important;
}

body.page-template-template-project-hub .sp-metal-faq-q::-webkit-details-marker {
  display: none;
}

body.page-template-template-project-hub .sp-metal-faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f3f6fb;
  color: var(--sp-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

body.page-template-template-project-hub .sp-metal-faq-item[open] .sp-metal-faq-q::after {
  content: "–";
}

body.page-template-template-project-hub .sp-metal-faq-a {
  padding: 0 28px 26px;
  border-top: 1px solid rgba(15, 35, 80, 0.06);
  background: #ffffff;
}

body.page-template-template-project-hub .sp-metal-faq-a p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.78;
  color: var(--sp-text);
  max-width: 90ch;
}

/* cta */

body.page-template-template-project-hub .sp-metal-cta h2 {
  max-width: 12ch;
  color: #fff !important;
}

body.page-template-template-project-hub .sp-metal-cta p {
  max-width: 760px;
  color: rgba(255,255,255,0.92) !important;
}

/* responsive */

@media (max-width: 1180px) {
  body.page-template-template-project-hub .sp-metal-hero-grid,
  body.page-template-template-project-hub .sp-metal-split,
  body.page-template-template-project-hub .sp-metal-split--reverse,
  body.page-template-template-project-hub .sp-metal-grid-3,
  body.page-template-template-project-hub .sp-metal-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.page-template-template-project-hub .sp-metal-page h2 {
    max-width: none;
  }

  body.page-template-template-project-hub .sp-metal-hero-media,
  body.page-template-template-project-hub .sp-metal-photo,
  body.page-template-template-project-hub .sp-metal-hero-media img,
  body.page-template-template-project-hub .sp-metal-photo img {
    min-height: 340px;
  }

  body.page-template-template-project-hub .sp-metal-split--reverse > :first-child,
  body.page-template-template-project-hub .sp-metal-split--reverse > :last-child {
    order: initial;
  }
}

@media (max-width: 767px) {
  body.page-template-template-project-hub {
    --sp-wrap: min(100%, calc(100% - 24px));
    --sp-section-y: 56px;
    --sp-section-y-lg: 68px;
  }

  body.page-template-template-project-hub .sp-metal-hero {
    padding: 58px 0 64px;
  }

  body.page-template-template-project-hub .sp-metal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-template-template-project-hub .sp-metal-btn {
    width: 100%;
  }

  body.page-template-template-project-hub .sp-metal-grid-2,
  body.page-template-template-project-hub .sp-metal-grid-3,
  body.page-template-template-project-hub .sp-metal-steps {
    grid-template-columns: 1fr;
  }

  body.page-template-template-project-hub .sp-metal-card,
  body.page-template-template-project-hub .sp-metal-step {
    padding: 24px 20px;
  }

  body.page-template-template-project-hub .sp-metal-hero-media,
  body.page-template-template-project-hub .sp-metal-photo,
  body.page-template-template-project-hub .sp-metal-hero-media img,
  body.page-template-template-project-hub .sp-metal-photo img {
    min-height: 260px;
  }

  body.page-template-template-project-hub .sp-metal-breadcrumbs {
    font-size: 14px;
  }

  body.page-template-template-project-hub .sp-metal-faq-q {
    padding: 20px 58px 20px 20px;
    font-size: 22px;
  }

  body.page-template-template-project-hub .sp-metal-faq-a {
    padding: 0 20px 22px;
  }

  body.page-template-template-project-hub .sp-metal-faq-a p,
  body.page-template-template-project-hub .sp-metal-page p,
  body.page-template-template-project-hub .sp-metal-page li {
    font-size: 17px;
    line-height: 1.7;
  }
}

/* =========================================================
   STARPOL METAL HUB / LINK CARDS
========================================================= */

body.page-template-template-project-hub .sp-metal-section-intro {
  max-width: 860px;
  margin: 0 0 30px;
}

body.page-template-template-project-hub .sp-metal-link-grid {
  display: grid;
  gap: 26px;
  margin-top: 34px;
}

body.page-template-template-project-hub .sp-metal-link-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-template-template-project-hub .sp-metal-link-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-template-template-project-hub .sp-metal-link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 35, 80, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  text-decoration: none !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
  border-color: rgba(206,0,8,0.18);
}

body.page-template-template-project-hub .sp-metal-link-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dde5ef;
}

body.page-template-template-project-hub .sp-metal-link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .36s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-thumb img {
  transform: scale(1.05);
}

body.page-template-template-project-hub .sp-metal-link-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
}

body.page-template-template-project-hub .sp-metal-link-title {
  display: block;
  color: var(--sp-heading);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.012em;
}

body.page-template-template-project-hub .sp-metal-link-text {
  display: block;
  color: var(--sp-text);
  font-size: 17px;
  line-height: 1.72;
}

body.page-template-template-project-hub .sp-metal-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--sp-accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.page-template-template-project-hub .sp-metal-link-cta::after {
  content: "→";
  transition: transform .22s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-cta::after {
  transform: translateX(4px);
}

@media (max-width: 1080px) {
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-template-template-project-hub .sp-metal-link-grid-2,
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: 1fr;
  }

  body.page-template-template-project-hub .sp-metal-link-body {
    padding: 20px 20px 22px;
  }

  body.page-template-template-project-hub .sp-metal-link-title {
    font-size: 22px;
  }

  body.page-template-template-project-hub .sp-metal-link-text {
    font-size: 16px;
    line-height: 1.68;
  }
}

/* =========================================================
   STARPOL METAL HUB / FIXES 2026-04-10
========================================================= */

/* lepsza szerokość nagłówków sekcji */
body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
  max-width: 14ch;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 22px;
}

/* intro pod nagłówkiem niech nie będzie za wąski */
body.page-template-template-project-hub .sp-metal-section-intro {
  max-width: 920px;
  margin: 0 0 34px;
  font-size: 19px;
  line-height: 1.74;
}

/* stabilniejsza siatka kart */
body.page-template-template-project-hub .sp-metal-link-grid {
  display: grid;
  align-items: stretch;
  gap: 28px;
  margin-top: 34px;
}

body.page-template-template-project-hub .sp-metal-link-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-template-template-project-hub .sp-metal-link-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* same karty */
body.page-template-template-project-hub .sp-metal-link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(15, 35, 80, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  text-decoration: none !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11);
  border-color: rgba(206,0,8,0.18);
}

/* zdjęcie w karcie */
body.page-template-template-project-hub .sp-metal-link-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dbe3ee;
}

body.page-template-template-project-hub .sp-metal-link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .36s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-thumb img {
  transform: scale(1.05);
}

/* body karty */
body.page-template-template-project-hub .sp-metal-link-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 28px;
  flex: 1 1 auto;
}

body.page-template-template-project-hub .sp-metal-link-title {
  display: block;
  color: var(--sp-heading);
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

body.page-template-template-project-hub .sp-metal-link-text {
  display: block;
  color: var(--sp-text);
  font-size: 17px;
  line-height: 1.72;
}

body.page-template-template-project-hub .sp-metal-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--sp-accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.page-template-template-project-hub .sp-metal-link-cta::after {
  content: "→";
  transition: transform .22s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-cta::after {
  transform: translateX(4px);
}

/* większe karty w sekcji modelu współpracy */
body.page-template-template-project-hub .sp-metal-section .sp-metal-link-grid-2 .sp-metal-link-card,
body.page-template-template-project-hub .sp-metal-section-alt .sp-metal-link-grid-2 .sp-metal-link-card {
  min-height: 100%;
}

/* mobilka i tablet */
@media (max-width: 1180px) {
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
    max-width: 16ch;
  }
}

@media (max-width: 820px) {
  body.page-template-template-project-hub .sp-metal-link-grid-2,
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: 1fr;
  }

  body.page-template-template-project-hub .sp-metal-link-body {
    padding: 22px 20px 22px;
  }

  body.page-template-template-project-hub .sp-metal-link-title {
    font-size: 22px;
  }

  body.page-template-template-project-hub .sp-metal-link-text {
    font-size: 16px;
    line-height: 1.68;
  }

  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
    max-width: none;
    font-size: clamp(34px, 8vw, 52px);
  }
}

/* =========================================================
   STARPOL METAL HUB / LAYOUT TUNING 2026-04-13
========================================================= */

/* sekcje z kartami - ciaśniejszy rytm pionowy */
body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap,
body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap {
  position: relative;
}

/* nagłówki sekcji mniej "wieżowe" */
body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2 {
  max-width: 11ch;
  margin-bottom: 18px;
}

/* intro bardziej zwarte */
body.page-template-template-project-hub .sp-metal-section-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

/* mniejsze, równiejsze odstępy siatki */
body.page-template-template-project-hub .sp-metal-link-grid {
  gap: 22px;
  margin-top: 26px;
}

/* 2-kolumnowe sekcje niech wykorzystują szerokość lepiej */
body.page-template-template-project-hub .sp-metal-link-grid-2 {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
}

/* 3-kolumnowe karty niech będą bardziej zwarte */
body.page-template-template-project-hub .sp-metal-link-grid-3 {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

/* równa wysokość zdjęć */
body.page-template-template-project-hub .sp-metal-link-thumb {
  aspect-ratio: 16 / 9;
  max-height: 250px;
}

/* treść kart trochę ciaśniej */
body.page-template-template-project-hub .sp-metal-link-body {
  padding: 22px 20px 22px;
  gap: 12px;
}

body.page-template-template-project-hub .sp-metal-link-title {
  font-size: 22px;
  line-height: 1.16;
}

body.page-template-template-project-hub .sp-metal-link-text {
  font-size: 16px;
  line-height: 1.62;
}

/* model współpracy - dwie duże karty obok siebie */
body.page-template-template-project-hub .sp-metal-link-grid-2 .sp-metal-link-card {
  width: 100%;
}

/* tablet */
@media (max-width: 1180px) {
  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2 {
    max-width: 12ch;
  }

  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* mobile */
@media (max-width: 820px) {
  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2 {
    max-width: none;
  }

  body.page-template-template-project-hub .sp-metal-link-grid-2,
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   STARPOL METAL HUB / HARD FIX 2026-04-13
========================================================= */

/* nagłówki sekcji - szersze, mniej wieżowe */
body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
  max-width: 16ch !important;
  font-size: clamp(42px, 4.6vw, 72px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 18px !important;
  text-wrap: balance;
}

/* intro sekcji bardziej zwarte i szersze */
body.page-template-template-project-hub .sp-metal-section-intro {
  max-width: 880px !important;
  margin: 0 0 28px !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

/* gridy kart - twarde wymuszenie */
body.page-template-template-project-hub .sp-metal-link-grid {
  display: grid !important;
  width: 100% !important;
  gap: 24px !important;
  margin-top: 28px !important;
  align-items: stretch !important;
}

body.page-template-template-project-hub .sp-metal-link-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.page-template-template-project-hub .sp-metal-link-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* usunięcie śmieciowych <br> z wpautop */
body.page-template-template-project-hub .sp-metal-link-card br,
body.page-template-template-project-hub .sp-metal-link-thumb br,
body.page-template-template-project-hub .sp-metal-link-body br {
  display: none !important;
}

/* same karty */
body.page-template-template-project-hub .sp-metal-link-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 35, 80, 0.08) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
  text-decoration: none !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
}

body.page-template-template-project-hub .sp-metal-link-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11) !important;
  border-color: rgba(206,0,8,0.18) !important;
}

/* zdjęcie */
body.page-template-template-project-hub .sp-metal-link-thumb {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #dbe3ee !important;
}

body.page-template-template-project-hub .sp-metal-link-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .36s ease !important;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-thumb img {
  transform: scale(1.05) !important;
}

/* treść kart */
body.page-template-template-project-hub .sp-metal-link-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  gap: 12px !important;
  padding: 22px 20px 22px !important;
}

body.page-template-template-project-hub .sp-metal-link-title {
  display: block !important;
  color: var(--sp-heading) !important;
  font-size: 22px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
}

body.page-template-template-project-hub .sp-metal-link-text {
  display: block !important;
  color: var(--sp-text) !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

body.page-template-template-project-hub .sp-metal-link-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  color: var(--sp-accent) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

body.page-template-template-project-hub .sp-metal-link-cta::after {
  content: "→";
  transition: transform .22s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-cta::after {
  transform: translateX(4px);
}

/* model współpracy - dwa duże kafle obok siebie */
body.page-template-template-project-hub .sp-metal-section .sp-metal-link-grid-2 .sp-metal-link-card,
body.page-template-template-project-hub .sp-metal-section-alt .sp-metal-link-grid-2 .sp-metal-link-card {
  min-height: 100% !important;
}

/* responsywność */
@media (max-width: 1180px) {
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
    max-width: 18ch !important;
  }
}

@media (max-width: 820px) {
  body.page-template-template-project-hub .sp-metal-link-grid-2,
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
    max-width: none !important;
    font-size: clamp(34px, 8vw, 52px) !important;
  }
}

/* =========================================================
   STARPOL METAL HUB / FINAL STABILIZATION 2026-04-13
========================================================= */

/* usuń wpływ przypadkowych p/br jeśli coś jeszcze przejdzie */
body.page-template-template-project-hub .sp-metal-link-grid p,
body.page-template-template-project-hub .sp-metal-link-card p:empty,
body.page-template-template-project-hub .sp-metal-link-card br {
  display: none !important;
}

/* sekcyjne nagłówki - szerzej i nowocześniej */
body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
  max-width: 18ch !important;
  font-size: clamp(42px, 4.4vw, 74px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 18px !important;
  text-wrap: balance;
}

/* intro sekcji */
body.page-template-template-project-hub .sp-metal-section-intro {
  max-width: 920px !important;
  margin: 0 0 30px !important;
  font-size: 18px !important;
  line-height: 1.72 !important;
}

/* siatki */
body.page-template-template-project-hub .sp-metal-link-grid {
  display: grid !important;
  width: 100% !important;
  gap: 24px !important;
  margin-top: 28px !important;
  align-items: stretch !important;
}

body.page-template-template-project-hub .sp-metal-link-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.page-template-template-project-hub .sp-metal-link-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* karty */
body.page-template-template-project-hub .sp-metal-link-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 100% !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 35, 80, 0.08) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
  text-decoration: none !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
}

body.page-template-template-project-hub .sp-metal-link-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11) !important;
  border-color: rgba(206,0,8,0.18) !important;
}

/* thumb */
body.page-template-template-project-hub .sp-metal-link-thumb {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #dbe3ee !important;
}

body.page-template-template-project-hub .sp-metal-link-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .36s ease !important;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-thumb img {
  transform: scale(1.05) !important;
}

/* body */
body.page-template-template-project-hub .sp-metal-link-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  gap: 12px !important;
  padding: 22px 20px 22px !important;
}

body.page-template-template-project-hub .sp-metal-link-title {
  display: block !important;
  color: var(--sp-heading) !important;
  font-size: 22px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
}

body.page-template-template-project-hub .sp-metal-link-text {
  display: block !important;
  color: var(--sp-text) !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

body.page-template-template-project-hub .sp-metal-link-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  color: var(--sp-accent) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

body.page-template-template-project-hub .sp-metal-link-cta::after {
  content: "→";
  transition: transform .22s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover .sp-metal-link-cta::after {
  transform: translateX(4px);
}

/* tablet */
@media (max-width: 1180px) {
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
    max-width: 20ch !important;
  }
}

/* mobile */
@media (max-width: 820px) {
  body.page-template-template-project-hub .sp-metal-link-grid-2,
  body.page-template-template-project-hub .sp-metal-link-grid-3 {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
  body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
    max-width: none !important;
    font-size: clamp(34px, 8vw, 52px) !important;
  }
}

/* =========================================================
   STARPOL METAL HUB / DARK STEPS TEXT FIX
========================================================= */

body.page-template-template-project-hub .sp-metal-dark .sp-metal-step,
body.page-template-template-project-hub .sp-metal-dark .sp-metal-step p,
body.page-template-template-project-hub .sp-metal-dark .sp-metal-step li,
body.page-template-template-project-hub .sp-metal-dark .sp-metal-step span {
  color: var(--sp-text) !important;
}

body.page-template-template-project-hub .sp-metal-dark .sp-metal-step h3 {
  color: var(--sp-heading) !important;
}


/* ==== PROJECT HUB: HERO TYPO FIX ==== */
body.page-template-template-project-hub .sp-metal-hero h1 {
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

body.page-template-template-project-hub .sp-metal-section > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-section-alt > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-dark > .sp-metal-wrap > h2,
body.page-template-template-project-hub .sp-metal-cta > .sp-metal-wrap > h2 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

@media (max-width: 768px) {
  body.page-template-template-project-hub .sp-metal-hero h1 {
    font-size: clamp(34px, 8vw, 52px);
  }
}
/* ==== /PROJECT HUB: HERO TYPO FIX ==== */


/* ==== PROJECT HUB: HERO WIDTH FIX ==== */
body.page-template-template-project-hub .sp-metal-hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

body.page-template-template-project-hub .sp-metal-hero-copy {
  max-width: 720px;
}

body.page-template-template-project-hub .sp-metal-hero h1 {
  max-width: 18ch;
}
/* ==== /PROJECT HUB: HERO WIDTH FIX ==== */


/* ==== PROJECT HUB: EQUAL IMAGE CARDS ==== */
body.page-template-template-project-hub .sp-metal-grid.sp-metal-grid-2 {
  align-items: stretch;
}

body.page-template-template-project-hub .sp-metal-grid.sp-metal-grid-2 .sp-metal-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.page-template-template-project-hub .sp-metal-grid.sp-metal-grid-2 .sp-metal-card figure {
  margin: 0 0 24px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
}

body.page-template-template-project-hub .sp-metal-grid.sp-metal-grid-2 .sp-metal-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-template-template-project-hub .sp-metal-grid.sp-metal-grid-2 .sp-metal-card p:last-of-type {
  margin-top: auto;
}
/* ==== /PROJECT HUB: EQUAL IMAGE CARDS ==== */


/* ==== PROJECT HUB: CLICKABLE CARDS ==== */
body.page-template-template-project-hub a.sp-project-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

body.page-template-template-project-hub a.sp-project-card-link:hover {
  transform: translateY(-2px);
}

body.page-template-template-project-hub a.sp-project-card-link h3,
body.page-template-template-project-hub a.sp-project-card-link p {
  color: inherit;
}

body.page-template-template-project-hub .sp-project-card-link__cta {
  margin-top: auto;
  color: #dc2626;
  font-weight: 700;
}
/* ==== /PROJECT HUB: CLICKABLE CARDS ==== */


/* ==== PROJECT HUB: LINK GRID FULL CLICK UX ==== */
body.page-template-template-project-hub .sp-metal-link-grid {
  align-items: stretch;
}

body.page-template-template-project-hub .sp-metal-link-card {
  display: flex;
  height: 100%;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.page-template-template-project-hub .sp-metal-link-card:hover {
  transform: translateY(-3px);
}

body.page-template-template-project-hub .sp-metal-link-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

body.page-template-template-project-hub .sp-metal-link-title,
body.page-template-template-project-hub .sp-metal-link-text {
  color: inherit;
}

body.page-template-template-project-hub .sp-metal-link-text {
  flex: 1 1 auto;
}

body.page-template-template-project-hub .sp-metal-link-cta {
  margin-top: auto;
}
/* ==== /PROJECT HUB: LINK GRID FULL CLICK UX ==== */


/* =========================================================
   PROJECT HUB / ZAKRES WSPARCIA GRID FIX
========================================================= */

body.page-template-template-project-hub .sp-project-card-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.page-template-template-project-hub .sp-project-card-link figure {
  margin: 0 0 18px !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
}

body.page-template-template-project-hub .sp-project-card-link figure img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.page-template-template-project-hub .sp-project-card-link h3 {
  margin: 0 0 12px !important;
}

body.page-template-template-project-hub .sp-project-card-link > p:not(.sp-project-card-link__cta) {
  margin: 0 0 18px !important;
}

body.page-template-template-project-hub .sp-project-card-link__cta {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
}

body.page-template-template-project-hub #obszary .sp-metal-grid.sp-metal-grid-2,
body.page-template-template-project-hub #zakres .sp-metal-grid.sp-metal-grid-2,
body.page-template-template-project-hub .sp-metal-section .sp-metal-grid.sp-metal-grid-2 {
  align-items: stretch !important;
}

body.page-template-template-project-hub #obszary .sp-metal-grid.sp-metal-grid-2 > *,
body.page-template-template-project-hub #zakres .sp-metal-grid.sp-metal-grid-2 > *,
body.page-template-template-project-hub .sp-metal-section .sp-metal-grid.sp-metal-grid-2 > * {
  min-width: 0 !important;
}

@media (max-width: 920px) {
  body.page-template-template-project-hub .sp-project-card-link figure {
    aspect-ratio: 16 / 10 !important;
  }
}

