/*
Theme Name: PRCN – warstwa wizualna 1:1
*/

:root {
  --black: #080808;
  --popularcolor:#223b3f;
  --ink: #111;
  --muted: #777;
  --paper: #f5f4f1;
  --white: #fff;
  --line: rgba(0, 0, 0, .15);
  --container: min(1224px, calc(100% - 48px));
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

body.menu-open {
  overflow: hidden
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button,
input {
  font: inherit
}

.container {
  width: var(--container);
  margin-inline: auto
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: #fff;
  padding: 12px
}

.skip-link:focus {
  left: 10px
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--black);
  color: #fff
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.site-branding {
  flex: 0 0 auto
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: #fff
}

.wordmark>span {
  font-family: Manrope, Arial, sans-serif;
  font-size: 43px;
  font-weight: 800;
  letter-spacing: -3px
}

.wordmark small {
  font-size: 8px;
  letter-spacing: 1.45px;
  font-weight: 600;
  margin-top: 6px
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 34px
}

.main-menu,
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 30px
}

.main-menu>li {
  position: relative
}

.main-menu a {
  display: block;
  color: #f5f5f5;
  font-size: 11px;
  letter-spacing: 1.15px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 0;
  transition: opacity .2s
}

.main-menu a:hover {
  opacity: .6
}

.main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 245px;
  padding: 12px 20px;
  background: #111;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
  z-index: 30
}

.main-menu li:hover>.sub-menu,
.main-menu li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.main-menu .sub-menu a {
  padding: 9px 0;
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: none;
  white-space: normal
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 10px 60px;
  border-radius: 30px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s
}

.header-contact:hover {
  background: #d9d9d9
}

.header-contact span {
  font-size: 17px
}

.menu-toggle {
  display: none
}

.hero {
  min-height: min(720px, calc(100vh - 104px));
  background: var(--black);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding: 38px max(24px, calc((100vw - 1224px) / 2)) 0px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 35px 5vw 55px 0
}

.eyebrow,
.section-kicker,
.card-number,
.contact-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700
}

.eyebrow {
  color: #aaa;
  margin: 0 0 42px
}


.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding: 0 0 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px
}

.text-link span {
  font-size: 18px
}

.hero-visual {
  min-height: 530px;
  align-self: stretch;
  overflow: hidden
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: .88
}

.hero-index {
  position: absolute;
  bottom: 32px;
  left: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aaa;
  font-size: 9px;
  letter-spacing: 1px
}

.hero-index i {
  width: 70px;
  height: 1px;
  background: #555
}

.brand-strip {
  background: var(--popularcolor);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 38px max(56px, calc((100vw - 1440px)/2));
  gap: 35px;
}

.brand-strip-item {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center
}

.brand-strip-item img {
  max-width: 80%;
  max-height: 70px;
  width: auto;
  object-fit: contain
}

.section-wrap {
  width: var(--container);
  margin-inline: auto;
  padding-block: 130px
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #777;
  margin-bottom: 58px
}

.section-kicker span:first-child {
  color: #111
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10%;
  align-items: start
}

.about-lead {
  position: relative;
  padding-right: 10%
}

.lead-copy {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 590px
}

.lead-copy strong {
  font-weight: 800
}

.round-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #aaa;
  border-radius: 50%;
  font-size: 22px;
  margin-top: 55px;
  transition: background .2s, color .2s
}

.round-arrow:hover {
  background: #111;
  color: #fff
}

.about-copy h2,
.areas-heading h2,
.testimonials-heading h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.05;
  margin: 0 0 36px
}

.about-copy p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 18px
}

.awards-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f0efec;
  min-height: 540px
}

.awards-image {
  min-height: 540px;
  overflow: hidden
}

.awards-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.awards-copy {
  padding: 90px clamp(40px, 8vw, 130px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.awards-copy .section-kicker {
  margin-bottom: 55px
}

.awards-copy h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.065em;
  margin: 0 0 28px
}

.awards-copy p {
  font-size: 15px;
  color: #555;
  margin: 0;
  max-width: 400px
}

.training-section {
  padding-bottom: 135px
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.training-card {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden
}

.training-card-dark {
  background: #111;
  color: #fff
}

.training-card-light {
  background: #efeeeb;
  color: #111
}

.training-card-copy {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.card-number {
  font-size: 9px;
  color: #888
}

.training-card h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.06em;
  margin: auto 0 25px
}

.training-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.training-card-light .text-link {
  margin-top: 0;
  margin-bottom: 12px
}

.areas-section {
  padding-top: 30px;
  padding-bottom: 145px
}

.areas-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 55px
}

.areas-heading h2 {
  margin: 0
}

.areas-heading p {
  max-width: 300px;
  color: #777;
  font-size: 13px;
  margin: 0 0 6px
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.area-tile {
  min-height: 180px;
  padding: 24px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .25s, color .25s
}

.area-tile:hover {
  background: #111;
  color: #fff
}

.area-number {
  font-size: 9px;
  color: #999;
  letter-spacing: 1px
}

.area-tile h3 {
  font-family: Manrope, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 500;
  margin: 25px 24px 0 0
}

.area-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 19px
}

.testimonials-section {
  background: #f2f1ee
}

.testimonials-section .section-wrap {
  padding-block: 125px
}

.testimonials-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 55px
}

