/* ==========================================================================
   TOONEXY POLICY CSS — Specifični stilovi za Policy stranicu
   ========================================================================== */

.toonexyPolicy {
  width: min(100%, 980px);
  position: relative;
  margin: 30px auto 20px;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
  border: 5px solid #171717;
  background: radial-gradient(rgba(23, 23, 23, 0.12) 1px, transparent 1px), #fffdf5;
  background-size: 8px 8px;
  box-shadow: 10px 10px 0 #171717, 20px 20px 0 #e5322d;
}

.toonexyPolicy::before,
.toonexyPolicy::after {
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 130px;
  border: 5px solid #171717;
  content: "";
  opacity: 0.95;
}

.toonexyPolicy::before {
  top: -72px;
  left: -62px;
  background: #ffd52e;
  transform: rotate(19deg);
}

.toonexyPolicy::after {
  right: -62px;
  bottom: -72px;
  background: #3d8ee8;
  transform: rotate(19deg);
}

.toonexyPolicy > * {
  position: relative;
  z-index: 1;
}

.policyHero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto 26px;
}

.policyLogoLink {
  display: inline-block;
  border-radius: 28%;
  line-height: 0;
}

.policyLogoLink:focus-visible {
  outline: 3px solid #3d8ee8;
  outline-offset: 5px;
}

.policyLogo {
  display: block;
  width: 112px;
  height: 112px;
  border: 4px solid #171717;
  border-radius: 28%;
  background: #ffffff;
  box-shadow: 5px 5px 0 #171717;
  object-fit: cover;
  transform: rotate(-4deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.policyLogoLink:hover .policyLogo {
  transform: translate(3px, 3px) rotate(-4deg);
  box-shadow: 2px 2px 0 #171717;
}

.policyHeroText {
  max-width: 560px;
}

.policyBurst {
  display: inline-block;
  margin-bottom: 15px;
  padding: 7px 13px;
  border: 3px solid #171717;
  background: #ff716d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: rotate(-4deg);
}

.policyKicker {
  margin: 0 0 13px;
  color: #e5322d;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
}

#policyTitle {
  margin: 0;
  color: #171717;
  font-size: clamp(32px, 6vw, 64px);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 3px 3px 0 #ffd52e, 6px 6px 0 #e5322d;
  text-transform: uppercase;
}

.policyIntro {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 15px 17px;
  border: 3px solid #171717;
  background: #ffd52e;
  box-shadow: 4px 4px 0 #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.policyGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.policyCard {
  padding: 18px;
  border: 3px solid #171717;
  background: #ffffff;
  box-shadow: 4px 4px 0 #171717;
}

.policyCard:nth-child(3n + 1) { background: #fff7c5; }
.policyCard:nth-child(3n + 2) { background: #e4f0ff; }
.policyCard:nth-child(3n) { background: #ffe1df; }

.policyCard h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.policyCard p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.policyFooter {
  max-width: 780px;
  margin: 26px auto 0;
  padding: 14px 16px;
  border: 3px solid #171717;
  background: #ffffff;
  box-shadow: 3px 3px 0 #171717;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.policyFooter p { margin: 0; }

.policyBackLink {
  display: inline-block;
  margin-top: 10px;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.policyBackLink:hover { color: #e5322d; }
.policyBackLink:focus-visible { outline: 3px solid #3d8ee8; outline-offset: 3px; }

@media (max-width: 700px) {
  .toonexyPolicy { margin-top: 18px; padding: 20px 12px; }
  .policyHero { flex-direction: column; gap: 16px; text-align: center; }
  .policyHeroText { max-width: 100%; }
  #policyTitle { letter-spacing: -1px; }
  .policyGrid { grid-template-columns: 1fr; }
}