/* ==========================================================================
   Wandau Tema Uyarlaması — Kurumsal Renkler & Yerleşim Düzeltmeleri
   Festival Sarısı: #fcd704 · Festival Kırmızısı: #c83933 · Siyah: #080808
   Orijinal Wandau Mobil Uyumluluğu (%100 Korunur)
   ========================================================================== */

/* Sağa-sola yatay kaydırmayı (horizontal overflow) tamamen kapat */
html,
body,
.smooth-scroll,
.section-wrapper {
  overflow-x: hidden !important;
  max-width: 100%;
}

.horizontal-scroll {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Kelimelerin satır sonunda ortadan bölünmesini (KAHRAMANM / ARAŞ) engelle */
body, h1, h2, h3, h4, h5, h6, .section-title h2 {
  word-wrap: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.section-title h2 {
  font-size: clamp(32px, 3.3vw, 52px);
  line-height: 1.15;
}
.section-title figure {
  margin-bottom: 22px;
}
.section-title figure img {
  height: 76px;
  width: auto;
}
@media (max-width: 767px) {
  .section-title figure img {
    height: 60px;
  }
}

/* Ana sayfa banner'daki yuvarlak Program Akışı (.play-now) simgesini sola çek (portrelerin üstüne binmesin) */
@media (min-width: 1200px) {
  .slider .play-now {
    left: 39%;
    bottom: 18px;
    transform: scale(0.84);
    transform-origin: center center;
  }
}

/* Native scroll ve tüm Wandau görsellerinin (is-inview bekleyen) %100 görünür olması */
[data-scroll],
[data-scroll-speed] {
  transform: none !important;
}

.image-box img,
.side-image img,
.image-content-box figure img,
.collection-box img,
.collection-box figure img,
.exhibition-box .img,
.exhibition-box figure img,
.art-slider .art-slider-images,
.art-slider .art-slider-images img,
.image-icon-box .content-image img,
.recent-news figure img,
.blog-post figure img,
.newsletter-image img {
  opacity: 1 !important;
  transform: scale(1) !important;
  visibility: visible !important;
}

/* Hero slider sol başlık ve günlük etkinlik listesi (Masaüstünde sağdaki yazar portreleriyle çakışmaz) */
@media (min-width: 992px) {
  .slider .slider-texts .swiper-slide h1,
  .slider .slider-texts .swiper-slide h2 {
    font-size: clamp(44px, 4.1vw, 72px);
    line-height: 1.04;
    max-width: 50%;
    margin-bottom: 18px;
  }
  .slider .slider-texts .swiper-slide p {
    max-width: 48%;
  }
  .km-slide-schedule {
    max-width: 50%;
  }
}

.km-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #080808;
}
.km-today-badge {
  display: none;
  background: #c83933;
  color: #ffffff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.swiper-slide.is-today .km-today-badge {
  display: inline-block;
}
.km-day-pill {
  background: #fcd704;
  color: #080808;
  padding: 4px 12px;
  border: 1px solid #080808;
}

.km-slide-schedule {
  border-left: 3px solid #c83933;
  padding-left: 20px;
  margin-left: 6px;
}
.km-slide-event-item {
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(8, 8, 8, 0.16);
}
.km-slide-event-item:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
}
.km-slide-event-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #c83933;
  margin-bottom: 2px;
}
.km-slide-event-meta span {
  color: #444444;
  font-weight: 500;
}
.km-slide-event-title {
  font-size: 16px;
  font-weight: 700;
  color: #080808;
  line-height: 1.28;
}
.km-slide-event-speakers {
  font-size: 13.5px;
  color: #333333;
  line-height: 1.35;
  margin-top: 2px;
}
.km-slide-more {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #080808;
  border-bottom: 2px solid #fcd704;
  padding-bottom: 2px;
}
.km-slide-more:hover {
  border-bottom-color: #c83933;
  text-decoration: none;
}

.km-mobile-slide-visual {
  display: none;
}

