/*
 * Profair WorkFeed — clean standalone stylesheet.
 * Scope: /category/nasza-praca/ only.
 * Media rule: every photo and video poster keeps its natural aspect ratio.
 */

body.pf-works-page {
  --pf-cyan: #08afd7;
  --pf-cyan-dark: #087f9e;
  --pf-navy: #103d4e;
  --pf-ink: #183c49;
  --pf-muted: #607781;
  --pf-line: #d8e8ed;
  --pf-soft: #eef9fb;
  --pf-white: #fff;
}

body.pf-works-page .site-content,
body.pf-works-page #content {
  padding: 0;
}

body.pf-works-page #page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

body.pf-works-page .pf-works {
  order: 0;
  overflow: clip;
  background: var(--pf-white);
  color: var(--pf-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.pf-works-page .pf-seo-footer {
  order: 1;
}

body.pf-works-page .site-footer {
  order: 2;
  margin-top: 0;
}

.pf-works *,
.pf-works *::before,
.pf-works *::after,
.pf-lightbox *,
.pf-lightbox *::before,
.pf-lightbox *::after {
  box-sizing: border-box;
}

.pf-works__container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.pf-works h1,
.pf-works h2,
.pf-works h3,
.pf-works p,
.pf-lightbox h2,
.pf-lightbox p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.pf-works h1 {
  margin-bottom: 0;
  color: var(--pf-navy);
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 830;
  letter-spacing: -.042em;
  line-height: .99;
}

.pf-works h2 {
  margin-bottom: 0;
  color: var(--pf-navy);
  font-size: clamp(31px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.08;
}

.pf-works__eyebrow {
  margin-bottom: 12px;
  color: var(--pf-cyan-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Hero */
.pf-works__hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 14%, rgba(8, 175, 215, .14), transparent 30%),
    linear-gradient(135deg, #f9fdfe 0%, #eaf8fb 100%);
}

.pf-works__hero::after {
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -330px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(8, 175, 215, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(8, 175, 215, .035), 0 0 0 180px rgba(8, 175, 215, .022);
  content: "";
}

.pf-works__hero-grid {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1.14fr) minmax(390px, .86fr);
  gap: clamp(38px, 5vw, 68px);
  align-items: center;
  padding-block: 68px 72px;
}

.pf-works__hero-copy {
  max-width: 680px;
}

.pf-works__lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--pf-muted);
  font-size: clamp(18px, 1.75vw, 21px);
  line-height: 1.75;
}

.pf-works__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pf-works__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 2px solid var(--pf-cyan);
  border-radius: 12px;
  background: var(--pf-cyan);
  box-shadow: 0 12px 26px rgba(8, 175, 215, .16);
  color: #fff !important;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pf-works__button:hover,
.pf-works__button:focus-visible {
  border-color: #30c4e7;
  background: #30c4e7;
  box-shadow: 0 16px 32px rgba(8, 175, 215, .22);
  transform: translateY(-2px);
}

.pf-works__button--ghost {
  border-color: rgba(8, 127, 158, .38);
  background: rgba(255, 255, 255, .74);
  box-shadow: none;
  color: var(--pf-navy) !important;
}

.pf-works__button--ghost:hover,
.pf-works__button--ghost:focus-visible {
  border-color: var(--pf-cyan);
  background: #fff;
}

.pf-works__trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 28px;
  color: var(--pf-navy);
  font-size: 13px;
  font-weight: 820;
}

.pf-works__trust-line span::before {
  margin-right: 8px;
  color: var(--pf-cyan-dark);
  content: "✓";
}

.pf-works__breadcrumbs {
  margin-top: 24px;
  color: var(--pf-muted);
  font-size: 13px;
}

.pf-works__breadcrumbs a {
  color: var(--pf-cyan-dark);
}

.pf-works__hero-collage {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  padding-block: 30px 0;
}

.pf-works__hero-collage .pf-work-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 22px;
  background: #dcecf0;
  box-shadow: 0 22px 48px rgba(16, 61, 78, .16);
}

.pf-works__hero-collage .pf-work-media:first-child,
.pf-works__hero-collage .pf-work-media:nth-child(3) {
  transform: translateY(18px);
}

