:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --line: rgba(0,0,0,0.06);
  --ink: #1F2937;
  --ink-dim: #6B7280;
  --teal: #3b82f6;
  --teal-2: #2563eb;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Outfit', 'Inter', sans-serif;
  --serif: 'Georgia', 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}

/* Ana sitenin navbar'iyla BIREBIR ayni (index.html / style.css'teki
   .navbar + body.light-theme override'lariyla ayni degerler). */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-container {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #1F2937;
  border-right: 3px solid #2D62FF;
  padding-right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-details {
  display: flex;
  flex-direction: column;
}

.brand-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: #4B5563;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-item:hover,
.nav-item.active {
  color: #2D62FF;
}

.btn-nav-action {
  background: #2D62FF;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(45, 98, 255, 0.3);
  transition: all 0.2s ease-in-out;
}

.btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 98, 255, 0.5);
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    text-align: center;
    height: auto;
  }
  .nav-brand {
    justify-content: center;
    margin-bottom: 4px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .nav-item {
    font-size: 13px;
    padding: 6px 10px;
  }
  .btn-nav-action {
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-top: 4px;
  }
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 90px;
}

.wrap-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 90px;
}

/* --- Gazete bileseni: ust bilgi seridi + galeri + icerik karti --- */
.kose-gazette {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 90px;
}

.gazette-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  background: transparent;
  border: none;
  margin-bottom: 35px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--panel);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover,
.gallery-card.active {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

.gcard-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gcard-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.gcard-icon i {
  font-size: 1.5rem;
}

.gcard-cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gcard-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.gcard-date {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.kose-main {
  margin-bottom: 40px;
  background: var(--panel);
  border: none;
  box-shadow: 0 15px 50px rgba(0,0,0,0.04);
  border-radius: 24px;
  padding: 50px;
  margin-top: 10px;
}

.headline-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.headline {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
}

.headline-excerpt {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-dim);
  margin: 0 0 16px;
  max-width: 70ch;
}

.headline-more {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.headline-more:hover {
  color: var(--teal-2);
}

@media (max-width: 820px) {
  .gazette-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .kose-main {
    padding: 28px 22px;
  }
}

/* --- Hub / listing page (eski, artik kose-main icinde de kullanilabilir) --- */
.hub-intro {
  text-align: center;
  margin-bottom: 36px;
}

.hub-intro h2 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.hub-intro p {
  color: var(--ink-dim);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.article-card .eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.article-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.article-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Article page --- */
.article-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.article-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.88rem;
}

.article-byline strong {
  color: var(--ink);
}

.article-body {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 22px;
}

.article-body .lead {
  font-weight: 700;
}

.article-body .pull {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--teal);
  margin: 34px 0;
  line-height: 1.5;
}

.article-body h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 38px 0 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-cta {
  margin-top: 40px;
  padding: 28px;
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 12px;
  text-align: center;
}

.article-cta p {
  margin: 0 0 16px;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 0.95rem;
}

.btn-cta {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 8px;
}

.btn-cta:hover {
  background: var(--teal-2);
}

.footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-dim);
  margin-top: 30px;
}

/* --- Premium Navbar Styling (Synced from Main Page) --- */
.navbar {
  border-bottom: none !important;
  box-shadow: 0 4px 25px rgba(0,0,0,0.06) !important;
  position: relative;
  background: #ffffff !important;
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #f97316, #8b5cf6);
}
.nav-item {
  position: relative;
  font-weight: 600 !important;
  padding-bottom: 2px;
  color: #4B5563 !important;
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f97316, #8b5cf6);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-item:hover::after,
.nav-item.active::after {
  width: 70%;
}
.nav-item:hover,
.nav-item.active {
  color: #2D62FF !important;
}
.btn-nav-action {
  background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 26px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  border: none !important;
}
.btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}


/* --- YENI MASAUSTU GORUNUMU (SIDEBAR) --- */

/* --- YENI MASAUSTU GORUNUMU (SIDEBAR) --- */
@media (min-width: 992px) {
  .kose-gazette {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  
  .kose-main {
    flex: 1;
    margin-bottom: 0;
    /* Make sure it's not smaller than content */
    min-width: 0; 
  }
  
  .gallery {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
  }
  
  /* Eger kose-main gizliyse (Ana Hub Sayfasi), galeri tam ekran grid olsun */
  .kose-main[style*="none"] ~ .gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
