/* ==========================================================================
   Bir Yol Var — etkinlik mikro sitesi
   tip.org.tr header/footer'ının içine yerleşir; tüm kurallar .byv-page altında.
   Afiş dili: krem zemin, lacivert ağır tipografi, kırmızı yol.
   ========================================================================== */

.byv-page {
  --byv-red: #e43442;
  --byv-red-2: #c1202d;
  --byv-ink: #16233c;
  --byv-ink-2: #2b3a56;
  --byv-paper: #f5f2ed;
  --byv-card: #ffffff;
  --byv-muted: #6c7689;
  --byv-line: #e4dfd7;
  --byv-radius: 18px;
  --byv-shadow: 0 20px 44px -26px rgba(22, 35, 60, .55);
  --byv-shadow-sm: 0 10px 26px -18px rgba(22, 35, 60, .55);
  --byv-road-w: 18px;
  --byv-maxw: 1200px;

  background: var(--byv-paper);
  color: var(--byv-ink);
  font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

.byv-page *, .byv-page *::before, .byv-page *::after { box-sizing: border-box; }
.byv-page img { max-width: 100%; display: block; }
/* Sınıfsız bağlantılar metin rengini alsın; bileşenler (buton, kart başlığı vb.)
   kendi renklerini korusun — aksi halde bu kural buton renklerini eziyor. */
.byv-page a:not([class]) { color: inherit; }
.byv-page :focus-visible { outline: 3px solid var(--byv-red); outline-offset: 3px; border-radius: 6px; }

.byv-wrap { width: 100%; max-width: var(--byv-maxw); margin: 0 auto; padding: 0 20px; }

/* Bu sitede üst menü sabit durmasın (bu dosya yalnızca Bir Yol Var sayfalarında
   yüklenir). header.php güncel değilse de geçerli olsun diye yüksek özgüllük. */
body .navbar.sticky-top,
body .navbar.byv-nav-static {
  position: static !important;
  top: auto !important;
}

/* ------------------------------------------------------------------ Hero */

.byv-hero {
  position: relative; padding: 40px 0 44px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(228, 52, 66, .10) 0%, rgba(228, 52, 66, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(22, 35, 60, .07) 0%, rgba(22, 35, 60, 0) 60%),
    var(--byv-paper);
  border-bottom: 1px solid var(--byv-line);
}

/* Sol (logo) ve sağ (sıradaki buluşma) sütunları üstten ve alttan aynı hizada */
.byv-hero__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
.byv-hero__logo { display: flex; align-items: center; justify-content: flex-start; }
.byv-hero__logo > * { margin: 0; }

/* Alt şerit: tanıtım metni solda, düğmeler sağda */
.byv-hero__foot { margin-top: 34px; display: grid; gap: 22px; }

@media (min-width: 992px) {
  .byv-hero { min-height: min(92vh, 900px); padding: 48px 0; }
  .byv-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 52px; }
  .byv-hero__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end; gap: 40px;
    margin-top: 42px; padding-top: 30px;
    border-top: 1px solid var(--byv-line);
  }
}

.byv-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--byv-red-2); margin: 0 0 16px;
}
.byv-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--byv-red); }

/* Hazır logo görseli (assets/biryolvar/img/bir-yol-var.png|svg veya panelden URL)
   mix-blend-mode: multiply -> beyaz zeminli PNG'de beyaz alanlar krem zemine karışır,
   şeffaf dosya gerekmez. Şeffaf SVG/PNG'de de görüntü değişmez. */
.byv-logo { margin: 0 0 20px; }
.byv-logo img {
  width: 100%; max-width: 470px; height: auto;
  mix-blend-mode: multiply;
  animation: byv-logo-in .8s .1s cubic-bezier(.22, .8, .3, 1) both;
}
@keyframes byv-logo-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .byv-logo img { animation: none; } }

.byv-wordmark {
  position: relative; margin: 0 0 20px;
  font-size: clamp(64px, 12vw, 132px); line-height: .8; font-weight: 700;
  letter-spacing: -.05em; color: var(--byv-ink);
}
.byv-wordmark span { display: block; position: relative; z-index: 1; }
.byv-wordmark .byv-hero-road {
  position: absolute; top: -12%; left: 6%; width: 94%; height: 124%;
  pointer-events: none; z-index: 0; overflow: visible;
}
.byv-hero-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.byv-hero-road .r-base {
  stroke: var(--byv-red); stroke-width: 26; opacity: .95;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: byv-draw 1.9s .15s cubic-bezier(.6, 0, .3, 1) forwards;
}
.byv-hero-road .r-dash {
  stroke: #fff; stroke-width: 3.4; stroke-dasharray: 16 18; opacity: 0;
  animation: byv-fade .7s 1.5s ease forwards, byv-march 1.6s 1.5s linear infinite;
}
.byv-hero-road .r-pin { fill: var(--byv-ink); opacity: 0; animation: byv-drop .5s 1.7s cubic-bezier(.2, 1.4, .5, 1) forwards; }
@keyframes byv-draw { to { stroke-dashoffset: 0; } }
@keyframes byv-fade { to { opacity: .95; } }
@keyframes byv-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes byv-march { to { stroke-dashoffset: -34; } }

