/* ─────────────────────────────────────────────────────────────────────────
   Mesken — emlak teması
   Renkler: yeşil #36aa71 · mürekkep #16241d · gövde #222 · sönük #6d7b76
            yüzey #f3f7f7 · çizgi #e6ebe9
   Yazı: Plus Jakarta Sans (800/700 başlık, 600 menü ve düğme, 400-500 gövde).
   Bölüm partial'ları kendi partials.css sınıflarıyla biçimleniyor; tohumdaki
   sabit bölüm kimlikleri (sec_home_*) buranın kancaları.
   ───────────────────────────────────────────────────────────────────────── */
:root {
  --ms-green: #36aa71;
  --ms-green-dark: #268257;
  --ms-green-soft: #eaf6f0;
  --ms-ink: #16241d;
  --ms-body: #222222;
  --ms-muted: #6d7b76;
  --ms-surface: #f3f7f7;
  --ms-line: #e6ebe9;
  --ms-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ms-radius: 12px;
}

body.theme-mesken { font-family: var(--ms-sans); color: var(--ms-body); line-height: 1.7; font-size: 15px; background: #fff; }
.theme-mesken h1, .theme-mesken h2, .theme-mesken h3, .theme-mesken h4 { font-family: var(--ms-sans); color: var(--ms-ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.theme-mesken a { color: var(--ms-ink); text-decoration: none; }
.theme-mesken a:hover { color: var(--ms-green); }
.theme-mesken .container { max-width: var(--site-section-max-width, 1290px); width: min(1290px, 92%); margin-inline: auto; }
.theme-mesken img { max-width: 100%; }
.theme-mesken .page-content { opacity: 1 !important; }

/* ── Düğmeler: hap biçimli, yeşil dolgu ya da ince çerçeve ─────────────── */
.theme-mesken .ms-btn,
.theme-mesken .cms-section-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--ms-sans); font-weight: 600; font-size: 0.875rem; line-height: 1.2;
  padding: 0.78rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.theme-mesken .ms-btn-primary, .theme-mesken .cms-section-btn { background: var(--ms-green); border-color: var(--ms-green); color: #fff; }
.theme-mesken a.cms-section-btn { color: #fff; }
.theme-mesken .ms-btn-primary:hover, .theme-mesken .cms-section-btn:hover { background: var(--ms-green-dark); border-color: var(--ms-green-dark); color: #fff; transform: translateY(-1px); }
.theme-mesken .ms-btn-ghost { background: #fff; border-color: var(--ms-line); color: var(--ms-ink); }
.theme-mesken .ms-btn-ghost:hover { border-color: var(--ms-green); color: var(--ms-green); }

/* ── Başlık ────────────────────────────────────────────────────────────── */
.ms-topbar .header-top-bar { font-family: var(--ms-sans); font-size: 0.8rem !important; border-bottom: 1px solid var(--ms-line); }
.ms-header { background: var(--header-bg-normal, #fff); position: relative; z-index: 40; border-bottom: 1px solid var(--ms-line); transition: box-shadow 0.25s ease; }
.ms-header.is-sticky { position: sticky; top: 0; }
.ms-header.is-scrolled { box-shadow: 0 8px 30px rgba(22, 36, 29, 0.08); }
.ms-header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 86px; }
.ms-header-logo { flex: 0 0 auto !important; min-width: max-content; }
.ms-header-logo .site-logo img { display: block; max-height: var(--header-logo-height, 40px); width: auto; }
.ms-header-logo .site-logo-text { font-weight: 800; font-size: 1.5rem; color: var(--ms-ink); }
.ms-header-nav { display: flex; align-items: center; justify-content: center; min-width: 0; }
.ms-header-nav .nav-link { font-weight: 600; font-size: 0.9rem; color: var(--ms-ink); padding: 0.5rem 0.85rem; white-space: nowrap; }
.ms-header-nav .nav-link:hover, .ms-header-nav .nav-link.is-active { color: var(--ms-green); }
.ms-header-nav .nav-dropdown-menu { background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); box-shadow: 0 18px 40px rgba(22, 36, 29, 0.1); padding: 0.4rem; }
.ms-header-nav .nav-dropdown-item { color: var(--ms-ink); font-weight: 500; border-radius: 8px; }
.ms-header-nav .nav-dropdown-item:hover { background: var(--ms-green-soft); color: var(--ms-green-dark); }
.ms-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; flex-wrap: nowrap !important; }
.ms-header-actions .header-search-toggle { background: transparent !important; border: 0 !important; color: var(--ms-ink) !important; padding: 0 !important; font-size: 1.15rem; box-shadow: none !important; width: auto; }
.ms-header-actions .header-search-popover { border-radius: var(--ms-radius); border: 1px solid var(--ms-line); }
.ms-header-actions .locale-btn, .ms-header-actions .locale-select { font-weight: 600; font-size: 0.8rem; color: var(--ms-ink); }
.ms-header-actions .btn-primary {
  background: var(--ms-green) !important; border: 1px solid var(--ms-green) !important; color: #fff !important;
  border-radius: 999px !important; font-weight: 600; font-size: 0.85rem; padding: 0.7rem 1.35rem !important; box-shadow: none !important;
}
.ms-header-actions .btn-primary:hover { background: var(--ms-green-dark) !important; border-color: var(--ms-green-dark) !important; transform: none !important; }
/* Başlık düğmeleri makrodan doğrudan kardeş <a> olarak çıkıyor. İki düğme
   varsa ilki (telefon) çerçeveli kalıyor: yan yana iki dolu yeşil ağır durur. */
.ms-header-actions > a.btn-primary:first-of-type:not(:only-of-type) { background: #fff !important; color: var(--ms-ink) !important; border-color: var(--ms-line) !important; }
.ms-header-actions > a.btn-primary:first-of-type:not(:only-of-type):hover { border-color: var(--ms-green) !important; color: var(--ms-green) !important; background: #fff !important; }
.ms-header-actions .mobile-menu-btn { color: var(--ms-ink); }

/* ── Kapak (slider override) ───────────────────────────────────────────── */
.ms-hero { padding: 0; }
.ms-hero-stage { position: relative; border-radius: 18px; overflow: hidden; isolation: isolate; display: grid; }
.ms-hero-slide {
  grid-area: 1 / 1; background-size: cover; background-position: center; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 4rem 1.5rem; opacity: 0; transition: opacity 0.6s ease; pointer-events: none;
}
.ms-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.ms-hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 18, 0.42), rgba(10, 24, 18, 0.48)); }
.ms-hero-copy { position: relative; max-width: 780px; }
.ms-hero-title { margin: 0 0 0.6rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.ms-hero-sub { margin: 0; font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.ms-hero--search .ms-hero-slide { padding-bottom: 12rem; }
.ms-hero-search {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); z-index: 3;
  width: min(760px, calc(100% - 3rem)); background: rgba(18, 33, 26, 0.55); backdrop-filter: blur(6px);
  border-radius: 16px; padding: 1rem; display: grid; gap: 0.75rem; justify-items: center;
}
.ms-hero-tabs { display: inline-flex; background: rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 0.2rem; }
.ms-hero-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.ms-hero-tabs label { padding: 0.42rem 1.15rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; cursor: pointer; transition: background-color 0.2s ease; }
.ms-hero-tabs input:checked + label { background: var(--ms-green); }
.ms-hero-fields { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) auto; gap: 0.6rem; width: 100%; }
.ms-hero-fields input {
  min-width: 0; padding: 0.8rem 1.1rem; border-radius: 999px; border: 0; background: #fff;
  font: inherit; font-size: 0.9rem; color: var(--ms-ink);
}
.ms-hero-fields input::placeholder { color: #98a5a0; }
.ms-hero-fields .ms-btn { padding-inline: 2.1rem; }
.ms-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px;
  border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.85); color: var(--ms-ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.ms-hero-prev { left: 1.2rem; } .ms-hero-next { right: 1.2rem; }
.ms-hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0.9rem; display: flex; gap: 0.4rem; z-index: 3; }
.ms-hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.5); cursor: pointer; }
.ms-hero-dots button.is-active { background: #fff; width: 22px; }
.ms-hero--search .ms-hero-dots { display: none; }

/* ── Bölüm başlığı: yeşil üst etiket, koyu başlık, sönük alt metin ────── */
.theme-mesken .ms-head { text-align: center; max-width: 720px; margin: 0 auto; }
.theme-mesken .ms-eyebrow { color: var(--ms-green); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 0.7rem; }
.theme-mesken .ms-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.35rem); margin: 0 0 0.85rem; font-weight: 600; }
.theme-mesken .ms-head p { color: var(--ms-muted); margin: 0; font-size: 0.98rem; }
.theme-mesken .ms-section-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 600; margin: 0 0 1.4rem; }
.theme-mesken .ms-section-title small { display: block; font-size: 0.82rem; font-weight: 500; color: var(--ms-muted); margin-top: 0.2rem; }
.theme-mesken .cms-section-head { text-align: center; margin-bottom: 2rem; }
.theme-mesken .cms-section-heading { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }

/* ── İlan kartı (ms-card): ana sayfadaki elle kurulan ızgara kartları da
      aynı görünüme çekiliyor, böylece iki yerde tek dil var. ──────────── */
.theme-mesken .ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1.5rem; }
.theme-mesken .ms-card { background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.theme-mesken .ms-card:hover { box-shadow: 0 16px 40px rgba(22, 36, 29, 0.1); transform: translateY(-3px); }
.theme-mesken .ms-card-media { position: relative; aspect-ratio: 16 / 11; background: #eef2f1; overflow: hidden; }
/* Bağlantı kutuyu doldurmazsa img yüksekliği doğal boyuta düşüp gövdeye taşar. */
.theme-mesken .ms-card-media > a { position: absolute; inset: 0; display: block; }
.theme-mesken .ms-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-mesken .ms-card-noimage { position: absolute; inset: 0; display: grid; place-items: center; color: #9fb0ab; font-size: 0.8rem; }
.theme-mesken .ms-tag { position: absolute; top: 0.7rem; padding: 0.24rem 0.6rem; border-radius: 4px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.theme-mesken .ms-tag-featured { left: 0.7rem; background: var(--ms-green); }
.theme-mesken .ms-tag-listing { right: 0.7rem; background: rgba(22, 36, 29, 0.82); }
.theme-mesken .ms-tag-rent, .theme-mesken .ms-tag-daily_rent { background: rgba(22, 36, 29, 0.82); }
/* Künye bandındaki etiketler kart rozeti değil, satır içi duruyor: kartlardaki
   mutlak konumlandırmanın burada tutunacağı bir kap yok. */
.theme-mesken .section-property-header .ms-tag { position: static; display: inline-block; margin: 0 0.3rem 0.5rem 0; }
.theme-mesken .ms-card-sold { position: absolute; inset: auto 0 0 0; padding: 0.4rem; background: rgba(22, 36, 29, 0.86); color: #fff; text-align: center; font-size: 0.75rem; font-weight: 600; }
.theme-mesken .ms-fav { position: absolute; right: 0.7rem; bottom: 0.7rem; width: 34px; height: 34px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ms-muted); font-size: 1rem; cursor: pointer; }
.theme-mesken .ms-fav[aria-pressed="true"] { color: #e05252; }
.theme-mesken .ms-card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.theme-mesken .ms-card-type { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-muted); }
.theme-mesken .ms-card-price { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ms-ink); }
.theme-mesken .ms-card-price small { font-size: 0.8rem; font-weight: 500; color: var(--ms-muted); }
.theme-mesken .ms-card-title { margin: 0.15rem 0 0; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.theme-mesken .ms-card-place { margin: 0; font-size: 0.85rem; color: var(--ms-muted); display: flex; align-items: center; gap: 0.35rem; }
.ms-pin { width: 10px; height: 10px; border-radius: 999px 999px 999px 2px; border: 2px solid var(--ms-green); transform: rotate(-45deg); flex: 0 0 auto; }
.theme-mesken .ms-card-specs { display: flex; flex-wrap: wrap; gap: 0.9rem; list-style: none; padding: 0.7rem 0 0; margin: auto 0 0; font-size: 0.82rem; color: var(--ms-muted); }
.theme-mesken .ms-spec { display: flex; align-items: center; gap: 0.3rem; }
.theme-mesken .ms-spec-room::before, .theme-mesken .ms-spec-bath::before,
.theme-mesken .ms-spec-garage::before, .theme-mesken .ms-spec-area::before { content: ''; width: 16px; height: 12px; flex: 0 0 auto; background: currentColor; opacity: 0.65; }
.theme-mesken .ms-spec-room::before { -webkit-mask: var(--ms-icon-bed) center/contain no-repeat; mask: var(--ms-icon-bed) center/contain no-repeat; }
.theme-mesken .ms-spec-bath::before { -webkit-mask: var(--ms-icon-bath) center/contain no-repeat; mask: var(--ms-icon-bath) center/contain no-repeat; }
.theme-mesken .ms-spec-garage::before { -webkit-mask: var(--ms-icon-car) center/contain no-repeat; mask: var(--ms-icon-car) center/contain no-repeat; }
.theme-mesken .ms-spec-area::before { -webkit-mask: var(--ms-icon-area) center/contain no-repeat; mask: var(--ms-icon-area) center/contain no-repeat; }
:root {
  --ms-icon-bed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 2v14M2 8h20v8M22 12H2M6 5h5v3H6z'  fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --ms-icon-bath: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 9h20v3a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4zM6 9V4a2 2 0 0 1 4 0' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --ms-icon-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M3 12h18v4H3zM5 12l2-6h10l2 6M7 16v1M17 16v1' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --ms-icon-area: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M3 3h18v12H3zM3 9h18M12 3v12' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}
.theme-mesken .ms-card-foot { display: flex; gap: 0.4rem; padding: 0.85rem 1.2rem; border-top: 1px solid var(--ms-line); flex-wrap: wrap; }
.theme-mesken .ms-chip { flex: 1 1 auto; text-align: center; padding: 0.45rem 0.6rem; border: 1px solid var(--ms-line); border-radius: 8px; font-size: 0.78rem; font-weight: 600; color: var(--ms-green-dark); white-space: nowrap; }
.theme-mesken .ms-chip:hover { border-color: var(--ms-green); background: var(--ms-green-soft); }
.theme-mesken .ms-empty { padding: 3rem 0; text-align: center; color: var(--ms-muted); }

/* ── İlan listesi ──────────────────────────────────────────────────────── */
.ms-list-hero { background: var(--ms-surface); padding: 2.4rem 0 2rem; }
.ms-list-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin: 0.5rem 0 0.35rem; font-weight: 600; }
.ms-list-hero p { margin: 0; color: var(--ms-muted); font-size: 0.9rem; }
.ms-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: var(--ms-muted); }
.ms-breadcrumb a { color: var(--ms-muted); }
.ms-breadcrumb a:hover { color: var(--ms-green); }
.ms-filterbar { background: #fff; border-bottom: 1px solid var(--ms-line); padding: 1.1rem 0; position: relative; z-index: 5; }
.ms-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ms-filters input, .ms-filters select {
  flex: 1 1 150px; min-width: 0; padding: 0.68rem 0.95rem; border: 1px solid var(--ms-line);
  border-radius: 999px; background: #fff; font: inherit; font-size: 0.86rem; color: var(--ms-ink);
}
.ms-filters .ms-filter-q { flex: 2 1 220px; }
.ms-filters .ms-filter-num { flex: 0 1 130px; }
.ms-filters select:disabled, .ms-filters option:disabled { color: #b5c0bc; }
.ms-filters .ms-btn { flex: 0 0 auto; }
.ms-list { padding: 2.2rem 0 3.5rem; }
.ms-list-count { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center; color: var(--ms-muted); font-size: 0.86rem; margin: 0 0 1.2rem; }
.ms-fav-link { color: var(--ms-green-dark); font-weight: 600; }
.ms-pagination { display: flex; gap: 0.35rem; justify-content: center; margin-top: 2.4rem; }
.ms-pagination a, .ms-pagination-gap { padding: 0.5rem 0.85rem; border-radius: 999px; border: 1px solid var(--ms-line); font-size: 0.85rem; font-weight: 600; }
.ms-pagination a.is-current { background: var(--ms-green); border-color: var(--ms-green); color: #fff; }
.ms-fav-actions { margin-top: 1.6rem; }

/* ── İlan detayı ───────────────────────────────────────────────────────── */
.ms-detail { padding: 1.6rem 0 3.5rem; }
.ms-detail-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-end; margin: 1rem 0 1.4rem; }
.ms-detail-head-main { flex: 1 1 420px; position: relative; }
.ms-detail-head .ms-tag { position: static; display: inline-block; margin: 0 0.3rem 0.6rem 0; }
.ms-detail-head .ms-tag-sold { background: #c0392b; }
.ms-detail-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 0.4rem; font-weight: 600; }
.ms-detail-place { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; color: var(--ms-muted); font-size: 0.9rem; margin: 0; }
.ms-detail-ref { margin-left: 0.4rem; padding: 0.16rem 0.55rem; border: 1px solid var(--ms-line); border-radius: 999px; font-size: 0.75rem; }
.ms-detail-head-side { text-align: right; }
.ms-detail-price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--ms-green-dark); margin: 0; }
.ms-detail-price small { font-size: 0.85rem; font-weight: 500; color: var(--ms-muted); }
.ms-detail-unit { margin: 0.2rem 0 0.6rem; font-size: 0.82rem; color: var(--ms-muted); }
.ms-fav-inline[aria-pressed="true"] { color: #e05252; border-color: #f0c9c9; }
.ms-gallery { display: grid; gap: 0.6rem; margin-bottom: 2rem; }
.ms-gallery-main { border-radius: var(--ms-radius); overflow: hidden; aspect-ratio: 16 / 8; background: #eef2f1; }
.ms-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-gallery-thumbs { display: flex; gap: 0.55rem; overflow-x: auto; padding-bottom: 0.25rem; }
.ms-gallery-thumb { flex: 0 0 108px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.ms-gallery-thumb.is-active { border-color: var(--ms-green); }
.ms-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Düzen Site Ayarları → Emlak'taki bölüm sırasından geliyor: her `property_*`
   bölümü kendi <section>'ı ve .container'ıyla düz bir yığın hâlinde basılıyor.
   Panellerin alt boşluğu bölüm arasını da açıyor, ayrı bir kurala gerek yok. */
.ms-panel { background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); padding: 1.5rem 1.6rem; margin-bottom: 1.2rem; }
.ms-panel h2 { font-size: 1.15rem; font-weight: 600; margin: 0 0 1rem; }
.ms-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.1rem 1.5rem; margin: 0; }
.ms-specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.62rem 0; border-bottom: 1px solid var(--ms-line); }
.ms-specs dt { color: var(--ms-muted); font-size: 0.86rem; margin: 0; }
.ms-specs dd { margin: 0; font-weight: 600; font-size: 0.9rem; color: var(--ms-ink); }
.ms-prose { font-size: 0.95rem; }
.ms-prose p { margin: 0 0 0.9rem; }
.ms-feature-group { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-muted); margin: 1.1rem 0 0.6rem; }
.ms-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.4rem 1rem; list-style: none; padding: 0; margin: 0; font-size: 0.88rem; }
.ms-features li { display: flex; align-items: center; gap: 0.45rem; }
.ms-features li::before { content: ''; width: 15px; height: 15px; border-radius: 999px; background: var(--ms-green-soft); border: 1px solid var(--ms-green); flex: 0 0 auto; }
.ms-media-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0; }
.ms-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--ms-line); }
.ms-map iframe { width: 100%; height: 320px; border: 0; display: block; }
.ms-note { font-size: 0.8rem; color: var(--ms-muted); margin: 0.6rem 0 0; }
/* Yan sütun kalktı: danışman kartı ve talep formu tam genişlikte, yatay okunuyor. */
.section-property-agent .ms-agent-card,
.section-property-lead .ms-lead { margin-bottom: 1.2rem; }
.section-property-agent .ms-agent-card { grid-template-columns: 64px minmax(0, 1fr) auto; }
.section-property-agent .ms-agent-links { grid-column: auto; }
.section-property-lead .ms-lead form { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0.9rem; }
.section-property-lead .ms-lead textarea,
.section-property-lead .ms-lead small { grid-column: 1 / -1; }
.section-property-lead .ms-lead button { grid-column: 1 / -1; justify-self: start; padding-inline: 2.4rem; }
.ms-agent-card { background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); padding: 1.3rem; display: grid; grid-template-columns: 64px 1fr; gap: 0.9rem; align-items: center; }
.ms-agent-photo { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; }
.ms-agent-card strong { display: block; font-size: 1rem; }
.ms-agent-title, .ms-agent-office { display: block; font-size: 0.8rem; color: var(--ms-muted); }
.ms-agent-links { grid-column: 1 / -1; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.ms-agent-links .ms-btn { flex: 1 1 auto; padding: 0.55rem 0.9rem; font-size: 0.8rem; }
.ms-lead { background: var(--ms-surface); border-radius: var(--ms-radius); padding: 1.4rem; }
.ms-lead h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 0.9rem; }
.ms-lead form { display: grid; gap: 0.5rem; }
.ms-lead input, .ms-lead textarea { width: 100%; padding: 0.72rem 1rem; border: 1px solid var(--ms-line); border-radius: 12px; background: #fff; font: inherit; font-size: 0.88rem; }
.ms-lead textarea { border-radius: 12px; resize: vertical; }
.ms-lead small { color: var(--ms-muted); font-size: 0.76rem; }
.ms-lead-hp { position: absolute; left: -9999px; }
.ms-lead-ok { color: var(--ms-green-dark); font-weight: 600; margin: 0; }
.ms-lead-error { color: #c0392b; margin: 0 0 0.6rem; }
.ms-similar { margin-top: 2.6rem; }

/* ── Danışman, favoriler, proje ────────────────────────────────────────── */
.ms-agent-hero { background: var(--ms-surface); padding: 2.2rem 0 2.4rem; }
.ms-agent-hero-inner { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; margin-top: 1rem; }
.ms-agent-hero-photo { width: 128px; height: 128px; border-radius: 999px; object-fit: cover; border: 4px solid #fff; }
.ms-agent-hero h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 0.2rem; font-weight: 600; }
.ms-agent-hero-title { color: var(--ms-green-dark); font-weight: 600; margin: 0 0 0.8rem; font-size: 0.9rem; }
.ms-agent-hero-bio { max-width: 620px; color: var(--ms-muted); margin: 0.9rem 0 0; font-size: 0.9rem; }
.ms-page-hero { background: var(--ms-surface); padding: 2.4rem 0 2.6rem; }
.ms-page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0.6rem 0 0.4rem; font-weight: 600; }
.ms-page-lead { color: var(--ms-muted); margin: 0; max-width: 640px; }
.ms-grid-projects { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ms-card-project .ms-card-price small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ms-muted); }
.ms-tag-project { right: auto; left: 0.7rem; background: var(--ms-green); }
.ms-tag-completed { background: var(--ms-ink); }
.ms-project-page { padding-top: 1.4rem; }