.testimonials-heading h2 {
  margin: 0
}

.testimonials-heading p {
  font-size: 13px;
  color: #777;
  margin: 0 0 8px
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px
}

.testimonial {
  margin: 0;
  position: relative;
  padding-top: 30px;
  border-top: 1px solid #c9c8c4
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: .7;
  color: #aaa
}

.testimonial blockquote {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 20px 0 35px
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px
}

.testimonial figcaption strong {
  font-size: 14px;
  color: #111
}

.testimonial figcaption span {
  color: #888
}

.home-contact {
  background: #111;
  color: #fff
}

.home-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 105px
}

.contact-kicker {
  color: #999
}

.home-contact h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 500;
  margin: 25px 0 0
}

.contact-circle {
  width: 150px;
  height: 150px;
  border: 1px solid #777;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  transition: background .2s, color .2s
}

.contact-circle span {
  font-size: 22px
}

.contact-circle:hover {
  background: #fff;
  color: #111
}

.site-footer {
  background: #080808;
  color: #fff
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr 1.2fr;
  gap: 55px;
  padding-block: 85px 70px
}

.wordmark-light>span {
  font-size: 39px
}

.footer-brand p {
  color: #999;
  font-size: 12px;
  margin-top: 24px
}

.footer-main h2 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #999;
  margin: 0 0 22px
}

.footer-main p,
.footer-main a {
  font-size: 12px;
  line-height: 1.9;
  color: #ddd
}

.footer-contact a {
  display: block
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer-nav li {
  margin: 0 0 7px
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.newsletter-form input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #555;
  padding: 12px 0;
  color: #fff;
  font-size: 12px;
  outline: none
}

.newsletter-form input:focus {
  border-color: #fff
}

.newsletter-form button {
  align-self: flex-start;
  border: 0;
  border-radius: 30px;
  background: #fff;
  color: #111;
  padding: 12px 22px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px
}

.newsletter-form small {
  font-size: 9px;
  color: #888;
  line-height: 1.5
}

.footer-bottom {
  border-top: 1px solid #333;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #888;
  font-size: 10px
}

.footer-bottom a {
  color: #ddd
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

@media(max-width:1100px) {
  :root {
    --container: calc(100% - 64px)
  }

  .header-inner {
    min-height: 88px
  }

  .primary-navigation {
    gap: 20px
  }

  .main-menu {
    gap: 18px
  }

  .main-menu a {
    font-size: 9px
  }

  .hero {
    min-height: 620px;
    padding-inline: 32px
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 86px)
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px
  }
}

@media(max-width:780px) {
  :root {
    --container: calc(100% - 40px)
  }

  .header-inner {
    min-height: 78px
  }

  .wordmark>span {
    font-size: 36px
  }

  .wordmark small {
    font-size: 7px
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border: 1px solid #555;
    border-radius: 50%;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 60
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: #fff;
    transition: transform .2s
  }

  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(3px) rotate(45deg)
  }

  .menu-toggle[aria-expanded=true] span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg)
  }

  .menu-toggle[aria-expanded=true] span:nth-child(3) {
    display: none
  }

  .primary-navigation {
    position: fixed;
    inset: 78px 0 0;
    background: #080808;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 24px 45px;
    gap: 24px;
    overflow: auto;
    transform: translateX(100%);
    transition: transform .3s ease
  }

  .primary-navigation.is-open {
    transform: translateX(0)
  }

  .main-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .main-menu>li {
    border-bottom: 1px solid #333
  }

  .main-menu a {
    font-size: 13px;
    padding: 16px 0
  }

  .main-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 12px 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent
  }

  .main-menu .sub-menu a {
    font-size: 11px;
    padding: 8px 0
  }

  .header-contact {
    align-self: flex-start
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 55px 20px 55px
  }

  .hero-copy {
    padding: 15px 0 38px
  }

  .eyebrow {
    margin-bottom: 28px
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 76px);
    margin-bottom: 32px
  }

  .hero-visual {
    min-height: 330px;
    width: 100%
  }

  .hero-index {
    left: 20px;
    bottom: 17px
  }

  .brand-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 25px 20px;
    gap: 15px
  }

  .brand-strip-item {
    height: 62px
  }

  .brand-strip-item img {
    max-height: 55px
  }

  .section-wrap {
    padding-block: 80px
  }

  .section-kicker {
    margin-bottom: 35px
  }

  .about-grid,
  .awards-section,
  .training-grid,
  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .about-grid {
    gap: 55px
  }

  .lead-copy {
    font-size: 34px
  }

  .round-arrow {
    margin-top: 30px
  }

  .awards-image {
    min-height: 320px
  }

  .awards-copy {
    padding: 60px 24px 70px
  }

  .awards-copy .section-kicker {
    margin-bottom: 35px
  }

  .training-grid {
    gap: 16px
  }

  .training-card {
    min-height: 380px
  }

  .training-card-copy {
    padding: 25px 18px
  }

  .training-card h2 {
    font-size: 34px
  }

  .areas-section {
    padding-top: 10px;
    padding-bottom: 85px
  }

  .areas-heading,
  .testimonials-heading {
    display: block
  }

  .areas-heading h2,
  .testimonials-heading h2 {
    margin-bottom: 20px
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .area-tile {
    min-height: 145px;
    padding: 17px
  }

  .area-tile h3 {
    font-size: 17px
  }

  .testimonials-grid {
    gap: 45px
  }

  .testimonials-section .section-wrap {
    padding-block: 80px
  }

  .home-contact-inner {
    padding-block: 75px;
    align-items: flex-start
  }

  .contact-circle {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    font-size: 10px
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 24px;
    padding-block: 65px 50px
  }

  .footer-newsletter {
    grid-column: 1/-1
  }

  .footer-bottom {
    padding-block: 20px;
    flex-wrap: wrap;
    justify-content: flex-start
  }
}

