
/* ── BASE POSTCARD STYLES ── Post List Card - TC SC MC MS */
    .ist-postcard {
      background: var(--ist-surface-2);
      border: 1px solid var(--ist-border-light);
      border-radius: var(--ist-radius-xl);
      overflow: hidden;
      box-shadow: var(--ist-shadow);
      transition: all var(--ist-transition);
      position: relative;
      display: flex;
      flex-direction: column;
      max-width: 400px;
      cursor: pointer;
      animation: ist-postcard-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .ist-postcard:hover {
      border-color: var(--ist-primary);
      box-shadow: var(--ist-glow), 0 0 0 1px var(--ist-primary-border);
      transform: translateY(-8px);
    }

@media (max-width: 401px) {
  .ist-postcard {
      width: 90% !important;
    margin-left:20px !important;
       margin-right:20px !important;
  }
}


    /* ── Image Container ── */
    .ist-postcard-image {
      position: relative;
      overflow: hidden;
        width: 100%;
     height: 150px;
      flex-shrink: 0;
    }

    .ist-postcard-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s var(--ist-ease-smooth);
      display: block;
    }

    .ist-postcard:hover .ist-postcard-image img {
      transform: scale(1.12);
    }

    .ist-postcard-image::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60%;
      background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 100%);
      pointer-events: none;
      z-index: 1;
    }

    /* ── Badge Overlay ── */
    .ist-postcard-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.6875rem;
      font-weight: var(--ist-font-bold);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: var(--ist-radius-full);
      background: rgba(251, 191, 36, 0.9);
      color: var(--ist-primary-fg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(251, 191, 36, 0.5);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      transition: all var(--ist-transition-fast);
    }

    .ist-postcard-badge .dot {
      width: 6px;
      height: 6px;
      background: currentColor;
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 8px currentColor;
    }

    /* ── Content Body ── */
    .ist-postcard-content {
      padding: var(--ist-space-3) var(--ist-space-3) var(--ist-space-8);
      display: flex;
      flex-direction: column;
      gap: var(--ist-space-3);
      flex: 1;
    }

    .ist-postcard-meta {
      display: flex;
      align-items: left;
      gap: var(--ist-space-4);
      font-size: 0.9rem;
      color: var(--ist-text-muted);
      font-weight: var(--ist-font-medium);
    }

    .ist-postcard-meta .meta-item {
      display: flex;
      align-items: left;
      gap: 6px;
    }

    .ist-postcard-meta svg {
      opacity: 0.7;
      color: var(--ist-primary);
    }

    .ist-postcard-meta-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--ist-text-muted);
      opacity: 0.5;
    }

    .ist-postcard-title {
      font-size: 1rem;
      font-weight: var(--ist-font-extrabold);
      color: var(--ist-primary);
      line-height: 1.3;
      letter-spacing: -0.01em;
    /*  margin: 0;*/
      text-wrap: balance;
      transition: color var(--ist-transition-fast);
    }

    .ist-postcard:hover .ist-postcard-title a:hover {
      color: var(--ist-primary-dark);
    }

    .ist-postcard-title-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 4px;
    }

    .ist-postcard-subtitle {
      font-size: 0.75rem;
      font-weight: var(--ist-font-bold);
      color: var(--ist-text-2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      opacity: 0.9;
    }

    .ist-postcard-excerpt {
      font-size: 0.9rem;
      color: var(--ist-text-muted);
      line-height: 1.65;
      text-wrap: pretty;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .ist-postcard-tags {
      display: flex;
      flex-wrap: wrap;
      gap: var(--ist-space-2);
      margin-top: var(--ist-space-1);
    }

    .ist-postcard-tag {
      font-size: 0.75rem;
      font-weight: var(--ist-font-semibold);
      padding: 3px 10px;
      border-radius: var(--ist-radius-full);
      background: var(--ist-primary-soft);
      color: var(--ist-primary);
      border: 1px solid var(--ist-primary-border);
      transition: all var(--ist-transition-fast);
    }

    /* ── HUASHU ENHANCED ELEMENTS ── */
    .ist-postcard--enhanced {
      --ist-card-inner-light: rgba(255, 255, 255, 0.05);
      background: linear-gradient(135deg, var(--ist-surface) 0%, var(--ist-bg-elevated) 100%);
      box-shadow: 
        var(--ist-e2), 
        inset 0 0 0 1px var(--ist-card-inner-light);
    }

    .ist-postcard--enhanced:hover {
      transform: translateY(-10px) scale(1.01);
      box-shadow: 
        var(--ist-e6), 
        0 0 30px var(--ist-primary-soft),
        inset 0 0 0 1px rgba(251, 191, 36, 0.3);
    }

    .ist-btn--glow {
      width: 100%;
      margin-top: auto;
      padding: 12px;
      border-radius: var(--ist-radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--ist-primary);
      color: var(--ist-primary-fg);
      border: none;
      font-weight: 800;
      letter-spacing: 0.05em;
      transition: all 0.4s var(--ist-ease-spring);
      box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    }

    .ist-btn--glow:hover {
      background: var(--ist-primary-hover);
      transform: scale(1.02);
      box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
    }

    .ist-btn--glow svg {
      transition: transform 0.3s var(--ist-ease-spring);
    }

    .ist-btn--glow:hover svg {
      transform: translateX(5px);
    }

    .ist-postcard-shine {
      position: absolute;
      top: 0;
      left: -150%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
      );
      transition: all 0.8s;
      pointer-events: none;
      z-index: 5;
    }

    .ist-postcard:hover .ist-postcard-shine {
      left: 150%;
    }

    @keyframes ist-postcard-rise {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }


    /* ── THE GLASS-ARCHIVE STYLE (HUASHU SPECIAL) ── */
    .ist-postcard--glass {
      background: var(--ist-bg-elevated);
    }

    .ist-postcard--glass .ist-postcard-content {
      margin-top: -60px;
      background: rgba(30, 41, 59, 0.92); /* Daha koyu ve opak zemin */
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.12); /* Net çerçeve */
      margin-left: 12px;
      margin-right: 12px;
      margin-bottom: 12px;
      border-radius: var(--ist-radius-lg);
      padding: 24px;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
      z-index: 2;
    }

    .ist-postcard--glass .ist-postcard-meta {
      color: var(--ist-text-2); /* Daha parlak meta bilgisi */
    }

    .ist-postcard--glass .ist-postcard-excerpt {
      color: #CBD5E1; /* Okunabilirliği yüksek açık gri */
      font-weight: 400;
    }

    .ist-postcard--glass .ist-postcard-image {
      height: 300px; /* Daha geniş görsel alanı */
    }

    .ist-postcard--glass:hover .ist-postcard-image img {
      filter: sepia(0.3) brightness(0.8) contrast(1.1); /* Antik/Gold tonu */
      transform: scale(1.05);
    }

    /* Architecture Technical Data Points */
    .ist-postcard-data-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 8px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .ist-data-point {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .ist-data-value {
      font-size: 0.9rem;
      font-weight: 800;
      color: var(--ist-primary);
    }

    .ist-data-label {
      font-size: 0.65rem;
      color: var(--ist-text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Glow enhancement for Glass */
    .ist-postcard--glass:hover {
      box-shadow: 
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 18px 36px -18px rgba(0, 0, 0, 0.5),
        0 0 20px var(--ist-primary-soft);
    }

/* ── CATEGORY SIGNATURE AND META ROW HIERARCHY ── */
/* ── ABSOLUTE RIGHT-ALIGNED META MİZANPAJI ── */

/* Senin "Absolute" yaptığın o yatay yer tutucunun (Row) ta kendisi */
/* ── COMPACT SMART POSITIONING ── */

/* Ana Kapsayıcı: Sağ üst köşeye milimetrik yanaşma (Biraz daha yukarı ve sağa alındı) */
.ist-card-meta-row-wrappz {
  position: absolute !important;
  top: 5px !important;    /* 15px'den 10px'e çekildi, yukarı yanaştı */
  right: 10px !important;  /* 15px'den 10px'e çekildi, sağa yanaştı */
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

/* İlçe Badge Renk Enjeksiyonu (Mevcut stilini bozmadan sadece renkleri root'a bağlar) */
.ist-card-meta-row-wrappz .inner-herometa-category {
    font-size:13px;
    font-weight: var(--ist-font-bold);
    line-height: 15px;
    color: var(--ist-secondary) !important;
    border-color: var(--ist-border-light) !important;
    margin: 0 !important; /* Dış boşlukları sıfırla ki hizalama şaşmasın */
    padding-top: 5px;
    transition: color var(--ist-transition), border-color var(--ist-transition) !important;
}

.ist-card-meta-row-wrappz .inner-herometa-category:hover {
  color: var(--ist-primary) !important;
  border-color: var(--ist-primary) !important;
}
.ist-pin-icon {
  flex-shrink: 0 !important;
  display: block !important;
}
/* Yuvarlak İmlerin Grubu */
.ist-short-cat-wrappz { 
  display: flex !important; 
  align-items: center !important;
  padding-right: 3px;
}

/* Her Bir Yuvarlak İm (Gereksiz tüm renk tanımları uçuruldu, root'a bağlandı) */
.ist-short-cat {
  width: 28px !important;  /* Dergi mizanpajı için biraz daha kibarlaştı */
  height: 28px !important; 
  border-radius: 50% !important; 
  border: 2px solid var(--ist-surface-2) !important; /* Kart zemin değişkenin */
  margin-left: -6px !important;
  display: grid !important; 
  place-items: center !important;
  font-size: 0.75rem !important; 
  font-weight: var(--ist-font-extrabold) !important; 
  color: var(--ist-primary-fg) !important;
  background: var(--ist-primary) !important; /* Standartta root birincil rengin */
  position: relative !important;
  transition: transform var(--ist-transition), z-index 0.3s ease !important;
}

.ist-short-cat:first-child { 
  margin-left: 0 !important; 
}

/* Katman Sıralaması (Soldan sağa nizami üst üste binme) */
.ist-short-cat:nth-child(1) { z-index: 1 !important; }
.ist-short-cat:nth-child(2) { z-index: 2 !important; }
.ist-short-cat:nth-child(3) { z-index: 3 !important; }
.ist-short-cat:nth-child(4) { z-index: 4 !important; }
.ist-short-cat:nth-child(5) { z-index: 5 !important; }

/* Hover Efekti */
.ist-short-cat:hover { 
  transform: scale(1.15) !important; 
  z-index: 99 !important; 
}



/* ── KATEGORİ BAZLI SPESİFİK RENK GEÇİŞLERİ (DİNAMİK) ── */

/* TC - Tarihi Cami (Senin Birincil Rengin/Gold-Amber Geçişi) */
.ist-short-cat.tc {
  background: linear-gradient(135deg, var(--ist-primary) 0%, var(--ist-primary-hover) 100%) !important;
}

/* SC - Selatin Cami (İkincil Asil Ton) */
.ist-short-cat.sc { 
  background: linear-gradient(135deg, var(--ist-secondary), var(--ist-secondary-hover)) !important; 
}

/* MS - Mimar Sinan Eseri (Vurgu Tonu) */
.ist-short-cat.ms { 
  background: linear-gradient(135deg, var(--ist-accent), var(--ist-accent-hover)) !important; 
}

/* KC - Kiliseden Cami (Farklılaştırılmış Kor Tonu) */
.ist-short-cat.kc { 
  background: linear-gradient(135deg, var(--ist-accent-2), var(--ist-accent-2-hover)) !important; 
}

/* MC - Modern Cami (Temiz, Çağdaş Slate/Zümrüt Geçişi veya Özel Tonun) */
.ist-short-cat.mc {
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important; /* Örnek modern mavi/turkuaz geçişi, paletine göre değiştirebilirsin */
}

/* ── HOVER AKSİYONU (50mm Lens Odaklaması) ── */
/* Üzerine gelinen im, sırası ne olursa olsun en üste fırlasın ve parlasın */
.ist-short-cat:hover { 
  transform: scale(1.18) translateY(-1px) !important; 
  z-index: 99 !important; /* Geçici olarak tüm hiyerarşinin üstüne çıkartıyoruz */
}

/* İlçe Linkinin Kart İçindeki Asil Duruşu */
.ist-ilce-link {
  color: #34D399 !important; /* --ist-success: Muazzam bir zümrüt yeşili */
  text-decoration: none !important; /* Alt çizgiyi kaldır, temiz dursun */
  font-weight: 600 !important;
  transition: color var(--ist-transition) ease !important;
  cursor: pointer !important;
}

/* Ziyaretçi üzerine gelince altın sarısına dönsün */
.ist-ilce-link:hover {
  color: #FBBF24 !important; /* --ist-primary: Kehribar / Altın Sarı parlama */
  text-decoration: underline !important; /* Tıklanabilir hissi için hafif alt çizgi */
}

/* ── POSTCARD CONTENT TOP TIGHTEN FIX ── */

/* Kartın altındaki o başlık ve içerik sarmalayıcısını yukarıya, çizginin dibine çeker */
.ist-postcard .usg_vwrapper_2 {
  /*margin-top: -15px !important;  /* Değeri boşluğun durumuna göre -20px veya -25px yapabilirsin */
  padding-top: 0 !important;
  --vwrapper-gap: 0.5rem !important; /* Temanın elemanlar arasına attığı o gereksiz büyük boşluğu daraltır */
}

/* Temanın otomatik ördüğü o HTML sarmalayıcısının yüksekliğini tamamen öldürüyoruz */
.w-html:has(> .ist-card-meta-row-wrappz) {
  position: absolute !important;
  top: 10px !important;    
  right: 10px !important;
  width: auto !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10 !important;
}
/* - - - BASE POSTCARD STYLES - - - Post List Card - - - TC SC MC MS */