.byv-hero__lead { max-width: 68ch; color: var(--byv-ink-2); font-size: 17.5px; margin: 0; }
.byv-hero__lead p { margin: 0 0 10px; }
.byv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.byv-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .16s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.byv-btn:hover { transform: translateY(-2px); text-decoration: none; }
.byv-btn--primary { background: var(--byv-red); color: #fff; box-shadow: 0 10px 22px -14px rgba(228, 52, 66, .9); }
.byv-btn--primary:hover { background: var(--byv-red-2); color: #fff; }
/* İkincil buton: lacivert çerçeve ekranda "siyah" okunduğu için kırmızı ailesinde.
   Lacivert isterseniz iki satırdaki renkleri var(--byv-ink) ile değiştirmeniz yeterli. */
.byv-btn--ghost { border-color: rgba(228, 52, 66, .38); color: var(--byv-red-2); background: transparent; }
.byv-btn--ghost:hover { background: var(--byv-red); border-color: var(--byv-red); color: #fff; }
.byv-btn--sm { padding: 9px 15px; font-size: 14px; }

/* Hero — sıradaki buluşma kartı */
.byv-next {
  position: relative; background: var(--byv-ink); color: #fff;
  border-radius: 24px; padding: 28px; box-shadow: var(--byv-shadow); overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.byv-next::after {
  content: ""; position: absolute; right: -80px; bottom: -100px;
  width: 240px; height: 240px; border-radius: 50%; background: rgba(228, 52, 66, .22);
}
.byv-next__tag {
  display: inline-block; background: var(--byv-red); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  align-self: flex-start;   /* dikey flex içinde gerilmesin */
}
.byv-next__title { font-size: clamp(24px, 3vw, 30px); line-height: 1.12; font-weight: 700; margin: 0 0 10px; letter-spacing: -.025em; color: #fff; }
.byv-next__meta { color: #ccd4e3; font-size: 15px; margin: 0 0 5px; display: flex; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.byv-next__meta i { color: var(--byv-red); width: 16px; margin-top: 5px; flex: 0 0 16px; text-align: center; }
.byv-countdown { display: flex; gap: 10px; margin: 20px 0; position: relative; z-index: 1; }
.byv-countdown div {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 10px 4px; text-align: center; flex: 1; min-width: 0;
}
.byv-countdown b { display: block; font-size: clamp(20px, 4vw, 26px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.byv-countdown small { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #a9b4c8; }
.byv-next .byv-btn { position: relative; z-index: 1; align-self: flex-start; }

/* --------------------------------------------------------- Bölüm başlıkları */

.byv-section { padding: 44px 0 56px; }
.byv-section__head { margin-bottom: 20px; }
.byv-h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.035em; margin: 0; color: var(--byv-ink); }
.byv-sub { color: var(--byv-muted); margin: 8px 0 0; font-size: 15px; }

.byv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.byv-chip {
  border: 1.5px solid var(--byv-line); background: var(--byv-card); color: var(--byv-ink-2);
  border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; line-height: 1.3; transition: all .16s ease;
}
.byv-chip:hover { border-color: var(--byv-ink); color: var(--byv-ink); text-decoration: none; }
.byv-chip.is-on { background: var(--byv-ink); border-color: var(--byv-ink); color: #fff; }
.byv-chip.is-on.is-red { background: var(--byv-red); border-color: var(--byv-red); }
.byv-filters__sep { width: 1px; align-self: stretch; background: var(--byv-line); margin: 0 6px; }

/* ------------------------------------------------------- Yol / zaman tüneli */

.byv-timeline { position: relative; padding: 6px 0 30px; }

/* JS yoksa yol çizilemez; düz bir şerit göster. */
.byv-timeline::before {
  content: ""; position: absolute; left: 25px; top: 10px; bottom: 30px;
  width: 8px; border-radius: 4px; background: #d3cabd;
}
.byv-js .byv-timeline::before { display: none; }

.byv-road { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.byv-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.byv-road__base { stroke: #d3cabd; stroke-width: var(--byv-road-w); }
.byv-road__fill { stroke: var(--byv-red); stroke-width: var(--byv-road-w); }
.byv-road__dash {
  stroke: rgba(255, 255, 255, .95); stroke-width: 3; stroke-dasharray: 16 18;
  animation: byv-march 1.6s linear infinite;
}

/* Yolda ilerleyen iğne */
.byv-pin {
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  z-index: 3; display: none; will-change: offset-distance;
}
.byv-pin svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(22, 35, 60, .35)); }
@supports (offset-path: path("M0 0")) { .byv-pin.is-ready { display: block; } }

/* Ay ayracı */
.byv-month { position: relative; z-index: 2; display: grid; grid-template-columns: 58px 1fr; align-items: center; margin: 0 0 18px; }
.byv-month[hidden] { display: none; }
.byv-month span {
  grid-column: 2; justify-self: start;
  background: var(--byv-ink); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; box-shadow: 0 0 0 6px var(--byv-paper);
}

/* Satırlar — mobil öncelikli: tek sütun, yol solda */
.byv-item {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 58px 1fr; align-items: center;
  margin-bottom: 22px;
}
.byv-item:last-child { margin-bottom: 0; }
.byv-item__marker { grid-column: 1; display: flex; justify-content: center; }
.byv-item__card { grid-column: 2; }
.byv-item[hidden] { display: none; }

.byv-dot {
  position: relative; width: 16px; height: 16px; border-radius: 50%;
  background: var(--byv-card); border: 4px solid #c9c0b3;
  box-shadow: 0 0 0 5px var(--byv-paper);
  transition: border-color .3s ease, transform .3s ease;
}
.byv-item.is-active .byv-dot { border-color: var(--byv-red); }
.byv-item.is-next .byv-dot::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid var(--byv-red); animation: byv-pulse 2.2s ease-out infinite;
}
@keyframes byv-pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Kart */
.byv-card {
  position: relative; background: var(--byv-card); border: 1px solid var(--byv-line);
  border-radius: var(--byv-radius); padding: 18px; box-shadow: var(--byv-shadow-sm);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .8, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.byv-js .byv-card { opacity: 0; transform: translateY(26px); }
.byv-js .byv-item.is-in .byv-card { opacity: 1; transform: none; }
.byv-item__card > .byv-card:hover { box-shadow: var(--byv-shadow); border-color: #d6cfc4; }
/* Kartın oku, satırın işaretçisiyle aynı hizada dursun (satır dikeyde ortalı). */
.byv-card::before {
  content: ""; position: absolute; top: 50%; margin-top: -7px; left: -8px; width: 14px; height: 14px;
  background: var(--byv-card); border: 1px solid var(--byv-line); border-width: 1px 1px 0 0;
  transform: rotate(225deg);
}

.byv-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.byv-card__city { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--byv-red-2); }

.byv-card__top { display: flex; gap: 16px; align-items: flex-start; }
.byv-date {
  flex: 0 0 auto; width: 68px; text-align: center; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--byv-line); background: #fbfaf8;
}
.byv-date b { display: block; background: var(--byv-ink); color: #fff; font-size: 11.5px; letter-spacing: .12em; padding: 4px 0; text-transform: uppercase; font-weight: 700; }
.byv-date u { display: block; text-decoration: none; font-size: 27px; font-weight: 700; line-height: 1.22; }
.byv-date i { display: block; font-style: normal; font-size: 11px; color: var(--byv-muted); padding-bottom: 6px; }

.byv-card__title { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; letter-spacing: -.025em; margin: 0 0 8px; line-height: 1.18; }
.byv-card__title a { text-decoration: none; color: var(--byv-ink); }
.byv-card__title a:hover { color: var(--byv-red-2); }
.byv-card__meta { list-style: none; margin: 0; padding: 0; color: var(--byv-ink-2); font-size: 15px; }
.byv-card__meta li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.byv-card__meta i { color: var(--byv-red); width: 15px; text-align: center; margin-top: 5px; flex: 0 0 15px; font-size: 14px; }
.byv-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.byv-badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.byv-badge--soon { background: rgba(228, 52, 66, .12); color: var(--byv-red-2); }
.byv-badge--past { background: #edeae4; color: var(--byv-muted); }
.byv-badge--cancel { background: #fdeaea; color: #b4232f; }
.byv-badge--postponed { background: #fff3e2; color: #9a6206; }

.byv-item.is-past .byv-card { background: #fbfaf8; }
.byv-item.is-past .byv-date b { background: #98a1b1; }
.byv-item.is-past .byv-card__city { color: var(--byv-muted); }
.byv-item.is-past .byv-speaker img { box-shadow: 0 0 0 2px #c9c0b3; filter: grayscale(.35); }

/* Katılımcılar */
.byv-speakers { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--byv-line); }
.byv-speaker { display: flex; align-items: center; gap: 10px; }
.byv-speaker img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 2px solid var(--byv-card); box-shadow: 0 0 0 2px var(--byv-red); background: #eee;
}
.byv-speaker b { display: block; font-size: 14.5px; line-height: 1.25; }
.byv-speaker span { display: block; font-size: 12.5px; color: var(--byv-muted); line-height: 1.25; }

/* Boş durum */
.byv-empty {
  text-align: center; padding: 56px 20px; border: 2px dashed var(--byv-line);
  border-radius: var(--byv-radius); color: var(--byv-muted); background: var(--byv-card);
}
.byv-empty b { display: block; color: var(--byv-ink); font-size: 19px; margin-bottom: 6px; }

/* Masaüstü: iki yana dizilen zaman tüneli.
   Sağ/sol dizilimi JS ile .is-left / .is-right olarak verilir; JS yoksa
   nth-child ile aynı sonucu üretiriz. */
@media (min-width: 900px) {
  .byv-page { --byv-road-w: 26px; }

  .byv-timeline::before { left: 50%; margin-left: -4px; }
  .byv-item { grid-template-columns: 1fr 180px 1fr; margin-bottom: 26px; }
  .byv-item__marker { grid-column: 2; }
  .byv-card { padding: 22px 24px; }
  .byv-month { grid-template-columns: 1fr 180px 1fr; margin-bottom: 22px; }
  .byv-month span { grid-column: 2; justify-self: center; }

  .byv-item__card { grid-column: 1; }
  .byv-item:nth-child(even) .byv-item__card { grid-column: 3; }
  .byv-card::before { top: 50%; margin-top: -7px; left: auto; right: -8px; transform: rotate(45deg); }
  .byv-item:nth-child(even) .byv-card::before { left: -8px; right: auto; transform: rotate(225deg); }

  .byv-timeline .byv-item.is-left .byv-item__card { grid-column: 1; }
  .byv-timeline .byv-item.is-right .byv-item__card { grid-column: 3; }
  .byv-timeline .byv-item.is-left .byv-card::before { left: auto; right: -8px; transform: rotate(45deg); }
  .byv-timeline .byv-item.is-right .byv-card::before { left: -8px; right: auto; transform: rotate(225deg); }
  .byv-timeline .byv-item.is-left .byv-dot { transform: translateX(-54px); }
  .byv-timeline .byv-item.is-right .byv-dot { transform: translateX(54px); }
  .byv-timeline .byv-item.is-left.is-active .byv-dot { transform: translateX(-54px) scale(1.12); }
  .byv-timeline .byv-item.is-right.is-active .byv-dot { transform: translateX(54px) scale(1.12); }

  .byv-dot { width: 22px; height: 22px; border-width: 5px; box-shadow: 0 0 0 6px var(--byv-paper); }
  .byv-item.is-active .byv-dot { transform: scale(1.12); }
}

/* ------------------------------------------------------------ Detay sayfası */

.byv-detail { padding: 34px 0 60px; }
.byv-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--byv-ink-2); margin-bottom: 22px; }
.byv-back:hover { color: var(--byv-red-2); }
.byv-detail__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .byv-detail__grid { grid-template-columns: 390px 1fr; gap: 44px; } }
.byv-detail__grid.is-solo { grid-template-columns: 1fr; max-width: 880px; }
.byv-poster { border-radius: 20px; overflow: hidden; box-shadow: var(--byv-shadow); border: 1px solid var(--byv-line); background: var(--byv-card); margin: 0; }
.byv-poster img { width: 100%; height: auto; }
.byv-detail__title { font-size: clamp(30px, 5vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; margin: 12px 0 20px; color: var(--byv-ink); }
.byv-facts { display: grid; gap: 14px; margin: 0 0 22px; padding: 22px; background: var(--byv-card); border: 1px solid var(--byv-line); border-radius: var(--byv-radius); box-shadow: var(--byv-shadow-sm); }
@media (min-width: 640px) { .byv-facts { grid-template-columns: 1fr 1fr; } }
.byv-fact { display: flex; gap: 13px; align-items: flex-start; }
.byv-fact i { color: var(--byv-red); width: 20px; text-align: center; margin-top: 4px; flex: 0 0 20px; font-size: 17px; }
.byv-fact b { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--byv-muted); font-weight: 700; }
.byv-fact span { font-size: 16px; }
.byv-prose { font-size: 16.5px; color: var(--byv-ink-2); }
.byv-prose p { margin: 0 0 14px; }
.byv-prose a { color: var(--byv-red-2); }
.byv-speakers--lg { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; border: 0; padding: 0; margin: 16px 0 0; }
.byv-speakers--lg .byv-speaker { background: var(--byv-card); border: 1px solid var(--byv-line); border-radius: 14px; padding: 13px; }
.byv-speakers--lg .byv-speaker img { width: 56px; height: 56px; }
.byv-h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 32px 0 10px; color: var(--byv-ink); }
.byv-map { margin-top: 16px; border-radius: var(--byv-radius); overflow: hidden; border: 1px solid var(--byv-line); }
.byv-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.byv-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

.byv-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.byv-mini a.byv-card {
  display: block; text-decoration: none; opacity: 1; transform: none;
  color: var(--byv-ink);   /* Bootstrap'in mavi bağlantı rengini ez */
}
.byv-mini a.byv-card::before { display: none; }
.byv-mini a.byv-card:hover { box-shadow: var(--byv-shadow); color: var(--byv-ink); text-decoration: none; }
.byv-mini a.byv-card:hover strong { color: var(--byv-red-2); }

/* Detay sayfasındaki açık zeminli geri sayım */
.byv-countdown--light { margin: 0 0 22px; }
.byv-countdown--light div {
  background: var(--byv-card); border: 1px solid var(--byv-line);
  box-shadow: var(--byv-shadow-sm); max-width: 120px;
}
.byv-countdown--light b { color: var(--byv-ink); }
.byv-countdown--light small { color: var(--byv-muted); }

/* ------------------------------------------------------------------- 404 */

.byv-404 { padding: 48px 0 66px; }

.byv-404__card {
  position: relative; overflow: hidden; text-align: center;
  max-width: 760px; margin: 0 auto;
  background: var(--byv-card); border: 1px solid var(--byv-line);
  border-radius: 26px; box-shadow: var(--byv-shadow);
  padding: 40px 24px 44px;
}
/* Kartın altından yükselen yumuşak kırmızı ışık */
.byv-404__card::after {
  content: ""; position: absolute; left: 50%; bottom: -180px; width: 520px; height: 300px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(228, 52, 66, .14), transparent 75%);
}
.byv-404__card > * { position: relative; z-index: 1; }

.byv-404__art { display: block; width: min(300px, 76%); height: auto; margin: 0 auto 20px; overflow: visible; }
.byv-404__art .a-ground { fill: rgba(22, 35, 60, .07); }
.byv-404__art .a-road { fill: var(--byv-red); }
.byv-404__art .a-dash { fill: #fff; opacity: .9; }
.byv-404__art .a-post { fill: var(--byv-ink-2); }
.byv-404__art .a-sign { fill: var(--byv-red); }
.byv-404__art .a-bar { fill: #fff; }
.byv-404__art .a-sign-txt { fill: #fff; font: 700 15px/1 'Lexend', system-ui, sans-serif; letter-spacing: .04em; }
.byv-404__art .a-barrier { fill: var(--byv-ink); }
.byv-404__art .a-barrier-stripe { fill: var(--byv-red); }
.byv-404__art .a-sign-grp { animation: byv-404-sway 4.5s ease-in-out infinite; transform-origin: 180px 78px; }

@keyframes byv-404-sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50%      { transform: rotate(1.6deg); }
}

.byv-404 .byv-eyebrow { justify-content: center; }
.byv-404__title { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 12px; color: var(--byv-ink); }
.byv-404__lead { color: var(--byv-ink-2); font-size: 17px; margin: 0 auto 26px; max-width: 46ch; }
.byv-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.byv-404__next { max-width: 900px; margin: 46px auto 0; }
.byv-404__next-head {
  display: flex; align-items: center; gap: 14px; margin: 0 0 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--byv-muted);
}
.byv-404__next-head::after { content: ""; flex: 1; height: 1px; background: var(--byv-line); }

@media (min-width: 640px) {
  .byv-404__card { padding: 52px 44px 56px; }
}

/* --------------------------------------------------- Hareket tercihi / yazdırma */

@media (prefers-reduced-motion: reduce) {
  .byv-road__dash { animation: none; }
  .byv-item.is-next .byv-dot::after { animation: none; }
  .byv-card, .byv-js .byv-card { opacity: 1; transform: none; transition: none; }
  .byv-btn:hover { transform: none; }
  .byv-hero-road path { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }
  .byv-404__art .a-sign-grp { animation: none; }
}

@media print {
  .byv-road, .byv-pin, .byv-filters { display: none !important; }
  .byv-card { opacity: 1 !important; transform: none !important; box-shadow: none; }
}
