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

html {
  height: 100%;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  min-width: 320px;
}

/* Kısa sayfalarda footer alta yapışır */
main#icerik {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  margin-top: auto;
  flex-shrink: 0;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

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

button,
input {
  font-family: inherit;
}

/* Klavye erişilebilirliği: Tab ile odaklanınca görünür, normalde gizli */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: #fff;
  color: #111;
  z-index: 10000;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  overflow: visible;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