@media(max-width:430px) {
  .training-card {
    grid-template-columns: 1fr 1fr;
    min-height: 320px
  }

  .training-card h2 {
    font-size: 28px
  }

  .training-card-copy {
    padding: 20px 12px
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr
  }

  .home-contact-inner {
    display: block
  }

  .contact-circle {
    margin-top: 35px
  }

  .footer-main {
    grid-template-columns: 1fr
  }

  .footer-newsletter {
    grid-column: auto
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

.header-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 780px) {
  .header-logo img {
    height: 40px;
  }
}

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 64px;
  color: #fff;
}

/* HEADER – MENU NA CAŁĄ SZEROKOŚĆ */

@media (min-width: 781px) {

  .site-header .header-inner {
      width: var(--container);
      max-width: 1224px;
      margin-inline: auto;
      margin-left: auto;
      margin-right: auto;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }

  .primary-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
  }

  .main-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
  }

  /* Typografia menu */

  .main-menu>li>a,
  .header-language {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .3px;
  }

  .main-menu>li>a {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    opacity: 1;
  }

  /* Podkreślenie po najechaniu */

  .main-menu>li>a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 7px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width .25s ease;
  }

  .main-menu>li:hover>a::before,
  .main-menu>li:focus-within>a::before,
  .main-menu>li.current-menu-item>a::before,
  .main-menu>li.current-menu-ancestor>a::before {
    width: 100%;
  }

  /* Trójkąt przy pozycjach z submenu */

  .main-menu>li.menu-item-has-children>a::after {
    content: "";
    display: inline-block;
    margin-left: 9px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff;
    transition: transform .2s ease;
  }

  .main-menu>li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
  }

  /* Rozwijane submenu */

  .main-menu>li {
    position: relative;
  }

  .main-menu .sub-menu {
    top: 100%;
    left: -20px;
    min-width: 230px;
    padding: 12px 20px;
    background: #080808;
    border-top: 1px solid #555;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 100;
  }

  .main-menu>li:hover>.sub-menu,
  .main-menu>li:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-menu .sub-menu a {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 0;
  }

  .header-contact {
    flex-shrink: 0;
    font-family: 'Raleway', sans-serif;
  }
}


/* =================================
   SEKCJA O NAS
================================= */

.about-awards {
  width: 100%;
  margin: 0;
  background: #fff;
}

.about-awards-grid {
  width: var(--container);
  max-width: 1224px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: stretch;
  gap: 0;
}

.about-awards-text {
  padding: 42px 45px 40px 0;
  font-family: 'Raleway', sans-serif;
  color: #242424;
}

.about-awards-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 16px;
}

.about-awards-text p {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  margin: 0 0 12px;
}

.about-awards-text .about-intro {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 27px;
}

.about-awards-text .about-intro strong {
  font-weight: 700;
}

.about-awards-text .about-member {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 30px;
}

