:root{
  --yaris-accent: #4caf50;
  --yaris-cta: #164d43;
  --card-bg: #ffffff;
  --muted: #9aa0a5;
  --text: #222;
}

/* Genel container - full width */
.yaris-listesi-wrap{
  width: 100% !important;
  max-width: none !important;
  margin: 40px 0;
  padding: 0;
  box-sizing: border-box;
}

/* Kart */
.yaris-listesi-wrap .yaris-item{
  display: flex;
  width: calc(100% - 160px) !important;
  margin: 0 80px 40px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(11,20,23,0.06);
  overflow: visible;
  border-left: 6px solid var(--yaris-accent);
  align-items: stretch;
  box-sizing: border-box;
}

/* Sol görsel blok */
.yaris-listesi-wrap .yaris-left{
  flex: 0 0 360px;
  min-width: 220px;
  position: relative;
  box-sizing: border-box;
}
.yaris-listesi-wrap .yaris-thumb{
  height: 285px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.yaris-listesi-wrap .yaris-badge{
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.yaris-listesi-wrap .yaris-date{
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--yaris-accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}

/* Sağ içerik */
.yaris-listesi-wrap .yaris-right{
  padding: 34px 44px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-sizing: border-box;
}

/* Başlık */
.yaris-listesi-wrap .yaris-title{
  margin: 0;
  font-size: 34px;
  color: var(--yaris-accent);
  font-weight: 700;
  line-height: 1;
}

/* Üst stat satırı - 3 sütun yan yana */
.yaris-listesi-wrap .yaris-stats{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: nowrap;
}
.yaris-listesi-wrap .yaris-stats .stat{
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
}
.yaris-listesi-wrap .yaris-stats .label{
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.yaris-listesi-wrap .yaris-stats .value{
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
}

/* Alt satır: sol = kalifikasyon, sağ = konum + buton (aynı satır) */
.yaris-listesi-wrap .yaris-bottom-stats{
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

/* Sol blok */
.yaris-listesi-wrap .bottom-left{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 420px;
  min-width: 180px;
  box-sizing: border-box;
}
.yaris-listesi-wrap .bottom-left .bottom-stat .label{
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.yaris-listesi-wrap .bottom-left .bottom-stat .value{
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}
.yaris-listesi-wrap .bottom-left .qualification img{
  height: 36px;
  display: block;
}

/* meta-left (ikon/puan) */
.yaris-listesi-wrap .meta-left{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* area-count badge */
.yaris-listesi-wrap .area-count{
  background: var(--yaris-accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(76,175,80,0.18);
  font-size: 15px;
  display: inline-block;
  line-height: 1;
}

/* Sağ blok: konum + buton */
.yaris-listesi-wrap .bottom-right{
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
  box-sizing: border-box;
}
.yaris-listesi-wrap .bottom-right .konum-block{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 160px;
}
.yaris-listesi-wrap .bottom-right .konum-block .label{
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.yaris-listesi-wrap .bottom-right .konum-block .value{
  font-weight: 700;
  color: var(--text);
  font-size: 18px;
}

/* CTA */
.yaris-listesi-wrap .yaris-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.yaris-listesi-wrap .yaris-cta .button{
  background: var(--yaris-cta);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
  font-size: 15px;
  border: none;
}

/* responsive */
@media (max-width: 1100px){
  .yaris-listesi-wrap .yaris-item{ width: calc(100% - 80px) !important; margin: 0 40px 40px; }
  .yaris-listesi-wrap .yaris-left{ flex: 0 0 320px; }
  .yaris-listesi-wrap .yaris-thumb{ height: 220px; }
  .yaris-listesi-wrap .bottom-right .konum-block{ min-width: 140px; }
}

@media (max-width: 880px){
  .yaris-listesi-wrap .yaris-item{
    flex-direction: column;
    width: calc(100% - 40px) !important;
    margin: 0 20px 30px;
  }
  .yaris-listesi-wrap .yaris-left{
    width: 100%;
    flex: 0 0 auto;
  }
  .yaris-listesi-wrap .yaris-thumb{
    height: 200px;
    border-radius: 10px 10px 0 0;
  }
  .yaris-listesi-wrap .yaris-right{
    padding: 18px 20px;
  }
  .yaris-listesi-wrap .yaris-stats{
    flex-direction: column;
    gap: 12px;
  }
  .yaris-listesi-wrap .yaris-bottom-stats{
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .yaris-listesi-wrap .bottom-right{
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    align-items: center;
  }
  .yaris-listesi-wrap .bottom-right .konum-block{
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }
  .yaris-listesi-wrap .yaris-cta .button{
    width: 48%;
    min-width: 160px;
  }
}

/* Specificity fallbacks in case the theme overrides styles */
.yaris-listesi-wrap .yaris-item .yaris-right .yaris-stats .value { color: var(--text) !important; }
.yaris-listesi-wrap .yaris-item .yaris-right .yaris-cta .button { background: var(--yaris-cta) !important; color: #fff !important; }

/* Mobil düzeltmeleri: Kalifikasyon / Konum / Buton sıkışık görünmesi için */
@media (max-width: 880px) {
  /* Sağ içerikte genel sıkıştırma */
  .yaris-right {
    padding: 14px 16px !important;
    gap: 10px !important;
    align-items: flex-start;
    justify-content: flex-start;
  }

  /* Üst stat satırı dikeyleştirildi, daha küçük boşluk */
  .yaris-stats {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
  .yaris-stats .stat { min-width: 0; }

  /* ALT SATIR: mümkün olduğunca yatay göster, ancak sığmazsa alt satıra geçer */
  .yaris-bottom-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;            /* sığmazsa alt satıra al */
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 6px !important;
  }

  /* Soldaki blok mobilde yüksekliğe yayılmasın */
  .bottom-left {
    flex: 0 1 auto !important;   /* büyümesini engelle */
    min-height: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .bottom-left .bottom-stat { margin: 0 !important; }
  .bottom-left .label { margin-bottom: 0.25rem; font-size: 12px; color: #9aa; }
  .bottom-left .value { font-size: 14px; }

  /* Kalifikasyon ikonu daha küçük */
  .bottom-left .qualification img,
  .qualification-small img {
    height: 28px !important;
    width: auto !important;
    display: inline-block;
  }

  /* Sağ blok: konum + buton aynı satırda; margin-left kaldır */
  .bottom-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 0 !important;
    white-space: nowrap;
  }
  .bottom-right .konum-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }
  .bottom-right .konum-block .label {
    margin-bottom: 4px;
    font-size: 12px;
    color: #9aa;
  }
  .bottom-right .konum-block .value {
    font-size: 15px;
    font-weight: 700;
  }

  /* Buton: daha kompakt, ama sığmazsa alt satıra gelmesi için max-width ayarı */
  .yaris-cta .button {
    padding: 10px 14px !important;
    font-size: 14px !important;
    white-space: nowrap;
    max-width: 48%;
  }

  /* Eğer çok dar ekran (örn <420px) ise buton alt satıra geçsin ve full width olsun */
  @media (max-width: 420px) {
    .bottom-right { flex-direction: column; align-items: flex-start; gap: 8px; }
    .yaris-cta .button { width: 100% !important; max-width: none !important; text-align: center; }
  }

  /* Görsel ve tarih/badge boyutlarını hafif küçült */
  .yaris-thumb { height: 160px !important; }
  .yaris-date { padding: 6px 10px !important; font-size: 13px !important; }
  .yaris-badge { padding: 6px 8px !important; font-size: 12px !important; }

  /* Genel label küçültmeleri */
  .yaris-stats .label,
  .bottom-left .label,
  .bottom-right .konum-block .label {
    font-size: 12px;
  }
}

/* Mobil: tüm içerikleri sola yasla (text-align & alignment) */
@media (max-width: 880px) {
  /* Sağ içerik blokunu sola hizala ve padding azalt */
  .yaris-right {
    padding-left: 16px !important;
    padding-right: 16px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Başlık ve üst istatistikleri sola yasla */
  .yaris-title {
    text-align: left !important;
    width: 100%;
    align-self: flex-start !important;
  }
  .yaris-stats,
  .yaris-stats .stat,
  .yaris-stats .label,
  .yaris-stats .value {
    text-align: left !important;
    align-self: flex-start !important;
  }

  /* Alt blok: kalifikasyon / konum / buton sola yaslansın, daha sıkışık görünüm */
  .yaris-bottom-stats {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .bottom-left,
  .bottom-left .bottom-stat,
  .bottom-left .label,
  .bottom-left .value {
    text-align: left !important;
    align-self: flex-start !important;
  }
  .bottom-right {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-left: 0 !important;
  }
  .bottom-right .konum-block,
  .bottom-right .konum-block .label,
  .bottom-right .konum-block .value {
    text-align: left !important;
    align-self: center !important;
  }

  /* Butonu sola hizala (karta göre biraz içerden) */
  .yaris-cta {
    align-self: flex-start !important;
    margin-top: 6px !important;
  }
  .yaris-cta .button {
    margin-left: 0 !important;
  }
}