/*
Theme Name: WPBaseLite SEO
Theme URI: https://example.com
Author: SEO Optimized
Description: Hafif ilan teması. Meta ve schema All in One SEO'da kalır. ClassiPress ad_listing / ad_cat adresleriyle uyumludur.
Version: 3.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: wpbaselite-seo
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  color: #1c1914;
  background: #f6f3ea;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7a6210; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #4d3d08; }

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: #1c1914;
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

.site-header {
  background: #fff;
  border-bottom: 3px solid #c4a035;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}
.site-logo,
.custom-logo { width: 48px; height: 48px; border-radius: 10px; }
.site-title { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.site-description { margin: 0.15rem 0 0; color: #6b6254; font-size: 0.85rem; }
.nav-menu { display: flex; gap: 0.9rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-menu a { text-decoration: none; font-weight: 600; }

.site-main { max-width: 1080px; margin: 0 auto; padding: 1.25rem 1rem 2.5rem; }
.site-main.with-sidebar {
  max-width: 1080px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.2rem;
}
.site-main.with-sidebar .content-col { flex: 1 1 auto; min-width: 0; }
.site-sidebar {
  flex: 0 0 280px;
  width: 280px;
  background: #fff;
  border: 1px solid #e7e0d0;
  border-radius: 12px;
  padding: 0.9rem;
  position: sticky;
  top: 0.8rem;
}
.site-sidebar .widget-title { margin: 0 0 0.5rem; font-size: 1rem; }
.site-sidebar ul { margin: 0; padding-left: 1.1rem; }
.site-sidebar a { display: inline-block; margin: 0.2rem 0; }
@media (max-width: 700px) {
  .site-main.with-sidebar { flex-direction: column; }
  .site-sidebar { width: 100%; flex-basis: auto; position: static; }
}
.entry-header { margin-bottom: 1.25rem; }
.entry-header h1, .page-title { margin: 0 0 0.35rem; letter-spacing: -0.02em; }
.lead { color: #5c564c; margin: 0.35rem 0 0; }
.section-more { text-align: center; margin: 1.25rem 0 0; }
section + section { margin-top: 2.2rem; }
section h2 { text-align: center; margin: 0 0 1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}
.card, .sheet {
  background: #fff;
  border: 1px solid #e7e0d0;
  border-radius: 12px;
  padding: 0.85rem;
}
.card img { border-radius: 8px; margin-bottom: 0.55rem; aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.card-title { font-size: 1.02rem; margin: 0 0 0.3rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: #7a6210; }
.ad-expired, .ad-active {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.ad-expired { background: #f3d6d2; color: #7a241c; }
.ad-active { background: #e5f3d8; color: #2d5a16; }
.card-meta, .entry-meta { color: #6b6254; font-size: 0.84rem; margin: 0 0 0.35rem; }
.card-excerpt { margin: 0; color: #3f3a32; font-size: 0.92rem; }
.featured-image img { border-radius: 10px; margin-bottom: 0.8rem; }
.sheet { padding: 1.1rem; }
.empty { grid-column: 1 / -1; text-align: center; color: #6b6254; }

.breadcrumb { font-size: 0.86rem; color: #6b6254; margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; }
.sep { margin: 0 0.2rem; }

.btn {
  display: inline-block;
  background: #1c1914;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
}
.btn-success { background: #c4a035; color: #1c1914; }
.btn + .btn { margin-left: 0.4rem; }

.pagination { margin-top: 1.4rem; text-align: center; }
.pagination .nav-links, .pagination { display: flex; gap: 0.35rem; justify-content: center; flex-wrap: wrap; }
.page-numbers {
  display: inline-block;
  min-width: 2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7e0d0;
  text-decoration: none;
  color: #1c1914;
}
.page-numbers.current { background: #c4a035; border-color: #c4a035; }

.site-footer {
  border-top: 1px solid #e7e0d0;
  background: #fff;
}
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 1rem; }
.copy { color: #6b6254; font-size: 0.85rem; margin: 0.6rem 0 0; }
.error-404 { text-align: center; padding: 2rem 0; }

@media (max-width: 640px) {
  .header-inner { align-items: flex-start; }
}
