/* Polibak — Swiper, popup, hamburger, logo strip, video dialog */

#slider.swiper { width: 100%; }
#slider .swiper-slide img,
#slider .swiper-slide video { width: 100%; height: auto; display: block; }
#slider .swiper-slide .pb-hero-video-link { display: block; }
#slider .swiper-button-prev,
#slider .swiper-button-next { color: #fff; }

#newsCarousel.swiper { padding-bottom: 40px; }
#newsCarousel .swiper-pagination-bullet-active { background: #af2c36; }

/* Tarihçe öğeleri sayfa aşağı kaydırıldıkça sırayla görünür. */
#timeline.is-reveal-ready .timeline-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}
#timeline.is-reveal-ready .timeline-item .timeline-year,
#timeline.is-reveal-ready .timeline-item .timeline-icon {
  opacity: 0;
  transform: scale(.72);
  transition: opacity .45s ease .12s, transform .55s cubic-bezier(.22, 1, .36, 1) .12s;
}
#timeline.is-reveal-ready .timeline-item.is-visible,
#timeline.is-reveal-ready .timeline-item.is-visible .timeline-year,
#timeline.is-reveal-ready .timeline-item.is-visible .timeline-icon {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  #timeline .timeline-item,
  #timeline .timeline-item .timeline-year,
  #timeline .timeline-item .timeline-icon {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

#logos .item img {
  height: 66px;
  width: auto;
  opacity: .7;
  filter: grayscale(100%);
  transition: .5s ease;
  cursor: pointer;
  margin: 0 20px;
}
#logos .item img:hover { filter: grayscale(0); }

.navbar-collapse.in,
.navbar-collapse.show { display: block !important; }

