/* bilgi-merkezi.css */

.blog-list {
  display: grid;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 2rem;
}

.post-card {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.post-card h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.post-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin: 0.25rem 0 1.5rem;
  line-height: 1.55;
}

.read-more {
  display: inline-block;
  background: #295aa5;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  background: #1e4682;
}

@media (min-width: 768px) {
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }
}

.eurocode-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.eurocode-table th,
.eurocode-table td {
  border: 1px solid #dfe3e8;
  padding: 0.6rem;
  text-align: left;
  font-size: 0.95rem;
}
pre {
  background: #f5f7f9;
  padding: 1rem;
  border-radius: 4px;
  overflow: auto;
}

/* ----- MAKALE SAYFASI GENEL ----- */
.article-container {
  max-width: 800px; /* okunabilir genişlik */
  margin: 0 auto; /* merkeze hizala */
  padding: 2rem 40px 3rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

/* Başlık ve alt başlıklar */
.article-container h1 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.article-container h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
  font-weight: 600;
}

/* Paragraflar & listeler */
.article-container p {
  margin-bottom: 1rem;
}
.article-container ul {
  margin: 0 0 1.2rem 1.1rem;
  padding-left: 0.9rem;
}
.article-container li {
  margin-bottom: 0.35rem;
}

/* Kod blokları veya pre etiketi */
pre {
  background: #f5f7f9;
  padding: 1rem;
  overflow: auto;
  border-radius: 4px;
}

/* Makale içi navigasyon butonu */
.article-nav {
  margin-top: 2.5rem;
}
.article-nav .read-more {
  display: inline-block;
  background: #295aa5;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.article-nav .read-more:hover {
  background: #1e4682;
}

pre {
  background: #f5f7f9;
  padding: 1rem;
  border-radius: 4px;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
th,
td {
  border: 1px solid #dfe3e8;
  padding: 0.6rem;
  font-size: 0.95rem;
  text-align: left;
}

.post-date {
  font-size: 13px;
  color: #555;
  margin: 4px 0 6px 0;
}

/* İçerik alanı genişliği sınırlı */
.article-container,
[itemprop="articleBody"] {
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

.ts498-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  white-space: nowrap;
}

/* Masaüstü görünüm için genişlik sınırı */
@media (min-width: 768px) {
  .article-container {
    max-width: 800px;
    padding: 2rem 40px 3rem;
  }
}

.legal-note {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 20px;
}

.legal-note strong {
  color: #111827;
}

.legal-note em {
  font-style: italic;
}

.legal-note u {
  text-decoration: underline;
}

.more-info {
  margin-top: 24px;
}

.more-info a {
  color: #1d4ed8;
  text-decoration: underline;
}

.more-info a:hover {
  color: #1e40af;
  text-decoration: none;
}

/* Kapsül */
.hesap-kapsul {
  margin: 20px 0;
}
.hesap-baslik h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: #0f172a;
}
.hesap-aciklama {
  color: #374151;
  margin: 0 0 16px;
}

/* Kart */
.kart {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  background: #fff;
  margin-bottom: 18px;
}
.kart h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #1b2a4e;
}
.kart .etiket {
  display: inline-block;
  font-size: 0.9rem;
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 6px;
}

/* Alt başlık */
.alt-baslik {
  margin: 14px 0 6px;
  color: #0f172a;
  font-size: 1.05rem;
}

/* Grid form */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 12px 16px;
}
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.alan {
  position: relative;
  display: flex;
  flex-direction: column;
}
.alan input,
.alan select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
}
.alan input:focus,
.alan select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.birim {
  position: absolute;
  right: 10px;
  top: 35px;
  color: #6b7280;
  font-size: 0.9rem;
}
.ipucu {
  color: #6b7280;
  font-size: 0.85rem;
  margin-top: 6px;
}

.alan-aciklama {
  grid-column: 1 / -1;
}
.alan-aciklama p {
  margin: 0;
  color: #374151;
}

/* Buton ve sonuç */
.buton-satiri {
  margin-top: 10px;
}
.btn {
  border: 0;
  background: #1b2a4e;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #16203f;
}

.sonuclar {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
  color: #111827;
}
.durum {
  font-weight: 600;
}
.durum.ok {
  color: #166534;
}
.durum.no {
  color: #b91c1c;
}

/* Standart özeti */
.standart-kutu {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fafafa;
}
.standart-kutu h3 {
  margin: 0 0 8px;
  color: #111827;
}
.standart-kutu ul {
  margin: 0 0 6px 18px;
}


