/* ==========================================================================
   Pusula Koçluk — reset.css
   Küçük, modern ve kapsam dışına taşmayan bir temel sıfırlama.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  /* Dekoratif katmanların yatay scrollbar üretmesini engeller.
     Taşmanın kök nedeni layout'ta çözülmüştür; bu yalnızca güvenlik ağıdır. */
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}

/* Yalnızca klavye odağında görünür outline; fare tıklamasında gösterilmez. */
:focus-visible {
  outline: 2px solid var(--pk-gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Kapalı accordion panelleri erişilebilirlik ağacından da çıkarılır.
   !important gerekir: panel .pk-js altında display:grid alır. */
[hidden] {
  display: none !important;
}

/* Görsel olarak gizli, ekran okuyucuya açık. */
.pk-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
