/*
Theme Name: İlanLite SEO
Theme URI: https://example.com/ilanlite-seo
Author: BEBITO
Description: Hafif ilan temasi. Meta ve schema All in One SEO'da kalir. ClassiPress ad_listing / ad_cat yapisiyla uyumludur. Orijinal tema, baska sitenin dosyalarinin kopyasi degildir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: ilanlite-seo
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

*, *::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 { width: 52px; height: 52px; object-fit: contain; }
.site-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.site-desc { margin: 0.15rem 0 0; color: #6b6254; font-size: 0.85rem; }
.nav-menu, .footer-menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-menu a, .footer-menu a { color: #1c1914; text-decoration: none; font-weight: 600; }
.nav-menu .current-menu-item > a { color: #7a6210; }

.site-main, .site-footer .footer-inner { max-width: 1080px; margin: 0 auto; padding: 1.25rem 1rem 2.5rem; }
.page-title { font-size: 1.7rem; margin: 0 0 0.6rem; }
.entry-content { font-size: 1.02rem; }
.entry-content p { margin: 0 0 0.9rem; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1.6rem 0 0.8rem; }
.section-head h2 { margin: 0; font-size: 1.25rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.card {
  background: #fff;
  border: 1px solid #e6dfcf;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card a.thumb { display: block; aspect-ratio: 4/3; background: #efe8d8; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 0.75rem 0.85rem 0.95rem; }
.card-title { font-size: 1rem; margin: 0 0 0.35rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-meta { color: #6b6254; font-size: 0.82rem; margin-bottom: 0.35rem; }
.card-excerpt { color: #3d382f; font-size: 0.9rem; margin: 0; }
.ad-expired {
  display: inline-block;
  background: #7a2e2e;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.35rem;
}
.badge {
  display: inline-block;
  background: #efe6cc;
  color: #4d3d08;
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.3rem;
}

.single-hero { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.single-hero img { width: 100%; border-radius: 10px; background: #efe8d8; }
.contact-box { background: #fff; border: 1px solid #e6dfcf; border-radius: 10px; padding: 0.9rem 1rem; margin: 1rem 0; }
.contact-box a.btn {
  display: inline-block;
  background: #1c1914;
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  margin-right: 0.4rem;
  margin-top: 0.4rem;
}
.site-footer { background: #1c1914; color: #f6f3ea; }
.site-footer a { color: #f0e2b8; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; padding-bottom: 1.2rem; }

@media (max-width: 720px) {
  .single-hero { grid-template-columns: 1fr; }
}