/* ── Ana sayfa: öne çıkan ilanlar (elle kurulan ızgara) ────────────────── */
.section-grid:has(#sec_home_featured) .cms-grid-card,
.section-grid:has(#sec_home_latest) .cms-grid-card,
.section-grid:has(#sec_team_grid) .cms-grid-card { border: 1px solid var(--ms-line); border-radius: var(--ms-radius) !important; overflow: hidden; box-shadow: none; text-align: left; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.section-grid:has(#sec_home_featured) .cms-grid-card:hover,
.section-grid:has(#sec_home_latest) .cms-grid-card:hover { box-shadow: 0 16px 40px rgba(22, 36, 29, 0.1); transform: translateY(-3px); }
.section-grid:has(#sec_home_featured) .cms-grid-card-media,
.section-grid:has(#sec_home_latest) .cms-grid-card-media { aspect-ratio: 16 / 11; }
.section-grid:has(#sec_home_featured) .cms-grid-card-body,
.section-grid:has(#sec_home_latest) .cms-grid-card-body,
.section-grid:has(#sec_team_grid) .cms-grid-card-body { padding: 1.1rem 1.2rem 1.2rem; gap: 0.3rem; justify-content: flex-start; }
.section-grid:has(#sec_home_featured) .cms-grid-card-title,
.section-grid:has(#sec_home_latest) .cms-grid-card-title,
.section-grid:has(#sec_team_grid) .cms-grid-card-title { font-size: 1.02rem; font-weight: 600; margin: 0.1rem 0; order: 3; }
.section-grid:has(#sec_home_featured) .cms-grid-card-desc,
.section-grid:has(#sec_home_latest) .cms-grid-card-desc,
.section-grid:has(#sec_team_grid) .cms-grid-card-desc { font-size: 0.85rem; opacity: 1; display: contents; }
.section-grid:has(#sec_home_featured) .ms-i-type, .section-grid:has(#sec_home_latest) .ms-i-type { order: 1; }
.section-grid:has(#sec_home_featured) .ms-i-price, .section-grid:has(#sec_home_latest) .ms-i-price { order: 2; }
.section-grid:has(#sec_home_featured) .ms-i-place, .section-grid:has(#sec_home_latest) .ms-i-place { order: 4; }
.section-grid:has(#sec_home_featured) .ms-i-specs, .section-grid:has(#sec_home_latest) .ms-i-specs { order: 5; margin-top: 0.55rem; }
/* Ekibimiz kartında portre kare, künye satırı yeşil bağlantı gibi durur. */
.section-grid:has(#sec_team_grid) .cms-grid-card-media { aspect-ratio: 1 / 1; }
.section-grid:has(#sec_team_grid) .cms-grid-card-title { order: 1; }
.section-grid:has(#sec_team_grid) .ms-i-place { order: 2; }
.section-grid:has(#sec_team_grid) .ms-i-specs { order: 3; }
.section-grid:has(#sec_team_grid) .ms-i-specs { color: var(--ms-green-dark); font-weight: 600; border-top: 0; padding-top: 0.2rem; }

/* Hakkımızda sayısal kartları: çerçevesiz, ortalanmış. */
.section-grid:has(#sec_about_stats) .cms-grid-card { background: transparent !important; border: 0; box-shadow: none; }
.section-grid:has(#sec_about_stats) .cms-grid-card-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--ms-green-dark); margin: 0; }
.section-grid:has(#sec_about_stats) .cms-grid-card-desc { color: var(--ms-muted); opacity: 1; font-size: 0.88rem; }

/* Hizmet sayfasındaki ikonlu kartlar. */
.section-grid:has(#sec_services_grid) .cms-grid-card { text-align: left; border-radius: var(--ms-radius) !important; }
.section-grid:has(#sec_services_grid) .cms-grid-card-icon { padding: 1.6rem 1.7rem 0; font-size: 2.4rem; text-align: left; }
.section-grid:has(#sec_services_grid) .cms-grid-card-icon-glyph { color: var(--ms-green); }
.section-grid:has(#sec_services_grid) .cms-grid-card-body { padding: 0.9rem 1.7rem 1.7rem; justify-content: flex-start; }
.section-grid:has(#sec_services_grid) .cms-grid-card-title { font-size: 1.15rem; font-weight: 600; }
.section-grid:has(#sec_services_grid) .cms-grid-card-desc { color: var(--ms-muted); opacity: 1; }

/* İletişim ve hakkımızda sayfasındaki ofis kutuları. */
.theme-mesken .ms-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.theme-mesken .ms-offices > div { background: var(--ms-surface); border-radius: var(--ms-radius); padding: 1.4rem 1.5rem; }
.theme-mesken .ms-offices h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.5rem; }
.theme-mesken .ms-offices p { margin: 0; color: var(--ms-muted); font-size: 0.9rem; line-height: 1.8; }
.theme-mesken .ms-i-type { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-muted); }
.theme-mesken .ms-i-price { font-size: 1.15rem; font-weight: 700; color: var(--ms-ink); }
.theme-mesken .ms-i-place { color: var(--ms-muted); font-size: 0.85rem; }
.theme-mesken .ms-i-specs { color: var(--ms-muted); font-size: 0.82rem; padding-top: 0.5rem; border-top: 1px solid var(--ms-line); margin-top: 0.35rem; }

/* ── Ana sayfa: hizmet kartları (ikonlu, çerçevesiz) ───────────────────── */
.section-grid:has(#sec_home_services) .cms-grid-card { background: transparent !important; border: 0; box-shadow: none; text-align: center; padding: 0 1rem; }
.section-grid:has(#sec_home_services) .cms-grid-card-icon { padding: 0 0 1rem; font-size: 3rem; }
.section-grid:has(#sec_home_services) .cms-grid-card-icon-glyph, .section-grid:has(#sec_home_services) .cms-grid-card-icon span { color: var(--ms-green); }
.section-grid:has(#sec_home_services) .cms-grid-card-body { padding: 0; align-items: center; }
.section-grid:has(#sec_home_services) .cms-grid-card-title { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.6rem; }
.section-grid:has(#sec_home_services) .cms-grid-card-desc { color: var(--ms-muted); font-size: 0.92rem; opacity: 1; }

/* ── Ana sayfa: satış çağrısı bloğu (açık kart, görsel sağda) ──────────── */
/* Blok partial'ı ızgarayı satır içi stille kuruyor; kart görünümü için yalnız
   dış kabuk ve dolgular geçersiz kılınıyor. image-right düzeninde DOM sırası
   görsel → metin, görünen sıra ise metin → görsel. */
#sec_home_sell .block-grid { background: var(--ms-surface); border-radius: 18px; overflow: hidden; gap: 0 !important; align-items: stretch !important; }
#sec_home_sell .block-grid > div:last-child { padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
#sec_home_sell .block-grid > div:first-child { min-height: 320px; }
#sec_home_sell .block-grid > div:first-child img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
#sec_home_sell h2 { font-weight: 600 !important; margin-bottom: 0.9rem !important; }
#sec_home_sell .page-content { opacity: 1 !important; color: var(--ms-muted); }

/* ── Ana sayfa: şehir kartları (dikey, üstte ad, altta bağlantı) ───────── */
.section-grid:has(#sec_home_cities) .cms-grid-card { position: relative; border: 0; border-radius: var(--ms-radius) !important; overflow: hidden; box-shadow: none; min-height: 420px; }
.section-grid:has(#sec_home_cities) .cms-grid-card:nth-child(even) { margin-top: 2.6rem; }
.section-grid:has(#sec_home_cities) .cms-grid-card-media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.section-grid:has(#sec_home_cities) .cms-grid-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 18, 0.62), rgba(10, 24, 18, 0.12) 42%, rgba(10, 24, 18, 0.66)); }
.section-grid:has(#sec_home_cities) .cms-grid-card-media > a { position: absolute; inset: 0; display: block; }
.section-grid:has(#sec_home_cities) .cms-grid-card-body { position: relative; z-index: 2; padding: 1.4rem 1.5rem; height: 100%; justify-content: space-between; }
.section-grid:has(#sec_home_cities) .cms-grid-card-title { order: 1; color: #fff; font-size: 1.5rem; font-weight: 600; margin: 0; }
.section-grid:has(#sec_home_cities) .cms-grid-card-title a { color: #fff; }
.section-grid:has(#sec_home_cities) .cms-grid-card-desc { order: 2; margin-top: auto; color: rgba(255, 255, 255, 0.9); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: 1; }

/* ── Ana sayfa: referanslar — kart görseli yuvarlak portreye indiriliyor ─ */
.section-grid:has(#sec_home_reviews) { background: var(--ms-surface); }
.section-grid:has(#sec_home_reviews) .cms-grid-card { border: 0; border-radius: var(--ms-radius) !important; box-shadow: 0 10px 30px rgba(22, 36, 29, 0.06); border-bottom: 3px solid var(--ms-green); text-align: left; padding: 1.7rem; }
.section-grid:has(#sec_home_reviews) .cms-grid-card-media { width: 52px; height: 52px; aspect-ratio: 1; border-radius: 999px; flex: 0 0 auto; }
.section-grid:has(#sec_home_reviews) .cms-grid-card-body { padding: 0.95rem 0 0; justify-content: flex-start; }
.section-grid:has(#sec_home_reviews) .cms-grid-card-title { font-size: 1rem; font-weight: 600; margin: 0 0 0.1rem; }
.section-grid:has(#sec_home_reviews) .cms-grid-card-desc { opacity: 1; display: flex; flex-direction: column; gap: 0.65rem; }
.theme-mesken .ms-role { color: var(--ms-green-dark); font-size: 0.8rem; font-weight: 600; }
.theme-mesken .ms-quote { color: var(--ms-muted); font-size: 0.93rem; line-height: 1.65; }

/* ── Sıkça sorulanlar: ortalanmış başlık, çerçeveli satırlar, kendi işareti ─ */
.theme-mesken .section-faq-title { text-align: center; font-weight: 600 !important; margin-bottom: 2rem !important; }
.theme-mesken .section-faq-list { max-width: 860px; margin-inline: auto; }
.theme-mesken .section-faq-item { border: 1px solid var(--ms-line) !important; border-radius: var(--ms-radius); margin-bottom: 0.6rem; background: #fff; padding: 0 !important; }
.theme-mesken .section-faq-item .faq-question { list-style: none; padding: 1.05rem 3rem 1.05rem 1.3rem; position: relative; color: var(--ms-ink); }
.theme-mesken .section-faq-item .faq-question::-webkit-details-marker { display: none; }
.theme-mesken .section-faq-item .faq-question::after {
  content: ''; position: absolute; right: 1.3rem; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ms-green); border-bottom: 2px solid var(--ms-green);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.theme-mesken .section-faq-item[open] .faq-question::after { transform: translateY(-30%) rotate(-135deg); }
.theme-mesken .section-faq-item .faq-answer { color: var(--ms-muted); padding: 0 1.3rem 1.2rem; opacity: 1 !important; }

/* ── İç sayfa metni ────────────────────────────────────────────────────── */
.theme-mesken textarea, .theme-mesken .cms-form-control[rows] { border-radius: 14px !important; }
.theme-mesken .section-page-body { padding: 2.5rem 0 3rem; }
.theme-mesken .page-content h2 { font-size: 1.6rem; margin: 1.8rem 0 0.8rem; font-weight: 600; }
.theme-mesken .page-content h3 { font-size: 1.2rem; margin: 1.4rem 0 0.6rem; font-weight: 600; }

/* ── Alt bilgi ─────────────────────────────────────────────────────────── */
.ms-footer { background: var(--ms-surface); color: var(--ms-ink); padding-top: 3.4rem; }
.ms-footer .footer-heading, .ms-footer .footer-col-title { font-size: 1.05rem; font-weight: 700; color: var(--ms-ink); margin-bottom: 1rem; }
.ms-footer .footer-link, .ms-footer a { color: var(--ms-body); font-size: 0.9rem; }
.ms-footer .footer-link:hover, .ms-footer a:hover { color: var(--ms-green); }
.ms-footer .footer-links li { margin-bottom: 0.5rem; }
.ms-footer .footer-desc { color: var(--ms-muted); font-size: 0.9rem; }
.ms-footer .footer-logo-text { font-weight: 800; font-size: 1.4rem; color: var(--ms-ink); }
.ms-footer .cms-form-control, .ms-footer input[type="email"] { border: 1px solid var(--ms-line); border-radius: 999px; padding: 0.7rem 1.1rem; background: #fff; font: inherit; font-size: 0.88rem; }
.ms-footer .btn-primary { background: var(--ms-green) !important; border-color: var(--ms-green) !important; color: #fff !important; border-radius: 999px !important; font-weight: 600; }
.ms-footer .social-icon { color: var(--ms-ink); }
.ms-footer .social-icon:hover { color: var(--ms-green); }
.ms-footer-bar { border-top: 1px solid var(--ms-line); margin-top: 2.6rem; padding: 1.2rem 0; font-size: 0.85rem; }
.ms-footer-bar .footer-bottom { color: var(--ms-muted); }
.ms-footer-bar .footer-powered { color: var(--ms-muted); }

/* ── Duyarlılık ────────────────────────────────────────────────────────── */
/* Orta genişlikte menü ile logo/eylemler çakışıyordu: önce menü aralıkları
   daralıyor, sonra telefon düğmesi çekiliyor. */
@media (max-width: 1320px) {
  .ms-header-nav { overflow: hidden; }
  .ms-header-nav .nav-link { padding: 0.5rem 0.6rem; font-size: 0.86rem; }
  .ms-header-actions { gap: 0.55rem; }
  .ms-header-actions .btn-primary { padding: 0.65rem 1.1rem !important; }
}
@media (max-width: 1200px) {
  .ms-header-actions > a.btn-primary:first-of-type:not(:only-of-type) { display: none; }
}
@media (max-width: 1024px) {
  .section-property-agent .ms-agent-card { grid-template-columns: 64px minmax(0, 1fr); }
  .section-property-agent .ms-agent-links { grid-column: 1 / -1; }
  .section-property-lead .ms-lead form { grid-template-columns: 1fr; }
  .section-grid:has(#sec_home_cities) .cms-grid-card:nth-child(even) { margin-top: 0; }
}
@media (max-width: 900px) {
  .ms-header-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 70px; }
  .ms-header-nav { display: none; }
  .ms-header-actions { gap: 0.5rem; }
  .ms-header-actions .btn-primary { padding: 0.55rem 1rem !important; font-size: 0.8rem; }
  /* Telefon düğmesi dar başlıkta yer kaplıyor; numara zaten alt bilgide ve
     ilan kartlarında duruyor. */
  .ms-header-actions > a.btn-primary:first-of-type:not(:only-of-type) { display: none; }
  .ms-hero-fields { grid-template-columns: minmax(0, 1fr); }
  .ms-hero--search .ms-hero-slide { padding-bottom: 16rem; }
  .ms-hero-search { bottom: 1.2rem; padding: 0.8rem; }
  .ms-hero-nav { display: none; }
  .ms-detail-head-side { text-align: left; }
}
@media (max-width: 640px) {
  .theme-mesken .ms-grid, .theme-mesken .property-grid { grid-template-columns: minmax(0, 1fr); }
  .ms-header-actions .locale-switcher { display: none; }
  .ms-header-actions > a.btn-primary { padding: 0.5rem 0.95rem !important; font-size: 0.78rem; }
  .ms-hero-stage { border-radius: 12px; }
  .ms-hero-tabs label { padding: 0.36rem 0.8rem; font-size: 0.72rem; }
  .ms-card-foot .ms-chip { flex: 1 1 100%; }
  .ms-gallery-main { aspect-ratio: 4 / 3; }
}


/* ── Proje sayfası — bölümler çekirdek project_* partial'larından geliyor,
      biçimi tema veriyor (tema başka bir temanın CSS'ini devralmaz). ─────── */
.theme-mesken .project-hero { padding: 1.4rem 0 0; }
.theme-mesken .project-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.theme-mesken .project-hero-media { position: relative; border-radius: var(--ms-radius); overflow: hidden; background: #eef2f1; aspect-ratio: 16 / 10; }
.theme-mesken .project-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-mesken .project-hero-body h1 { margin: 0.4rem 0 0.3rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.theme-mesken .project-developer { margin: 0; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-green-dark); }
.theme-mesken .project-location { margin: 0.25rem 0 0; color: var(--ms-muted); font-size: 0.9rem; }
.theme-mesken .project-summary { margin: 0.85rem 0 0; color: var(--ms-muted); }
.theme-mesken .project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 0.65rem; margin: 1.4rem 0 0; }
.theme-mesken .project-facts div { background: var(--ms-surface); border-radius: 10px; padding: 0.7rem 0.9rem; }
.theme-mesken .project-facts dt { font-size: 0.74rem; color: var(--ms-muted); }
.theme-mesken .project-facts dd { margin: 0.15rem 0 0; font-weight: 700; color: var(--ms-ink); }
.theme-mesken .project-hero-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.theme-mesken .project-btn { display: inline-flex; align-items: center; padding: 0.72rem 1.5rem; border-radius: 999px; background: var(--ms-green); color: #fff; font-weight: 600; font-size: 0.86rem; border: 1px solid var(--ms-green); }
.theme-mesken .project-btn:hover { background: var(--ms-green-dark); border-color: var(--ms-green-dark); color: #fff; }
.theme-mesken .project-btn-ghost { background: #fff; color: var(--ms-ink); border-color: var(--ms-line); }
.theme-mesken .project-btn-ghost:hover { background: #fff; color: var(--ms-green); border-color: var(--ms-green); }

.theme-mesken .project-block { padding: 2.6rem 0 0; }
.theme-mesken .project-block h2 { font-size: 1.3rem; font-weight: 600; margin: 0 0 1.1rem; }
.theme-mesken .project-richtext { line-height: 1.75; }
.theme-mesken .project-richtext p { margin: 0 0 0.9rem; }
.theme-mesken .project-payment-text { line-height: 1.75; background: var(--ms-surface); border-radius: var(--ms-radius); padding: 1.2rem 1.4rem; }
/* Tip tablosu dar ekranda kendi içinde kayıyor; sayfa yana kaymıyor. */
.theme-mesken .project-table-wrap { overflow-x: auto; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); }
.theme-mesken .project-units-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.theme-mesken .project-units-table th, .theme-mesken .project-units-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--ms-line); vertical-align: middle; }
.theme-mesken .project-units-table tr:last-child td { border-bottom: 0; }
.theme-mesken .project-units-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ms-muted); font-weight: 600; background: var(--ms-surface); }
.theme-mesken .project-units-table td small { color: var(--ms-muted); }
.theme-mesken .project-plan-link img { border-radius: 6px; object-fit: cover; margin-right: 0.5rem; vertical-align: middle; }

.theme-mesken .project-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.85rem; }
.theme-mesken .project-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ms-radius); display: block; }

.theme-mesken .project-feature-group { margin-bottom: 1.1rem; }
.theme-mesken .project-feature-group h3 { font-size: 0.78rem; margin: 0 0 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-muted); font-weight: 600; }
.theme-mesken .project-feature-group ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.theme-mesken .project-feature-group li { background: var(--ms-green-soft); color: var(--ms-green-dark); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.82rem; font-weight: 500; }

.theme-mesken .project-map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--ms-radius); display: block; }

.theme-mesken .project-lead-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.6rem; max-width: 780px; }
.theme-mesken .project-lead-form textarea, .theme-mesken .project-lead-form small, .theme-mesken .project-lead-form button { grid-column: 1 / -1; }
.theme-mesken .project-lead-form input, .theme-mesken .project-lead-form textarea { padding: 0.75rem 1.05rem; border: 1px solid var(--ms-line); border-radius: 12px; font: inherit; font-size: 0.9rem; background: #fff; }
.theme-mesken .project-lead-form button { justify-self: start; padding: 0.78rem 1.9rem; border: 0; border-radius: 999px; background: var(--ms-green); color: #fff; font-weight: 600; cursor: pointer; }
.theme-mesken .project-lead-form small { color: var(--ms-muted); font-size: 0.78rem; }
.theme-mesken .property-lead-hp { position: absolute; left: -9999px; }
.theme-mesken .property-lead-ok { color: var(--ms-green-dark); font-weight: 600; }
.theme-mesken .property-lead-error { color: #c0392b; }

/* Projedeki ilanlar çekirdek partial'ından `property-grid` ile geliyor. */
.theme-mesken .property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1.5rem; }

@media (max-width: 900px) {
  .theme-mesken .project-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
