.static-page .single__pageholder {
  max-width: 100%;
  padding: 40px 0;
  padding-bottom: 90px;
}

.overlay:has(~ .popup.active) {
  display: block;
}

.static-page h2.has-text-color {
  font-family: "Helvetica", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: 16px;
  font-weight: 700;
}

.static-page .single__content a {
  color: #990000;
}

.static-page .single__content a:hover,
.static-page .single__content a:focus {
  color: #900;
}

.static-page body.active header {
  background-color: #fbfbfb;
}

.static-page input,
.static-page button {
  -webkit-appearance: none;
  border-radius: 0;
  font-size: 16px;
  border: none;
  outline: none;
  background: transparent;
}

.static-page button.close__button {
  max-width: 0;
}

.static-page input[type="submit"],
.static-page button[type="submit"] {
  cursor: pointer;
}

.static-page input[type="submit"]:hover,
.static-page button[type="submit"]:hover {
  text-decoration: underline;
}

.static-page .wp-block-button.button--download {
  width: auto !important;
  max-width: auto !important;
  background-color: var(--color-red);
  color: var(--color-white);
  cursor: pointer;
}

.static-page .button--download a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--color-white);
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.static-page .button--download a:before {
  content: url(../../../images/icons/arrow-download.svg);
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.static-page .button--download a:hover,
.static-page .button--download a:focus {
  color: var(--color-white);
}

.static-page .divider--top {
  margin-top: 24px !important;
  border-top: 1px solid var(--color-border);
  padding-top: 24px !important;
}

@media (min-width: 768px) {
  .static-page .divider--top {
    margin-top: 40px !important;
    padding-top: 40px !important;
  }
}

.static-page .inverse-text {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  unicode-bidi: bidi-override;
  direction: rtl;
}

.static-page .pageholder {
  display: flex;
  max-width: 1200px;
  box-sizing: border-box;
  background: #fff;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .static-page .pageholder {
    flex-wrap: wrap;
  }
}

.static-page .pageholder__main {
  width: 190px;
  flex-shrink: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .static-page .pageholder__main {
    width: 100%;
  }
}

.static-page .pageholder__aside {
  flex-shrink: 1;
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .static-page .pageholder__aside {
    width: 100%;
    padding: 0 25px;
  }
}

.static-page .flex {
  display: flex;
}

.static-page .flex__justify--space-between {
  justify-content: space-between;
}

.static-page .flex__direction--row {
  flex-direction: row;
}

.static-page .flex__direction--column {
  flex-direction: column;
}

.static-page .justify-content--center {
  justify-content: center;
}

.static-page .justify-content--center p:last-child {
  margin-bottom: 0;
}

.static-page .uppercase {
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .static-page .hide-on-mobile {
    display: none;
  }
}

@media (max-width: 1200px) {
  .static-page .wp-block-column:empty {
    flex-basis: 50px !important;
  }

  .static-page .wp-block-column>.wp-block-columns>.wp-block-column:empty {
    flex-basis: 20px !important;
  }
}

.static-page .hover {
  cursor: pointer;
  transition: opacity 0.6s;
  opacity: 1;
}

.static-page .hover:hover,
.static-page .hover:focus {
  opacity: 0.5;
}

.static-page .back-button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: baseline;
  margin-top: 40px;
}

.static-page .back-button__icon {
  transform: rotate(180deg);
  fill: #b4b4b4;
  margin-right: 7px;
  transition: stroke 0.2s ease;
}

.static-page .back-button__text {
  font-weight: 600;
  color: #900;
  text-decoration: none !important;
}

/* Custom additional class */
.static-page .single__content .margin-top--0 {
  margin-top: 0;
}

.static-page .big-space {
  height: 90px;
}

.static-page .single__content .margin-bottom--0 {
  margin-bottom: 0 !important;
}

.static-page .single__content .margin-bottom--30 {
  margin-bottom: 30px;
}

.static-page .single__content .margin-none {
  margin: 0;
}

.static-page .single__content .object-position--top img {
  object-position: top;
}

@media (max-width: 768px) {
  .static-page .mobile-reverse {
    flex-direction: column-reverse;
  }
}

.static-page footer {
  width: 100%;
}

.static-page footer .ads {
  display: none;
}

