/* Marka logosu: açık temada siyah yazılı, koyu temada beyaz yazılı varyant (2026-10-04). */
.logo-on-dark { display: none; }
.logo-on-light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }

/* Eski siyah hap arka planı kalktı; logo doğrudan yüzeyin üstünde. */
.site-brand img, .auth-logo img, .sidebar__brand img {
  background: none !important; padding: 0 !important; border-radius: 0 !important;
  width: auto; max-width: 100%;
}
.site-brand img { height: 28px; }
.auth-logo img { height: 46px; }
.sidebar__brand { padding-top: 16px; padding-bottom: 14px; }
.sidebar__brand img { height: 28px; }
@media (max-width: 1200px) { .site-brand img { height: 24px; } }
@media (max-width: 560px) { .site-brand img { height: 24px; } }

/* Sayfa kısaysa alt bilgi pencerenin altına otursun (randevu vb.) */
.site-scope { display: flex; flex-direction: column; min-height: 100vh; }
.site-scope > .site-main { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
.site-scope > .site-footer { margin-top: 0; }

/* Ekip kartları: portreler KIRPILMAZ, özgün oranıyla görünür */
.team-card__photo { height: auto !important; display: block; overflow: visible; background: linear-gradient(180deg, #f4f5ef, #dfe3d5); }
.team-card__photo img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
/* Hüseyin Aksoy ders fotoğrafı: küçük, yazısız, özgün oran (ana sayfa + ehliyet sınıfları) */
.adesk-lesson-photo { margin: 0; }
.adesk-lesson-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg, 16px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.adesk-with-photo { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px 32px; align-items: start; }
.adesk-with-photo > .section__head { grid-column: 1 / -1; }
.adesk-with-photo > .tile-grid { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .adesk-with-photo > .tile-grid { grid-template-columns: 1fr; } }
.adesk-with-photo > .adesk-lesson-photo { grid-column: 2; grid-row: 2; }
@media (max-width: 900px) { .adesk-with-photo { display: block; } .adesk-with-photo > .adesk-lesson-photo { max-width: 220px; margin: 22px auto 0; } }
.adesk-lesson-photo--hero { position: absolute; right: 0; top: 44px; width: 230px; z-index: 3; }
@media (max-width: 1040px) { .adesk-lesson-photo--hero { display: none; } }