.pb-popup {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
}
.pb-popup[hidden] { display: none !important; }
.pb-popup-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.65);
}
.pb-popup-box {
  position: relative; z-index: 1; max-width: 540px; width: calc(100% - 32px);
}
.pb-popup-box img { display: block; width: 100%; height: auto; }
.pb-popup-x {
  position: absolute; top: -12px; right: -12px; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: #af2c36; color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}

.video-dialog {
  border: 0; padding: 0; background: #111; max-width: 90vw; width: 900px;
  overflow: visible;
}
.video-dialog::backdrop { background: rgba(0,0,0,.7); }
.video-dialog-head {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 6px 10px 0;
}
.video-dialog-frame { position: relative; padding-top: 56.25%; background: #000; }
.video-dialog-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-dialog-close {
  position: static; background: none; border: 0;
  color: #fff; font-size: 32px; line-height: 1; cursor: pointer;
  padding: 0 4px; opacity: .85;
}
.video-dialog-close:hover { opacity: 1; }

/* Harita popup */
.map-dialog {
  border: 0; padding: 0; width: 1000px; max-width: 94vw; background: #fff;
  border-radius: 4px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.map-dialog::backdrop { background: rgba(0,0,0,.7); }
.map-dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: #af2c36; color: #fff;
}
.map-dialog-title { font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.map-dialog-close {
  background: none; border: 0; color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; padding: 0 4px; opacity: .85; transition: opacity .2s ease;
}
.map-dialog-close:hover { opacity: 1; }
.map-dialog-frame { height: 70vh; max-height: 640px; min-height: 320px; }
.map-dialog-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

#masterContent .icerik a.btnMap { color: #fff; transition: background-color .25s ease; }
#masterContent .icerik a.btnMap:hover { background: #af2c36; color: #fff; text-decoration: none; }

@media (max-width: 767px) {
  .map-dialog-frame { height: 60vh; }
}

#vc-consent a { color: #af2c36; }

.market-map {
  position: relative;
  margin-bottom: 30px;
  border: 1px solid #eee;
  padding: 10px;
  background: #fff;
}
.market-map svg {
  display: block;
  width: 100%;
  height: auto;
}
.market-map path {
  fill: #ececec;
  stroke: #fff;
  stroke-width: .5;
  vector-effect: non-scaling-stroke;
}
.market-map path.is-market {
  fill: #af2c36;
  cursor: pointer;
  transition: fill .25s ease;
}
.market-map path.is-market:hover,
.market-map path.is-market:focus {
  fill: #656868;
  outline: none;
}
.market-map__tooltip {
  position: absolute;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 3px;
  background: #656868;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -140%);
}
.market-map__tooltip[hidden] { display: none; }
.market-map__zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.market-map__zoom button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #656868;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
}
.market-map__zoom button:hover:not([disabled]) {
  background: #af2c36;
  border-color: #af2c36;
  color: #fff;
}
.market-map__zoom button[disabled] { opacity: .4; cursor: default; }
.market-map.is-zoomed svg { cursor: grab; }
.market-map.is-panning svg { cursor: grabbing; }
@media (max-width: 767px) {
  .market-map { padding: 4px; }
  .market-map__tooltip { font-size: 12px; }
  .market-map__zoom { top: 10px; right: 10px; }
}

/* ---- Haberler: yatay liste ve detay ---- */
.news-list { text-align: left; }
.news-list .pressToolbar { width: 100%; }
.news-list__item {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  gap: 28px;
  align-items: center;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid #ddd;
}
.news-list__item[hidden] { display: none !important; }
.news-list__empty { margin: 24px 0; padding: 18px; border: 1px dashed #e0e0e0; border-radius: 4px; color: #9a9a9a; text-align: center; }
.news-list__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f4f4f4;
}
.news-list__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.news-list__media:hover img { transform: scale(1.025); opacity: .9; }
#masterContent .icerik .news-list__content h3 {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}
#masterContent .icerik .news-list__content h3 a { color: #af2c36; text-decoration: none; }
#masterContent .icerik .news-list__content h3 a:hover { color: #7f2028; }
.news-list__content time,
.news-detail__content time {
  display: block;
  margin-bottom: 14px;
  color: #777;
  font-size: 15px;
  line-height: 1.4;
}
#masterContent .icerik .news-list__content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: #717171;
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#masterContent .icerik .news-list__more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #af2c36;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.news-list__more span { transition: transform .2s ease; }
.news-list__more:hover span { transform: translateX(4px); }

.news-detail {
  display: grid;
  grid-template-columns: minmax(260px, 36%) 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
.news-list__item.is-single,
.news-detail.is-single,
.news-detail:not(:has(.news-detail__media)) {
  grid-template-columns: 1fr;
}
.news-detail__media {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}
.news-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#masterContent .icerik .news-detail__content h1 {
  margin: 0 0 10px;
  color: #af2c36;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.22;
  text-align: left;
}
.news-detail__body,
.news-detail__body p {
  color: #717171;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
}
.news-detail__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 25px;
}
.news-detail__gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.news-detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
#masterContent .icerik .news-detail__back { width: min(290px, 100%); margin: 30px auto 0; }

@media (max-width: 980px) {
  .news-list__item { grid-template-columns: minmax(190px, 38%) 1fr; gap: 20px; }
  #masterContent .icerik .news-list__content h3 { font-size: 20px; }
  .news-detail { grid-template-columns: minmax(220px, 40%) 1fr; gap: 22px; }
  #masterContent .icerik .news-detail__content h1 { font-size: 24px; }
}

@media (max-width: 767px) {
  .masterRight .icerik { padding-left: 0; }
  .news-list__item,
  .news-detail { grid-template-columns: 1fr; gap: 16px; }
  .news-list__media,
  .news-detail__media { aspect-ratio: 16 / 10; }
  #masterContent .icerik .news-list__content h3 { font-size: 19px; }
  #masterContent .icerik .news-detail__content h1 { font-size: 23px; }
  .news-list__content time,
  .news-detail__content time { font-size: 14px; margin-bottom: 10px; }
  #masterContent .icerik .news-list__content p,
  .news-detail__body,
  .news-detail__body p { font-size: 15px; }
  .news-detail__gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---- İletişim formu (TR dışı diller) ---- */
.siteContactForm .form-group { margin-bottom: 10px; min-height: 0; }
.siteContactForm textarea.form-control { height: auto; min-height: 120px; resize: vertical; }
.siteContactForm .send { border: 0; width: 100%; }
.siteContactForm .capHolder { padding-top: 10px; }

.siteContactConsent { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; font-weight: 400; font-size: 13px; color: #717171; cursor: pointer; }
.siteContactConsent input { margin: 3px 0 0; flex: 0 0 auto; }
#masterContent .icerik .siteContactConsent a { color: #af2c36; text-decoration: underline; }

.siteContactForm .f-form-alert { margin: 0 0 15px; padding: 12px 14px; border: 1px solid #e6c3c6; border-left: 3px solid #af2c36; border-radius: 4px; background: #fdf6f6; color: #8f2129; font-size: 13px; }
.siteContactForm .f-form-alert i { display: none; }
.siteContactForm .f-form-alert ul { margin: 0; padding: 0; list-style: none; list-style-image: none; }
#masterContent .icerik .siteContactForm .f-form-alert ul { list-style: none; list-style-image: none; padding: 0; }
#masterContent .icerik .siteContactForm .f-form-alert li { margin: 0 0 4px; font-size: 13px; }
#masterContent .icerik .siteContactForm .f-form-alert li:last-child { margin-bottom: 0; }

.pb-lightbox {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.88); padding: 48px 72px;
}
.pb-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.pb-lightbox-close, .pb-lightbox-prev, .pb-lightbox-next {
  position: absolute; background: none; border: 0; color: #fff;
  cursor: pointer; line-height: 1; opacity: .85;
}
.pb-lightbox-close { top: 12px; right: 18px; font-size: 36px; }
.pb-lightbox-prev, .pb-lightbox-next { top: 50%; transform: translateY(-50%); font-size: 56px; padding: 8px; }
.pb-lightbox-prev { left: 12px; }
.pb-lightbox-next { right: 12px; }
.pb-lightbox-close:hover, .pb-lightbox-prev:hover, .pb-lightbox-next:hover { opacity: 1; }

@media (max-width: 767px) {
  .siteContactForm .capHolder { margin-bottom: 10px; }
  .pb-lightbox { padding: 56px 16px; }
}
