/* Etap Timing — klasik tema: eski sitenin (satın alınmış tema + custom.css) görünümü, eklentisiz yeniden yazıldı.
   Ölçüler eski sitenin hesaplanmış stillerinden alındı. SITE_THEME=classic (varsayılan). Betik: /js/classic.js */

/* Lato (SIL Open Font License 1.1): gövde 300, kalın 700, "Sonuç" düğmesi 700 italik; Türkçe için latin-ext */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/lato/lato-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/lato/lato-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/lato/lato-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/lato/lato-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/lato/lato-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/lato/lato-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/lato/lato-700i-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/lato/lato-700i-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Montserrat (SIL OFL 1.1), değişken 400–700: başlıklar ve menü */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/montserrat/montserrat-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/montserrat/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --dark: #1a1a1a;            /* menü ve sayfa zemini */
  --field: #0f0f0f;           /* form alanları, tablo düğmeleri */
  --border: #3d3d3d;
  --green: #63bc46;           /* Etap Timing yeşili (linkler) */
  --green-button: #6cbf42;    /* eski custom.css'teki düğme yeşili */
  --text: rgba(255, 255, 255, 0.8);
  --muted: #7f7f7f;
  --panel: rgba(15, 15, 15, 0.8);
  --band: rgba(99, 188, 70, 0.5);
  --sidebar: 300px;
  --header-h: 60px;           /* mobil üst çubuk */
  --font: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
