/* OEAF — Kontakt dla mediów */
@font-face {
  font-family: "GT Walsheim OEAF";
  src: url("../oeaf-editions/assets/fonts/GT-Walsheim-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.oeaf-contact,
.oeaf-contact * {
  box-sizing: border-box;
}

.oeaf-contact {
  --oeaf-contact-black: #000;
  --oeaf-contact-white: #fff;
  --oeaf-contact-paper: #f1f1f1;
  --oeaf-contact-line: rgba(0, 0, 0, 0.42);
  --oeaf-contact-side: clamp(20px, 4vw, 72px);
  --oeaf-contact-ease: cubic-bezier(0.18, 0.8, 0.2, 1);
  width: 100%;
  overflow-x: clip;
  background: var(--oeaf-contact-white);
  color: var(--oeaf-contact-black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: normal;
}

.oeaf-contact a {
  color: inherit;
}

.oeaf-contact a:focus-visible {
  outline: 4px solid currentColor;
  outline-offset: 5px;
}

.oeaf-contact-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: linear-gradient(90deg, var(--oeaf-contact-black) 0 50%, var(--oeaf-contact-paper) 50% 100%);
}

.oeaf-contact-tilt {
  position: relative;
  min-width: 0;
  min-height: inherit;
  overflow: hidden;
  background: var(--oeaf-contact-black);
  perspective: 720px;
  perspective-origin: 50% 50%;
  touch-action: pan-y;
}

.oeaf-contact-tilt-plane {
  position: absolute;
  inset: -3%;
  transform: scale(1.08);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}

.oeaf-contact .oeaf-contact-tilt-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 50%;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform;
}

.oeaf-contact-tilt-layer--background {
  z-index: 1;
}

.oeaf-contact-tilt-layer--building {
  z-index: 2;
}

.oeaf-contact-tilt-layer--flag-back {
  z-index: 3;
  transform-origin: 47.3% 70%;
}

.oeaf-contact-tilt-layer--flag-front {
  z-index: 4;
  transform-origin: 28% 62.5%;
}

.oeaf-contact-hero-copy {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: clamp(110px, 14vh, 190px) var(--oeaf-contact-side) clamp(72px, 9vh, 120px);
  background: var(--oeaf-contact-paper);
  color: var(--oeaf-contact-black);
}

.oeaf-contact-hero-copy-inner {
  width: 100%;
}

.oeaf-contact-hero h1 {
  width: 100%;
  margin: 0;
  font-family: "GT Walsheim OEAF", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.8rem, 4.15vw, 5.4rem);
  font-weight: 700;
  line-height: 0.92;
  text-transform: lowercase;
}

.oeaf-contact-hero h1 span {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.oeaf-contact-hero h1 span:last-child {
  margin-top: 0.12em;
}

.oeaf-contact-hero-data {
  display: grid;
  margin-top: clamp(44px, 7vh, 88px);
  padding-top: clamp(22px, 2.5vw, 36px);
  border-top: 1px solid rgba(0, 0, 0, 0.54);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
  align-items: start;
}

.oeaf-contact-hero-entity {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: clamp(14px, 1.7vw, 24px);
}

.oeaf-contact-hero-entity-name {
  margin: 0;
  font-size: clamp(0.78rem, 0.74rem + 0.16vw, 0.94rem);
  font-weight: 700;
  line-height: 1;
}

.oeaf-contact-hero-links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55em;
}

.oeaf-contact-hero-links a,
.oeaf-contact-hero-data address {
  font-size: clamp(0.94rem, 0.88rem + 0.22vw, 1.16rem);
  line-height: 1.46;
}

.oeaf-contact-hero-links a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.oeaf-contact-hero-data address {
  margin: 0;
  font-style: normal;
}

.oeaf-contact-section {
  padding: clamp(82px, 9vw, 150px) var(--oeaf-contact-side) clamp(104px, 11vw, 190px);
}

.oeaf-contact-logo {
  scroll-margin-top: 104px;
  background: var(--oeaf-contact-paper);
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: clamp(62px, 6.5vw, 104px);
}

.oeaf-contact-section-title {
  margin-bottom: clamp(44px, 6vw, 92px);
}

.oeaf-contact-section-title h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 1;
}

.oeaf-contact-details {
  background: var(--oeaf-contact-paper);
  border-top: 1px solid var(--oeaf-contact-black);
  padding-top: clamp(72px, 8vw, 126px);
  padding-bottom: clamp(64px, 7vw, 110px);
}

.oeaf-contact-details .oeaf-contact-section-title,
.oeaf-contact-details-grid {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
}

.oeaf-contact-details .oeaf-contact-section-title h2 {
  font-size: clamp(2.5rem, 5vw, 6rem);
}

.oeaf-contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--oeaf-contact-black);
}

.oeaf-contact-details-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px) clamp(20px, 3vw, 48px) clamp(34px, 4.5vw, 66px) 0;
}

.oeaf-contact-details-card:nth-child(even) {
  padding-right: 0;
  padding-left: clamp(20px, 3vw, 48px);
  border-left: 1px solid var(--oeaf-contact-line);
}

