/* Self-hosted fonts — no fonts.googleapis.com / fonts.gstatic.com */
/* font-display: optional — avoid invisible icons; show fallback then swap quickly */

/* Hanken Grotesk — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/assets/fonts/hanken-4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hanken Grotesk — latin-ext (TR: ğüşıöç etc.) */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/assets/fonts/hanken-3.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Material Symbols — block briefly so icons don't appear as raw text then pop in */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/material-symbols-outlined.woff2') format('woff2');
}

/*
 * Material Symbols — glyph must sit dead-center in its box.
 * Do NOT use bare inline-block (baseline shift / “kaymış ikon”).
 */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1 !important;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  overflow: hidden;
  vertical-align: middle;
  flex-shrink: 0;
  speak: never;
}

/**
 * İkon kutusu — yatay + dikey ortalama (sistem standardı).
 * Kullanım: <span class="us-icon us-icon--md"><span class="material-symbols-outlined">...</span></span>
 */
.us-icon {
  display: inline-grid !important;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
  box-sizing: border-box;
}
.us-icon .material-symbols-outlined {
  display: block !important;
  line-height: 1 !important;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
}
.us-icon--sm {
  width: 2rem;
  height: 2rem;
}
.us-icon--sm .material-symbols-outlined { font-size: 1.125rem; }
.us-icon--md {
  width: 2.5rem;
  height: 2.5rem;
}
.us-icon--md .material-symbols-outlined { font-size: 1.375rem; }
.us-icon--lg {
  width: 3.5rem;
  height: 3.5rem;
}
.us-icon--lg .material-symbols-outlined { font-size: 1.75rem; }

/* İkon + metin satırları / butonlar */
.us-icon-row,
a.us-icon-row,
button.us-icon-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem;
}

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
}
