/* Referans kartlarına özel düzeltme, 2026-10-16.
   SAYFA BAŞLIĞI / HERO / ARKA PLAN / SEO / HEADER / FOOTER DEĞİŞMEZ.
   Önceki mini paketin sayfa düzenini etkileyen CSS kuralları kaldırılmıştır. */

/* Referans detay sayfası: orijinal .ys-ref-grid ve hero aynen korunur. */
.ys-ref-page .ys-ref-grid > a,
.ys-ref-page .ys-ref-grid > div{min-width:0;display:block;text-decoration:none;color:inherit;}
.ys-ref-page .ys-ref-grid article.ys-ref-brand-card{
  min-width:0;min-height:220px;overflow:hidden;
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  padding:14px 14px 16px;gap:0;text-align:left;
  border:1px solid #e6e9ef;border-radius:17px;background:#fff;
  box-shadow:0 9px 25px rgba(30,41,59,.045);
  transition:border-color .22s,box-shadow .22s,transform .22s;
}
.ys-ref-page .ys-ref-grid > a:hover article.ys-ref-brand-card{
  border-color:#a9cade;box-shadow:0 16px 34px rgba(30,41,59,.09);transform:translateY(-3px);
}
.ys-ref-page .ys-ref-brand-image{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:133px;min-height:133px;padding:17px 12px;
  overflow:hidden;border-bottom:1px solid #edf0f5;background:white;
}
.ys-ref-page .ys-ref-brand-image img{
  display:block;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  min-width:0!important;min-height:0!important;
  object-fit:contain!important;object-position:center!important;
  filter:grayscale(100%);transition:filter .25s ease,transform .25s ease;
}
.ys-ref-page .ys-ref-grid > a:hover .ys-ref-brand-image img,
.ys-ref-page .ys-ref-grid > a:focus-visible .ys-ref-brand-image img{
  filter:grayscale(0%);transform:scale(1.025);
}
.ys-ref-page .ys-ref-brand-card > b{
  display:block;margin-top:13px;font-size:13px;line-height:1.4;
  font-weight:800;color:#1c273a;text-align:left;overflow-wrap:anywhere;
}
.ys-ref-page .ys-ref-brand-sector,
.ys-ref-home-card .ys-ref-home-sector{
  display:inline-flex;align-self:flex-start;max-width:100%;
  border-radius:999px;padding:5px 10px;margin-top:8px;
  background:#eef4ff;color:#3167b7;
  font-size:11px;line-height:1.3;font-weight:750;overflow-wrap:anywhere;
}
.ys-ref-initials{
  display:grid;place-items:center;width:65px;height:65px;
  border-radius:14px;background:#eef4fb;color:#5d7796;font-weight:850;font-size:25px;
}
/* Ana sayfa: mevcut .section, .section-title ve .cards düzenine dokunma. */
.ys-ref-home-card .ys-ref-home-image{
  display:flex;align-items:center;justify-content:center;
  height:112px;width:100%;overflow:hidden;margin-bottom:18px;
  padding:12px 8px;border-bottom:1px solid #edf0f5;background:#fff;
}
.ys-ref-home-card .ys-ref-home-image img{
  display:block;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
  filter:grayscale(100%);transition:filter .25s ease,transform .25s ease;
}
.ys-ref-home-card:hover .ys-ref-home-image img,
.ys-ref-home-card:focus-visible .ys-ref-home-image img{filter:grayscale(0%);transform:scale(1.025);}
.ys-ref-home-card h3{font-size:18px;line-height:1.3;margin:0;overflow-wrap:anywhere;}
.ys-ref-home-card .ys-ref-home-sector{margin-top:12px;}
.ys-ref-home-card p{margin-top:10px;overflow-wrap:anywhere;}
@media (prefers-reduced-motion:reduce){
 .ys-ref-brand-card,.ys-ref-brand-image img,.ys-ref-home-image img{transition:none!important;}
}