/* Custom popup  */
.static-page .popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  min-height: 60vh;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 80px 60px;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.static-page .popup .menu-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 25px;
  cursor: pointer;
}

.static-page .popup .menu-icon path {
  stroke: var(--color-black);
}

.static-page .popup main {
  display: flex;
  flex-direction: column;
  flex: 1 1 450px;
}

.static-page .popup .popup-title {
  font-size: 28px;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 17px;
}

.static-page .popup .popup-role {
  color: #707070;
  font-size: 16px;
  margin-bottom: 12px;
}

.static-page .popup .popup-description {
  font-size: 16px;
  line-height: 1.6;
}

.static-page .popup aside {
  display: flex;
}

.static-page .popup .popup-image {
  display: block;
  max-width: 227px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .static-page .popup .popup-image {
    margin-left: 50px;
  }
}

.static-page .popup.active {
  display: flex;
  flex-direction: row-reverse;
  gap: 13%;
  min-width: 65%;
  position: fixed;
  left: 20px;
  right: 20px;
}

@media (min-width: 768px) {
  .static-page .popup.active {
    left: 50%;
    gap: 10px;
    top: 50%;
    right: unset;
    min-width: 90%;
  }
}

@media (min-width: 1040px) {
  .static-page .popup.active {
    min-width: unset;
    max-width: 1000px;
    width: 70%;
  }
}


@media (max-width: 768px) {
  .static-page .popup.active {
    top: 70px;
    transform: translate(0, 0);
    min-width: 89%;
    flex-direction: column;
    /* overflow: hidden; */
    gap: 0;
    overflow-y: scroll;
    z-index: 9;
    height: calc(100vh - 87px);
  }

  .static-page .popup .popup-image {
    max-width: 100%;
  }

  .static-page .popup.active aside {
    margin: 0 auto 25px auto;
  }
}

@media (max-width: 525px) {
  .static-page .popup.active {
    padding: 70px 25px;
  }

  .static-page .pageholder__aside {
    padding: 0 25px;
  }
}

.standard-grid {
  gap: 20px;
}

/* HISTORY PAGE */
.history-milestone {
  border-left: 1px solid #707070;
  padding-left: 10px;
  margin-left: 3px;
  position: relative;
  margin-bottom: 0;
}

.static-page .content .wp-block-columns {
  gap: 0;
  padding-bottom: 19px;
}

.static-page .content .wp-block-columns:last-of-type p,
.static-page .content .wp-block-columns:last-of-type {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .history-milestone {
    padding-left: 28px;
    margin-left: 4px;
    gap: 50px;
  }
}

@media (min-width: 1200px) {
  .history-milestone {
    gap: 100px;
  }
}

@media (min-width: 768px) {
  .history-milestone--description {
    margin-bottom: 60px;
  }
}

.history-milestone:last-child {
  margin-bottom: 0;
}

.history-milestone::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #900;
  position: absolute;
  left: -4px;
  top: 0;
  border-radius: 50%;
}

.static-page .history-milestone .wp-block-heading {
  margin-top: 0;
  margin-bottom: -10px;
  position: relative;
  top: -11px;
  font-size: 24px;
}

.static-page .history-milestone p:last-child {
  padding-bottom: 20px;
  margin-bottom: 0;
}

.static-page .single__content .history-milestone h3+p {
  margin-bottom: 0;
  margin-top: 7px;
  line-height: 1.5;
}

.static-page .wp-block-columns.history-milestone:last-child {
  margin-bottom: 0;
}

.static-page .single__content h1,
.static-page .single__content h2,
.static-page .single__content h3,
.static-page .single__content h4,
.static-page .single__content h5,
.static-page .single__content h6,
.static-page .single__content p {
  padding-left: 0;
  padding-right: 0;
}

.static-page .single__content p,
.static-page .single__content li {
  font-size: 16px;
  line-height: 1.62;
  margin: 16px 0px;
}

.static-page .single__content h1,
.static-page .single__content h2,
.static-page .single__content h3,
.static-page .single__content h4,
.static-page .single__content h5,
.static-page .single__content h6,
.static-page .single__content h2 strong,
.static-page .single__content h3 strong,
.static-page .single__content h4 strong,
.static-page .single__content h5 strong,
.static-page .single__content h6 strong {
  font-weight: 400;
}

/* Custom font sizes for static pages */
.static-page .single__content h2 {
    font-size: 28px;
}

