* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Georgia', 'Times New Roman', serif; color: #2a2118; line-height: 1.8; background: #f7f7f5; }
.container { max-width: 640px; margin: 0 auto; padding: 32px 20px; }
h1 { font-size: 26px; color: #3d2b1f; border-bottom: 2px solid #2c5f7c; padding-bottom: 12px; margin-bottom: 6px; text-align: center; }
.meta { font-size: 14px; color: #998a7a; margin-bottom: 28px; text-align: center; }
h2 { font-size: 24px; color: #3d2b1f; margin-top: 32px; margin-bottom: 14px; padding: 0 0 8px; background: none; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; display: flex; flex-direction: column; align-items: center; }
h2::after { content: ''; display: block; width: 120%; max-width: 280px; height: 1px; background: #c8d5e0; margin-top: 8px; }
.item { margin-bottom: 18px; padding: 14px 16px; border-radius: 4px; border: 1px solid #e4ddd4; }

/* Section colors */
.section-urgent .item { background: #f7f0ee; border-color: #e8ddd9; }
.section-economy .item { background: #eef3f7; border-color: #d4dee8; }
.section-tech .item { background: #f4f1f6; border-color: #e4dfe9; }
.section-academic .item { background: #eef5f0; border-color: #d4e5d8; }
.section-turkey .item { background: #faf5ee; border-color: #e5d9c8; }
.section-reports .item { background: #eceef2; border-color: #d0d4de; }
.item-title { font-weight: bold; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.item-title img.favicon { width: 18px; height: 18px; flex-shrink: 0; border-radius: 2px; object-fit: contain; }
.item-title img.favicon[data-fallback] { padding: 2px; background: #f0ebe4; border: 1px solid #d5c9b1; }
.item-title a { color: #3d2b1f; text-decoration: none; }
.item-title a:hover { color: #8b4513; }
.title-tr { font-weight: normal; font-size: 14px; color: #8a7b6b; margin-top: 2px; font-style: italic; }
.item-source { color: #8a7b6b; font-size: 13px; margin-top: 2px; }
.item-summary { font-size: 15px; color: #3a3028; margin-top: 6px; }
.item-also { font-size: 13px; color: #7a6b5a; margin-top: 6px; font-style: italic; }
.item-also a { color: #8b4513; text-decoration: none; }
.item-also a:hover { text-decoration: underline; }
/* E-posta kutulari - sayfada gizli, e-postada gorunur */
.email-only { display: none; }
.insandan { background: #fdf6ec; padding: 16px 20px; border-radius: 4px; margin-bottom: 24px; font-size: 15px; line-height: 1.7; border: 1px solid #e0d1b8; border-left: 4px solid #d4a843; }
.insandan strong { display: block; margin-bottom: 6px; color: #3d2b1f; }
.insandan a { color: #8b6914; text-decoration: none; border-bottom: 1px solid #d4a843; transition: color 0.15s, border-color 0.15s; }
.insandan a:hover { color: #3d2b1f; border-color: #3d2b1f; }
.connection { background: #eef2f6; padding: 16px 20px; border-radius: 4px; margin-bottom: 24px; font-size: 15px; line-height: 1.7; border: 1px solid #c4d3e0; }
.connection strong { display: block; margin-bottom: 6px; color: #3d2b1f; }
.footer { margin-top: 36px; font-size: 12px; color: #998a7a; text-align: center; border-top: 1px solid #e4ddd4; padding-top: 14px; }
.back-link { display: inline-block; margin-bottom: 16px; font-size: 14px; color: #8b4513; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* Section nav */
.section-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin-bottom: 24px; font-size: 13px; }
.section-nav a { color: #8a7b6b; text-decoration: none; padding: 3px 10px; border: 1px solid #e4ddd4; border-radius: 12px; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.section-nav a:hover { background: #3d2b1f; color: #fff; border-color: #3d2b1f; }

/* Search box */
.search-box { position: relative; margin-bottom: 16px; }
.search-box input {
  width: 100%; padding: 8px 12px 8px 32px;
  border: 1px solid #d5c9b1; border-radius: 6px;
  font-size: 13px; font-family: 'Georgia', 'Times New Roman', serif;
  background: #fff; color: #3d2b1f; outline: none;
}
.search-box input:focus { border-color: #2c5f7c; }
.search-box .search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: #998a7a; pointer-events: none;
}
.no-results {
  padding: 16px; text-align: center; color: #998a7a;
  font-size: 14px; font-style: italic; display: none;
}
/* Subscribe box (index sidebar) */
.subscribe-box { margin-bottom: 16px; padding: 14px 16px; border: 1px solid #d5c9b1; border-radius: 6px; background: #faf6f0; }

/* Scroll to top */
.scroll-top {
  position: fixed; bottom: 16px; right: 16px;
  width: 38px; height: 38px;
  background: #f5f0e8; color: #3d2b1f;
  border: 1px solid #d5c9b1; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none; z-index: 50;
  text-decoration: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: #efe9df; }


@media (max-width: 480px) {
  .container { padding: 16px 12px; }
  h1 { font-size: 20px; }
  h2 { font-size: 20px; margin-top: 24px; }
  .item { padding: 12px; margin-bottom: 14px; }
  .item-title { font-size: 16px; line-height: 1.4; align-items: flex-start; }
  .item-title a { word-break: break-word; }
  .item-source { font-size: 13px; }
  .item-summary { font-size: 14px; line-height: 1.7; }
  .item-also { font-size: 13px; padding: 6px 0 0; }
  .item-also a { display: inline; word-break: break-word; }
  .connection { font-size: 14px; padding: 14px 16px; }
  .section-nav { gap: 8px 6px; margin-bottom: 20px; }
  .section-nav a { padding: 8px 14px; font-size: 13px; }
  .back-link { padding: 6px 0; font-size: 14px; }
}
