/*
| Seri sayfasi Kod acilimi (kt_kod; isaretleme Views/oleocon/_bolum.php, davranis seri-kod.js). Sahip secimi docs/panel-konseptleri/
| seri-kod5 "B3" (kartta filigran kod) + ustune gelince B1 zemini (yesil halka, cok acik yesil) + seri-kod4 "A2" (bolum gorunuse girince
| cizgiler sirayla cizilir, kartlar kayarak gelir). Koddaki parca ustune gelince tam yesil (#a3b621). Kod uzunluguna gore yazi boyu ve
| kartlarin yeri seri-kod.js'te (--kc-yazi, --kc-sol); dar ekranda kartlar alta iner (.kc--dar).
*/
.seri-bolum--kod { --kc-gece: #011d3a; --kc-lac: #22315a; --kc-yesil: #a3b621; --kc-yesil-d: #93a51b; --kc-yesil-k: #66730d; --kc-cizgi: #e4e8ef; --kc-cik: cubic-bezier(.22,1,.36,1); }
.seri-bolum--kod .seri-bolum__etiket { display: inline-flex; align-items: center; gap: 10px; font: 700 11.5px/1.4 "Inter", sans-serif; letter-spacing: .16em; color: var(--kc-yesil-k) !important; }
.seri-bolum--kod .seri-bolum__etiket::before { content: ""; width: 24px; height: 2px; background: var(--kc-yesil); }
.seri-bolum--kod > h2 { margin: 10px 0 0; font-family: "Tomato Grotesk", "Inter", sans-serif; font-weight: 600; font-size: 40px !important; line-height: 1.08 !important; letter-spacing: -.015em !important; color: var(--kc-gece); }

.kc { position: relative; margin-top: 34px; }
.kc-kod { display: inline-flex; align-items: baseline; font: 600 var(--kc-yazi, 56px)/1 "Tomato Grotesk", "Inter", sans-serif; letter-spacing: -.02em; color: var(--kc-gece); white-space: nowrap; }
.kc-kod i { padding: 0 .12em; font-style: normal; font-weight: 500; color: #c3cad8; }
.kc-kod span { transition: color .3s; }
.kc-kod span + span { margin-left: .08em; }
.kc-kod span.ac { color: var(--kc-yesil); }

.kc-kartlar { position: relative; display: grid; gap: 12px; margin: 30px 0 0 var(--kc-sol, 42%); }
.kc-kart { position: relative; padding: 16px 120px 16px 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--kc-cizgi), 0 14px 26px -22px rgba(1,29,58,.35); overflow: hidden; transition: box-shadow .3s, background-color .3s, opacity .5s, transform .6s var(--kc-cik); }
.kc-etk { display: block; margin-bottom: 4px; font: 700 11px/1.4 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--kc-yesil-k); }
.kc-acik { display: block; font-size: 15px; line-height: 1.55; color: #4b5563; }
.kc-acik b { font-weight: 600; color: var(--kc-lac); }
.kc-ay { padding: 0 2px; color: #c3cad8; }
.kc-p { white-space: nowrap; } /* "SAE = UNF" gibi bir oge bolunmez; uzun aile adi (DIN 2353 ...) yine sarar */
.kc-p:last-child { white-space: normal; }
.kc-p b { white-space: nowrap; } /* "6L–42L" gibi aralik bolunmez; satir " / " ve bosluklarda sarar */
.kc-filigran { position: absolute; right: 18px; top: 50%; font: 600 40px/1 "Tomato Grotesk", "Inter", sans-serif; letter-spacing: -.02em; color: #eef1f5; white-space: nowrap; transform: translateY(-50%); transition: color .35s, transform .5s var(--kc-cik); }
.kc-kart.ac { background: #fbfdf3; box-shadow: 0 0 0 1.5px var(--kc-yesil), 0 18px 30px -22px rgba(110,125,10,.45); }
.kc-kart.ac .kc-filigran { color: #e3eab8; transform: translateY(-50%) scale(1.08); }

/* Baglar (seri-kod.js cizer): gri; ustune gelinenin bagi yesil ve icinde akan kesik cizgi */
.kc-bag { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.kc-bag path { fill: none; stroke: #aab7c8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.kc-bag path.kc-akis { stroke: var(--kc-yesil); stroke-dasharray: 6 8; opacity: 0; animation: kc-akis 1s linear infinite; transition: opacity .3s; }
.kc-bag path.ac { stroke: var(--kc-yesil-d); }
.kc-bag path.kc-akis.ac { opacity: 1; }
.kc-bag circle { fill: var(--kc-gece); transition: fill .3s; }
.kc-bag circle.ac { fill: var(--kc-yesil); }
@keyframes kc-akis { to { stroke-dashoffset: -14; } }

/* Giris: JS varken kartlar sagda soluk bekler; gorunuse girince cizgiler cizilir, kartlar sirayla gelir */
.kc--js .kc-kart { opacity: 0; transform: translateX(14px); }
.kc--js.kc--gor .kc-kart { opacity: 1; transform: none; }
.kc--js.kc--gor .kc-kart:nth-child(2) { transition-delay: .25s; }
.kc--js.kc--gor .kc-kart:nth-child(3) { transition-delay: .5s; }
.kc--js.kc--gor .kc-kart:nth-child(4) { transition-delay: .75s; }
.kc--js.kc--gor .kc-kart.ac { transition-delay: 0s; }
.kc--js .kc-bag path.kc-cizim { stroke-dasharray: var(--u); stroke-dashoffset: var(--u); }
.kc--js.kc--gor .kc-bag path.kc-cizim { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--kc-cik), stroke .3s; }

@media (max-width: 991.98px) { .seri-bolum--kod > h2 { font-size: 34px !important; } }
@media (max-width: 767.98px) {
  .seri-bolum--kod > h2 { font-size: 28px !important; }
  .kc-kart { padding-right: 84px; }
  .kc-filigran { font-size: 30px; right: 14px; }
  .kc-acik { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .kc-kart, .kc-bag path { transition: none !important; animation: none !important; } .kc--js .kc-kart { opacity: 1; transform: none; } .kc--js .kc-bag path.kc-cizim { stroke-dashoffset: 0; } }
