html {
  min-height: 100%;
}

body.frontend-page-project:not(.is-menu-open):not(.site-menu-open):not(
    .menu-open
  ) {
  height: auto;
  min-height: 100vh;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto !important;
}

body.frontend-page-project:not(.is-menu-open):not(.site-menu-open):not(
    .menu-open
  )
  .site-shell {
  height: auto;
  min-height: 100vh;
  max-height: none;
  overflow: visible;
}

/*
|--------------------------------------------------------------------------
| Podstawa strony
|--------------------------------------------------------------------------
*/

.project-page {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 100vh;
  max-height: none;
  overflow-x: clip;
  overflow-y: visible;
  color: #f8fbfc;
  background: #05090d;
}

@supports not (overflow: clip) {
  .project-page {
    overflow-x: hidden;
  }
}

.project-page *,
.project-page *::before,
.project-page *::after {
  box-sizing: border-box;
}

.project-page img {
  display: block;
  max-width: 100%;
  opacity: 1;
  visibility: visible;
}

/*
|--------------------------------------------------------------------------
| Wspólna etykieta sekcji
|--------------------------------------------------------------------------
*/

.project-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #00f2ff;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-page-eyebrow::before {
  display: block;
  width: 32px;
  height: 2px;
  flex: 0 0 32px;
  content: "";
  border-radius: 999px;
  background: #00f2ff;
  box-shadow: 0 0 18px rgba(0, 242, 255, 0.44);
}

/*
|--------------------------------------------------------------------------
| Breadcrumb
|--------------------------------------------------------------------------
*/

.project-page-breadcrumb {
  position: relative;
  z-index: 20;
  width: 100%;
  padding-top: var(--site-header-height, 86px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(
      circle at 12% 50%,
      rgba(0, 242, 255, 0.055),
      transparent 32%
    ),
    rgba(5, 9, 13, 0.98);
}

.project-page-breadcrumb::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.project-page-breadcrumb .site-container-wide {
  position: relative;
  z-index: 2;
}

.project-breadcrumb {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 17px 0;
}

.project-breadcrumb__list {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.project-breadcrumb__item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: rgba(224, 234, 239, 0.62);
  font-family: "Geist", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.project-breadcrumb__item i {
  flex: 0 0 auto;
  color: rgba(0, 242, 255, 0.68);
  font-size: 8px;
}

.project-breadcrumb__link,
.project-breadcrumb__current {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.project-breadcrumb__link {
  color: rgba(224, 234, 239, 0.68);
  text-decoration: none;
  transition: color 220ms ease;
}

.project-breadcrumb__link:hover {
  color: #00f2ff;
}

.project-breadcrumb__current {
  overflow: hidden;
  color: #ffffff;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
|--------------------------------------------------------------------------
| Nagłówek sekcji
|--------------------------------------------------------------------------
*/

.project-section-heading {
  display: flex;
  margin-bottom: clamp(40px, 5vw, 68px);
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}

.project-section-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.project-section-heading__title {
  max-width: 900px;
  margin: 21px 0 0;
  color: #ffffff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(34px, 4.7vw, 68px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.05;
  text-wrap: balance;
}

.project-section-heading__description {
  max-width: 650px;
  margin: 0;
  color: #8e9ba2;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

/*
|--------------------------------------------------------------------------
| Kategorie główne
|--------------------------------------------------------------------------
*/

.project-main-categories {
  position: relative;
  padding: clamp(74px, 8vw, 128px) 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 14%,
      rgba(0, 242, 255, 0.065),
      transparent 29%
    ),
    radial-gradient(
      circle at 90% 84%,
      rgba(94, 106, 210, 0.08),
      transparent 34%
    ),
    #05090d;
}

.project-main-categories--first {
  min-height: calc(100vh - var(--site-header-height, 86px) - 52px);
}

.project-page--without-directory-header > .project-main-categories:first-child {
  padding-top: calc(var(--site-header-height, 86px) + clamp(70px, 8vw, 122px));
}

.project-main-categories::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.project-main-categories .site-container-wide {
  position: relative;
  z-index: 2;
}

.project-main-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 36px);
}

/*
|--------------------------------------------------------------------------
| Karta kategorii głównej
|--------------------------------------------------------------------------
*/

.project-main-category-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(144, 162, 181, 0.2);
  border-radius: 26px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      rgba(0, 242, 255, 0.045),
      rgba(94, 106, 210, 0.025)
    ),
    #0a1118;
  text-decoration: none;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.project-main-category-card:hover {
  border-color: rgba(0, 242, 255, 0.36);
  box-shadow:
    0 36px 86px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(0, 242, 255, 0.07);
  transform: translateY(-7px);
}

.project-main-category-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.project-main-category-card__image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: scale(1.001);
  transition: transform 800ms ease;
}

