/* inner.css - ic sayfa katmani (Tailwind derlemesinden bagimsiz; app.css yeniden uretilince ezilmez).
   Icerik: hero parallax, CKEditor icerik tipografisi (.rich), uretim sekme paneli (saf CSS :target),
   kayan bant (scroll-snap) ve sekme ilerleme durumlari. */

/* ---- Hero parallax: yalniz transform (compositor), reduced-motion'da kapali ---- */
@keyframes ph-par {
  to { transform: translate3d(0, 56px, 0); }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .ph-media {
      animation: ph-par linear both;
      animation-timeline: scroll(root);
      animation-range: 0 480px;
    }
  }
}

/* ---- CKEditor icerik tipografisi ---- */
.rich { color: rgb(var(--ink) / 0.86); font-size: 1.0625rem; line-height: 1.8; overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 1.15em; }
.rich h2, .rich h3, .rich h4 { font-family: var(--font-display), sans-serif; color: rgb(var(--ink)); line-height: 1.2; letter-spacing: -0.01em; margin: 1.8em 0 0.6em; font-weight: 700; text-wrap: balance; }
.rich h2 { font-size: 1.75rem; }
.rich h3 { font-size: 1.4rem; }
.rich h4 { font-size: 1.15rem; }
.rich a { color: rgb(var(--brand)); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: rgb(var(--brand-dark)); }
.rich ul, .rich ol { margin: 0 0 1.15em; padding-inline-start: 1.4em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin: 0.35em 0; }
.rich li::marker { color: rgb(var(--brand)); }
.rich blockquote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; border-inline-start: 3px solid rgb(var(--brand)); font-size: 1.15em; }
.rich img { max-width: 100%; height: auto; border-radius: var(--radius-card); margin: 1.5em 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95em; }
.rich th, .rich td { text-align: start; padding: 0.55em 0.7em; border-bottom: 1px solid rgb(var(--line)); }
.rich strong { color: rgb(var(--ink)); font-weight: 650; }
.rich-invert { color: rgb(255 255 255 / 0.88); }
.rich-invert h2, .rich-invert h3, .rich-invert h4, .rich-invert strong { color: #fff; }
.rich-invert a { color: #fff; }
.rich-invert blockquote { border-color: rgb(255 255 255 / 0.6); }

/* ---- Uretim: saf CSS sekme paneli (JS'siz calisir; ilk panel varsayilan acik) ---- */
.pp-panel { display: none; scroll-margin-top: 7rem; }
.pp-panel[data-default] { display: block; }
.pp-wrap:has(.pp-panel:target) .pp-panel[data-default]:not(:target) { display: none; }
.pp-panel:target { display: block; }

/* ---- Kayan bant ---- */
.mq-track { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mq-track::-webkit-scrollbar { display: none; }
.mq-track.is-dragging { scroll-snap-type: none !important; cursor: grabbing; user-select: none; }

/* ---- Sekme (iletisim lokasyonlari) ---- */
.tabs-ready [role="tabpanel"][hidden] { display: none; }