.about-awards-text .about-awards-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.about-awards-image {
  width: 100%;
  height: 645px;
  overflow: hidden;
}

.about-awards-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* RESPONSYWNOŚĆ */

@media (max-width: 780px) {
  .about-awards {
    padding: 0 0 40px;
    border-top-width: 15px;
  }

  .about-awards-grid {
    width: calc(100% - 40px);
    margin: 0 20px;
    grid-template-columns: 1fr;
  }

  .about-awards-text {
    padding: 35px 0;
  }

  .about-awards-text h2 {
    font-size: 38px;
  }

  .about-awards-text .about-intro {
    font-size: 15px;
  }

  .about-awards-image {
    height: auto;
    aspect-ratio: 0.95;
  }
}

/* PARALLAX – PRCN */

.parallax-section {
  position: relative;
  width: 100%;
  height: 299px;
  min-height: 299px;
  overflow: hidden;
  background: #000;
}

.parallax-background {
  position: absolute;
  inset: 0;
  background-image: url('../../img/prcn2.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 920px) {
  .parallax-section {
    display: none;
  }
}

/* SZKOLENIA */

.training-section {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 0;
  margin: 0;
}

.training-section-inner {
  width: var(--container);
  max-width: 1224px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: stretch;
}

.training-image {
  width: 100%;
  height: 328px;
  overflow: hidden;
}

.training-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.training-content {
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.training-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.training-divider {
  width: 180px;
  height: 1px;
  background: #fff;
  margin: 39px 0 30px;
}

.training-button {
  display: inline-flex;
  width: 282px;
  height: 54px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  background: #4b8fa7;
  color: #fff;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .5px;
  transition: background .2s ease;
}

.training-button:hover {
  background: #39778e;
}

/* MOBILE */

@media (max-width: 780px) {
  .training-section-inner {
    grid-template-columns: 1fr;
  }

  .training-image {
    height: auto;
    aspect-ratio: 1.86;
  }

  .training-content {
    padding: 30px 20px 40px;
  }

  .training-content h2 {
    font-size: 34px;
  }

  .training-divider {
    margin: 25px 0;
  }
}

/* OFERTA – SIATKA KAFELKÓW */

.offer-tiles-section {
  display: block;
  width: 100%;
  padding: 21px 0 68px;
  background: #fff;
}

.offer-tiles-section .offer-tiles-grid {
  display: grid !important;
  width: min(1224px, calc(100% - 48px));
  max-width: 1224px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 17px;
}

.offer-tiles-section a.offer-tile {
  display: flex !important;
  width: 100%;
  min-height: 103px;
  padding: 20px;
  box-sizing: border-box;

  align-items: center;
  justify-content: center;

  background: #213c3f;
  color: #fff !important;

  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;

  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s ease;
}

.offer-tiles-section a.offer-tile:hover {
  background: #213c3f;
  color: #fff;
}

/* TABLET */

@media (max-width: 780px) {
  .offer-tiles-section .offer-tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-tiles-section a.offer-tile {
    min-height: 90px;
    font-size: 14px;
  }
}

/* TELEFON */

@media (max-width: 480px) {
  .offer-tiles-section .offer-tiles-grid {
    grid-template-columns: 1fr;
  }
}


/* OPINIE – KARUZELA */

.reviews-section {
  width: 100%;
  background: #fff;
  color: #001e55;
  padding: 20px 0 40px;
}

.reviews-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding-bottom: 40px;
}

.reviews-container h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin: 20px 0;
  color: #001e55;
}

.reviews-viewport {
  width: 100%;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  width: 100%;
  padding: 10px 0;
  transition: transform .5s ease;
  will-change: transform;
}