.oeaf-contact-details-short,
.oeaf-contact-details-role {
  margin: 0 0 14px;
  color: #555;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.oeaf-contact-details-card h3 {
  max-width: 24ch;
  margin: 0 0 clamp(24px, 3vw, 42px);
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 3rem);
  font-weight: 400;
  line-height: 1.04;
}

.oeaf-contact-details-card address,
.oeaf-contact-details-links,
.oeaf-contact-details-additional {
  font-size: clamp(1rem, 0.94rem + 0.2vw, 1.18rem);
  font-weight: 400;
  line-height: 1.5;
}

.oeaf-contact-details-card address {
  margin: 0 0 22px;
  font-style: normal;
}

.oeaf-contact-details-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.oeaf-contact-details-links a {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}

.oeaf-contact-details-additional {
  margin-top: 26px;
}

.oeaf-contact-details-additional > :first-child {
  margin-top: 0;
}

.oeaf-contact-details-additional > :last-child {
  margin-bottom: 0;
}

.oeaf-contact-logo .oeaf-contact-section-title {
  width: min(100%, 960px);
  margin-right: auto;
  margin-bottom: clamp(26px, 3vw, 44px);
  margin-left: auto;
}

.oeaf-contact-logo .oeaf-contact-section-title h2 {
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.06;
}

.oeaf-contact-logo-grid {
  display: grid;
  width: min(100%, 960px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}

.oeaf-contact-press {
  background: var(--oeaf-contact-white);
  padding-top: clamp(72px, 8vw, 128px);
  padding-bottom: clamp(88px, 10vw, 164px);
}

.oeaf-contact-press-heading,
.oeaf-contact-press-layout {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.oeaf-contact-press-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 42px);
  border-bottom: 1px solid var(--oeaf-contact-black);
}

.oeaf-contact-press-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.oeaf-contact-press-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.8fr);
  gap: clamp(48px, 8vw, 128px);
  padding-top: clamp(38px, 5vw, 72px);
}

.oeaf-contact-press-copy {
  min-width: 0;
}

.oeaf-contact-press-kicker {
  margin: 0 0 clamp(28px, 3vw, 44px);
  font-size: clamp(0.84rem, 0.8rem + 0.16vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.oeaf-contact-press-copy h3 {
  max-width: 16ch;
  margin: 0 0 clamp(38px, 5vw, 72px);
  font-family: "GT Walsheim OEAF", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.35rem, 5vw, 6rem);
  font-weight: 700;
  line-height: 0.96;
}

.oeaf-contact-press-body {
  max-width: 760px;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.34rem);
  font-weight: 400;
  line-height: 1.5;
}

.oeaf-contact-press-body p {
  margin: 0;
}

.oeaf-contact-press-body p + p {
  margin-top: 1.25em;
}

.oeaf-contact-press-actions {
  align-self: start;
  font-size: clamp(0.84rem, 0.8rem + 0.16vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
}

.oeaf-contact-press-actions button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--oeaf-contact-black);
  border-bottom: 1px solid var(--oeaf-contact-black);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.oeaf-contact-press-actions button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: opacity 180ms ease;
}

.oeaf-contact-press-actions button:focus-visible {
  outline: 4px solid currentColor;
  outline-offset: 5px;
}

.oeaf-contact-copy-status {
  min-height: 1.5em;
  margin: 14px 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .oeaf-contact-press-actions button:hover svg {
    opacity: 0.55;
  }
}

.oeaf-contact-logo-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto auto;
  border: 1px solid var(--oeaf-contact-black);
}

.oeaf-contact-logo-card--dark {
  background: var(--oeaf-contact-black);
  color: var(--oeaf-contact-white);
}

.oeaf-contact-logo-card--light {
  background: var(--oeaf-contact-white);
  color: var(--oeaf-contact-black);
}

.oeaf-contact-logo-preview {
  display: flex;
  min-height: clamp(142px, 14vw, 210px);
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 2.6vw, 38px);
}

.oeaf-contact-logo-preview img {
  display: block;
  width: min(74%, 380px);
  height: auto;
}

.oeaf-contact-logo-copy {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: clamp(14px, 1.5vw, 20px);
  border-top: 1px solid currentColor;
}

.oeaf-contact-logo-copy h3 {
  margin: 0;
  font-size: clamp(1rem, 0.94rem + 0.24vw, 1.22rem);
  font-weight: 400;
  line-height: 1.22;
}

.oeaf-contact-download-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid currentColor;
}

.oeaf-contact-download-actions a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(12px, 1.2vw, 18px);
  font-size: clamp(0.84rem, 0.8rem + 0.14vw, 0.96rem);
  text-decoration: none;
  transition: background-color 260ms ease, color 260ms ease;
}

.oeaf-contact-download-actions a + a {
  border-left: 1px solid currentColor;
}

.oeaf-contact-download-actions a span:last-child {
  font-size: 1.25rem;
  transition: transform 260ms var(--oeaf-contact-ease);
}

