/* Keşfet — Yenişehir Kütüphaneleri
   Yalnızca bu sayfaya ait stil; sitenin ortak style.css dosyasına bağlı değildir. */

/* ---------- Yazı tipleri (07.10.2026: Google Fonts yerine kendi sunucumuzdan; latin + latin-ext, OFL lisanslı) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Allison';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('fonts/allison-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Allison';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('fonts/allison-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/source-serif-4-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/source-serif-4-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-serif-4-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-serif-4-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-serif-4-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-serif-4-latin.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;
}

:root {
  --ink: #1b1d1c;
  --ink-soft: #5d625f;
  --line: #e6e4dc;
  --paper: #ffffff;
  --canvas: #fdfcf9;
  --green: #11493a;
  --green-2: #0c3a2e;
  --gold: #d9a441;
  --gold-2: #c8912c;
  --ok: #2f8f46;
  --warn: #e0761f;
  /* Yazı tonları: beyaz/açık zeminde en az 4.5:1 kontrast (07.10.2026, erişilebilirlik) */
  --ok-text: #23703a;
  --warn-text: #b4560e;

  --pembe: #f8dbe6; --pembe-a: #d9719d;
  --turuncu: #fad7bf; --turuncu-a: #e9773a;
  --yesil: #dbe9d4; --yesil-a: #5f9a4f;
  --mavi: #d8e6f6; --mavi-a: #3f82cf;
  --sari: #fbe8bd; --sari-a: #d99a22;
  --lila: #e6e1f3; --gri: #e9ebea;

  --script: "Allison", "Brush Script MT", cursive;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
/* Tüm başlıklar tasarımdaki serif yazı tipinde ve aynı kalınlıkta */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.k-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.k-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }

/* ---------- Header ---------- */
.k-header { background: var(--paper); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; }
.k-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(17, 73, 58, .06); }
.k-header-row { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.k-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.k-brand img { width: 56px; height: 56px; }
.k-brand span { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.05; letter-spacing: .06em; color: var(--green); }
.k-nav { display: flex; gap: clamp(14px, 2vw, 34px); margin-inline: auto; }
.k-nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.k-nav a:hover { color: var(--green); }
.k-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.k-search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 18px; width: min(280px, 21vw); box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.k-search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink); }
.k-search input::placeholder { color: #9a9e9b; }
.k-search button { border: 0; background: transparent; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.k-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.k-btn-green { background: var(--green); color: #fff; }
.k-btn-green:hover { background: var(--green-2); }
.k-btn-gold { background: var(--gold); color: #1d1606; }
.k-btn-gold:hover { background: var(--gold-2); }
.k-menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; width: 44px; height: 44px; font-size: 24px; cursor: pointer; }

@media (max-width: 1240px) {
  .k-header-row { flex-wrap: wrap; gap: 12px; }
  .k-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .k-nav { order: 5; width: 100%; flex-direction: column; gap: 0; display: none; padding-block: 6px; }
  .k-nav.is-open { display: flex; }
  .k-nav a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .k-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green); }
  .k-search { order: 4; width: 100%; }
  .k-login-wrap { order: 3; }
}
@media (max-width: 520px) {
  .k-brand img { width: 44px; height: 44px; }
  .k-brand span { font-size: 14px; }
  .k-login .k-btn { padding: 9px 14px; font-size: 14px; }
  .k-login .k-member-name { display: none; }
}
.k-login { display: flex; align-items: center; gap: 10px; }
.k-login-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.k-login-note { font-size: 11.5px; line-height: 1.2; color: var(--ink-soft); max-width: 290px; text-align: right; }
/* Harita altlığı: renkler bastırılıp tasarımın yeşil tonuna çekilir (iğneler öne çıksın diye) */
.k-map { background: #e9eee9; }
.k-map .leaflet-tile-pane { filter: grayscale(1) sepia(.35) hue-rotate(60deg) saturate(.55) brightness(1.06) contrast(.88); }
.k-map .leaflet-control-attribution { background: rgba(255,255,255,.75); font-size: 11px; }
@media (max-width: 520px) { .k-login-note { max-width: 150px; font-size: 10.5px; } }

/* ---------- Kütüphane haritası ---------- */
.k-mapwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 16px; align-items: stretch; }
.k-map { min-height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e8ece9; z-index: 0; }
.k-liblist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.k-libitem { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.k-libitem:hover, .k-libitem:focus-visible, .k-libitem.is-active { border-color: var(--green); box-shadow: 0 4px 14px rgba(17, 73, 58, .12); }
.k-libitem h3 { font-family: var(--serif); font-size: 17px; margin: 0 0 4px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.k-libitem .k-lib-badge { font-family: var(--sans); }
.k-libitem p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 6px; }
.k-libitem p i { color: var(--green); }
.k-pinwrap { position: relative; width: 46px; height: 46px; }
.k-pinwrap::before { content: ""; position: absolute; left: 50%; bottom: -6px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: rgba(17, 73, 58, .35); transform: scaleY(.45); animation: k-pulse 2.2s ease-out infinite; }
.k-pinwrap.is-soon::before { background: rgba(224, 118, 31, .4); }
.k-pin { position: absolute; left: 3px; top: 0; width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); border: 3px solid var(--gold); box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(0,0,0,.35); display: grid; place-items: center; transition: transform .15s; }
.k-pin i { transform: rotate(45deg); color: #fff; font-size: 17px; }
.k-pinwrap.is-soon .k-pin { background: var(--warn); border-color: #fff3e6; }
.k-pin.is-active { transform: rotate(-45deg) scale(1.18); }
@keyframes k-pulse { 0% { transform: scaleY(.45) scale(.6); opacity: .9; } 100% { transform: scaleY(.45) scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .k-pinwrap::before { animation: none; } }
.leaflet-tooltip.k-tip { background: var(--paper); color: var(--ink); border: 0; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.18); padding: 10px 12px; font-family: var(--sans); }
.k-tip b { display: block; font-family: var(--serif); font-size: 15px; margin-bottom: 4px; }
.k-tip table { border-collapse: collapse; font-size: 13px; }
.k-tip td { padding: 1px 0; }
.k-tip td:first-child { color: var(--ink-soft); padding-right: 12px; }
.k-tip td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.k-tip .k-tip-soon { color: var(--warn-text); font-weight: 700; font-size: 12.5px; }
.leaflet-popup-content { font-family: var(--sans); font-size: 14px; margin: 12px 14px; }
.k-pop b { font-family: var(--serif); font-size: 16px; display: block; margin-bottom: 6px; }
.k-pop p { margin: 0 0 4px !important; }
.k-pop a { color: var(--green); font-weight: 600; }
.k-approx { font-size: 12px; color: var(--ink-soft); font-style: italic; }
.k-libitem .k-lib-note { color: var(--green) !important; font-weight: 700; margin-bottom: 2px; }
.k-tip-extra { font-size: 12.5px; font-weight: 600; color: var(--green); margin-bottom: 4px; }
.k-lib-extra { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.k-lib-extra p { color: var(--ink) !important; }
.k-lib-site { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--green); text-decoration: none; }
.k-lib-site:hover { text-decoration: underline; }
@media (max-width: 900px) { .k-mapwrap { grid-template-columns: 1fr; } .k-map { min-height: 340px; } }
.k-member-name { font-weight: 600; font-size: 14px; color: var(--green); white-space: nowrap; }
.k-nav { gap: clamp(12px, 1.6vw, 28px); }
.k-skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.k-skip:focus { top: 12px; }
.k-muted { color: var(--ink-soft); }
.k-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.k-btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.k-btn-outline:hover { background: #eef4f1; }
section[id], nav[id] { scroll-margin-top: 96px; }

/* ---------- Tanıtım bandı (ana sayfa hero bilgileri) ---------- */
.k-intro { display: flex; justify-content: center; padding-block: 26px 6px; }
.k-intro .k-stats { width: 100%; max-width: 980px; }
.k-intro-main h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin: 2px 0 8px; text-wrap: balance; }
.k-intro-main h2 em { font-style: italic; color: var(--green); font-weight: 500; }
.k-intro-main > p { font-size: 17px; max-width: 62ch; margin: 0 0 16px; }
.k-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.k-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.k-stat { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.k-stat i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eef4f1; color: var(--green); font-size: 18px; flex-shrink: 0; }
.k-stat b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.k-stat small { color: var(--ink-soft); font-size: 13px; }
.k-hours { background: var(--green); color: #fff; border-radius: var(--radius); padding: 18px 20px; }
.k-hours h3 { font-size: 19px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.k-hours ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.k-hours li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 6px; }
.k-hours li span:last-child { font-variant-numeric: tabular-nums; opacity: .9; white-space: nowrap; }
.k-hours .k-muted { color: rgba(255,255,255,.7); }
.k-hours .k-link { color: #fff; text-decoration: none; }
.k-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; padding-block: 22px 4px; }
.k-split h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); margin: 0; line-height: 1.15; }
.k-split h2 em { color: var(--green); font-weight: 500; }
.k-split p { margin: 0; font-size: 17px; }
.k-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 22px 4px; }
.k-qa { display: flex; align-items: center; gap: 14px; background: var(--bg, var(--paper)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; min-width: 0; transition: transform .15s; }
.k-qa:hover { transform: translateY(-2px); }
.k-qa > i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.75); display: grid; place-items: center; font-size: 20px; color: var(--green); flex-shrink: 0; }
.k-qa b { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.k-qa small { display: block; color: var(--ink-soft); font-size: 13.5px; line-height: 1.3; }
@media (max-width: 1000px) { .k-stats, .k-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Kütüphanelerimiz ---------- */
.k-band { background: #f3f5f2; margin-top: 30px; padding-block: 34px 36px; }
.k-libs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.k-lib { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.k-lib-photo { aspect-ratio: 4 / 3; background: var(--green) center / cover no-repeat; }
.k-lib-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.k-lib-body h3 { font-family: var(--serif); font-size: 19px; margin: 0; line-height: 1.2; }
.k-lib-badge { align-self: flex-start; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: #e3f3e6; color: var(--ok-text); }
.k-lib-badge.is-soon { background: #fdeede; color: #a84f0c; }
.k-lib-addr { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 6px; }
.k-lib-desc { font-size: 14px; margin: 0; flex: 1; }
.k-lib .k-btn { align-self: flex-start; padding: 8px 16px; font-size: 14px; }
@media (max-width: 1000px) { .k-libs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .k-libs { grid-template-columns: 1fr; } }
.k-libdlg p { display: flex; gap: 8px; margin: 0 0 8px; }
.k-libdlg p i { color: var(--green); }

/* ---------- Hizmetler + Etkinlikler ---------- */
.k-two { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 28px; align-items: stretch; padding-top: 34px; }
#hizmetler { display: flex; flex-direction: column; }
.k-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; flex: 1; }
.k-events { display: flex; flex-direction: column; }
.k-service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.k-service i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eef4f1; color: var(--green); font-size: 20px; margin-bottom: 8px; }
.k-service h3 { font-size: 18px; margin: 0 0 4px; line-height: 1.2; }
.k-service p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.k-events-box { flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.k-event { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.k-event:first-child { border-top: 0; padding-top: 0; }
.k-date { align-self: start; width: 56px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--gold); color: #1d1606; border-radius: 10px; line-height: 1; }
.k-date b { display: block; font-family: var(--serif); font-size: 22px; }
.k-date small { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.k-event h3 { font-size: 17px; margin: 0 0 2px; }
.k-event p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.k-event .k-ev-lib { font-size: 12.5px; font-weight: 600; color: var(--green); margin-top: 4px; }
.k-ev-more { border: 0; background: none; padding: 0; margin-top: 4px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--green); }
.k-ev-more:hover { text-decoration: underline; }
.k-event h3 { line-height: 1.3; }
@media (max-width: 1000px) { .k-two { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .k-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Hakkımızda ---------- */
.k-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.k-about h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); margin: 0 0 10px; }
.k-about p { font-size: 16px; color: #3f4441; max-width: 68ch; }
.k-about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.k-about-stats div { background: var(--paper); border-radius: var(--radius); padding: 18px; text-align: center; border: 1px solid var(--line); }
.k-about-stats b { display: block; font-family: var(--serif); font-size: 34px; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.k-about-stats small { color: var(--ink-soft); }
@media (max-width: 860px) { .k-about { grid-template-columns: 1fr; } }

/* ---------- İletişim ---------- */
.k-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; background: linear-gradient(150deg, var(--green), var(--green-2)); color: #fff; border-radius: 18px; padding: clamp(20px, 3vw, 36px); margin-top: 18px; }
.k-contact h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; display: flex; gap: 10px; align-items: center; }
.k-contact p { margin: 0 0 6px; opacity: .92; }
.k-phone { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold) !important; opacity: 1 !important; }
.k-contact form { display: grid; gap: 10px; }
.k-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-contact label { display: grid; gap: 4px; font-size: 13px; }
.k-contact label span { opacity: .85; }
.k-contact input, .k-contact textarea { font: inherit; font-size: 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; padding: 9px 12px; width: 100%; }
.k-contact input:focus, .k-contact textarea:focus { outline: 2px solid var(--gold); background: rgba(255,255,255,.16); }
.k-form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#fbStatus { font-size: 14px; }
@media (max-width: 860px) { .k-contact { grid-template-columns: 1fr; } .k-form-row { grid-template-columns: 1fr; } }

/* ---------- Bülten + sosyal ---------- */
.k-newsletter { display: grid; grid-template-columns: 1fr minmax(260px, 460px); gap: 14px 24px; align-items: center; background: rgba(255,255,255,.07); border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; }
.k-nl-text { display: flex; gap: 12px; align-items: center; }
.k-nl-text i { font-size: 26px; }
.k-nl-text small { display: block; opacity: .75; }
.k-nl-input { display: flex; gap: 8px; }
.k-nl-input input { flex: 1; min-width: 0; font: inherit; border-radius: 999px; border: 0; padding: 10px 16px; }
.k-nl-status { grid-column: 1 / -1; font-size: 14px; min-height: 0; }
.k-nl-status:empty { display: none; }
.k-social { display: flex; align-items: center; gap: 10px; }
.k-social span { font-size: 14px; opacity: .8; margin-right: 4px; }
.k-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; text-decoration: none; font-size: 16px; }
.k-social a:hover { background: rgba(255,255,255,.25); }
@media (max-width: 700px) { .k-newsletter { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.k-hero { display: grid; grid-template-columns: minmax(280px, 37%) 1fr; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 8px 4px; }
.k-hero-text { padding-left: clamp(0px, 4vw, 90px); container-type: inline-size; }
.k-lettering { margin: 0; font-weight: 400; }
.k-script { display: block; font-family: var(--script); font-size: clamp(96px, 38cqi, 170px); line-height: .78; color: var(--ink); position: relative; z-index: 2; margin-bottom: .02em; white-space: nowrap; }
/* Font gelene kadar el yazısı başlıklar gizli (yer kaplar, taşma/zıplama olmaz) */
.k-fonts-pending .k-script, .k-fonts-pending .k-ago span { visibility: hidden; }
/* Veri gelene kadar (yükleme ekranı açıkken) üst bölüm dışındaki içerik gizli: kartlar eklenirken oluşan kayma (CLS) ölçülmesin */
.k-veri-bekleniyor main > :not(#anasayfa), .k-veri-bekleniyor .k-footer { visibility: hidden; }
/* Font hiç gelmezse: taşmayan, daha küçük yedek görünüm */
.k-fonts-fallback .k-script { font-size: clamp(64px, 24cqi, 110px); line-height: 1; font-style: italic; }
.k-tagline { display: flex; align-items: baseline; font-family: var(--sans); font-weight: 600; font-size: clamp(12px, 3.6cqi, 15px); letter-spacing: .42em; padding-left: .3em; position: relative; z-index: 1; white-space: nowrap; }
.k-gap { display: inline-block; width: 1.9em; }
.k-lede { font-family: var(--serif); font-size: clamp(19px, 6.3cqi, 26px); line-height: 1.28; margin: 18px 0 0; font-weight: 500; }
.k-hero-art { margin: 0; min-width: 0; }
.k-hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; transition: opacity .35s; }
.k-hero-art img.is-fading { opacity: .15; }
/* Tepe slaytı noktaları ve kart geçişi (09.10.2026) */
.k-hero-art img:not([src]) { visibility: hidden; }
.k-hero-dots { display: flex; justify-content: center; gap: 0; margin-top: 4px; }
.k-hero-dots button { min-width: 24px; height: 24px; padding: 0 2px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.k-hero-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .25s, width .25s; }
.k-hero-dots button[aria-pressed="true"]::before { width: 22px; border-radius: 5px; background: var(--green); }
.k-hero-dots button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.k-authors.is-donus .k-acard { animation: k-kart-gel .5s ease both; }
.k-authors.is-donus .k-acard:nth-child(2) { animation-delay: .05s; }
.k-authors.is-donus .k-acard:nth-child(3) { animation-delay: .1s; }
.k-authors.is-donus .k-acard:nth-child(4) { animation-delay: .15s; }
.k-authors.is-donus .k-acard:nth-child(5) { animation-delay: .2s; }
@keyframes k-kart-gel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .k-authors.is-donus .k-acard { animation: none; } }
@media (max-width: 860px) {
  .k-hero { grid-template-columns: 1fr; }
  .k-hero-text { padding-left: 0; padding-top: 8px; text-align: center; }
  .k-script { text-align: center; }
  .k-tagline { justify-content: center; padding-left: .42em; /* harf aralığının sağda bıraktığı boşluğu dengeler */ }
  .k-lede { margin-inline: auto; }
  .k-hero-art { margin-inline: calc(-1 * clamp(16px, 3vw, 40px)); }
  .k-hero-art img { aspect-ratio: 2 / 1; object-position: 30% 50%; }
}

/* ---------- Chips ---------- */
.k-chips { display: flex; align-items: center; gap: 12px; padding-block: 18px 6px; }
.k-chip-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 4px 2px; }
.k-chip-row::-webkit-scrollbar { display: none; }
.k-chip { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.k-chip:hover { border-color: #c9c6ba; }
.k-chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 860px) { .k-chips { flex-direction: column; align-items: stretch; } .k-chips .k-btn { justify-content: center; } }

/* ---------- Sayfa yükleniyor ekranı (ana sitedeki sayfa çeviren kitap; Keşfet renkleriyle) ---------- */
.k-loader { position: fixed; inset: 0; z-index: 3000; background: var(--canvas); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: opacity .3s ease; }
.k-loader.is-hidden { opacity: 0; pointer-events: none; }
.k-book { width: 76px; height: 56px; position: relative; perspective: 240px; }
.k-book .spine { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 4px; background: var(--gold); transform: translateX(-50%); border-radius: 2px; z-index: 2; }
.k-book .cover { position: absolute; top: 0; bottom: 0; width: 50%; background: #eef3ef; border: 2px solid var(--green); }
.k-book .cover.left { left: 0; border-radius: 6px 0 0 6px; border-right: none; }
.k-book .cover.right { right: 0; border-radius: 0 6px 6px 0; border-left: none; }
.k-book .page { position: absolute; top: 3px; bottom: 3px; right: 3px; width: calc(50% - 5px); background: #fff; border: 1px solid #d8e2dc; border-left: none; border-radius: 0 5px 5px 0; transform-origin: left center; animation: k-page 1.4s cubic-bezier(.45, 0, .55, 1) infinite; box-shadow: 1px 0 2px rgba(17, 73, 58, .14); }
.k-book .page.p2 { animation-delay: .47s; }
.k-book .page.p3 { animation-delay: .94s; }
@keyframes k-page {
  0% { transform: rotateY(0deg); opacity: 1; }
  45% { transform: rotateY(-150deg); opacity: .55; }
  50% { transform: rotateY(-160deg); opacity: 0; }
  50.01% { transform: rotateY(0deg); opacity: 0; }
  55% { transform: rotateY(0deg); opacity: 1; }
  100% { transform: rotateY(0deg); opacity: 1; }
}
.k-loader-text { font-family: var(--serif); color: var(--green); font-weight: 600; font-size: 17px; }
.k-loader-text .dots span { animation: k-dot 1.4s infinite; opacity: 0; }
.k-loader-text .dots span:nth-child(2) { animation-delay: .2s; }
.k-loader-text .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes k-dot { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .k-book .page { animation: none; } .k-loader-text .dots span { animation: none; opacity: 1; } }

/* Yatay kaydırılan satırlar (çipler, set sekmeleri) için sağ/sol yönlendirme */
.k-scroll { position: relative; flex: 1; min-width: 0; }
.k-scroll > .k-chip-row, .k-scroll > .k-tabs { scroll-behavior: smooth; }
.k-scroll::before, .k-scroll::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .2s; }
.k-scroll::before { left: 0; background: linear-gradient(90deg, var(--canvas) 30%, rgba(253, 252, 249, 0)); }
.k-scroll::after { right: 0; background: linear-gradient(270deg, var(--canvas) 30%, rgba(253, 252, 249, 0)); }
.k-scroll.can-left::before, .k-scroll.can-right::after { opacity: 1; }
.k-scroll-btn { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--green); display: grid; place-items: center; font-size: 15px; cursor: pointer; box-shadow: 0 4px 12px rgba(17, 73, 58, .14); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s, background .15s; }
.k-scroll-btn.is-left { left: 2px; } .k-scroll-btn.is-right { right: 2px; }
.k-scroll.can-left .k-scroll-btn.is-left, .k-scroll.can-right .k-scroll-btn.is-right { opacity: 1; pointer-events: auto; }
.k-scroll-btn:hover { background: var(--green); color: #fff; transform: scale(1.06); }
.k-scroll-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.k-scroll:has(.k-tabs) .k-scroll-btn { margin-top: -24px; }
@media (hover: none) { .k-scroll-btn { display: none; } }

/* ---------- Sections ---------- */
.k-section { padding-block: 22px 8px; }
.k-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.k-section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.k-section-head p { margin: 4px 0 0; color: var(--ink); font-size: 15.5px; }
.k-link { border: 0; background: none; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; }
.k-loading, .k-empty { padding: 28px; color: var(--ink-soft); }

/* ---------- Öneri kartları ---------- */
.k-carousel-nav { display: flex; gap: 8px; }
.k-round { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.k-round:hover { background: #f3f2ec; }
.k-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, calc((100% - 4 * 14px) / 4.3)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.k-rec { scroll-snap-align: start; display: grid; grid-template-columns: 124px 1fr; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-width: 0; }
.k-cover { position: relative; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 14px rgba(0,0,0,.18); background: #eee; }
.k-cover img { width: 100%; height: 100%; object-fit: cover; }
.k-cover-fb { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 8px; color: #fff; font-family: var(--serif); background: var(--fb, var(--green)); }
.k-cover-fb b { font-size: 14px; line-height: 1.15; }
.k-cover-fb small { font-family: var(--sans); font-size: 10.5px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.k-badge { position: absolute; top: 6px; right: 6px; width: 46px; height: 46px; border-radius: 50%; background: #b95a12; color: #fff; font-size: 9.5px; font-weight: 700; line-height: 1.05; display: grid; place-items: center; text-align: center; padding: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.k-rec-body { min-width: 0; display: flex; flex-direction: column; }
.k-rec h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.15; margin: 0; }
.k-rec .k-author { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.k-rec .k-blurb { font-size: 14px; line-height: 1.4; margin: 8px 0; }
.k-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.k-tags span { font-size: 11.5px; background: #f1f0ea; border-radius: 999px; padding: 2px 9px; color: #4c504d; }
.k-avail-title { font-size: 12px; font-weight: 700; margin-top: auto; }
.k-avail { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.k-avail li { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.k-avail li span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.k-dot { width: 8px; height: 8px; border-radius: 50%; background: #c8c8c8; flex-shrink: 0; }
.st-ok .k-dot { background: var(--ok); } .st-ok b { color: var(--ok-text); }
.st-out .k-dot { background: var(--warn); } .st-out b { color: var(--warn-text); }
.st-none b { color: #9a9e9b; font-weight: 400; }
.k-avail b { font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) { .k-carousel { grid-auto-columns: 86%; } .k-rec { grid-template-columns: 96px 1fr; } }

/* ---------- Yazar kartları ---------- */
.k-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 12px; }
.k-tabs::-webkit-scrollbar { display: none; }
.k-tab { flex-shrink: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.k-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.k-authors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.k-acard { position: relative; border: 0; padding: 0; text-align: left; cursor: pointer; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2.1 / 1; min-height: 118px; background: var(--bg); isolation: isolate; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.k-acard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.k-acard .k-aimg { position: absolute; inset: 0 0 0 38%; background-image: var(--hero); background-size: var(--bgs, 500%) auto; background-position: var(--px) var(--py); background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); z-index: -1; }
.k-acard .k-aname { position: absolute; left: 16px; top: 12px; right: 40%; font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.08; text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg); }
.k-acard .k-ago { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 4px; }
.k-acard .k-ago i { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.k-acard .k-ago span { font-family: var(--script); font-size: 34px; line-height: 1; transform: translateY(2px); }
.c-pembe { --bg: var(--pembe); } .c-turuncu { --bg: var(--turuncu); } .c-yesil { --bg: var(--yesil); } .c-mavi { --bg: var(--mavi); } .c-sari { --bg: var(--sari); } .c-lila { --bg: var(--lila); } .c-gri { --bg: var(--gri); }
/* Yazar kartı zeminleri (09.10.2026): sulu boya dokulu kart görselleri, renkleri kolajdaki dairelerle eşleşir.
   Görsel yüklenemezse düz renk (--bg) kalır. Diğer kartlar (mor, kahve, turkuaz, gri, mavi2, kırmızı, lila) img/kartlar/ içinde hazır. */
.k-acard.c-pembe { --kart: url("img/kartlar/kart-01-pembe.webp"); }
.k-acard.c-turuncu { --kart: url("img/kartlar/kart-02-turuncu.webp"); }
.k-acard.c-yesil { --kart: url("img/kartlar/kart-03-yesil.webp"); }
.k-acard.c-mavi { --kart: url("img/kartlar/kart-04-mavi.webp"); }
.k-acard.c-sari { --kart: url("img/kartlar/kart-08-sari.webp"); }
.k-acard { background: var(--kart, none) center / cover no-repeat, var(--bg); }
/* Dekupe portre (kesfet.js PORTRELER): kartın sağındaki çizim alanında, alta yaslı; kolaj kesitinin yerine geçer */
.k-acard.has-portre .k-aimg { inset: 8% 1% 0 auto; width: 52%; background-image: var(--portre); background-size: contain; background-position: right bottom;
  -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18)); }
@media (max-width: 1100px) { .k-authors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .k-authors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .k-authors { grid-template-columns: 1fr; } .k-acard { aspect-ratio: 2.8 / 1; } }
@media (max-width: 520px) { .k-quick { grid-template-columns: 1fr; } }

/* ---------- Kategoriler ---------- */
.k-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.k-cat { display: flex; align-items: center; gap: 12px; border: 0; border-radius: 12px; background: var(--bg); padding: 16px 16px; font-size: 15.5px; font-weight: 600; text-align: left; cursor: pointer; line-height: 1.15; min-height: 64px; transition: filter .15s; }
.k-cat:hover { filter: brightness(.97); }
.k-cat i { font-size: 26px; }
@media (max-width: 1200px) { .k-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .k-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Sonuç ızgarası ---------- */
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 14px; }
.k-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.k-tile h3 { font-family: var(--serif); font-size: 16px; line-height: 1.2; margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.k-tile .k-author { font-size: 13px; color: var(--ink-soft); }
.k-pill { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; justify-self: start; align-self: flex-start; }
.k-pill.st-ok { background: #e3f3e6; color: var(--ok-text); }
.k-pill.st-out { background: #fdeede; color: #a84f0c; }
.k-more { display: flex; justify-content: center; padding: 18px 0 4px; }
.k-more button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 20px; font-weight: 600; cursor: pointer; }

/* ---------- Footer ---------- */
.k-footer { background: var(--green); color: #e8efe9; margin-top: 48px; padding-block: 28px 18px; }
.k-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.k-footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.k-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.k-footer-links a { text-decoration: none; opacity: .85; }
.k-footer-links a:hover { opacity: 1; text-decoration: underline; }
.k-copy { font-size: 13px; opacity: .7; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }

/* ---------- Diyaloglar ---------- */
.k-dialog { border: 0; border-radius: 18px; padding: 0; width: min(920px, calc(100vw - 32px)); max-height: min(86vh, 820px); box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); background: var(--paper); }
.k-dialog::backdrop { background: rgba(18, 28, 24, .55); }
/* Üye girişi penceresi: arkada Keşfet bulanık görünmeye devam eder */
.k-dialog.k-auth { width: min(430px, calc(100vw - 32px)); padding: 26px 26px 20px; }
.k-auth::backdrop { background: rgba(18, 28, 24, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.k-auth-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 14px; }
.k-auth-head h2 { font-size: 26px; margin: 0; }
.k-auth-step { display: grid; gap: 10px; }
.k-auth-step[hidden] { display: none; }
.k-auth-step label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 600; }
.k-auth-step input { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); color: var(--ink); }
.k-auth-step input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.k-auth-main { justify-content: center; width: 100%; }
.k-auth-alt { justify-self: center; font-size: 14px; color: var(--green); }
.k-auth-alt.k-muted { color: var(--ink-soft); }
.k-auth-alt:disabled { opacity: .5; cursor: default; }
.k-auth-info { margin: 0; font-size: 14px; color: var(--ink-soft); }
.k-auth-sub { margin: 0; font-size: 13px; color: var(--ink-soft); }
.k-auth-foot { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
.k-auth-welcome { font-family: var(--serif); font-size: 20px; text-align: center; margin: 0 0 6px; }
.k-auth-status { min-height: 20px; margin: 10px 0 0; font-size: 14px; text-align: center; }
.k-auth-status.is-err { color: #b3261e; }
.k-auth-status.is-ok { color: var(--ok-text); }
.k-dialog-sm { width: min(560px, calc(100vw - 32px)); padding: 26px; }
.k-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: 16px; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.k-author-dlg { display: grid; grid-template-columns: 300px 1fr; min-height: 420px; }
/* kolajdaki bir figürün tam oranı (434×724 ≈ 3:5) — boşluk kalmadan oturur */
.k-author-portrait { background-color: var(--bg); background-image: var(--hero); background-size: var(--bgs, 500%) auto; background-position: var(--px) 0; background-repeat: no-repeat; aspect-ratio: 3 / 5; align-self: start; position: sticky; top: 0; }
.k-author-info { padding: 26px 28px; overflow-y: auto; max-height: min(86vh, 820px); }
.k-author-info h2 { font-family: var(--serif); font-size: 32px; margin: 0 40px 4px 0; line-height: 1.1; }
.k-author-life { color: var(--ink-soft); margin: 0 0 10px; }
.k-author-life .k-nobel { display: inline-flex; gap: 5px; align-items: center; background: #fbf0d6; color: #7a5410; border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 600; margin-left: 6px; }
.k-author-works { font-size: 15px; margin: 0 0 16px; }
.k-author-info h3 { font-family: var(--serif); font-size: 19px; margin: 8px 0 8px; }
.k-work-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.k-work-list li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); align-items: center; }
.k-work-list .k-wt { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.k-work-list .k-wb { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.k-work-list .k-pill { font-size: 11.5px; }
@media (max-width: 720px) { .k-author-dlg { grid-template-columns: 1fr; } .k-author-portrait { aspect-ratio: auto; height: 260px; position: static; background-position: var(--px) 40%; } .k-author-info { max-height: none; } .k-dialog { overflow-y: auto; } }
.k-suggest-head { font-family: var(--serif); font-size: 24px; margin: 0 40px 16px 0; }
.k-suggest { display: grid; grid-template-columns: 130px 1fr; gap: 16px; margin-bottom: 18px; }
.k-suggest h3 { font-family: var(--serif); font-size: 22px; margin: 0; line-height: 1.15; }

/* Eski bağlantılar (#koleksiyon, #hakkimizda) için görünmez yönlendirme noktası */
.k-anchor { display: block; height: 0; scroll-margin-top: 96px; }
.k-acard.has-portre .k-aname { right: 47%; font-size: clamp(15px, 1.25vw, 19px); }