.project-main-category-card:hover .project-main-category-card__image {
  transform: scale(1.055);
}

.project-main-category-card__overlay {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(
      180deg,
      rgba(3, 7, 10, 0.12) 0%,
      rgba(3, 7, 10, 0.45) 44%,
      rgba(3, 7, 10, 0.95) 100%
    ),
    linear-gradient(115deg, rgba(0, 242, 255, 0.06), transparent 48%);
}

.project-main-category-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: inherit;
  padding: clamp(28px, 3.5vw, 46px);
  flex-direction: column;
  justify-content: flex-end;
}

.project-main-category-card__top {
  position: absolute;
  top: clamp(26px, 3vw, 40px);
  right: clamp(26px, 3vw, 40px);
  left: clamp(26px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-main-category-card__number {
  color: rgba(255, 255, 255, 0.66);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
}

.project-main-category-card__top i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #00f2ff;
  background: rgba(5, 9, 13, 0.36);
  font-size: 11px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.project-main-category-card:hover .project-main-category-card__top i {
  color: #031014;
  background: #00f2ff;
  transform: translateX(4px);
}

.project-main-category-card__title {
  max-width: 700px;
  color: #ffffff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

.project-main-category-card__description {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(224, 235, 240, 0.76);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.72;
}

.project-main-category-card__counts {
  display: flex;
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 9px;
}

.project-main-category-card__counts > span {
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 999px;
  color: #b9c7cc;
  background: rgba(0, 242, 255, 0.055);
  font-family: "Geist", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.project-main-category-card.has-no-image {
  min-height: 390px;
}

.project-main-category-card.has-no-image::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(0, 242, 255, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 84%,
      rgba(94, 106, 210, 0.13),
      transparent 38%
    ),
    linear-gradient(145deg, #08161c, #0b0d19);
}

.project-main-category-card.has-no-image::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 54px 54px;
}

/*
|--------------------------------------------------------------------------
| Lista realizacji
|--------------------------------------------------------------------------
*/

.project-listing {
  position: relative;
  padding: clamp(76px, 8vw, 132px) 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(0, 242, 255, 0.06),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 88%,
      rgba(94, 106, 210, 0.08),
      transparent 34%
    ),
    #05090d;
}

.project-listing--first {
  min-height: calc(100vh - var(--site-header-height, 86px) - 52px);
}

.project-page--without-directory-header > .project-listing:first-child {
  padding-top: calc(var(--site-header-height, 86px) + clamp(70px, 8vw, 122px));
}

.project-listing::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.project-listing .site-container-wide {
  position: relative;
  z-index: 2;
}

.project-listing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 36px);
  align-items: stretch;
}

/*
|--------------------------------------------------------------------------
| Karta realizacji
|--------------------------------------------------------------------------
*/

.project-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(143, 161, 180, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(0, 242, 255, 0.025), transparent 48%), #090f16;
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.project-card:hover {
  border-color: rgba(0, 242, 255, 0.36);
  box-shadow:
    0 34px 82px rgba(0, 0, 0, 0.36),
    0 0 36px rgba(0, 242, 255, 0.065);
  transform: translateY(-7px);
}