.reviews-slide {
  display: flex;
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.reviews-slide blockquote {
  width: 100%;
  margin: 0;
  padding: 0 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
  color: #001e55;
}

.reviews-slide cite {
  display: block;
  margin-top: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  color: #2e2e2e;
}

.reviews-controls {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.reviews-control {
  padding: 10px 15px;
  border: 0;
  border-radius: 5px;
  background: rgba(129, 129, 129, .7);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .3s ease;
}

.reviews-control:hover {
  background: rgba(0, 0, 0, .9);
}

@media (max-width: 768px) {
  .reviews-container {
    padding: 0 10px 60px;
  }

  .reviews-container h2 {
    font-size: 28px;
    margin: 15px 0;
  }

  .reviews-slide blockquote {
    font-size: 16px;
    padding: 0 10px;
  }

  .reviews-slide cite {
    font-size: 14px;
  }

  .reviews-control {
    padding: 8px 12px;
    font-size: 14px;
  }
}


/* =================================
   FOOTER PRCN
================================= */

.prcn-footer {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 0;
}

.prcn-footer-inner {
  width: var(--container);
  max-width: 1224px;
  min-height: 508px;
  margin-inline: auto;
  padding: 57px 0 45px;

  display: grid;
  grid-template-columns: 285px minmax(0, 1fr) 400px;
  column-gap: 24px;
  align-items: start;
}

/* DANE */

.prcn-footer-details {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.prcn-footer-item h3,
.prcn-footer-newsletter h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.prcn-footer-item p,
.prcn-footer-item a {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
  margin: 0;
  text-decoration: none;
}

.prcn-footer-item a:hover,
.prcn-privacy:hover {
  text-decoration: underline;
}

/* NEWSLETTER */

.prcn-footer-newsletter {
  padding-top: 33px;
}

.prcn-footer-newsletter h3 {
  margin-bottom: 20px;
}

.prcn-newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.prcn-newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: rgba(245, 248, 251, .6);
  color: #565656;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
}

.prcn-newsletter-form button {
  min-width: 100px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #2e3538;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.prcn-newsletter-form button:hover {
  background: #454f54;
}

/* SOCIAL MEDIA */

.prcn-social {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.prcn-social a {
  display: flex;
  width: 24px;
  height: 24px;
  color: #fff;
  transition: opacity .2s ease;
}

.prcn-social a:hover {
  opacity: .65;
}

.prcn-social svg {
  display: block;
  width: 24px;
  height: 24px;
}

.prcn-privacy {
  display: inline-block;
  margin-top: 38px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-decoration: none;
}

/* FORMULARZ KONTAKTOWY */

.prcn-footer-contact-form h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 22px;
}

.prcn-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prcn-contact-form input,
.prcn-contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 13px 15px;
  background: #f1f1f1;
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  outline: none;
}

.prcn-contact-form input {
  height: 48px;
}

.prcn-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.prcn-contact-form input::placeholder,
.prcn-contact-form textarea::placeholder {
  color: #555;
  opacity: 1;
}

.prcn-contact-form button {
  align-self: center;
  width: 160px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.prcn-contact-form button:hover {
  background: #454f54;
  color: #fff;
}

/* MOBILE */

@media (max-width: 950px) {
  .prcn-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 45px 30px;
    padding: 45px 0;
  }

  .prcn-footer-contact-form {
    grid-column: 1 / -1;
    max-width: 500px;
  }

  .prcn-footer-newsletter {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .prcn-footer-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 40px 0;
  }

  .prcn-footer-details {
    gap: 28px;
  }

  .prcn-footer-newsletter {
    padding-top: 0;
  }

  .prcn-footer-contact-form {
    grid-column: auto;
    max-width: none;
  }

  .prcn-newsletter-form {
    flex-direction: column;
  }

  .prcn-newsletter-form button {
    align-self: flex-start;
  }
}

/* CONTACT FORM 7 – FOOTER PRCN */

.prcn-footer-contact-form .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prcn-cf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prcn-cf7-field {
  width: 100%;
}

.prcn-cf7-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.prcn-cf7-field input,
.prcn-cf7-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  padding: 13px 15px;
  background: #f1f1f1;
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  outline: none;
}

.prcn-cf7-field input {
  height: 48px;
}

.prcn-cf7-field textarea {
  min-height: 140px;
  resize: vertical;
}

.prcn-cf7-field input::placeholder,
.prcn-cf7-field textarea::placeholder {
  color: #555;
  opacity: 1;
}

.prcn-cf7-submit {
  display: flex;
  justify-content: center;
}

.prcn-cf7-submit input[type="submit"] {
  width: 160px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.prcn-cf7-submit input[type="submit"]:hover {
  background: #454f54;
  color: #fff;
}

.prcn-footer-contact-form .wpcf7-not-valid-tip {
  color: #ffb5b5;
  font-size: 12px;
}

.prcn-footer-contact-form .wpcf7-response-output {
  margin: 15px 0 0;
  padding: 10px;
  color: #fff;
  border-color: #fff;
  font-size: 12px;
}

.prcn-footer-contact-form .wpcf7-spinner {
  display: none;
}

/* ==========================================
   PRCN – MODERN CONTACT FORM
========================================== */

.prcn-footer-contact-form {
  width: 100%;
  max-width: 430px;
}

.prcn-footer-contact-form h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.8px;
  color: #fff;
  margin: 0 0 30px;
}

/* Układ formularza */

.prcn-footer-contact-form .wpcf7 form {
  margin: 0;
}

.prcn-cf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prcn-cf7-field,
.prcn-cf7-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Pola */

.prcn-cf7-field input,
.prcn-cf7-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;

  padding: 16px 18px;

  background: #141a1b;
  color: #fff;

  border: 1px solid #303a3b;
  border-radius: 8px;

  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;

  transition: all .25s ease;
}

