/* Kente Bakış statik HTML sayfaları — proje ile uyumlu sade düzen */
:root {
  --kb-primary: #004784;
  --kb-bg: #f4f7fa;
  --kb-card: #fff;
}
body.kb-page {
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--kb-bg);
  color: #222;
  line-height: 1.65;
}
.kb-topbar {
  background: var(--kb-primary);
  color: #fff;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}
.kb-topbar a { color: #fff; text-decoration: none; }
.kb-topbar a:hover { text-decoration: underline; }
.kb-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #555;
}
.kb-breadcrumb a { color: var(--kb-primary); }
.kb-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
.kb-title {
  color: var(--kb-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.kb-nav box {
  display: block;
}
.kb-sidebar {
  background: var(--kb-card);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,71,132,0.08);
  padding: 1rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 1rem;
}
.kb-sidebar h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kb-primary);
  margin: 0 0 0.75rem;
}
.kb-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
.kb-sidebar li { border-bottom: 1px solid #eee; }
.kb-sidebar li:last-child { border-bottom: 0; }
.kb-sidebar a {
  display: block;
  padding: 0.45rem 0.25rem;
  color: #333;
  text-decoration: none;
}
.kb-sidebar a:hover { background: #f0f6fb; color: var(--kb-primary); }
.kb-sidebar a.kb-active {
  font-weight: 600;
  color: var(--kb-primary);
  background: #e8f0f7;
}
.kb-content {
  background: var(--kb-card);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,71,132,0.08);
  padding: 1.5rem 1.75rem;
}
.kb-content h3 {
  color: var(--kb-primary);
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.kb-content p { margin: 0 0 1rem; }
.kb-content .lead { font-size: 1.05rem; color: #444; }
.kb-deyim-list {
  column-gap: 2rem;
}
@media (min-width: 768px) {
  .kb-deyim-list { columns: 2; }
}
.kb-deyim-list li { break-inside: avoid; margin-bottom: 0.35rem; }

.kb-pre {
  white-space: pre-wrap;
  font-size: 0.82rem;
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 1rem;
  max-height: 70vh;
  overflow: auto;
}
.kb-source {
  font-size: 0.85rem;
  color: #666;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}
.kb-content .kb-hero.uk-section {
  background: var(--kb-primary);
  padding-top: 22px;
  padding-bottom: 22px;
  border-radius: 10px;
}
.kb-content .kb-hero.uk-section .uk-container {
  padding-left: 14px;
  padding-right: 14px;
}
.kb-content .kb-hero.uk-section h1 {
  color: #fff;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.6rem;
}
@media (max-width: 768px) {
  .kb-content .kb-hero.uk-section {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .kb-content .kb-hero.uk-section h1 {
    font-size: 1.35rem;
  }
}
.kb-page-gallery {
  margin-bottom: 1.25rem;
}
.kb-gallery-heading {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.kb-gallery .kb-fig {
  margin: 0;
}
.kb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.kb-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.kb-btn {
  display: inline-block;
  background: var(--kb-primary);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.25rem 0.25rem 0.25rem 0;
}
.kb-btn:hover { filter: brightness(1.08); color: #fff !important; }
@media (max-width: 991px) {
  .kb-sidebar { position: static; }
}

/*
 * ic-sayfa / TinyMCE: site şablonunda .bel-content içinde (canlı site, assets/css/kente-bakis.css ile aynı).
 */
.bel-content .kb-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}
.bel-content .kb-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.bel-content .kb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 1rem 0;
}
.bel-content .kb-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.bel-content .kb-gallery a.glightbox:hover img,
.bel-content .kb-gallery a:hover img {
  transform: scale(1.05);
}
.bel-content .kb-gallery a.glightbox {
  display: block;
  cursor: zoom-in;
  max-width: 100%;
}
.bel-content .kb-prose {
  margin-top: 25px;
  line-height: 1.6;
  color: #222;
}
.bel-content .kb-source {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}

/* Yerel önizleme HTML (body.kb-page): aynı galeri görünümü */
body.kb-page .kb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 1rem 0;
}
body.kb-page .kb-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
body.kb-page .kb-gallery a.glightbox:hover img,
body.kb-page .kb-gallery a:hover img {
  transform: scale(1.05);
}
body.kb-page .kb-gallery a.glightbox {
  display: block;
  cursor: zoom-in;
  max-width: 100%;
  width: 100%;
}