/* En üstte aşağı çekince (esneme) sabit arka plan fotoğrafı katmansız görünmesin */
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body {
  margin: 0;
  overscroll-behavior-y: none;
  background: var(--dark);
  color: var(--text);
  font: 300 15px/26px var(--font);
  letter-spacing: 0.3px;
}
img { max-width: 100%; }
a { color: var(--green); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 8px 16px; background: var(--green); color: #000; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- Yükleniyor ekranı (eski temadaki gibi; sayfa yüklenince solar) ---------- */
.loader { display: none; }
.js .loader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: var(--dark);
  transition: opacity 0.6s ease 0.2s, visibility 0s linear 0.8s;
  /* Betik çalışmazsa da ekran açık kalmasın */
  animation: loader-out 0.6s ease 5s forwards;
}
.js.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader-figure, .loader-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.loader-figure {
  width: 0;
  height: 0;
  border: 0 solid var(--green);
  border-radius: 50%;
  animation: loader-figure 1.2s ease infinite;
}
@keyframes loader-figure {
  0% { width: 0; height: 0; }
  30% { width: 40px; height: 40px; border-width: 21px; opacity: 1; }
  100% { width: 40px; height: 40px; border-width: 0; opacity: 0; }
}
.loader-label { margin: 50px 0 0; color: #fff; font-size: 12px; line-height: 18px; }
.loader-logo { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 120px; height: auto; }
@media (prefers-reduced-motion: reduce) { .js .loader { display: none; } }

/* ---------- Dikey menü ---------- */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1500;
  width: var(--sidebar);
  background: var(--dark);
  border-right: 1px solid var(--border);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  color: #fff;
}
.logo { display: block; padding: 40px 0; text-align: center; }
.logo img { display: inline-block; width: 155px; height: 72px; vertical-align: top; }
.nav-toggle { display: none; }
.main-nav { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); max-height: calc(100% - 300px); overflow-y: auto; padding: 0 30px; }
.main-nav ul { margin: 0; padding: 0; list-style: none; }
.main-nav li { text-align: center; }
.main-nav a {
  display: inline-block;
  padding: 4px 0;
  color: #fff;
  font: 400 12px/22px var(--font-heading);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.4s;
}
.main-nav a:hover { color: var(--green); }
.main-nav .icon { width: auto; height: 12px; margin-right: 2px; fill: currentColor; vertical-align: -1px; }
.main-nav .nav-lang { margin-top: 30px; }
.brand-line { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0; color: #fff; font-size: 12px; text-align: center; }
.brand-line img { width: 50px; height: auto; margin: 0 4px; vertical-align: middle; }

/* ---------- İçerik alanı ---------- */
.content { position: relative; margin-left: var(--sidebar); min-height: 100vh; }

/* Sayfa: sabit arka plan fotoğrafı (eski parallax), üstte koyu panel ve yeşil başlık bandı */
.page { position: relative; min-height: 100vh; isolation: isolate; }
.page-bg {
  position: fixed;
  top: 0;
  left: var(--sidebar);
  z-index: -1;
  width: calc(100% - var(--sidebar));
  height: 100vh;
  object-fit: cover;
}
.panel { padding-top: 36px; background: var(--panel); }
.band { background: var(--band); }
.band h1 {
  margin: 0 0 0 20px;
  color: #fff;
  font: 400 24px/86px var(--font-heading);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.panel-body { margin: 0 40px 40px; padding: 40px 0 60px; }
.panel-body-wide { margin: 0 25px 0 40px; padding: 30px 0 10px; }

/* Metin sayfaları (hizmetler, teknoloji, hakkımızda, SSS, iletişim) */
.prose h2 { margin: 40px 0 0; color: #fff; font: 400 24px/34px var(--font-heading); letter-spacing: -0.02em; }
.prose p { margin: 20px 0 0; }
.prose > :first-child { margin-top: 0; }
.prose ul { margin: 0 0 0 15px; padding: 0; list-style: disc; }
.prose ul ul { margin-top: 10px; }
.prose li + li { margin-top: 10px; }
.prose h2 + ul { margin-top: 20px; }
.faq hr { height: 1px; margin: 20px 0 0; border: 0; background: rgba(255, 255, 255, 0.22); }
.faq hr + h2 { margin-top: 20px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.contact address { font-style: normal; }
.contact h2 { margin-top: 0; }
.contact address p + p { margin-top: 52px; }
.map { display: block; width: 100%; height: 340px; border: 0; }
.message-code { color: #fff; font: 700 72px/1 var(--font-heading); }
.message-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Ana sayfa: slider + en son sonuçlar ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.is-active { opacity: 1; }
.hero-text { position: absolute; z-index: 2; top: 150px; left: 40px; right: 102px; }
.hero-text h1 {
  margin: 0;
  color: #fff;
  font: 700 37.5px/1.2 var(--font-heading);
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.64);
}
.hero-text em { color: var(--green-button); font-style: normal; }
.hero-text p { max-width: 900px; margin: 16px 0 0; color: #fff; font-size: 24px; line-height: 1.2; text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.64); }

.latest {
  position: absolute;
  right: 0;
  bottom: 50px;
  z-index: 2;
  width: 465px;
  height: 264px;
  background: url("/img/floater-latest-results.png") no-repeat;
}
.latest-head { display: flex; justify-content: space-between; align-items: baseline; width: 395px; padding: 25px 0 0 20px; }
.latest-head h2 { margin: 0; color: #000; font: 700 20px/26px var(--font); text-transform: uppercase; }
.latest-head a { color: var(--green-button); font-size: 16px; }
.latest-head a:hover { color: #fff; }
.latest-list { width: 390px; height: 186px; margin: 20px 10px 0; padding: 0; overflow: hidden; list-style: none; }
.latest-list li {
  display: flex;
  height: 62px;
  padding-top: 3px;
  border-bottom: 1px solid #333;
  overflow: hidden;
  transition: height 0.4s ease, padding 0.4s ease;
}
.latest-list li.is-leaving { height: 0; padding-top: 0; border-bottom-width: 0; }
.latest-date { flex: 0 0 60px; line-height: 24px; text-align: right; }
.latest-date span, .latest-name span { display: block; color: #fff; }
.latest .muted { color: var(--muted); }
.latest-name { flex: 0 0 240px; min-width: 0; margin: 4px 0 0; padding-left: 20px; line-height: 18px; }
.latest-name span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.latest-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 3px 19px;
  border: 1px solid var(--green-button);
  border-radius: 4px;
  color: var(--green-button);
  font: italic 700 14px/26px var(--font);
}
.latest-btn:hover { border-color: #fff; color: #fff; }

/* ---------- Sonuç listesi ---------- */
.page-results .panel-body { width: 90%; margin: 0 auto; padding: 20px 0 40px; }
/* Eski sitede arka plan uzun listenin tamamına "cover" ile yayıldığı için çok büyüyüp bulanık ve koyu görünüyordu */
.page-results .page-bg { filter: blur(18px) brightness(0.7); transform: scale(1.15); }
.filters { display: flex; flex-wrap: wrap; gap: 3px; }
.filters label { display: block; }
.filters input, .filters select, .date-toggle, .reset {
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--field);
  color: #fff;
  font: 300 14px/22px var(--font);
  letter-spacing: 0.3px;
}
.filters ::placeholder { color: var(--text); opacity: 1; }
.filter-search input { width: 330px; }
.filters select {
  width: 170px;
  padding-right: 34px;
  font-weight: 400;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 1l9 9 9-9' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 11px;
  cursor: pointer;
}
.filter-date { position: relative; }
.date-toggle {
  width: 187px;
  padding-right: 36px;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Crect x='1.5' y='3' width='15' height='13.5' rx='1.5'/%3E%3Cpath d='M1.5 7h15M5.5 1v4M12.5 1v4'/%3E%3C/g%3E%3Cpath fill='%23fff' d='M4 9h2v2H4zm4 0h2v2H8zm4 0h2v2h-2zM4 12.5h2v2H4zm4 0h2v2H8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
}
.date-panel {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  width: 500px;
  max-width: calc(100vw - 40px);
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.date-panel[hidden] { display: none; }
.date-panel.align-left { left: 0; right: auto; }
/* Ok: alanın sağ kenarına doğru (eski "opens: left") */
.date-panel::before { content: ""; position: absolute; top: -8px; right: 10px; border: 0 solid transparent; border-width: 0 7px 8px; border-bottom-color: var(--green-button); }
.date-panel.align-left::before { right: auto; left: 10px; }
.cal { flex: 1; min-width: 0; padding: 0 4px 4px; background: #111; border-radius: 4px; }
.cal-head { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; height: 30px; }
.cal-title { text-align: center; }
.cal-step { height: 28px; padding: 0; border: 0; background: transparent; color: #fff; font: 400 22px/1 var(--font); cursor: pointer; }
.cal-step:hover { color: var(--green-button); }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { height: 30px; font-weight: 400; text-align: center; }
.cal td { padding: 0; text-align: center; }
.cal [data-day] {
  width: 100%;
  height: 45px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ccc;
  font: 400 12px/1 var(--font);
  cursor: pointer;
}
.cal [data-day].off { color: rgba(153, 153, 153, 0.45); }
.cal [data-day]:hover { background: #333; }
.cal [data-day].in-range { border-radius: 0; background: #464646; color: #fff; font-weight: 700; }
.cal [data-day].start, .cal [data-day].end { background: var(--green-button); color: #fff; font-weight: 700; }
.cal [data-day].start:not(.end) { border-radius: 4px 0 0 4px; }
.cal [data-day].end:not(.start) { border-radius: 0 4px 4px 0; }
.reset {
  padding: 0 40px;
  background-color: var(--dark);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}
.reset:hover { background-color: var(--green-button); }

.events { margin: 30px 0 0; padding: 0; list-style: none; }
.event {
  display: grid;
  grid-template-columns: 113px 224px 114px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 91px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 14px;
}
.event[hidden] { display: none; }
.event-date { font-weight: 700; line-height: 26px; text-align: right; }
.event-date span { display: block; }
.event-disc { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.event-disc img { width: 40px; height: 40px; border-radius: 50%; }
.disc-text { font-size: 12px; text-transform: uppercase; }
.event-logo { display: block; justify-self: center; width: 60px; height: 60px; }
.event-logo img { display: block; width: 60px; height: 60px; border-radius: 50%; }
.event-main { min-width: 0; }
.event-name { margin: 0; font: 700 14px/18px var(--font-heading); letter-spacing: -0.02em; text-transform: uppercase; }
.event-name a { color: #fff; }
.event-name a:hover { color: var(--green); }
.event-city { display: block; margin-top: 8px; line-height: 18px; }
.event-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.table-btn {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 4px;
  background: var(--field);
  color: var(--green-button);
  font: 700 12px/16px var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.table-btn:hover { background: var(--green-button); color: #fff; }
.not-found { margin: 50px 0; color: #fff; font-weight: 700; text-align: center; }

/* ---------- Galeri: 3 sütunlu döşeme + büyütme ---------- */
.gallery { display: flex; align-items: flex-start; gap: 30px; }
.gallery-col { display: flex; flex: 1; flex-direction: column; gap: 30px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.gallery a { display: block; overflow: hidden; }
.gallery img { display: block; width: 100%; height: auto; transition: transform 0.6s ease, opacity 0.3s; }
.gallery a:hover img { transform: scale(1.04); opacity: 0.85; }
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6); }
.lightbox-btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 300 42px/1 var(--font);
  cursor: pointer;
  opacity: 0.75;
}
.lightbox-btn:hover { opacity: 1; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }

/* ---------- Etkinlik sonucu (sağlayıcı sayfası gömülü) ---------- */
.page-frame { min-height: 0; }
.result-frame { display: block; width: 100%; height: 100vh; border: 0; background: #fff; }
.frame-btn { position: absolute; right: 20px; bottom: 20px; }

/* ---------- Çerez bildirimi ---------- */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 30px;
  background: #333;
  box-shadow: 0 2px 4px rgba(20, 40, 80, 0.2);
  color: #fff;
  font-size: 12.9px;
  line-height: 1.5;
  animation: cookie-in 0.5s ease;
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1; margin: 0; max-width: 80%; }
.cookie button {
  flex: 0 0 18%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-button);
  font: 700 11px/22px var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
@keyframes cookie-in { from { transform: translateY(128px); opacity: 0; } }

/* ---------- Tablet ve telefon: üst çubuk + sağdan açılan menü (eski tema 1024 px'te geçiyordu) ---------- */
@media (max-width: 1024px) {
  .sidebar { right: 0; bottom: auto; width: auto; height: var(--header-h); border-right: 0; }
  .logo { display: inline-block; padding: 15px 0 15px 20px; }
  .logo img { width: 65px; height: 30px; }
  .nav-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 2;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .hamburger, .hamburger::before, .hamburger::after {
    position: absolute;
    left: 4px;
    width: 22px;
    height: 2.5px;
    background: #fff;
    transition: background-color 0.3s;
  }
  .hamburger { top: 14px; }
  .hamburger::before, .hamburger::after { content: ""; left: 0; }
  .hamburger::before { top: -7px; }
  .hamburger::after { top: 7px; }
  .nav-open .hamburger, .nav-open .hamburger::before, .nav-open .hamburger::after { background: var(--green); }
  .menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: var(--sidebar);
    max-width: 100%;
    background: var(--dark);
    border-left: 1px solid var(--border);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0s linear 0.4s;
  }
  .nav-open .menu { transform: none; visibility: visible; transition: transform 0.4s ease; }
  /* Betik yoksa menü açık durur */
  html:not(.js) .menu { position: static; width: auto; transform: none; visibility: visible; }
  html:not(.js) .main-nav { position: static; transform: none; max-height: none; padding: 20px; }
  html:not(.js) .brand-line { position: static; }
  .main-nav { max-height: calc(100% - 140px); }
  .brand-line { top: 64px; bottom: auto; }

  .content { margin-left: 0; padding-top: var(--header-h); }
  .page { min-height: calc(100vh - var(--header-h)); }
  .page-bg { left: 0; width: 100%; }
  .hero { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); }
  .result-frame { height: calc(100vh - var(--header-h)); }
  .band h1 { line-height: 52px; }
  .panel-body { margin: 0 20px 40px; }
  .panel-body-wide { margin: 0 20px; }
  .page-results .panel-body { width: auto; margin: 0 20px; }
}

@media (max-width: 960px) {
  .gallery, .gallery-col { gap: 20px; }
  .contact { grid-template-columns: 1fr; }
  .event { grid-template-columns: 70px 90px 80px minmax(0, 1fr) auto; }
}

@media (max-width: 640px) {
  .hero-text { left: 30px; right: 50px; }
  .hero-text h1 { font-size: 27px; }
  .hero-text p { display: none; }
  .filters { gap: 3px; }
  .filters label, .filter-date { flex: 1 1 calc(50% - 3px); }
  .filters label.filter-search { flex-basis: 100%; }
  .filter-search input, .filters select, .date-toggle { width: 100%; }
  .date-panel { flex-direction: column; width: 300px; }
  .cal [data-day] { height: 36px; }
  .reset { flex: 1 1 calc(50% - 3px); padding: 0 12px; }
  .event { grid-template-columns: 44px 36px 36px minmax(0, 1fr) auto; gap: 0 6px; padding: 10px 0; }
  .event-date { line-height: 22px; text-align: center; }
  .event-disc img { width: 30px; height: 30px; }
  .event-logo, .event-logo img { width: 30px; height: 30px; }
  .event-name { font-size: 12px; line-height: 15px; }
  .event-city { margin-top: 6px; font-size: 13px; }
  .table-btn { padding: 5px 9px; font-size: 11px; }
  .cookie { padding: 12px 20px; }
  .cookie p { max-width: none; }
  .cookie button { flex-basis: auto; }
}

/* Eski temadaki iPhone ayarı: kutu sağa taşar, sağ kenar kırpılır */
@media (max-width: 480px) {
  .latest { right: -62px; bottom: 0; clip-path: inset(0 20px 0 0); }
  .latest-head { width: 375px; }
  .latest-list, .latest-list li { width: 380px; }
  .latest-btn { padding: 3px 15px; font-size: 12px; }
  .gallery { flex-direction: column; align-items: stretch; }
  .gallery-col { display: contents; }
  .message-code { font-size: 56px; }
}
