/* Pietje & Tito. Eigen pagina, zonder krantenpapier. */

body.pagina-pietje {
  background-color: #1c0d45;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #ffffffaa 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 83% 9%, #ffffff88 50%, transparent 51%),
    radial-gradient(2px 2px at 92% 46%, #ffffffaa 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 63%, #ffffff77 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 82%, #ffffff99 50%, transparent 51%);
  background-size: auto;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.pt,
.pt * {
  box-sizing: border-box;
}

body.pagina-pietje main.pt {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 40px 32px 96px;
  gap: 28px;
}

.pt a {
  color: #ffd447;
  text-decoration: none;
}

.pt a:hover {
  color: #fff;
}

.pt button {
  font-family: inherit;
}

.pt-boven {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pt-merk {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pt-logo {
  width: 96px;
  height: auto;
  display: block;
  flex: none;
}

.pt-merk h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.05;
}

.pt-merk p {
  margin: 4px 0 0;
  color: #c9c0f0;
  font-size: 16px;
  line-height: 1.45;
}

.pt-sorter {
  display: flex;
  gap: 4px;
  flex: none;
  background: #2b2352;
  border: 3px solid #ffd447;
  border-radius: 999px;
  padding: 4px;
}

.pt-sorter button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
}

.pt-sorter button[aria-pressed="true"] {
  background: #ffd447;
  color: #1c0d45;
}

.pt-tijdlijn {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pt-rij {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
}

.pt-rij::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -40px;
  border-left: 4px dashed #ffd44766;
  transform: translateX(-2px);
}

.pt-rij.is-eerst::before {
  top: 50%;
}

.pt-rij.is-laatst::before {
  bottom: 50%;
}

.pt-kader {
  width: 100%;
  max-width: 300px;
  background: #ffd447;
  padding: 7px;
  border-radius: 32px;
  box-shadow: 0 0 0 5px #7a1d1d;
}

.pt-rij[data-kant="links"] .pt-kader {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.pt-rij[data-kant="rechts"] .pt-kader {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.pt-rand {
  background: #b8322c;
  padding: 6px;
  border-radius: 26px;
}

.pt-scherm {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background-color: #3a2f6b;
  background-image: repeating-linear-gradient(135deg, #3a2f6b 0 12px, #33295f 12px 24px);
}

.pt-poster,
.pt-beeld {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.pt-geen {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #c9c0f0;
}

.pt-dim,
.pt-pauze,
.pt-voortgang {
  display: none;
}

.pt-scherm.is-bezig .pt-dim {
  display: block;
  position: absolute;
  inset: 0;
  background: #00000033;
}

.pt-scherm.is-bezig .pt-pauze {
  display: flex;
  position: absolute;
  left: 14px;
  top: 14px;
  gap: 5px;
}

.pt-pauze i {
  width: 7px;
  height: 22px;
  background: #fff;
  border-radius: 2px;
}

.pt-scherm.is-bezig .pt-voortgang {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: #ffffff40;
}

.pt-voortgang > span {
  display: block;
  height: 100%;
  width: 0;
  background: #ffd447;
}

.pt-scherm.is-nep .pt-voortgang > span {
  animation: pt-groei 8s linear forwards;
}

@keyframes pt-groei {
  from { width: 0; }
  to { width: 100%; }
}

.pt-speel {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.pt-cirkel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffd447;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-scherm.is-bezig .pt-cirkel,
.pt-scherm.is-slot .pt-cirkel {
  display: none;
}

.pt-door {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(50% + 17%);
  z-index: 3;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  background: #b8322c;
  color: #fff;
  padding: 6px 12px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 0 #7a1d1d;
}

.pt-desktop .pt-scherm.is-klaar .pt-door {
  display: block;
}

.pt-driehoek {
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 21px solid #1c0d45;
  margin-left: 6px;
}

.pt-munt,
.pt-vraag {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  z-index: 1;
}

.pt-munt {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #b8322c;
  border: 5px solid #ffd447;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #fff;
}

.pt-munt b {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-size: 28px;
}

.pt-munt span {
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pt-vraag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #b8322c;
  border: 4px dashed #ffd447;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lilita One", sans-serif;
  font-size: 34px;
  color: #fff;
  -webkit-text-stroke: 0.5px #fff;
}

.pt-tekst {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-rij[data-kant="links"] .pt-tekst {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  text-align: left;
  align-items: flex-start;
}

.pt-rij[data-kant="rechts"] .pt-tekst,
.pt-rij[data-kant="rechts"] .pt-tekst h2,
.pt-rij[data-kant="rechts"] .pt-tekst p {
  text-align: right;
}

.pt-rij[data-kant="rechts"] .pt-tekst {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-items: flex-end;
}

.pt-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.pt-nieuw {
  background: #b8322c;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.pt-kicker {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd447;
}

.pt-tekst h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.05;
  text-wrap: balance;
}

.pt-tekst p,
.pt-teaser-sub {
  margin: 0;
  color: #e9e4ff;
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

.pt-teaser-sub {
  color: #c9c0f0;
  font-size: 17px;
}

.pt-tiktok {
  font-weight: 900;
  font-size: 16px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.pt-teaser .pt-tekst {
  gap: 6px;
  max-width: 420px;
}

.pt-teaser .pt-tekst,
.pt-teaser .pt-teaser-titel,
.pt-teaser .pt-teaser-sub {
  text-align: right;
}

.pt-teaser .pt-tekst {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-items: flex-end;
}

.pt-teaser-titel {
  font-family: "Lilita One", sans-serif;
  font-size: 28px;
  line-height: 1.05;
  color: #fff;
}

.pt-volg {
  font-weight: 900;
  font-size: 15px;
  color: #ffd447;
  border: 2px solid #ffd447;
  padding: 8px 16px;
  border-radius: 999px;
}

.pt-volg-naast {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  align-self: center;
}

.pt-volg-onder {
  display: none;
  margin-top: 6px;
}

.pt-teaser.is-onder .pt-tekst {
  grid-column: 3;
  justify-self: start;
  align-items: flex-start;
}

.pt-teaser.is-onder .pt-tekst,
.pt-teaser.is-onder .pt-teaser-titel,
.pt-teaser.is-onder .pt-teaser-sub {
  text-align: left;
}

.pt-teaser.is-onder .pt-volg-naast {
  display: none;
}

.pt-teaser.is-onder .pt-volg-onder {
  display: inline-block;
}

.pt-mobiel {
  display: none;
}

.pt-baan {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 13% 12px;
  scrollbar-width: none;
}

.pt-baan::-webkit-scrollbar {
  display: none;
}

.pt-slide {
  flex: none;
  width: 100%;
  scroll-snap-align: center;
  opacity: 0.55;
  transform: scale(0.92);
  transition: transform 0.25s, opacity 0.25s;
}

.pt-slide.is-actief {
  opacity: 1;
  transform: none;
}

.pt-slot {
  position: absolute;
  inset: 0;
  background: #1c0d45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.pt-slot .pt-vraag {
  position: static;
  width: 76px;
  height: 76px;
  font-size: 40px;
}

.pt-slot-titel {
  font-family: "Lilita One", sans-serif;
  font-size: 26px;
  line-height: 1.1;
  color: #fff;
}

.pt-slot-sub {
  font-size: 15px;
  color: #c9c0f0;
}

.pt-actief {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 0 20px;
}

.pt-actief h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
  text-wrap: balance;
}

.pt-actief p {
  margin: 0;
  color: #e9e4ff;
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}

.pt-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 20px;
}

.pt-rond {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #ffd447;
  background: #2b2352;
  color: #ffd447;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.pt-cta {
  flex: 1;
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 19px;
  color: #1c0d45;
  background: #ffd447;
  padding: 14px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 0 #7a5a10;
}

.pt a.pt-cta,
.pt a.pt-cta:hover {
  color: #1c0d45;
}

.pt-positie {
  padding: 0 20px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: #c9c0f0;
}

@media (max-width: 759px) {
  body.pagina-pietje main.pt {
    width: min(100%, 440px);
    padding: 24px 0 56px;
    gap: 18px;
  }

  .pt-boven {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 0 20px;
  }

  .pt-merk {
    gap: 12px;
  }

  .pt-logo {
    width: 84px;
  }

  .pt-merk h1 {
    font-size: 24px;
    text-wrap: balance;
  }

  .pt-merk p {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.4;
  }

  .pt-sorter button {
    flex: 1;
    padding: 10px 8px;
  }

  .pt-desktop {
    display: none;
  }

  .pt-mobiel {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .pt-mobiel .pt-kader {
    max-width: none;
    padding: 6px;
    border-radius: 28px;
    box-shadow: 0 0 0 4px #7a1d1d;
  }

  .pt-mobiel .pt-rand {
    padding: 5px;
    border-radius: 23px;
  }

  .pt-mobiel .pt-scherm {
    border-radius: 18px;
  }

  .pt-mobiel .pt-driehoek {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
    margin-left: 5px;
  }
}