.prcn-cf7-field input {
  height: 54px;
}

.prcn-cf7-field textarea {
  min-height: 125px;
  resize: vertical;
  line-height: 1.6;
}

.prcn-cf7-field input::placeholder,
.prcn-cf7-field textarea::placeholder {
  color: #929b9b;
  opacity: 1;
}

/* Fokus */

.prcn-cf7-field input:focus,
.prcn-cf7-field textarea:focus {
  outline: none;
  background: #192223;
  border-color: #4b8fa7;
  box-shadow: 0 0 0 3px rgba(75, 143, 167, .13);
}

/* Przycisk */

.prcn-cf7-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
}

.prcn-cf7-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 170px;
  height: 52px;
  padding: 0 30px;

  border: 1px solid #4b8fa7;
  border-radius: 8px;

  background: #4b8fa7;
  color: #fff;

  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;

  cursor: pointer;
  transition: all .25s ease;
}

.prcn-cf7-submit input[type="submit"]:hover {
  background: transparent;
  border-color: #70afc3;
  color: #70afc3;
  transform: translateY(-2px);
}

/* Walidacja */

.prcn-footer-contact-form .wpcf7-not-valid {
  border-color: #d87979 !important;
}

.prcn-footer-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #f0a0a0;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
}

.prcn-footer-contact-form .wpcf7-response-output {
  margin: 15px 0 0 !important;
  padding: 12px 15px !important;
  border: 1px solid #4b8fa7 !important;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
}

.prcn-footer-contact-form .wpcf7-spinner {
  display: none;
}

/* Mobile */

@media (max-width: 600px) {
  .prcn-footer-contact-form {
    max-width: 100%;
  }

  .prcn-footer-contact-form h2 {
    font-size: 26px;
  }

  .prcn-cf7-submit input[type="submit"] {
    width: 100%;
  }
}

/* Mniejszy obszar wiadomości */
.prcn-cf7-field textarea {
  min-height: 85px;
  height: 85px;
  resize: vertical;
}

/* Usunięcie domyślnych marginesów Contact Form 7 */
.prcn-footer-contact-form .wpcf7 form p,
.prcn-cf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

/* NEWSLETTER – STYL SPÓJNY Z FORMULARZEM KONTAKTOWYM */

.prcn-footer-newsletter .prcn-newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.prcn-newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 16px;

  background: #141a1b;
  color: #fff;

  border: 1px solid #303a3b;
  border-radius: 8px;

  font-family: 'Raleway', sans-serif;
  font-size: 14px;

  transition: all .25s ease;
}

.prcn-newsletter-form input::placeholder {
  color: #929b9b;
  opacity: 1;
}

.prcn-newsletter-form input:focus {
  outline: none;
  background: #192223;
  border-color: #4b8fa7;
  box-shadow: 0 0 0 3px rgba(75, 143, 167, .13);
}

.prcn-newsletter-form button {
  flex: 0 0 100px;
  height: 52px;
  padding: 0 18px;

  background: #4b8fa7;
  color: #fff;

  border: 1px solid #4b8fa7;
  border-radius: 8px;

  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: all .25s ease;
}

.prcn-newsletter-form button:hover {
  background: transparent;
  border-color: #70afc3;
  color: #70afc3;
}

/* MOBILE */

@media (max-width: 600px) {
  .prcn-footer-newsletter .prcn-newsletter-form {
    flex-direction: column;
  }

  .prcn-newsletter-form button {
    flex: auto;
    width: 100%;
  }
}

/* ==========================================
   PRCN – WYGLĄD WPISÓW
========================================== */

/* Główna szerokość wpisu */

body.single-post .site-main {
  width: 100%;
  padding: 40px 24px 90px;
}

body.single-post .site-main article {
  width: 100%;
  max-width: 812px;
  margin: 0 auto;
}

/* Nagłówek wpisu */

body.single-post .entry-header {
  max-width: 900px;
  margin: 0 auto 65px;
  text-align: center;
}

body.single-post .entry-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.5px;
  color: #242424;
  margin: 0 0 14px;
}

/* Kategoria i data */

body.single-post .entry-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #555;
}

body.single-post .entry-meta a {
  color: #555;
  text-decoration: none;
}

body.single-post .entry-meta a:hover {
  color: #213c3f;
}

/* Zdjęcie wyróżniające */

body.single-post .post-thumbnail,
body.single-post .wp-block-post-featured-image {
  width: 100%;
  max-width: 812px;
  margin: 0 auto 32px;
  overflow: hidden;
}