.static-page .single__content .content>h1 {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 28px;
}

@media (min-width: 768px) {
  .static-page .single__content h1 {
    margin-top: 20px;
    margin-bottom: 35px;
  }
}

/* TIRAZ PAGE */
.static-page .tiraz-group {
  border-top: 1px solid #ebebeb;
  margin-top: 25px;
}


@media (min-width: 768px) {
  .static-page .tiraz-group {
    margin-top: 30px;
  }
}

.static-page .tiraz-group:first-of-type {
  margin-top: 30px;
}

.static-page .tiraz-group .wp-block-heading {
  margin-top: 34px;
}

.static-page .tiraz-group h3.wp-block-heading {
  margin-top: 14px;
}

@media (min-width: 768px) {
  .static-page .tiraz-group:first-of-type {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .static-page .tiraz-group .wp-block-heading {
    margin-top: 40px;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {

  .static-page .tiraz-group .wp-block-columns,
  .static-page .tiraz-group .wp-block-column:last-child p {
    margin-bottom: 0;
  }
}

.static-page .tiraz-group:last-of-type {
  padding-bottom: 20px;
}

.static-page .tiraz-group .wp-block-column p:first-of-type {
  margin-top: 5px;
  margin-bottom: 3px;
}

.static-page .tiraz-group.region-second {
  margin-top: -15px;
  border-top: 0;
}

@media (min-width: 768px) {
  .static-page .tiraz-group.region-second {
    margin-top: -30px;
  }
}

.static-page .single__content figcaption {
  font-size: 14px;
  color: var(--color-grey);
  padding: 0;
  margin: 3px 0 28px;
}

/* KONTAKTY PAGE */
.kontakty__wrapper {
  position: relative;
}

.kontakty__wrapper::before {
  content: "";
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ebebeb;

  position: absolute;

  top: -30px;
}

.kontakty__wrapper:first-of-type::before {
  display: none;
}

@media (min-width: 768px) {
  .kontakty__wrapper::before {
    top: -35px;
  }
}

@media (max-width: 768px) {
  .kontakty__wrapper+.wp-block-spacer {
    height: 20px !important;
  }
}

.static-page .content .kontakty__wrapper {
  margin-bottom: 40px;
  padding-bottom: 28px;
}

.static-page .kontakty__wrapper .wp-block-image {
  margin-bottom: 24px;
}

.static-page .kontakty__wrapper .wp-block-image img {
  height: 48vw;
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .static-page .kontakty__wrapper .wp-block-image {
    margin-bottom: 0;
  }

  .static-page .kontakty__wrapper .wp-block-image img {
    height: 305px;
  }
}

.static-page .kontakty__wrapper p {
  font-size: 16px;
  margin-top: 0;
  line-height: 1.6;
  margin-bottom: 12px;
}

.static-page .kontakty__wrapper p:last-of-type {
  margin-bottom: -10px;
}

/* VOP PAGE */
.static-page .vop p {
  max-width: 100%;
  font-size: 16px;
  line-height: 28px;
}

.static-page .vop li {
  font-size: 16px;
  line-height: 1.6;
  word-wrap: break-word;
}

.static-page .vop h2 {
  margin-top: 0;
}

.static-page .vop .wp-block-spacer {
  position: relative;
}

.static-page .vop .wp-block-spacer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ebebeb;

  top: 50%;
  transform: translateY(-50%);
}

.static-page .vop p:first-child {
  margin-bottom: 0;
}

.static-page .vop__group ol {
  padding-left: 25px;
}

.static-page .vop__group ol li {
  margin-bottom: 18px;
  word-wrap: break-word;
}

.static-page .vop__group ol li:last-child {
  margin-bottom: 0;
}

.static-page .vop__group p:not(.margin-bottom--30):last-child,
.static-page .vop__group .wp-block-group__inner-container>ol:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .static-page .vop .wp-block-spacer {
    height: 52px !important;
  }
}

/* Custom classes due design jan.2024 */
.static-page.post-383601 .single__title {
  display: none;
}

/* Product page.  */
.static-page.post-383598 .wp-block-columns {
  margin-bottom: 0;
  gap:0;
  margin-top: 0;
}

.static-page.post-383598 .single__content .content h3 {
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.static-page.post-383598 .single__content .content figure {
  margin-top: 0;
}

.static-page.post-383585 .wp-block-columns {
  gap: 0;
}

.static-page.post-383598 .single__content .content  .regions h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.static-page.post-383598 .single__content .content  .regions p {
  margin-top: 6px;
  margin-bottom: 0;
}

.static-page.post-383598 .single__content .content .regions .wp-block-column {
  padding: 11px 0;
}

.static-page.post-383598 .content .wp-block-columns:nth-last-of-type(2) {
  padding-bottom: 0;

}

@media (min-width: 768px) {

  .static-page.post-383598 .single__content .content .regions.wp-block-columns {
    gap: 64px;
  }

  .static-page.post-383598 .single__content .content .regions .wp-block-column {
    padding: 20px 0;
  }
}

.static-page.post-383603 .content h1~p {
  margin-top: -11px;
  font-size: 16px;
}

.static-page.post-383574 .content>h1 {
  margin-bottom: 0;
  margin-top: -4px;
}

.static-page.post-383603 .content>h2:first-of-type {
  margin-top: 36px;
  margin-bottom: 36px;
}

.static-page.post-383603 .content>h2 {
  margin-bottom: 33px;
}

.static-page.post-383603 .content h2 {
  font-size: 24px !important;
}

@media (min-width: 768px) {
  .static-page.post-383603 .content>h2:first-of-type {
    margin-bottom: 30px;
  }

  .static-page.post-383603 .content h3,
  .static-page.post-383603 .content h2 {
    font-size: 24px !important;
  }

  .static-page.post-383598 .single__content .content .regions .wp-block-columns {
    gap: 0;
  }
}

.static-page.post-383603 .content .wp-block-columns {
  gap: 9px;
  padding-bottom: 0;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .static-page.post-383603 .content .wp-block-columns {
    gap: 71px;
  }

  .static-page .content .tiraz-group.region-second {
    gap: 15px;
  }
}


.static-page.post-383603 .content .wp-block-columns:last-of-type {
  margin-bottom: 0;
}

.static-page.post-383603 .content p {
  font-family: "Helvetica", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji" !important;
  font-size: 16px;
  line-height: 1.6;
}

.static-page.post-383585 .single__content .content figure {
  max-width: 700px;
  margin: 0 auto;
}


.static-page.post-383576 .content figcaption {
  margin-bottom: 0;
}

.static-page .standard-column {
  gap: 0;
  margin-bottom: 0;
}

.static-page.post-383601 .standard-column h2:first-of-type {
  margin-top: 5px;
  margin-bottom: 30px;
}

.static-page .sans-serif {
  font-family: "Helvetica", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji" !important;
}

.static-page .single__content .content>p:first-of-type strong,
.static-page .single__content .content>p:first-of-type {
  font-family: "Helvetica", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji";
  color: inherit;
  font-size: 16px;
}

.static-page .single__content .content>p:first-of-type strong {
  font-weight: 700;
}

.standard-card {
  padding: 24px;
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.standard-card img {
  border-radius: 50%;
  display: block;
  width: 90px;
  height: 90px;
}

.static-page .grey-border {
  margin-top: 24px;
  margin-bottom: 24px!important;
  padding-bottom: 24px!important;
  border-bottom: 1px solid var(--color-border)!important;
}

@media (min-width: 768px) {
  .static-page .single__pageholder {
    padding: 43px 0;
    padding-bottom: 200px;
  }

  .static-page .content h2 {
    margin-top: 40px;
  }

  .static-page.post-383601 .standard-column h2:first-of-type {
    margin-bottom: 34px;
  }

  .static-page.post-383576 .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .static-page.post-383576 .content .wp-block-columns {
    gap: 70px;
    padding-bottom: 0;
  }

  .static-page.post-383576 .content h1 {
    flex: 1 1 100%;
  }

  .static-page.post-383576 .content figcaption {
    margin-bottom: 55px;
  }

  .static-page.post-383585 .content>h1 {
    display: none;
  }

  .static-page.post-383585 .wp-block-group {
    margin-top: 50px;
  }

  .static-page.post-383585 .content .wp-block-group p {
    max-width: 420px;
    margin-top: 0;
  }

  .static-page.post-383585 .content .wp-block-group .wp-block-group {
    column-count: 2;
    column-gap: 30px;
    padding-bottom: 40px;
    margin-top: -10px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
  }

  .static-page.post-383585 .content .wp-block-group:last-of-type .wp-block-group {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .static-page .standard-column {
    gap: 20px;
    justify-content: space-between;
  }

  .static-page .standard-column img {
    margin-left: auto;
    display: flex;
  }

  .static-page.post-383601 .standard-column img {
    margin-top: 78px;
  }

  .static-page .single__content p,
  .static-page .single__content li {
    font-size: 16px;
    margin: 14px 0;
  }

  .static-page .kontakty__wrapper p {
    margin-top: 0;
    font-size: 16px;
  }

  .static-page .single__content .content>h1 {
    margin-bottom: 30px;
    margin-top: 4px;
    font-size: 28px;
  }

  .static-page.post-383574 .content>h1 {
    margin-bottom: 0;
  }

  .static-page.post-383574 .content>h1 + div {
    margin-bottom: 17px;
  }

  .static-page .single__content .content h3 {
    font-size: 24px;
    margin-bottom: 14px;
    margin-top: 25px;
  }

  @media (min-width: 768px) {
    .static-page .single__content .content h3 {
      margin-top: 40px;
    }

    .static-page.post-461229 .content .wp-block-group .wp-block-image {
      margin-top: 14px;
    }

    .static-page.post-461229 .content .wp-block-group .standard-card .wp-block-image {
      margin-top: 0;
    }
  }

  .static-page.post-383585 .wp-block-group h3 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 28px;
  }

  .static-page .single__content .content figure {
    margin: 0;
  }

  .static-page .content .history-milestone .wp-block-heading {
    margin-top: 0;
    margin-bottom: 0;
  }


  .static-page .content .history-milestone .wp-block-heading .static-page .single__content .history-milestone h3+p {
    margin-bottom: 0;
    margin-top: 2px;
  }

  @media (min-width: 768px) {
    .static-page .content .history-milestone .wp-block-image {
      max-height: 100px;
      position: relative;
      top: -7px;
    }
  }

  .static-page.post-383574 .content p {
    max-width: 415px;
  }

  .static-page.post-383574 .content>.wp-block-columns:first-of-type p:first-of-type {
    margin-bottom: 22px;
    margin-top: 9px;
  }

  .static-page .content .wp-block-columns {
    gap: 10%;
  }

  .static-page .content .wp-block-columns.profile__box {
    gap: 0;
  }

  .static-page .content .kontakty__wrapper {
    gap: 4%;
  }

  .static-page .grey-border {
    padding-bottom: 40px;
  }

  .static-page .single__content .content p,
  .static-page .single__content .content li {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .static-page .content .kontakty__wrapper h2 {
    margin-bottom: 18px;
  }

  .static-page .kontakty__wrapper p {
    margin-bottom: 10px;
  }
}

.static-page .single__content .content li>ul {
  padding-left: 15px;
}


/* Readmore tags.  */
.static-page .read-more {
  color: var(--color-red);
  font-size: 16px;
  cursor: pointer;
}

.static-page .read-more svg {
  display: inline;
  position: relative;
}

.static-page .wp-block-column:has(.read-more) {
  margin-bottom: 20px;
}

.static-page .read-more svg path {
  fill: var(--color-red);
  stroke: var(--color-red);
}

.static-page .read-more,
.static-page p:has(~ .read-more) {
  display: inline;
}

.static-page .read-more~p {
  display: none;
}

/* Active class.  */
.static-page .read-more.active {
  display: none;
}

.static-page .read-more.active~p {
  display: inline;
}

@media (max-width: 768px) {
  /* History milestone */
  .single__title + .wp-block-columns .history-milestone--description {
    margin-top: -8px !important;
  }

  .single__title + .wp-block-columns .history-milestone--description p.has-link-color {
    margin-top: -4px;
  }

  .single__title + .wp-block-columns {
    padding-bottom: 23px !important;
  }

  .post-383574 .single__title + .wp-block-columns {
    padding-bottom: 0 !important;
    margin-bottom: 18px;
  }

  .post-383574 .history-milestone figure {
    margin-bottom: 20px;
  }
}

/* Contact page */
.static-page.post-383583 .wp-block-column h2 {
  font-size: 28px;
}

/* VOP page */
.static-page.post-430328 .vop__group h2 {
  font-size: 24px;
}