.project-card.is-featured {
  border-color: rgba(0, 242, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(0, 242, 255, 0.055), transparent 54%), #091119;
}

.project-card__link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.project-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d151d;
}

.project-card__image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: scale(1.001);
  transition: transform 800ms ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.055);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 10, 0.02) 0%,
    rgba(3, 7, 10, 0.08) 64%,
    rgba(3, 7, 10, 0.26) 100%
  );
  pointer-events: none;
}

.project-card__body {
  display: flex;
  padding: clamp(27px, 3vw, 38px);
  flex: 1 1 auto;
  flex-direction: column;
}

.project-card__top {
  display: flex;
  min-height: 30px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project-card__metadata {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card__metadata > span {
  display: inline-flex;
  min-height: 27px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 999px;
  color: #00f2ff;
  background: rgba(0, 242, 255, 0.055);
  font-family: "Geist", "Inter", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-card__metadata .project-card__featured {
  border-color: rgba(254, 216, 58, 0.28);
  color: #fed83a;
  background: rgba(254, 216, 58, 0.065);
}

.project-card__number {
  flex: 0 0 auto;
  color: rgba(0, 242, 255, 0.58);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.project-card__title {
  display: block;
  margin-top: 23px;
  color: #f5fbfc;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(25px, 2.7vw, 38px);
  font-weight: 680;
  letter-spacing: -0.05em;
  line-height: 1.13;
  text-wrap: balance;
}

.project-card__description {
  display: block;
  margin-top: 18px;
  color: #96a4aa;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.72;
}

.project-card__details {
  display: grid;
  margin-top: 26px;
  padding-top: 23px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.project-card__details > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.project-card__details small {
  color: #6f7d84;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.project-card__details b {
  overflow: hidden;
  color: #cbd7db;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.project-card__action {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 30px;
  align-items: center;
  gap: 12px;
  color: #00f2ff;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-card__action i {
  font-size: 10px;
  transition: transform 220ms ease;
}

.project-card:hover .project-card__action i {
  transform: translateX(6px);
}

.project-card.has-no-image .project-card__body {
  position: relative;
  z-index: 1;
  min-height: 390px;
}

.project-card.has-no-image::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(0, 242, 255, 0.085),
      transparent 30%
    ),
    radial-gradient(circle at 88% 86%, rgba(94, 106, 210, 0.1), transparent 34%);
  pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| Treść CKEditor
|--------------------------------------------------------------------------
*/

.project-rich-text {
  min-width: 0;
  color: #b7c3c9;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.82;
  overflow-wrap: anywhere;
  word-break: normal;
}

.project-rich-text > :first-child {
  margin-top: 0;
}

.project-rich-text > :last-child {
  margin-bottom: 0;
}

.project-rich-text p {
  margin: 0 0 22px;
}

.project-rich-text h1,
.project-rich-text h2,
.project-rich-text h3,
.project-rich-text h4,
.project-rich-text h5,
.project-rich-text h6 {
  color: #f7fbfc;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.22;
  text-wrap: balance;
}

.project-rich-text h1 {
  margin: 50px 0 24px;
  font-size: clamp(34px, 4vw, 56px);
}

.project-rich-text h2 {
  margin: 44px 0 21px;
  font-size: clamp(29px, 3.4vw, 45px);
}

.project-rich-text h3 {
  margin: 38px 0 18px;
  font-size: clamp(23px, 2.7vw, 34px);
}

.project-rich-text h4 {
  margin: 32px 0 17px;
  font-size: clamp(20px, 2vw, 27px);
}

.project-rich-text h5 {
  margin: 28px 0 15px;
  font-size: 18px;
}

.project-rich-text h6 {
  margin: 26px 0 14px;
  color: #00f2ff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-rich-text > h1:first-child,
.project-rich-text > h2:first-child,
.project-rich-text > h3:first-child,
.project-rich-text > h4:first-child,
.project-rich-text > h5:first-child,
.project-rich-text > h6:first-child {
  margin-top: 0;
}

.project-rich-text strong,
.project-rich-text b {
  color: #eef9fa;
  font-weight: 700;
}

.project-rich-text em {
  color: #d3dde1;
}

.project-rich-text a {
  color: #00f2ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 242, 255, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease;
}

.project-rich-text a:hover {
  color: #6cf8ff;
  text-decoration-color: #6cf8ff;
}

.project-rich-text ul,
.project-rich-text ol {
  margin: 24px 0;
  padding-left: 26px;
}

.project-rich-text li {
  margin: 10px 0;
  padding-left: 5px;
}

.project-rich-text li::marker {
  color: #00f2ff;
  font-weight: 700;
}

.project-rich-text blockquote {
  position: relative;
  margin: 36px 0;
  padding: 27px 29px 27px 33px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-left: 3px solid #00f2ff;
  border-radius: 0 18px 18px 0;
  color: #dce7ea;
  background:
    linear-gradient(135deg, rgba(0, 242, 255, 0.06), rgba(94, 106, 210, 0.035)),
    rgba(255, 255, 255, 0.015);
  font-size: 17px;
  font-style: italic;
  line-height: 1.75;
}

.project-rich-text blockquote > :last-child {
  margin-bottom: 0;
}

.project-rich-text hr {
  width: 100%;
  height: 1px;
  margin: 44px 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
}

.project-rich-text img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border: 1px solid rgba(150, 169, 184, 0.2);
  border-radius: 18px;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.project-rich-text figure {
  max-width: 100%;
  margin: 34px 0;
}

.project-rich-text figure img {
  margin: 0;
}

.project-rich-text figcaption {
  margin-top: 12px;
  color: #7f8d94;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.project-rich-text iframe,
.project-rich-text video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  border: 1px solid rgba(150, 169, 184, 0.2);
  border-radius: 18px;
  background: #0a1118;
}

.project-rich-text iframe {
  min-height: 420px;
}

.project-rich-text pre {
  max-width: 100%;
  margin: 32px 0;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid rgba(150, 169, 184, 0.2);
  border-radius: 16px;
  color: #d6f9fb;
  background: #030608;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.project-rich-text code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #8afaff;
  background: rgba(0, 242, 255, 0.08);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.project-rich-text pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.project-rich-text table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  overflow-x: auto;
  border-collapse: collapse;
  color: #b8c5ca;
  background: #091017;
}

.project-rich-text table th,
.project-rich-text table td {
  min-width: 150px;
  padding: 15px 17px;
  border: 1px solid rgba(150, 169, 184, 0.18);
  text-align: left;
  vertical-align: top;
}

.project-rich-text table th {
  color: #ebf9fa;
  background: rgba(0, 242, 255, 0.06);
  font-family: "Geist", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| Pusty stan
|--------------------------------------------------------------------------
*/

.project-empty {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 68px);
  border: 1px solid rgba(145, 164, 180, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(
      135deg,
      rgba(0, 242, 255, 0.045),
      rgba(94, 106, 210, 0.035)
    ),
    #0a1118;
  text-align: center;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.28);
}

.project-empty__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid rgba(0, 242, 255, 0.28);
  border-radius: 20px;
  color: #00f2ff;
  background: rgba(0, 242, 255, 0.08);
  font-size: 23px;
}

.project-empty__title {
  margin: 28px 0 0;
  color: #ffffff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.project-empty__description {
  max-width: 560px;
  margin: 17px auto 0;
  color: #8f9ca3;
  font-size: 15px;
  line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Strona 404
|--------------------------------------------------------------------------
*/

.project-not-found {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: calc(var(--site-header-height, 86px) + 54px) 0 80px;
  place-items: center;
  overflow: hidden;
  background-color: #05090d;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 36%, rgba(0, 242, 255, 0.1), transparent 34%);
  background-size:
    80px 80px,
    80px 80px,
    auto;
}

.project-not-found__panel {
  width: min(100%, 800px);
  padding: clamp(46px, 7vw, 82px);
  border: 1px solid rgba(145, 164, 180, 0.22);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(135deg, rgba(0, 242, 255, 0.055), rgba(94, 106, 210, 0.04)),
    #0a1118;
  text-align: center;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.project-not-found__code {
  display: block;
  color: #00f2ff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(74px, 13vw, 150px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

.project-not-found__title {
  margin: 33px 0 0;
  color: #ffffff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(29px, 4.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.13;
}

.project-not-found__description {
  max-width: 570px;
  margin: 20px auto 0;
  color: #9caab1;
  font-size: 15px;
  line-height: 1.7;
}

.project-not-found__button {
  display: inline-flex;
  min-height: 54px;
  margin-top: 32px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #00f2ff;
  border-radius: 999px;
  color: #031014;
  background: #00f2ff;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 242, 255, 0.14);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-not-found__button:hover {
  background: #58f7ff;
  box-shadow: 0 18px 42px rgba(0, 242, 255, 0.22);
  transform: translateY(-3px);
}

/*
|--------------------------------------------------------------------------
| Fokus klawiatury
|--------------------------------------------------------------------------
*/

.project-page a:focus-visible {
  outline: 3px solid rgba(0, 242, 255, 0.44);
  outline-offset: 4px;
}

/*
|--------------------------------------------------------------------------
| Mniejszy desktop
|--------------------------------------------------------------------------
*/

@media (max-width: 1240px) {
  .project-main-category-card {
    min-height: 410px;
  }
}

/*
|--------------------------------------------------------------------------
| Tablet poziomy
|--------------------------------------------------------------------------
*/

@media (max-width: 1080px) {
  .project-page-breadcrumb {
    padding-top: var(--site-header-height, 78px);
  }

  .project-breadcrumb {
    padding: 16px 0;
  }

  .project-main-categories--first,
  .project-listing--first {
    min-height: calc(100vh - var(--site-header-height, 78px) - 49px);
  }

  .project-main-category-card {
    min-height: 390px;
  }

  .project-card__details {
    grid-template-columns: 1fr;
  }
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 920px) {
  .project-section-heading,
  .project-section-heading--projects {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-section-heading__description {
    max-width: 760px;
  }

  .project-main-categories__grid,
  .project-listing__grid {
    grid-template-columns: 1fr;
  }

  .project-main-category-card,
  .project-card {
    width: min(100%, 840px);
    margin: 0 auto;
  }

  .project-card__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
|--------------------------------------------------------------------------
| Mały tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {
  .project-page-eyebrow {
    font-size: 10px;
  }

  .project-page-eyebrow::before {
    width: 27px;
    flex-basis: 27px;
  }

  .project-page-breadcrumb {
    padding-top: var(--site-header-height, 72px);
  }

  .project-page-breadcrumb::before,
  .project-main-categories::before,
  .project-listing::before {
    background-size: 48px 48px;
  }

  .project-breadcrumb {
    padding: 15px 0;
  }

  .project-breadcrumb__item {
    font-size: 10px;
  }

  .project-main-categories,
  .project-listing {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .project-main-categories--first,
  .project-listing--first {
    min-height: calc(100vh - var(--site-header-height, 72px) - 47px);
  }

  .project-section-heading__title {
    font-size: clamp(32px, 8vw, 52px);
  }

  .project-main-category-card {
    min-height: 370px;
    border-radius: 22px;
  }

  .project-main-category-card__body {
    padding: 28px;
  }

  .project-main-category-card__top {
    top: 26px;
    right: 26px;
    left: 26px;
  }

  .project-main-category-card__title {
    font-size: clamp(26px, 7vw, 39px);
  }

  .project-card {
    border-radius: 20px;
  }

  .project-card__body {
    padding: 28px 24px;
  }

  .project-rich-text {
    font-size: 15px;
    line-height: 1.78;
  }

  .project-rich-text iframe {
    min-height: 330px;
  }
}

/*
|--------------------------------------------------------------------------
| Telefon
|--------------------------------------------------------------------------
*/

@media (max-width: 620px) {
  .project-page-breadcrumb {
    padding-top: var(--site-header-height, 72px);
  }

  .project-breadcrumb {
    padding: 14px 0;
  }

  .project-breadcrumb__list {
    gap: 7px;
  }

  .project-breadcrumb__item {
    gap: 7px;
    font-size: 9px;
  }

  .project-main-categories,
  .project-listing {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .project-section-heading {
    margin-bottom: 36px;
  }

  .project-section-heading__title {
    margin-top: 18px;
    font-size: clamp(29px, 9vw, 43px);
  }

  .project-section-heading__description {
    font-size: 14px;
  }

  .project-main-category-card {
    min-height: 340px;
    border-radius: 19px;
  }

  .project-main-category-card__body {
    padding: 24px 20px;
  }

  .project-main-category-card__top {
    top: 21px;
    right: 21px;
    left: 21px;
  }

  .project-main-category-card__top i {
    width: 40px;
    height: 40px;
  }

  .project-main-category-card__title {
    font-size: clamp(25px, 8vw, 36px);
  }

  .project-main-category-card__description {
    font-size: 13px;
  }

  .project-card {
    border-radius: 18px;
  }

  .project-card__body {
    padding: 24px 19px;
  }

  .project-card__title {
    font-size: clamp(23px, 8vw, 32px);
  }

  .project-card__description {
    font-size: 13px;
  }

  .project-card__details {
    grid-template-columns: 1fr;
  }

  .project-rich-text {
    font-size: 14px;
    line-height: 1.74;
  }

  .project-rich-text p {
    margin-bottom: 19px;
  }

  .project-rich-text h1 {
    font-size: 33px;
  }

  .project-rich-text h2 {
    font-size: 29px;
  }

  .project-rich-text h3 {
    font-size: 24px;
  }

  .project-rich-text h4 {
    font-size: 20px;
  }

  .project-rich-text ul,
  .project-rich-text ol {
    padding-left: 22px;
  }

  .project-rich-text blockquote {
    padding: 21px 19px 21px 23px;
    border-radius: 0 14px 14px 0;
    font-size: 15px;
  }

  .project-rich-text iframe {
    min-height: 275px;
  }

  .project-not-found {
    padding-top: calc(var(--site-header-height, 72px) + 42px);
    padding-bottom: 58px;
    background-size:
      48px 48px,
      48px 48px,
      auto;
  }

  .project-not-found__panel {
    padding: 44px 22px;
    border-radius: 24px;
  }

  .project-not-found__description {
    font-size: 14px;
  }
}

/*
|--------------------------------------------------------------------------
| Mały telefon
|--------------------------------------------------------------------------
*/

@media (max-width: 460px) {
  .project-page-breadcrumb {
    padding-top: var(--site-header-height, 68px);
  }

  .project-breadcrumb {
    padding: 12px 0;
  }

  .project-breadcrumb__list {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .project-breadcrumb__item {
    min-width: 0;
  }

  .project-breadcrumb__link,
  .project-breadcrumb__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .project-main-categories,
  .project-listing {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .project-main-categories--first,
  .project-listing--first {
    min-height: calc(100vh - var(--site-header-height, 68px) - 42px);
  }

  .project-main-category-card {
    min-height: 310px;
    border-radius: 17px;
  }

  .project-main-category-card__counts {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-main-category-card__counts > span {
    width: fit-content;
  }

  .project-card__media {
    aspect-ratio: 4 / 3;
  }

  .project-card__metadata {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-rich-text h1 {
    font-size: 30px;
  }

  .project-rich-text h2 {
    font-size: 26px;
  }

  .project-rich-text h3 {
    font-size: 22px;
  }

  .project-rich-text h4 {
    font-size: 19px;
  }

  .project-rich-text img,
  .project-rich-text iframe,
  .project-rich-text video {
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 13px;
  }

  .project-rich-text iframe {
    min-height: 225px;
  }

  .project-empty {
    padding: 38px 18px;
    border-radius: 20px;
  }

  .project-not-found__panel {
    padding: 39px 17px;
    border-radius: 20px;
  }

  .project-not-found__code {
    font-size: 86px;
  }

  .project-not-found__title {
    font-size: 29px;
  }

  .project-not-found__button {
    width: 100%;
  }
}

/*
|--------------------------------------------------------------------------
| Urządzenia bez hover
|--------------------------------------------------------------------------
*/

@media (hover: none) {
  .project-main-category-card:hover,
  .project-card:hover,
  .project-not-found__button:hover {
    transform: none;
  }

  .project-main-category-card:hover .project-main-category-card__image,
  .project-card:hover .project-card__image {
    transform: none;
  }
}

/*
|--------------------------------------------------------------------------
| Ograniczenie animacji
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
  .project-page *,
  .project-page *::before,
  .project-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .project-main-category-card,
  .project-main-category-card:hover,
  .project-main-category-card__image,
  .project-main-category-card:hover .project-main-category-card__image,
  .project-card,
  .project-card:hover,
  .project-card__image,
  .project-card:hover .project-card__image,
  .project-not-found__button,
  .project-not-found__button:hover {
    transform: none;
  }
}

/*
|--------------------------------------------------------------------------
| Wysoki kontrast
|--------------------------------------------------------------------------
*/

@media (forced-colors: active) {
  .project-main-category-card,
  .project-card,
  .project-empty,
  .project-not-found__panel,
  .project-not-found__button,
  .project-rich-text blockquote,
  .project-rich-text img,
  .project-rich-text iframe,
  .project-rich-text video,
  .project-rich-text pre,
  .project-rich-text table {
    border: 1px solid CanvasText;
  }

  .project-page-eyebrow,
  .project-card__action,
  .project-rich-text a,
  .project-not-found__code {
    color: LinkText;
  }

  .project-main-category-card__image,
  .project-card__image,
  .project-rich-text img {
    opacity: 1 !important;
    filter: none !important;
  }
}

/*
|--------------------------------------------------------------------------
| Druk
|--------------------------------------------------------------------------
*/

@media print {
  body.frontend-page-project,
  body.frontend-page-project .site-shell,
  .project-page {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .project-page-breadcrumb {
    display: none !important;
  }

  .project-main-categories,
  .project-listing {
    min-height: 0;
    padding: 30px 0;
    color: #000000;
    background: #ffffff;
  }

  .project-main-categories::before,
  .project-listing::before {
    display: none;
  }

  .project-main-categories__grid,
  .project-listing__grid {
    display: block;
  }

  .project-section-heading__title,
  .project-main-category-card__title,
  .project-card__title,
  .project-empty__title,
  .project-rich-text h1,
  .project-rich-text h2,
  .project-rich-text h3,
  .project-rich-text h4,
  .project-rich-text h5,
  .project-rich-text h6 {
    color: #000000;
    text-shadow: none;
  }

  .project-section-heading__description,
  .project-main-category-card__description,
  .project-card__description,
  .project-rich-text {
    color: #222222;
  }

  .project-main-category-card,
  .project-card {
    min-height: 0;
    margin: 0 0 24px;
    break-inside: avoid;
    border: 1px solid #cccccc;
    color: #000000;
    background: #ffffff;
    box-shadow: none;
    transform: none;
  }

  .project-main-category-card__media,
  .project-main-category-card__overlay,
  .project-card__overlay {
    display: none;
  }

  .project-main-category-card__body,
  .project-card__body,
  .project-card.has-no-image .project-card__body {
    min-height: 0;
  }

  .project-card__action,
  .project-rich-text a {
    color: #000000;
  }
}