.pf-works__hero-collage .pf-work-media:nth-child(2) {
  transform: translateY(-10px);
}

.pf-works__hero-collage .pf-work-media__visual,
.pf-works__hero-collage picture,
.pf-works__hero-collage img {
  display: block;
  width: 100%;
  height: auto;
}

.pf-works__hero-collage img {
  object-fit: contain;
}

.pf-works__hero-badge {
  display: grid;
  min-width: 230px;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 26px;
  padding: 15px 20px;
  border: 1px solid rgba(8, 175, 215, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 38px rgba(16, 61, 78, .12);
  text-align: center;
  backdrop-filter: blur(12px);
}

.pf-works__hero-badge strong {
  color: var(--pf-navy);
  font-size: 20px;
  line-height: 1.2;
}

.pf-works__hero-badge span {
  margin-top: 4px;
  color: var(--pf-muted);
  font-size: 12px;
}

/* Feed */
.pf-feed {
  padding: 88px 0 94px;
  background: #fff;
}

.pf-feed__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.pf-feed__heading > p {
  margin-bottom: 0;
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.7;
}

.pf-feed__toolbar {
  position: sticky;
  z-index: 15;
  top: 74px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid var(--pf-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 38px rgba(16, 61, 78, .09);
  backdrop-filter: blur(14px);
  margin-top: 0;
}

.admin-bar .pf-feed__toolbar {
  top: 106px;
}

.pf-feed__tabs {
  display: flex;
  gap: 6px;
}

.pf-feed__tabs button {
  min-height: 48px;
  padding: 10px 17px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--pf-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  transition: color .18s ease, background-color .18s ease;
}

.pf-feed__tabs button span {
  display: inline-grid;
  min-width: 29px;
  min-height: 29px;
  margin-left: 7px;
  place-items: center;
  border-radius: 999px;
  background: #e9f5f8;
  color: var(--pf-muted);
  font-size: 11px;
}

.pf-feed__tabs button.is-active {
  background: var(--pf-navy);
  color: #fff;
}

.pf-feed__tabs button.is-active span {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.pf-feed__search {
  display: flex;
  width: min(100%, 360px);
  min-height: 48px;
  gap: 11px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--pf-line);
  border-radius: 13px;
  background: #f7fbfc;
  color: var(--pf-cyan-dark);
}

.pf-feed__search:focus-within {
  border-color: var(--pf-cyan);
  box-shadow: 0 0 0 3px rgba(8, 175, 215, .12);
}

.pf-feed__search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pf-ink);
  font: inherit;
  font-size: 14px;
}

.pf-feed__search button {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 0;
  border-radius: 9px;
  background: var(--pf-navy);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.pf-feed__results {
  margin-bottom: 22px;
  color: var(--pf-muted);
  font-size: 13px;
  font-weight: 780;
}

.pf-feed__grid {
  display: block;
  column-count: 3;
  column-gap: 22px;
  transition: opacity .18s ease;
}

.pf-feed.is-loading .pf-feed__grid {
  opacity: .58;
}

.pf-feed-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--pf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 61, 78, .075);
  vertical-align: top;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pf-feed-card__legacy-anchor {
  position: absolute;
  top: -100px;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pf-feed-card:hover {
  border-color: rgba(8, 175, 215, .5);
  box-shadow: 0 18px 44px rgba(16, 61, 78, .14);
  transform: translateY(-3px);
}

.pf-feed-card[hidden] {
  display: none !important;
}

.pf-feed-card__visual {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  max-height: 640px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #dcecef;
  color: #fff;
}

.pf-feed-card__visual picture {
  display: flex;
  width: 100%;
  height: auto;
  max-height: 640px;
  align-items: center;
  justify-content: center;
}

.pf-feed-card__visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: 50% 50%;
}

.pf-feed-card__media-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(10, 43, 56, .84);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.pf-feed-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(8, 175, 215, .92);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
  transform: translate(-50%, -50%);
}

.pf-feed-card__play span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}

.pf-feed-card__body {
  padding: 20px 20px 22px;
}

.pf-feed-card h3 {
  margin-bottom: 0;
  color: var(--pf-navy);
  font-size: 20px;
  font-weight: 830;
  letter-spacing: -.018em;
  line-height: 1.25;
}