body.single-post .post-thumbnail img,
body.single-post .wp-block-post-featured-image img,
body.single-post .entry-content>figure:first-child img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.36 / 1;
  object-fit: cover;
  object-position: center 45%;
}

/* Treść artykułu */

body.single-post .entry-content {
  width: 100%;
  max-width: 812px;
  margin: 0 auto;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #292929;
}

body.single-post .entry-content p {
  margin: 0 0 18px;
}

body.single-post .entry-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.3;
  margin: 35px 0 18px;
}

body.single-post .entry-content h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 28px 0 14px;
}

body.single-post .entry-content img {
  max-width: 100%;
  height: auto;
}

/* MOBILE */

@media (max-width: 768px) {

  body.single-post .site-main {
    padding: 30px 20px 60px;
  }

  body.single-post .entry-header {
    margin-bottom: 35px;
  }

  body.single-post .entry-title {
    font-size: 25px;
  }

  body.single-post .post-thumbnail img,
  body.single-post .wp-block-post-featured-image img,
  body.single-post .entry-content>figure:first-child img {
    aspect-ratio: 1.4 / 1;
  }

  body.single-post .entry-content {
    font-size: 14px;
  }
}

/* ZDJĘCIE WYRÓŻNIAJĄCE – POZIOMY KADR */

body.single-post .post-thumbnail,
body.single-post .wp-block-post-featured-image {
  display: block;
  width: 100% !important;
  max-width: 812px !important;
  height: 344px !important;
  margin: 0 auto 32px !important;
  overflow: hidden !important;
}

body.single-post img.wp-post-image,
body.single-post .post-thumbnail img,
body.single-post .wp-block-post-featured-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 344px !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin-bottom: 2rem;
}

/* Gdy zdjęcie jest pierwszym obrazem w treści wpisu */

body.single-post .entry-content>figure:first-of-type {
  width: 100% !important;
  max-width: 812px !important;
  height: 344px !important;
  margin: 0 auto 32px !important;
  overflow: hidden !important;
}

body.single-post .entry-content>figure:first-of-type img {
  width: 100% !important;
  height: 344px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 768px) {

  body.single-post .post-thumbnail,
  body.single-post .wp-block-post-featured-image,
  body.single-post .entry-content>figure:first-of-type {
    height: 240px !important;
  }

  body.single-post img.wp-post-image,
  body.single-post .post-thumbnail img,
  body.single-post .wp-block-post-featured-image img,
  body.single-post .entry-content>figure:first-of-type img {
    height: 240px !important;
  }
}


/* ==========================================
   PRCN – GALERIE Z LIGHTBOXEM
========================================== */

/* Miniatury galerii */

.single-post .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 30px 0;
}

.single-post .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
}

.single-post .wp-block-gallery.has-nested-images figure img {
  display: block;
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  object-position: center;
  cursor: zoom-in;
  transition: transform .3s ease, opacity .3s ease;
}

.single-post .wp-block-gallery.has-nested-images figure:hover img {
  transform: scale(1.035);
  opacity: .88;
}

/* LIGHTBOX */

.prcn-lightbox[hidden] {
  display: none !important;
}

.prcn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  background: rgba(0, 0, 0, .96);
  animation: prcnLightboxFade .25s ease;
}

.prcn-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 15px 70px rgba(0, 0, 0, .4);
}

.prcn-lightbox__close {
  position: absolute;
  top: 22px;
  right: 30px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}

.prcn-lightbox__close:hover {
  background: rgba(255, 255, 255, .15);
}

.prcn-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  transition: background .2s ease;
}

.prcn-lightbox__arrow:hover {
  background: rgba(255, 255, 255, .2);
}

.prcn-lightbox__prev {
  left: 22px;
}

.prcn-lightbox__next {
  right: 22px;
}

.prcn-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
}

body.prcn-lightbox-open {
  overflow: hidden;
}

@keyframes prcnLightboxFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* TABLET */

@media (max-width: 780px) {
  .single-post .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-post .wp-block-gallery.has-nested-images figure img {
    height: 190px !important;
  }

  .prcn-lightbox {
    padding: 60px 15px;
  }

  .prcn-lightbox__image {
    max-height: 78vh;
  }

  .prcn-lightbox__prev {
    left: 8px;
  }

  .prcn-lightbox__next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .single-post .wp-block-gallery.has-nested-images {
    gap: 8px;
  }

  .single-post .wp-block-gallery.has-nested-images figure img {
    height: 150px !important;
  }
}


/* ==========================================
   PRCN – AKTUALNOŚCI / SLIDER
========================================== */

.prcn-news-section {
  display: block;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 60px 0 65px;
  background: #213c3f;
  color: #fff;
  overflow: hidden;
}

.prcn-news-container {
  width: var(--container);
  max-width: 1224px;
  margin-inline: auto;
}

