.prezlo-page-header {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: var(--ph-margin-top, 0px);
  margin-bottom: var(--ph-margin-bottom, 20px);
  color: var(--ph-text, #171717);
}
.prezlo-page-header *,
.prezlo-page-header *::before,
.prezlo-page-header *::after {
  box-sizing: border-box;
}
.prezlo-page-header__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--ph-opacity, 1);
  background-repeat: no-repeat;
}
.prezlo-page-header__inner {
  padding-top: var(--ph-top, 64px);
  padding-bottom: var(--ph-bottom, 64px);
}
.prezlo-page-header__content {
  min-width: 0;
  text-align: left;
}
.prezlo-page-header .prezlo-page-header__title {
  margin: 18px 0 0;
  font-family: var(--ph-title-font, inherit);
  font-size: var(--ph-title-size, 36px);
  font-weight: var(--ph-title-weight, 500);
  font-style: var(--ph-title-style, normal);
  line-height: var(--ph-title-line-height, 1.18);
  letter-spacing: var(--ph-title-letter-spacing, -0.025em);
  color: inherit;
  overflow-wrap: anywhere;
}
.prezlo-page-header .prezlo-page-header__title:first-child {
  margin-top: 0;
}
.prezlo-page-header .prezlo-page-header__description {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--prezlo-color-muted, #6b6b6b);
  overflow-wrap: anywhere;
}
.prezlo-page-header .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  font-family: var(--ph-crumb-font, inherit);
  font-size: var(--ph-crumb-size, 14px);
  font-weight: var(--ph-crumb-weight, 400);
  font-style: var(--ph-crumb-style, normal);
  line-height: var(--ph-crumb-line-height, 1.5);
  letter-spacing: var(--ph-crumb-letter-spacing, 0px);
  color: var(--ph-crumb, #757575);
}
.prezlo-page-header .breadcrumb-list a,
.prezlo-page-header .breadcrumb-list span {
  color: inherit;
  font: inherit;
}
.prezlo-page-header .breadcrumb-list a:hover {
  color: var(--primary, #f57416);
}
.prezlo-page-header .breadcrumb-list .item-breadcrumb.trail-end,
.prezlo-page-header .breadcrumb-list .item-breadcrumb.trail-end span {
  font-weight: 400;
  color: inherit;
}
.prezlo-page-header .breadcrumb-list > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.prezlo-page-header .breadcrumb-list .sep {
  flex: 0 0 auto;
}
.prezlo-page-header--center .prezlo-page-header__content {
  text-align: center;
}
.prezlo-page-header--center .breadcrumb-list {
  justify-content: center;
}
.prezlo-page-header--center .prezlo-page-header__description {
  margin-left: auto;
  margin-right: auto;
}
.prezlo-page-header--breadcrumbs .prezlo-page-header__inner {
  padding-top: 15px;
  padding-bottom: 15px;
}
.prezlo-page-header--side .prezlo-page-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.prezlo-page-header__image {
  opacity: var(--ph-artwork-opacity, 0.2);
  display: block;
  width: 100%;
  min-width: 0;
  height: clamp(220px, 24vw, 380px);
  border-radius: 12px;
  object-fit: var(--ph-image-fit, cover);
  object-position: var(--ph-image-position, center);
}
@media (max-width: 767px) {
  .prezlo-page-header__inner {
    padding-top: min(var(--ph-top, 64px), 36px);
    padding-bottom: min(var(--ph-bottom, 64px), 36px);
  }
  .prezlo-page-header .prezlo-page-header__title {
    font-size: min(var(--ph-title-size, 36px), 32px);
  }
  .prezlo-page-header--side .prezlo-page-header__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .prezlo-page-header__image {
    height: auto;
    max-height: 280px;
    aspect-ratio: 16/9;
  }
}

/* A second image layer follows the same container and gutters as the title. */
.prezlo-page-header__decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--ph-artwork-opacity, 0.2);
}
.prezlo-page-header__decoration-container {
  height: 100%;
  display: flex;
  justify-content: var(--ph-decoration-align, flex-end);
}
.prezlo-page-header__decoration-image {
  flex: 0 1 var(--ph-decoration-width, 420px);
  width: var(--ph-decoration-width, 420px);
  max-width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: var(--ph-decoration-size, contain);
  background-position: var(--ph-decoration-position, center right);
}
@media (max-width: 767px) {
  .prezlo-page-header__decoration--desktop {
    display: none;
  }
}

/* Mobile composition only: artwork visibility always comes from the shared percentage. */
@media (max-width: 767px) {
  .prezlo-page-header--mobile-art .prezlo-page-header__decoration-image {
    flex: 0 1 60%;
    width: 60%;
    max-width: 280px;
  }
  .prezlo-page-header--mobile-art .prezlo-page-header__image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: contain;
    opacity: var(--ph-artwork-opacity, 0.2);
    pointer-events: none;
  }
  .prezlo-page-header--mobile-decoration .prezlo-page-header__image {
    display: none;
  }
}

@media (max-width: 767px) {
  .prezlo-page-header--mobile-image-hidden .prezlo-page-header__image,
  .prezlo-page-header--mobile-image-hidden .prezlo-page-header__decoration {
    display: none;
  }
}
