/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* ===== 2 Sütunlu Sahipinden Tarzı Grid ===== */

.ilan-fullwidth {
  width: 100%;
}

.ilan-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 30px auto;
}

/* Sol filtre sütunu */
.ilan-filter {
  background: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.ilan-filter h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

.ilan-filter .filter-group {
  margin-bottom: 15px;
}

.ilan-filter label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.ilan-filter select,
.ilan-filter input {
  width: 100%;
  padding: 6px 10px;
  margin-bottom: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.ilan-filter button {
  padding: 10px 15px;
  background: #1a7f37;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.ilan-filter button:hover {
  background: #16672e;
}

/* Sağ ilan listesi sütunu */
.ilan-archive-container {
  width: 100%;
  font-size: 14px;
}


/* Mobil uyumlu */
@media (max-width: 1024px) {
  .ilan-container {
    grid-template-columns: 1fr;
  }

  .ilan-filter {
    margin-bottom: 20px;
  }


  .col-img img {
    width: 100%;
    height: auto;
  }
}
/* ===== İLAN DETAY SAYFASI ===== */

.ilan-galeri {
  max-width: 900px;
  margin-bottom: 20px;
}

.galeri-buyuk img {
  width: 100%;
  display: none;
  border-radius: 10px;
}

.galeri-buyuk img.active {
  display: block;
}

.galeri-kucuk {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.galeri-kucuk img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
}


/* ===== İLAN DETAY SAYFASI — LAYOUT FIX ===== */

.ilan-detay-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ilan-detay-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.ilan-detay-main {
    flex: 1;
    min-width: 0;
}

.ilan-detay-sidebar {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

/* Galeri sabit oran */


/* H1 Başlık */
.ilan-h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Etiketler */
.ilan-meta-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.ilan-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
}

.tag-mahalle {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.tag-ilce {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.tag-islem {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Hızlı Özellikler */
.ilan-quick-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.spec-item {
    text-align: center;
    padding: 10px;
}

.spec-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.spec-label {
    display: block;
    font-size: 12px;
    color: #666;
}

.spec-val {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

/* Detay Tablosu */
.detay-table {
    width: 100%;
    border-collapse: collapse;
}

.detay-table tr {
    border-bottom: 1px solid #eee;
}

.detay-table th {
    text-align: left;
    padding: 10px 15px;
    font-weight: 600;
    width: 40%;
    color: #555;
}

.detay-table td {
    padding: 10px 15px;
    font-weight: 500;
}

/* Sidebar */
.sidebar-fiyat-kutu {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.fiyat-islem-etiketi {
    display: inline-block;
    background: #1a7f37;
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fiyat-rakam {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.fiyat-m2-birim {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.sidebar-butonlar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-wa {
    background: #25d366;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.btn-tel {
    background: #dc3545;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.btn-randevu {
    background: #fff;
    color: #333;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ccc;
}

/* Danışman */
.sidebar-danisman {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.danisman-foto {
    border-radius: 50%;
    margin-bottom: 10px;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .ilan-detay-container {
        flex-direction: column;
    }

    .ilan-detay-main {
        max-width: 100%;
    }

    .ilan-detay-sidebar {
        width: 100%;
        position: static;
    }

    .ilan-h1 {
        font-size: 20px;
    }

    .fiyat-rakam {
        font-size: 24px;
    }
}

/* ===== İLAN LİSTE KARTI — SABİT YÜKSEKLIK ===== */

.tax-kart {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 200px;
}

.tax-kart-foto {
    width: 280px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.tax-kart-foto .tax-kart-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tax-kart-foto .tax-foto-yok {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    font-size: 48px;
}

/* MOBİL */
@media (max-width: 768px) {
    .tax-kart {
        grid-template-columns: 1fr;
    }

    .tax-kart-foto {
        width: 100%;
        height: 220px;
    }
}


/* Header CLS önleme */
.site-header-above-section-right {
    min-height: 40px;
    contain: layout style;
}


/* ilan-detay.css body override fix */
.ilan-detay-wrapper {
    background: #f9fafb;
}