/* Okno slidera */

.prcn-news-viewport {
  width: 100%;
  overflow: hidden;
}

.prcn-news-track {
  display: flex;
  width: 100%;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.prcn-news-slide-page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

/* Cztery karty w jednym rzędzie */

.prcn-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.prcn-news-card {
  min-width: 0;
  margin: 0;
}

.prcn-news-card__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1.67 / 1;
  overflow: hidden;
  margin-bottom: 20px;
  background: #182e30;
}

.prcn-news-card__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.prcn-news-card__image-link:hover .prcn-news-card__image {
  transform: scale(1.04);
}

.prcn-news-card__placeholder {
  width: 100%;
  height: 100%;
  background: #182e30;
}

/* Tytuły */

.prcn-news-card__title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.prcn-news-card__title a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}

.prcn-news-card__title a:hover {
  opacity: .7;
}

/* Strzałki i numeracja */

.prcn-news-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 20px;
}

.prcn-news-pagination {
  display: flex;
  align-items: center;
  gap: 25px;
}

.prcn-news-pagination button,
.prcn-news-arrow {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  transition: color .2s ease, opacity .2s ease;
}

.prcn-news-pagination button {
  padding: 5px;
  font-size: 11px;
}

.prcn-news-pagination button.current {
  color: #5146de;
  font-weight: 700;
}

.prcn-news-pagination button:hover,
.prcn-news-arrow:hover {
  color: #a7c7ca;
}

.prcn-news-arrow {
  padding: 0 5px;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
}

/* TABLET */

@media (max-width: 900px) {
  .prcn-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
}

/* MOBILE */

@media (max-width: 520px) {
  .prcn-news-section {
    padding: 40px 0;
  }

  .prcn-news-container {
    width: calc(100% - 32px);
  }

  .prcn-news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .prcn-news-card__title {
    font-size: 16px;
  }

  .prcn-news-controls {
    gap: 18px;
    margin-top: 30px;
  }

  .prcn-news-pagination {
    gap: 16px;
  }
}

/* ==========================================
   PRCN – CASE STUDIES
========================================== */

/* Kontener strony */

.prcn-case-studies-page #main>.container,
.prcn-case-studies-page #main .narrow-container {
  width: var(--container);
  max-width: 1224px;
  margin-inline: auto;
}

.prcn-case-studies-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Nagłówek strony */

.prcn-case-studies-page .entry-content>h1:first-child {
  font-family: 'Raleway', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #171717;
  margin: 50px 0 20px;
}

/* Podtytuł pod nagłówkiem */

.prcn-case-studies-page .entry-content>h1:first-child+p {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 70px;
}

/* Układ kart – dwie kolumny */

.prcn-case-studies-page .entry-content .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 40px;
  align-items: start;
  margin: 0 0 38px !important;
}

/* Pojedyncza karta */

.prcn-case-studies-page .wp-block-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Zdjęcia – identyczny kadr */

.prcn-case-studies-page .wp-block-column figure.wp-block-image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1.39 / 1;
  margin: 0 0 24px !important;
  overflow: hidden;
  border-radius: 20px;
}

.prcn-case-studies-page .wp-block-column figure.wp-block-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.prcn-case-studies-page .wp-block-column figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
  transition: transform .35s ease;
}

.prcn-case-studies-page .wp-block-column figure.wp-block-image a:hover img {
  transform: scale(1.035);
}

/* Tytuły projektów */

.prcn-case-studies-page .wp-block-column h2,
.prcn-case-studies-page .wp-block-column h3,
.prcn-case-studies-page .wp-block-column h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #171717;
  margin: 0 0 8px !important;
}

/* Opisy pod tytułami */

.prcn-case-studies-page .wp-block-column p {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
  margin: 0 0 12px !important;
}
.prcn-case-studies-page .wp-block-column h5 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
  margin: 0 0 12px !important;
}
/* Mobile */

@media (max-width: 780px) {

  .prcn-case-studies-page #main>.container,
  .prcn-case-studies-page #main .narrow-container {
    width: calc(100% - 40px);
  }

  .prcn-case-studies-page .entry-content>h1:first-child {
    font-size: 36px;
    margin-top: 35px;
  }

  .prcn-case-studies-page .entry-content>h1:first-child+p {
    margin-bottom: 40px;
  }

  .prcn-case-studies-page .entry-content .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .prcn-case-studies-page .wp-block-column figure.wp-block-image {
    aspect-ratio: 1.39 / 1;
    border-radius: 14px;
  }

  .prcn-case-studies-page .wp-block-column h2,
  .prcn-case-studies-page .wp-block-column h3 {
    font-size: 23px;
  }
}