/* Derin Mühendislik Core v0.10.2: ortak logo olcegi + mobil istatistik hizalamasi */
/* Site Kimligi -> Logo Boyutu [%75..%130] desktop/mobil ayni olcekle calisir. */
body.dm-core-site .topbar .topinner>a.logo {
  box-sizing:border-box;
  flex:0 0 auto;
  width:calc(164px * var(--dm-logo-scale, 1.15));
  min-width:0!important;
  max-width:220px;
  justify-content:center;
  align-items:flex-start;
}
body.dm-core-site .topbar .topinner>a.logo img.dm-logo-image {
  display:block;
  width:100%;
  height:auto;
  max-width:100%!important;
  max-height:66px;
  object-fit:contain;
  object-position:left center;
}
/* Yazili logo yedegi secilen oranda ayarlansin. */
body.dm-core-site .topbar .topinner>a.logo:not(:has(img)) {
  font-size:calc(23px * var(--dm-logo-scale, 1.15));
}
@media (max-width:800px) {
  body.dm-core-site .topbar .topinner>a.logo {
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:calc(136px * var(--dm-logo-scale, 1.15));
    max-width:min(44vw, 190px);
    min-width:0!important;
    align-items:center;
    justify-content:center;
    z-index:52;
  }
  body.dm-core-site .topbar .topinner>a.logo img.dm-logo-image {
    width:100%;
    max-width:100%!important;
    max-height:54px;
    object-position:center center;
  }
  /* Her veri karti ayni baslangic noktasina oturur. */
  body.dm-core-site .stats .stats-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:minmax(96px,auto);
    align-items:stretch;
    gap:0 14px;
    padding-top:16px;
    padding-bottom:16px;
  }
  body.dm-core-site .stats .stats-grid>.stat {
    box-sizing:border-box;
    display:grid;
    grid-template-columns:20px minmax(0,1fr);
    gap:10px;
    justify-content:initial;
    align-items:start;
    align-content:start;
    min-width:0;
    min-height:96px;
    text-align:left;
    padding:14px 0;
  }
  body.dm-core-site .stats .stats-grid>.stat>.stat-icon {
    display:block;
    width:20px;
    height:23px;
    margin:0;
    font-size:17px;
    line-height:23px;
    text-align:center;
    flex:none;
  }
  body.dm-core-site .stats .stats-grid>.stat>div {
    display:block;
    min-width:0;
    margin:0;
    padding:0;
  }
  body.dm-core-site .stats .stats-grid>.stat strong {
    display:block;
    font-size:clamp(15px,3.8vw,18px);
    line-height:1.35;
    letter-spacing:-.15px;
    margin:0;
    overflow-wrap:break-word;
  }
  body.dm-core-site .stats .stats-grid>.stat>div>span {
    display:block;
    font-size:clamp(11px,2.85vw,13px);
    line-height:1.5;
    margin-top:5px;
  }
}
@media (max-width:360px) {
  body.dm-core-site .topbar .topinner>a.logo {max-width:42vw;}
  body.dm-core-site .stats .stats-grid {column-gap:9px;}
  body.dm-core-site .stats .stats-grid>.stat {grid-template-columns:16px minmax(0,1fr);gap:7px;}
  body.dm-core-site .stats .stats-grid>.stat>.stat-icon {width:16px;font-size:15px;}
}
