/* Lokalna czcionka OFL; arkusz jest ładowany tylko na przypisanej stronie. */
@font-face {
  font-family: "Maven Pro"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("./fonts/maven-pro-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Maven Pro"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("./fonts/maven-pro-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Wszystkie reguły dotyczą wyłącznie modułu treści .psm-thesis. */
.psm-thesis {
  --psm-thesis-blue: var(--e-global-color-primary, #3f6ee8);
  --psm-thesis-blue-dark: var(--e-global-color-secondary, #234cbb);
  --psm-thesis-ink: #17253d;
  --psm-thesis-muted: #566377;
  --psm-thesis-line: #e0e6ef;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(38px, 5vw, 72px) 24px;
  margin: 0;
  color: var(--psm-thesis-ink);
  background: #fff;
  font-family: var(--e-global-typography-text-font-family, "Maven Pro"), sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
.psm-thesis *, .psm-thesis *::before, .psm-thesis *::after { box-sizing: border-box; }
.psm-thesis .psm-thesis__inner { width: min(100%, 1140px); margin-inline: auto; }
.psm-thesis h1, .psm-thesis h2, .psm-thesis h3 { font-family: var(--e-global-typography-primary-font-family, "Maven Pro"), sans-serif; color: var(--psm-thesis-ink); font-style: normal; text-transform: none; letter-spacing: -.025em; }
.psm-thesis h1 { margin: 0 0 20px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; font-weight: 700; }
.psm-thesis h2 { margin: 0 0 24px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.25; font-weight: 700; }
.psm-thesis h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.35; font-weight: 650; }
.psm-thesis p { padding: 0; margin: 0 0 18px; }
.psm-thesis p:last-child { margin-bottom: 0; }
.psm-thesis a { color: var(--psm-thesis-blue-dark); text-underline-offset: 3px; }
.psm-thesis button, .psm-thesis summary, .psm-thesis a { -webkit-tap-highlight-color: transparent; }
.psm-thesis :is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid #245bd2; outline-offset: 5px; }
.psm-thesis .psm-thesis__intro { margin: 0 0 34px; color: var(--psm-thesis-muted); }
.psm-thesis--header { text-align: center; padding-block: 36px 24px; }
.psm-thesis--header .psm-thesis__inner { max-width: 1000px; }
.psm-thesis--header .psm-thesis__intro { max-width: 860px; margin: auto; }
.psm-thesis .psm-thesis__center { text-align: center; }
.psm-thesis .psm-thesis__muted { color: var(--psm-thesis-muted); }
.psm-thesis .psm-thesis__note { margin: 22px auto 0; font-size: 14px; color: var(--psm-thesis-muted); max-width: 900px; }
.psm-thesis .psm-thesis__subheading { max-width: 800px; margin: 0 auto 30px; font-size: 23px; }
.psm-thesis .psm-thesis__card { min-width: 0; border: 1px solid var(--psm-thesis-line); border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgb(22 43 77 / 4%); }
.psm-thesis .psm-thesis__collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.psm-thesis .psm-thesis__collection { display: flex; flex-direction: column; overflow: hidden; }
.psm-thesis .psm-thesis__collection-photo { aspect-ratio: 4 / 3; background: #f7f9fc; }
.psm-thesis .psm-thesis__collection-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.psm-thesis .psm-thesis__collection-photo--multiple { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 20px 10px; background: #fff; }
.psm-thesis .psm-thesis__collection-photo--multiple img { min-width: 0; object-fit: contain; }
.psm-thesis .psm-thesis__collection-availability { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; color: var(--psm-thesis-muted); }
.psm-thesis .psm-thesis__collection-availability > span { font-size: 56px; color: var(--psm-thesis-blue); line-height: 1.2; }
.psm-thesis .psm-thesis__collection-availability p { margin: 12px 0 8px; font-weight: 600; }
.psm-thesis .psm-thesis__collection-availability small { max-width: 240px; }
.psm-thesis .psm-thesis__card-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.psm-thesis .psm-thesis__card-content h3 { font-size: 23px; }
.psm-thesis .psm-thesis__card-content p { color: var(--psm-thesis-muted); font-size: 15px; }
.psm-thesis .psm-thesis__swatches { margin-top: auto; padding-top: 10px; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.psm-thesis .psm-thesis__swatch { width: 20px; height: 20px; border-radius: 50%; background: var(--psm-swatch); border: 1px solid rgb(0 0 0 / 16%); }
.psm-thesis .psm-thesis__swatches small { font-size: 12px; color: var(--psm-thesis-muted); }
.psm-thesis .psm-thesis__placeholder { display: flex; min-height: 180px; height: 100%; flex-direction: column; align-items: center; justify-content: center; padding: 22px; text-align: center; background: #f7f9fc; color: #647287; border: 1px dashed #d7deea; }
.psm-thesis .psm-thesis__placeholder > span { font-size: 26px; line-height: 1; margin-bottom: 12px; color: #8b9bb1; }
.psm-thesis .psm-thesis__placeholder p { max-width: 220px; margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.psm-thesis .psm-thesis__placeholder small { font-size: 11px; }
.psm-thesis .psm-thesis__print-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 920px; margin-inline: auto; }
.psm-thesis .psm-thesis__print-card { position: relative; padding: 32px; display: flex; flex-direction: column; }
.psm-thesis .psm-thesis__print-card h3 { margin-top: 12px; font-size: 25px; }
.psm-thesis .psm-thesis__card--recommended { border: 2px solid var(--psm-thesis-blue); }
.psm-thesis .psm-thesis__badge { display: inline-block; width: fit-content; padding: 4px 12px; background: #edf2ff; border-radius: 6px; color: var(--psm-thesis-blue-dark); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0; }
.psm-thesis .psm-thesis__print-card > .psm-thesis__badge { align-self: flex-start; }
.psm-thesis .psm-thesis__list { margin: 0 0 22px; padding: 0; list-style: none; }
.psm-thesis .psm-thesis__list li { padding: 7px 0 7px 24px; position: relative; }
.psm-thesis .psm-thesis__list li::before { position: absolute; left: 0; content: "✓"; color: var(--psm-thesis-blue); font-weight: 700; }
.psm-thesis .psm-thesis__print-card > .psm-thesis__muted { font-size: 14px; margin-bottom: 20px; }
.psm-thesis .psm-thesis__stars { display: inline-block; color: var(--psm-thesis-blue); font-size: 26px; letter-spacing: 3px; line-height: 1.2; }
.psm-thesis .psm-thesis__print-card > .psm-thesis__stars { margin-top: auto; padding-top: 10px; }
.psm-thesis .psm-thesis__table-card { border: 1px solid var(--psm-thesis-line); border-radius: 16px; overflow: hidden; padding-top: 28px; max-width: 1000px; margin-inline: auto; box-shadow: 0 5px 22px rgb(22 43 77 / 4%); }
.psm-thesis .psm-thesis__table-card > h3, .psm-thesis .psm-thesis__table-card > p { padding-inline: 20px; }
.psm-thesis .psm-thesis__table-scroll { overflow-x: auto; width: 100%; }
.psm-thesis table.psm-thesis__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; color: var(--psm-thesis-ink); font-size: 15px; background: #fff; }
.psm-thesis .psm-thesis__table :is(th, td) { border: 0; border-top: 1px solid var(--psm-thesis-line); padding: 22px 24px; text-align: left; vertical-align: middle; background: #fff; }
.psm-thesis .psm-thesis__table thead th { color: var(--psm-thesis-blue-dark); background: #f2f6ff; font-weight: 700; }
.psm-thesis .psm-thesis__table tbody th { font-weight: 700; min-width: 135px; }
.psm-thesis .psm-thesis__table .psm-thesis__list { margin: 0; }
.psm-thesis .psm-thesis__table .psm-thesis__list li { padding: 2px 0; }
.psm-thesis .psm-thesis__table .psm-thesis__list li::before { content: none; }
.psm-thesis .psm-thesis__price { color: var(--psm-thesis-blue-dark); font-size: 27px; white-space: nowrap; }
.psm-thesis .psm-thesis__price-source { display: block; color: var(--psm-thesis-muted); font-size: 11px; line-height: 1.5; margin-top: 5px; }
.psm-thesis .psm-thesis__gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.psm-thesis .psm-thesis__gallery figure { min-width: 0; margin: 0; }
.psm-thesis .psm-thesis__gallery-link { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #f7f9fc; }
.psm-thesis .psm-thesis__gallery-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.psm-thesis .psm-thesis__gallery .psm-thesis__placeholder { min-height: 225px; border-radius: 10px; padding: 14px; }
.psm-thesis .psm-thesis__gallery figcaption { margin-top: 10px; color: var(--psm-thesis-muted); font-size: 12px; line-height: 1.5; }
.psm-thesis .psm-thesis__gallery figure[hidden], .psm-thesis .psm-thesis__gallery-pagination[hidden] { display: none !important; }
.psm-thesis .psm-thesis__gallery-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; }
.psm-thesis .psm-thesis__gallery-pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.psm-thesis .psm-thesis__gallery-pagination button { min-width: 40px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--psm-thesis-line); border-radius: 6px; background: #fff; color: var(--psm-thesis-blue); font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; }
.psm-thesis .psm-thesis__gallery-pagination button:hover:not(:disabled), .psm-thesis .psm-thesis__gallery-pagination button[aria-current="page"] { color: #fff; background: var(--psm-thesis-blue); border-color: var(--psm-thesis-blue); }
.psm-thesis .psm-thesis__gallery-pagination button:disabled { color: #657386; background: #f7f9fc; cursor: default; }
.psm-thesis .psm-thesis__gallery-status { flex-basis: 100%; text-align: center; color: var(--psm-thesis-muted); font-size: 13px; }
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis .psm-thesis__heading-accent { color: var(--psm-thesis-blue); }
@media (max-width: 600px) {
  .psm-thesis .psm-thesis__gallery-pages { order: -1; flex-basis: 100%; }
}
@media (min-width: 1025px) {
  :is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis--gallery .psm-thesis__gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.psm-thesis .psm-thesis__reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.psm-thesis .psm-thesis__review { padding: 28px; display: flex; flex-direction: column; }
.psm-thesis .psm-thesis__review blockquote { padding: 0; margin: 22px 0; border: 0; font-size: 16px; line-height: 1.75; font-style: normal; }
.psm-thesis .psm-thesis__review-author { font-weight: 700; margin-top: auto; margin-bottom: 12px; }
.psm-thesis .psm-thesis__review-source { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--psm-thesis-muted); }
.psm-thesis .psm-thesis__review-source :is(img, svg) { width: 20px; height: 20px; flex: 0 0 20px; }
.psm-thesis .psm-thesis__review h3 { font-size: 19px; }
.psm-thesis .psm-thesis__review > small { color: var(--psm-thesis-muted); font-size: 12px; }
.psm-thesis .psm-thesis__empty-mark { color: var(--psm-thesis-blue); font-family: Georgia, serif; font-size: 58px; line-height: 1; margin-bottom: 12px; }
.psm-thesis .psm-thesis__paper-card { padding-top: 0; }
.psm-thesis .psm-thesis__paper-table { table-layout: fixed; }
.psm-thesis .psm-thesis__paper-table :is(th, td):first-child { width: 23%; }
.psm-thesis .psm-thesis__paper-table :is(th, td):nth-child(3) { background: #f0f5ff; }
.psm-thesis .psm-thesis__paper-table thead th:nth-child(3) { color: var(--psm-thesis-blue-dark); }
.psm-thesis .psm-thesis__paper-table .psm-thesis__badge { display: block; margin-top: 10px; background: #dfe9ff; }
.psm-thesis .psm-thesis__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; padding: 0; margin: 0; list-style: none; }
.psm-thesis .psm-thesis__steps li { position: relative; text-align: center; }
.psm-thesis .psm-thesis__steps li:not(:last-child)::after { content: "→"; position: absolute; top: 22px; right: -25px; color: #b4c4e5; font-size: 24px; }
.psm-thesis .psm-thesis__step-icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; width: 72px; height: 72px; border: 1px solid #e0e9fc; background: #f3f7ff; border-radius: 18px; color: var(--psm-thesis-blue); }
.psm-thesis .psm-thesis__step-icon svg { width: 34px; height: 34px; }
.psm-thesis .psm-thesis__steps small { display: block; color: var(--psm-thesis-blue-dark); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.psm-thesis .psm-thesis__steps h3 { font-size: 19px; margin-bottom: 12px; }
.psm-thesis .psm-thesis__steps p { font-size: 14px; color: var(--psm-thesis-muted); }
.psm-thesis .psm-thesis__faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-items: start; }
.psm-thesis .psm-thesis__faq-item { min-width: 0; border: 1px solid var(--psm-thesis-line); border-radius: 10px; background: #fff; }
.psm-thesis .psm-thesis__faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 19px 22px; list-style: none; font-size: 16px; font-weight: 600; line-height: 1.5; }
.psm-thesis .psm-thesis__faq-item summary::-webkit-details-marker { display: none; }
.psm-thesis .psm-thesis__faq-item summary > span { color: var(--psm-thesis-blue); font-size: 24px; line-height: 1; font-weight: 400; }
.psm-thesis .psm-thesis__faq-item[open] summary { color: var(--psm-thesis-blue-dark); }
.psm-thesis .psm-thesis__faq-item[open] summary > span { transform: rotate(45deg); }
.psm-thesis .psm-thesis__faq-answer { padding: 0 22px 22px; color: var(--psm-thesis-muted); font-size: 15px; }
.psm-thesis dialog.psm-thesis__lightbox { border: 0; border-radius: 12px; padding: 48px 55px 24px; width: min(94vw, 1100px); max-width: 94vw; max-height: 92vh; background: #fff; color: var(--psm-thesis-ink); }
.psm-thesis .psm-thesis__lightbox::backdrop { background: rgb(13 23 42 / 82%); }
.psm-thesis .psm-thesis__lightbox figure { margin: 0; }
.psm-thesis .psm-thesis__lightbox img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.psm-thesis .psm-thesis__lightbox figcaption { text-align: center; margin-top: 12px; font-size: 14px; }
.psm-thesis .psm-thesis__lightbox button { display: grid; place-items: center; position: absolute; width: 44px; height: 44px; padding: 0; border: 1px solid #dbe3f2; border-radius: 50%; background: #fff; color: #203655; font-size: 24px; box-shadow: none; cursor: pointer; }
.psm-thesis .psm-thesis__lightbox button[hidden] { display: none; }
.psm-thesis .psm-thesis__lightbox-close { top: 6px; right: 8px; }
.psm-thesis .psm-thesis__lightbox-prev { left: 6px; top: 45%; }
.psm-thesis .psm-thesis__lightbox-next { right: 6px; top: 45%; }
.psm-thesis .psm-thesis__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1024px) {
  .psm-thesis .psm-thesis__collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psm-thesis .psm-thesis__gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .psm-thesis .psm-thesis__reviews { gap: 16px; }
  .psm-thesis .psm-thesis__review { padding: 22px; }
  .psm-thesis .psm-thesis__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .psm-thesis .psm-thesis__steps li::after { display: none; }
}
@media (max-width: 767px) {
  .psm-thesis { padding-inline: 18px; }
  .psm-thesis .psm-thesis__collections, .psm-thesis .psm-thesis__print-grid, .psm-thesis .psm-thesis__reviews, .psm-thesis .psm-thesis__faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .psm-thesis .psm-thesis__print-card { padding: 26px; }
  .psm-thesis .psm-thesis__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psm-thesis .psm-thesis__gallery .psm-thesis__placeholder { min-height: 190px; }
  .psm-thesis .psm-thesis__table :is(th, td) { padding: 16px 12px; font-size: 13px; }
  .psm-thesis .psm-thesis__table tbody th { min-width: 95px; }
  .psm-thesis .psm-thesis__price { font-size: 22px; }
  .psm-thesis .psm-thesis__paper-table { min-width: 530px; }
  .psm-thesis .psm-thesis__price-source { max-width: 95px; }
}
@media (max-width: 359px) {
  .psm-thesis .psm-thesis__steps { grid-template-columns: minmax(0, 1fr); }
  .psm-thesis .psm-thesis__table { min-width: 390px; }
}

/* Typografia uzgodniona dla jednej strony ofertowej, ID 514. */
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) :is(.psm-thesis, .psm-thesis-calculator) {
  --psm-thesis-muted: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #333;
}
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) :is(.psm-thesis, .psm-thesis-calculator) :is(h1, h2, h3, h4, h5, h6, th, summary) {
  font-family: "Maven Pro", sans-serif;
}
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
}
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis :is(p:not(.psm-thesis__review-author), blockquote, li, td, figcaption, small, .psm-thesis__intro, .psm-thesis__muted, .psm-thesis__note, .psm-thesis__faq-answer),
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis-calculator :is(p, .info, .psm-realizacja-global__note, .psm-realizacja-global__status) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #333;
}

/* Wskazane przez użytkownika style H2, H3 i H5 w całej treści strony. */
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) :is(.psm-thesis, .psm-thesis-calculator) :is(h2, h3, h5) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) :is(.psm-thesis, .psm-thesis-calculator) h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  color: #fff;
}
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) :is(.psm-thesis, .psm-thesis-calculator) h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: #000;
}
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) :is(.psm-thesis, .psm-thesis-calculator) h5 {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  color: #333;
}

/* Nagłówki sekcji pod kalkulatorem muszą być czytelne na białym tle. */
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) section.psm-thesis :is(h2, h3, h5) {
  color: #000;
}

/* Jedno szerokie zdjęcie kolekcji zamiast rzędu małych okładek. */
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis--collections .psm-thesis__collection-photo {
  aspect-ratio: 2 / 1;
}


/* Strona 514: H2 od Kolekcji okładek do końca treści, jak nowa sekcja opinii Google. */
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .elementor:is(.elementor-514, .elementor-302, .elementor-303, .elementor-515) > .elementor-element.elementor-element-fe8ad78 h2,
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .elementor:is(.elementor-514, .elementor-302, .elementor-303, .elementor-515) > .elementor-element.elementor-element-fe8ad78 ~ .elementor-element h2 {
  font-family: "Maven Pro", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
}


/* Mniejsze podpisy zdjęć wyłącznie w galerii strony magisterskiej. */
:is(.page-id-514, .page-id-302, .page-id-303, .page-id-515) .psm-thesis.psm-thesis--gallery .psm-thesis__gallery figcaption {
  font-size: 14px;
  line-height: 20px;
}

@media (min-width: 1025px) {
  .psm-thesis--gallery[id^="psm-thesis-realizacje-"] .psm-thesis__gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Wskazówka, że zdjęcie można otworzyć. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  @media (prefers-reduced-motion: no-preference) {
    .psm-thesis--gallery .psm-thesis__gallery-link img {
      transition: transform 180ms ease-out;
    }

    .psm-thesis--gallery .psm-thesis__gallery-link:hover img {
      transform: scale(1.04);
    }
  }
}
