/* TOKU V3 — Eski (v1) sayfalar için genel karanlık tema uyumluluk katmanı.
   Yalnizca en dis kapsayicida `.toku-v3-subpage-legacy` sinifi tasiyan
   sayfalari etkiler; V3'e ozel yeniden yazilmis sayfalara (iletisim,
   uygulamalar, cbam) SIZMAZ. Icerik/HTML degismez, yalnizca palet cevrilir. */

.toku-v3-subpage-legacy {
    color: var(--chrome);
}

/* Kartlar / kutular */
.toku-v3-subpage-legacy :is(.blog-card, .featured-card, .news-card, .card-inner,
    .featured-card-inner, .reference-card, .ref-card, .catalog-card, .doc-card,
    .document-card, .product-card, .brochure-card, .info-box, .content-card,
    .stat-box, .value-box, .card) {
    background: rgba(255, 255, 255, .015) !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    color: var(--chrome) !important;
}

.toku-v3-subpage-legacy :is(.blog-card, .featured-card, .news-card, .reference-card,
    .catalog-card, .product-card, .brochure-card):hover {
    border-color: rgba(124, 203, 255, .55) !important;
    background: rgba(52, 120, 246, .06) !important;
}

/* Hero / bölüm zeminleri */
.toku-v3-subpage-legacy :is(.blog-hero, .hero-bg, .hero-content, .page-hero,
    .news-hero, .featured-posts-section, .all-posts-section, .content-section,
    .catalog-hero, .product-hero, .reference-hero, section) {
    background-color: transparent !important;
}
.toku-v3-subpage-legacy :is(.blog-hero, .hero-bg, .page-hero, .news-hero) {
    background: radial-gradient(circle at 24% 30%, rgba(52, 120, 246, .10), transparent 42%), var(--void) !important;
}

/* Inline beyaz/acik-gri arka planlari saydamlastir */
.toku-v3-subpage-legacy [style*="background: #fff" i],
.toku-v3-subpage-legacy [style*="background:#fff" i],
.toku-v3-subpage-legacy [style*="background: white" i],
.toku-v3-subpage-legacy [style*="background: #f4f7fb" i],
.toku-v3-subpage-legacy [style*="background:#f4f7fb" i],
.toku-v3-subpage-legacy [style*="background: #f8" i] {
    background: transparent !important;
}

/* Başlık / metin renkleri */
.toku-v3-subpage-legacy :is(h1, h2, h3, h4, h5, .card-title, .featured-content h2,
    .hero-content h1, .section-title) {
    color: var(--white) !important;
}
.toku-v3-subpage-legacy :is(p, li, span, .card-summary, .card-meta, .hero-desc,
    .card-category, .featured-meta, .text-muted, .card-content) {
    color: var(--chrome) !important;
}
.toku-v3-subpage-legacy a:not(.btn):not([class*="button"]):not([class*="badge"]) {
    color: var(--ice);
}
.toku-v3-subpage-legacy li::marker { color: var(--ice); }

/* Eski Bootstrap .container'ı V3 genişliğine hizala (V3Page Bootstrap yüklemez) */
.toku-v3-subpage-legacy .container {
    width: var(--container);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 0;
}

/* Butonlar */
.toku-v3-subpage-legacy :is(.btn-back, .btn-primary, .btn-more, .btn-read-more) {
    background: var(--blue) !important;
    border: 1px solid var(--blue) !important;
    color: var(--white) !important;
}

/* Görsel yer tutucu alanları */
.toku-v3-subpage-legacy :is(.card-image-placeholder, .featured-image-placeholder,
    .card-image, .featured-image) {
    background: radial-gradient(circle at 50% 45%, rgba(52, 120, 246, .14), transparent 55%), var(--deep) !important;
}

/* Tablolar */
.toku-v3-subpage-legacy :is(table, th, td) {
    border-color: var(--line-soft) !important;
    color: var(--chrome) !important;
    background: transparent !important;
}
.toku-v3-subpage-legacy th { color: var(--white) !important; }
