/* ============ Öğretmen Karnem — Apple tarzı açık tema ============ */
:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --card: #ffffff;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --muted2: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --green: #34c759;
  --red: #ff3b30;
  --pink: #ff2d55;
  --yellow: #ffb800;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);
}
/* ---------- Karanlık tema ---------- */
html[data-theme="dark"] {
  --bg: #1d1d1f;
  --bg2: #161617;
  --card: #2c2c2e;
  --fg: #f5f5f7;
  --muted: #a1a1a6;
  --muted2: #86868b;
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --border: #48484a;
  --border-light: #3a3a3c;
  --green: #30d158;
  --red: #ff453a;
  --pink: #ff375f;
  --yellow: #ffd60a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.5);
}
html[data-theme="dark"] .nav {
  background: rgba(29,29,31,.82);
}
html[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #161617 0%, #1d1d1f 100%);
}
html[data-theme="dark"] .btn-secondary { background: #3a3a3c; color: var(--fg); border-color: #48484a; }
html[data-theme="dark"] .btn-secondary:hover { background: #48484a; }
html[data-theme="dark"] .nav-search input,
html[data-theme="dark"] .hero-search input,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .comment-form textarea {
  background: #2c2c2e; color: var(--fg); border-color: #48484a;
}
html[data-theme="dark"] .nav-search input:focus,
html[data-theme="dark"] .hero-search input:focus,
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus,
html[data-theme="dark"] .comment-form textarea:focus {
  background: #2c2c2e; border-color: var(--accent);
}
html[data-theme="dark"] .modal { background: #2c2c2e; }
html[data-theme="dark"] .react-btn { background: #2c2c2e; border-color: #3a3a3c; color: var(--muted); }
html[data-theme="dark"] .react-btn:hover { background: #3a3a3c; }
html[data-theme="dark"] .footer { background: #161617; }
html[data-theme="dark"] .pagination a, html[data-theme="dark"] .pagination span { background: #2c2c2e; border-color: #3a3a3c; }
html[data-theme="dark"] .admin-list-item .msg { background: #3a3a3c; }
html[data-theme="dark"] .alert { background: #2c2c2e; }
html[data-theme="dark"] .badge { background: #3a3a3c; color: var(--muted); }
html[data-theme="dark"] .duzenle-badge { background: rgba(48,209,88,.15); }
html[data-theme="dark"] .warn-card { background: rgba(255,69,58,.08); }
html[data-theme="dark"] .avatar-placeholder { background: linear-gradient(135deg, #3a3a3c, #2c2c2e); }
html[data-theme="dark"] .photo-preview { border-color: #48484a; }

.nav-burger { display: none; width: 38px; height: 38px; border: none; background: var(--bg2); color: var(--fg); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-burger svg { width: 20px; height: 20px; }
.nav-burger.active .b1 { transform: translateY(3px) rotate(45deg); transform-origin: center; }
.nav-burger.active .b2 { opacity: 0; }
.nav-burger.active .b3 { transform: translateY(-3px) rotate(-45deg); transform-origin: center; }
@media (max-width: 720px) {
  .nav { position: relative; }
  .nav-burger { display: inline-flex; }
  .nav .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 14px;
    gap: 4px;
    z-index: 50;
  }
  .nav .nav-links.open { display: flex; }
  .nav-links .btn { justify-content: flex-start; width: 100%; }
  .nav-links form { display: flex; }
  .nav-links form .btn { width: 100%; }
  .theme-toggle { margin-left: 0; width: 100%; height: 40px; border-radius: 10px; justify-content: flex-start; background: var(--bg2); }
}
@keyframes burgerAnim { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-links.open { animation: burgerAnim .18s ease; }

/* ---------- Sponsor slaytı ---------- */
.slider { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow); background: var(--bg2); }
.slide { display: none; position: relative; }
.slide.active { display: block; }
.slide img { width: 100%; height: 220px; object-fit: cover; display: block; }
.slide-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 20px 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); color: #fff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.slide-sponsor { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 999px; }
.slide-title { font-size: 16px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.slide-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.slide-dots .dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.slide-dots .dot.active { background: #fff; }
@media (max-width: 720px) { .slide img { height: 150px; } }

/* ---------- Admin tabloları ---------- */
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-light); white-space: nowrap; vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.admin-table code { background: var(--bg2); border: 1px solid var(--border-light); padding: 2px 6px; border-radius: 6px; font-size: 12px; }
.badge-ok { background: rgba(52,199,89,.15); color: var(--green); }
/* ---------- Kurum yanıtı ---------- */
.owner-reply { background: rgba(0,113,227,.07); border-left: 3px solid var(--accent); border-radius: 10px; padding: 10px 14px; margin: 10px 0 4px; }
.owner-reply p { margin: 4px 0; font-size: 14px; }
.reply-form textarea { width: 100%; border: 1px solid var(--border-light); border-radius: 10px; padding: 10px; font: inherit; font-size: 14px; background: var(--bg); color: var(--fg); resize: vertical; }
html[data-theme="dark"] .owner-reply { background: rgba(10,132,255,.12); }

/* ---------- Kurumsal rozet ---------- */
.kurumsal-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #8a6d00; background: linear-gradient(135deg, #ffd60a, #ffc300); border-radius: 999px; padding: 3px 10px; vertical-align: middle; }
.featured-badge { display: inline-block; font-size: 11px; font-weight: 700; color: #7a2c00; background: linear-gradient(135deg, #ffb340, #ff9500); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }

.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: transparent; color: var(--muted); display: inline-flex;
  align-items: center; justify-content: center; transition: background .15s; flex: 0 0 auto;
}
.theme-toggle:hover { background: rgba(128,128,132,.15); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ---------- Hero görsel düzeni ---------- */
.hero-flex { display: flex; align-items: center; gap: 40px; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hero-text { flex: 1; text-align: left; }
.hero-text .hero-search { margin-left: 0; }
.hero-art { flex: 1; max-width: 460px; }
.hero-art img {
  width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
/* Koyu temada karanlık görsel sürümünü göster */
.art-dark { display: none; }
html[data-theme="dark"] .art-light { display: none; }
html[data-theme="dark"] .art-dark { display: block; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1280px; }

/* ---------- Üst bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 56px; }
.logo {
  font-size: 17px; font-weight: 700; color: var(--fg); letter-spacing: -.01em;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  background: linear-gradient(135deg, #0071e3, #00c2ff);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.nav-search { flex: 1; max-width: 460px; position: relative; margin-left: auto; }
.nav-search input {
  width: 100%; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: #f5f5f7; padding: 0 12px 0 36px; font-size: 14px; outline: none;
  transition: border-color .15s, background .15s;
}
.nav-search input:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.nav-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .45; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 980px; font-size: 14px; font-weight: 500; padding: 8px 18px;
  border: 1px solid transparent; cursor: pointer; transition: all .15s; white-space: nowrap;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #f5f5f7; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { background: #ececf1; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(0,113,227,.08); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 20px 40px; background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%); }
.hero h1 { font-size: 48px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hero .grad { background: linear-gradient(90deg, #0071e3, #00c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 19px; margin: 14px auto 0; max-width: 620px; }
.hero-search { position: relative; max-width: 620px; margin: 34px auto 0; }
.hero-search input {
  width: 100%; height: 54px; border-radius: 16px; border: 1px solid var(--border);
  padding: 0 56px; font-size: 17px; outline: none; box-shadow: var(--shadow);
}
.hero-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.15), var(--shadow); }
.hero-search .s-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); opacity: .4; }
.hero-search button { position: absolute; right: 8px; top: 8px; height: 38px; padding: 0 20px; border-radius: 12px; }
.hero-hint { margin-top: 14px; font-size: 13px; color: var(--muted2); }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: 40px 0; }
.section-title { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.section-sub { color: var(--muted); margin-bottom: 20px; }

/* ---------- İl gridi ---------- */
.province-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.province-card {
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--fg); display: flex; flex-direction: column; gap: 2px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.province-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border); }
.province-card b { font-size: 15px; font-weight: 600; }
.province-card span { font-size: 12px; color: var(--muted2); }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.teacher-card {
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: center; color: var(--fg);
  transition: transform .15s, box-shadow .15s;
}
.teacher-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: linear-gradient(135deg, #e8e8ed, #d2d2d7);
}
.avatar-lg { width: 120px; height: 120px; }
.avatar-placeholder {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, #0071e3, #00c2ff); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; text-transform: uppercase;
}
.avatar-placeholder.lg { width: 120px; height: 120px; font-size: 44px; }

.school-card {
  background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 20px; color: var(--fg); display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.school-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.school-card h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }

.badge {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 500;
  background: #f5f5f7; color: var(--muted); border-radius: 980px; padding: 3px 10px;
}
.badge-blue { background: rgba(0,113,227,.1); color: var(--accent); }

/* ---------- Yıldızlar ---------- */
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars svg { width: 18px; height: 18px; }
.stars .on { fill: var(--yellow); stroke: var(--yellow); }
.stars .off { fill: none; stroke: #b8b8bd; }
.stars.interactive svg { cursor: pointer; width: 30px; height: 30px; transition: transform .1s; }
.stars.interactive svg:hover { transform: scale(1.15); }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.rating-big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Sayfa başlıkları (okul/öğretmen) ---------- */
.page-head { padding: 44px 0 24px; }
.crumb { font-size: 13px; color: var(--muted2); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.entity-card {
  background: var(--card); border: 1px solid var(--border-light); border-radius: 22px;
  padding: 32px; box-shadow: var(--shadow);
}
.entity-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.entity-info { flex: 1; min-width: 260px; }
.entity-info h1 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.entity-meta { color: var(--muted); margin-top: 8px; font-size: 15px; }
.entity-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.entity-side { min-width: 220px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Yorumlar ---------- */
.comment-form { margin-top: 26px; }
.comment-form textarea {
  width: 100%; min-height: 96px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  padding: 14px; font-size: 15px; font-family: inherit; resize: vertical; outline: none;
}
.comment-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
.comment {
  display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border-light);
}
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.comment-head b { font-size: 14px; }
.comment-head span { font-size: 12px; color: var(--muted2); }
.comment-text { margin-top: 4px; font-size: 15px; overflow-wrap: break-word; white-space: pre-wrap; }
.react-row { display: flex; gap: 6px; margin-top: 10px; }
.react-btn {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  border: 1px solid var(--border-light); background: #fff; border-radius: 980px;
  padding: 5px 12px; cursor: pointer; color: var(--muted); transition: all .12s; font-family: inherit;
}
.react-btn:hover { background: #f5f5f7; }
.react-btn.active { background: rgba(0,113,227,.08); border-color: rgba(0,113,227,.4); color: var(--accent); }
.react-btn.heart.active { background: rgba(255,45,85,.08); border-color: rgba(255,45,85,.4); color: var(--pink); }
.react-btn svg { width: 15px; height: 15px; }
.report-link { background: none; border: none; color: var(--muted2); font-size: 12px; cursor: pointer; font-family: inherit; padding: 4px 6px; border-radius: 6px; }
.report-link:hover { color: var(--red); background: rgba(255,59,48,.06); }

/* ---------- Formlar ---------- */
.form-card { max-width: 560px; margin: 48px auto; background: var(--card); border: 1px solid var(--border-light); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.form-card h1 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url],
.field select, .field textarea {
  width: 100%; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  padding: 0 14px; font-size: 15px; font-family: inherit; outline: none; background: #fff;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
.field .hint { font-size: 12px; color: var(--muted2); margin-top: 5px; }
.field .error { color: var(--red); font-size: 13px; margin-top: 5px; }
.alert { border-radius: var(--radius-sm); padding: 13px 16px; font-size: 14px; margin-bottom: 18px; }
.alert-error { background: rgba(255,59,48,.08); color: #c6281e; }
.alert-ok { background: rgba(52,199,89,.1); color: #1a7f37; }
.alert-neutral { background: var(--bg2); border: 1px solid var(--border-light); color: var(--muted); }
html[data-theme="dark"] .alert-error { color: #ff6961; }
html[data-theme="dark"] .alert-ok { color: #30d158; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Modallar ---------- */
.modal-back {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-back.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; max-width: 480px; width: 100%;
  padding: 28px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto;
}
.modal h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ---------- Admin ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat-card { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 18px; }
.stat-card b { font-size: 28px; display: block; }
.stat-card span { font-size: 13px; color: var(--muted); }
.warn-card {
  border: 1px solid rgba(255,59,48,.35); background: rgba(255,59,48,.05);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.warn-card .wn { font-size: 22px; font-weight: 700; color: var(--red); }
.warn-card p { flex: 1; min-width: 200px; font-size: 14px; }
.tabs { display: flex; gap: 8px; margin: 24px 0 18px; border-bottom: 1px solid var(--border-light); }
.tab-btn {
  background: none; border: none; padding: 10px 16px; font-size: 15px; font-weight: 500;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; font-family: inherit;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.admin-list-item {
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 10px; display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
}
.admin-list-item .main { flex: 1; min-width: 240px; }
.admin-list-item b { font-size: 15px; }
.admin-list-item .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.admin-list-item .msg { font-size: 13px; color: var(--fg); background: #f5f5f7; border-radius: 8px; padding: 8px 12px; margin-top: 8px; }
.admin-list-item .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- Sayfalama ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-light);
  font-size: 14px; color: var(--fg); background: #fff;
}
.pagination a:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.pagination .cur { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-light); background: #f5f5f7; margin-top: 60px; padding: 40px 0 56px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.footer b { color: var(--fg); display: block; margin-bottom: 10px; font-size: 14px; }
.footer a { display: block; color: var(--muted); margin-bottom: 6px; }
.footer a:hover { color: var(--accent); }
.disclaimer { margin-top: 28px; border-top: 1px solid var(--border-light); padding-top: 20px; font-size: 12px; color: var(--muted2); max-width: 900px; }

/* ---------- Çeşitli ---------- */
.empty { text-align: center; color: var(--muted); padding: 48px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.load-more-wrap { text-align: center; margin-top: 20px; }
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #1d1d1f; color: #fff; padding: 12px 22px; border-radius: 980px; font-size: 14px;
  z-index: 300; transition: transform .25s; opacity: 0; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.err { background: var(--red); }
.duzenle-badge { font-size: 12px; background: rgba(52,199,89,.12); color: #1a7f37; border-radius: 980px; padding: 3px 10px; font-weight: 500; }
.photo-preview { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); margin-bottom: 10px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .hero-flex { flex-direction: column; gap: 24px; }
  .hero-art { max-width: 100%; order: -1; }
  .hero-text { text-align: center; }
  .hero-text .hero-search { margin: 34px auto 0; }
  .entity-info h1 { font-size: 25px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-search { display: none; }
  .logo span.txt { display: none; }
}
