/* Etkileşimli görsel (hotspot) bölümü */
.csi-hs { --hs-red: var(--primary, #d7161b); --hs-ink: #15181c; background: #fff; color: var(--hs-ink); overflow: hidden; }
.csi-hs:not(.csi-ve-section) { padding: 84px 0; }
.csi-hs-shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.csi-hs-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.csi-hs-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--hs-red); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.csi-hs-eyebrow::before, .csi-hs-eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.csi-hs-head h2 { margin: 14px 0 12px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; color: var(--hs-ink); }
.csi-hs-head p { margin: 0; color: #6b7178; font-size: 16px; line-height: 1.7; }

.csi-hs-body { position: relative; display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 1.55fr) minmax(230px, 1fr); gap: 28px; align-items: center; }
.csi-hs-col { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; position: relative; z-index: 2; }
.csi-hs-item { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #e4e6e9; border-radius: 14px; background: #fff; cursor: pointer; outline: none; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease; }
.csi-hs-col.is-right .csi-hs-item { text-align: left; }
.csi-hs-item:hover, .csi-hs-item:focus-visible { border-color: #cfd3d8; transform: translateY(-1px); }
.csi-hs-num { font-family: "Roboto Condensed", Arial, sans-serif; font-size: 13px; font-weight: 700; color: #a7adb3; letter-spacing: .04em; }
.csi-hs-thumb { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #f3f4f6; overflow: hidden; }
.csi-hs-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.csi-hs-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.csi-hs-copy b { font-size: 15px; line-height: 1.25; font-weight: 700; }
.csi-hs-copy small, .csi-hs-copy a { display: none; }
.csi-hs-item.is-active { border-color: var(--hs-red); background: #fff; box-shadow: 0 18px 40px -22px rgba(215, 22, 27, .55); }
.csi-hs-item.is-active .csi-hs-num { color: var(--hs-red); }
.csi-hs-item.is-active .csi-hs-copy small { display: block; color: #5f666d; font-size: 13px; line-height: 1.55; }
.csi-hs-item.is-active .csi-hs-copy a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--hs-red); font-size: 12px; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.csi-hs-item.is-active .csi-hs-thumb { width: 72px; height: 72px; background: #fff; box-shadow: inset 0 0 0 1px #eceef1; }

.csi-hs-stage { position: relative; z-index: 1; }
.csi-hs-figure { position: relative; margin: 0 auto; max-width: 620px; user-select: none; }
.csi-hs-figure img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.csi-hs-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; border-radius: 50%; background: var(--hs-red); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 14px rgba(0, 0, 0, .25); transition: transform .25s ease, background .25s ease; z-index: 2; }
.csi-hs-dot span { font-size: 12px; font-weight: 800; line-height: 1; }
.csi-hs-dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--hs-red); opacity: 0; animation: csiHsPulse 2.4s ease-out infinite; }
.csi-hs-dot:nth-of-type(2n)::before { animation-delay: .6s; }
.csi-hs-dot:nth-of-type(3n)::before { animation-delay: 1.2s; }
.csi-hs-dot:hover, .csi-hs-dot.is-active { transform: scale(1.18); background: var(--hs-ink); }
.csi-hs-dot.is-active::before { border-color: var(--hs-ink); }
@keyframes csiHsPulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.csi-hs-hint { display: none; }

.csi-hs-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.csi-hs-lines path { fill: none; stroke: var(--hs-red); stroke-width: 1.6; stroke-dasharray: var(--len, 0); stroke-dashoffset: var(--len, 0); transition: stroke-dashoffset .55s cubic-bezier(.2, .7, .2, 1); }
.csi-hs-lines.is-on path { stroke-dashoffset: 0; }
.csi-hs-lines circle { fill: var(--hs-red); opacity: 0; transition: opacity .2s ease .4s; }
.csi-hs-lines.is-on circle { opacity: 1; }

.csi-hs-cards { display: none; }

/* Tablet ve telefon: görsel üstte, kartlar altta kaydırılır */
@media (max-width: 991px) {
  .csi-hs:not(.csi-ve-section) { padding: 56px 0; }
  .csi-hs-shell { width: calc(100% - 32px); }
  .csi-hs-head { margin-bottom: 24px; }
  .csi-hs-body { display: block; }
  .csi-hs-col, .csi-hs-lines { display: none; }
  .csi-hs-figure { max-width: 520px; }
  .csi-hs-dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .csi-hs-hint { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; color: #8a9097; font-size: 12px; }
  .csi-hs-cards { display: flex; gap: 12px; margin: 18px -16px 0; padding: 4px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .csi-hs-cards::-webkit-scrollbar { display: none; }
  .csi-hs-card { flex: 0 0 min(84%, 360px); scroll-snap-align: start; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border: 1px solid #e4e6e9; border-radius: 16px; background: #fff; transition: border-color .25s ease, box-shadow .25s ease; }
  .csi-hs-card .csi-hs-thumb { width: 76px; height: 76px; }
  .csi-hs-card > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
  .csi-hs-card b { font-size: 16px; line-height: 1.2; }
  .csi-hs-card small { color: #5f666d; font-size: 13px; line-height: 1.5; }
  .csi-hs-card a { display: inline-flex; align-items: center; gap: 6px; color: var(--hs-red); font-size: 12px; font-weight: 800; text-decoration: none; margin-top: 2px; }
  .csi-hs-card.is-active { border-color: var(--hs-red); box-shadow: 0 14px 30px -20px rgba(215, 22, 27, .6); }
  .csi-hs-card.is-active .csi-hs-num { color: var(--hs-red); }
}
@media (prefers-reduced-motion: reduce) { .csi-hs-dot::before { animation: none; } }

/* v1.9.1 — daha kompakt düzen, kırmızı aktif kart */
@media (min-width: 992px) {
  .csi-hs:not(.csi-ve-section) { padding: 64px 0; }
  .csi-hs-shell { width: min(1180px, calc(100% - 48px)); }
  .csi-hs-head { margin-bottom: 30px; }
  .csi-hs-head h2 { font-size: clamp(26px, 2.6vw, 40px); margin: 10px 0 8px; }
  .csi-hs-head p { font-size: 15px; }
  .csi-hs-body { grid-template-columns: minmax(220px, 290px) minmax(0, 1fr) minmax(220px, 290px); gap: 24px; }
  .csi-hs-figure { max-width: 460px; }
  .csi-hs-col { gap: 8px; }
  .csi-hs-item { gap: 10px; padding: 7px 12px; border-radius: 12px; }
  .csi-hs-thumb { width: 40px; height: 40px; border-radius: 8px; }
  .csi-hs-item.is-active .csi-hs-thumb { width: 54px; height: 54px; }
  .csi-hs-copy b { font-size: 14px; }
  .csi-hs-item.is-active .csi-hs-copy small { font-size: 12.5px; line-height: 1.5; }
  .csi-hs-dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
  .csi-hs-dot span { font-size: 11px; }
}
.csi-hs-item:hover, .csi-hs-item.is-active { background: var(--hs-red); border-color: var(--hs-red); color: #fff; transform: none; }
.csi-hs-item:hover .csi-hs-num, .csi-hs-item.is-active .csi-hs-num,
.csi-hs-item:hover .csi-hs-copy b, .csi-hs-item.is-active .csi-hs-copy b { color: #fff; }
.csi-hs-item.is-active .csi-hs-copy small { color: rgba(255, 255, 255, .85); }
.csi-hs-item.is-active .csi-hs-copy a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.csi-hs-item:hover .csi-hs-thumb, .csi-hs-item.is-active .csi-hs-thumb { background: #fff; box-shadow: none; }
.csi-hs-lines circle { display: none; }

/* v1.10.2 — bölüm üst/alt boşluğu (Görünüm sekmesindeki boşluk ayarlarını kullanır) */
section.csi-hs { padding: var(--ve-pt, 72px) 0 var(--ve-pb, 80px) !important; }
@media (max-width: 991px) { section.csi-hs { padding: var(--ve-pt-tablet, 56px) 0 var(--ve-pb-tablet, 64px) !important; } }
@media (max-width: 767px) { section.csi-hs { padding: var(--ve-pt-mobile, 44px) 0 var(--ve-pb-mobile, 52px) !important; } }

/* v1.13 — Telefon ve tablet: tek bilgi kartı + numara/ok gezinmesi; sade noktalar */
.csi-hs-nav { display: none; }
@media (max-width: 991px) {
  .csi-hs-head h2 { font-size: clamp(26px, 6.6vw, 40px); }
  .csi-hs-head p { font-size: 15px; }
  .csi-hs-stage { padding: 0 6px; }
  .csi-hs-figure { max-width: 540px; }
  .csi-hs-dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; background: #fff; color: var(--hs-red); box-shadow: 0 0 0 2px var(--hs-red), 0 4px 12px rgba(0, 0, 0, .22); transition: transform .25s ease, background .25s ease, color .25s ease; }
  .csi-hs-dot span { font-size: 11px; }
  .csi-hs-dot::before { animation: none; opacity: 0; }
  .csi-hs-dot:hover { transform: none; background: #fff; }
  .csi-hs-dot.is-active { background: var(--hs-red); color: #fff; transform: scale(1.22); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(215, 22, 27, .45); z-index: 3; }
  .csi-hs-dot.is-active::before { border-color: var(--hs-red); animation: csiHsPulse 2s ease-out infinite; }
  .csi-hs-hint { margin: 6px 0 0; }

  .csi-hs-cards { display: grid; margin: 16px auto 0; padding: 0; max-width: 560px; overflow: visible; scroll-snap-type: none; touch-action: pan-y; }
  .csi-hs-card { grid-area: 1 / 1; flex: none; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border: 0; border-radius: 18px; background: #f5f6f7; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease, visibility .35s; box-shadow: none; }
  .csi-hs-card.is-active { opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .csi-hs-card .csi-hs-thumb { width: 92px; height: 92px; border-radius: 14px; background: #fff; }
  .csi-hs-card .csi-hs-num { color: var(--hs-red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
  .csi-hs-card b { font-size: 18px; letter-spacing: -.01em; }
  .csi-hs-card small { font-size: 14px; line-height: 1.55; color: #4f565d; }
  .csi-hs-card a { margin-top: 6px; font-size: 13px; }

  .csi-hs-nav { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 14px auto 0; }
  .csi-hs-arrow { flex: none; width: 42px; height: 42px; border: 1px solid #dfe2e6; border-radius: 50%; background: #fff; color: var(--hs-ink); display: grid; place-items: center; font-size: 16px; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
  .csi-hs-arrow:active, .csi-hs-arrow:hover { background: var(--hs-red); border-color: var(--hs-red); color: #fff; }
  .csi-hs-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; justify-content: safe center; }
  .csi-hs-chips::-webkit-scrollbar { display: none; }
  .csi-hs-chip { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef0f2; color: #5f666d; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
  .csi-hs-chip.is-active { background: var(--hs-red); color: #fff; transform: scale(1.08); }
}
@media (max-width: 420px) {
  .csi-hs-card { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .csi-hs-card .csi-hs-thumb { width: 72px; height: 72px; }
  .csi-hs-card b { font-size: 17px; }
  .csi-hs-chip { width: 28px; height: 28px; font-size: 11px; }
  .csi-hs-arrow { width: 38px; height: 38px; }
}