@media (hover: hover) and (pointer: fine) {
  .oeaf-contact-download-actions a:hover {
    background: var(--oeaf-contact-black);
    color: var(--oeaf-contact-white);
  }

  .oeaf-contact-logo-card--dark .oeaf-contact-download-actions a:hover {
    background: var(--oeaf-contact-white);
    color: var(--oeaf-contact-black);
  }

  .oeaf-contact-download-actions a:hover span:last-child {
    transform: translateY(4px);
  }
}

@media (max-width: 900px) {
  .oeaf-contact-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    background: var(--oeaf-contact-paper);
  }

  .oeaf-contact-tilt {
    min-height: clamp(390px, 54svh, 620px);
  }

  .oeaf-contact-hero-copy {
    min-height: clamp(340px, 46svh, 540px);
    padding-top: clamp(64px, 11vw, 96px);
    padding-bottom: clamp(72px, 12vw, 120px);
  }

  .oeaf-contact-hero h1 {
    font-size: clamp(3.2rem, 11.5vw, 6rem);
  }

  .oeaf-contact-press-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .oeaf-contact-press-actions {
    width: min(100%, 540px);
  }

}

@media (max-width: 680px) {
  .oeaf-contact-hero h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
    line-height: 1;
  }

  .oeaf-contact-hero h1 span:last-child {
    margin-top: 0.14em;
  }

  .oeaf-contact-tilt {
    min-height: clamp(360px, 52svh, 540px);
  }

  .oeaf-contact-section-title h2 {
    font-size: clamp(3rem, 14vw, 5.4rem);
    line-height: 1.04;
  }

  .oeaf-contact-logo-preview {
    min-height: 38vw;
    padding: clamp(20px, 6vw, 32px);
  }

  .oeaf-contact-logo-grid {
    grid-template-columns: 1fr;
  }

  .oeaf-contact-hero-data {
    grid-template-columns: minmax(0, 1fr);
  }

  .oeaf-contact-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .oeaf-contact-details-card,
  .oeaf-contact-details-card:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .oeaf-contact-details-card + .oeaf-contact-details-card {
    border-top: 1px solid var(--oeaf-contact-line);
  }

  .oeaf-contact-press-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .oeaf-contact-press-copy h3 {
    font-size: clamp(2.5rem, 12vw, 4.4rem);
  }

}

@media (max-width: 640px) {
  html,
  body {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow-x: clip !important;
  }

  .oeaf-contact-mobile-full-bleed-host {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow-x: visible !important;
  }

  .oeaf-contact,
  .oeaf-menu-widget,
  .oeaf-footer {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .oeaf-contact {
    position: relative;
    overflow-x: clip;
    touch-action: pan-y;
  }

  .oeaf-menu-widget,
  .oeaf-footer {
    position: relative;
  }

  .oeaf-menu-widget[data-oeaf-contact-menu][data-oeaf-menu-mode="compact-delayed"]
    .oeaf-site-actions:not(.oeaf-site-actions--sticky) {
    top: var(--oeaf-contact-hero-visual-height, clamp(360px, 52svh, 540px));
  }

  .oeaf-contact-hero-copy {
    position: static;
    min-height: 0;
    padding: 0;
  }

  .oeaf-contact-tilt {
    min-height: max(72svh, 520px);
    perspective: 660px;
  }

  .oeaf-contact-tilt-plane {
    inset: -4%;
    transform: scale(1.1);
  }

  .oeaf-contact-tilt-layer {
    object-position: 34% 50%;
  }

  .oeaf-contact-hero h1 {
    position: absolute;
    z-index: 6;
    top: calc(var(--oeaf-contact-hero-visual-height, max(72svh, 520px)) / 2);
    right: auto;
    bottom: auto;
    left: 50%;
    width: calc(100% - 40px);
    max-width: none;
    color: var(--oeaf-contact-white);
    font-size: clamp(2.35rem, 10.4vw, 3.3rem);
    line-height: 0.92;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72);
    text-transform: lowercase;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .oeaf-contact-hero h1 span {
    width: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .oeaf-contact-hero-data {
    margin-top: 0;
  }
}

@media (max-width: 360px) {
  .oeaf-contact-hero h1 {
    font-size: clamp(2.2rem, 10.4vw, 2.75rem);
  }

  .oeaf-contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html:not([data-oeaf-motion]) .oeaf-contact-tilt-plane {
    transform: scale(1.08) !important;
  }

  html:not([data-oeaf-motion]) .oeaf-contact-tilt-layer {
    transform: none !important;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  html:not([data-oeaf-motion]) .oeaf-contact-tilt-plane {
    transform: scale(1.1) !important;
  }
}

html[data-oeaf-motion="reduce"] .oeaf-contact *,
html[data-oeaf-motion="reduce"] .oeaf-contact *::before,
html[data-oeaf-motion="reduce"] .oeaf-contact *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
}

html[data-oeaf-motion="reduce"] .oeaf-contact-tilt-plane {
  transform: scale(1.08) !important;
}

html[data-oeaf-motion="reduce"] .oeaf-contact-tilt-layer {
  transform: none !important;
}

@media (max-width: 640px) {
  html[data-oeaf-motion="reduce"] .oeaf-contact-tilt-plane {
    transform: scale(1.1) !important;
  }
}
