/*
Theme Name: YaziciReseti Modern
Theme URI: https://yazicireseti.com/
Author: Orhan Çelik
Author URI: https://yazicireseti.com/
Description: Hafif, modern, hızlı ve blok editörü (Gutenberg) uyumlu WordPress teması. Sabit ana sayfa/hero içermez; ana sayfayı siz belirler ve düzenlersiniz.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yazicireseti-modern
Tags: custom-menu, editor-style, featured-images, block-styles, wide-blocks, one-column, two-columns, translation-ready
*/

/* Minimal temel stiller — tasarımı Gutenberg/Bloklar ile siz oluşturursunuz. */

:root {
  --yr-accent: #e11d2e;
  --yr-radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

img, video { max-width: 100%; height: auto; }

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,24,39,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.site-brand a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yr-accent);
  box-shadow: 0 0 0 4px rgba(225,29,46,.14);
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .9rem;
  align-items: center;
  flex-wrap: wrap;
}

.primary-nav a {
  display: inline-flex;
  padding: .5rem .65rem;
  border-radius: 999px;
  font-weight: 600;
  color: rgba(17,24,39,.86);
}

.primary-nav a:hover {
  background: rgba(225,29,46,.08);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(17,24,39,.18);
  background: #fff;
  padding: .55rem .7rem;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; padding-bottom: .9rem; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; }
}

.site-main {
  padding: 1.6rem 0 2.4rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.post-card {
  grid-column: span 6;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--yr-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17,24,39,.06);
}

@media (max-width: 860px) {
  .post-card { grid-column: span 12; }
}

.post-card .card-body {
  padding: 1rem 1rem 1.1rem;
}

.post-card h2 {
  margin: 0 0 .35rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.meta {
  color: rgba(17,24,39,.62);
  font-size: .92rem;
}

.site-footer {
  border-top: 1px solid rgba(17,24,39,.08);
  padding: 2rem 0;
  color: rgba(17,24,39,.7);
}

.footer-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.wp-block-button__link {
  border-radius: 999px !important;
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid rgba(17,24,39,.12);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