.pf-feed-card__caption {
  margin: 10px 0 0;
  color: var(--pf-ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.5;
}

.pf-feed-card__description {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--pf-muted);
  font-size: 13px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pf-feed-card__link {
  display: inline-flex;
  gap: 7px;
  margin-top: 16px;
  color: var(--pf-cyan-dark);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.pf-feed-card__link:hover,
.pf-feed-card__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pf-feed__empty {
  margin-top: 20px;
  padding: 28px;
  border: 1px dashed var(--pf-line);
  border-radius: 18px;
  background: var(--pf-soft);
  text-align: center;
}

.pf-feed__empty strong,
.pf-feed__empty span {
  display: block;
}

.pf-feed__empty span {
  margin-top: 6px;
  color: var(--pf-muted);
}

.pf-feed__more-wrap {
  text-align: center;
}

.pf-feed__more {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 28px;
  border: 2px solid var(--pf-navy);
  border-radius: 12px;
  background: #fff;
  color: var(--pf-navy);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.pf-feed__more:hover,
.pf-feed__more:focus-visible {
  background: var(--pf-navy);
  color: #fff;
}

.pf-feed__status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--pf-muted);
  font-size: 13px;
  text-align: center;
}

/* Proof and CTA */
.pf-works__proof {
  padding: 68px 0;
  border-block: 1px solid var(--pf-line);
  background: var(--pf-soft);
}

.pf-works__proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pf-works__proof-grid > div {
  padding: 24px;
  border: 1px solid rgba(8, 127, 158, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
}

.pf-works__proof-grid span {
  display: block;
  margin-bottom: 13px;
  color: var(--pf-cyan-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.pf-works__proof-grid strong {
  display: block;
  color: var(--pf-navy);
  font-size: 18px;
  line-height: 1.3;
}

.pf-works__proof-grid p {
  margin: 9px 0 0;
  color: var(--pf-muted);
  font-size: 13px;
  line-height: 1.55;
}

.pf-works__cta {
  padding: 82px 0;
  background: var(--pf-navy);
  color: #fff;
}

.pf-works__cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 46px;
  align-items: center;
}

.pf-works__cta h2 {
  max-width: 720px;
  color: #fff;
}

.pf-works__cta p:not(.pf-works__eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .75);
}

.pf-works__cta .pf-works__eyebrow {
  color: #74dcf4;
}

.pf-works__cta-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.pf-works__cta-actions > a:last-child {
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

/* Lightbox */
.pf-lightbox {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(1120px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  transform: translate(-50%, -50%);
}

.pf-lightbox::backdrop {
  background: rgba(4, 29, 39, .84);
  backdrop-filter: blur(8px);
}

.pf-lightbox.is-portrait {
  width: min(980px, calc(100vw - 36px));
}

.pf-lightbox__panel {
  position: relative;
  display: grid;
  height: min(740px, calc(100vh - 36px));
  height: min(740px, calc(100dvh - 36px));
  min-height: 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
  grid-template-rows: minmax(0, 1fr) auto;
}

.pf-lightbox.is-portrait .pf-lightbox__panel {
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
}

.pf-lightbox__visual {
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  background: #072f3d;
}

.pf-lightbox__visual picture {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.pf-lightbox__visual img,
.pf-lightbox__visual video {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: calc(min(740px, 100dvh - 36px) - 32px) !important;
  border-radius: 12px;
  object-fit: contain;
  object-position: 50% 50%;
}

.pf-lightbox__copy {
  display: flex;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  padding: 64px 38px 28px;
}

.pf-lightbox__copy h2 {
  margin-bottom: 0;
  color: var(--pf-navy, #103d4e);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 830;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.pf-lightbox__copy > p:last-child {
  margin: 18px 0 0;
  color: #607781;
  font-size: 15px;
  line-height: 1.65;
}

.pf-lightbox__close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #edf7f9;
  color: #103d4e;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.pf-lightbox__navigation {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 0 28px;
  padding: 20px 0 24px;
  border-top: 1px solid #d8e8ed;
}

.pf-lightbox__navigation button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #103d4e;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.pf-lightbox__navigation button:last-child {
  text-align: right;
}

.pf-lightbox__navigation span {
  color: #607781;
  font-size: 13px;
  font-weight: 800;
}

/* Desktop gallery frame: compact tiles without cropping or distortion. */
@media (min-width: 781px) {
  .pf-feed-card__visual {
    height: 500px;
    max-height: none;
  }

  .pf-feed-card__visual picture {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .pf-feed-card__visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
}

/* Responsive */
@media (max-width: 1020px) {
  .pf-works__hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
    gap: 36px;
  }

  .pf-feed__grid {
    column-count: 2;
  }

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

@media (max-width: 780px) {
  .pf-works__container {
    width: min(100% - 30px, 1180px);
  }

  .pf-works__hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 54px 62px;
  }

  .pf-works__hero-copy {
    max-width: none;
  }

  .pf-works__hero-collage {
    width: min(100%, 560px);
    justify-self: center;
  }

  .pf-feed {
    padding-block: 66px 72px;
  }

  .pf-feed__heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pf-feed__toolbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .pf-feed__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .pf-feed__search {
    width: 100%;
  }

  .pf-works__cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pf-works__cta-actions {
    justify-items: start;
  }

  .pf-lightbox,
  .pf-lightbox.is-portrait {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    max-height: calc(100dvh - 18px);
    overflow-y: auto;
    border-radius: 18px;
  }

  .pf-lightbox__panel,
  .pf-lightbox.is-portrait .pf-lightbox__panel {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(300px, 52vh) auto auto;
  }

  .pf-lightbox__visual {
    grid-column: 1;
    grid-row: 1;
    height: min(52dvh, 560px);
    padding: 10px;
  }

  .pf-lightbox__visual img,
  .pf-lightbox__visual video {
    max-height: calc(min(52dvh, 560px) - 20px) !important;
  }

  .pf-lightbox__copy {
    grid-column: 1;
    grid-row: 2;
    padding: 28px 22px 20px;
  }

  .pf-lightbox__navigation {
    grid-column: 1;
    grid-row: 3;
    margin-inline: 20px;
  }
}

@media (max-width: 520px) {
  .pf-works h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .pf-works h2 {
    font-size: 32px;
  }

  .pf-works__lead {
    font-size: 17px;
    line-height: 1.68;
  }

  .pf-works__actions,
  .pf-works__actions .pf-works__button {
    width: 100%;
  }

  .pf-works__hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 16px;
  }

  .pf-works__hero-collage .pf-work-media {
    border-width: 4px;
    border-radius: 17px;
  }

  .pf-works__hero-collage .pf-work-media:nth-of-type(3) {
    display: none;
  }

  .pf-works__hero-collage .pf-work-media:first-child,
  .pf-works__hero-collage .pf-work-media:nth-child(2) {
    transform: none;
  }

  .pf-works__hero-badge {
    min-width: 0;
    width: 100%;
    margin-top: 5px;
    padding: 13px 16px;
  }

  .pf-feed__tabs button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 12px;
  }

  .pf-feed__tabs button span {
    display: none;
  }

  .pf-feed__grid {
    column-count: 1;
  }

  .pf-feed-card {
    margin-bottom: 18px;
  }

  .pf-feed-card__body {
    padding: 18px 18px 20px;
  }

  .pf-works__proof-grid {
    grid-template-columns: 1fr;
  }

  .pf-works__cta {
    padding-block: 64px;
  }

  .pf-works__cta-actions,
  .pf-works__cta-actions .pf-works__button {
    width: 100%;
  }

  .pf-lightbox__panel,
  .pf-lightbox.is-portrait .pf-lightbox__panel {
    grid-template-rows: minmax(270px, 48vh) auto auto;
  }

  .pf-lightbox__visual {
    height: 48dvh;
  }

  .pf-lightbox__visual img,
  .pf-lightbox__visual video {
    max-height: calc(48dvh - 20px) !important;
  }

  .pf-lightbox__copy h2 {
    font-size: 23px;
  }

  .pf-lightbox__navigation {
    margin-inline: 16px;
  }

  .pf-lightbox__navigation button {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-works__button,
  .pf-feed-card,
  .pf-feed__tabs button {
    transition: none;
  }
}
