/* V2.2 — yalnızca bildirilen TR/EN kart aralıkları ve proje görseli açıklamaları */
.page-production .layout-fix-packaging article {
  grid-template-rows: minmax(148px, auto) 1fr;
}

.page-production .layout-fix-packaging h3 {
  padding-bottom: 24px;
}

.page-markets .layout-fix-market-channels article {
  grid-template-rows: 24px minmax(108px, auto) minmax(170px, 1fr) auto;
}

.page-markets .layout-fix-commercial-model article {
  grid-template-rows: 24px minmax(104px, auto) 1fr;
}

.page-markets .layout-fix-product-channel article {
  grid-template-rows: 24px minmax(132px, auto) 1fr;
}

.page-development .layout-fix-project-status article {
  grid-template-rows: 24px minmax(148px, auto) 1fr;
}

.page-development .layout-fix-project-scope article {
  grid-template-rows: 24px minmax(116px, auto) 1fr;
}

.page-development .layout-fix-implementation-stages article {
  grid-template-rows: 24px minmax(122px, auto) 1fr;
}

.page-contact .layout-fix-contact-review article {
  grid-template-rows: 34px minmax(116px, auto) 1fr;
}

.project-campus-visual.caption-safe-visual::before {
  content: "";
  position: absolute;
  left: max(6vw, calc((100vw - var(--max)) / 2));
  right: max(6vw, calc((100vw - var(--max)) / 2));
  bottom: 70px;
  z-index: 1;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(5, 16, 27, 0.76));
}

.page-development .project-campus-visual.caption-safe-visual > figcaption {
  left: max(7vw, calc((100vw - var(--max)) / 2 + 18px));
  bottom: 88px;
  z-index: 3;
  color: rgba(239, 242, 245, 0.98);
}

.project-campus-visual.caption-safe-visual.concept-visual::after {
  right: max(7vw, calc((100vw - var(--max)) / 2 + 18px)) !important;
  bottom: 88px !important;
  z-index: 4;
  color: rgba(239, 242, 245, 0.96) !important;
}

@media (max-width: 1180px) {
  .page-production .layout-fix-packaging article {
    grid-template-rows: minmax(128px, auto) 1fr;
  }

  .page-markets .layout-fix-market-channels article {
    grid-template-rows: 24px auto auto auto;
  }

  .page-markets .layout-fix-commercial-model article,
  .page-markets .layout-fix-product-channel article,
  .page-development .layout-fix-project-scope article,
  .page-development .layout-fix-implementation-stages article,
  .page-contact .layout-fix-contact-review article {
    grid-template-rows: 24px minmax(104px, auto) 1fr;
  }
}

@media (max-width: 600px) {
  .page-production .layout-fix-packaging article,
  .page-markets .layout-fix-market-channels article,
  .page-markets .layout-fix-commercial-model article,
  .page-markets .layout-fix-product-channel article,
  .page-development .layout-fix-project-status article,
  .page-development .layout-fix-project-scope article,
  .page-development .layout-fix-implementation-stages article,
  .page-contact .layout-fix-contact-review article {
    grid-template-rows: auto auto auto;
  }

  .project-campus-visual.caption-safe-visual::before {
    left: 24px;
    right: 24px;
    bottom: 48px;
    height: 130px;
  }

  .page-development .project-campus-visual.caption-safe-visual > figcaption {
    left: 42px;
    bottom: 66px;
  }

  .project-campus-visual.caption-safe-visual.concept-visual::after {
    right: 42px !important;
    bottom: 66px !important;
  }
}