/* Mobil ve Tablette Hero Slider Okunabilirliği & Günün Konukları Görseli */
@media (max-width: 991px) {
  .slider {
    height: auto !important;
    min-height: 0 !important;
    padding: 96px 0 82px !important;
    align-items: flex-start !important;
  }
  .km-mobile-slide-visual {
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 4px 0 18px;
  }
  .km-mobile-slide-visual img {
    width: 100%;
    height: auto;
    display: block;
  }
  .slider .slider-texts {
    padding-top: 0 !important;
    height: auto !important;
  }
  .slider .slider-texts .swiper-wrapper {
    align-items: flex-start !important;
  }
  .slider .slider-texts .swiper-slide {
    align-items: flex-start !important;
    height: auto !important;
  }
  .slider .slider-texts .swiper-slide h1,
  .slider .slider-texts .swiper-slide h2 {
    font-size: 36px !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
  }
  .slider .slider-nav {
    position: absolute !important;
    left: 0;
    bottom: 14px;
    margin-top: 0 !important;
    height: 52px;
  }
  .slider .slider-nav .button-prev,
  .slider .slider-nav .button-next {
    transform: none !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
  .slider + .content-section {
    padding-top: 44px !important;
  }
  .km-slide-kicker {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .km-slide-schedule {
    max-width: 100%;
    padding-left: 14px;
    margin-left: 0;
  }
  .km-slide-event-title {
    font-size: 15px;
  }
  .km-slide-event-speakers {
    font-size: 12.5px;
  }
  .km-slide-event-item {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
}

/* Tasarımlardaki kırmızı (#c83933) vurgu çizgileri */
.slider .slider-texts .swiper-slide p {
  border-left-color: #c83933;
}
.section-title h6,
.art-slider .titles h6 {
  color: #c83933;
  font-weight: 700;
}

/* ==========================================================================
   ALT SAYFA ÜST BANNER (.page-header) — Masaüstü ve Mobil Uyumlu
   ========================================================================== */
.page-header {
  position: relative;
  background-color: #fbf9f4;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: right center !important;
  border-bottom: 1px solid rgba(8, 8, 8, 0.08);
}
.page-header .inner {
  position: relative;
  z-index: 1;
}
.page-header .inner p {
  border-left-color: #c83933;
}
@media (min-width: 992px) {
  .page-header {
    height: 440px;
  }
  .page-header .inner {
    padding-left: 60px;
    padding-right: 42%;
  }
  .page-header .inner h1 {
    font-size: clamp(42px, 4.4vw, 68px);
    line-height: 1.08;
    margin-bottom: 16px;
  }
  .page-header .inner p {
    padding-right: 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.55;
  }
}
@media (max-width: 991px) {
  .page-header {
    background-position: left center !important;
  }
}
@media (max-width: 767px) {
  .page-header {
    height: 360px;
    background-position: left center !important;
  }
  .page-header .inner h1 {
    font-size: 36px;
  }
}

/* ==========================================================================
   NAVBAR & SIDE-WIDGET — Masaüstünde Hamburger Gizli, Mobilde Orijinal Wandau Drawer Aktif
   ========================================================================== */
.navbar {
  align-items: center;
}
.navbar .logo a img {
  height: 68px;
  width: auto;
  display: block;
}
.side-widget .logo img {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
}
.navbar .hamburger-menu {
  cursor: pointer;
  position: relative;
  z-index: 25;
}
@media (min-width: 992px) {
  .navbar {
    padding: 24px 50px;
  }
  .navbar .site-menu {
    margin: 0 auto;
  }
  .navbar .site-menu ul li {
    margin: 0 11px;
  }
  /* Masaüstünde hamburger ikonunu gizle, sadece mobilde/tablette çıksın */
  .navbar .hamburger-menu {
    display: none;
  }
}
@media (max-width: 991px) {
  .side-widget.active .display-mobile {
    display: flex !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    margin-top: 10px !important;
  }
  .side-widget.active .inner {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .navbar .logo a img {
    height: 48px;
  }
}

.navbar .site-menu ul li a.active:before {
  width: 100% !important;
  background: #fcd704 !important;
}
.navbar .site-menu ul li a.active,
.side-widget .display-mobile .site-menu ul li a.active {
  font-weight: 700;
}
.side-widget .display-mobile .site-menu ul li a.active {
  color: #fcd704;
}

/* ==========================================================================
   GÖRSEL - METİN YAPIŞIKLIĞI VE ÜST ÜSTE BİNME DÜZELTMELERİ (Mobil Uyumlu)
   ========================================================================== */

/* 1. Ana sayfa Festivalden Haberler (.recent-news) */
@media (min-width: 992px) {
  .recent-news {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
  }
  .recent-news .content-box {
    width: calc(52% - 20px) !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 20px 0 !important;
  }
  .recent-news:nth-child(even) .content-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .recent-news figure {
    width: calc(48% - 20px) !important;
    margin: 0 !important;
  }
}
.recent-news .content-box small {
  margin-bottom: 14px;
  display: inline-block;
}
.recent-news .content-box h3 {
  line-height: 1.22;
  margin-bottom: 18px;
}

/* 2. Basın sayfası (.blog-post): görselle alttaki tarih/başlık arası ferah boşluk */
.blog-post figure {
  margin-bottom: 32px !important;
  max-width: 560px;
}
.blog-post .content-box {
  padding-top: 4px;
}
.blog-post .content-box small {
  display: inline-block;
  margin-bottom: 14px !important;
  padding: 5px 12px;
  background: #fcd704;
  font-weight: 700;
}
.blog-post .content-box h3 {
  line-height: 1.22;
  margin-bottom: 22px;
}
.blog-post .content-box p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.art-slider-content .swiper-slide {
  cursor: pointer;
}

/* 3. Oturumlar (.exhibition-box) ve Yazarlar (.collection-box) kart boşlukları */
.exhibition-box {
  margin-bottom: 48px;
}
.exhibition-box figure {
  margin-bottom: 22px;
}
.exhibition-box figure .img,
.collection-box figure img,
.art-slider .art-slider-images .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.exhibition-box .content-box h4 {
  margin-bottom: 10px;
  line-height: 1.3;
}

.collection-box {
  margin-bottom: 36px;
  background: #ffffff;
  border: 1px solid rgba(8, 8, 8, 0.1);
  padding: 14px 14px 20px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.collection-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(8, 8, 8, 0.08);
}
.collection-box figure {
  margin-bottom: 16px;
  overflow: hidden;
}
.collection-box h4 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 0;
  text-align: center;
}

/* ==========================================================================
   PROGRAM AKIŞI VE YAZAR FİLTRESİ
   ========================================================================== */
.km-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.km-filter-tabs button {
  background: #ffffff;
  border: 1px solid #080808;
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #080808;
  cursor: pointer;
  transition: all 0.25s ease;
}
.km-filter-tabs button.active,
.km-filter-tabs button:hover {
  background: #fcd704;
}
.km-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.km-filter-controls input,
.km-filter-controls select {
  height: 54px;
  padding: 0 18px;
  border: 1px solid #080808;
  background: #ffffff;
  font-size: 15px;
  flex: 1;
  min-width: 220px;
}
.km-day-heading {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  border-bottom: 2px solid #080808;
  padding-bottom: 12px;
  margin: 40px 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.km-day-heading small {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fcd704;
  padding: 4px 12px;
  font-weight: 700;
}
.km-schedule-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(8, 8, 8, 0.12);
}
.km-schedule-time strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.km-schedule-time span {
  font-size: 13px;
  color: #555555;
}
.km-schedule-body h4 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  margin-bottom: 6px;
}
.km-schedule-body .km-sub {
  font-weight: 600;
  color: #c83933;
  margin-bottom: 8px;
}
.km-schedule-body p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
  color: #333333;
}
@media (max-width: 767px) {
  .km-schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .km-day-heading {
    font-size: 24px;
  }
}

/* Footer sağ alt Surreal logosu */
.footer .footer-bottom .container {
  align-items: center;
  gap: 12px;
}
.footer .footer-bottom .creation {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.footer .footer-bottom .creation a.surreal {
  display: inline-block;
  width: 60px;
  height: 16px;
  background: url(../images/surreal.png) no-repeat center center;
  background-size: 60px 16px;
  text-decoration: none;
  vertical-align: middle;
  transition: opacity 0.25s ease;
}
.footer .footer-bottom .creation a.surreal:hover {
  opacity: 0.8;
}
