/* hesapla.ma ek bileşenler (2026-11-30): güven satırı, ilgili hesaplamalar, sonucu paylaş, gömme kodu.
   Renkler ve ölçüler style.css ile aynı: ana #b22746, koyu #0d0136, metin #798b99, zemin #f5f6fa,
   buton geçişi 270deg #0d0136 → #b22746; gece modu zemin #303245, vurgu #38a9ff. */

.singleContent .hm-kart {
  margin: 0 0 20px;
  border: 1px solid #f5f6fa;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 10px 10px 45px -18px rgba(0, 0, 0, 0.35);
  background: #fff;
}
.singleContent .hm-kart-baslik,
.singleContent .hm-gom summary {
  font-size: 18px;
  font-weight: 600;
  color: #b22746;
  display: flex;
  align-items: center;
  gap: 8px;
}
.singleContent .hm-kart-aciklama {
  font-size: 14px;
  line-height: 24px;
  margin: 8px 0 12px;
}
.singleContent .hm-satir {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.singleContent .hm-input {
  font-family: "IBM Plex Sans", sans-serif;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  background-color: #f5f6fa;
  color: #798b99;
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 5px;
}
.singleContent .hm-kod {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 20px;
  resize: vertical;
  margin-bottom: 12px;
  display: block;
}
.singleContent .hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
  color: #fff;
  padding: 12px 22px;
  border: none;
  outline: none;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  background: transparent linear-gradient(270deg, #0d0136 0%, #b22746 100%) 0% 0% no-repeat padding-box;
}
.singleContent .hm-btn:hover,
.singleContent .hm-btn:focus {
  color: #fff;
  opacity: 0.9;
}
.singleContent .hm-btn-wp {
  background: #1fa855;
}

/* Güven satırı */
.singleContent .hm-guven {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 10px 0 25px;
  padding: 14px 0;
  border-top: 1px solid #f5f6fa;
  border-bottom: 1px solid #f5f6fa;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #798b99;
}
.singleContent .hm-guven span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.singleContent .hm-guven i {
  color: #b22746;
  position: relative;
  top: 2px;
}
.singleContent .hm-guven a {
  color: #b22746;
  font-weight: 500;
}

/* İlgili hesaplamalar */
.singleContent .hm-ilgili {
  margin: 0 0 25px;
}
.singleContent .hm-ilgili-baslik {
  font-size: 22px;
  color: #b22746;
  font-weight: 500;
  margin-bottom: 15px;
}
.singleContent .hm-ilgili ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
}
.singleContent .hm-ilgili ul li {
  list-style: none;
  line-height: 22px;
}
.singleContent .hm-ilgili ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  background-color: #f5f6fa;
  border-radius: 5px;
  padding: 15px;
  font-size: 15px;
  font-weight: 500;
  color: #b22746;
  text-decoration: none;
}
.singleContent .hm-ilgili ul li a i {
  color: #0d0136;
  opacity: 0.5;
  font-size: 20px;
  flex: 0 0 auto;
}
.singleContent .hm-ilgili ul li a:hover {
  color: #0d0136;
}
.singleContent .hm-ilgili-tumu {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #0d0136;
}
.singleContent .hm-ilgili-tumu:hover {
  color: #b22746;
}

/* Gömme kodu (açılır) */
.singleContent .hm-gom summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
}
.singleContent .hm-gom summary::-webkit-details-marker {
  display: none;
}
.singleContent .hm-gom summary::after {
  content: "\ea4a";
  font-family: boxicons !important;
  margin-left: auto;
  color: #0d0136;
  opacity: 0.5;
  transition: transform 0.2s;
}
.singleContent .hm-gom[open] summary::after {
  transform: rotate(180deg);
}

/* Paylaşılan sonuç bilgisi */
.singleContent .hm-bilgi {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 15px;
  border-left: 4px solid #b22746;
  background: #f5f6fa;
  border-radius: 5px;
  color: #0d0136;
  font-size: 15px;
}

@media screen and (max-width: 576px) {
  .singleContent .hm-satir {
    flex-wrap: wrap;
  }
  .singleContent .hm-satir .hm-input {
    flex-basis: 100%;
  }
  .singleContent .hm-satir .hm-btn {
    flex: 1 1 0;
  }
  .singleContent .hm-ilgili ul {
    grid-template-columns: 1fr;
  }
  .singleContent .hm-kart {
    padding: 15px;
  }
}

/* Gece modu */
body.dark .singleContent .hm-kart {
  background: #303245;
  border-color: rgba(221, 221, 221, 0.1);
}
body.dark .singleContent .hm-kart-baslik,
body.dark .singleContent .hm-gom summary,
body.dark .singleContent .hm-ilgili-baslik {
  color: #fff;
}
body.dark .singleContent .hm-input,
body.dark .singleContent .hm-ilgili ul li a,
body.dark .singleContent .hm-bilgi {
  background-color: #232533;
  color: #d9dae9;
}
body.dark .singleContent .hm-ilgili ul li a {
  color: #38a9ff;
}
body.dark .singleContent .hm-ilgili ul li a i,
body.dark .singleContent .hm-gom summary::after,
body.dark .singleContent .hm-ilgili-tumu {
  color: #d9dae9;
}
body.dark .singleContent .hm-btn {
  background: transparent linear-gradient(270deg, #38a9ff 0%, #27a4b2 100%) 0% 0% no-repeat;
}
body.dark .singleContent .hm-btn-wp {
  background: #1fa855;
}
body.dark .singleContent .hm-guven {
  color: #d9dae9;
  border-color: rgba(221, 221, 221, 0.1);
}
body.dark .singleContent .hm-guven i,
body.dark .singleContent .hm-guven a,
body.dark .singleContent .hm-ilgili-tumu:hover {
  color: #38a9ff;
}
body.dark .singleContent .hm-bilgi {
  border-left-color: #38a9ff;
}

/* Gömülü (iframe) görünüm */
body.hm-embed .singleContent {
  margin-top: 0;
}
body.hm-embed .hm-kaynak {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  text-align: right;
  color: #798b99;
  margin-top: 8px;
}
body.hm-embed .hm-kaynak a {
  color: #b22746;
  font-weight: 600;
}

/* Reklam alanlarına yer ayırma (CLS, 2026-11-30): ölçülen dolu yükseklikler masaüstü 280px, mobil ~300-375px, içerik içi 300px */
.headerAds.ads {
  min-height: 280px;
}
.singleContent .contentAds {
  min-height: 250px;
}
@media screen and (max-width: 576px) {
  .headerAds.ads {
    min-height: 300px;
  }
}
