.pt-popup {
--pt-popup-red: #ed1c24;
--pt-popup-green: #003319;
position: fixed;
inset: 0;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center; padding: 60px 24px 32px;
opacity: 0;
transition: opacity 0.28s ease;
}
.pt-popup[hidden] {
display: none;
}
.pt-popup.is-visible {
opacity: 1;
} .pt-popup__overlay {
position: absolute;
inset: 0;
background: rgba(10, 14, 12, 0.8);
cursor: pointer;
}
@supports ( backdrop-filter: blur( 2px ) ) {
.pt-popup__overlay {
background: rgba(10, 14, 12, 0.68);
backdrop-filter: blur(3px);
}
} .pt-popup__frame {
position: relative;
display: flex;
flex-direction: column;
width: auto;
max-width: 100%;
max-height: 100%;
min-width: 0;
} .pt-popup__box {
position: relative;
width: auto;
max-width: 100%;
max-height: 100%;
display: flex;
flex-direction: column;
background: none; filter:
drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
drop-shadow(0 0 2px rgba(255, 255, 255, 0.6))
drop-shadow(0 20px 44px rgba(0, 0, 0, 0.6));
transform: translateY(14px) scale(0.97);
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
} .pt-popup__box--panel {
background: #fff;
border-radius: 8px; overflow: hidden;
filter: none;
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.pt-popup.is-visible .pt-popup__box {
transform: none;
}  .pt-popup .pt-popup__close,
.pt-popup .pt-popup__close:hover,
.pt-popup .pt-popup__close:focus {
position: absolute;
top: -44px;
right: 0;
z-index: 2;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
font-size: 34px;
font-weight: 400;
line-height: 1;
letter-spacing: 0;
text-transform: none;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
color: #fff;
background: none;
background-color: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
transition: opacity 0.2s ease, transform 0.2s ease;
}
.pt-popup .pt-popup__close::before,
.pt-popup .pt-popup__close::after {
content: none;
}
.pt-popup .pt-popup__close {
opacity: 0.85;
}
.pt-popup .pt-popup__close:hover,
.pt-popup .pt-popup__close:focus-visible {
opacity: 1;
transform: scale(1.1);
}
.pt-popup .pt-popup__close:focus-visible {
outline: 2px solid #fff;
outline-offset: 2px;
}
.pt-popup__headline {
margin: 0;
padding: 20px 56px 0 24px;
font-family: "Futura", "Futura PT", "Jost", "Helvetica Neue", Arial, sans-serif;
font-size: 22px;
font-weight: 600;
line-height: 1.25;
color: var(--pt-popup-green);
}
.pt-popup__media {
display: block;
min-height: 0;
line-height: 0;
font-size: 0;
}
.pt-popup__headline + .pt-popup__media {
margin-top: 16px;
} .pt-popup__image {
display: block;
width: auto;
max-width: 100%;
height: auto;
max-height: calc(100vh - 100px);
object-fit: contain;
}
.pt-popup__media--link {
display: block;
transition: opacity 0.2s ease;
}
.pt-popup__media--link:hover {
opacity: 0.94;
}
.pt-popup__media--link:focus-visible {
outline: 3px solid var(--pt-popup-red);
outline-offset: -3px;
}
.pt-popup__actions {
margin: 0;
padding: 18px 24px 22px;
text-align: center;
}
.pt-popup__button {
display: inline-block;
padding: 13px 26px;
font-family: "Futura", "Futura PT", "Jost", "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
font-weight: 600;
line-height: 1.2;
color: #fff !important;
background: var(--pt-popup-red);
border-radius: 2px;
text-decoration: none;
transition: background 0.2s ease;
}
.pt-popup__button:hover,
.pt-popup__button:focus-visible {
background: var(--pt-popup-green);
color: #fff !important;
} .pt-popup__box:has( .pt-popup__headline ) .pt-popup__image,
.pt-popup__box:has( .pt-popup__actions ) .pt-popup__image {
max-height: calc(100vh - 200px);
}
@media (max-width: 600px) {
.pt-popup {
padding: 52px 16px 20px;
}
.pt-popup__close {
top: -40px;
font-size: 30px;
}
.pt-popup__image {
max-height: calc(100vh - 92px);
}
.pt-popup__box:has( .pt-popup__headline ) .pt-popup__image,
.pt-popup__box:has( .pt-popup__actions ) .pt-popup__image {
max-height: calc(100vh - 160px);
}
.pt-popup__headline {
padding: 16px 52px 0 16px;
font-size: 19px;
}
.pt-popup__actions {
padding: 14px 16px 18px;
}
}
@media (prefers-reduced-motion: reduce) {
.pt-popup,
.pt-popup__box,
.pt-popup__close,
.pt-popup__media--link {
transition: none;
}
}