/*
Theme Name: Emek Legal
Theme URI: https://emeklegal.net
Author: Emek Legal Hukuk & Danışmanlık
Author URI: https://emeklegal.net
Description: Emek Legal için özel tasarlanmış, ultra-hafif, modern ve prestijli kurumsal hukuk bürosu teması.
Version: 1.1.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.2
Text Domain: emeklegal
*/

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}
.font-cinzel {
  font-family: 'Cinzel', Georgia, serif;
}
.serif-title {
  font-family: Georgia, Cambria, 'Times New Roman', Times, serif;
}

/* Gece Modu (Dark Mode) Temel & Prestijli Renk Kuralları */
html.dark {
  color-scheme: dark;
}
html.dark body {
  background-color: #0b0f19;
  color: #f1f5f9;
}
/* Çerez bildirimi daha önce kapatılmışsa hiç gösterme (header.php içindeki erken komut dosyası ekler) */
html.cookie-ok #cookie-banner {
  display: none !important;
}

html.dark input, 
html.dark textarea, 
html.dark select {
  color-scheme: dark;
}

/* Makale metni (WordPress editöründe yazılan içerik).
   Öncelik bilerek düşük tutulmuştur: Tailwind'in sıfırlama kurallarını geçer,
   metin içinde verilen sınıflar (ör. list-decimal) ise her zaman önceliklidir. */
:where(.entry-content) h2 { font-size: 1.375rem; font-weight: 700; line-height: 1.3; margin-top: 2rem; color: #0f172a; }
:where(.entry-content) h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin-top: 1.5rem; color: #0f172a; }
:where(.entry-content) h4 { font-size: 1rem; font-weight: 700; margin-top: 1.25rem; color: #0f172a; }
:where(.entry-content) ul { list-style: disc; padding-left: 1.25rem; }
:where(.entry-content) ol { list-style: decimal; padding-left: 1.25rem; }
:where(.entry-content) li + li { margin-top: .375rem; }
:where(.entry-content) a { color: #9f7d45; text-decoration: underline; text-underline-offset: 2px; }
:where(.entry-content) blockquote { border-left: 3px solid #cbd5e1; padding-left: 1rem; color: #475569; }
:where(.entry-content) img { border-radius: .75rem; height: auto; }
:where(.entry-content) table { width: 100%; border-collapse: collapse; font-size: .875rem; }
:where(.entry-content) :is(th, td) { border: 1px solid #e2e8f0; padding: .5rem .75rem; text-align: left; }
html.dark :where(.entry-content) :is(h2, h3, h4) { color: #ffffff; }
html.dark :where(.entry-content) a { color: #fbbf24; }
html.dark :where(.entry-content) blockquote { border-color: #334155; color: #cbd5e1; }
html.dark :where(.entry-content) :is(th, td) { border-color: #1e293b; }
